/* М&Л Офис — «Тёплый лёд»: молочный фон, графит логотипа, ледяной голубой для метода,
   персиковый для мам, терракота только для кнопок действия. Колонка 1200px, полосы на всю ширину. */
:root {
  --bg: #FAF7F3;
  --surface: #FFFFFF;
  --line: #E4DED6;
  --fg: #23272B;
  --fg-soft: #4A5056;
  --muted: #6A7076;
  --ice: #DCEBF1;
  --ice-fg: #2F3A40;
  --ice-deep: #3E7A93;
  --peach: #F3DCCB;
  --peach-fg: #5A3424;
  --action: #A9573A;
  --action-hover: #8E4630;
  --action-fg: #FFFFFF;
  --band: #23272B;
  --band-fg: #FAF7F3;
  --band-muted: #C9CED3;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 20px;
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-text-size-adjust: 100%; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--ice-deep); text-underline-offset: 3px; }
a:hover { color: var(--fg); }
:focus-visible { outline: 3px solid var(--ice-deep); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 5.2vw, 58px); }
h2 { font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-size: 22px; line-height: 1.25; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.section { padding-block: 72px; }
.section.tight { padding-block: 48px; }
.band-white { background: var(--surface); border-block: 1px solid var(--line); }
.band-ice { background: var(--ice); color: var(--ice-fg); }
.band-peach { background: var(--peach); color: var(--peach-fg); }
.band-dark { background: var(--band); color: var(--band-fg); }
.stack { display: flex; flex-direction: column; gap: 24px; }
.stack-s { display: flex; flex-direction: column; gap: 12px; }
.intro { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.lead { font-size: 19px; color: var(--fg-soft); max-width: 65ch; }
.band-ice .lead, .band-peach .lead { color: inherit; }
.band-dark .lead { color: var(--band-muted); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ice-deep); }
.band-peach .eyebrow { color: var(--peach-fg); }
.note { font-size: 13px; color: var(--muted); }
.band-dark .note { color: var(--band-muted); }
.prose { display: flex; flex-direction: column; gap: 16px; max-width: 68ch; }
.prose h2 { margin-top: 20px; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); }
.logo-mark { font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 1; }
.logo-mark span { color: var(--ice-deep); }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text b { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; }
.logo-text small { font-size: 11px; color: var(--muted); }
.nav { display: flex; gap: 22px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--fg); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ice-deep); }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; font-weight: 600; font-size: 15px; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; gap: 4px; }
.menu-panel a { color: var(--fg); text-decoration: none; padding: 10px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
@media (max-width: 960px) { .nav { display: none; } .menu { display: block; } .header-cta { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; transition: background-color .15s ease, color .15s ease; }
.btn-action { background: var(--action); color: var(--action-fg); }
.btn-action:hover { background: var(--action-hover); color: var(--action-fg); }
.btn-ghost { border-color: var(--fg); color: var(--fg); background: transparent; }
.btn-ghost:hover { background: var(--fg); color: var(--bg); }
.band-dark .btn-ghost { border-color: var(--band-fg); color: var(--band-fg); }
.band-dark .btn-ghost:hover { background: var(--band-fg); color: var(--band); }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 7px 15px; border-radius: 999px; background: var(--ice); color: var(--ice-fg); font-size: 14px; font-weight: 600; }
.chip.warm { background: var(--peach); color: var(--peach-fg); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-block: 56px 72px; }
.hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero-media { flex: 1 1 400px; min-width: 0; }
.photo { width: 100%; border-radius: 28px; object-fit: cover; background: var(--ice); }
.photo.h-hero { height: 520px; }
.photo.h-l { height: 440px; }
.photo.h-m { height: 360px; }
@media (max-width: 640px) { .photo.h-hero { height: 340px; } .photo.h-l, .photo.h-m { height: 280px; } }
figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
figcaption { font-size: 15px; color: var(--fg-soft); }

/* Grids */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid.wide { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.split { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }
.card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--fg); text-decoration: none; }
a.card:hover { border-color: var(--ice-deep); color: var(--fg); }
.card-title { font-size: 19px; font-weight: 700; line-height: 1.3; }
.card-text { font-size: 15px; color: var(--fg-soft); }
.card-tag { font-size: 13px; font-weight: 700; color: var(--ice-deep); }
.card.ice { background: var(--ice); border-color: transparent; color: var(--ice-fg); }
.card.ice .card-text { color: var(--ice-fg); }
.step-num { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--ice-deep); line-height: 1; }
.list-check { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.list-check li { padding: 14px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.band-white .list-check li { background: var(--bg); }

/* Price table */
.table-box { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
td.price { white-space: nowrap; font-weight: 700; }
.old { text-decoration: line-through; color: var(--muted); font-weight: 500; margin-left: 8px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 22px; line-height: 1; color: var(--ice-deep); }
.faq details[open] summary::after { content: "−"; }
.faq summary::-webkit-details-marker { display: none; }
.faq .answer { padding: 0 20px 20px; color: var(--fg-soft); display: flex; flex-direction: column; gap: 10px; }

/* Quiz */
.quiz { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 20px; max-width: 720px; }
.quiz fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.quiz legend { font-family: var(--font-display); font-size: 24px; font-weight: 700; line-height: 1.25; margin-bottom: 8px; padding: 0; }
.quiz .q-step { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ice-deep); }
.opt { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 18px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; background: var(--bg); }
.opt:has(input:checked) { border-color: var(--fg); font-weight: 600; }
.opt input { accent-color: var(--action); width: 18px; height: 18px; flex: none; }
.quiz textarea { width: 100%; min-height: 96px; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; font: inherit; background: var(--bg); color: var(--fg); resize: vertical; }
.progress { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--ice-deep); width: 20%; transition: width .2s ease; }
.quiz-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.result { display: flex; flex-direction: column; gap: 14px; }
.result h3 { font-size: 26px; }
.js .quiz fieldset:not(.active) { display: none; }

/* Footer */
.site-footer { background: var(--band); color: var(--band-muted); font-size: 15px; }
.site-footer a { color: var(--band-fg); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding-block: 56px 32px; }
.footer-grid h3 { font-family: var(--font-body); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--band-fg); margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.legal { border-top: 1px solid rgba(127,127,127,.25); padding-block: 20px 96px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.warning { font-weight: 700; color: var(--band-fg); font-size: 15px; }

/* Mobile sticky bar */
.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: none; gap: 10px; padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: var(--bg); border-top: 1px solid var(--line); }
.sticky-bar .btn { flex: 1 1 auto; min-height: 48px; padding: 0 14px; font-size: 15px; }
@media (max-width: 760px) { .sticky-bar { display: flex; } }

.breadcrumbs { font-size: 14px; color: var(--muted); padding-top: 20px; }
.breadcrumbs a { color: var(--muted); }
.article-meta { font-size: 14px; color: var(--muted); }
.placeholder { border: 2px dashed var(--line); border-radius: var(--radius); padding: 28px; color: var(--muted); text-align: center; background: var(--surface); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--fg-soft); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--action); flex: none; }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.cookie { position: fixed; z-index: 40; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(84px + env(safe-area-inset-bottom, 0px)); max-width: 560px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.cookie p { flex: 1 1 260px; min-width: 0; }
@media (min-width: 761px) { .cookie { bottom: calc(20px + env(safe-area-inset-bottom, 0px)); } }
.video { max-width: 900px; }
.video-box { position: relative; width: 100%; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 24px; overflow: hidden; background: var(--ice); }
.video-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Тильда */
.site-header{position:relative;top:auto}
.ml{font-family:var(--font-body)}

.grid.zones{grid-template-columns:repeat(3,1fr)}
@media (max-width:900px){.grid.zones{grid-template-columns:repeat(2,1fr)}}
@media (max-width:520px){.grid.zones{grid-template-columns:1fr}}

@media (min-width:641px){.ml .grid.wide{grid-template-columns:repeat(3,1fr)}}
@media (max-width:640px){.ml .grid.wide{grid-template-columns:1fr}}
.ml .grid:has(> :nth-child(6):last-child){grid-template-columns:repeat(3,1fr)}
@media (max-width:900px){.ml .grid:has(> :nth-child(6):last-child){grid-template-columns:repeat(2,1fr)}}
@media (max-width:520px){.ml .grid:has(> :nth-child(6):last-child){grid-template-columns:1fr}}

.ml .video{max-width:none;width:100%}
