/* Секции главной. Перенесено из концепта B как есть, порядок = порядок карты секций (docs/design-system.md).
   Общие блоки (кнопки, таблетки, меню, билеты, футер) ещё живут здесь: выносятся в components.css при посекционной чистке этапа 3. */
@media (max-width: 500px) {
  .hero h1 .row2 { flex-wrap: wrap; justify-content: center; }
  .sticker { margin-top: -.12em; font-size: .3em; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: var(--fs-body); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.wrap { width: 100%; max-width: calc(1280px + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.ico { width: 18px; height: 18px; flex: none; }

/* Лента */
.ticker { overflow: hidden; background: var(--ink); color: var(--paper); }
.ticker__track { display: flex; width: max-content; }
.ticker__set { display: flex; align-items: center; gap: var(--s5); padding: var(--s3) var(--s5) var(--s3) 0; font-size: var(--fs-small); font-weight: 500; white-space: nowrap; }
.ticker__set svg { width: 14px; height: 14px; color: var(--t-yellow); }
.has-motion .ticker__track { animation: ticker 32s linear infinite; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Кнопки и таблетки */
.btn { display: inline-flex; align-items: center; gap: var(--s3); min-height: 56px; padding: 0 var(--s2) 0 var(--s5); border-radius: var(--r-pill); background: var(--red); color: #fff; font: 600 var(--fs-body)/1 var(--font); text-decoration: none; transition: background-color .3s var(--ease); }
.btn__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--red); transition: transform .45s var(--ease); }
.btn:hover { background: var(--red-deep); }
.btn:hover .btn__icon { transform: rotate(-45deg); }
.btn--sm { min-height: 44px; padding-left: var(--s4); font-size: var(--fs-small); }
.btn--sm .btn__icon { width: 32px; height: 32px; }
.pill { display: inline-flex; align-items: center; min-height: 56px; padding: 0 var(--s5); border-radius: var(--r-pill); background: var(--paper-2); font-size: var(--fs-body); font-weight: 500; white-space: nowrap; }

/* Плавающее меню */
.menu { position: sticky; top: var(--s3); z-index: 20; display: flex; justify-content: center; padding: var(--s3) var(--gutter) 0; pointer-events: none; }
.menu__pill { pointer-events: auto; display: flex; align-items: center; gap: var(--s5); padding: 6px 6px 6px var(--s5); border-radius: var(--r-pill); background: rgba(244, 240, 233, .9); backdrop-filter: blur(8px); box-shadow: 0 0 0 1px rgba(23, 20, 15, .08); }
.menu__logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; letter-spacing: -0.03em; text-decoration: none; }
.menu nav:not(.lang) a, .menu__logo { white-space: nowrap; }
@media (max-width: 1100px) { .menu nav:not(.lang) { display: none; } }
.menu__mark { width: 30px; height: 30px; flex: none; transition: transform .4s var(--ease); }
.menu__logo:hover .menu__mark { transform: rotate(-8deg) scale(1.08); }
.menu nav:not(.lang) { display: flex; gap: var(--s5); font-size: var(--fs-small); }
.menu nav:not(.lang) a { text-decoration: none; color: var(--ink-2); }
.menu nav:not(.lang) a:hover { color: var(--ink); }
.lang { display: inline-flex; padding: 3px; border-radius: var(--r-pill); background: var(--paper-2); }
.lang span, .lang a { text-decoration: none; transition: color .2s, background-color .2s; padding: 6px 10px; border-radius: var(--r-pill); font-size: var(--fs-tiny); font-weight: 500; line-height: 1; color: var(--ink-2); }
.lang span[aria-current] { background: var(--paper); color: var(--ink); }
.lang a:hover { color: var(--ink); background: rgba(244, 240, 233, .6); }
.lang a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Hero */
#hero { padding: var(--s8) 0 var(--s9); overflow-x: clip; }
.hero { display: flex; flex-direction: column; align-items: center; gap: var(--s7); text-align: center; }
.byline { display: flex; align-items: center; gap: var(--s3); font-size: var(--fs-lead); font-weight: 500; }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.hero h1 { font-size: var(--fs-display); font-weight: 700; line-height: .86; letter-spacing: -0.045em; display: flex; flex-direction: column; align-items: center; }
.hero h1 .row2 { display: inline-flex; align-items: center; gap: .1em; }
.sticker { display: inline-flex; align-items: center; padding: .14em .32em .18em; border-radius: .22em; background: var(--red); color: #fff; font-size: .34em; line-height: 1; letter-spacing: -0.03em; transform: rotate(-8deg); transform-origin: 30% 60%; box-shadow: 0 .08em 0 var(--red-deep); }
.hero__row { display: grid; grid-template-columns: 1fr minmax(0, 620px) 1fr; align-items: center; gap: var(--s7); width: 100%; }
.hero__mid { display: flex; flex-direction: column; align-items: center; gap: var(--s6); }
.hero__lead { font-size: var(--fs-lead); line-height: 1.45; color: var(--ink-2); text-wrap: balance; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2); }
.snap { justify-self: start; width: 240px; border-radius: var(--r-photo); overflow: hidden; aspect-ratio: 4 / 5; transform: rotate(-6deg); background: var(--paper-2); }
.snap img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.proof { justify-self: end; display: flex; flex-direction: column; gap: var(--s2); width: 240px; padding: var(--s5); border-radius: var(--r-photo); background: var(--t-yellow); text-align: left; transform: rotate(5deg); }
.proof b { font-size: 64px; line-height: .9; letter-spacing: -0.05em; }
.proof span { font-size: var(--fs-small); line-height: 1.35; }

/* Знайомо? */
#znayomo { padding: var(--s9) 0 var(--s10); }
.zn { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: var(--s8); }
.zn h2 { grid-column: 1 / -1; font-size: var(--fs-h2); font-weight: 700; line-height: .9; letter-spacing: -0.045em; }
.zn__list { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s7); }
.zn__list li { display: flex; flex-direction: column; gap: var(--s3); }
.zn__row { font-size: var(--fs-row); font-weight: 600; line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
.zn__desc { max-width: 56ch; font-size: var(--fs-lead); line-height: 1.4; color: var(--ink); }
.zn__list .rep { color: var(--mute); }
.zn__list .cz { white-space: nowrap; }
.zn__end { grid-column: 6 / -1; display: flex; flex-direction: column; align-items: flex-start; gap: var(--s5); }
.zn__end p { font-size: 26px; line-height: 1.3; font-weight: 500; letter-spacing: -0.02em; text-wrap: pretty; }

/* Програма: тёмный блок, билеты */
#program { padding: var(--s10) 0; background: var(--night); color: var(--night-ink); border-radius: 48px 48px 0 0; overflow: hidden; }
.pg__head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: var(--s5) var(--s7); margin-bottom: var(--s9); }
.pg__head h2 { font-size: var(--fs-h2); font-weight: 700; line-height: .9; letter-spacing: -0.045em; }
.pg__head p { max-width: 34ch; font-size: var(--fs-lead); color: var(--night-2); }
.tickets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s8) var(--s6); list-style: none; margin: 0; padding: 0; }

.ticket { --tilt: 0deg; --notch: 14px; display: grid; grid-template-columns: 104px 1fr; min-height: 236px; color: var(--ink); border-radius: var(--r-ticket); transform: rotate(var(--tilt));
  /* выемки на линии отрыва, сверху и снизу – маской */
  -webkit-mask: radial-gradient(circle var(--notch) at 104px 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at 104px 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle var(--notch) at 104px 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at 104px 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; }
.ticket:nth-child(1) { --tilt: -3deg; background: var(--t-cream); }
.ticket:nth-child(2) { --tilt: 2deg; background: var(--t-yellow); }
.ticket:nth-child(3) { --tilt: -1.5deg; background: var(--t-blue); }
.ticket:nth-child(4) { --tilt: 2.5deg; background: var(--t-pink); }
.ticket:nth-child(5) { --tilt: -2deg; background: var(--t-cream); }
.ticket:nth-child(6) { --tilt: 3deg; background: var(--red); color: #fff; }
.ticket__stub { display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: var(--s5) var(--s3); border-right: 0; }
.punch { display: grid; grid-template-columns: repeat(3, 20px); gap: 6px; }
.punch span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: 11px; font-weight: 500; line-height: 1; color: rgba(23, 20, 15, .62); }
.punch span.hole { background: var(--night); color: transparent; }
.ticket__no { font-size: 56px; font-weight: 700; line-height: .9; letter-spacing: -0.05em; }
.ticket__main { display: flex; flex-direction: column; justify-content: space-between; gap: var(--s4); padding: var(--s5) var(--s5) var(--s5) var(--s4); }
.ticket h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.ticket p { font-size: var(--fs-small); line-height: 1.45; color: rgba(23, 20, 15, .72); text-wrap: pretty; }
.ticket__res { display: flex; flex-direction: column; gap: 2px; padding: var(--s3) var(--s4); border-radius: 14px; background: rgba(255, 255, 255, .55); font-size: var(--fs-small); line-height: 1.4; color: var(--ink); }
.ticket__res b { font-weight: 600; }
.ticket--buy { grid-template-columns: 1fr; text-align: left; }
.ticket--buy .ticket__main { padding: var(--s5); }
.ticket--buy b { font-size: 64px; line-height: .9; letter-spacing: -0.05em; }
.ticket--buy p { color: rgba(255, 255, 255, .88); font-size: var(--fs-body); }
.ticket--buy .btn { align-self: flex-start; background: #fff; color: var(--ink); }
.ticket--buy .btn__icon { background: var(--red); color: #fff; }
.ticket--buy { -webkit-mask: radial-gradient(circle var(--notch) at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
                       mask: radial-gradient(circle var(--notch) at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat; }

@media (max-width: 1100px) {
  .tickets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__row { grid-template-columns: 1fr 1fr; }
  .hero__mid { grid-column: 1 / -1; grid-row: 1; }
  .snap { justify-self: end; }
  .proof { justify-self: start; }
}
@media (max-width: 768px) {
  .menu { position: fixed; top: auto; bottom: var(--s4); left: 0; right: 0; padding: 0 var(--gutter); transform: translateY(160%); transition: transform .5s var(--ease); }
  .menu.is-on { transform: none; }
  .menu__pill { width: 100%; justify-content: space-between; box-shadow: 0 0 0 1px rgba(23, 20, 15, .08), 0 16px 32px -12px rgba(23, 20, 15, .35); }
  .menu nav:not(.lang), .menu .lang { display: none; }
  .mtop { display: flex; }
  #hero { padding: var(--s5) 0 var(--s8); }
  .hero { gap: var(--s6); }
  .byline { font-size: var(--fs-body); }
  .hero h1 { line-height: .88; }
  .hero h1 .row2 { gap: .06em; }
  .hero__row { gap: var(--s5); }
  .pill, .btn { min-height: 48px; }
  .pills .btn { width: 100%; justify-content: space-between; min-height: 56px; }
  .snap { width: 100%; max-width: 168px; }
  .proof { width: 100%; max-width: 168px; padding: var(--s4); }
  .proof b { font-size: 44px; }
  .zn h2 { margin-bottom: calc(var(--s4) * -1); }
  .zn__end { grid-column: 1 / -1; }
  .zn__end p { font-size: 20px; }
  .zn__list { gap: var(--s6); }
  #program { border-radius: 32px 32px 0 0; }
  .pg__head { margin-bottom: var(--s8); }
  .tickets { grid-template-columns: 1fr; gap: var(--s6); }
  .ticket { --notch: 12px; min-height: 0; grid-template-columns: 88px 1fr; -webkit-mask-position: top, bottom; }
  .ticket { -webkit-mask: radial-gradient(circle var(--notch) at 88px 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at 88px 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
                    mask: radial-gradient(circle var(--notch) at 88px 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at 88px 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; }
  .ticket--buy { grid-template-columns: 1fr; -webkit-mask: radial-gradient(circle var(--notch) at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
                         mask: radial-gradient(circle var(--notch) at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat; }
  .ticket:nth-child(odd) { --tilt: -1.2deg; }
  .ticket:nth-child(even) { --tilt: 1.2deg; }
  .punch { grid-template-columns: repeat(3, 18px); gap: 4px; }
  .punch span { width: 18px; height: 18px; font-size: 10px; }
  .ticket__no { font-size: 44px; }
}
.mtop { display: none; align-items: center; justify-content: space-between; padding: var(--s4) var(--gutter) 0; }
@media (max-width: 768px) { .mtop { display: flex; } }

/* Общие для секций ниже программы */
.sec { padding: var(--s10) 0; overflow-x: clip; }
.sec__head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: var(--s5) var(--s7); margin-bottom: var(--s8); }
.h2 { font-size: var(--fs-h2); font-weight: 700; line-height: .9; letter-spacing: -0.045em; text-wrap: balance; }
.h2--m { font-size: calc(var(--fs-h2) * .7); line-height: .95; }
.h2--s { font-size: 56px; line-height: 1; }
.sec__head > p { max-width: 36ch; font-size: var(--fs-lead); color: var(--ink-2); }
.todo { color: var(--ink-2); background: var(--paper-2); border-radius: 6px; padding: 0 .3em; font-size: .92em; }

/* Як це працює: один жёлтый квиток на три части, линии отрыва задают порядок (вариант 1 из b-how.html) */
.nw { white-space: nowrap; }
.strip { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 24px; background: var(--t-yellow); transform: rotate(-1.2deg); list-style: none; margin: 0; padding: 0;
  -webkit-mask: radial-gradient(circle 16px at 33.333% 0, #0000 98%, #000 100%) top / 100% 51% no-repeat, radial-gradient(circle 16px at 33.333% 100%, #0000 98%, #000 100%) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle 16px at 33.333% 0, #0000 98%, #000 100%) top / 100% 51% no-repeat, radial-gradient(circle 16px at 33.333% 100%, #0000 98%, #000 100%) bottom / 100% 51% no-repeat; }
.strip::after { content: ""; position: absolute; left: 66.666%; top: 0; width: 32px; height: 100%; margin-left: -16px; background: radial-gradient(circle 16px at 50% 0, var(--paper) 98%, #0000 100%) top / 100% 51% no-repeat, radial-gradient(circle 16px at 50% 100%, var(--paper) 98%, #0000 100%) bottom / 100% 51% no-repeat; }
.part { display: flex; flex-direction: column; gap: var(--s4); padding: var(--s7) var(--s6); }
.part + .part { box-shadow: inset 2px 0 0 rgba(23, 20, 15, .14); }
.part__n { font-size: 96px; font-weight: 700; line-height: .8; letter-spacing: -0.06em; }
.part h3 { font-size: 28px; font-weight: 700; line-height: 1.05; letter-spacing: -0.035em; }
.part p { color: rgba(23, 20, 15, .8); max-width: 30ch; }

/* Про Катю */
#about { padding-top: 0; }
.about { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; row-gap: var(--s7); }
.about__photo { grid-column: 1 / span 5; position: relative; margin: 0; }
.about__photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 55% 30%; border-radius: var(--r-photo); }
.about__text { grid-column: 7 / span 6; display: flex; flex-direction: column; gap: var(--s6); }
.about__text > p { font-size: var(--fs-lead); line-height: 1.45; color: var(--ink); max-width: 46ch; }
.about__text > p b { color: var(--ink); font-weight: 600; }
.nums { display: flex; flex-wrap: wrap; column-gap: var(--s8); gap: var(--s4); list-style: none; margin: 0; padding: 0; }
.nums li { display: flex; align-items: baseline; gap: var(--s3); }
.nums b { flex: none; font-size: 64px; font-weight: 700; line-height: .9; letter-spacing: -0.05em; }
.nums span { font-size: var(--fs-small); color: var(--ink); line-height: 1.3; max-width: 16ch; }
.btn--ghost { background: none; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--ghost .btn__icon { background: var(--ink); color: var(--paper); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--ghost:hover .btn__icon { background: var(--paper); color: var(--ink); }

/* Відгуки: лента с прокруткой вбок */
#reviews { background: var(--paper-2); }
.rv__nav { display: flex; gap: var(--s2); }
.rv__btn { display: grid; place-items: center; width: 56px; height: 56px; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; transition: background-color .25s, color .25s, opacity .25s; }
.rv__btn:hover { background: var(--ink); color: var(--paper); }
.rv__btn[disabled] { opacity: .35; cursor: default; background: var(--paper); color: var(--ink); }
.rv__btn:focus-visible, .btn:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.rv__track { display: flex; align-items: flex-start; gap: var(--s6); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; list-style: none; margin: 0; padding: var(--s5) max(var(--gutter), (100% - 1280px) / 2) var(--s7); scroll-padding-inline: max(var(--gutter), (100% - 1280px) / 2); cursor: grab; }
.rv__track::-webkit-scrollbar { display: none; }
.rv__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rv { flex: none; width: 480px; scroll-snap-align: start; display: flex; flex-direction: column; gap: var(--s5); padding: var(--s6); border-radius: var(--r-ticket); background: var(--paper); }
.rv__text { display: flex; flex-direction: column; gap: var(--s3); font-size: var(--fs-body); line-height: 1.5; }
.rv__text.is-clamped { max-height: 17.5em; overflow: hidden; -webkit-mask: linear-gradient(#000 70%, #0000); mask: linear-gradient(#000 70%, #0000); }
.rv__more { align-self: flex-start; display: inline-flex; align-items: center; gap: var(--s2); border: 0; padding: 0; background: none; color: var(--ink); font: 600 var(--fs-small)/1.2 var(--font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rv__more:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.rv__who { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding-top: var(--s4); font-size: var(--fs-small); font-weight: 600; }

/* Подарунки: красный блок */
#gifts { padding: 0 var(--s4); background: linear-gradient(var(--paper-2) 48px, var(--paper) 48px); }
.gifts { border-radius: 48px; background: var(--red); color: #fff; padding: var(--s10) 0; overflow: hidden; }
.gifts__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: var(--s8); align-items: center; }
.gifts .h2 { grid-column: 1 / -1; }
.sheet { grid-column: 1 / span 5; display: flex; flex-direction: column; gap: var(--s3); max-width: 100%; margin: 0; padding: var(--s3) var(--s3) var(--s4); border-radius: 12px; background: #fff; color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); }
.sheet__img { width: 100%; height: auto; aspect-ratio: 900 / 680; object-fit: cover; object-position: top; border-radius: 6px; -webkit-mask: linear-gradient(#000 78%, #0000); mask: linear-gradient(#000 78%, #0000); }
.sheet__cap { padding-inline: var(--s2); font-size: var(--fs-small); font-weight: 500; }
.gift-list { grid-column: 7 / span 6; display: flex; flex-direction: column; gap: var(--s6); list-style: none; margin: 0; padding: 0; }
.gift-list li { display: flex; flex-direction: column; gap: var(--s3); }
.gift-list h3 { font-size: 40px; font-weight: 700; line-height: 1; letter-spacing: -0.04em; }
.gift-list p { font-size: var(--fs-lead); line-height: 1.45; color: rgba(255, 255, 255, .9); max-width: 40ch; }
.btn--onred { align-self: flex-start; background: #fff; color: var(--ink); }
.btn--onred .btn__icon { background: var(--red); color: #fff; }
.btn--onred:hover { background: var(--paper); }

/* Ціна: большой билет, компостер пробивает все пять уроков */
.bigticket { display: grid; grid-template-columns: 220px 1fr; max-width: 1040px; margin: 0 auto; border-radius: 28px; background: var(--t-yellow); transform: rotate(-1.5deg);
  -webkit-mask: radial-gradient(circle 22px at 220px 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 22px at 220px 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle 22px at 220px 0, #0000 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 22px at 220px 100%, #0000 98%, #000) bottom / 100% 51% no-repeat; }
.bigticket__stub { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s5); padding: var(--s7) var(--s5); }
.bigticket .punch { grid-template-columns: repeat(3, 34px); gap: 10px; }
.bigticket .punch span { width: 34px; height: 34px; font-size: 15px; }
.bigticket .punch span.hole { background: var(--paper); }
.bigticket__stub p { font-size: var(--fs-small); font-weight: 600; text-align: center; }
.bigticket__main { display: flex; flex-direction: column; gap: var(--s6); padding: var(--s7) var(--s7) var(--s7) var(--s6); }
.bigticket__main h3 { font-size: 34px; font-weight: 700; line-height: 1.05; letter-spacing: -0.035em; }
.incl { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; margin: 0; padding: 0; }
.incl li { display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--s4); border-radius: var(--r-pill); background: rgba(255, 255, 255, .5); font-weight: 500; font-size: var(--fs-small); }
.price-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s5); padding-top: var(--s2); }
.price-row b { font-size: 96px; font-weight: 700; line-height: .85; letter-spacing: -0.06em; }
.price__note { margin-top: var(--s6); text-align: center; color: var(--ink); font-size: var(--fs-small); }

/* Заняття з Катею */
#lessons { padding-top: 0; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); }
.plan { display: flex; flex-direction: column; gap: var(--s5); padding: var(--s6); border-radius: var(--r-ticket); background: var(--paper-2); }
.plan h3 { font-size: 36px; font-weight: 700; line-height: 1; letter-spacing: -0.04em; }
.plan > p { color: var(--ink); }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: grid; grid-template-columns: 1fr 150px; align-items: baseline; gap: var(--s4); padding: var(--s4) 0; border-top: 1px solid rgba(23, 20, 15, .14); }
.rows b { font-size: 28px; font-weight: 700; letter-spacing: -0.04em; text-align: right; font-variant-numeric: tabular-nums; }
.rows small { display: block; font-size: var(--fs-tiny); font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.plan .btn { align-self: flex-start; margin-top: auto; }
.plan--alt { background: none; padding: var(--s5) 0 0; border-radius: 0; }
.plan--alt h3 { font-size: 28px; }

/* Часті питання */
#faq { padding-top: 0; }
.faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.faq .h2 { grid-column: 1 / span 4; align-self: start; position: sticky; top: var(--s9); }
.qa { grid-column: 6 / span 7; list-style: none; margin: 0; padding: 0; border-bottom: 2px solid var(--ink); }
.qa details { border-top: 2px solid var(--ink); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding: var(--s5) 0; font-size: 26px; font-weight: 600; line-height: 1.15; letter-spacing: -0.03em; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.qa__plus { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--paper-2); transition: transform .35s var(--ease), background-color .25s; }
.qa__plus svg { width: 18px; height: 18px; }
.qa details[open] .qa__plus { transform: rotate(45deg); background: var(--ink); color: var(--paper); }
.qa details p { padding: 0 var(--s9) var(--s5) 0; font-size: var(--fs-lead); line-height: 1.45; color: var(--ink-2); }

/* Футер */
.foot { padding: var(--s9) 0 var(--s7); background: var(--paper-2); border-radius: 48px 48px 0 0; }
.foot__big { font-size: clamp(56px, 11vw, 168px); font-weight: 700; line-height: .85; letter-spacing: -0.055em; }
.foot__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: var(--s6); margin-top: var(--s8); padding-top: var(--s5); font-size: var(--fs-small); }
.foot__col { display: flex; flex-direction: column; gap: var(--s2); }
.foot__col:nth-child(1) { grid-column: 1 / span 4; }
.foot__col:nth-child(2) { grid-column: 6 / span 3; }
.foot__col:nth-child(3) { grid-column: 10 / span 3; }
.foot__col b { font-weight: 600; margin-bottom: var(--s1); }
.foot__col a { color: var(--ink); text-decoration: none; }
.foot__col a:hover { color: var(--ink); text-decoration: underline; }
.foot__col span { color: var(--ink-2); }

@media (max-width: 1100px) {
  .about__photo { grid-column: 1 / span 5; }
  .about__text { grid-column: 6 / span 7; }
  .sheet { grid-column: 1 / span 5; }
  .gift-list { grid-column: 6 / span 7; }
  .faq .h2 { grid-column: 1 / -1; position: static; margin-bottom: var(--s6); }
  .qa { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .sec { padding: var(--s9) 0; }
  .sec__head { margin-bottom: var(--s6); }
  .h2--m { font-size: 44px; }
  .h2--s { font-size: 36px; }
  .strip { grid-template-columns: 1fr; transform: rotate(-.8deg); -webkit-mask: none; mask: none; }
  .strip::after { display: none; }
  .part { display: grid; grid-template-columns: 52px 1fr; gap: var(--s2) var(--s4); padding: var(--s5); }
  .part + .part { box-shadow: inset 0 2px 0 rgba(23, 20, 15, .14); }
  .part__n { grid-row: 1 / 3; font-size: 52px; }
  .part h3 { font-size: 21px; }
  .part p { font-size: var(--fs-small); }
  .about__photo, .about__text { grid-column: 1 / -1; }
  .about__photo { max-width: 300px; }
  .nums { gap: var(--s3); }
  .nums b { font-size: 36px; }
  .rv__nav { display: none; }
  .rv { width: 86%; padding: var(--s5); }
  #gifts { padding: 0 var(--s2); }
  .gifts { border-radius: 32px; padding: var(--s9) 0; }
  .gifts .h2 { font-size: 46px; line-height: .95; }
  .sheet, .gift-list { grid-column: 1 / -1; }
  .sheet { width: 100%; }
  .gift-list h3 { font-size: 30px; }
  .btn--onred { width: 100%; justify-content: space-between; }
  .bigticket { grid-template-columns: 1fr; transform: rotate(-1deg);
    -webkit-mask: radial-gradient(circle 18px at 0 210px, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 18px at 100% 210px, #0000 98%, #000) right / 51% 100% no-repeat;
            mask: radial-gradient(circle 18px at 0 210px, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 18px at 100% 210px, #0000 98%, #000) right / 51% 100% no-repeat; }
  .bigticket__stub { flex-direction: row; height: 210px; padding: var(--s5); justify-content: space-between; }
  .bigticket__stub p { text-align: left; max-width: 12ch; }
  .bigticket .punch { grid-template-columns: repeat(3, 28px); gap: 8px; }
  .bigticket .punch span { width: 28px; height: 28px; font-size: 13px; }
  .bigticket__main { padding: var(--s5); gap: var(--s5); }
  .bigticket__main h3 { font-size: 26px; }
  .price-row b { font-size: 72px; }
  .price-row .btn { width: 100%; justify-content: space-between; }
  .plans { grid-template-columns: 1fr; }
  .plan { padding: var(--s5); }
  .plan h3 { font-size: 28px; }
  .rows li { grid-template-columns: 1fr auto; }
  .rows b { font-size: 22px; }
  .plan .btn { width: 100%; justify-content: space-between; }
  .qa summary { font-size: 20px; }
  .qa details p { padding-right: 0; font-size: var(--fs-body); }
  .foot { border-radius: 32px 32px 0 0; padding-bottom: calc(var(--s10) + var(--s4)); }
  .foot__col:nth-child(n) { grid-column: 1 / -1; }
}

/* Для кого цей курс: тихий список и плашка уровня */
#for-whom { padding-top: 0; }
.fw { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: var(--s7); }
.fw > .h2 { grid-column: 1 / span 5; align-self: start; }
.fw__body { grid-column: 7 / span 6; display: flex; flex-direction: column; gap: var(--s7); }
.fw__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6) var(--s5); }
.fw__list h3 { font-size: 24px; font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
.fw__list p { margin-top: var(--s2); color: var(--ink); max-width: 34ch; }
.level { display: flex; align-items: center; gap: var(--s5); padding: var(--s5) var(--s6); border-radius: var(--r-ticket); background: var(--t-yellow); }
.level b { flex: none; font-size: 56px; font-weight: 700; line-height: .9; letter-spacing: -0.05em; }
.level p { font-size: var(--fs-body); line-height: 1.4; }

/* Чому не в Гуглі: заголовок слева, справа прямая речь Кати с подписью */
#why { padding-top: 0; }
.why { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: var(--s6); }
.why > .h2 { grid-column: 1 / span 5; align-self: start; }
.why__q { grid-column: 7 / span 6; margin: 0; display: flex; flex-direction: column; gap: var(--s4); font-size: var(--fs-lead); line-height: 1.5; }
.why__q b { font-weight: 700; }
.why__by { display: flex; align-items: center; gap: var(--s3); margin-top: var(--s3); font-size: var(--fs-small); }
.why__by img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.why__by b { display: block; font-size: var(--fs-body); }
@media (max-width: 1100px) { .why > .h2, .why__q { grid-column: 1 / -1; } }

/* Мини-тест: кремовый билет с выемками, правильный ответ жёлтым, неверный розовым; красное только у «Купити» */
#test { padding-top: 0; }
.test { display: flex; flex-direction: column; align-items: center; gap: var(--s8); }
.quiz { width: 100%; max-width: 860px; display: flex; flex-direction: column; align-items: center; gap: var(--s5); padding: var(--s7) var(--s7) var(--s6); border-radius: 28px; background: var(--t-cream); transform: rotate(-1deg); text-align: center;
  -webkit-mask: radial-gradient(circle 18px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 18px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 18px at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 18px at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat; }
.quiz__top { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); width: 100%; font-size: var(--fs-small); font-weight: 600; }
.quiz__count { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.quiz__sentence { font-size: 56px; font-weight: 700; line-height: 1.05; letter-spacing: -0.04em; }
.gap { display: inline-block; min-width: 2.2em; padding: 0 .12em; border-bottom: .07em solid var(--ink); color: var(--ink-2); transition: background-color .3s, color .3s; }
.gap.is-ok { background: var(--t-yellow); color: var(--ink); border-radius: .14em .14em 0 0; }
.gap.is-no { background: var(--t-pink); color: var(--ink); border-radius: .14em .14em 0 0; }
.quiz__choices { display: flex; gap: var(--s3); }
.choice { min-width: 120px; min-height: 60px; padding: 0 var(--s6); border: 0; border-radius: var(--r-pill); background: none; box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); font: 700 26px/1 var(--font); letter-spacing: -0.03em; cursor: pointer; transition: background-color .25s, color .25s; }
.choice:hover:not([disabled]) { background: var(--ink); color: var(--paper); }
.choice:focus-visible, .quiz__next:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.choice[disabled] { cursor: default; }
.choice.is-ok { background: var(--ink); color: var(--t-yellow); }
.choice.is-no { background: var(--t-pink); box-shadow: none; }
.quiz__answer { min-height: 3em; max-width: 46ch; font-size: var(--fs-lead); line-height: 1.4; }
.quiz__answer b { font-weight: 700; }
.quiz__next { display: inline-flex; align-items: center; gap: var(--s2); border: 0; padding: var(--s2) 0; background: none; color: var(--ink); font: 600 var(--fs-small)/1 var(--font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.quiz__next svg { width: 16px; height: 16px; }
.test__end { display: flex; flex-direction: column; align-items: center; gap: var(--s5); text-align: center; }
.test__end p { max-width: 22ch; font-size: 40px; font-weight: 700; line-height: 1.05; letter-spacing: -0.04em; text-wrap: balance; }
.price__cmp { font-size: var(--fs-body); font-weight: 600; line-height: 1.35; max-width: 40ch; }

@media (max-width: 1100px) {
  .fw > .h2, .fw__body { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .fw__list { grid-template-columns: 1fr; gap: var(--s5); }
  .fw__list h3 { font-size: 21px; }
  .level { padding: var(--s4) var(--s5); gap: var(--s4); }
  .level b { font-size: 40px; }
  .quiz { padding: var(--s6) var(--s5) var(--s5); transform: rotate(-.6deg); -webkit-mask: none; mask: none; }
  .quiz__sentence { font-size: 34px; }
  .choice { min-width: 0; flex: 1; min-height: 56px; padding: 0 var(--s3); font-size: 20px; }
  .quiz__choices { width: 100%; }
  .quiz__answer { font-size: var(--fs-body); }
  .test__end p { font-size: 28px; }
  .test__end .btn { width: 100%; justify-content: space-between; }
}

/* Движение: стартовые состояния только при has-motion */
.has-motion [data-b="rise"] { opacity: 0; transform: translateY(28px); }
.has-motion .ticket { opacity: 0; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
