/* ==========================================================================
   Сиделка Центр — Premium Care
   Палитра, типографика, анимированные рамки, адаптивная сетка.
   Все пути внутри CSS относительные (../fonts/...).
   ========================================================================== */

/* ---------- Шрифт Manrope (локально, OFL) ---------- */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-cyrillic-wght-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Токены ---------- */
:root {
  --color-background: #FFF6DF;
  --color-surface: #FFFDF7;
  --color-surface-alt: #F8EED8;
  --color-primary: #B72E39;
  --color-primary-hover: #E94B55;
  --color-heading: #24344B;
  --color-secondary: #227E78;
  --color-text: #303847;
  --color-muted: #626B78;
  --color-white: #FFFFFF;

  --primary-deep: #93222C;
  --primary-soft: rgba(183, 46, 57, .08);
  --secondary-soft: rgba(34, 126, 120, .1);
  --line: rgba(36, 52, 75, .1);
  --footer-bg: #1C2A3D;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 20px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --frame-w: 2px;
  --card-border-w: 1px;
  --card-border: rgba(183, 46, 57, .22);
  --primary-rgb: 183, 46, 57;
  --section-pad: clamp(36px, 4.4vw, 62px);

  --shadow-sm: 0 2px 6px rgba(36, 52, 75, .05), 0 8px 24px rgba(36, 52, 75, .06);
  --shadow: 0 6px 18px rgba(36, 52, 75, .07), 0 18px 44px rgba(36, 52, 75, .09);
  --shadow-lg: 0 14px 30px rgba(36, 52, 75, .1), 0 32px 70px rgba(36, 52, 75, .16);
  --shadow-red: 0 10px 26px rgba(183, 46, 57, .28);

  --ease: cubic-bezier(.22, .68, .24, 1);
  --t-hover: 400ms;
  --hdr-h: 108px;
}
/* Значения из НАСТРОЙКИ_САЙТА.js ([ЦВЕТА], [РАМКА], [ОТСТУПЫ]) подставляются сюда при сборке: */
:root{--color-background:#FFF6DF;--color-surface:#FFFDF7;--color-surface-alt:#F8EED8;--color-heading:#24344B;--color-text:#303847;--color-secondary:#227E78;--color-primary:#B72E39;--color-primary-hover:#E94B55;--primary-rgb:183,46,57;--frame-w:2px;--card-border-w:1px;--card-border:rgba(183,46,57,0.16);--section-pad:clamp(36px, 4.4vw, 62px);--container:1240px;--radius:20px}


/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); background: var(--color-background); }
body {
  margin: 0; min-width: 320px; overflow-x: hidden;
  font-family: var(--font); font-size: 17px; line-height: 1.65; font-weight: 500;
  color: var(--color-text); background: var(--color-background);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--color-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s; }
a:hover { color: var(--color-primary-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--color-heading); font-weight: 800; line-height: 1.18; letter-spacing: -.015em; text-wrap: balance; overflow-wrap: break-word; hyphens: manual; }
h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.6rem); line-height: 1.1; }
h2 { font-size: clamp(1.65rem, 1.25rem + 1.6vw, 2.6rem); }
h3, .h3 { font-size: clamp(1.12rem, 1.02rem + .4vw, 1.3rem); font-weight: 800; line-height: 1.3; }
strong, b { font-weight: 800; }
:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(183, 46, 57, .18); }

.ico { width: 1.25em; height: 1.25em; flex: none; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(960px + 2 * var(--gutter)); }
.center { text-align: center; }
.center.reveal, div.center { margin-top: clamp(28px, 4vw, 44px); display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 18px; background: var(--color-heading); color: #fff; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; color: #fff; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Секции ---------- */
.section { position: relative; padding: var(--section-pad) 0; }
.section--tight { padding: calc(var(--section-pad) * .55) 0; }
.section--alt { background: linear-gradient(180deg, var(--color-surface-alt) 0%, #FBF2DD 100%); }
.section--alt::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 100% 0%, rgba(183, 46, 57, .05), transparent 70%), radial-gradient(50% 45% at 0% 100%, rgba(34, 126, 120, .05), transparent 70%); }
.section > .container { position: relative; }

.sh { max-width: 780px; margin: 0 auto clamp(20px, 2.7vw, 32px); text-align: center; }
.sh__title { margin-bottom: 0; }
.sh__sub { margin: 10px auto 0; max-width: 680px; font-size: 1.06rem; color: var(--color-muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--color-secondary); }
.eyebrow--light { color: #FFD9DC; }

/* ---------- Кнопки ---------- */
.btn {
  --bh: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--bh); padding: 0 26px; border: 2px solid transparent; border-radius: var(--radius-pill);
  font-size: 1rem; font-weight: 800; line-height: 1.15; text-align: center; text-decoration: none; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .25s, color .25s, border-color .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn .ico { width: 20px; height: 20px; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--sm { --bh: 44px; padding: 0 18px; font-size: .92rem; }
.btn--lg { --bh: 58px; padding: 0 32px; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }
.lbl-s { display: none; }
.btn--red { color: #fff; background: linear-gradient(135deg, var(--color-primary) 0%, #C83A45 100%); box-shadow: var(--shadow-red); }
.btn--red:hover { color: #fff; background: linear-gradient(135deg, #C3343F 0%, var(--color-primary-hover) 100%); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(183, 46, 57, .36); }
.btn--outline { color: var(--color-heading); background: var(--color-surface); border-color: rgba(36, 52, 75, .82); }
.btn--outline:hover { color: var(--color-primary); border-color: var(--color-primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--soft { color: var(--color-primary); background: #FFF3EE; border-color: rgba(var(--primary-rgb), .35); }
.btn--soft:hover { color: #fff; background: var(--color-primary); border-color: var(--color-primary); transform: translateY(-2px); }
.btn--ghost { color: var(--color-heading); background: transparent; border-color: var(--line); }
.btn--ghost:hover { color: var(--color-primary); border-color: var(--color-primary); }
.btn--white { color: var(--color-primary); background: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .15); }
.btn--white:hover { color: var(--primary-deep); transform: translateY(-2px); }
.btn--glass { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .35); }
.btn--glass:hover { color: #fff; background: rgba(255, 255, 255, .16); border-color: #fff; }
.btn[disabled], .btn.is-busy { opacity: .75; cursor: progress; transform: none; }
.btn.is-busy::after { content: ""; width: 18px; height: 18px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; }
.link-arrow .ico { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ==========================================================================
   ФИРМЕННАЯ КРАСНАЯ РАМКА — только у 1–3 ключевых блоков на странице
   (фото первого экрана, форма заявки, блок консультации).
   Анимируется только opacity псевдоэлемента и только пока блок виден на экране
   (класс .is-onscreen ставит IntersectionObserver) — без перерисовки содержимого.
   ========================================================================== */
.frame { position: relative; isolation: isolate; }
.frame::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  border: var(--frame-w) solid var(--color-primary); border-radius: inherit;
  opacity: .7;
}
.js .frame.is-onscreen::after { animation: frame-breath 6s ease-in-out infinite; }
.no-breath .frame.is-onscreen::after { animation: none; }
@keyframes frame-breath { 0%, 100% { opacity: .72; } 50% { opacity: .42; } }

/* ---------- Карточки: тонкая приглушённая линия, красная — только при наведении ---------- */
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--color-surface); border-radius: var(--radius);
  border: var(--card-border-w) solid var(--card-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-hover) var(--ease), border-color var(--t-hover) var(--ease), box-shadow var(--t-hover) var(--ease);
}
.card:not(.static):hover { transform: translateY(-4px); border-color: rgba(var(--primary-rgb), .4); box-shadow: var(--shadow); }
.no-lift .card:not(.static):hover { transform: none; }
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.pad { padding: clamp(20px, 2.8vw, 32px); }
.sub-card { margin-top: 20px; }
.sub-card h3 { text-align: center; }

.grid { display: grid; gap: clamp(16px, 1.8vw, 24px); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.tag { display: inline-flex; align-self: center; align-items: center; padding: 4px 12px; border-radius: var(--radius-pill); background: var(--secondary-soft); color: var(--color-secondary); font-size: .76rem; font-weight: 800; letter-spacing: .02em; line-height: 1.3; text-align: center; }

/* Карточка услуги */
.svc { overflow: visible; }
.svc__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; background: var(--color-surface-alt); }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.svc__media::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(0deg, rgba(36, 52, 75, .18), transparent); pointer-events: none; }
.svc:hover .svc__media img { transform: scale(1.03); }
.svc__media:has(.ph)::after { display: none; }
.svc__body { display: flex; flex: 1; flex-direction: column; align-items: center; gap: 10px; padding: 18px 20px 20px; text-align: center; }
.svc__title { margin: 2px 0 0; font-size: clamp(1.14rem, 1.04rem + .35vw, 1.32rem); }
.svc__title a { color: var(--color-heading); text-decoration: none; }
.svc__title a:hover { color: var(--color-primary); }
.svc__text { flex: 1; margin: 0; font-size: .97rem; color: var(--color-muted); line-height: 1.6; }
.svc__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin-top: auto; padding-top: 6px; }
.svc__actions .btn { padding: 0 12px; white-space: normal; }

/* Преимущества */
.feat, .value { align-items: center; padding: 26px 22px 24px; text-align: center; }
.feat__ico { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 14px; border-radius: 18px; color: var(--color-secondary); background: var(--secondary-soft); }
.feat p, .value p { color: var(--color-muted); font-size: .98rem; }

/* Форматы */
.fmt { align-items: center; padding: 24px 20px 22px; text-align: center; }
.fmt__ico { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 12px; border-radius: 50%; color: var(--color-secondary); background: var(--secondary-soft); }
.fmt p { color: var(--color-muted); font-size: .96rem; }
.fmt__fit { flex: 1; width: 100%; padding-top: 14px; border-top: 1px dashed rgba(36, 52, 75, .18); color: var(--color-secondary) !important; font-weight: 700; }
.fmt .link-arrow { margin-top: 8px; }

/* Кому нужна сиделка */
.who { flex-direction: row; align-items: flex-start; gap: 16px; padding: 24px; }
.who__ico { display: grid; flex: none; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: var(--color-secondary); background: var(--secondary-soft); }
.who h3 { margin-bottom: 4px; font-size: 1.08rem; }
.who p { margin: 0; color: var(--color-muted); font-size: .96rem; }

/* Шаги */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); counter-reset: s; }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { align-items: center; padding: 24px 18px 22px; text-align: center; }
.step__num { display: grid; place-items: center; width: 56px; height: 56px; margin: -58px auto 16px; border: 5px solid var(--color-background); border-radius: 50%; color: #fff; background: var(--color-heading); font-size: 1.2rem; font-weight: 800; box-shadow: var(--shadow-sm); }
.section--alt .step__num { border-color: #FAF0DA; }
.steps .step { margin-top: 30px; }
.step p { color: var(--color-muted); font-size: .95rem; }

/* Стоимость */
.cost { align-items: center; padding: 22px 20px; text-align: center; }
.cost__ico { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 12px; border-radius: 50%; color: var(--color-secondary); background: var(--secondary-soft); }
.cost p { color: var(--color-muted); font-size: .96rem; }

/* Чек-листы */
.checklist { display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li .ico { width: 22px; height: 22px; margin-top: 2px; color: var(--color-secondary); }
.checklist--2 { grid-template-columns: 1fr 1fr; column-gap: 32px; }
.checklist--plain { margin: 18px 0 0; }

/* Сравнение */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.5vw, 30px); }
.cmp { padding: clamp(20px, 2.4vw, 30px); }
.cmp h3 { text-align: center; }
.cmp--bad .ico { color: #9AA1AC !important; }
.cmp--bad { background: #FBF7EE; }
.cmp--good .ico { color: var(--color-secondary) !important; }
.cmp--med .ico { color: var(--color-primary) !important; }

/* Отзывы-заглушка */
.note-card { align-items: center; padding: clamp(24px, 3vw, 40px); text-align: center; }
.note-card__q { font-size: 5rem; line-height: .6; height: 40px; color: var(--color-primary); font-family: Georgia, serif; }
.note-card p { max-width: 640px; color: var(--color-muted); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq__item { padding: 0; }
.faq__item:hover { transform: translateY(-3px) !important; }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; list-style: none; cursor: pointer; color: var(--color-heading); font-size: 1.06rem; font-weight: 800; line-height: 1.4; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chev { display: grid; flex: none; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--color-primary); background: var(--primary-soft); transition: transform .35s var(--ease), background-color .3s; }
.faq__item[open] .faq__chev { transform: rotate(180deg); color: #fff; background: var(--color-primary); }
.faq__a { padding: 0 26px 24px; color: var(--color-text); }

/* Уведомления */
.notice { display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; padding: 18px 22px; border-radius: var(--radius-sm); background: var(--secondary-soft); color: var(--color-heading); }
.notice .ico { width: 24px; height: 24px; margin-top: 2px; color: var(--color-secondary); }
.notice p { margin: 0; }
.notice--alert { background: #FDECEC; }
.notice--alert .ico { color: var(--color-primary); }

/* ---------- Шапка: компактная, без размытия фона (дорого при прокрутке на телефонах) ---------- */
.hdr { position: sticky; top: 0; z-index: 100; background: var(--color-background); box-shadow: 0 1px 0 var(--line); }
.hdr.is-compact { box-shadow: 0 6px 20px rgba(36, 52, 75, .08); }
.hdr__top-in { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; color: var(--color-heading); text-decoration: none; min-width: 0; }
.brand:hover { color: var(--color-heading); }
.brand__logo { flex: none; width: 46px; height: 46px; border-radius: 14px; object-fit: cover; }
.brand__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.12; }
.brand__name { font-size: 1.28rem; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.brand__sub { margin-top: 2px; font-size: .76rem; font-weight: 700; color: var(--color-secondary); white-space: nowrap; }
.brand--light, .brand--light:hover { color: #fff; }
.brand--light .brand__sub { color: #8FD3CC; }
.hdr__phones { display: flex; align-items: center; gap: 14px; }
.hphone { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--color-heading); font-weight: 800; font-size: .95rem; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hphone:hover { color: var(--color-primary); }
.hphone__ico { display: grid; flex: none; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--color-primary); background: var(--primary-soft); }
.hphone__ico .ico { width: 15px; height: 15px; }
.hphone:hover .hphone__ico .ico, .hphone:focus-visible .hphone__ico .ico { animation: ring .7s ease-in-out 1; }
.no-wiggle .hphone .ico { animation: none !important; }
@keyframes ring { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 40% { transform: rotate(12deg); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(5deg); } }
.hdr__msgs .msgs { gap: 6px; }
.hdr__cb { flex: none; }
.hdr__contacts { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 12px; color: #fff; background: var(--color-primary); font-weight: 800; font-size: .9rem; text-decoration: none; }
.hdr__contacts:hover { color: #fff; background: var(--color-primary-hover); }
.msgs { display: flex; gap: 8px; flex-wrap: wrap; }
.msg { display: inline-grid; grid-auto-flow: column; place-items: center; gap: 8px; min-width: 38px; height: 38px; border-radius: 999px; color: #fff; text-decoration: none; transition: transform .25s var(--ease), filter .25s; }
.msg .ico { width: 20px; height: 20px; }
.msg--wa { background: #1FA855; }
.msg--tg { background: #2A9BD8; }
.msg--max { background: linear-gradient(135deg, #4C6FFF, #9B4DFF); }
a.msg:hover { color: #fff; transform: translateY(-2px); }
.msg--lg { min-width: 46px; height: 46px; }
.msg__t { padding-right: 14px; font-weight: 800; font-size: .92rem; }
.msg:has(.msg__t) { padding-left: 12px; }
.msg--dark { box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }
.burger { display: none; }
.hdr__nav { border-top: 1px solid var(--line); background: var(--color-surface); }
.menu { display: flex; justify-content: center; align-items: center; gap: 2px; }
.menu__item { position: relative; display: flex; align-items: center; }
.menu__link { position: relative; display: block; padding: 11px 14px; color: var(--color-heading); font-size: .95rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.menu__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--color-primary); transform: scaleX(0); transition: transform .3s var(--ease); }
.menu__link:hover { color: var(--color-primary); }
.menu__link:hover::after, .menu__link.is-active::after { transform: scaleX(1); }
.menu__link.is-active { color: var(--color-primary); }
.menu__item--dd .menu__link { padding-right: 4px; }
.menu__item--dd .menu__link::after { right: 4px; }
.menu__dd-btn { display: grid; place-items: center; width: 38px; height: 38px; margin-right: 2px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--color-heading); transition: transform .3s var(--ease), background-color .2s; }
.menu__dd-btn:hover { background: var(--primary-soft); color: var(--color-primary); }
.menu__item--dd.is-open .menu__dd-btn, .menu__item--dd:hover .menu__dd-btn { transform: rotate(180deg); }

/* Выпадающее меню услуг */
.dd { position: absolute; top: 100%; left: 50%; z-index: 120; width: min(1060px, calc(100vw - 48px)); padding: 28px 30px 22px; border-radius: var(--radius); background: var(--color-surface); box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); opacity: 0; visibility: hidden; transform: translate(-42%, 12px); transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s; }
.menu__item--dd:hover .dd, .menu__item--dd:focus-within .dd, .menu__item--dd.is-open .dd { opacity: 1; visibility: visible; transform: translate(-42%, 0); }
.dd::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.dd__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.dd__title { display: block; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 2px solid var(--primary-soft); color: var(--color-primary); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.dd__col ul { display: grid; gap: 2px; }
.dd__title--sub { margin-top: 18px; }
.dd__col ul a { display: block; padding: 7px 10px; margin: 0 -10px; border-radius: 10px; color: var(--color-heading); font-size: .95rem; font-weight: 700; line-height: 1.35; text-decoration: none; }
.dd__col ul a:hover { color: var(--color-primary); background: var(--primary-soft); }
.dd__place { display: flex; gap: 12px; align-items: center; padding: 10px; margin: 0 -10px 4px; border-radius: 12px; color: var(--color-heading); text-decoration: none; }
.dd__place:hover { background: var(--primary-soft); color: var(--color-primary); }
.dd__place .ico { width: 36px; height: 36px; padding: 8px; border-radius: 10px; color: var(--color-secondary); background: var(--secondary-soft); }
.dd__place span { display: flex; flex-direction: column; line-height: 1.3; }
.dd__place b { font-size: .95rem; }
.dd__place small { color: var(--color-muted); font-size: .8rem; font-weight: 600; }
.dd__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }

/* Мобильное меню */
.mnav { position: fixed; inset: var(--hdr-h) 0 0; z-index: 90; overflow-y: auto; overscroll-behavior: contain; background: var(--color-background); animation: mnav-in .3s var(--ease); }
@keyframes mnav-in { from { opacity: 0; transform: translateY(-8px); } }
.mnav__in { display: flex; flex-direction: column; gap: 4px; max-width: 560px; margin: 0 auto; padding: 18px var(--gutter) calc(110px + env(safe-area-inset-bottom)); }
.mnav__cta { display: grid; gap: 10px; margin-bottom: 12px; }
.mnav__link, .mnav__dd summary { display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 0 16px; border-radius: 14px; color: var(--color-heading); font-size: 1.08rem; font-weight: 800; text-decoration: none; background: var(--color-surface); }
.mnav__link[aria-current] { color: var(--color-primary); box-shadow: inset 4px 0 0 var(--color-primary); }
.mnav__dd summary { list-style: none; cursor: pointer; }
.mnav__dd summary::-webkit-details-marker { display: none; }
.mnav__dd[open] summary .ico { transform: rotate(180deg); }
.mnav__dd summary .ico { transition: transform .3s; color: var(--color-primary); }
.mnav__sub { display: grid; gap: 2px; padding: 8px 8px 12px 16px; }
.mnav__sub a { padding: 10px 8px; color: var(--color-heading); font-weight: 700; text-decoration: none; border-radius: 10px; }
.mnav__sub a:hover { background: var(--primary-soft); color: var(--color-primary); }
.mnav__group { margin: 12px 0 2px 8px; color: var(--color-secondary); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.mnav__contacts { display: grid; gap: 6px; margin-top: 16px; padding: 18px; border-radius: 18px; background: var(--color-surface); }
.mnav__phone { display: flex; align-items: center; gap: 10px; padding: 8px 4px; color: var(--color-heading); font-weight: 800; text-decoration: none; }
.mnav__phone .ico { color: var(--color-primary); }
.mnav__contacts .msgs { margin-top: 8px; }

/* ---------- Первый экран ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(28px, 4.2vw, 60px) 0 clamp(48px, 5.6vw, 76px); }
.hero__bg { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(48% 60% at 85% 20%, rgba(233, 75, 85, .14), transparent 70%),
  radial-gradient(40% 50% at 5% 90%, rgba(34, 126, 120, .1), transparent 70%),
  linear-gradient(180deg, #FFF8E6 0%, var(--color-background) 100%); }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero__text { text-align: center; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 9px 18px; border-radius: var(--radius-pill); background: var(--color-surface); box-shadow: var(--shadow-sm); color: var(--color-heading); font-size: .9rem; font-weight: 800; }
.hero__badge i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--color-ok); box-shadow: 0 0 0 4px rgba(46, 157, 106, .16); }
.js .hero__badge i { animation: dot-pulse 3.6s ease-in-out infinite; will-change: opacity; }
@keyframes dot-pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.hero__title { margin-bottom: 22px; font-size: clamp(2rem, 1.3rem + 2.4vw, 3.35rem); }
.accent { color: var(--color-primary); background: linear-gradient(120deg, var(--color-primary), var(--color-primary-hover)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__sub { max-width: 600px; margin: 0 auto 30px; font-size: clamp(1.05rem, .98rem + .3vw, 1.2rem); color: var(--color-muted); }
.hero__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hero__btns--center { margin-top: 26px; }
.hero__perks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 620px; margin: 34px auto 0; }
.perk { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 253, 247, .82); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); color: var(--color-heading); font-size: .95rem; font-weight: 800; line-height: 1.3; text-align: left; }
.perk .ico { display: block; width: 36px; height: 36px; padding: 8px; border-radius: 12px; color: var(--color-secondary); background: var(--secondary-soft); }
.hero__media { position: relative; padding: 18px; }
.hero__photo { overflow: hidden; border-radius: 32px; box-shadow: var(--shadow-lg); aspect-ratio: 6 / 5; background: var(--color-surface-alt); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::before { content: ""; position: absolute; inset: 0 40px 40px 0; z-index: -1; border-radius: 40px; background: linear-gradient(140deg, rgba(183, 46, 57, .16), rgba(34, 126, 120, .12)); transform: translate(-6px, -6px); }
.hero__float { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 18px; background: var(--color-surface); box-shadow: var(--shadow); color: var(--color-heading); font-size: .95rem; font-weight: 800; text-decoration: none; }
.hero__float .ico { width: 36px; height: 36px; padding: 8px; border-radius: 50%; color: #fff; background: var(--color-primary); }
.hero__float span { display: flex; flex-direction: column; line-height: 1.25; }
.hero__float small { color: var(--color-muted); font-size: .76rem; font-weight: 700; }
.hero__float--a { top: 40px; left: -14px; }
.hero__float--b { right: -6px; bottom: 34px; animation-delay: -3s; }
.hero__float--b:hover { color: var(--color-primary); }

/* Быстрые контакты */
.qbar { position: relative; z-index: 2; margin-top: -36px; }
.qbar__in { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: var(--radius); background: var(--color-surface); box-shadow: var(--shadow); }
.qbar__item { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 22px 18px; color: var(--color-heading); text-decoration: none; }
.qbar__item + .qbar__item { border-left: 1px solid var(--line); }
.qbar__item:hover { color: var(--color-primary); }
.qbar__ico { display: grid; flex: none; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: var(--color-primary); background: var(--primary-soft); }
.qbar__item span:last-child { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.qbar__item small { color: var(--color-muted); font-size: .8rem; font-weight: 700; }
.qbar__item b { font-size: 1.04rem; overflow-wrap: anywhere; }

/* ---------- Фото + текст ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 84px); }
.split--rev .split__media { order: 2; }
.split__media { overflow: hidden; border-radius: 28px; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: var(--color-surface-alt); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__text { text-align: left; }
.split__text > .eyebrow { display: flex; justify-content: center; }
.split__title { text-align: center; }
.split__text > .btn { margin-top: 26px; }
.quote { position: relative; margin: 24px 0 0; padding: 18px 22px 18px 26px; border-left: 4px solid var(--color-primary); border-radius: 0 16px 16px 0; background: var(--primary-soft); color: var(--color-heading); font-size: 1.08rem; font-weight: 700; font-style: normal; }

/* ---------- Срочно ---------- */
.urgent { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 28px; overflow: hidden; padding: clamp(26px, 3.6vw, 44px); border-radius: 30px; color: #fff; background: linear-gradient(125deg, #1F2D42 0%, var(--color-heading) 60%, #2E4260 100%); box-shadow: var(--shadow); }
.urgent::before { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(var(--primary-rgb), .16); }
.urgent h2 { color: #fff; }
.urgent p { color: rgba(255, 255, 255, .9); }
.urgent__small { display: flex; gap: 8px; align-items: center; margin: 0; font-size: .92rem; }
.urgent__act { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.link-light { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 800; }
.link-light:hover { color: #FFE1E3; }

/* ---------- Консультация ---------- */
.cta { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: clamp(28px, 4vw, 56px); padding: clamp(24px, 3.6vw, 44px); border-radius: 26px; background: linear-gradient(135deg, var(--color-surface) 0%, #FFF4E8 100%); box-shadow: var(--shadow-sm); }
.cta__text { text-align: center; }
.cta__text p { color: var(--color-muted); }
.cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
.cta__contacts { display: flex; flex-direction: column; align-items: flex-start; justify-self: center; gap: 10px; max-width: 100%; }
.cta__phone, .cta__addr { display: inline-flex; width: fit-content; max-width: 100%; align-items: center; gap: 12px; margin: 0; padding: 12px 18px; border-radius: 16px; background: var(--color-surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--color-heading); font-weight: 800; text-decoration: none; overflow-wrap: anywhere; }
.cta__addr { font-weight: 700; font-size: .95rem; }
.cta__phone .ico, .cta__addr .ico { color: var(--color-primary); }
.ico--desk { transform-origin: 50% 75%; }
.js .is-onscreen .ico--desk { animation: desk-wiggle 6s ease-in-out infinite; }
.js .is-onscreen a:nth-child(2) .ico--desk { animation-delay: .4s; }
.js .is-onscreen a:nth-child(3) .ico--desk { animation-delay: .8s; }
@keyframes desk-wiggle { 0%, 82%, 100% { transform: rotate(0); } 86% { transform: rotate(-3deg); } 90% { transform: rotate(3deg); } 94% { transform: rotate(-2deg); } 97% { transform: rotate(1deg); } }
.cta__phone:hover { color: var(--color-primary); box-shadow: inset 0 0 0 1px var(--color-primary); }

/* ---------- География ---------- */
.geo { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: clamp(28px, 5vw, 72px); }
.geo__map { overflow: hidden; aspect-ratio: 4 / 3; }
.geo__map svg { width: 100%; height: 100%; }
.geo__text { text-align: center; }
.geo__text p { color: var(--color-muted); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: var(--radius-pill); background: var(--color-surface); color: var(--color-heading); font-size: .92rem; font-weight: 800; text-decoration: none; }
.chip .ico { width: 16px; height: 16px; color: var(--color-primary); }
.chip--red { border-color: transparent; color: #fff; background: var(--color-primary); }
.chip--red .ico { color: #fff; }

/* ---------- Внутренние страницы ---------- */
.crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 8px; margin-bottom: 22px; color: var(--color-muted); font-size: .9rem; font-weight: 700; }
.crumbs a { color: var(--color-muted); text-decoration: none; }
.crumbs a:hover { color: var(--color-primary); }
.crumbs .sep { opacity: .45; }
.crumbs [aria-current] { color: var(--color-heading); }
.phero { position: relative; overflow: hidden; padding: clamp(22px, 3.4vw, 44px) 0 clamp(22px, 2.9vw, 36px); text-align: center; background: radial-gradient(60% 80% at 50% 0%, rgba(233, 75, 85, .07), transparent 70%), linear-gradient(180deg, #FFF8E6, var(--color-background)); }
.phero .eyebrow { justify-content: center; }
.phero__title { max-width: 920px; margin: 0 auto 16px; }
.phero__sub { max-width: 760px; margin: 0 auto; color: var(--color-muted); font-size: clamp(1.02rem, .96rem + .3vw, 1.18rem); }
.big404 { margin: 0; color: var(--color-primary); font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; line-height: 1; opacity: .9; }

/* Каталог */
.gcards { gap: 16px; }
.gcard { padding: 24px 20px; color: inherit; text-decoration: none; text-align: center; align-items: center; }
.gcard h3 { font-size: 1.04rem; }
.gcard p { flex: 1; color: var(--color-muted); font-size: .9rem; line-height: 1.5; }
.gcard__n { margin-top: 12px; padding: 4px 12px; border-radius: var(--radius-pill); background: var(--primary-soft); color: var(--color-primary); font-size: .82rem; font-weight: 800; }
.gcard:hover { color: inherit; }
.filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -12px 0 36px; }
.filter .chip { cursor: pointer; transition: all .25s var(--ease); }
.filter .chip:hover { border-color: var(--color-primary); color: var(--color-primary); }
.filter .chip.is-active { border-color: var(--color-primary); color: #fff; background: var(--color-primary); box-shadow: var(--shadow-red); }
.svc.is-hidden { display: none; }
.filter__empty { text-align: center; color: var(--color-muted); }

/* Страница услуги */
.shero { position: relative; padding: clamp(20px, 3vw, 40px) 0 clamp(36px, 4.4vw, 60px); background: radial-gradient(50% 70% at 90% 10%, rgba(233, 75, 85, .12), transparent 70%), linear-gradient(180deg, #FFF8E6, var(--color-background)); }
.shero__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 5vw, 64px); }
.shero__media { overflow: hidden; border-radius: 28px; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: var(--color-surface-alt); }
.shero__media img { width: 100%; height: 100%; object-fit: cover; }
.shero__text { display: flex; flex-direction: column; align-items: center; text-align: center; }
.shero__title { margin: 16px 0; font-size: clamp(1.8rem, 1.25rem + 2vw, 2.9rem); }
.shero__sub { max-width: 560px; color: var(--color-muted); font-size: 1.1rem; }
.shero__places { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 26px; }
.shero__places li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--radius-pill); background: var(--color-surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--color-heading); font-size: .9rem; font-weight: 800; }
.shero__places .ico { color: var(--color-secondary); }
.prose { max-width: 780px; margin: 0 auto; font-size: 1.06rem; }
.prose p { margin-bottom: 1.1em; }
.grid--4 .who { flex-direction: column; align-items: center; text-align: center; }
.grid--4 .who p { color: var(--color-text); font-weight: 600; }
.sched-list { margin-bottom: 8px; }
.sched { padding: 28px 24px; align-items: center; text-align: center; }
.sched__n { margin-bottom: 10px; color: var(--color-primary); font-size: 1.6rem; font-weight: 800; line-height: 1; }
.sched p { color: var(--color-text); }

/* О компании */
.terms { display: grid; gap: 16px; }
.term { flex-direction: row; gap: 20px; align-items: flex-start; padding: 24px 26px; }
.term__n { flex: none; color: var(--color-primary); font-size: 1.7rem; font-weight: 800; line-height: 1.1; }
.term p { color: var(--color-muted); }

/* Как мы работаем: таймлайн */
.timeline { position: relative; display: grid; gap: 22px; }
.timeline::before { content: ""; position: absolute; left: 27px; top: 20px; bottom: 20px; width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--color-primary), rgba(183, 46, 57, .15)); }
.tl { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 22px; align-items: start; }
.tl__n { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border: 5px solid var(--color-background); border-radius: 50%; color: #fff; background: var(--color-primary); font-size: 1.2rem; font-weight: 800; box-shadow: var(--shadow-red); }
.tl__card { padding: 22px 26px; }
.tl__card p { color: var(--color-muted); }

/* Контакты */
.contacts { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; gap: clamp(24px, 3vw, 40px); }
.contacts__h { text-align: center; }
.contacts__p { text-align: center; color: var(--color-muted); }
.contacts__aside { display: grid; gap: 22px; }
.ccard { gap: 14px; padding: 28px 26px; }
.ccard h2 { margin: 0; text-align: center; }
.ccard__p { margin: 0; text-align: center; color: var(--color-muted); font-size: .95rem; }
.ccard__label { margin: 6px 0 0; text-align: center; color: var(--color-muted); font-size: .85rem; font-weight: 800; }
.ccard .msgs { justify-content: center; }
.cphones { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cphone { display: inline-flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; min-height: 48px; padding: 8px 18px 8px 10px; border-radius: 14px; background: var(--color-background); color: var(--color-heading); text-decoration: none; transition: background-color .2s; }
.cphone:hover { color: var(--color-primary); background: #FFEFE0; }
.cphone__ico { display: grid; flex: none; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--color-primary); background: var(--primary-soft); }
.cphone__num { font-weight: 800; white-space: nowrap; }
.info { display: grid; gap: 14px; }
.info li { display: flex; gap: 12px; align-items: flex-start; }
.info .ico { margin-top: 3px; color: var(--color-primary); }
.info small { display: block; color: var(--color-muted); font-size: .8rem; font-weight: 700; }
.mapbox { overflow: hidden; border-radius: 16px; aspect-ratio: 16 / 10; box-shadow: inset 0 0 0 1px var(--line); }
.mapbox svg { width: 100%; height: 100%; }

/* Документы */
.doc { padding: clamp(26px, 4vw, 52px); }
.doc h2 { margin-top: 1.4em; font-size: 1.35rem; }
.doc h2:first-child { margin-top: 0; }
.doc ul { margin: 0 0 1em; padding-left: 1.2em; list-style: disc; }
.doc li { margin-bottom: .4em; }
.dtable { width: 100%; margin: 18px 0; border-collapse: collapse; font-size: .96rem; }
.dtable th, .dtable td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.dtable th { width: 36%; color: var(--color-heading); font-weight: 800; }

/* Заглушка фото */
.ph { display: grid; place-items: center; width: 100%; height: 100%; min-height: 180px; color: var(--color-primary); background: repeating-linear-gradient(135deg, #F8EED8 0 14px, #FBF3E2 14px 28px); }
.ph__ico { width: 48px; height: 48px; opacity: .5; }

/* ---------- Формы ---------- */
.wz { padding: clamp(20px, 2.6vw, 32px); border-radius: 24px; background: var(--color-surface); box-shadow: var(--shadow); }
.wz__head { margin-bottom: 26px; text-align: center; }
.wz__kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--color-primary); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.wz__service { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 12px; margin: 0 auto 20px; font-size: .9rem; font-weight: 800; color: var(--color-muted); }
.wz__service select { width: 100%; max-width: 460px; text-overflow: ellipsis; min-height: 44px; padding: 0 40px 0 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--color-background) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23B72E39' stroke-width='2.4' stroke-linecap='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; color: var(--color-heading); font-weight: 700; -webkit-appearance: none; appearance: none; font-size: 16px; }
.wz__dots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin: 0 0 14px; }
.wz__dots li { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--color-muted); font-size: .74rem; font-weight: 800; }
.wz__dots span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--color-surface-alt); color: var(--color-muted); font-size: .9rem; transition: all .3s var(--ease); }
.wz__dots li.is-active span { color: #fff; background: var(--color-primary); box-shadow: 0 0 0 5px rgba(183, 46, 57, .15); }
.wz__dots li.is-done span { color: #fff; background: var(--color-secondary); }
.wz__dots li.is-active small { color: var(--color-primary); }
.wz__bar { height: 6px; overflow: hidden; border-radius: 6px; background: var(--color-surface-alt); }
.wz__bar span { display: block; width: 16.66%; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--color-primary), var(--color-primary-hover)); transition: width .45s var(--ease); }
.wz__count { margin: 10px 0 0; color: var(--color-muted); font-size: .88rem; font-weight: 700; }
.wz__step { min-width: 0; margin: 0; padding: 0; border: 0; }
.wz__step.is-active { animation: step-in .4s var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateX(14px); } }
.wz__q { display: block; width: 100%; margin: 0 0 22px; padding: 0; color: var(--color-heading); font-size: clamp(1.3rem, 1.15rem + .6vw, 1.65rem); font-weight: 800; line-height: 1.25; text-align: center; outline: none; }
.choices { display: grid; gap: 12px; }
.choices--2 { grid-template-columns: 1fr 1fr; }
.choices--4 { grid-template-columns: repeat(4, 1fr); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice__box { position: relative; display: flex; align-items: center; gap: 12px; height: 100%; min-height: 64px; padding: 14px 44px 14px 18px; border: 2px solid var(--line); border-radius: 16px; background: var(--color-background); color: var(--color-heading); font-weight: 800; line-height: 1.3; transition: border-color .2s, background-color .2s, box-shadow .2s, transform .2s; }
.choices--sm .choice__box { min-height: 56px; font-size: .96rem; }
.choices--4 .choice__box { justify-content: center; padding: 12px 10px; text-align: center; }
.choices--4 .choice__tick { display: none; }
.choice:hover .choice__box { border-color: rgba(183, 46, 57, .45); transform: translateY(-2px); }
.choice input:focus-visible + .choice__box { outline: 3px solid var(--color-secondary); outline-offset: 2px; }
.choice input:checked + .choice__box { border-color: var(--color-primary); background: #FFF0EE; box-shadow: 0 8px 20px rgba(183, 46, 57, .14); }
.choice__ico { display: grid; flex: none; place-items: center; color: var(--color-primary); }
.choice__ico .ico { width: 30px; height: 30px; }
.choice__tick { position: absolute; right: 14px; top: 50%; display: grid; place-items: center; width: 24px; height: 24px; margin-top: -12px; border: 2px solid var(--line); border-radius: 50%; color: transparent; transition: all .2s; }
.choice input:checked + .choice__box .choice__tick { border-color: var(--color-primary); color: #fff; background: var(--color-primary); }
.choices--big .choice__box { flex-direction: column; justify-content: center; min-height: 170px; padding: 24px 18px; font-size: 1.15rem; text-align: center; }
.choices--big .choice__ico .ico { width: 64px; height: 64px; }
.choices--big .choice__tick { top: 16px; right: 16px; margin: 0; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field--narrow { max-width: 320px; margin: 0 auto 16px; }
.field label, .field__label { color: var(--color-heading); font-size: .95rem; font-weight: 800; }
.field__label { margin: 8px 0 10px; }
.field i, .field__label i { color: var(--color-primary); font-style: normal; }
.opt { color: var(--color-muted); font-size: .8rem; font-weight: 600; }
.field input, .field textarea { width: 100%; min-height: 54px; padding: 13px 16px; border: 2px solid var(--line); border-radius: 14px; background: var(--color-background); color: var(--color-heading); font-size: 16px; font-weight: 600; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #9AA1AC; font-weight: 500; }
.field input:focus, .field textarea:focus { border-color: var(--color-secondary); background: #fff; box-shadow: 0 0 0 4px rgba(34, 126, 120, .14); outline: none; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--color-primary); background: #FFF5F4; }
.field__err { min-height: 0; margin: 0; color: var(--color-primary); font-size: .88rem; font-weight: 700; }
.field__err:empty { display: none; }
.choices + .field__err:not(:empty) { margin-top: 8px; }
.field__hint { display: flex; gap: 8px; align-items: center; justify-content: center; margin: 16px 0 0; color: var(--color-muted); font-size: .88rem; text-align: center; }
.field__hint .ico { color: var(--color-secondary); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; color: var(--color-text); font-size: .9rem; line-height: 1.5; cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--color-primary); cursor: pointer; }
.wz__alert { margin-top: 18px; padding: 14px 18px; border-radius: 14px; background: #FDECEC; color: var(--color-heading); font-size: .94rem; font-weight: 600; }
.wz__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.wz__nav [data-next], .wz__nav [data-submit] { margin-left: auto; }
.wz.is-done .wz__step, .wz.is-done .wz__nav, .wz.is-done .wz__head, .wz.is-done .wz__alert { display: none !important; }
.wz__done { padding: 20px 0; text-align: center; outline: none; }
.wz__done-ico { display: inline-grid; place-items: center; width: 84px; height: 84px; margin-bottom: 14px; border-radius: 50%; color: #fff; background: var(--color-secondary); box-shadow: 0 12px 28px rgba(34, 126, 120, .3); }
.wz__done-title { color: var(--color-heading); font-size: 1.5rem; font-weight: 800; }
.cbf .consent { margin-top: 4px; margin-bottom: 4px; }
.cbf [data-submit] { margin-top: 16px; }

/* Диалоги */
.dlg { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 0; overflow: visible; border: 0; border-radius: 28px; background: transparent; color: inherit; }
.dlg--wide { width: min(820px, calc(100vw - 24px)); }
.dlg::backdrop { background: rgba(28, 42, 61, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dlg[open] { animation: dlg-in .35s var(--ease); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.dlg > .wz, .dlg__body { max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; }
/* В окне с прокруткой анимированная рамка-псевдоэлемент «ездила» бы вместе с содержимым,
   поэтому здесь рамка — обычный бордюр контейнера */
.dlg > .wz, .dlg__body { overflow-x: hidden; border: var(--card-border-w) solid rgba(var(--primary-rgb), .4); }
.dlg > .wz.frame::after, .dlg > .wz.frame::before, .dlg__body.frame::after, .dlg__body.frame::before { display: none; }
.dlg__body { padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: var(--color-surface); box-shadow: var(--shadow-lg); }
.dlg__title { margin: 0 0 8px; padding: 0 30px; color: var(--color-heading); font-size: 1.55rem; font-weight: 800; text-align: center; line-height: 1.25; }
.dlg__sub { color: var(--color-muted); text-align: center; }
.dlg__or { margin: 16px 0 0; text-align: center; color: var(--color-muted); font-size: .92rem; }
.dlg__or a { font-weight: 800; }
.dlg__close { position: absolute; top: 14px; right: 14px; z-index: 10; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; background: var(--color-background); color: var(--color-heading); box-shadow: var(--shadow-sm); transition: transform .25s, color .2s; }
.dlg__close:hover { color: var(--color-primary); transform: rotate(90deg); }
html.dlg-open { overflow: hidden; }

/* ---------- Подвал ---------- */
.ftr { position: relative; margin-top: 0; padding-top: 1px; color: #C9D2DE; background: radial-gradient(60% 50% at 100% 0%, rgba(183, 46, 57, .22), transparent 70%), linear-gradient(180deg, #213149 0%, var(--footer-bg) 100%); }
.ftr a { color: #E6ECF3; text-decoration: none; }
.ftr a:hover { color: #fff; }
.ftr__cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 44px 0 40px; padding: clamp(20px, 2.8vw, 30px); border-radius: 26px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.ftr__cta-t { margin: 0 0 6px; color: #fff; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); font-weight: 800; line-height: 1.25; }
.ftr__cta-s { margin: 0; color: #B4BFCD; }
.ftr__cta-b { display: flex; flex-wrap: wrap; gap: 12px; }
.ftr__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.15fr; gap: clamp(24px, 2.6vw, 40px); padding-bottom: 40px; }
.ftr__about { margin: 18px 0; color: #AEB9C7; font-size: .95rem; }
.ftr__h { margin: 4px 0 18px; color: #fff; font-size: 1.05rem; font-weight: 800; }
.ftr__links { display: grid; gap: 10px; font-size: .95rem; }
.ftr__links a { color: #C9D2DE; }
.ftr__links a:hover { color: #fff; }
.ftr__all { display: inline-flex; align-items: center; gap: 6px; color: #FF9EA5 !important; font-weight: 800; }
.ftr__contacts { display: grid; gap: 12px; margin-bottom: 20px; font-size: .95rem; }
.ftr__contacts a { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; }
.ftr__contacts .ico { width: 16px; height: 16px; margin-top: 4px; color: #FF9EA5; }
.ftr__bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.ftr__bottom-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 22px var(--gutter); color: #8E9BAD; font-size: .86rem; }

/* Мобильная панель связи */
.mbar { display: none; }

/* ---------- Появление при прокрутке ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.no-reveal .reveal, .rz-nojs .reveal { opacity: 1 !important; transform: none !important; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (max-width: 1279px) {
  .menu__link { padding: 11px 10px; font-size: .93rem; }
  .menu__link::after { left: 10px; right: 10px; }
  .grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* На средних ширинах в шапке первый номер, остальные — в окне «Все номера» */
  .hdr__phones .hphone:nth-child(n+2) { display: none; }
  .hdr__contacts { display: inline-flex; background: var(--color-surface); color: var(--color-heading); box-shadow: inset 0 0 0 1px var(--line); }
  .hdr__contacts:hover { background: var(--color-surface); color: var(--color-primary); }
  .hdr__contacts .ico { color: var(--color-primary); }
  .hdr__contacts-t::after { content: " · все номера"; font-weight: 700; color: var(--color-muted); }
}
@media (max-width: 1180px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hdr__contacts-t::after { content: ""; }
}
@media (max-width: 1023px) {
  :root { --hdr-h: 64px; }
  body { font-size: 16.5px; }
  .hdr__nav, .hdr__phones, .hdr__msgs, .hdr__cb { display: none; }
  .hdr__top-in { min-height: 64px; gap: 8px; }
  .hdr__contacts { display: inline-flex; justify-content: center; width: 46px; min-height: 46px; padding: 0; color: #fff; background: var(--color-primary); box-shadow: none; }
  .hdr__contacts:hover { color: #fff; background: var(--color-primary-hover); }
  .hdr__contacts .ico { color: #fff; }
  .hdr__contacts-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .burger { display: flex; flex: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--color-surface); }
  .burger span { display: block; width: 22px; height: 2.5px; border-radius: 2px; background: var(--color-heading); transition: transform .3s var(--ease), opacity .2s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  html.menu-open { overflow: hidden; }
  .brand__logo { width: 42px; height: 42px; border-radius: 12px; }
  .brand__name { font-size: 1.14rem; }
  .brand__sub { font-size: .72rem; }

  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__grid, .split, .shero__grid, .geo, .cta, .urgent, .contacts { grid-template-columns: minmax(0, 1fr); }
  .hero__media { max-width: 640px; width: 100%; margin: 0 auto; }
  .split--rev .split__media { order: 0; }
  .split__media, .shero__media { max-width: 720px; width: 100%; margin: 0 auto; }
  .split__text { max-width: 720px; margin: 0 auto; }
  .urgent { text-align: center; }
  .urgent__small { justify-content: center; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .ftr__cta { flex-direction: column; text-align: center; }
  .ftr__cta-b { justify-content: center; }
  .contacts__aside { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
  .office { grid-template-columns: minmax(0, 1fr); }

  .mbar { position: fixed; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); z-index: 95; display: flex; gap: 4px; padding: 5px; border-radius: 20px; background: rgba(255, 253, 247, .98); box-shadow: 0 8px 28px rgba(36, 52, 75, .18), 0 0 0 1px var(--line); transition: transform .3s var(--ease), opacity .3s; }
  .mbar__btn { display: flex; flex: 1 1 0; min-width: 0; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 54px; padding: 5px 2px; border-radius: 15px; color: var(--color-heading); font-size: .72rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
  .mbar__btn .ico { width: 22px; height: 22px; color: var(--color-primary); }
  .mbar__btn--wa .ico { color: #1FA855; }
  .mbar__btn--tg .ico { color: #2A9BD8; }
  .mbar__btn--max .ico { color: #6B5BFF; }
  .mbar__btn--main { color: #fff; background: var(--color-primary); }
  .mbar__btn--main .ico { color: #fff; }
  .mbar__btn--main:hover { color: #fff; }
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  body.is-typing .mbar, html.menu-open .mbar, html.dlg-open .mbar { transform: translateY(140%); opacity: 0; pointer-events: none; }
}
@media (max-width: 860px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps--3 { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .compare { grid-template-columns: 1fr; }
  .checklist--2 { grid-template-columns: 1fr; }
  .qbar__in { grid-template-columns: 1fr; }
  .qbar__item { justify-content: flex-start; }
  .qbar__item + .qbar__item { border-left: 0; border-top: 1px solid var(--line); }
  .grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .grid--3 > .svc { max-width: 480px; width: 100%; justify-self: center; }
  .hero__perks { grid-template-columns: 1fr; max-width: 420px; }
  /* Две связанные кнопки — в одном ряду, по половине ширины; на узком экране короткая подпись */
  .hero__btns, .cta__btns, .ftr__cta-b, .mnav__cta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; }
  .hero__btns .btn, .cta__btns .btn, .ftr__cta-b .btn, .mnav__cta .btn, .wz__nav .btn, .svc__actions .btn { min-width: 0; width: 100%; --bh: 48px; padding: 6px 10px; gap: 6px; font-size: .92rem; line-height: 1.2; white-space: normal; text-align: center; }
  .hero__btns .btn .ico, .cta__btns .btn .ico, .ftr__cta-b .btn .ico, .mnav__cta .btn .ico { width: 18px; height: 18px; }
  .hero__float--b { right: 4px; bottom: 16px; }
  .hero__media { padding: 10px; }
  .hero__photo { border-radius: 24px; }
  .steps { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .who { padding: 20px; }
  .choices--4, .choices--5 { grid-template-columns: 1fr 1fr; }
  .fgrid { grid-template-columns: 1fr; }
  .wz__dots small { display: none; }
  .wz__dots span { width: 30px; height: 30px; font-size: .84rem; }
  .wz__nav { flex-wrap: nowrap; }
  .wz__nav .btn { flex: 1 1 0; }
  .ftr__grid { grid-template-columns: 1fr; }
  .ftr__bottom-in { flex-direction: column; text-align: center; }
  .faq__item summary { padding: 18px 18px; font-size: 1rem; }
  .faq__a { padding: 0 18px 20px; }
  .term { flex-direction: column; gap: 8px; }
  .urgent__act .btn { width: 100%; }
  .dd { display: none; }
  .gcards { grid-template-columns: 1fr; }
  .dlg__close { top: 10px; right: 10px; }
}
@media (max-width: 480px) {
  .lbl-l { display: none; }
  .lbl-s { display: inline; }
}
@media (max-width: 400px) {
  .brand__logo { width: 38px; height: 38px; }
  .brand__name { font-size: 1.04rem; }
  .brand__sub { font-size: .68rem; }
  .brand { gap: 8px; }
  .mbar__btn { font-size: .66rem; }
  .btn--lg { --bh: 54px; padding: 0 20px; font-size: 1rem; }
  .choices--2 { grid-template-columns: 1fr; }
  .choices--big { grid-template-columns: 1fr 1fr; }
  .choices--big .choice__box { min-height: 140px; padding: 18px 10px; }
  .hero__float { padding: 9px 12px; font-size: .85rem; }
  .hero__float .ico { width: 30px; height: 30px; padding: 6px; }
  .wz { padding: 20px 16px; border-radius: 22px; }
  .hdr__contacts, .burger { width: 44px; min-height: 44px; height: 44px; }
}
@media (min-width: 1920px) {
  body { font-size: 18px; }
}


/* ==========================================================================
   Новые элементы: заглушки фото, мессенджеры, контакты, диалоги
   ========================================================================== */
/* Заглушка фото: правильная пропорция, кремовый фон, тонкий контур, имя места */
.ph { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 100%; min-height: 160px; padding: 16px; color: #BBA67C; text-align: center;
  background: radial-gradient(120% 90% at 30% 20%, #FFFDF7 0%, #F9EFD9 70%, #F5E7C9 100%); }
.ph::before { content: ""; position: absolute; inset: 10px; border: 1.5px dashed #E1CDA6; border-radius: calc(var(--radius) - 8px); pointer-events: none; }
.ph__art { width: 64px; height: 56px; opacity: .9; }
.ph__label { position: relative; font-size: .8rem; font-weight: 700; color: #A8946C; line-height: 1.4; }
.ph__label b { display: block; font-weight: 800; letter-spacing: .02em; color: #9A8459; font-size: .74rem; }
.hero__photo .ph, .shero__media .ph, .split__media .ph, .svc__media .ph { position: absolute; inset: 0; }
.hero__photo, .shero__media, .split__media { position: relative; }
.hero__photo .ph__art { width: 88px; height: 76px; }

/* Мессенджеры на странице контактов: три плитки в ряд */
.mtiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mtile { display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; padding: 12px 6px 10px; border-radius: 14px; background: var(--color-background); color: var(--color-heading); text-align: center; text-decoration: none; transition: background-color .2s, transform .2s; }
.mtile:hover { color: var(--color-heading); background: #FFF0DD; transform: translateY(-2px); }
.mtile .msg { min-width: 40px; height: 40px; }
.mtile b { font-size: .9rem; }
.mtile small { color: var(--color-muted); font-size: .72rem; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Контакты: слева форма, справа две карточки, снизу офис во всю ширину */
.contacts { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: stretch; gap: clamp(18px, 2.4vw, 32px); }
.contacts__form { display: flex; flex-direction: column; min-width: 0; }
.contacts__form > .wz { flex: 1; display: flex; flex-direction: column; }
.contacts__form > .wz .wz__nav { margin-top: auto; }
.contacts__form > .wz .wz__step.is-active { flex: 1; display: flex; flex-direction: column; }
.contacts__form > .wz .wz__step.is-active > .choices--big { flex: 1; align-items: stretch; }
.contacts__form > .wz .choices--big .choice__box { min-height: 200px; }
.contacts__aside { display: grid; grid-template-rows: auto 1fr; gap: clamp(16px, 2vw, 22px); min-width: 0; }
.ccard { gap: 12px; padding: 22px 20px; }
.ccard--grow { justify-content: center; }
.office { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(18px, 3vw, 36px); margin-top: clamp(18px, 2.4vw, 32px); padding: clamp(18px, 2.4vw, 26px); }
.office__map { aspect-ratio: 16 / 9; }
.office__text { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.office__text h2 { margin: 0; }

/* Окна «Все номера» и «Мессенджер» */
.dlg--sm { width: min(440px, calc(100vw - 24px)); }
.ct-phones { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 14px 0 6px; }
.ct-phone { display: inline-flex; width: fit-content; max-width: 100%; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px; border-radius: 14px; background: var(--color-background); color: var(--color-heading); font-size: 1.1rem; font-weight: 800; text-decoration: none; font-variant-numeric: tabular-nums; }
.ct-phone:hover { color: var(--color-primary); }
.ct-phone .hphone__ico { width: 34px; height: 34px; }
.ct-label { margin: 14px 0 8px; color: var(--color-muted); font-size: .85rem; font-weight: 800; text-align: center; }
.dlg .msgs { justify-content: center; }
.ct-more { display: grid; gap: 10px; margin-top: 16px; justify-items: center; }
.ct-more > a:first-child { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; }
.msgcard { display: grid; gap: 12px; text-align: center; justify-items: center; }
.msgcard .msg { min-width: 60px; height: 60px; }
.msgcard .msg .ico { width: 30px; height: 30px; }
.msgcard__num { font-size: 1.35rem; font-weight: 800; color: var(--color-heading); font-variant-numeric: tabular-nums; user-select: all; }
.msgcard__btns { display: grid; gap: 8px; width: 100%; }
.msgcard__note { margin: 0; color: var(--color-muted); font-size: .88rem; }
.copied { color: var(--color-secondary) !important; }

.ftr__h--sm { margin: 0 0 10px; font-size: .86rem; color: #B4BFCD; }
.ftr__hours { display: flex; gap: 10px; color: #C9D2DE; }
.choices--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.choices--5 .choice__box { justify-content: center; padding: 12px 8px; text-align: center; }
.choices--5 .choice__tick { display: none; }
@media (max-width: 1023px) {
  .contacts, .office { grid-template-columns: minmax(0, 1fr); }
  .contacts__aside { grid-template-rows: none; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
  .contacts__form > .wz .choices--big .choice__box { min-height: 150px; }
}
@media (max-width: 400px) {
  .btn { max-width: 100%; white-space: normal; }
  .choices--5 { grid-template-columns: 1fr 1fr; }
  .mtile small { font-size: .66rem; }
}

/* ---------- Уменьшение движения ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .frame::after, .js .frame.is-onscreen::after { animation: none !important; opacity: .9; }
  .hphone .ico { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .card:not(.static):hover { transform: none; }
}

/* ---------- Печать ---------- */
@media print {
  .hdr, .mbar, .ftr__cta, .dlg, .mnav { display: none !important; }
  .frame::after { animation: none; }
  body { background: #fff; }
}

/* ==========================================================================
   Точечные правки 10.11.2026
   ========================================================================== */
:root { --color-ok: #2E9D6A; }

/* Адрес в две строки (CTA, подвал): номер дома не отрывается от «д.» и «стр.» */
.addr2 { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.addr2 > span { display: block; }
.cta__addr { color: var(--color-heading); line-height: 1.4; }
.cta__addr:hover { color: var(--color-primary); box-shadow: inset 0 0 0 1px var(--color-primary); }
.cta__hours { display: inline-flex; width: fit-content; max-width: 100%; align-items: center; gap: 12px; margin: 0; padding: 12px 18px; border-radius: 16px; background: rgba(34, 126, 120, .07); color: var(--color-heading); line-height: 1.4; }
.cta__hours .ico { color: var(--color-secondary); }
.cta__hours > span { display: flex; flex-direction: column; min-width: 0; }
.cta__hours b { font-weight: 800; }
.cta__hours small { color: var(--color-muted); font-size: .88rem; font-weight: 700; }
.ftr__hours small, .info__note { display: block; color: inherit; opacity: .8; font-size: .86em; font-weight: 600; }

/* Сравнение: название компании отдельной строкой на компьютере */
.sh__title .tl { display: inline; }
.sh__title .tl--brand { color: var(--color-primary); }
@media (min-width: 1024px) { .sh__title .tl { display: block; } }

/* География: настоящие ссылки на карту и звонок */
.chip--link { transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s, color .2s; }
.chip--link:focus-visible { outline: 3px solid rgba(var(--primary-rgb), .35); outline-offset: 3px; }
.chip__ext { width: 14px !important; height: 14px !important; opacity: .8; }
@media (hover: hover) {
  .chip--link:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
  .chip--red.chip--link:hover { color: #fff; background: var(--color-primary-hover); }
  .chip--call:hover { border-color: var(--color-primary); color: var(--color-primary); }
}

/* Блок доверия «Как не попасть на сайт-подделку» */
.trust { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "title title title" "ico body act"; align-items: center; gap: clamp(12px, 2vw, 22px) clamp(14px, 2.4vw, 28px); padding: clamp(20px, 2.6vw, 32px); }
.trust__ico { grid-area: ico; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(34, 126, 120, .1); color: var(--color-secondary); }
.trust__ico .ico { width: 28px; height: 28px; }
.trust__title { grid-area: title; margin: 0; color: var(--color-heading); font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2rem); text-align: center; }
.trust__body { grid-area: body; }
.trust__act { grid-area: act; }
.trust__body p { margin: 0; color: var(--color-muted); }
.trust__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 22px; margin: 14px 0 0; padding: 0; list-style: none; color: var(--color-heading); font-size: .93rem; font-weight: 700; }
.trust__list li { display: flex; align-items: flex-start; gap: 8px; line-height: 1.4; }
.trust__list .ico { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--color-secondary); }

/* Обратный звонок: способ связи */
.pills-set { min-width: 0; margin: 0 0 12px; padding: 0; border: 0; }
.pills-set legend { padding: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: var(--radius-pill); background: var(--color-surface); color: var(--color-heading); font-size: .92rem; font-weight: 800; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.pill input:checked + span { border-color: var(--color-primary); background: rgba(var(--primary-rgb), .07); color: var(--color-primary); }
.pill input:focus-visible + span { outline: 3px solid rgba(var(--primary-rgb), .35); outline-offset: 2px; }
.pills-hint { margin: 6px 0 0; color: var(--color-muted); font-size: .82rem; }

/* Карусель отзывов: 3 / 2 / 1 карточки, шаг — ровно одна карточка */
.rv { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(8px, 1.4vw, 18px); }
.rv__viewport { overflow-x: auto; overflow-y: hidden; padding: 6px 2px 12px; scroll-padding-inline: 2px; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; border-radius: var(--radius); }
.rv__viewport::-webkit-scrollbar { display: none; }
.rv__viewport:focus-visible { outline: 3px solid rgba(var(--primary-rgb), .35); outline-offset: 4px; }
.rv__track { --rv-gap: clamp(14px, 1.8vw, 22px); --rv-n: 3; display: flex; gap: var(--rv-gap); margin: 0; padding: 0; list-style: none; }
.rv__item { display: flex; flex: 0 0 calc((100% - (var(--rv-n) - 1) * var(--rv-gap)) / var(--rv-n)); min-width: 0; scroll-snap-align: start; }
.rvc { display: flex; flex-direction: column; gap: 12px; width: 100%; min-height: 290px; padding: 22px 22px 16px; border-radius: var(--radius); background: var(--color-surface); box-shadow: var(--shadow-sm), inset 0 0 0 var(--card-border-w) var(--card-border); }
.rvc__head { display: flex; align-items: center; gap: 12px; }
.rvc__ava { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: #EFE6D2; color: #8A8F99; }
.rvc__who { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.rvc__who b { color: var(--color-heading); }
.rvc__who small { color: var(--color-muted); font-size: .85rem; }
.rvc__stars { display: flex; gap: 2px; margin: 0; color: #E2A72E; }
.rvc__stars .is-off { color: #E3D9C4; }
.rvc__text { position: relative; max-height: calc(1.65em * 7); overflow: hidden; }
.rvc__text p { margin: 0 0 .6em; }
.rvc__text.is-clamped::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2.4em; background: linear-gradient(rgba(255, 253, 247, 0), var(--color-surface)); }
.rvc__more { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; min-height: 44px; margin-top: auto; padding: 0 2px; border: 0; background: none; color: var(--color-primary); font: inherit; font-weight: 800; cursor: pointer; }
.rvc__more:focus-visible { outline: 3px solid rgba(var(--primary-rgb), .35); outline-offset: 2px; border-radius: 8px; }
.rv__arrow { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 1.5px solid rgba(var(--primary-rgb), .35); border-radius: 50%; background: var(--color-surface); color: var(--color-primary); box-shadow: var(--shadow-sm); cursor: pointer; transition: transform .2s var(--ease), background-color .2s, color .2s, opacity .2s; }
.rv__arrow .ico { width: 22px; height: 22px; }
.rv__arrow:disabled { opacity: .35; box-shadow: none; cursor: default; }
.rv__arrow:focus-visible { outline: 3px solid rgba(var(--primary-rgb), .4); outline-offset: 3px; }
@media (hover: hover) { .rv__arrow:not(:disabled):hover { background: var(--color-primary); color: #fff; transform: scale(1.05); } }
.rv__status { margin: 8px 0 0; color: var(--color-muted); font-size: .9rem; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
html:not(.js) .rvc__text { max-height: none; }
html:not(.js) .rv__arrow { display: none; }
.rvd__text p { margin: 0 0 .8em; }

/* Контакты: компактная форма + место для фото, без искусственного растягивания */
.contacts { align-items: start; }
.contacts__main { display: flex; flex-direction: column; gap: clamp(16px, 2vw, 22px); min-width: 0; }
.contacts__form > .wz { flex: none; }
.contacts__form > .wz .wz__step.is-active { flex: none; }
.contacts__form > .wz .wz__step.is-active > .choices--big { flex: none; }
.contacts__form > .wz .choices--big .choice__box { min-height: 128px; padding: 16px 14px; }
.contacts__form > .wz .choices--big .choice__ico .ico { width: 48px; height: 48px; }
.contacts__form > .wz .wz__head { margin-bottom: 14px; }
.contacts__photo { overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.contacts__photo > .ph, .contacts__photo img { width: 100%; height: 100%; object-fit: cover; }
.contacts__aside { grid-template-rows: none; align-content: start; }
.ccard--grow { justify-content: flex-start; }

@media (max-width: 1023px) {
  .rv__track { --rv-n: 2; }
}
@media (max-width: 767px) {
  .trust { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "title title" "ico ico" "body body" "act act"; }
  .trust__ico { justify-self: center; }
  .trust__list { grid-template-columns: minmax(0, 1fr); }
  .trust__ico { width: 46px; height: 46px; }
  .trust__act .btn { width: 100%; }
}
@media (max-width: 640px) {
  .rv__track { --rv-n: 1; }
  .rv { grid-template-columns: 1fr 1fr; gap: 12px; }
  .rv__viewport { grid-column: 1 / -1; grid-row: 1; }
  .rv__arrow { width: 48px; height: 48px; grid-row: 2; }
  .rv__arrow--prev { justify-self: end; }
  .rv__arrow--next { justify-self: start; }
  .rvc { min-height: 0; }
  .contacts__form > .wz .choices--big .choice__box { min-height: 112px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .hero__badge i { animation: none !important; opacity: 1; }
  .rv__viewport { scroll-behavior: auto; }
  .chip--link, .rv__arrow { transition: none; }
}

/* Сенсорные экраны: эффекты наведения не «залипают» после касания */
@media (hover: none) {
  .card:not(.static):hover, .btn:hover, a.msg:hover, .faq__item:hover, .mtile:hover, .chip--link:hover,
  .choice:hover .choice__box, .svc:hover .svc__media img, .link-arrow:hover .ico { transform: none !important; }
  .card:not(.static):hover { box-shadow: var(--shadow-sm); }
}

/* Узкие телефоны (≤ 400 px): контакты в блоке «Остались вопросы?» помещаются без разрыва почты */
@media (max-width: 400px) {
  .cta { padding: 20px 14px; }
  .cta__phone, .cta__addr, .cta__hours { gap: 10px; padding: 11px 12px; }
  .cta__phone { overflow-wrap: normal; word-break: normal; }
}
@media (max-width: 340px) {
  .cta__phone { font-size: .94rem; }
}

/* ==========================================================================
   Точечные исправления (ТЗ 3): геометрия фото, «Консультация», сравнение, отзывы, контакты
   ========================================================================== */
/* Первый экран внутренних страниц без цепочки «Главная / …»: заголовок выше */
.phero { padding-top: clamp(18px, 2.6vw, 34px); }

/* Главная: фото — одна высокая колонка вровень с левым блоком (только при двух колонках) */
@media (min-width: 1024px) {
  .hero__grid { align-items: stretch; }
  .hero__media { display: flex; padding: 0 0 0 18px; }
  .hero__photo { flex: 1; aspect-ratio: auto; min-height: 440px; }
  .hero__media::before { inset: 0 40px 0 0; }
  /* Фото + текст: высота фото по соседней колонке, без пустоты под фото */
  .split, .shero__grid { align-items: stretch; }
  .split__media, .shero__media { aspect-ratio: auto; min-height: 340px; height: 100%; }
  .split__text, .shero__text { align-self: center; }
}
/* Настоящее фото заполняет контейнер любой высоты (обёртка <picture> тянется на весь блок), без искажений */
.hero__photo picture, .split__media picture, .shero__media picture, .contacts__photo picture, .svc__media picture { display: block; width: 100%; height: 100%; }
.hero__photo img, .split__media img, .shero__media img, .contacts__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }

/* «Консультация» на фото: мягко плавает только сама плашка (transform, без сдвига вёрстки) */
.js .hero__float--b { animation: float-y 5s ease-in-out infinite; will-change: transform; }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Сравнение: обе карточки одной высоты, списки занимают её целиком без огромных пустот */
.compare { align-items: stretch; }
.cmp { display: flex; flex-direction: column; }
.cmp h3 { margin-bottom: 18px; }
.cmp .checklist { flex: 1; display: flex; flex-direction: column; justify-content: flex-start; gap: 14px; margin: 0; }
.cmp .checklist li { margin: 0; }
/* Более короткий список стоит по центру высоты карточки; пункты «Ресурс заботы» — мягкие плитки,
   поэтому 4–5 пунктов справа по высоте соразмерны 7 пунктам слева без раздутых промежутков */
.cmp .checklist { justify-content: center; }
.cmp--good .checklist { gap: 10px; }
.cmp--bad .checklist { gap: 18px; }
.cmp--good .checklist li { padding: 13px 16px; border-radius: 14px; background: rgba(34, 126, 120, .07); }

/* Отзывы: нейтральные аватары, звёзды внизу карточки, ненавязчивая метка у демонстрационных карточек */
.rvc__ava { width: 52px; height: 52px; }
.rvc__ava .ico { width: 26px; height: 26px; }
.rvc__ava--person { background: #EFE6D2; color: #7C6A4B; }
.rvc__ava--flower { background: #FBE3E6; color: #B4515C; }
.rvc__ava--bunny  { background: #EDE7F6; color: #6E5A9A; }
.rvc__ava--bear   { background: #F3E3D3; color: #8A5A36; }
.rvc__ava--cat    { background: #E3F0EE; color: #227E78; }
.rvc__ava--bird   { background: #E3EEF8; color: #3E6C94; }
.rvc__ava--leaf   { background: #E6F2E3; color: #3D7A45; }
.rvc__ava--sun    { background: #FFF1CC; color: #A0700E; }
.rvc__ava--heart  { background: #FBE6E1; color: #B72E39; }
.rvc { min-height: 300px; }
.rvc__more { margin-top: auto; }
.rvc__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.rvc__more:not([hidden]) + .rvc__foot { margin-top: 0; }
.rvc__foot .rvc__stars { margin: 0; }
.rvc__tag { margin-left: auto; color: #A39C8E; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: lowercase; }

/* Контакты: низ левой колонки (форма + фото) вровень с правой на компьютере */
@media (min-width: 1024px) {
  .contacts { align-items: stretch; }
  .contacts__main { height: 100%; }
  .contacts__photo { flex: 1 1 auto; aspect-ratio: auto; min-height: 200px; }
}
/* Телефоны: трубка мягко «звенит» один раз при наведении и фокусе */

@media (prefers-reduced-motion: reduce) {
  .js .hero__float--b { animation: none !important; }
  .js .is-onscreen .ico--desk { animation: none !important; }
}

/* Ресурс заботы: мессенджеры на странице Контакты */
.contacts__messengers {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}

.contacts__messengers > li {
    list-style: none;
    min-width: 0;
}

.contacts__messengers .mtile {
    gap: 8px;
    padding: 14px 12px;
}

.contacts__messengers .mtile .msg {
    width: 56px;
    min-width: 56px;
    height: 56px;
}

.contacts__messengers .mtile .msg svg {
    width: 30px;
    height: 30px;
}

.contacts__messengers .mtile b {
    font-size: 20px;
    line-height: 1.2;
}

/* Компактные кнопки на телефонах */
@media (max-width: 767px) {
    .contacts__messengers {
        gap: 10px;
    }

    .contacts__messengers .mtile {
        flex-direction: row;
        justify-content: center;
        gap: 12px;
        padding: 8px 12px;
    }

    .contacts__messengers .mtile .msg {
        width: 38px;
        min-width: 38px;
        height: 38px;
    }

    .contacts__messengers .mtile .msg svg {
        width: 23px;
        height: 23px;
    }

    .contacts__messengers .mtile b {
        font-size: 16px;
    }
}

/* Выравнивание MAX только на мобильных устройствах */
@media (max-width: 767px) {
    .contacts__messengers > li:nth-child(3) .mtile .msg,
    .contacts__messengers > li:nth-child(3) .mtile b {
        position: relative;
        left: -18px;
    }
}


