/* ===== Шрифты (локально, без передачи IP посетителей сторонним сервисам) ===== */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/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: 400 800;
  font-display: swap;
  src: url("/assets/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+2000-206F, U+20AC, U+20BD, U+2122, U+2190-2199, U+2212, U+2215, U+2605;
}
@font-face {
  font-family: "Tenor Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/tenor-sans-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Tenor Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/tenor-sans-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2190-2199, U+2212, U+2215;
}

:root {
  color-scheme: light;
  --bg: #f7f1e7;
  --surface: #fffaf3;
  --surface-strong: #ffffff;
  --ink: #3b2b25;
  --muted: #6e5e55;
  --line: #eadfd0;
  --gold: #d6b15f;
  --gold-dark: #8a6528;
  --sage: #6f7b68;
  --dark: #35241e;
  --shadow: 0 18px 50px rgba(59, 43, 37, 0.12);
  --shadow-soft: 0 10px 30px rgba(59, 43, 37, 0.08);
  --radius: 8px;
  --wrap: 1180px;
  --header-h: 66px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Manrope, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 250, 243, 0.82), rgba(247, 241, 231, 0.96)), var(--bg);
  overflow-x: clip;
}

img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
blockquote { margin: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid rgba(138, 101, 40, 0.55); outline-offset: 3px; }

.skip-link {
  position: fixed; left: 16px; top: 8px; z-index: 100;
  transform: translateY(calc(-100% - 16px));
  padding: 10px 14px; border-radius: 999px;
  color: var(--surface); background: var(--dark);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.wrap { width: min(calc(100% - 48px), var(--wrap)); margin: 0 auto; }
.section-pad { padding: 86px 0; }
.compact-top { padding-top: 22px; }

.soft-band {
  background: linear-gradient(180deg, rgba(232, 238, 230, 0.26), rgba(255, 250, 243, 0)), rgba(255, 250, 243, 0.35);
  border-top: 1px solid rgba(234, 223, 208, 0.65);
  border-bottom: 1px solid rgba(234, 223, 208, 0.65);
}

/* ===== Шапка ===== */
.site-header {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: var(--header-h);
  padding: 9px max(24px, calc((100% - var(--wrap)) / 2));
  background: rgba(255, 250, 243, 0.92);
  border-bottom: 1px solid rgba(234, 223, 208, 0.8);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand img {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
  object-fit: cover; background: var(--surface); border: 1px solid var(--line);
}
.brand > span { min-width: 0; }
.brand strong, .brand small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand strong { font-weight: 800; line-height: 1.15; }
.brand small { margin-top: 1px; color: var(--muted); font-size: 12px; }

.main-nav { display: flex; align-items: center; gap: clamp(12px, 1.3vw, 20px); color: #57433a; font-size: 13px; font-weight: 700; }
.main-nav a { padding: 14px 0; }
.main-nav a:hover { color: var(--gold-dark); }

.header-actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.header-phone { font-weight: 800; font-size: 14px; white-space: nowrap; }
.header-phone:hover { color: var(--gold-dark); }

.header-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 20px; border-radius: 999px;
  color: var(--surface); background: var(--dark); box-shadow: var(--shadow-soft); font-weight: 800; white-space: nowrap;
}

.menu-button {
  display: none; place-items: center; flex: 0 0 48px; width: 48px; height: 48px;
  border: 1px solid var(--dark); border-radius: 999px;
  color: var(--surface); background: var(--dark); cursor: pointer;
}
.menu-button svg { width: 22px; margin: auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.mobile-nav {
  position: fixed; left: 16px; right: 16px; top: calc(var(--header-h) + 10px); z-index: 35;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
  max-height: calc(100dvh - var(--header-h) - 100px); overflow-y: auto;
  padding: 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(255, 250, 243, 0.98); box-shadow: var(--shadow);
}
.mobile-nav a {
  display: flex; align-items: center; min-height: 44px; padding: 10px 14px; border-radius: 999px;
  background: var(--surface-strong); border: 1px solid rgba(234, 223, 208, 0.9); font-weight: 700;
}
.mobile-nav .mobile-nav-phone { grid-column: 1 / -1; justify-content: center; color: var(--surface); background: var(--dark); border-color: var(--dark); }

/* ===== Первый экран ===== */
.hero { padding-top: 80px; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 60px; align-items: center;
}

.eyebrow, .section-label {
  display: inline-flex; align-items: center; gap: 8px; width: max-content; max-width: 100%;
  margin: 0 0 22px; padding: 8px 14px;
  border: 1px solid rgba(214, 177, 95, 0.45); border-radius: 999px;
  color: var(--gold-dark); background: rgba(255, 250, 243, 0.72);
  font-size: 12px; font-weight: 800; line-height: 1.2; text-transform: uppercase; letter-spacing: 0.02em;
}
.eyebrow { text-transform: none; font-size: 14px; letter-spacing: 0; }
.eyebrow span, .section-label::before {
  content: ""; width: 8px; height: 8px; flex: 0 0 8px; border-radius: 999px;
  background: var(--gold); box-shadow: 0 0 0 4px rgba(214, 177, 95, 0.16);
}
.section-label.dark { color: #f5e6bf; background: rgba(255, 255, 255, 0.08); border-color: rgba(246, 226, 175, 0.22); }

h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Tenor Sans", Manrope, Arial, sans-serif; font-weight: 400; line-height: 1.06; overflow-wrap: break-word; hyphens: manual; }
h1 { max-width: 690px; margin-bottom: 22px; font-size: clamp(34px, 5vw, 62px); }
h2 { margin-bottom: 18px; font-size: clamp(28px, 3.4vw, 42px); }
h3 { margin-bottom: 10px; font-size: 20px; line-height: 1.25; }

.hero-lead { max-width: 640px; color: var(--muted); font-size: 18px; }
.hero-note { margin: 14px 0 0; color: var(--muted); font-size: 14px; }

.pill-list, .trust-list, .split-list ul, .master-points, .safety-media ul, .contact-facts { list-style: none; padding: 0; margin: 0; }

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 28px; }
.pill-list li, .safety-media li {
  position: relative; padding: 8px 14px 8px 34px;
  border: 1px solid rgba(234, 223, 208, 0.78); border-radius: 999px;
  background: rgba(255, 255, 255, 0.68); color: #5f4f47; font-size: 14px; font-weight: 700;
}
.pill-list li::before, .safety-media li::before, .split-list li::before, .master-points li::before {
  content: ""; position: absolute; left: 14px; top: 50%; width: 9px; height: 5px;
  border-left: 2px solid var(--gold-dark); border-bottom: 2px solid var(--gold-dark);
  transform: translateY(-60%) rotate(-45deg);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.button, .text-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 800; cursor: pointer; text-align: center;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.button:hover, .text-link:hover { transform: translateY(-2px); }
.button-primary { color: var(--surface); background: var(--dark); box-shadow: var(--shadow-soft); }
.button-primary:hover { background: #4a3229; }
.button-light { color: var(--ink); background: rgba(255, 255, 255, 0.85); border-color: var(--line); }
.button-gold { color: var(--dark); background: var(--gold); }
.button-muted { color: var(--dark); background: #eee6dd; }
.button.small { min-height: 44px; padding: 0 18px; font-size: 14px; }
.text-link { padding: 0 18px; min-height: 44px; color: var(--ink); background: rgba(255, 255, 255, 0.72); border-color: var(--line); font-size: 14px; }

.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 30px 0 0; }
.hero-stats div { padding: 16px 18px; border: 1px solid rgba(234, 223, 208, 0.72); border-radius: var(--radius); background: rgba(255, 255, 255, 0.58); }
.hero-stats dt { font-size: 21px; font-weight: 800; line-height: 1.2; }
.hero-stats dd { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.4; }
.hero-stats dd a { text-decoration: underline; text-underline-offset: 3px; }
.hero-stats small { display: block; margin-top: 2px; font-size: 11px; opacity: 0.8; }

.hero-visual { position: relative; align-self: stretch; min-height: 560px; }
.hero-visual img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow);
}
.visual-badge {
  position: absolute; max-width: 320px; padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.76); border-radius: var(--radius);
  background: rgba(255, 250, 243, 0.9); box-shadow: var(--shadow-soft);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.visual-badge.top { top: 24px; left: 24px; }
.visual-badge.rating { right: 24px; bottom: 24px; }
.visual-badge strong { display: block; margin-bottom: 4px; color: var(--gold-dark); }
.visual-badge span { color: var(--muted); font-size: 14px; }

/* ===== Заголовки секций ===== */
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 40px; align-items: end; margin-bottom: 34px; }
.section-head .section-label, .section-head h2, .section-head p { grid-column: 1; }
.section-head h2 { max-width: 780px; margin-bottom: 0; }
.section-head p { max-width: 680px; margin-bottom: 0; color: var(--muted); }
.section-head .button, .section-head .text-link { grid-column: 2; grid-row: 2 / span 2; }

/* ===== Карточки ===== */
.audience-grid, .reviews-grid, .care-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.reviews-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.info-card, .review-card, .service-card, .price-table {
  border: 1px solid rgba(234, 223, 208, 0.86); border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}
.info-card { padding: 24px; }
.info-card p, .service-card p, .review-card blockquote { color: var(--muted); }
.info-card p:last-child { margin-bottom: 0; }

.card-icon {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 24px;
  border-radius: 999px; color: var(--gold-dark); background: #f2e6d2;
}
.card-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card { display: flex; flex-direction: column; overflow: hidden; }
.service-card.wide { grid-column: span 2; }
.service-card img { width: 100%; height: 250px; object-fit: cover; }
.service-card.wide img { height: 320px; }
.service-body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.service-body > a { margin-top: auto; }
.service-price { color: var(--ink) !important; font-size: 14px; }
.service-price strong { font-size: 19px; }

.tag {
  align-self: flex-start; display: inline-flex; margin-bottom: 14px; padding: 5px 10px; border-radius: 999px;
  color: var(--gold-dark); background: #f1e3cc; font-size: 12px; font-weight: 800;
}
.service-body a { display: inline-flex; gap: 6px; padding: 6px 0; color: var(--gold-dark); font-size: 15px; font-weight: 800; }

/* ===== Безопасность ===== */
.safety-panel {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr); gap: 48px; padding: 48px;
  border-radius: var(--radius); color: #fdf4ea;
  background: linear-gradient(135deg, rgba(53, 36, 30, 0.97), rgba(66, 44, 36, 0.97)), var(--dark);
  box-shadow: var(--shadow);
}
.safety-copy > p:not(.section-label) { color: #e3d6cc; }

.compare { margin: 24px 0 28px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); overflow: hidden; font-size: 14px; }
.compare > div { display: grid; grid-template-columns: 1fr 1.1fr 1.1fr; }
.compare > div + div { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.compare span { padding: 12px 14px; }
.compare [role="rowheader"] { color: #cdbdb1; font-weight: 700; }
.compare [role="cell"]:nth-child(2) { color: #fff; background: rgba(214, 177, 95, 0.12); font-weight: 700; }
.compare [role="cell"]:nth-child(3) { color: #cdbdb1; }
.compare-head span { color: #f5e6bf; font-weight: 800; background: rgba(255, 255, 255, 0.05); }

.safety-media { display: grid; gap: 16px; align-content: start; }
.safety-media img { width: 100%; height: 280px; object-fit: cover; border-radius: var(--radius); }
.safety-media ul { display: grid; gap: 10px; }
.safety-media li { border-radius: var(--radius); border-color: rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.08); color: #f3e3d8; }
.safety-media li::before { border-color: var(--gold); }

/* ===== Процесс ===== */
.process-rail { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 0; list-style: none; counter-reset: process; }
.process-rail li { padding: 22px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, 0.74); counter-increment: process; }
.process-rail li::before {
  content: counter(process); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 16px;
  border-radius: 999px; color: var(--surface); background: var(--sage); font-weight: 800;
}
.process-rail strong, .process-rail span { display: block; }
.process-rail span { margin-top: 8px; color: var(--muted); font-size: 14px; }

/* ===== Родителям / мастер / контакты ===== */
.parents-grid, .master-grid, .contacts-grid, .gift { display: grid; grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr); gap: 54px; align-items: center; }
.parents-grid { border: 1px solid rgba(234, 223, 208, 0.86); border-radius: var(--radius); padding: 28px; background: rgba(255, 255, 255, 0.75); }
.parents-grid > img, .gift > img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius); }
.parents-grid > div > p:not(.section-label) { color: var(--muted); }

.split-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 22px 0; }
.split-list li, .master-points li { position: relative; margin-bottom: 10px; padding-left: 24px; color: var(--muted); }
.split-list li::before, .master-points li::before { left: 0; }

.prep { margin: 0 0 24px; padding: 18px; border-radius: var(--radius); background: rgba(232, 238, 230, 0.65); }
.prep h3 { font-size: 17px; margin-bottom: 6px; }
.prep p { margin: 0; color: var(--muted); font-size: 15px; }

.master-grid { grid-template-columns: minmax(0, 1fr) 420px; }
.master-copy > p:not(.section-label), .faq-copy p:not(.section-label), .gift p:not(.section-label) { color: var(--muted); }

.quote { margin: 26px 0; padding: 22px; border-left: 4px solid var(--gold); border-radius: var(--radius); background: rgba(232, 238, 230, 0.65); font-weight: 700; }

.master-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 18px; margin-bottom: 26px; }
.master-photo { position: relative; margin: 0; }
.master-photo img { width: 100%; aspect-ratio: 800 / 1156; object-fit: cover; object-position: center top; border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.master-photo figcaption {
  position: absolute; left: 18px; right: 18px; bottom: 18px; padding: 16px; border-radius: var(--radius);
  background: rgba(255, 250, 243, 0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.master-photo strong, .master-photo span { display: block; }
.master-photo span { margin-top: 4px; color: var(--muted); font-size: 14px; }

/* ===== Отзывы ===== */
.review-card { margin: 0; padding: 22px; display: flex; flex-direction: column; }
.review-card blockquote { flex: 1; }
.stars { margin-bottom: 10px; color: var(--gold-dark); font-weight: 800; letter-spacing: 2px; }
.review-card figcaption { margin-top: 18px; }
.review-card figcaption strong, .review-card figcaption span { display: block; }
.review-card figcaption span { color: var(--muted); font-size: 13px; }

/* ===== Цены ===== */
.price-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.price-table { padding: 26px; }
.price-table h3 { margin-bottom: 14px; }
.price-table dl { margin: 0; }
.price-table dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-top: 1px dashed var(--line); }
.price-table dt { font-weight: 700; }
.price-table dt small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; }
.price-table dd { margin: 0; font-weight: 800; font-size: 18px; white-space: nowrap; }

.fine-print { margin: 18px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

/* ===== Подарок ===== */
.gift > img { height: 360px; }

/* ===== Вопросы ===== */
.faq-grid { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 58px; align-items: start; }
.faq-copy { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, 0.8); overflow: hidden; }
.faq-item summary { position: relative; padding: 16px 56px 16px 18px; cursor: pointer; font-weight: 800; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 999px; color: var(--gold-dark); background: #f2e6d2; transform: translateY(-50%);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0; padding: 0 18px 18px; color: var(--muted); }

/* ===== Контакты ===== */
.contacts-section { padding-bottom: 42px; }
.contacts-grid {
  align-items: stretch; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(232, 238, 230, 0.52)), var(--surface);
}
.contact-facts { display: grid; gap: 10px; margin: 6px 0 24px; }
.contact-facts li { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.contact-facts span { color: var(--muted); font-size: 14px; }
.contact-facts a { text-decoration: underline; text-underline-offset: 3px; }

.chooser-title { margin: 0 0 10px; font-weight: 800; }
.chooser { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 12px; }
.chooser button {
  min-height: 46px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); background: var(--surface-strong); cursor: pointer; font-weight: 700; font-size: 14px; text-align: left;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.chooser button:hover, .chooser button[aria-pressed="true"] { border-color: rgba(138, 101, 40, 0.5); background: #f2e6d2; }
.choice-result { min-height: 64px; margin: 0 0 20px; padding: 14px 16px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.75); border: 1px dashed rgba(138, 101, 40, 0.38); color: var(--muted); }

.contact-card { margin: 0; padding: 16px; border-radius: var(--radius); background: var(--surface-strong); border: 1px solid var(--line); display: flex; flex-direction: column; }
.map-box { position: relative; min-height: 320px; flex: 1; border-radius: var(--radius); overflow: hidden; background: #efe7dc; }
.map-box img, .map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.map-button { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); box-shadow: var(--shadow-soft); }
.map-button:hover { transform: translateX(-50%) translateY(-2px); }
.contact-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 16px 0 0; }
.contact-links a { display: flex; align-items: center; min-height: 46px; padding: 10px 14px; border-radius: var(--radius); background: #f4eee5; font-weight: 800; }
.contact-links a:hover { background: #ede2d3; }

/* ===== Подвал ===== */
.site-footer { padding: 32px 0 110px; color: var(--muted); border-top: 1px solid var(--line); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 8px 32px; }
.footer-grid p { margin: 0 0 6px; }
.footer-grid strong { color: var(--ink); }
.footer-grid a:hover, .link-button:hover { color: var(--gold-dark); }
.footer-links { display: grid; gap: 6px; justify-items: end; text-align: right; }
.footer-note { grid-column: 1 / -1; }
.requisites { color: var(--ink); }
.link-button { padding: 0; border: 0; background: none; color: inherit; cursor: pointer; text-align: right; }

/* ===== Липкая панель на телефоне ===== */
.mobile-sticky {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 45;
  display: none; gap: 8px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.mobile-sticky.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
.mobile-sticky a {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px;
  border-radius: 999px; box-shadow: var(--shadow); font-weight: 800;
}
.sticky-call { flex: 0 0 54px; color: var(--dark); background: var(--gold); }
.sticky-call svg { width: 22px; height: 22px; fill: currentColor; }
.sticky-book { flex: 1; color: var(--surface); background: var(--dark); }

/* ===== Cookie ===== */
.cookie-banner {
  position: fixed; left: 16px; bottom: 16px; z-index: 60; max-width: 460px;
  padding: 18px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface-strong); box-shadow: var(--shadow); font-size: 14px;
}
.cookie-banner p { margin: 0 0 12px; color: var(--muted); }
.cookie-banner a { text-decoration: underline; color: var(--ink); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ===== Анимация появления (только если работает JS) ===== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* ===== Адаптив ===== */
@media (max-width: 1240px) {
  .main-nav { display: none; }
  .menu-button { display: inline-grid; }
}

@media (max-width: 1100px) {
  .hero-grid, .safety-panel, .parents-grid, .master-grid, .faq-grid, .contacts-grid, .gift { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .hero-visual { min-height: 480px; }
  .audience-grid, .care-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .master-photo { max-width: 520px; }
  .faq-copy { position: static; }
  .gift > img { height: 320px; }
}

@media (max-width: 820px) {
  :root { --header-h: 64px; }
  .wrap { width: min(calc(100% - 32px), var(--wrap)); }
  .section-pad { padding: 60px 0; }
  .site-header { padding: 8px 16px; gap: 10px; }
  .header-actions { display: none; }
  .brand strong { font-size: 15px; }
  .brand small { font-size: 11px; }

  .hero { padding-top: 32px; }
  .hero-grid { gap: 30px; }
  .hero-lead { font-size: 16px; }
  .pill-list { gap: 8px; }
  .pill-list li { font-size: 13px; }
  .hero-actions, .hero-actions .button { width: 100%; }
  .hero-stats { grid-template-columns: 1fr; gap: 8px; }
  .hero-visual { min-height: 380px; }
  .visual-badge { left: 14px; right: 14px; max-width: none; padding: 10px 14px; }
  .visual-badge.top { top: 14px; right: auto; }
  .visual-badge.rating { bottom: 14px; }

  .section-head { display: block; }
  .section-head h2 { margin-bottom: 14px; }
  .section-head .button, .section-head .text-link { margin-top: 18px; }

  .audience-grid, .services-grid, .reviews-grid, .price-columns, .care-grid, .split-list, .master-points, .contact-links { grid-template-columns: 1fr; }
  .chooser { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card.wide { grid-column: auto; }
  .service-card img, .service-card.wide img { height: 230px; }
  .safety-panel, .parents-grid, .contacts-grid { padding: 18px; gap: 28px; }
  .compare { font-size: 13px; }
  .compare span { padding: 10px; }
  .safety-media img, .parents-grid > img, .gift > img { height: 260px; }
  .process-rail { grid-template-columns: 1fr; }
  .process-rail li { display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; padding: 16px; }
  .process-rail li::before { grid-row: span 2; margin: 0; }
  .process-rail span { margin-top: 2px; }
  .price-table { padding: 18px; }
  .contact-facts li { grid-template-columns: 1fr; gap: 2px; }
  .map-box { min-height: 260px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-items: start; text-align: left; }
  .link-button { text-align: left; }
  .mobile-sticky { display: flex; }
  .cookie-banner { left: 12px; right: 12px; bottom: calc(80px + env(safe-area-inset-bottom)); max-width: none; }
}

@media (max-width: 460px) {
  body { font-size: 15px; }
  .mobile-nav { grid-template-columns: 1fr; }
  .brand small { display: none; }
  h1 { line-height: 1.1; }
  .hero-visual { min-height: 340px; }
  .chooser { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-sticky, .cookie-banner, .mobile-nav { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ===== Юридические страницы и 404 ===== */
.legal { max-width: 820px; }
.legal h1 { font-size: clamp(30px, 4vw, 44px); }
.legal h2 { margin: 34px 0 10px; font-size: 24px; }
.legal p { color: var(--muted); }
.legal a:not(.button) { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; }
.legal + .site-footer { padding-bottom: 32px; }
