/* Шрифт Montserrat хранится на нашем сервере (без запросов к Google) */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("assets/fonts/montserrat-cyrillic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("assets/fonts/montserrat-latin.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; }
/* ═══════════ Первые связи — стиль в духе MindBlossom ═══════════ */
:root {
  --page: #FAF7F2;
  --paper: #FFFFFF;
  --cream: #FCF1D6;
  --yellow: #FDEDBF;
  --sun: #FFE888;
  --sun-2: #F3D667;
  --beige: #EAE3D8;
  --beige-2: #DDD4C6;
  --ink: #26211C;
  --ink-2: #5A5147;
  --ink-3: #8C8174;
  --brand: #B84D2B;
  --brand-d: #9C3E20;
  --brown: #4A1F12;
  --brown-2: #5C2A1A;
  --mustard: #E9A23B;
  --lilac: #EADDFB;
  --sky: #C7E4FB;
  --pink: #F7D9F5;
  --radius: 24px;
  --ease: cubic-bezier(.22, .8, .25, 1);
  --wave-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 40'%3E%3Cpath d='M0 40V24C8 10 28 8 38 20C48 2 82 2 92 18C102 8 122 6 132 20C144 0 180 0 190 18C200 8 224 6 240 24V40Z'/%3E%3C/svg%3E");
  --wave-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 40'%3E%3Cpath d='M0 0V16C8 30 28 32 38 20C48 38 82 38 92 22C102 32 122 34 132 20C144 40 180 40 190 22C200 32 224 34 240 16V0Z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
p { margin: 0; }
.container { width: min(1200px, 100% - 48px); margin-inline: auto; }

.h2 { font-size: clamp(32px, 4.2vw, 56px); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; }
.lead { font-size: 17px; color: var(--ink-2); line-height: 1.6; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--brand); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.eyebrow--dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto; display: grid; justify-items: center; gap: 16px; }
.section-head .h2 { margin-bottom: 2px; }

/* ─── Волнистые края ─── */
.wave-top, .wave-bottom { position: relative; }
.wave-top::before, .wave-bottom::after {
  content: ""; position: absolute; left: 0; right: 0; height: 40px; z-index: 2;
  background: inherit; pointer-events: none;
  -webkit-mask: var(--wave-up) repeat-x left bottom / 240px 40px; mask: var(--wave-up) repeat-x left bottom / 240px 40px;
}
.wave-top::before { top: -39px; }
.wave-bottom::after { bottom: -39px; -webkit-mask-image: var(--wave-down); mask-image: var(--wave-down); -webkit-mask-position: left top; mask-position: left top; }
.bg-cream { background: var(--cream); }
.bg-yellow { background: var(--yellow); }

/* ─── Кнопки ─── */
.btn {
  display: inline-flex; align-items: center; gap: 12px; height: 46px; padding: 0 20px;
  border: 0; border-radius: 12px; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: background .25s, color .25s, transform .25s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-d); }
.btn--soft { background: var(--beige); color: var(--ink); padding: 4px 4px 4px 18px; }
.btn--soft:hover { background: var(--beige-2); }
.btn--glass { background: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, .28); }
.btn__icon {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--brand); color: #fff;
  transition: transform .35s var(--ease), background .25s;
}
.btn__icon svg, .btn__arr { width: 16px; height: 16px; }
.btn:hover .btn__icon { transform: rotate(45deg); background: var(--brand-d); }
.btn__tg { width: 18px; height: 18px; }
.round-btn {
  display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 12px;
  background: #fff; color: var(--ink); cursor: pointer; transition: background .2s, transform .2s;
  box-shadow: 0 2px 8px rgba(74, 31, 18, .06);
}
.round-btn svg { width: 18px; height: 18px; }
.round-btn:hover { background: var(--beige); }
.round-btn:disabled { opacity: .4; cursor: default; }

/* ─── Верхняя плашка ─── */
.topbar { background: var(--ink); color: #fff; font-size: 13px; overflow: hidden; }
.topbar__track { display: flex; align-items: center; justify-content: center; gap: 14px; height: 40px; padding: 0 16px; white-space: nowrap; }
.topbar i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .5); flex: none; }
.topbar__accent { color: var(--mustard); display: inline-flex; align-items: center; gap: 6px; }
.topbar a svg { width: 14px; height: 14px; }
.topbar a:hover { color: #FFD08A; }

/* ─── Шапка ─── */
.header { position: sticky; top: 0; z-index: 60; }
.header__bar { background: var(--paper); }
.header__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.header__edge { height: 26px; background: var(--paper); margin-top: -1px;
  -webkit-mask: var(--wave-down) repeat-x left top / 200px 26px; mask: var(--wave-down) repeat-x left top / 200px 26px;
  filter: drop-shadow(0 6px 6px rgba(74, 31, 18, .04));
}
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { width: 44px; height: 33px; color: var(--brand); }
.logo__text { font-size: 22px; font-weight: 600; letter-spacing: -.03em; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { font-size: 15px; font-weight: 500; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px; background: var(--brand); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.header__cta { margin-left: 8px; }
.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--brand); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav { display: none; }

/* ─── Первый экран ─── */
.hero { position: relative; margin-top: -26px; min-height: min(860px, 94vh); display: grid; align-items: start; overflow: hidden; color: var(--ink); background: #F3E9DE; }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media picture, .hero__media img { display: block; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 50% 100%; transform: scale(1.06); animation: heroZoom 14s ease-out forwards; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 45% at 50% 28%, rgba(250, 244, 236, .55), rgba(250, 244, 236, 0) 70%); }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__content { position: relative; text-align: center; padding: 96px 0 80px; display: grid; justify-items: center; }
.hero__title { font-size: clamp(40px, 5.8vw, 80px); font-weight: 600; letter-spacing: -.045em; line-height: 1.02; }
.hero__lead { margin-top: 20px; max-width: 580px; font-size: 18px; color: var(--ink-2); }
.btn--white { background: #fff; color: var(--ink); box-shadow: 0 8px 20px -12px rgba(74, 31, 18, .35); }
.btn--white:hover { background: var(--beige); }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.btn--lg { height: 54px; padding: 0 26px; font-size: 16px; font-weight: 600; border-radius: 14px; }
.btn--brand .btn__arr { transition: transform .3s var(--ease); }
.btn--brand:hover .btn__arr { transform: rotate(45deg); }
.hero__title, .hero__lead, .hero__cta { animation: rise 1s var(--ease) both; }
.hero__lead { animation-delay: .12s; }
.hero__cta { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

/* ─── Манифест ─── */
.intro { padding: 70px 0 110px; z-index: 3; }
.intro__text { max-width: 980px; margin: 0 auto; text-align: center; font-size: clamp(22px, 2.6vw, 34px); font-weight: 600; line-height: 1.38; letter-spacing: -.02em; }
.intro__text .w { color: #C9BBA3; transition: color .4s; }
.intro__text .w.on { color: var(--ink); }
.intro__team { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 30px auto 0; font-size: 13px; color: var(--ink-2); text-align: left; max-width: 520px; }
.avatars { display: flex; flex: none; }
.avatars span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c); border: 2px solid var(--cream); margin-left: -8px; color: var(--ink); }
.avatars span:first-child { margin-left: 0; }
.avatars svg { width: 17px; height: 17px; }
.deco { position: absolute; pointer-events: none; }
.intro__flower { width: 120px; left: 9%; top: 40px; animation: spin 26s linear infinite; }
.intro__star { width: 92px; right: 10%; top: 150px; animation: bob 5s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 50% { transform: translateY(-14px) rotate(8deg); } }

.stats {
  position: relative; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; align-items: center;
  margin-top: 70px; padding: 48px 56px; border-radius: 32px; background: var(--sun); overflow: hidden;
}
.stats::before { content: ""; position: absolute; width: 360px; height: 360px; left: -110px; top: -150px; border-radius: 50%; background: var(--sun-2); opacity: .6; }
.stats > * { position: relative; }
.stats h2 { font-size: 40px; font-weight: 500; letter-spacing: -.035em; margin-bottom: 12px; }
.stats__lead p { color: var(--ink-2); font-size: 15px; max-width: 280px; }
.stats__item b { display: block; font-size: clamp(44px, 5vw, 72px); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.stats__item span { display: block; margin-top: 10px; font-size: 14px; color: var(--ink-2); }

/* ─── Фото наборов ─── */
.boxphoto { display: block; width: 100%; height: 100%; object-fit: cover; }
.boxart-fallback { display: grid; place-items: center; width: 100%; height: 100%; padding: 36px 24px 18px; }
.boxart-fallback .boxart { max-width: 360px; }

/* ─── Каталог наборов ─── */
.catalog { padding: 80px 0 90px; z-index: 3; }
.catalog__blob { width: 110px; left: 6%; top: 40px; color: var(--sun-2); opacity: .9; }
.catalog__dash { width: 54px; right: 9%; top: 70px; color: var(--brand); }
.ctabs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 40px; }
.ctab {
  display: grid; gap: 4px; padding: 16px 16px 14px; border: 0; border-radius: 18px; background: rgba(255, 255, 255, .75);
  font: inherit; text-align: left; color: var(--ink); cursor: pointer; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), background .25s, color .25s, box-shadow .3s;
}
.ctab::before { content: ""; position: absolute; right: -18px; top: -18px; width: 56px; height: 56px; border-radius: 50%; background: var(--c); transition: transform .4s var(--ease); }
.ctab b { position: relative; font-size: 20px; font-weight: 600; letter-spacing: -.03em; }
.ctab span { position: relative; font-size: 12.5px; line-height: 1.3; color: var(--ink-2); }
.ctab:hover { transform: translateY(-3px); background: #fff; box-shadow: 0 14px 30px -18px rgba(74, 31, 18, .4); }
.ctab:hover::before { transform: scale(1.4); }
.ctab[aria-selected="true"] { background: var(--brand); color: #fff; box-shadow: 0 16px 30px -14px rgba(156, 62, 32, .6); }
.ctab[aria-selected="true"] span { color: rgba(255, 255, 255, .85); }
.ctab[aria-selected="true"]::before { background: rgba(255, 255, 255, .16); }
.cstage { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin: 30px 0 22px; }
.cstage__age { padding: 5px 11px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; align-self: center; }
.cstage h3 { font-size: 26px; font-weight: 600; letter-spacing: -.03em; }
.cstage p { flex-basis: 100%; font-size: 16px; color: var(--ink-2); max-width: 760px; }
.cgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pcard { display: flex; flex-direction: column; border-radius: 28px; background: #fff; overflow: hidden; box-shadow: 0 20px 50px -34px rgba(74, 31, 18, .55); animation: cardIn .6s var(--ease) var(--d, 0ms) both; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.pcard:hover { transform: translateY(-6px); box-shadow: 0 34px 70px -36px rgba(74, 31, 18, .6); }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px); } }
.pcard__photo { position: relative; display: block; width: 100%; aspect-ratio: 3 / 2; padding: 0; border: 0; background: var(--c); overflow: hidden; cursor: zoom-in; }
.pcard__photo .boxphoto { transition: transform 1s var(--ease); }
.pcard:hover .pcard__photo .boxphoto { transform: scale(1.06); }
.pcard__photo .boxart-fallback { position: absolute; inset: 0; }
.pcard__age { position: absolute; left: 16px; top: 16px; padding: 7px 12px; border-radius: 11px; background: #fff; font-size: 14px; font-weight: 600; color: var(--ink); box-shadow: 0 6px 16px rgba(74, 31, 18, .12); }
.pcard__peek {
  position: absolute; left: 50%; bottom: 16px; transform: translate(-50%, 12px); padding: 10px 16px; border-radius: 12px;
  background: rgba(38, 33, 28, .78); color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; opacity: 0;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: opacity .3s, transform .4s var(--ease);
}
.pcard:hover .pcard__peek, .pcard__photo:focus-visible .pcard__peek { opacity: 1; transform: translate(-50%, 0); }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.pcard h3 { font-size: 26px; font-weight: 600; letter-spacing: -.035em; }
.pcard__lead { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.pcard__items { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 7px; }
.pcard__items li { display: flex; gap: 9px; font-size: 14.5px; line-height: 1.4; }
.pcard__items svg { flex: none; width: 18px; height: 18px; color: var(--brand); margin-top: 1px; }
.pcard__items li.is-more { color: var(--ink-2); }
.pcard__items li.is-more svg { color: #6E8D5E; }
.pcard__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 22px; }
.catalog__help { margin-top: 30px; text-align: center; font-size: 15px; color: var(--ink-2); }
.catalog__help a { color: var(--brand); font-weight: 600; }
.catalog__help a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ─── Что внутри ─── */
.inside { padding: 100px 0 40px; }
.inside__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; margin-top: 50px; }
.inside__photo { position: relative; border-radius: 30px; overflow: hidden; aspect-ratio: 1040 / 853; box-shadow: 0 30px 70px -35px rgba(74, 31, 18, .5); background: var(--kraft, #F1DFC7); }
.inside__photo img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.pin {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  width: 38px; height: 38px; border-radius: 50%; border: 3px solid #fff; background: var(--brand); color: #fff;
  font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; box-shadow: 0 6px 18px rgba(74, 31, 18, .35);
  transition: transform .3s var(--ease), background .2s;
}
.pin::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .85); animation: ping 2.4s ease-out infinite; }
.pin:hover, .pin.is-on { transform: translate(-50%, -50%) scale(1.15); background: var(--ink); }
@keyframes ping { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.inside__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.inside__list li { display: flex; gap: 16px; padding: 16px 18px; border-radius: 18px; transition: background .3s; }
.inside__list li.is-on, .inside__list li:hover { background: #fff; }
.inside__num { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: 15px; }
.inside__list h3 { font-size: 19px; margin: 6px 0 6px; }
.inside__list p { font-size: 15px; color: var(--ink-2); }
.materials { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 44px; }
.materials span { display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 12px; background: #fff; font-size: 14px; font-weight: 500; box-shadow: 0 0 0 1px var(--beige); }
.materials svg { width: 20px; height: 20px; color: #6E8D5E; }

/* ─── Сравнение ─── */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 50px; }
.compare__col { padding: 32px; border-radius: 28px; }
.compare__col h3 { display: flex; align-items: center; gap: 10px; font-size: 24px; margin-bottom: 20px; }
.compare__col h3 svg { width: 36px; height: 27px; color: #fff; }
.compare__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.compare__col li { position: relative; padding-left: 36px; font-size: 16px; line-height: 1.45; }
.compare__col li::before { content: ""; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 8px; background-position: center; background-repeat: no-repeat; background-size: 14px; }
.compare__col--before { background: var(--beige); color: var(--ink-2); }
.compare__col--before h3 { color: var(--ink); }
.compare__col--before li::before { background-color: #D3C8B6; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7l10 10M17 7 7 17' stroke='%235A5147' stroke-width='3' stroke-linecap='round' fill='none'/%3E%3C/svg%3E"); }
.compare__col--after { background: var(--brand); color: #fff; box-shadow: 0 30px 60px -30px rgba(156, 62, 32, .7); }
.compare__col--after li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7' stroke='%23B84D2B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E"); }

/* ─── Бегущая строка ─── */
.skills { padding: 34px 0; overflow: hidden; }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track > span { margin-right: 56px; }
.marquee__track span { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; color: #A79C8D; letter-spacing: -.02em; white-space: nowrap; }
.marquee__track svg { width: 26px; height: 26px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ─── О продукте ─── */
.story { padding: 90px 0 150px; position: relative; }
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story__visual { position: relative; height: 560px; }
.story__blob { position: absolute; width: 230px; right: 4%; top: -30px; color: var(--sky); animation: bob 7s ease-in-out infinite; }
.story__scribble { width: 76px; left: 8%; top: -24px; color: #6E9CD0; transform: rotate(-12deg); }
.story__photo { position: absolute; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(74, 31, 18, .45); border: 6px solid #fff; }
.story__photo img { width: 100%; height: 100%; object-fit: cover; }
.story__photo--back { width: 52%; height: 64%; right: 0; top: 30px; transform: rotate(4deg); }
.story__photo--back img { object-position: 40% 40%; }
.story__photo--front { width: 66%; height: 66%; left: 0; bottom: 30px; transform: rotate(-4deg); }
.story__photo--front img { object-position: 50% 45%; }
.quote {
  position: absolute; right: 2%; bottom: -10px; width: 280px; margin: 0; padding: 22px 22px 20px;
  border-radius: 22px; background: var(--pink); border: 3px solid #fff; transform: rotate(-3deg);
  box-shadow: 0 20px 40px -20px rgba(74, 31, 18, .4);
}
.quote blockquote { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
.quote figcaption { margin-top: 12px; font-size: 13px; color: var(--ink-2); }
.story__text { display: grid; gap: 22px; justify-items: start; }
.story__feats { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 22px; padding-top: 28px; border-top: 1px solid var(--beige); }
.feat__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--c); margin-bottom: 14px; }
.feat__icon svg { width: 22px; height: 22px; }
.feat h3 { font-size: 18px; margin-bottom: 6px; }
.feat p { font-size: 14px; color: var(--ink-2); }

/* ─── Наборы ─── */
.boxes { padding: 80px 0 90px; z-index: 3; }
.boxes__blob { width: 110px; left: 22%; top: 30px; color: var(--sun-2); opacity: .9; }
.boxes__dash { width: 54px; right: 22%; top: 50px; color: var(--brand); }
.picker { max-width: 640px; margin: 36px auto 0; padding: 22px 26px 18px; border-radius: 20px; background: rgba(255, 255, 255, .7); }
.picker__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.picker__label { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.picker__age { font-size: 24px; font-weight: 600; letter-spacing: -.03em; color: var(--brand); }
.picker__scale { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--ink-3); font-weight: 500; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--brand) var(--p, 10%), var(--beige) var(--p, 10%)); outline: none; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 9px; background: #fff; border: 5px solid var(--brand); box-shadow: 0 4px 12px rgba(74, 31, 18, .25); transition: transform .2s; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.1); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 9px; background: #fff; border: 5px solid var(--brand); }
input[type="range"]:focus-visible { box-shadow: 0 0 0 4px rgba(184, 77, 43, .25); }

.carousel {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 40px max(24px, calc((100vw - 1100px) / 2)) 10px; scrollbar-width: none; outline: none;
}
.carousel::-webkit-scrollbar { display: none; }
.bcard {
  flex: none; width: min(1100px, 100vw - 48px); scroll-snap-align: center;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; padding: 20px; border-radius: 30px; background: #fff;
  position: relative; overflow: hidden; transition: opacity .5s, transform .5s var(--ease);
  opacity: .55; transform: scale(.96);
}
.bcard.is-active { opacity: 1; transform: none; }
.bcard__art { position: relative; border-radius: 20px; background: var(--c, var(--cream)); aspect-ratio: 3 / 2; align-self: center; overflow: hidden; }
.bcard__art .boxphoto { position: absolute; inset: 0; }
.bcard__art .boxart-fallback { position: absolute; inset: 0; }
.bcard__label { margin: 20px 0 10px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.bcard__items { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.bcard__items li { display: flex; gap: 10px; font-size: 15px; line-height: 1.4; }
.bcard__items svg { flex: none; width: 19px; height: 19px; color: var(--brand); margin-top: 1px; }
.bcard__items li.is-extra { color: var(--ink-2); }
.bcard__items li.is-extra svg { color: #6E8D5E; }
.bcard__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 22px; }
.bcard__tags b { color: var(--ink); font-weight: 600; }
.bcard__art .boxart { width: 100%; max-width: 420px; position: relative; z-index: 1; }
.bcard__art .deco-b { position: absolute; width: 120px; color: rgba(255, 255, 255, .6); }
.bcard__art .deco-b--1 { left: -30px; top: -30px; }
.bcard__art .deco-b--2 { right: -20px; bottom: -40px; width: 160px; }
.bcard__age { position: absolute; left: 18px; top: 18px; z-index: 2; padding: 6px 12px; border-radius: 10px; background: #fff; font-size: 13px; font-weight: 600; }
.bcard__now { position: absolute; right: 18px; top: 18px; z-index: 2; padding: 6px 12px; border-radius: 10px; background: var(--brand); color: #fff; font-size: 13px; font-weight: 600; }
.bcard__body { display: flex; flex-direction: column; padding: 16px 12px 8px 0; position: relative; }
.bcard__body::before { content: ""; position: absolute; inset: -20px -20px -20px -16px; z-index: -1;
  background: radial-gradient(circle at 90% 10%, rgba(234, 227, 216, .5) 0 30px, transparent 31px), radial-gradient(circle at 70% 90%, rgba(234, 227, 216, .45) 0 22px, transparent 23px); }
.bcard h3 { font-size: 34px; font-weight: 600; letter-spacing: -.035em; }
.bcard__tags { margin: 16px 0 0; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.bcard__lead { font-size: 16px; color: var(--ink-2); max-width: 440px; margin-top: 10px; }
.bcard__stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: auto; padding-top: 32px; }
.bcard__stats div { padding: 0 18px; border-left: 1px solid var(--beige); }
.bcard__stats div:first-child { padding-left: 0; border-left: 0; }
.bcard__stats b { display: block; font-size: 30px; font-weight: 600; letter-spacing: -.04em; }
.bcard__stats span { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-2); line-height: 1.35; }
.carousel__nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 30px; }
.carousel__count { min-width: 64px; text-align: center; font-weight: 600; font-size: 14px; color: var(--ink-2); }

.boxart { width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 20px rgba(74, 31, 18, .2)); }

/* ─── Фото + лента ─── */
.photo-band { position: relative; padding: 110px 0 0; }
.photo-band__media { position: relative; width: min(1320px, 100% - 48px); margin: 0 auto; border-radius: 32px; overflow: hidden; aspect-ratio: 16 / 8; }
.photo-band__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.photo-band__badge { position: absolute; left: 24px; top: 24px; display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 14px; background: rgba(38, 33, 28, .55); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.photo-band__dot { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--mustard); }
.photo-band__dot svg { width: 20px; height: 20px; }
.photo-band__badge b { display: block; font-size: 15px; font-weight: 600; }
.photo-band__badge small { font-size: 12px; opacity: .8; }
.ribbon { position: relative; z-index: 4; margin-top: -90px; height: 160px; pointer-events: none; }
.ribbon svg { width: 100%; height: 100%; overflow: visible; }
.ribbon__band { fill: none; stroke: var(--cream); stroke-width: 62; stroke-linecap: butt; }
.ribbon__text { font-size: 30px; font-weight: 600; letter-spacing: -.02em; fill: var(--ink); dominant-baseline: central; }

/* ─── Как это работает ─── */
.how { position: relative; margin-top: -60px; padding: 150px 0 110px; background: var(--brown); color: #fff; overflow: hidden; }
.how__blob { width: 150px; left: 4%; top: 110px; color: var(--brown-2); }
.how__sparks { width: 60px; right: 8%; top: 140px; color: #fff; opacity: .8; transform: rotate(20deg); }
.how__head { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.how__head p { color: rgba(255, 255, 255, .78); font-size: 16px; max-width: 420px; justify-self: end; }
.how__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.step {
  position: relative; display: flex; gap: 22px; padding: 22px; border-radius: 26px; background: #fff; color: var(--ink);
  transition: transform .4s var(--ease);
}
.step::before { content: ""; position: absolute; inset: 0; border-radius: 26px; background: rgba(255, 255, 255, .14); transform: translate(10px, -10px) rotate(1.5deg); z-index: -1; }
.step:hover { transform: translateY(-4px) rotate(-.5deg); }
.step__num { flex: none; display: grid; place-content: center; text-align: center; width: 76px; height: 86px; border-radius: 16px; background: var(--brown); color: #fff; }
.step__num b { font-size: 30px; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.step__num small { font-size: 12px; opacity: .7; margin-top: 4px; }
.step:nth-child(2) .step__num { background: var(--brand); }
.step:nth-child(3) .step__num { background: var(--mustard); }
.step:nth-child(4) .step__num { background: #6E8D5E; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 8px; background: var(--beige); font-size: 12px; font-weight: 500; margin-bottom: 10px; }
.step h3 { font-size: 24px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--ink-2); }

/* ─── Преимущества ─── */
.why { padding: 110px 0 60px; }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.card {
  position: relative; overflow: hidden; padding: 28px; border-radius: 24px; background: #fff;
  box-shadow: 0 0 0 1px rgba(234, 227, 216, .7), 0 12px 30px -20px rgba(74, 31, 18, .25);
  transition: transform .4s var(--ease);
}
.card::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -10px; height: 20px; border-radius: 0 0 24px 24px; background: var(--beige); z-index: -1; }
.card:hover { transform: translateY(-5px); }
.card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--c); margin-bottom: 20px; }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 22px; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--ink-2); position: relative; z-index: 1; }
.card__swirl { position: absolute; width: 110px; right: -10px; bottom: -14px; color: var(--c); opacity: .9; }
.card--brand { background: var(--brand); color: #fff; display: flex; flex-direction: column; box-shadow: none; }
.card--brand p { color: rgba(255, 255, 255, .88); margin-bottom: 24px; flex: 1; }
.card--brand .btn { align-self: flex-start; background: #fff; }
.card--brand .btn:hover { background: var(--beige); }

/* ─── Призыв ─── */
.cta { padding: 80px 0 100px; }
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.cta__visual { position: relative; height: 480px; }
.cta__shape { position: absolute; width: 50%; height: 52%; right: 0; bottom: -10px; z-index: 2; border-radius: 22px; overflow: hidden; background: var(--sky); border: 6px solid #fff; transform: rotate(6deg); box-shadow: 0 24px 50px -24px rgba(74, 31, 18, .5); }
.cta__shape img { width: 100%; height: 100%; object-fit: cover; object-position: 20% 60%; }
.cta__photo { position: absolute; inset: 0 90px 30px 10px; border-radius: 28px; overflow: hidden; transform: rotate(-3deg); box-shadow: 0 30px 60px -30px rgba(74, 31, 18, .45); }
.cta__photo::before { content: ""; position: absolute; inset: -30px; z-index: -1; background: var(--sky); }
.cta__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.cta__sparks { width: 70px; left: -20px; top: -30px; color: var(--mustard); z-index: 2; transform: rotate(-30deg); }
.cta__zig { width: 80px; right: 10px; top: 0; color: #9A7BD8; }
.cta__text { display: grid; gap: 22px; justify-items: start; }

/* ─── Форма заявки ─── */
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; max-width: 520px; padding: 22px; border-radius: 22px; background: #fff; box-shadow: 0 20px 50px -30px rgba(74, 31, 18, .45); }
.lead-form__field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.lead-form select {
  -webkit-appearance: none; appearance: none; height: 50px; padding: 0 40px 0 14px; border: 1px solid var(--beige-2); border-radius: 12px;
  background: var(--page) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2326211C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 16px;
  font: inherit; font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer;
}
.lead-form select:focus-visible { outline: 3px solid rgba(184, 77, 43, .3); outline-offset: 1px; }
.lead-form .btn { grid-column: 1 / -1; justify-content: center; }
.lead-form__note { grid-column: 1 / -1; font-size: 12px; color: var(--ink-3); text-align: center; }
.story__text .btn--lg { margin-top: 8px; }

/* ─── FAQ ─── */
.faq { padding: 80px 0 120px; }
.faq__list { display: grid; gap: 12px; max-width: 880px; margin: 48px auto 0; }
.faq details { border-radius: 18px; background: var(--lilac); transition: background .3s; }
.faq details[open] { background: #E2D2FA; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 22px 22px 26px; font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #fff; font-size: 22px; font-weight: 400; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 26px 24px; color: var(--ink-2); max-width: 720px; }

/* ─── Финал и подвал ─── */
.final { position: relative; min-height: 700px; display: grid; align-items: start; color: #fff; overflow: hidden; padding: 90px 0 220px; }
.final__media { position: absolute; inset: 0; }
.final__media { overflow: hidden; }
.final__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 75%; }
.final__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(38, 22, 12, .5), rgba(38, 22, 12, .35) 45%, rgba(38, 22, 12, .55)); }
.final__content { position: relative; text-align: center; display: grid; justify-items: center; gap: 18px; }
.final h2 { font-size: clamp(38px, 5.4vw, 72px); font-weight: 600; letter-spacing: -.045em; line-height: 1.02; }
.final p { font-size: 17px; opacity: .9; margin-bottom: 10px; }
.footer { background: var(--brown); padding: 0 0 24px; }
.footer__card {
  position: relative; margin-top: -120px; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px;
  padding: 40px 40px 26px; border-radius: 28px; background: var(--page);
}
.footer__brand { display: grid; gap: 16px; justify-items: start; }
.footer__brand p { font-size: 14px; color: var(--ink-2); max-width: 320px; }
.footer__col { display: grid; gap: 12px; align-content: start; }
.footer__col h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.footer__col a { font-size: 15px; color: var(--ink-2); transition: color .2s; }
.footer__col a:hover { color: var(--brand); }
.footer__bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; padding-top: 22px; border-top: 1px solid var(--beige); font-size: 13px; color: var(--ink-2); }
.footer__bottom a:hover { color: var(--brand); }

/* ─── Окно набора ─── */
.modal {
  width: min(920px, 100% - 32px); max-height: min(90vh, 900px); padding: 0; border: 0; border-radius: 30px;
  background: var(--page); color: var(--ink); box-shadow: 0 40px 80px -20px rgba(40, 20, 0, .45); overflow: auto; overscroll-behavior: contain;
}
.modal[open] { animation: modalIn .45s var(--ease); }
.modal::backdrop { background: rgba(38, 25, 15, .55); backdrop-filter: blur(4px); }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.modal__close { position: sticky; float: right; top: 14px; margin: 14px 14px 0 0; z-index: 3; width: 42px; height: 42px; border-radius: 12px; border: 0; background: #fff; font-size: 26px; line-height: 1; cursor: pointer; transition: background .2s, transform .3s var(--ease); }
.modal__close:hover { background: var(--beige); transform: rotate(90deg); }
.modal__body { display: grid; grid-template-columns: 1fr 1.1fr; gap: 34px; padding: 34px; }
.modal__art { border-radius: 22px; background: var(--c, var(--cream)); align-self: start; overflow: hidden; aspect-ratio: 3 / 2.3; }
.modal__age { display: inline-block; padding: 6px 12px; border-radius: 10px; background: var(--brand); color: #fff; font-size: 13px; font-weight: 600; }
.modal h2 { font-size: 36px; font-weight: 600; letter-spacing: -.035em; margin: 14px 0 10px; }
.modal__lead { color: var(--ink-2); }
.modal h4 { margin: 24px 0 12px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 7px 12px; border-radius: 10px; background: var(--lilac); font-size: 14px; font-weight: 500; }
.items { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.items li { display: flex; gap: 10px; font-size: 15px; }
.items svg { flex: none; width: 20px; height: 20px; color: var(--brand); margin-top: 1px; }
.items li.is-extra { color: var(--ink-2); }
.modal__cta { margin-top: 26px; }
.modal__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--brand); cursor: pointer; }
.link-btn:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ─── Плавающая кнопка ─── */
.sticky-cta {
  display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; height: 54px;
  align-items: center; justify-content: center; gap: 10px; border-radius: 14px; background: var(--brand); color: #fff; font-weight: 600;
  box-shadow: 0 14px 30px -10px rgba(156, 62, 32, .7); transform: translateY(150%); transition: transform .45s var(--ease);
}
.sticky-cta.is-visible { transform: none; }

/* ─── Появление ─── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ─── Кнопки-«пилюли» со стрелкой ─── */
.btn--xl { height: 60px; padding: 5px 5px 5px 26px; gap: 18px; font-size: 17px; font-weight: 600; border-radius: 17px; }
.btn--xl .btn__icon { width: 50px; height: 50px; border-radius: 13px; }
.btn--xl .btn__icon svg { width: 18px; height: 18px; }
.btn--light { background: #fff; box-shadow: 0 16px 34px -18px rgba(74, 31, 18, .5); }
.btn--light:hover { background: var(--beige); }
.btn--outline { padding: 0 26px; background: rgba(255, 255, 255, .4); border: 1.5px solid rgba(38, 33, 28, .28); color: var(--ink); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--outline:hover { background: #fff; }
.btn--text { padding: 0 8px; background: none; color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(38, 33, 28, .3); text-underline-offset: 5px; }
.btn--text:hover { color: var(--brand); text-decoration-color: currentColor; }
.cta__note { font-size: 13px; color: var(--ink-3); margin-top: -8px; }
.card--brand .btn--soft { background: #fff; }

/* ─── Цветные секции ─── */
.bg-sky { background: #E4F0FA; }
.bg-pink { background: #FBEAF1; }
.bg-green { background: #E5EFDC; }
.bg-sky, .bg-pink, .bg-green { z-index: 2; }
.inside { padding: 50px 0 100px; }
.skills.bg-sky { z-index: 1; padding: 64px 0 20px; }
.skills.bg-sky .marquee__track span { color: #7E97AE; }
.inside__list li.is-on, .inside__list li:hover { background: rgba(255, 255, 255, .8); }
.materials span { box-shadow: none; }
.why { padding: 90px 0 100px; }
.cta { padding: 80px 0 100px; }

/* ─── Галерея ─── */
.gallery { position: relative; padding: 110px 0 30px; }
.gallery__star { width: 70px; right: 8%; top: 70px; animation: bob 5s ease-in-out infinite; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 16px; margin-top: 46px; }
.bento__item { position: relative; margin: 0; border-radius: 26px; overflow: hidden; background: var(--beige); }
.bento__item--big { grid-column: span 2; grid-row: span 2; }
.bento__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bento__item:hover img { transform: scale(1.06); }
.bento__item figcaption { position: absolute; left: 14px; bottom: 14px; display: grid; padding: 9px 14px; border-radius: 13px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 10px 24px -14px rgba(74, 31, 18, .5); }
.bento__item figcaption b { font-size: 15px; font-weight: 600; }
.bento__item figcaption span { font-size: 12px; color: var(--ink-2); }
.bento__item--big figcaption { left: 20px; bottom: 20px; padding: 12px 18px; }
.bento__item--big figcaption b { font-size: 19px; }

/* ═══════════ Адаптив ═══════════ */
@media (max-width: 1100px) {
  .nav, .header__cta { display: none; }
  .burger { display: flex; margin-left: auto; }
  .mobile-nav { display: grid; gap: 4px; position: absolute; left: 12px; right: 12px; top: 84px; padding: 16px; border-radius: 22px; background: #fff; box-shadow: 0 30px 60px -20px rgba(74, 31, 18, .35);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s, transform .3s var(--ease), visibility .3s; }
  .mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .mobile-nav a:not(.btn) { padding: 12px 10px; font-size: 18px; font-weight: 500; border-radius: 10px; }
  .mobile-nav a:not(.btn):hover { background: var(--page); }
  .mobile-nav .btn { margin-top: 8px; justify-content: center; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .ctabs { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats__lead { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .story__grid, .cta__grid, .how__head, .cgrid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .story__grid { gap: 60px; }
  .story__visual { height: 440px; }
  .how__head p { justify-self: start; }
  .how__grid { grid-template-columns: 1fr; }
  .bcard { grid-template-columns: 1fr; gap: 20px; }
  .bcard__art { min-height: 0; aspect-ratio: 3 / 2; }
  .inside__grid, .compare { grid-template-columns: 1fr; }
  .inside__grid { gap: 30px; }
  .bcard__body { padding: 4px 6px 6px; }
  .modal__body { grid-template-columns: 1fr; padding: 24px; gap: 22px; }
  .modal__art { max-width: 340px; }
  .cta__grid { gap: 50px; }
  .cta__visual { height: 380px; }
  .footer__card { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .sticky-cta { display: flex; }
  .footer { padding-bottom: 96px; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .topbar__track { justify-content: flex-start; animation: marquee 22s linear infinite; width: max-content; }
  .topbar__track > :nth-child(n+4) { display: none; }
  .header__inner { height: 64px; }
  .logo__text { font-size: 19px; }
  .logo__mark { width: 38px; height: 28px; }
  .mobile-nav { top: 76px; }
  .hero__content { padding: 70px 0 60px; }
  .hero__lead { font-size: 16px; }
  .hero { min-height: 760px; }
  .hero__title { font-size: 34px; }
  .hero__lead { font-size: 15px; margin-top: 14px; }
  .hero__cta { flex-wrap: nowrap; gap: 8px; margin-top: 22px; }
  .hero__cta .btn--xl { height: 52px; font-size: 15px; gap: 10px; }
  .hero__cta .btn--soft.btn--xl { padding-left: 16px; }
  .hero__cta .btn--xl .btn__icon { width: 42px; height: 42px; }
  .hero__cta .btn--outline { padding: 0 16px; }
  .btn--xl { font-size: 16px; }
  .bento { grid-auto-rows: 170px; gap: 10px; margin-top: 30px; }
  .bento__item { border-radius: 18px; }
  .bento__item figcaption { left: 8px; bottom: 8px; padding: 6px 10px; }
  .bento__item figcaption b { font-size: 13px; }
  .bento__item--big figcaption b { font-size: 16px; }
  .gallery { padding: 80px 0 20px; }
  .gallery__star { display: none; }
  .hero__media img { object-position: 50% 100%; }
  .hero__content { padding: 44px 0 40px; }
  .hero__cta .btn { justify-content: center; }
  .lead-form { grid-template-columns: 1fr; padding: 16px; }
  .intro { padding: 50px 0 90px; }
  .intro__flower { width: 70px; left: -10px; top: 10px; }
  .intro__star { width: 56px; right: 4px; top: auto; bottom: 46%; }
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 18px; padding: 30px 22px; margin-top: 50px; border-radius: 26px; }
  .stats h2 { font-size: 30px; }
  .stats__item span { font-size: 12px; }
  .marquee__track span { font-size: 17px; }
  .story { padding: 60px 0 110px; }
  .story__visual { height: 380px; }
  .quote { width: 230px; padding: 16px; right: 0; bottom: -30px; }
  .quote blockquote { font-size: 15px; }
  .story__blob { width: 150px; }
  .story__feats { grid-template-columns: 1fr; gap: 20px; }
  .boxes { padding: 60px 0 70px; }
  .boxes__blob, .boxes__dash { display: none; }
  .picker { padding: 18px 18px 14px; }
  .picker__age { font-size: 20px; }
  .carousel { gap: 12px; padding: 28px 16px 6px; scroll-padding: 0 16px; }
  .bcard { width: calc(100vw - 32px); padding: 12px; border-radius: 24px; opacity: 1; transform: none; }
  .bcard__actions .btn { flex: 1; justify-content: center; }
  .bcard__actions .btn--soft { justify-content: space-between; }
  .catalog { padding: 60px 0 70px; }
  .catalog__blob, .catalog__dash { display: none; }
  .ctabs { display: flex; overflow-x: auto; gap: 8px; margin: 28px -16px 0; padding: 4px 16px 10px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .ctabs::-webkit-scrollbar { display: none; }
  .ctab { flex: none; width: 150px; padding: 13px 14px 12px; scroll-snap-align: start; }
  .ctab b { font-size: 18px; }
  .cstage { margin: 18px 0 16px; }
  .cstage h3 { font-size: 21px; }
  .cstage p { font-size: 15px; }
  .cgrid { gap: 16px; }
  .pcard { border-radius: 22px; }
  .pcard__body { padding: 18px 18px 20px; }
  .pcard h3 { font-size: 23px; }
  .pcard__peek { opacity: 1; transform: translate(-50%, 0); font-size: 13px; padding: 8px 12px; bottom: 12px; }
  .pcard__actions .btn { flex: 1; justify-content: center; }
  .pcard__actions .btn--soft { justify-content: space-between; }
  .inside { padding: 70px 0 20px; }
  .inside__list li { padding: 12px 6px; }
  .pin { width: 32px; height: 32px; font-size: 13px; }
  .materials { justify-content: flex-start; }
  .compare__col { padding: 24px 20px; border-radius: 22px; }
  .compare__col h3 { font-size: 21px; }
  .compare__col li { font-size: 15px; }
  .bcard h3 { font-size: 27px; }
  .bcard__stats b { font-size: 24px; }
  .bcard__stats div { padding: 0 10px; }
  .photo-band { padding-top: 90px; }
  .photo-band__media { width: calc(100% - 32px); aspect-ratio: 4 / 4.2; border-radius: 26px; }
  .photo-band__badge { top: 16px; bottom: auto; left: 16px; }
  .ribbon { margin-top: -60px; height: 110px; }
  .ribbon__band { stroke-width: 70; }
  .ribbon__text { font-size: 34px; }
  .how { padding: 110px 0 80px; margin-top: -40px; }
  .step { flex-direction: column; gap: 16px; }
  .step__num { width: 64px; height: 70px; }
  .why { padding: 80px 0 40px; }
  .why__grid { grid-template-columns: 1fr; }
  .cta { padding: 60px 0 70px; }
  .cta__visual { height: 320px; }
  .faq { padding: 50px 0 90px; }
  .faq summary { font-size: 16px; padding: 18px 16px 18px 20px; }
  .faq details p { padding: 0 20px 20px; }
  .final { min-height: 560px; }
  .footer__card { grid-template-columns: 1fr 1fr; padding: 28px 22px 20px; gap: 28px; }
  .footer__bottom { flex-direction: column; gap: 8px; }
}

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

/* Фото распаковки 4:3 (как во второй версии) */
.inside__photo { aspect-ratio: 4 / 3; }
.inside__photo img { object-position: center; }
/* Финальный экран: заголовок над лицами */
.final { min-height: 840px; }
.final__media img { object-position: 50% 100%; }
@media (max-width: 600px) { .final { min-height: 620px; } .final__media img { object-position: 55% 100%; } }

/* ═══════════ Окно набора (новый дизайн) ═══════════ */
.modal { width: min(1140px, 100% - 40px); max-height: none; height: min(800px, 100dvh - 40px); overflow: hidden; border-radius: 34px; background: var(--page); }
.modal[open] { animation: mxIn .55s var(--ease); }
@keyframes mxIn { from { opacity: 0; transform: translateY(30px) scale(.96); } }
.modal::backdrop { background: rgba(38, 25, 15, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.modal__close { position: absolute; float: none; top: 18px; right: 18px; margin: 0; z-index: 5; width: 46px; height: 46px; border-radius: 14px; background: #fff; box-shadow: 0 8px 20px -10px rgba(74, 31, 18, .4); }
.modal__body { display: block; padding: 0; height: 100%; }
.mx { display: grid; grid-template-columns: 1.02fr 1fr; height: 100%; }

/* фото */
.mx__media { position: relative; margin: 14px 0 14px 14px; border-radius: 26px; overflow: hidden; background: var(--c); }
.mx__media .boxphoto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: mxZoom 1.2s var(--ease) both; }
.mx__media .boxart-fallback { position: absolute; inset: 0; }
@keyframes mxZoom { from { transform: scale(1.08); } }
.mx__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(38, 22, 12, 0) 45%, rgba(38, 22, 12, .55)); pointer-events: none; }
.mx__age { position: absolute; z-index: 2; left: 18px; top: 18px; padding: 8px 14px; border-radius: 12px; background: var(--brand); color: #fff; font-size: 15px; font-weight: 600; box-shadow: 0 8px 20px -10px rgba(156, 62, 32, .7); }
.mx__count { position: absolute; z-index: 2; right: 18px; top: 18px; display: grid; justify-items: center; min-width: 96px; padding: 10px 14px 9px; border-radius: 16px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 13px; font-weight: 600; text-align: center; line-height: 1.15; }
.mx__count b { font-size: 30px; line-height: 1; letter-spacing: -.04em; color: var(--brand); }
.mx__count small { margin-top: 3px; font-size: 11px; font-weight: 500; color: var(--ink-2); }
.mx__why { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 18px; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 16px 40px -20px rgba(38, 22, 12, .6); animation: rise .7s .2s var(--ease) both; }
.mx__why-label { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--brand); margin-bottom: 6px; }
.mx__why-label svg { width: 22px; height: 17px; }
.mx__why p { font-size: 15px; line-height: 1.45; color: var(--ink); }

/* правая колонка */
.mx__info { display: flex; flex-direction: column; min-height: 0; }
.mx__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 34px 40px 20px 36px; scrollbar-width: thin; }
.mx__stage { display: inline-block; font-size: 13px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; padding-right: 60px; }
.mx h2 { font-size: clamp(30px, 3vw, 42px); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; margin: 10px 0 18px; }
.mx__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 5px; border-radius: 16px; background: var(--beige); }
.mx__steps button { display: grid; gap: 2px; padding: 8px 8px 7px; border: 0; border-radius: 12px; background: transparent; font: inherit; text-align: left; cursor: pointer; transition: background .2s, transform .2s; min-width: 0; }
.mx__steps button b { font-size: 12.5px; font-weight: 700; color: var(--brand); }
.mx__steps button span { font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mx__steps button:hover { background: rgba(255, 255, 255, .6); }
.mx__steps button.is-on { background: #fff; box-shadow: 0 6px 16px -10px rgba(74, 31, 18, .45); }
.mx__steps button.is-on span { color: var(--ink); font-weight: 600; }
.mx__lead { display: none; margin-top: 16px; font-size: 16px; color: var(--ink-2); }
.mx h4 { display: flex; align-items: center; gap: 10px; margin: 26px 0 12px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); }
.mx h4 em { font-style: normal; padding: 3px 9px; border-radius: 8px; background: var(--orange-soft, #FCE3C8); color: var(--brand); font-size: 12px; letter-spacing: 0; text-transform: none; }
.mx__skills { display: flex; flex-wrap: wrap; gap: 8px; }
.mx__skills span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: var(--t); font-size: 14.5px; font-weight: 600; }
.mx__skills i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); opacity: .55; }
.mx__items { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mx__items li { display: flex; align-items: flex-start; gap: 11px; padding: 12px 14px; border-radius: 16px; background: #fff; font-size: 14.5px; line-height: 1.35; box-shadow: 0 0 0 1px rgba(234, 227, 216, .9); animation: cardIn .5s var(--ease) both; }
.mx__items li:nth-child(2) { animation-delay: .04s; } .mx__items li:nth-child(3) { animation-delay: .08s; } .mx__items li:nth-child(4) { animation-delay: .12s; }
.mx__items li:nth-child(5) { animation-delay: .16s; } .mx__items li:nth-child(6) { animation-delay: .2s; } .mx__items li:nth-child(7) { animation-delay: .24s; } .mx__items li:nth-child(8) { animation-delay: .28s; }
.mx__items li > span { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 9px; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; }
.mx__items li.is-guide { grid-column: 1 / -1; background: #E5EFDC; box-shadow: none; font-weight: 500; }
.mx__items li.is-guide > span { background: #6E8D5E; }
.mx__items li.is-guide svg { width: 15px; height: 15px; }

/* нижняя панель */
.mx__bar { display: flex; align-items: center; gap: 10px; padding: 14px 36px 18px; border-top: 1px solid var(--beige); background: var(--page); }
.mx__order { flex: 1; justify-content: space-between; }
.mx__arrow { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border: 1.5px solid var(--beige-2); border-radius: 16px; background: #fff; color: var(--ink); cursor: pointer; transition: background .2s, transform .2s, border-color .2s; }
.mx__arrow svg { width: 18px; height: 18px; }
.mx__arrow:hover:not(:disabled) { border-color: var(--ink); transform: translateY(-2px); }
.mx__arrow:disabled { opacity: .35; cursor: default; }

@media (max-width: 900px) {
  .modal { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .modal[open] { animation: mxSheet .45s var(--ease); }
  @keyframes mxSheet { from { transform: translateY(40px); opacity: 0; } }
  .mx { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .mx__media { margin: 10px 10px 0; height: 38dvh; min-height: 240px; border-radius: 22px; }
  .mx__why { display: none; }
  .mx__lead { display: block; }
  .mx__scroll { padding: 20px 20px 16px; }
  .mx h2 { font-size: 28px; margin-bottom: 14px; }
  .mx__steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mx__steps button span { display: none; }
  .mx__steps button b { font-size: 12px; text-align: center; }
  .mx__items { grid-template-columns: 1fr; }
  .mx__bar { padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); }
  .mx__arrow { width: 48px; height: 48px; }
  .mx__count { min-width: 80px; padding: 8px 10px; }
  .mx__count b { font-size: 24px; }
  .modal__close { top: 18px; right: 18px; }
}
@media (max-width: 900px) { .mx__count { top: auto; bottom: 12px; right: 12px; } }
.mx__info, .mx__scroll, .mx__media { min-width: 0; }
@media (max-width: 900px) {
  .modal { inset: 0; width: 100vw; max-width: 100vw; }
  .mx { grid-template-columns: minmax(0, 1fr); }
  .mx__bar { min-width: 0; }
  .mx__order { min-width: 0; padding-left: 16px; }
}
.mx__order .btn__icon { flex: none; }
@media (max-width: 900px) { .mx__order { font-size: 15px; gap: 10px; } .mx__order .btn__icon { width: 44px; height: 44px; } }

/* ═══════════ «Что внутри»: акцент на выбранном пункте ═══════════ */
.inside__photo img { transition: transform 1.1s var(--ease); transform-origin: var(--zx, 50%) var(--zy, 50%); }
.inside__photo.is-focus img { transform: scale(1.14); }
.inside__photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--zx, 50%) var(--zy, 50%), transparent 0 16%, rgba(38, 22, 12, .28) 48%); opacity: 0; transition: opacity .6s; }
.inside__photo.is-focus::after { opacity: 1; }
.pin { z-index: 2; transition: transform .35s var(--ease), background .25s, opacity .3s; }
.inside__photo.is-focus .pin:not(.is-on) { opacity: .55; transform: translate(-50%, -50%) scale(.85); }
.pin.is-on { background: var(--brand); transform: translate(-50%, -50%) scale(1.3); box-shadow: 0 0 0 6px rgba(255, 255, 255, .55), 0 10px 24px rgba(74, 31, 18, .45); }
.inside__list li { position: relative; cursor: pointer; border: 1.5px solid transparent; transition: background .35s, border-color .35s, box-shadow .35s, transform .45s var(--ease); }
.inside__list li::before { content: ""; position: absolute; left: -1.5px; top: 16px; bottom: 16px; width: 4px; border-radius: 0 4px 4px 0; background: var(--brand); transform: scaleY(0); transition: transform .4s var(--ease); }
.inside__list li:hover { background: rgba(255, 255, 255, .45); }
.inside__list li.is-on { background: #fff; border-color: rgba(184, 77, 43, .55); box-shadow: 0 22px 44px -26px rgba(156, 62, 32, .6); transform: translateX(8px); }
.inside__list li.is-on::before { transform: scaleY(1); }
.inside__list li.is-on h3 { color: var(--brand); }
.inside__list li.is-on p { color: var(--ink); }
.inside__num { transition: transform .4s var(--ease), box-shadow .4s, background .3s; }
.inside__list li:not(.is-on) .inside__num { background: #D9CFC1; color: var(--ink-2); }
.inside__list li.is-on .inside__num { transform: scale(1.12); box-shadow: 0 0 0 6px rgba(184, 77, 43, .15); }
@media (max-width: 600px) { .inside__list li.is-on { transform: none; } }
/* Первый экран повторяет пропорции фото (16:9), чтобы стена под заголовком всегда была видна */
@media (min-width: 601px) { .hero { min-height: clamp(640px, 56.25vw, 940px); } }
@media (min-width: 601px) and (max-width: 1100px) { .hero__title { font-size: clamp(34px, 5.4vw, 56px); } .hero__content { padding-top: 70px; } }

/* ═══════════ Форма заявки ═══════════ */
.lead-card { width: 100%; max-width: 560px; padding: 26px; border-radius: 28px; background: #fff; box-shadow: 0 30px 70px -40px rgba(74, 31, 18, .55), 0 0 0 1px rgba(234, 227, 216, .7); position: relative; }
.lead-card::before { content: ""; position: absolute; right: -14px; top: -14px; width: 64px; height: 64px; border-radius: 50%; background: var(--sun); z-index: -1; }
.lform { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lform__field { display: grid; gap: 7px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.lform__field i { font-style: normal; font-weight: 500; color: var(--ink-3); }
.lform__field--wide, .lform__submit, .lform__note, .lform__error, .lform__box { grid-column: 1 / -1; }
.lform input, .lform textarea {
  width: 100%; padding: 15px 16px; border: 1.5px solid var(--beige-2); border-radius: 14px; background: var(--page);
  font: inherit; font-size: 16px; font-weight: 500; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; resize: vertical;
}
.lform textarea { min-height: 84px; }
.lform input::placeholder, .lform textarea::placeholder { color: #B4A898; font-weight: 400; }
.lform input:focus, .lform textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(184, 77, 43, .14); }
.lform__field.is-bad input { border-color: #D2452B; background: #FFF6F3; animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.lform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lform__submit { justify-content: space-between; margin-top: 4px; }
.lform__submit:disabled { opacity: .75; cursor: progress; }
.lform__submit.is-loading .btn__icon svg { animation: spinArr 0.9s linear infinite; }
@keyframes spinArr { to { transform: rotate(360deg); } }
.lform__note { font-size: 12px; color: var(--ink-3); line-height: 1.45; }
.lform__error { padding: 11px 14px; border-radius: 12px; background: #FDEBE6; color: #9C2F1A; font-size: 14px; font-weight: 500; }
.lform__error a { text-decoration: underline; }
.lform__box { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 16px; background: var(--cream); }
.lform__box img { width: 76px; height: 52px; object-fit: cover; border-radius: 10px; }
.lform__box small { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--brand); }
.lform__box b { font-size: 15px; font-weight: 600; }
.lform__done { display: grid; justify-items: center; gap: 10px; padding: 22px 8px 8px; text-align: center; animation: rise .5s var(--ease) both; }
.lform__done h3 { font-size: 26px; font-weight: 600; letter-spacing: -.03em; }
.lform__done p { color: var(--ink-2); max-width: 360px; margin-bottom: 8px; }
.lform__check svg { width: 76px; height: 76px; }
.lform__check circle { fill: #E5EFDC; stroke: #6E8D5E; stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: 151; animation: drawC .6s var(--ease) forwards; }
.lform__check path { fill: none; stroke: #4E7A3E; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: drawC .45s .45s var(--ease) forwards; }
@keyframes drawC { to { stroke-dashoffset: 0; } }

/* всплывающее окно заявки */
.lead-modal { width: min(560px, 100% - 32px); max-height: calc(100dvh - 32px); overflow: auto; padding: 30px; border: 0; border-radius: 30px; background: #fff; color: var(--ink); box-shadow: 0 40px 90px -30px rgba(38, 22, 12, .6); }
.lead-modal[open] { animation: mxIn .45s var(--ease); }
.lead-modal::backdrop { background: rgba(38, 25, 15, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lead-modal__close { position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--page); font-size: 24px; cursor: pointer; transition: background .2s, transform .3s var(--ease); }
.lead-modal__close:hover { background: var(--beige); transform: rotate(90deg); }
.lead-modal__head { display: grid; justify-items: start; gap: 8px; margin-bottom: 20px; padding-right: 40px; }
.lead-modal__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--orange-soft, #FCE3C8); color: var(--brand); }
.lead-modal__icon svg { width: 30px; height: 23px; }
.lead-modal h2 { font-size: 26px; font-weight: 600; letter-spacing: -.035em; line-height: 1.12; }
.lead-modal__head p { color: var(--ink-2); font-size: 15px; }

/* мелочи вокруг формы */
.link-lead { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--brand); cursor: pointer; }
.link-lead:hover { text-decoration: underline; text-underline-offset: 3px; }
.final__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.final__cta .btn--glass { padding: 0 22px; }
.mx__tg { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: #E4F0FA; color: #2F7FC1; transition: transform .2s, background .2s; }
.mx__tg:hover { transform: translateY(-2px); background: #D3E7F8; }
.mx__tg svg { width: 22px; height: 22px; }
.cta__text .lead-card { margin-top: 6px; }

@media (max-width: 600px) {
  .lead-card { padding: 18px; border-radius: 22px; }
  .lform { grid-template-columns: 1fr; }
  .lead-modal { padding: 22px 18px; border-radius: 24px; }
  .lead-modal h2 { font-size: 22px; }
  .mx__tg { width: 48px; height: 48px; }
  .final__cta .btn { width: 100%; justify-content: center; max-width: 320px; }
}
.lform[hidden], .lform__done[hidden], .lform__error[hidden] { display: none !important; }

/* ═══════════ Согласие в форме ═══════════ */
.lform__agree { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 11px; font-size: 13px; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.lform__agree input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lform__tick { flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border: 1.5px solid var(--beige-2); border-radius: 7px; background: var(--page); transition: background .2s, border-color .2s; }
.lform__tick svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .15s; }
.lform__agree input:checked + .lform__tick { background: var(--brand); border-color: var(--brand); }
.lform__agree input:checked + .lform__tick svg { opacity: 1; }
.lform__agree input:focus-visible + .lform__tick { box-shadow: 0 0 0 4px rgba(184, 77, 43, .2); }
.lform__agree.is-bad .lform__tick { border-color: #D2452B; background: #FFF6F3; animation: shake .35s; }
.lform__agree a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.footer__docs { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; }
.footer__docs a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(90, 81, 71, .35); }
.footer__bottom { flex-wrap: wrap; gap: 10px 20px; }

/* ═══════════ Юридические страницы ═══════════ */
.legal-page { background: var(--page); }
.legal-top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--beige); }
.legal-top__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.legal-back { font-size: 15px; font-weight: 600; color: var(--brand); }
.legal { padding: 56px 0 80px; }
.legal__inner { max-width: 820px; }
.legal__tag { display: inline-block; padding: 6px 12px; border-radius: 99px; background: var(--orange-soft, #FCE3C8); color: var(--brand); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.legal h1 { margin: 14px 0 8px; font-size: clamp(28px, 4vw, 44px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.legal__meta { color: var(--ink-3); font-size: 14px; margin-bottom: 26px; }
.legal__toc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 22px; padding: 22px 24px; margin-bottom: 30px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px var(--beige); font-size: 14.5px; }
.legal__toc a:hover { color: var(--brand); }
.legal section { padding: 22px 0; border-top: 1px solid var(--beige); scroll-margin-top: 90px; }
.legal h2 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 12px; }
.legal p, .legal li { font-size: 16px; line-height: 1.65; color: #3D352D; }
.legal p + p { margin-top: 8px; }
.legal ul { margin: 8px 0; padding-left: 22px; display: grid; gap: 4px; }
.legal a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.legal__card { padding: 20px 22px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--beige); display: grid; gap: 4px; }
.legal__todo { padding: 1px 8px; border-radius: 6px; background: #FFF0A8; color: #7A5B00; font-weight: 600; }
.legal-foot { padding: 26px 0 40px; border-top: 1px solid var(--beige); font-size: 14px; color: var(--ink-2); }
.legal-foot .container { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.legal-foot a { text-decoration: underline; text-underline-offset: 3px; }
.legal-foot span { margin-left: auto; }
@media (max-width: 600px) { .legal__toc { grid-template-columns: 1fr; } .legal { padding: 36px 0 60px; } .legal-foot span { margin-left: 0; } }
.lform__box { order: -1; }
.lform__agree { order: 1; }
.lform__submit { order: 2; }
.lform__error { order: 3; }

/* ═══════════ Мобильные правки: декор и компактный каталог 2×2 ═══════════ */
.pcard__meta { display: none; }
@media (max-width: 600px) {
  .intro__star, .intro__flower { display: none; }
  .cgrid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pcard { border-radius: 18px; }
  .pcard:hover { transform: none; }
  .pcard__photo { aspect-ratio: 1 / 1; }
  .pcard__age { left: 8px; top: 8px; padding: 4px 8px; border-radius: 8px; font-size: 11.5px; }
  .pcard__peek { display: none; }
  .pcard__body { padding: 10px 11px 12px; }
  .pcard h3 { font-size: 15.5px; line-height: 1.2; letter-spacing: -.02em; }
  .pcard__meta { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-2); }
  .pcard__lead, .pcard__items { display: none; }
  .pcard__actions { flex-direction: column; gap: 4px; padding-top: 10px; }
  .pcard__actions .btn--soft { width: 100%; height: 40px; padding: 3px 3px 3px 12px; gap: 6px; border-radius: 12px; font-size: 13.5px; justify-content: space-between; }
  .pcard__actions .btn--soft .btn__icon { width: 34px; height: 34px; border-radius: 9px; }
  .pcard__actions .btn--text { height: 28px; padding: 0; font-size: 12.5px; justify-content: center; }
  .cstage p { font-size: 14px; }
}
