/* Стилистика детского центра «Пластилин»: кремовая бумага, зелёный, жёлтый маркер, рукописные пометки. */
:root {
  --paper: #fbf7ec;
  --paper-2: #f3eddb;
  --card: #fff;
  --ink: #17251b;
  --ink-soft: #4d5b50;
  --forest: #1d4a2a;
  --forest-deep: #11301a;
  --grass: #2a8431;
  --grass-dark: #1f6a26;
  --leaf: #6cc04a;
  --lime: #d3e87a;
  --lime-soft: #edf4cf;
  --sun: #ffd23f;
  --sun-soft: #fff3c2;
  --line: rgba(23, 37, 27, .12);
  --radius: 28px;
  --radius-sm: 16px;
  --shadow: 0 1px 2px rgba(23, 37, 27, .06), 0 12px 32px -12px rgba(23, 37, 27, .22);
  --shadow-lift: 0 2px 4px rgba(23, 37, 27, .08), 0 24px 44px -16px rgba(23, 37, 27, .32);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: 'Nunito', 'Trebuchet MS', Arial, sans-serif;
  --hand: 'Caveat', 'Segoe Script', cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; font-family: var(--font); font-size: 18px; line-height: 1.55; color: var(--ink); background: var(--paper); overflow-x: clip; }
img, video, svg { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3, p, ul, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.sr, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: var(--sun); color: var(--ink); }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; margin-top: 44px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- появление при прокрутке (только если работает JS) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- кнопки: «пластилиновые», с нажатием ---------- */
.btn { --edge: var(--grass-dark); display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border: 0; border-radius: 999px; font-weight: 800; font-size: 17px; line-height: 1.2; text-decoration: none; text-align: center; box-shadow: 0 4px 0 var(--edge); transition: transform .15s var(--ease), box-shadow .15s var(--ease), background-color .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--edge); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--edge); }
.btn .ico { transition: transform .2s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn--primary { background: var(--grass); color: #fff; }
.btn--ghost { --edge: #d9d2bc; background: var(--card); color: var(--ink); }
.btn--dark { --edge: #060f08; background: var(--forest-deep); color: #fff; }
.btn--lg { padding: 18px 32px; font-size: 19px; }
.btn--sm { padding: 10px 18px; font-size: 15px; box-shadow: 0 3px 0 var(--edge); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }
:focus-visible { outline: 3px solid var(--grass); outline-offset: 3px; border-radius: 6px; }
.section--forest :focus-visible, .footer :focus-visible { outline-color: var(--sun); }

/* ---------- шапка: плавающая «таблетка» ---------- */
.header { position: fixed; inset: 12px 0 auto 0; z-index: 50; pointer-events: none; }
.header__in { pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; padding: 8px 10px 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line); box-shadow: 0 6px 24px -14px rgba(23, 37, 27, .35); transition: box-shadow .25s, background-color .25s; }
.header.is-scrolled .header__in { background: rgba(255, 255, 255, .95); box-shadow: 0 10px 30px -14px rgba(23, 37, 27, .5); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 46% 54% 52% 48% / 55% 45% 55% 45%; background: var(--grass); color: #fff; transition: transform .4s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-10deg) scale(1.06); }
.logo__mark .doodle { position: static; width: 28px; color: inherit; animation: none; stroke-width: 6; }
.logo__text { display: grid; line-height: 1.05; }
.logo__text b { font-weight: 900; font-size: 18px; }
.logo__text small { font-size: 12.5px; font-weight: 700; color: var(--ink-soft); }
.nav { display: flex; gap: 4px; font-weight: 700; font-size: 16px; }
.nav a { white-space: nowrap; padding: 8px 14px; border-radius: 999px; text-decoration: none; transition: background-color .2s; }
.nav a:hover { background: var(--lime-soft); }
.header__right { display: flex; align-items: center; gap: 10px; }
.icon-link { width: 38px; height: 38px; padding: 8px; border-radius: 50%; color: var(--grass); display: inline-flex; transition: background-color .2s, transform .2s var(--ease); }
.icon-link:hover { background: var(--lime-soft); transform: translateY(-2px); }
.icon-link svg { width: 100%; height: 100%; }
.burger { display: none; width: 46px; height: 46px; padding: 13px 11px; background: var(--lime-soft); border: 0; border-radius: 50%; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 3px; border-radius: 2px; background: var(--forest); transition: transform .25s var(--ease), opacity .2s; transform-origin: center; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ---------- маркер и рукописные пометки ---------- */
.mark { position: relative; z-index: 0; white-space: nowrap; }
.mark::before { content: ''; position: absolute; z-index: -1; inset: 8% -.18em 2% -.18em; background: var(--sun); border-radius: .5em .2em .55em .25em / .3em .5em .25em .45em; transform: rotate(-1.2deg); transform-origin: left center; }
.js [data-reveal] .mark::before, .js [data-reveal].section__title .mark::before { transform: rotate(-1.2deg) scaleX(0); transition: transform .7s var(--ease) .25s; }
.js [data-reveal].is-in .mark::before { transform: rotate(-1.2deg) scaleX(1); }
.hero .mark::before { animation: swipe .8s var(--ease) .35s both; }
@keyframes swipe { from { transform: rotate(-1.2deg) scaleX(0); } to { transform: rotate(-1.2deg) scaleX(1); } }
.section--forest .mark { color: var(--forest-deep); }
.section--sun .mark::before { background: #fff; }

.kicker, .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--grass); }
.kicker { padding: 8px 16px; border-radius: 999px; background: var(--lime-soft); color: var(--forest); letter-spacing: .04em; text-transform: none; font-size: 15px; }
.kicker::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 0 rgba(108, 192, 74, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70%, 100% { box-shadow: 0 0 0 9px rgba(108, 192, 74, 0); } }
.eyebrow--light { color: var(--lime); }

.doodle { position: absolute; pointer-events: none; }
.doodle--star { width: 34px; color: var(--sun); animation: twinkle 3.2s ease-in-out infinite; }
.doodle--plane { width: 110px; color: var(--grass); }
.doodle--heart { width: 30px; color: var(--grass); }
.doodle--squiggle { width: 110px; color: var(--sun); }
@keyframes twinkle { 50% { transform: scale(.72) rotate(18deg); opacity: .7; } }

/* ---------- первый экран ---------- */
.hero { position: relative; padding-block: 132px 76px; background: radial-gradient(rgba(29, 74, 42, .09) 1.2px, transparent 1.3px) 0 0 / 22px 22px; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 40px; align-items: center; }
.hero__text > * { animation: rise .7s var(--ease) both; }
.hero__text > :nth-child(2) { animation-delay: .08s; }
.hero__text > :nth-child(3) { animation-delay: .16s; }
.hero__text > :nth-child(4) { animation-delay: .22s; }
.hero__text > :nth-child(5) { animation-delay: .28s; }
.hero__text > :nth-child(6) { animation-delay: .34s; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
.hero h1 { margin-top: 20px; font-size: clamp(36px, 4.9vw, 64px); line-height: 1.06; font-weight: 900; letter-spacing: -.02em; }
.hero__lead { margin-top: 22px; max-width: 34em; font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-soft); }
.hero__list { margin-top: 22px; display: grid; gap: 10px; font-weight: 700; }
.hero__list li { display: flex; align-items: center; gap: 12px; }
.tick { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--lime); color: var(--forest-deep); }
.tick .ico { width: 16px; height: 16px; stroke-width: 3; }
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 16px; }
.stats { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px 36px; padding-top: 24px; border-top: 2px dashed var(--line); }
.stats li { display: grid; }
.stats b { font-size: 30px; font-weight: 900; line-height: 1.1; white-space: nowrap; }
.stats span { font-size: 15px; color: var(--ink-soft); }

.hero__art { position: relative; height: 590px; animation: rise .9s var(--ease) .2s both; }
.snap { position: absolute; width: 62%; padding: 10px 10px 0; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lift); rotate: var(--r); animation: float 7s ease-in-out infinite; transition: scale .35s var(--ease); }
.snap:hover { scale: 1.04; z-index: 3; }
.snap img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: var(--paper-2); }
.snap figcaption { padding: 6px 4px 10px; font-family: var(--hand); font-weight: 700; font-size: 25px; line-height: 1.1; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.snap::before { content: ''; position: absolute; top: -13px; left: 50%; width: 92px; height: 26px; margin-left: -46px; background: rgba(255, 210, 63, .85); rotate: -3deg; border-radius: 2px; }
.snap--1 { --r: -5deg; top: 8px; left: 0; z-index: 2; }
.snap--2 { --r: 6deg; top: 150px; right: 0; animation-delay: -2.4s; }
.snap--2::before { background: rgba(108, 192, 74, .75); rotate: 4deg; }
.snap--3 { --r: -3deg; bottom: 0; left: 9%; width: 54%; animation-delay: -4.6s; z-index: 2; }
@keyframes float { 50% { translate: 0 -10px; } }
.hero__note { position: absolute; top: 44px; right: 2%; rotate: 7deg; font-family: var(--hand); font-weight: 700; font-size: 30px; line-height: 1; color: var(--forest); text-align: center; max-width: 190px; }
.hero__note .doodle { position: static; margin: 6px auto 0; }
.hero__art > .doodle--plane { right: 6%; bottom: 26px; rotate: -8deg; animation: drift 8s ease-in-out infinite; }
@keyframes drift { 50% { translate: 12px -14px; rotate: -3deg; } }
.hero__art > .doodle--star:nth-of-type(1) { left: 56%; top: 0; }
.hero__art > .doodle--star { left: -3%; top: 58%; width: 26px; animation-delay: -1.4s; }
.hero__art > .doodle--heart { right: 30%; bottom: 150px; rotate: 12deg; }

/* ---------- бегущая строка с названиями смен ---------- */
.ticker { position: relative; z-index: 1; margin-block: 6px -22px; padding-block: 15px; background: var(--forest); color: #fff; overflow: hidden; rotate: -1.2deg; scale: 1.02; }
.ticker__track { display: flex; width: max-content; animation: ticker 60s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__set { display: flex; align-items: center; gap: 22px; padding-right: 22px; font-weight: 800; font-size: 19px; white-space: nowrap; }
.ticker .doodle { position: static; width: 18px; animation: none; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- секции ---------- */
.section { position: relative; padding-block: 104px; }
.section--paper { background: var(--card); border-radius: 56px; }
.section--lime { background: var(--lime-soft); border-radius: 56px; }
.section--sun { background: var(--sun-soft); border-radius: 56px; }
.section--forest { background: var(--forest); color: #fff; border-radius: 56px; }
.section__head { max-width: 780px; margin: 0 auto 44px; text-align: center; }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; text-align: left; }
.section__title { margin-top: 10px; font-size: clamp(30px, 3.7vw, 48px); line-height: 1.12; font-weight: 900; letter-spacing: -.015em; }
.section__title--left { text-align: left; }
.section__sub { margin-top: 16px; font-size: 20px; color: var(--ink-soft); text-wrap: pretty; }
.lead { margin-top: 16px; font-size: 20px; }
.prose { text-wrap: pretty; }
.prose p + p { margin-top: 16px; }

/* ---------- об авторе ---------- */
.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: center; }
.about__photo { position: relative; max-width: 380px; justify-self: center; }
.about__frame { padding: 12px; background: #fff; border-radius: 22px; box-shadow: var(--shadow-lift); rotate: -3deg; transition: rotate .5s var(--ease); }
.about__photo:hover .about__frame { rotate: -1deg; }
.about__frame::before { content: ''; position: absolute; top: -14px; left: 50%; width: 120px; height: 30px; margin-left: -60px; background: rgba(255, 210, 63, .85); rotate: 3deg; border-radius: 2px; }
.about__frame img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 22%; border-radius: 14px; background: var(--paper-2); }
.about__sign { position: relative; margin-top: 18px; padding-right: 40px; font-family: var(--hand); font-weight: 700; font-size: 30px; text-align: center; color: var(--forest); rotate: -2deg; }
.about__sign .doodle { right: 12%; top: 4px; }
.about__text .prose { margin-top: 22px; color: var(--ink-soft); }
.about__text .prose p:first-child { color: var(--ink); font-size: 20px; font-weight: 600; }
.facts { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.facts li { padding: 18px 20px; border-radius: var(--radius-sm); background: var(--lime-soft); display: grid; gap: 2px; }
.facts li:nth-child(2) { background: var(--sun-soft); }
.facts b { font-size: 28px; font-weight: 900; line-height: 1.1; color: var(--forest); }
.facts span { font-size: 15px; color: var(--ink-soft); }

/* ---------- каталог смен ---------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -12px 0 36px; }
.chip { padding: 10px 20px; border: 2px solid var(--line); border-radius: 999px; background: transparent; font-weight: 800; font-size: 16px; transition: background-color .2s, border-color .2s, color .2s; }
.chip:hover { border-color: var(--grass); }
.chip.is-active { background: var(--forest); border-color: var(--forest); color: #fff; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cards__empty { text-align: center; color: var(--ink-soft); }
.card { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.js .card[data-reveal].is-in { transition: opacity .6s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); transition-delay: calc(var(--i, 0) * 70ms), 0s, 0s; }
.card:hover { transform: translateY(-6px) !important; box-shadow: var(--shadow-lift); }
.card__media { position: relative; aspect-ratio: 366 / 218; background: var(--paper-2); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.badge-new { position: absolute; top: 12px; right: 12px; padding: 6px 14px; border-radius: 999px; background: var(--sun); font-weight: 900; font-size: 14px; letter-spacing: .06em; color: var(--ink); rotate: 6deg; box-shadow: 0 3px 0 rgba(23, 37, 27, .22); }
.pill { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px 5px 9px; border-radius: 999px; background: rgba(255, 255, 255, .94); font-size: 15px; font-weight: 800; }
.pill .ico { color: var(--grass); }
.card__body { flex: 1; display: flex; flex-direction: column; padding: 22px 22px 24px; }
.card h3 { font-size: 22px; line-height: 1.2; font-weight: 900; }
.card__desc { margin-top: 10px; font-size: 16px; line-height: 1.45; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.card__price { margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.price { font-size: 22px; font-weight: 900; }
.price-old { font-size: 16px; color: var(--ink-soft); text-decoration-color: #e2553d; text-decoration-thickness: 2px; }
.card__actions { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card__actions .btn { padding-inline: 10px; }

/* ---------- что входит ---------- */
.included { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.checklist { margin-top: 28px; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; }
.checklist .tick { margin-top: 2px; }
.checklist--cols { grid-template-columns: 1fr 1fr; gap: 12px; }
.checklist--cols li { padding: 16px 18px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); font-size: 17px; line-height: 1.4; transition: background-color .25s, opacity .6s var(--ease), transform .6s var(--ease); }
.checklist--cols li:hover { background: rgba(255, 255, 255, .13); }
.included__media { text-align: center; }
.phone { width: 260px; margin-inline: auto; padding: 10px; border-radius: 40px; background: #0b150e; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); rotate: 3deg; transition: rotate .5s var(--ease); }
.phone:hover { rotate: 0deg; }
.phone video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 30px; background: #000; }
.included__caption { margin-top: 22px; font-family: var(--hand); font-weight: 700; font-size: 28px; line-height: 1.1; color: var(--sun); }
.included__more { margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; font-size: 16px; color: rgba(255, 255, 255, .8); }
.socials { display: inline-flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.socials a { display: inline-flex; transition: transform .2s var(--ease); }
.socials a:hover { transform: translateY(-3px) scale(1.08); }
/* значки не квадратные (Telegram, MAX): вписываем целиком, а не растягиваем */
.socials img { width: 44px; height: 44px; object-fit: contain; }
.socials--sm img { width: 30px; height: 30px; }

/* ---------- продлёнка ---------- */
.months { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.month { display: grid; grid-template-columns: 200px 1fr; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.js .month[data-reveal].is-in { transition: opacity .6s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); }
.month:hover { transform: translateY(-4px) !important; box-shadow: var(--shadow-lift); }
.month__media { position: relative; background: var(--paper-2); overflow: hidden; }
.month__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.month:hover .month__media img { transform: scale(1.06); }
.month__num { position: absolute; top: 10px; left: 10px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sun); font-weight: 900; font-size: 17px; rotate: -8deg; }
.month__body { display: flex; flex-direction: column; padding: 22px 24px; }
.month h3 { font-size: 22px; line-height: 1.2; font-weight: 900; }
.month__desc { margin-top: 8px; font-size: 16px; line-height: 1.45; color: var(--ink-soft); }
.month__foot { margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.panel { position: relative; margin-top: 56px; padding: 44px 48px; background: var(--lime-soft); border-radius: var(--radius); }
.panel::before { content: ''; position: absolute; top: -14px; left: 56px; width: 120px; height: 30px; background: rgba(255, 210, 63, .9); rotate: -3deg; border-radius: 2px; }
.panel h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 900; }
.panel .checklist { grid-template-columns: 1fr 1fr; gap: 16px 40px; }
.panel .tick { background: var(--grass); color: #fff; }

/* ---------- почему мы ---------- */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.why__lead { margin-top: 24px; font-size: clamp(20px, 1.9vw, 25px); line-height: 1.4; font-weight: 700; text-wrap: pretty; }
.why__text { padding: 36px 40px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); rotate: 1deg; }
.why__text p:last-child { font-family: var(--hand); font-weight: 700; font-size: 30px; line-height: 1.15; color: var(--grass); }

/* ---------- галерея ---------- */
.section__head--row .section__title { text-align: left; }
.carousel__nav { display: flex; gap: 10px; flex: none; }
.carousel__btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--forest); color: #fff; box-shadow: 0 4px 0 var(--forest-deep); transition: transform .15s var(--ease), box-shadow .15s; }
.carousel__btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--forest-deep); }
.carousel__btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--forest-deep); }
.carousel__btn .ico { width: 22px; height: 22px; }
.carousel__btn--prev .ico { rotate: 180deg; }
.carousel__track { display: flex; gap: 18px; padding-block: 12px 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 calc((100% - 36px) / 3); aspect-ratio: 4 / 3; scroll-snap-align: start; padding: 8px; background: #fff; border-radius: 18px; box-shadow: var(--shadow); transition: rotate .35s var(--ease), translate .35s var(--ease); }
.shot:nth-child(odd) { rotate: -1deg; }
.shot:nth-child(even) { rotate: 1deg; }
.shot:hover { rotate: 0deg; translate: 0 -6px; }
.shot img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }

/* ---------- отзывы ---------- */
.reviews { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; align-items: flex-start; }
.review { display: block; width: 400px; max-width: 100%; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.js .review[data-reveal].is-in { transition: opacity .6s var(--ease), transform .35s var(--ease), box-shadow .35s; }
.review:hover { transform: translateY(-6px) rotate(-1deg) !important; box-shadow: var(--shadow-lift); }
.review--phone { width: 250px; padding: 9px; background: #0b150e; border-radius: 38px; }
.review--phone img { border-radius: 29px; }
.review img { width: 100%; }

/* ---------- формы ---------- */
.questions__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; }
.questions .lead { color: rgba(255, 255, 255, .85); }
.questions__img { margin-top: 32px; max-width: 460px; padding: 10px; background: #fff; border-radius: 20px; rotate: -2deg; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6); }
.questions__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; }
.form { display: grid; gap: 16px; }
.form--card { padding: 36px; background: var(--paper); color: var(--ink); border-radius: var(--radius); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55); }
.form h3 { font-size: 28px; line-height: 1.15; font-weight: 900; text-align: center; }
.form__sub { text-align: center; margin-top: -6px; color: var(--ink-soft); }
.field { display: grid; gap: 6px; font-size: 15px; font-weight: 700; }
.field input, .field select { width: 100%; height: 56px; padding: 0 18px; font: inherit; font-size: 18px; font-weight: 600; color: var(--ink); background: #fff; border: 2px solid var(--line); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.field input::placeholder { color: #9aa39c; font-weight: 400; }
.field input:focus, .field select:focus { border-color: var(--grass); outline: none; box-shadow: 0 0 0 4px rgba(42, 132, 49, .18); }
.field .is-invalid, .is-invalid { border-color: #d6452c !important; }
.consent { font-size: 13.5px; line-height: 1.4; text-align: center; color: var(--ink-soft); }
.consent a { text-decoration-color: var(--grass); text-underline-offset: 3px; }
.form__status { text-align: center; font-weight: 700; }
.form__status:empty { display: none; }
.form__status.is-ok { color: var(--grass-dark); }
.form__status.is-error { color: #b93520; }
.radio { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 2px solid var(--line); border-radius: 14px; font-weight: 700; cursor: pointer; transition: border-color .2s, background-color .2s; }
.radio:hover { border-color: var(--leaf); }
.radio:has(input:checked) { border-color: var(--grass); background: var(--lime-soft); }
.radio input { width: 20px; height: 20px; accent-color: var(--grass); }
.quiz__step { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; min-width: 0; }
.quiz__step:not([hidden]) { animation: rise .35s var(--ease); }
.quiz__step legend { padding: 0; margin-bottom: 14px; font-size: 22px; font-weight: 800; }
.quiz__progress { text-align: center; color: var(--ink-soft); margin-top: -8px; font-size: 15px; }
.quiz__bar { height: 8px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.quiz__bar i { display: block; height: 100%; width: 20%; border-radius: inherit; background: var(--leaf); transition: width .4s var(--ease); }
.quiz__nav { display: flex; justify-content: flex-end; gap: 12px; padding-bottom: 4px; }

/* ---------- окна ---------- */
.modal { width: min(520px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 44px 36px 32px; border: 0; border-radius: var(--radius); background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px rgba(8, 20, 11, .45); overflow: auto; }
.modal--wide { width: min(1080px, calc(100% - 24px)); }
.modal[open], .lightbox[open] { animation: pop .3s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.modal::backdrop, .lightbox::backdrop { background: rgba(12, 30, 17, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.modal__close { position: absolute; top: 12px; right: 14px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--paper-2); font-size: 28px; line-height: 1; color: var(--ink); transition: background-color .2s, rotate .3s var(--ease); }
.modal__close:hover { background: var(--sun); rotate: 90deg; }
.prog { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: start; }
.prog__side { display: grid; gap: 20px; position: sticky; top: 0; }
.prog__img { position: relative; padding: 8px; background: #fff; border-radius: 20px; box-shadow: var(--shadow); rotate: -2deg; }
.prog__img img { width: 100%; border-radius: 12px; }
.prog__text h3 { font-size: 28px; line-height: 1.15; font-weight: 900; padding-right: 40px; }
.prog__price { display: inline-block; margin: 12px 0 18px; padding: 4px 16px; border-radius: 999px; background: var(--sun); font-size: 19px; font-weight: 900; }
.prog__text p + p, .prog__text ul + p, .prog__text p + ul { margin-top: 12px; }
.prog__text { font-size: 16.5px; }
.prog__text ul { display: grid; gap: 6px; }
.prog__text li { position: relative; padding-left: 22px; }
.prog__text li::before { content: ''; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); }
.lightbox { padding: 0; border: 0; background: none; max-width: 96vw; max-height: 96dvh; overflow: visible; }
.lightbox img { max-width: 96vw; max-height: 92dvh; border-radius: 14px; }
.lightbox .modal__close { top: -8px; right: -8px; background: #fff; }

/* ---------- контакты ---------- */
.contacts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px; align-items: stretch; }
.contacts__list { display: grid; gap: 14px; align-content: start; }
.contacts__list li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: center; padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; }
.contacts__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 48% 52% 55% 45% / 52% 46% 54% 48%; background: var(--lime); color: var(--forest-deep); }
.contacts__ico .ico { width: 24px; height: 24px; }
.contacts__list div { display: grid; gap: 2px; font-size: 19px; font-weight: 800; min-width: 0; overflow-wrap: anywhere; }
.contacts__list div > span:first-child { font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.contacts__list .socials { margin-top: 6px; }
.contacts__list a { text-decoration: none; }
.contacts__list a:hover { color: var(--grass); }
.contacts__map { min-height: 420px; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); border: 1px solid var(--line); }

/* ---------- подвал ---------- */
.footer { margin-top: 24px; background: var(--forest-deep); color: #fff; padding-block: 44px; border-radius: 56px 56px 0 0; }
.footer__in { display: flex; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; align-items: center; }
.footer__brand { display: grid; gap: 2px; }
.footer__brand b { font-size: 19px; font-weight: 900; }
.footer__brand span { font-family: var(--hand); font-size: 23px; color: var(--lime); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 16px; }
.footer a { text-decoration: none; opacity: .85; transition: opacity .2s, color .2s; }
.footer a:hover { opacity: 1; color: var(--sun); }

/* ---------- страница документа ---------- */
.page-doc .doc { max-width: 900px; padding-block: 128px 80px; }
.doc h1 { font-size: clamp(26px, 4vw, 40px); line-height: 1.15; font-weight: 900; margin-bottom: 30px; }
.doc h2 { font-size: 24px; font-weight: 900; margin: 36px 0 14px; }
.doc h3 { font-size: 19px; margin: 20px 0 6px; }
.doc p { margin-top: 10px; font-size: 17px; }
.nav--static { display: flex !important; }

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
  .nav a { padding-inline: 10px; }
  .header__right .btn { white-space: nowrap; }
  .header__right .icon-link { display: none; }
  .logo__text small { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hero__art { height: 480px; }
  .about { gap: 48px; }
  .month { grid-template-columns: 150px 1fr; }
}
@media (max-width: 900px) {
  html { scroll-padding-top: 88px; }
  .burger { display: flex; }
  .logo__text small { display: block; }
  .header__in { position: relative; }
  .nav:not(.nav--static) { position: absolute; inset: calc(100% + 10px) 0 auto 0; display: none; flex-direction: column; gap: 2px; padding: 12px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lift); font-size: 19px; }
  .nav.is-open { display: flex; animation: pop .25s var(--ease); }
  .nav:not(.nav--static) a { padding: 13px 16px; }
  .header__right .btn, .header__right .icon-link { display: none; }
  .hero { padding-block: 116px 56px; }
  .hero__in, .about, .included, .contacts, .why, .questions__in { grid-template-columns: 1fr; }
  .hero__art { height: auto; aspect-ratio: 1 / .86; max-width: 520px; width: 100%; margin-inline: auto; }
  .section { padding-block: 72px; }
  .section--paper, .section--lime, .section--sun, .section--forest { border-radius: 36px; }
  .footer { border-radius: 36px 36px 0 0; }
  .about, .included, .why, .questions__in { gap: 44px; }
  .about__photo { max-width: 320px; }
  .months { grid-template-columns: 1fr; }
  .prog { grid-template-columns: 1fr; gap: 24px; }
  .prog__side { position: static; max-width: 320px; margin-inline: auto; }
  .shot { flex-basis: calc((100% - 18px) / 2); }
  .panel { padding: 36px 24px 30px; }
  .panel .checklist { grid-template-columns: 1fr; }
  .why__text { rotate: 0deg; padding: 28px 24px; }
  .questions__img { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .container { width: min(1200px, 100% - 32px); }
  .cards { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .stats { gap: 14px 26px; }
  .stats b { font-size: 26px; }
  .snap figcaption { font-size: 20px; }
  .hero__note { font-size: 24px; top: 6%; max-width: 130px; }
  .hero__art > .doodle--plane { width: 76px; bottom: 4%; }
  .facts { grid-template-columns: 1fr; }
  .checklist--cols { grid-template-columns: 1fr; }
  .month { grid-template-columns: 112px 1fr; }
  .month__body { padding: 16px 16px 18px; }
  .month h3 { font-size: 19px; }
  .section__head--row { align-items: flex-start; flex-direction: column; }
  .shot { flex-basis: 84%; }
  .form--card { padding: 26px 20px; }
  .modal { padding: 52px 20px 24px; }
  .contacts__map { min-height: 320px; }
  .footer__in { flex-direction: column; align-items: flex-start; }
  .ticker__set { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js [data-reveal] .mark::before { transform: rotate(-1.2deg); }
}
