html, body { overflow-x: hidden; max-width: 100%; }
/* ============================================================
   Просто хороший подолог — хорошийподолог.рф
   Фирменный синий из лого, белый фон, шрифт Montserrat (в характере
   логотипа), много воздуха. Один чистый файл, токены в :root.
   На РФ-хостинге Montserrat лучше положить локально (woff2) и заменить
   @import на @font-face, чтобы грузился быстро и без блокировок.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  /* Бренд (из лого: кобальт + небесно-голубой) */
  --blue: #2B4EB2;
  --blue-deep: #1F4FA8;
  --sky: #5BC2E7;
  --green: #22C55E;        /* действие / кнопки записи */
  --green-hover: #16A34A;

  /* Тёплые нейтральные */
  --bg: #FFFFFF;           /* фон страницы */
  --bg-sand: #EFF4FC;      /* светло-синий — чередующиеся секции */
  --card: #FFFFFF;
  --ink: #16224B;          /* заголовки и текст */
  --muted: #6B7280;        /* серый */
  --line: #E6ECF5;         /* границы */

  --tg: #2AABEE; --wa: #25D366; --max: #635BFF;

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;

  --sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --serif: var(--sans); /* без серифа — обычный системный шрифт */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section { padding: 92px 0; }
.section--soft { background: var(--bg-sand); }
.section--blue { background: var(--bg-sand); }   /* секции на светло-синем фоне */

.section__title { font-family: var(--serif); margin: 0 0 12px; font-size: clamp(28px, 3.6vw, 44px); font-weight: 600; letter-spacing: -.01em; line-height: 1.15; color: var(--ink); }
.section__sub { margin: 0 0 48px; font-size: 18px; color: var(--muted); max-width: 640px; }
.section--blue .section__title, .section--soft .section__title { color: var(--ink); }
.section--blue .section__sub, .section--soft .section__sub { color: var(--muted); }
.eyebrow { display: inline-block; font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 0 0 14px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--sans); font-size: 16px; font-weight: 600; border: 0; border-radius: 999px; cursor: pointer; text-decoration: none; padding: 15px 28px; line-height: 1.1; white-space: nowrap; transition: background .18s ease, transform .18s ease, box-shadow .18s ease, color .18s ease; }
.btn svg { width: 18px; height: 18px; }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-hover); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--blue); border: 1.5px solid var(--line); }
.btn--ghost:hover { background: #fff; border-color: var(--blue); }
.btn--pulse { animation: btnpulse 2.2s ease-out infinite; }
@keyframes btnpulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); } 70% { box-shadow: 0 0 0 16px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.cta-band .btn--pulse { animation: none; }
@media (prefers-reduced-motion: reduce) { .btn--pulse { animation: none; } }

/* ============================================================
   ШАПКА — чистая строка (без «стеклянной таблетки»)
   ============================================================ */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: transparent; transition: background .25s ease, box-shadow .25s ease, border-color .25s ease; border-bottom: 1px solid transparent; }
.header.is-scrolled { background: rgba(255,255,255,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.header__inner { max-width: 1320px; margin: 0 auto; padding: 40px 28px; display: flex; align-items: center; justify-content: space-between; gap: 18px; transition: padding .25s ease; }
.header.is-scrolled .header__inner { padding-top: 14px; padding-bottom: 14px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap; position: relative; padding: 4px 0; transition: color .15s ease; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav a:hover { color: var(--blue); } .nav a:hover::after { transform: scaleX(1); }
.logo { display: flex; align-items: center; text-decoration: none; flex: 0 0 auto; margin: 0 8px; }
.logo__img { height: 44px; width: auto; }
.actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.phone { font-size: 16px; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.phone:hover { color: var(--blue); }
.socials { display: flex; gap: 8px; align-items: center; }
.social { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; transition: transform .15s ease, filter .15s ease; }
.social svg { width: 19px; height: 19px; }
.social--tg { background: var(--tg); } .social--wa { background: var(--wa); } .social--max { background: var(--max); }
.social:hover { transform: translateY(-2px); }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 10px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.header.is-open .burger span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.header.is-open .burger span:nth-child(2) { opacity: 0; }
.header.is-open .burger span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

.mobile { display: none; position: fixed; top: 76px; left: 14px; right: 14px; max-height: calc(100vh - 96px); background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; flex-direction: column; gap: 12px; overflow-y: auto; z-index: 999; box-shadow: 0 24px 60px rgba(32,40,60,.16); }
.mobile.is-open { display: flex; }
.mobile__nav { display: flex; flex-direction: column; }
.mobile__nav a { font-size: 18px; font-weight: 500; color: var(--ink); text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile__phone { font-size: 22px; font-weight: 800; color: var(--ink); text-decoration: none; margin-top: 6px; }
.mobile__socials { display: flex; gap: 10px; }

/* ============================================================
   HERO — крупный серифный заголовок слева, фото врача справа
   ============================================================ */
.hero { position: relative; padding: 152px 28px 0; overflow: hidden; background: radial-gradient(800px 720px at 82% 40%, rgba(91,194,231,.62), rgba(91,194,231,.26) 42%, transparent 72%), radial-gradient(560px 500px at 98% 66%, rgba(43,78,178,.26), transparent 62%), linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 14%, #F2F6FC 56%, #EFF4FC 100%); }
.hero__bg { display: none; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: radial-gradient(rgba(43,78,178,.45) 1.3px, transparent 1.6px); background-size: 30px 30px; -webkit-mask-image: radial-gradient(640px 580px at 80% 42%, #000 0%, rgba(0,0,0,.35) 55%, transparent 80%); mask-image: radial-gradient(640px 580px at 80% 42%, #000 0%, rgba(0,0,0,.35) 55%, transparent 80%); }
.hero__inner { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: stretch; min-height: 78vh; position: relative; z-index: 1; }
.hero__content { max-width: 600px; display: flex; flex-direction: column; justify-content: flex-start; padding-top: 4vh; }
.hero__badge { display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: 13px; font-weight: 600; padding: 8px 15px; border-radius: 999px; margin-bottom: 22px; }
.hero__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hero__title { font-family: var(--serif); margin: 0 0 20px; font-size: clamp(34px, 5vw, 64px); line-height: 1.05; font-weight: 600; letter-spacing: -.015em; text-transform: none; }
.hero__title span { display: block; }
.hero__title .t-main { color: var(--blue); white-space: nowrap; }
.hero__title .t-accent { color: #50B4D4; }
.hero__subtitle { margin: 0 0 26px; font-size: 19px; line-height: 1.55; color: #3C4663; max-width: 600px; }
.hero__subtitle b { color: var(--ink); font-weight: 700; }
.hero__assure { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.hero__assure li { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 500; color: var(--ink); }
.hero__assure svg { width: 19px; height: 19px; color: var(--green); flex-shrink: 0; }
.hero__cta-wrap { display: flex; align-items: flex-start; gap: 18px; flex-wrap: wrap; margin-bottom: 32px; }
.hero__cta-col { display: inline-flex; flex-direction: column; align-items: stretch; }
.hero__cta-col .btn { width: 100%; }
.hero__cta-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }

.hero__media { position: relative; align-self: stretch; overflow: visible; }
.hero__media img { position: absolute; z-index: 2; top: -7%; left: 43%; transform: translateX(-50%); height: 142%; width: auto; max-width: none; object-fit: contain; object-position: top center; -webkit-mask-image: linear-gradient(to bottom, #000 66%, transparent 75%); mask-image: linear-gradient(to bottom, #000 66%, transparent 75%); }
.hero__photo-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 24px; color: #9FB0CC; }
.hero__photo-ph svg { width: 66px; height: 66px; opacity: .7; }
.hero__photo-ph b { display: block; color: #5B6B85; font-size: 15px; font-weight: 700; }
.hero__photo-ph span { font-size: 13px; }

/* Преимущества — спокойная строка с серифными цифрами */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 22px; margin-top: 10px; }
.stat { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.stat__ic { width: 46px; height: 46px; border-radius: 13px; background: rgba(43,78,178,.09); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; }
.stat__ic svg { width: 24px; height: 24px; }
.stat__num { font-family: var(--serif); font-size: 40px; font-weight: 700; line-height: 1; color: var(--ink); display: flex; align-items: baseline; gap: 2px; }
.stat__num span { font-family: var(--sans); font-size: 14px; font-weight: 700; color: var(--sky); }
.stat__label { font-size: 13px; color: var(--muted); line-height: 1.3; }

/* ============================================================
   УСЛУГИ — белые карточки на песочном фоне
   ============================================================ */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.scard { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 22px; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; overflow: hidden; }
.scard:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(32,40,60,.10); }
.scard__head { font-family: var(--serif); color: var(--ink); font-size: 20px; font-weight: 600; line-height: 1.25; min-height: 50px; display: flex; align-items: center; margin: 6px 4px 14px; }
.scard__head a { color: inherit; text-decoration: none; }
.scard__head a:hover { color: var(--blue); }
.scard__img { position: relative; width: 100%; aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; background: #EAF1FB; }
.scard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.scard:hover .scard__img img { transform: scale(1.05); }
.scard__badge { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.92); color: var(--ink); font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; }
.scard__bottom { margin-top: 16px; padding: 0 4px; display: flex; flex-direction: column; gap: 14px; }
.scard__price-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.scard__price { font-family: var(--serif); color: var(--ink); font-size: 24px; font-weight: 600; line-height: 1; white-space: nowrap; }
.scard__price small { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--muted); margin-right: 4px; }
.scard__price em { font-size: 13px; font-style: normal; color: var(--muted); margin-left: 2px; }
.scard__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--blue); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; transition: background .2s ease; white-space: nowrap; }
.scard__btn:hover { background: var(--blue-deep); }
.scard__link { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-size: 14px; font-weight: 600; text-decoration: none; transition: gap .2s ease; }
.scard__link:hover { gap: 10px; }
.scard__link svg { width: 14px; height: 14px; }

/* ============================================================
   АКЦИИ
   ============================================================ */
.promo__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.promo-card { position: relative; border-radius: var(--radius); padding: 32px 30px; overflow: hidden; display: flex; flex-direction: column; gap: 14px; }
.promo-card--green { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.promo-card--blue { background: var(--blue-deep); color: #fff; }
.promo-card__tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.promo-card--green .promo-card__tag { background: var(--bg-sand); color: var(--blue-deep); }
.promo-card--blue .promo-card__tag { background: rgba(255,255,255,.16); color: #fff; }
.promo-card__title { font-family: var(--serif); margin: 0; font-size: 24px; font-weight: 600; line-height: 1.2; }
.promo-card__text { margin: 0; font-size: 15px; line-height: 1.5; }
.promo-card--green .promo-card__text { color: var(--muted); }
.promo-card--blue .promo-card__text { color: rgba(255,255,255,.85); }
.promo-card__price { display: flex; align-items: baseline; gap: 10px; margin-top: auto; }
.promo-card__now { font-family: var(--serif); font-size: 32px; font-weight: 600; }
.promo-card__old { font-size: 17px; text-decoration: line-through; opacity: .6; }
.promo-card__btn { align-self: flex-start; margin-top: 4px; padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer; font-family: inherit; font-size: 15px; font-weight: 600; text-decoration: none; transition: transform .15s ease; }
.promo-card--green .promo-card__btn { background: var(--green); color: #fff; }
.promo-card--blue .promo-card__btn { background: #fff; color: var(--blue-deep); }
.promo-card__btn:hover { transform: translateY(-2px); }

/* ============================================================
   БЕЗОПАСНОСТЬ
   ============================================================ */
.safety__lead { max-width: 760px; margin: 0 0 44px; font-size: 18px; color: var(--ink); line-height: 1.65; }
.safety__lead p { margin: 0 0 14px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.step__num { font-family: var(--serif); width: 46px; height: 46px; border-radius: 50%; background: var(--bg-sand); color: var(--blue-deep); font-size: 20px; font-weight: 600; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.step__title { font-family: var(--serif); margin: 0 0 8px; font-size: 18px; font-weight: 600; color: var(--ink); }
.step__text { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* ============================================================
   ОБ ЭКСПЕРТЕ
   ============================================================ */
.about__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.about__photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; background: #E8F0FB; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__name { font-family: var(--serif); margin: 0 0 8px; font-size: clamp(26px, 3vw, 36px); font-weight: 600; color: var(--ink); }
.about__role { margin: 0 0 26px; font-size: 16px; color: var(--blue); font-weight: 600; }
.about__text { font-size: 17px; line-height: 1.7; color: var(--ink); }
.about__text p { margin: 0 0 14px; }
.about__list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 13px; }
.about__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.about__list svg { width: 22px; height: 22px; color: var(--green); flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   ОТЗЫВЫ
   ============================================================ */
.reviews__head { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 36px; }
.reviews__rating { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 20px; }
.reviews__rating b { font-family: var(--serif); font-size: 34px; color: var(--ink); font-weight: 600; line-height: 1; }
.reviews__stars { color: #E0A100; font-size: 17px; letter-spacing: 2px; }
.reviews__count { font-size: 13px; color: var(--muted); }
.reviews__grid { columns: 3; column-gap: 24px; }
.review { break-inside: avoid; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.review__stars { color: #E0A100; font-size: 15px; letter-spacing: 2px; margin-bottom: 12px; }
.review__text { margin: 0 0 16px; font-size: 15.5px; line-height: 1.6; color: var(--ink); }
.review__author { display: flex; align-items: center; gap: 11px; font-weight: 600; font-size: 15px; color: var(--ink); }
.review__avatar { font-family: var(--serif); width: 40px; height: 40px; border-radius: 50%; background: var(--bg-sand); color: var(--blue-deep); display: flex; align-items: center; justify-content: center; font-weight: 600; }

/* ============================================================
   КОНТАКТЫ
   ============================================================ */
.contacts__inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: stretch; }
.contacts__card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; }
.contacts__row { display: flex; gap: 15px; padding: 17px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.contacts__row:last-of-type { border-bottom: 0; }
.contacts__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-sand); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contacts__icon svg { width: 22px; height: 22px; }
.contacts__label { font-size: 13px; color: var(--muted); margin: 0 0 3px; }
.contacts__value { font-size: 17px; font-weight: 600; color: var(--ink); margin: 0; text-decoration: none; }
a.contacts__value:hover { color: var(--blue); }
.contacts__value small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 3px; }
.contacts__map { border-radius: var(--radius); overflow: hidden; min-height: 400px; border: 1px solid var(--line); }
.contacts__map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; display: block; }
.contacts__cta { margin-top: 24px; }

/* ============================================================
   ФУТЕР
   ============================================================ */
.footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 64px 0 30px; }
.footer__inner { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 44px; }
.footer__brand { font-family: var(--serif); font-size: 22px; font-weight: 600; color: #fff; margin: 0 0 12px; }
.footer__about { font-size: 14.5px; line-height: 1.6; max-width: 340px; }
.footer__col h4 { color: #fff; font-size: 15px; margin: 0 0 16px; font-weight: 600; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__col a { color: rgba(255,255,255,.72); text-decoration: none; font-size: 14.5px; transition: color .15s ease; }
.footer__col a:hover { color: #fff; }
.footer__socials { display: flex; gap: 10px; margin-top: 18px; }
.footer__bottom { margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.footer__bottom a { color: rgba(255,255,255,.72); text-decoration: none; }

/* ============================================================
   ПОПАП-ФОРМА
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal__backdrop { position: absolute; inset: 0; background: rgba(32,40,60,.5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal__dialog { position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border-radius: 22px; padding: 38px 34px 30px; box-shadow: 0 30px 80px rgba(32,40,60,.28); }
.modal__close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; background: var(--bg-sand); border: 0; cursor: pointer; color: var(--ink); display: flex; align-items: center; justify-content: center; transition: background .15s ease; }
.modal__close:hover { background: var(--line); }
.modal__close svg { width: 16px; height: 16px; }
.modal__title { font-family: var(--serif); margin: 0 0 10px; font-size: 25px; font-weight: 600; line-height: 1.2; color: var(--ink); padding-right: 40px; }
.modal__subtitle { margin: 0 0 24px; font-size: 14px; color: var(--muted); }
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 13px; font-weight: 500; color: var(--muted); margin: 0 0 4px; }
.field__error { font-size: 12px; color: #D2483B; display: none; }
.field.has-error .field__error { display: block; }
.field.has-error .input, .field.has-error .tel { border-color: #D2483B !important; }
.input { width: 100%; height: 54px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-size: 15px; font-family: inherit; color: var(--ink); outline: none; transition: border-color .15s ease, box-shadow .15s ease; }
.input::placeholder { color: #9CA3AF; }
.input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(43,87,206,.12); }
.tel { display: flex; align-items: center; height: 54px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; padding: 0 6px 0 14px; transition: border-color .15s ease, box-shadow .15s ease; }
.tel:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(43,87,206,.12); }
.tel__flag { width: 26px; height: 18px; border-radius: 3px; overflow: hidden; flex-shrink: 0; display: flex; margin-right: 10px; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.tel__input { flex: 1; height: 100%; border: 0 !important; padding: 0 12px 0 0 !important; background: transparent !important; box-shadow: none !important; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; user-select: none; font-size: 13px; line-height: 1.45; color: var(--ink); }
.check__input { position: absolute; opacity: 0; width: 0; height: 0; }
.check__box { width: 20px; height: 20px; flex-shrink: 0; border: 1.5px solid var(--line); border-radius: 5px; background: #fff; display: flex; align-items: center; justify-content: center; transition: background .15s ease, border-color .15s ease; margin-top: 1px; }
.check__box svg { width: 13px; height: 13px; opacity: 0; transition: opacity .15s ease; }
.check__input:checked + .check__box { background: var(--blue); border-color: var(--blue); }
.check__input:checked + .check__box svg { opacity: 1; }
.field--check.has-error .check__box { border-color: #D2483B !important; }
.check__text a { color: var(--blue); text-decoration: none; border-bottom: 1px solid rgba(43,87,206,.4); }
.submit { width: 100%; height: 56px; border: 0; border-radius: 12px; background: var(--green); color: #fff; font-size: 16px; font-weight: 600; font-family: inherit; cursor: pointer; transition: background .15s ease; margin-top: 6px; }
.submit:hover { background: var(--green-hover); }
.submit:disabled { opacity: .6; cursor: default; }
.form__success { padding: 18px 20px; border-radius: 12px; background: #E8F5EC; color: #15935A; font-size: 14px; text-align: center; line-height: 1.5; }
.form__success strong { display: block; font-size: 16px; margin-bottom: 4px; }

/* ============================================================
   ПРАЙС (на тёплом фоне, тёмный текст)
   ============================================================ */
.price-hero { padding: 150px 28px 12px; text-align: center; }
.price-hero h1 { font-family: var(--serif); margin: 0 0 14px; font-size: clamp(32px, 5vw, 50px); font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.price-hero p { margin: 0 auto; max-width: 580px; color: var(--muted); font-size: 18px; }
.price-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 980px; margin: 28px auto 8px; padding: 0 24px; }
.price-nav a { color: var(--blue); text-decoration: none; background: #fff; border: 1px solid var(--line); padding: 8px 15px; border-radius: 999px; font-size: 13px; font-weight: 600; transition: background .2s ease, color .2s ease; white-space: nowrap; }
.price-nav a:hover { background: var(--blue); color: #fff; }
.price-cats { padding: 36px 0 44px; }
.cat { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 36px; margin-bottom: 20px; scroll-margin-top: 100px; }
.cat__head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.cat__icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px; background: var(--bg-sand); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.cat__icon svg { width: 24px; height: 24px; }
.cat__title { font-family: var(--serif); margin: 0; font-size: 22px; font-weight: 600; line-height: 1.2; color: var(--ink); }
.cat__sub { margin: 3px 0 0; font-size: 13px; color: var(--muted); }
.cat__list { display: flex; flex-direction: column; }
.prow { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.prow:last-child { border-bottom: 0; }
.prow__name { font-size: 15.5px; line-height: 1.45; color: var(--ink); flex: 1; }
.prow__name b { font-weight: 700; }
.prow__hint { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.prow__price { font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--blue-deep); white-space: nowrap; text-align: right; }
.prow__price small { font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--muted); margin-right: 3px; }
.cat__note { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.price-cta { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 28px 0 8px; }
.price-cta h2 { font-family: var(--serif); margin: 0; font-size: 28px; font-weight: 600; color: var(--ink); }
.price-cta p { margin: 0; color: var(--muted); font-size: 16px; }
.price-disclaimer { margin: 32px auto 0; text-align: center; color: var(--muted); font-size: 12.5px; line-height: 1.6; max-width: 680px; }

/* ============================================================
   СТРАНИЦЫ УСЛУГ / ЮР. СТРАНИЦЫ
   ============================================================ */
.page-hero { padding: 124px 0 0; }
.page-hero__bg { background: var(--bg-sand); padding-bottom: 8px; }
.breadcrumbs { font-size: 13.5px; color: var(--muted); padding: 10px 0; }
.breadcrumbs a { color: var(--blue); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { margin: 0 7px; }
.article { padding: 40px 0 72px; }
.article__layout { display: grid; grid-template-columns: 1fr 330px; gap: 56px; align-items: start; }
.prose { font-size: 17px; line-height: 1.75; color: var(--ink); max-width: 760px; }
.prose h1 { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); font-weight: 600; line-height: 1.12; color: var(--ink); margin: 0 0 18px; }
.prose h2 { font-family: var(--serif); font-size: clamp(23px, 3vw, 30px); font-weight: 600; color: var(--ink); margin: 44px 0 14px; }
.prose h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--ink); margin: 28px 0 10px; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 24px; }
.prose li { margin-bottom: 9px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--blue); }
.lead { font-size: 20px; line-height: 1.6; color: var(--ink); margin: 0 0 24px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.tag-row li { font-size: 14px; font-weight: 500; color: var(--blue); background: #fff; border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; }
.callout { background: var(--bg-sand); border-left: 3px solid var(--blue); border-radius: 12px; padding: 18px 22px; margin: 24px 0; font-size: 16px; }
.callout strong { color: var(--ink); }
.faq { margin: 36px 0 0; }
.faq__item { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; background: #fff; }
.faq__q { width: 100%; text-align: left; background: none; border: 0; padding: 20px 24px; font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__q svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform .25s ease; color: var(--blue); }
.faq__item.is-open .faq__q svg { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a-inner { padding: 0 24px 20px; font-size: 16px; line-height: 1.65; color: var(--muted); }
.faq__item.is-open .faq__a { max-height: 640px; }
.aside-cta { position: sticky; top: 100px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: 0 10px 30px rgba(32,40,60,.06); }
.aside-cta h3 { font-family: var(--serif); margin: 0 0 8px; font-size: 21px; font-weight: 600; color: var(--ink); }
.aside-cta p { margin: 0 0 18px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.aside-cta .price-big { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--blue-deep); margin: 0 0 4px; }
.aside-cta .price-big small { font-family: var(--sans); font-size: 15px; color: var(--muted); font-weight: 600; }
.aside-cta .btn { width: 100%; }
.aside-cta__phone { display: block; text-align: center; margin-top: 14px; font-size: 18px; font-weight: 700; color: var(--ink); text-decoration: none; }
.legal { padding: 124px 0 64px; }
.legal .prose { max-width: 860px; }
.legal h1 { font-family: var(--serif); margin-bottom: 28px; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 14.5px; }
.legal th, .legal td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.legal th { background: var(--bg-sand); font-weight: 700; color: var(--ink); }
.legal__date { color: var(--muted); font-size: 14px; margin-top: 24px; }

/* CTA-полоса — единственный насыщенный бренд-акцент */
.cta-band { background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 70%, var(--sky) 130%); color: #fff; border-radius: var(--radius); padding: 56px 40px; text-align: center; margin: 8px 0; }
.cta-band h2 { font-family: var(--serif); margin: 0 0 10px; font-size: clamp(26px, 3vw, 34px); font-weight: 600; color: #fff; }
.cta-band p { margin: 0 0 26px; color: rgba(255,255,255,.85); font-size: 17px; }
.cta-band .btn--green { background: #fff; color: var(--blue-deep); }
.cta-band .btn--green:hover { background: #F0F4FF; }

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about__inner { grid-template-columns: 1fr; gap: 30px; } .about__photo { max-width: 360px; aspect-ratio: 4/3; }
  .article__layout { grid-template-columns: 1fr; gap: 30px; } .aside-cta { position: static; }
}
@media (max-width: 920px) {
  .nav, .actions .phone, .actions .socials { display: none; }
  .actions .btn { display: none; }
  .burger { display: flex; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { columns: 2; }
  .contacts__inner, .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero { padding: 120px 20px 64px; }
  .hero__inner { grid-template-columns: 1fr; min-height: 0; }
  .hero__content { order: 2; max-width: none; justify-content: flex-start; }
  .hero__media { order: 1; min-height: 380px; }
  .stats { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 60px 0; }
  .services__grid, .steps { grid-template-columns: 1fr; }
  .reviews__grid { columns: 1; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .cat { padding: 24px 20px; }
  .prow { flex-direction: column; gap: 6px; } .prow__price { text-align: left; }
  .hero__cta-wrap { gap: 12px; }
  .footer__bottom { flex-direction: column; }
}

/* Заголовки — плотный системный шрифт */
.hero__title, .section__title, .prose h1, .price-hero h1, .about__name, .cta-band h2, .promo-card__title, .footer__brand, .modal__title { font-weight: 700; }

/* Бейдж рейтинга Яндекса в hero */
.hero__rating { align-self: flex-start; margin-top: 4px; }
.hero__rating iframe { border: 0; display: block; transform: scale(1.12); transform-origin: left center; }

/* Карточки отзывов по правому краю фигуры в hero */
.hero__rcards { position: absolute; z-index: 0; top: 160px; right: 150px; width: 300px; max-width: calc(100vw - 60px); height: calc(60vh + 140px); max-height: 760px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 70%, transparent 93%); mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 70%, transparent 93%); }
.hero__rtrack { display: flex; flex-direction: column; align-items: center; will-change: transform; }
.hero__rcards .hero__rcard { width: 260px; margin-bottom: 14px; box-sizing: border-box; }
.hero__rcard { display: block; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; box-shadow: 0 16px 38px rgba(22,34,75,.14); transition: transform .18s ease, box-shadow .18s ease; }
a.hero__rcard:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(22,34,75,.20); }
.hero__rstars { color: #FFB400; font-size: 12px; letter-spacing: 1.5px; line-height: 1; margin-bottom: 6px; }
.hero__rtext { margin: 0 0 8px; font-size: 13px; line-height: 1.4; color: var(--ink); }
.hero__rwho { display: flex; align-items: baseline; gap: 6px; font-size: 11px; }
.hero__rwho b { color: var(--ink); font-weight: 700; }
.hero__rwho span { color: var(--muted); }
@media (max-width: 1180px){ .hero__rcards { display: none; } }

.social--wa{position:relative}
.social--wa::after{content:"*";position:absolute;top:-3px;right:-2px;font-size:15px;font-weight:700;line-height:1;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.4)}
.footer__legal{max-width:1080px;margin:10px auto 0;padding:0 0 6px;font-size:11px;line-height:1.45;color:rgba(255,255,255,.4)}
@media(max-width:640px){.footer__legal{font-size:11px}}
