:root {
  --bg: #f6f1ec; --bg2: #efe7df; --card: #fffdfb; --ink: #211b17; --ink2: #5d544c;
  --brown: #51443b; --brown-d: #3a2f28; --accent: #417d97; --accent-d: #2f6580; --accent-soft: #dfebf1; --line: #e4dacf;
  --serif: "Cormorant Garamond", Georgia, serif; --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 1px 2px rgba(58, 47, 40, .05), 0 14px 34px -14px rgba(58, 47, 40, .22);
  --shadow-lg: 0 2px 4px rgba(58, 47, 40, .06), 0 28px 60px -20px rgba(58, 47, 40, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { font: 400 16px/1.65 var(--sans); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 12px; }

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }
.container--narrow { width: min(800px, 100% - 48px); }
.center { text-align: center; }

/* ---------- типографика ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.012em; line-height: 1.04; }
h1 { font-size: clamp(40px, 5.5vw, 70px); }
h1 em, h2 em { font-style: italic; color: var(--accent-d); font-weight: 500; }
h2 { font-size: clamp(36px, 4.8vw, 58px); }
h3 { font-size: 27px; font-weight: 600; line-height: 1.15; letter-spacing: -.005em; }
.eyebrow { font: 700 12px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-d); margin-bottom: 14px; }
.lead { font-size: 18.5px; line-height: 1.65; color: var(--ink2); max-width: 560px; margin: 22px 0 30px; }
.note { font-size: 13px; opacity: .75; max-width: 680px; margin: 34px auto 26px; text-align: center; }
.head { margin-bottom: 52px; }
.head h2 { max-width: 760px; }

/* заглушки, которые нужно заменить */
mark.todo { background: rgba(255, 196, 0, .3); color: inherit; padding: 1px 5px; border-radius: 5px; outline: 1px dashed rgba(200, 140, 0, .6); }

/* ---------- иконки и кнопки ---------- */
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-align: center; cursor: pointer; text-decoration: none;
  font: 600 15px/1 var(--sans); padding: 17px 28px; border-radius: 999px; border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ic:last-child:not(:first-child) { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--brown); color: #f6f1ec; box-shadow: 0 10px 24px -10px rgba(81, 68, 59, .8); }
.btn--primary:hover { background: var(--brown-d); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(81, 68, 59, .9); }
.btn--soft { background: var(--accent-soft); color: var(--accent-d); }
.btn--soft:hover { background: #cfe1ea; transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--brown); border-color: rgba(81, 68, 59, .35); }
.btn--ghost:hover { background: var(--brown); color: #f6f1ec; border-color: var(--brown); }
.btn--light { background: #f6f1ec; color: var(--ink); }
.btn--light:hover { background: #fff; transform: translateY(-2px); }
.btn--sm { padding: 12px 20px; font-size: 13.5px; }
.btn--block { width: 100%; }

/* ---------- шапка ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(246, 241, 236, .72); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.header.is-stuck { border-color: var(--line); background: rgba(246, 241, 236, .9); }
.header__inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.logo { font: 600 27px/1 var(--serif); letter-spacing: -.01em; text-decoration: none; display: flex; flex-direction: column; gap: 5px; white-space: nowrap; }
.logo span { font: 500 10.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-d); }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { font: 500 14.5px/1 var(--sans); color: var(--ink2); text-decoration: none; padding: 8px 0; position: relative; white-space: nowrap; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.burger { display: none; width: 46px; height: 46px; background: var(--card); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; position: relative; }
.burger i { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--ink); transition: transform .3s; }
.burger i:first-child { top: 20px; } .burger i:last-child { top: 26px; }
.burger[aria-expanded="true"] i:first-child { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ---------- фото-заглушки ---------- */
.photo { position: relative; overflow: hidden; background: linear-gradient(150deg, #e3d7cb 0%, #c9b8a7 100%); display: flex; align-items: center; justify-content: center; }
.photo::before { content: attr(data-caption); position: absolute; padding: 20px; text-align: center; font: 500 12px/1.5 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: rgba(33, 27, 23, .5); }
.photo img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.arch { aspect-ratio: 4 / 5; border-radius: 999px 999px 32px 32px; box-shadow: var(--shadow-lg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 52px 0 128px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%); mask-image: linear-gradient(to bottom, #000 62%, transparent 100%); }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); }
.blob--a { width: 560px; height: 560px; right: -120px; top: -140px; background: #cfe3ec; opacity: .8; }
.blob--b { width: 460px; height: 460px; left: -160px; bottom: -160px; background: #f2dcc8; opacity: .8; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 72px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; background: rgba(255, 255, 255, .75); border: 1px solid var(--line); border-radius: 999px; font: 600 12.5px/1.2 var(--sans); letter-spacing: .03em; color: var(--ink2); margin-bottom: 26px; backdrop-filter: blur(6px); }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(65, 125, 151, .5); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(65, 125, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(65, 125, 151, 0); } }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { margin-top: 42px; display: grid; gap: 14px; }
.hero__facts li { display: flex; gap: 14px; align-items: flex-start; font-size: 14.5px; color: var(--ink2); line-height: 1.5; }
.hero__facts .ic { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-d); margin-top: 1px; stroke-width: 2; }
.hero__facts b { color: var(--ink); font-weight: 700; }
.hero__visual { position: relative; max-width: 460px; justify-self: center; width: 100%; }
.hero__visual::before { content: ""; position: absolute; inset: 0; border-radius: 999px 999px 32px 32px; border: 1.5px solid rgba(65, 125, 151, .4); transform: translate(18px, 18px); z-index: 0; }
.hero__visual .arch { position: relative; z-index: 1; }
.float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; background: rgba(255, 253, 251, .88); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .7); border-radius: 18px; box-shadow: var(--shadow); animation: bob 6s ease-in-out infinite; }
.float b { display: block; font: 700 14px/1.2 var(--sans); }
.float small { font-size: 12px; color: var(--ink2); }
.float__ic { width: 42px; height: 42px; border-radius: 14px; background: var(--brown); color: #f6f1ec; display: grid; place-items: center; }
.float__ic .ic { width: 20px; height: 20px; }
.float--a { left: -44px; bottom: 96px; }
.float--b { right: -30px; top: 70px; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- цифры ---------- */
.stats-wrap { position: relative; z-index: 3; margin-top: -60px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--card); border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow-lg); padding: 30px 8px; }
.stats > div { text-align: center; padding: 6px 16px; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; }
.stats b { display: block; font: 500 clamp(34px, 4vw, 50px)/1 var(--serif); margin-bottom: 8px; letter-spacing: -.01em; }
.stats span { font-size: 13px; color: var(--ink2); }

/* ---------- секции ---------- */
.section { padding: 112px 0; }
.section--tint { background: var(--bg2); }
.section--island { padding: 40px 0; }

/* карточки */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 34px 32px 36px; box-shadow: 0 1px 2px rgba(58, 47, 40, .03); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #d6c8b9; }
.card__ic { width: 56px; height: 56px; border-radius: 18px; background: var(--accent-soft); color: var(--accent-d); display: grid; place-items: center; margin-bottom: 26px; transition: background .3s, color .3s; }
.card:hover .card__ic { background: var(--accent); color: #fff; }
.card__ic .ic { width: 28px; height: 28px; }
.card h3 { margin-bottom: 12px; }
.card p { font-size: 15px; color: var(--ink2); line-height: 1.65; }
.cta-line { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 44px; padding: 30px 36px; background: var(--card); border: 1px solid var(--line); border-radius: 26px; }
.cta-line p { font: 500 clamp(24px, 3vw, 32px)/1.15 var(--serif); flex: 1 1 380px; }

/* тёмный остров с прайсом */
.island { position: relative; overflow: hidden; background: linear-gradient(160deg, #5b4d43 0%, #3a2f28 100%); color: #f6f1ec; border-radius: 44px; padding: 84px 68px; }
.island::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(65, 125, 151, .38), transparent 70%); pointer-events: none; }
.island > * { position: relative; }
.head--light .eyebrow { color: #a9c9d8; }
.head--light h2 { color: #fff; }
.price-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.pg { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .11); border-radius: 26px; padding: 6px 30px 14px; transition: background .3s; }
.pg:hover { background: rgba(255, 255, 255, .09); }
.pg summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 22px 0 16px; }
.pg summary::-webkit-details-marker { display: none; }
.pg h3 { color: #fff; font-size: 27px; }
.chev { width: 22px; height: 22px; transition: transform .3s var(--ease); opacity: .7; }
details[open] > summary .chev { transform: rotate(180deg); }
.price li { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; font-size: 15px; border-top: 1px solid rgba(255, 255, 255, .08); }
.price li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(246, 241, 236, .45); flex: none; }
.price span { color: rgba(246, 241, 236, .88); }
.island .note { color: rgba(246, 241, 236, .75); opacity: 1; }

/* о враче */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 88px; align-items: center; }
.about__visual { position: relative; max-width: 440px; width: 100%; justify-self: center; }
.about__visual::before { content: ""; position: absolute; inset: 0; border-radius: 999px 999px 32px 32px; background: var(--accent-soft); transform: translate(-18px, 18px); }
.about__visual .arch { position: relative; }
.about__text > p:not(.eyebrow):not(.lead) { margin-bottom: 20px; color: var(--ink2); }
.ticks { margin: 26px 0 34px; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; color: var(--ink2); }
.ticks .ic { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-d); stroke-width: 2; margin-top: -1px; }
.ticks a { color: var(--accent-d); text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* шаги */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 30px 28px 34px; overflow: hidden; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 54px; right: -20px; width: 20px; border-top: 2px dashed #cdbfb1; z-index: 2; }
.step__ic { width: 52px; height: 52px; border-radius: 50%; background: var(--brown); color: #f6f1ec; display: grid; place-items: center; margin-bottom: 26px; }
.step__ic .ic { width: 24px; height: 24px; }
.steps em { position: absolute; top: 12px; right: 22px; font: italic 500 64px/1 var(--serif); color: #ece2d7; }
.steps h3 { margin-bottom: 10px; }
.steps p { font-size: 14.5px; color: var(--ink2); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 22px; transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: #d6c8b9; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 28px; font: 600 17px/1.35 var(--sans); }
.faq summary::-webkit-details-marker { display: none; }
.faq .chev { color: var(--accent-d); opacity: 1; }
.faq details p { padding: 0 28px 26px; color: var(--ink2); max-width: 680px; }

/* запись */
.island--booking { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 72px 68px; }
.island--booking h2 { color: #fff; }
.island--booking .eyebrow { color: #a9c9d8; }
.island--booking .lead { color: rgba(246, 241, 236, .82); }
.booking__points { display: grid; gap: 12px; margin-bottom: 34px; }
.booking__points li { display: flex; gap: 12px; align-items: center; font-size: 15px; color: rgba(246, 241, 236, .9); }
.booking__points .ic { width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: rgba(255, 255, 255, .14); stroke-width: 2.2; }
.form { display: grid; gap: 16px; padding: 34px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 30px; backdrop-filter: blur(8px); }
.form label { display: grid; gap: 8px; font: 700 12px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: rgba(246, 241, 236, .85); }
.form input:not([type="checkbox"]), .form select { font: 500 16px var(--sans); padding: 15px 18px; color: #fff; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .22); border-radius: 16px; outline: none; transition: border-color .2s, background .2s; width: 100%; text-transform: none; letter-spacing: 0; }
.form select option { color: var(--ink); }
.form input::placeholder { color: rgba(246, 241, 236, .5); }
.form input:focus, .form select:focus { border-color: #fff; background: rgba(255, 255, 255, .14); }
.form .check { display: flex; gap: 12px; align-items: flex-start; font: 400 12.5px/1.5 var(--sans); letter-spacing: 0; text-transform: none; cursor: pointer; }
.form .check input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: #f6f1ec; cursor: pointer; }
.form .check a { text-decoration: underline; }
.form__note { font-size: 12px; opacity: .7; }
.form__error { font-size: 13px; color: #ffd2a8; }
.form__ok { font-size: 13px; color: #cfe6d2; }

/* контакты */
.contacts { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: stretch; }
.contacts h2 { margin-bottom: 30px; }
.contacts__list { display: grid; gap: 10px; margin-bottom: 34px; }
.contacts__list > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.contacts__list dt { display: flex; align-items: center; gap: 12px; font: 600 13px var(--sans); color: var(--ink2); white-space: nowrap; }
.contacts__list dt .ic { width: 20px; height: 20px; color: var(--accent-d); }
.contacts__list dd { font-weight: 500; text-align: right; }
.contacts__list a { text-decoration: none; color: var(--accent-d); font-weight: 600; }
.contacts__list a:hover { text-decoration: underline; }
.map { min-height: 400px; border-radius: 32px; box-shadow: var(--shadow); }
.map iframe { position: relative; z-index: 1; width: 100%; height: 100%; border: 0; }

/* предупреждение и футер */
.warning { background: var(--ink); color: #f6f1ec; text-align: center; font: 700 clamp(13px, 2vw, 20px)/1.3 var(--sans); letter-spacing: .1em; padding: 26px 20px; }
.footer { background: #17120f; color: rgba(246, 241, 236, .7); font-size: 12.5px; padding: 40px 0 92px; }
.footer a { text-decoration: underline; text-underline-offset: 3px; }
.footer__requisites { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid rgba(246, 241, 236, .14); display: grid; gap: 8px; }
.footer__inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__meta { margin-top: 18px; font-size: 11.5px; opacity: .7; max-width: 820px; }

/* cookie-уведомление */
.cookie { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 60; max-width: 760px; margin-inline: auto; display: flex; gap: 20px; align-items: center; background: var(--ink); color: #f6f1ec; padding: 18px 22px; font-size: 13px; line-height: 1.5; border-radius: 22px; box-shadow: var(--shadow-lg); }
.cookie[hidden] { display: none; }
.cookie a { text-decoration: underline; }
.cookie__btns { display: flex; gap: 8px; flex: none; }
.cookie .btn--dark { background: #f6f1ec; color: var(--ink); }
.cookie .btn--ghost { color: #f6f1ec; border-color: rgba(246, 241, 236, .4); }
.cookie .btn--ghost:hover { background: #f6f1ec; color: var(--ink); }

/* мобильная панель */
.dock { display: none; }

/* появление */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; } .float, .pill i { animation: none; } .btn, .card { transition: none; }
}

/* юридические страницы */
.legal-page .section { padding: 64px 0 96px; }
.legal h1 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 8px; }
.legal h2 { font-size: 30px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink2); margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 12px; }
.legal a { color: var(--accent-d); text-decoration: underline; }
.legal__date { font-size: 13px; opacity: .7; }

/* ---------- адаптив ---------- */
@media (max-width: 1080px) {
  .nav { gap: 22px; }
  .header__inner { gap: 20px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:not(:last-child)::after { display: none; }
  .float--a { left: -16px; } .float--b { right: -8px; }
}
@media (max-width: 960px) {
  .nav { position: fixed; top: 76px; left: 12px; right: 12px; flex-direction: column; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 8px 22px 16px; box-shadow: var(--shadow-lg); transform: translateY(-16px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); margin: 0; }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 16px 0; font-size: 17px; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav a:last-child { border-bottom: 0; } .nav a::after { display: none; }
  .burger { display: block; margin-left: auto; }
  .header__cta { display: none; }
  .hero { padding: 28px 0 110px; }
  .hero__inner, .about, .island--booking, .contacts { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { max-width: 380px; }
  .about__visual { max-width: 360px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .price-groups { grid-template-columns: 1fr; }
  .island { padding: 56px 28px; border-radius: 34px; }
  .island--booking { padding: 48px 26px; }
  .stats { grid-template-columns: 1fr 1fr; padding: 14px 8px; }
  .stats > div { padding: 20px 12px; }
  .stats > div:nth-child(3) { border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .container, .container--narrow { width: calc(100% - 32px); }
  .section { padding: 72px 0; } .section--island { padding: 20px 0; }
  .head { margin-bottom: 34px; }
  .header__inner { height: 68px; } .nav { top: 68px; }
  .logo { font-size: 22px; } .logo span { font-size: 9px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .card { padding: 28px 24px; }
  .hero__actions .btn { width: 100%; }
  .float { padding: 9px 14px 9px 9px; } .float b { font-size: 13px; } .float--a { left: -6px; bottom: 60px; } .float--b { right: -4px; top: 34px; }
  .cta-line { padding: 24px; } .cta-line .btn { width: 100%; }
  .form { padding: 24px 20px; }
  .contacts__list > div { flex-direction: column; align-items: flex-start; gap: 4px; } .contacts__list dd { text-align: left; }
  .footer__inner { flex-direction: column; }
  .cookie { flex-direction: column; align-items: stretch; bottom: 84px; left: 12px; right: 12px; } .cookie__btns .btn { flex: 1; }
  .dock { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 40; padding: 8px; background: rgba(246, 241, 236, .88); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-lg); transition: transform .3s var(--ease), opacity .3s; }
  .dock.is-hidden { transform: translateY(140%); opacity: 0; }
  .dock .btn { padding: 14px 10px; font-size: 14px; }
}

/* мобильные улучшения сайта */
html, body { overflow-x: clip; }
button, a, summary, label { touch-action: manipulation; }
* { -webkit-tap-highlight-color: transparent; }
@media (max-width: 640px) {
  .footer a, .contacts__list a { display: inline-block; padding: 8px 2px; }
  .form .check a, .ticks a { padding: 6px 0; display: inline-block; }
  .dock { bottom: calc(10px + env(safe-area-inset-bottom)); }
  .cookie { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .legal a { padding: 4px 0; }
}
