/* ============================================================
   Kukurudza · H1 «Ціна як кваліфікатор» — main.css
   Mobile-first. Зелена айдентика + помаранчевий акцент.
   Творча свобода, бренд як якір. Перф: transform/opacity only.
   ============================================================ */

/* ---------------- Reset / base ---------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: var(--container); margin-inline: auto; }
.accent-text {
  background: var(--grad-green);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.skip-link {
  position: absolute; left: 50%; transform: translateX(-50%) translateY(-150%);
  top: 8px; z-index: var(--z-modal);
  background: var(--ink); color: #fff; padding: .7rem 1.2rem; border-radius: var(--r-pill);
  transition: transform var(--t) var(--ease);
}
.skip-link:focus { transform: translateX(-50%) translateY(0); }

/* ---------------- Section primitives ---------------- */
section { padding-block: var(--section-y); }
.section__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: var(--lh-head);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.section__lead {
  margin-top: var(--space-4);
  max-width: 46ch;
  color: var(--ink-2);
  font-size: var(--fs-lead);
}

/* ---------------- Buttons ---------------- */
.btn {
  --btn-min: 56px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: var(--btn-min);
  padding: .9rem 1.8rem;
  font-family: var(--font-head);
  font-weight: 700; font-size: 1rem; line-height: 1;
  border: 2px solid transparent; border-radius: var(--r-pill);
  text-align: center; white-space: nowrap;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease),
              background var(--t) var(--ease), color var(--t) var(--ease);
  will-change: transform;
}
.btn:active { transform: scale(.97); }
.btn--lg { --btn-min: 64px; padding: 1.05rem 2.3rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }

.btn--cta { background: var(--grad-cta); color: var(--color-on-cta); box-shadow: var(--shadow-cta); }
.btn--cta:hover { background: var(--accent-600); transform: translateY(-2px); box-shadow: 0 16px 34px -8px rgba(255,107,0,.5); }

.btn--green { background: var(--grad-green); color: #fff; box-shadow: var(--shadow-card); }
.btn--green:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--green-800); color: var(--green-800); background: var(--surface-3); }

/* loading spinner */
.btn__spinner { display: none; width: 1.1em; height: 1.1em; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; animation: spin .7s linear infinite; }
.btn.is-loading .btn__label { visibility: hidden; }
.btn.is-loading .btn__spinner { display: block; position: absolute; }
.btn { position: relative; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------- Topbar ---------------- */
.topbar {
  position: sticky; top: 0; z-index: var(--z-nav);
  padding-block: .6rem; background: rgba(255,255,255,.82);
  backdrop-filter: saturate(140%) blur(10px);
  transition: box-shadow var(--t) var(--ease), background var(--t) var(--ease);
}
.topbar.is-scrolled { box-shadow: 0 6px 24px -16px rgba(19,19,19,.4); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.topbar__logo {
  font-family: var(--font-head); /* Ermilov-Bold — як у бренді */
  font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.1rem, 4.6vw, 1.4rem); letter-spacing: .005em;
  color: var(--accent); line-height: 1;
}
.topbar__cta { display: none; min-height: 46px; padding: .6rem 1.4rem; }
@media (min-width: 768px) { .topbar__cta { display: inline-flex; } }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: #fff;
  background:
    radial-gradient(120% 80% at 85% 0%, rgba(91,140,255,.35), transparent 60%),
    linear-gradient(160deg, #06774a 0%, #001f3e 100%);
  padding-block: clamp(2.5rem, 8vw, 5rem) var(--section-y);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__bg::before, .hero__bg::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5;
}
.hero__bg::before { width: 50vw; height: 50vw; background: #75d164; top: -10%; right: -15%; }
.hero__bg::after { width: 40vw; height: 40vw; background: #ff6b00; bottom: -20%; left: -10%; opacity: .25; }
.hero__inner { display: grid; gap: clamp(1.5rem, 5vw, 3rem); align-items: center; }
.hero__overline {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--font-head); font-weight: 700;
  text-transform: uppercase; letter-spacing: .2em; font-size: .72rem;
  color: var(--green-100);
}
.hero__overline::before {
  content: ""; width: 1.9rem; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--green-500), transparent);
}
.hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: var(--fs-display); line-height: var(--lh-display);
  letter-spacing: -0.02em; margin-top: .5rem;
  background: linear-gradient(100deg, #ffffff 0%, #e2ffb9 55%, #ffffff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__subtitle {
  margin-top: 1rem; max-width: 33ch;
  font-size: var(--fs-lead); line-height: 1.45; color: rgba(255,255,255,.84);
}
/* легкі мета-чипи — інфо, не кнопки */
.hero__meta { display: flex; flex-direction: column; align-items: center; gap: .7rem; margin-top: 1.5rem; }
.meta-chip {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .875rem; color: rgba(255,255,255,.85);
}
.meta-chip__dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--green-500); flex: none; }
.meta-chip--accent { color: #fff; font-weight: 600; }
.meta-chip--accent .meta-chip__dot { background: var(--accent); box-shadow: 0 0 0 4px rgba(255,107,0,.2); }
/* один первинний CTA + текст-лінк */
.hero__actions { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; margin-top: 2.2rem; }
.hero__link {
  display: inline-flex; align-items: center; gap: .45rem; position: relative;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: #fff; padding: .4rem 0;
}
.hero__link span { transition: transform var(--t) var(--ease); }
.hero__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: rgba(255,255,255,.4); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t) var(--ease);
}
.hero__link:hover::after { transform: scaleX(1); }
.hero__link:hover span { transform: translateX(4px); }
/* mobile: центрована hero-копія */
.hero__copy { text-align: center; }
.hero__overline, .hero__meta, .hero__actions { justify-content: center; }
.hero__subtitle { margin-inline: auto; }
.hero__media { position: relative; }
.hero__media img {
  width: 100%; border-radius: var(--r-card);
  box-shadow: 0 30px 70px -24px rgba(0,0,0,.55);
}
@media (min-width: 880px) {
  .hero__inner { grid-template-columns: 1.05fr .95fr; }
  .hero__media { order: 2; }
  .hero__copy { text-align: left; }
  .hero__overline, .hero__meta, .hero__actions { justify-content: flex-start; }
  .hero__actions { flex-direction: row; align-items: center; gap: 1rem 1.6rem; }
  .hero__meta { flex-direction: row; align-items: center; gap: .6rem 1.4rem; }
  .hero__subtitle { margin-inline: 0; }
}

/* ---------------- Proof / stats ---------------- */
.proof { background: var(--surface); text-align: center; }
.proof .section__title { margin-inline: auto; max-width: 18ch; }
.proof__grid { display: grid; gap: 1.1rem; margin-top: 2.5rem; }
.stat {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r-card); padding: 2rem 1.5rem;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.stat--featured { background: var(--grad-green); border: none; color: #fff; }
.stat__value {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.8rem, 9vw, 4rem); line-height: 1; color: var(--green-800);
}
.stat--featured .stat__value { color: #fff; }
.stat__label { margin-top: .7rem; color: var(--ink-2); font-size: var(--fs-sm); }
.stat--featured .stat__label { color: rgba(255,255,255,.9); }
@media (min-width: 768px) { .proof__grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------------- Program ---------------- */
.program { background: var(--surface-3); }
.program__wrap { margin-top: 2rem; }
.program__toggle { list-style: none; }
.program__toggle::-webkit-details-marker { display: none; }
.program__toggle::after { content: "↓"; margin-left: .4rem; transition: transform var(--t) var(--ease); }
details[open] .program__toggle::after { transform: rotate(180deg); }
.program__list { display: grid; gap: .7rem; margin-top: 1.5rem; }
.program__item {
  display: flex; align-items: center; gap: 1rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 1rem 1.2rem; font-weight: 500;
}
.program__n {
  flex: none; display: inline-grid; place-items: center; min-width: 2.6rem; height: 2.6rem;
  background: var(--grad-green); color: #fff; border-radius: 50%;
  font-family: var(--font-head); font-weight: 700; font-size: .85rem;
}
.program__item--new .program__n { background: var(--grad-cta); }
@media (min-width: 768px) { .program__list { grid-template-columns: 1fr 1fr; } }

/* ---------------- Price (ключовий блок) ---------------- */
.price { background: var(--surface); text-align: center; }
.price__note { margin-inline: auto; color: var(--accent); font-weight: 600; }
.price__grid { display: grid; gap: 1.4rem; margin-top: 2.5rem; text-align: left; }
.tariff {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--r-card); padding: 2rem 1.6rem;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.tariff:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.tariff--featured {
  background: linear-gradient(165deg, #06774a 0%, #001f3e 120%); color: #fff; border: none;
  box-shadow: var(--shadow-card-hover);
}
.tariff__ribbon {
  position: absolute; top: -.9rem; left: 1.6rem;
  background: var(--grad-cta); color: #fff; font-weight: 700; font-size: var(--fs-xs);
  text-transform: uppercase; letter-spacing: .05em;
  padding: .4rem .9rem; border-radius: var(--r-pill); box-shadow: var(--shadow-cta);
}
.tariff__name { font-family: var(--font-head); font-size: var(--fs-h3); }
.tariff__seats { margin-top: .3rem; font-size: var(--fs-sm); color: var(--muted); }
.tariff--featured .tariff__seats { color: rgba(255,255,255,.75); }
.tariff__price { display: flex; align-items: baseline; gap: .4rem; margin-block: 1.2rem; }
.tariff__num { font-family: var(--font-display); font-size: clamp(2.4rem, 7vw, 3.2rem); line-height: 1; color: var(--green-800); font-feature-settings: "tnum"; }
.tariff--featured .tariff__num { color: #75d164; }
.tariff__cur { font-weight: 700; color: var(--muted); }
.tariff--featured .tariff__cur { color: rgba(255,255,255,.8); }
.tariff__features { display: grid; gap: .7rem; margin-bottom: 1.8rem; }
.tariff__features li { position: relative; padding-left: 1.8rem; font-size: var(--fs-sm); }
.tariff__features li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--green-700); font-weight: 800;
}
.tariff--featured .tariff__features li::before { color: var(--green-500); }
.tariff__feature--all { font-weight: 700; }
.tariff__features { margin-top: 0; }
.tariff .btn { margin-top: auto; }
@media (min-width: 768px) { .price__grid { grid-template-columns: 1fr 1fr; align-items: stretch; } }

/* ---------------- Speakers ---------------- */
.speakers { background: var(--surface-2); }
.speakers__grid { display: grid; gap: 1.2rem; margin-top: 2.5rem; }
.speaker {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
  padding: 1.2rem; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.speaker:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.speaker__photo { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 31 / 20; background: var(--surface-3); }
.speaker__photo img { width: 100%; height: 100%; object-fit: cover; }
.speaker__tag {
  display: inline-block; margin-top: 1rem; font-size: var(--fs-xs); font-weight: 700;
  color: var(--green-800); background: var(--green-100); padding: .3rem .7rem; border-radius: var(--r-pill);
}
.speaker__name { font-family: var(--font-head); font-size: var(--fs-h3); margin-top: .6rem; }
.speaker__position { color: var(--green-700); font-weight: 600; font-size: var(--fs-sm); margin-top: .2rem; }
.speaker__about { margin-top: .8rem; font-size: var(--fs-sm); color: var(--ink-2); }
@media (min-width: 640px) { .speakers__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .speakers__grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------------- Lead form ---------------- */
.leadform {
  color: #fff;
  background:
    radial-gradient(100% 70% at 10% 0%, rgba(91,140,255,.28), transparent 55%),
    linear-gradient(160deg, #001f3e 0%, #06774a 100%);
}
.leadform__inner { display: grid; gap: 2rem; align-items: center; }
.leadform .section__title { color: #fff; }
.leadform__contact-lead { margin-top: 1.4rem; color: rgba(255,255,255,.8); }
.leadform__alt { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: .8rem; }
.leadform__alt-wrap { text-align: center; }
.contact-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
  padding: .65rem 1.1rem; border-radius: var(--r-pill); font-weight: 600; font-size: var(--fs-sm);
  transition: background var(--t) var(--ease), transform var(--t) var(--ease);
}
.contact-pill:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.contact-pill__icon { color: var(--green-500); }

.leadform__form {
  background: var(--surface); color: var(--ink);
  border-radius: var(--r-card); padding: clamp(1.4rem, 5vw, 2.2rem);
  box-shadow: 0 30px 70px -28px rgba(0,0,0,.55);
}
.field { margin-bottom: 1.1rem; }
.field__label { display: block; font-weight: 600; font-size: var(--fs-sm); margin-bottom: .45rem; }
.req { color: var(--accent); }
.field__input {
  width: 100%; min-height: 54px; padding: .85rem 1.1rem;
  font: inherit; color: var(--ink);
  background: var(--surface-2); border: 2px solid transparent; border-radius: var(--r-input);
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}
.field__input::placeholder { color: var(--muted); }
.field__input:focus { outline: none; background: #fff; border-color: var(--green-500); }
.field--error .field__input { border-color: #cf2e2e; background: #fff5f5; }
.field__error { margin-top: .4rem; color: #cf2e2e; font-size: var(--fs-sm); }
.leadform__note { margin-top: 1rem; font-size: var(--fs-xs); color: var(--muted); text-align: center; }
.leadform__result { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--r-md); font-weight: 600; }
.leadform__result.is-success { background: var(--green-100); color: var(--green-800); }
.leadform__result.is-error { background: #fdecec; color: #cf2e2e; }
@media (min-width: 880px) {
  .leadform__inner { grid-template-columns: 1fr 1fr; }
  .leadform__alt-wrap { grid-column: 1 / -1; margin-top: .25rem; }
}

/* ---------------- FAQ ---------------- */
.faq { background: var(--surface); }
.faq__items { display: grid; gap: .8rem; margin-top: 2rem; max-width: 820px; }
.faq__item { border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); overflow: hidden; }
.faq__item[open] { border-color: var(--green-500); box-shadow: var(--shadow-card); }
.faq__q {
  display: flex; align-items: center; gap: .9rem; cursor: pointer; list-style: none;
  padding: 1.2rem 1.3rem; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__n { color: var(--green-700); font-family: var(--font-display); }
.faq__icon { margin-left: auto; flex: none; width: 1.4rem; height: 1.4rem; position: relative; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; inset: 0; margin: auto; background: var(--green-800);
  transition: transform var(--t) var(--ease);
}
.faq__icon::before { width: 1.4rem; height: 2px; }
.faq__icon::after { width: 2px; height: 1.4rem; }
.faq__item[open] .faq__icon::after { transform: rotate(90deg); opacity: 0; }
.faq__a { padding: 0 1.3rem 1.3rem; color: var(--ink-2); font-size: var(--fs-body); }

/* ---------------- Footer ---------------- */
.footer { background: var(--ink); color: rgba(255,255,255,.8); padding-block: 2.5rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; }
.footer__logo {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.7rem, 7vw, 2.5rem); color: var(--accent); line-height: 1;
}
.footer__socials { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.2rem; }
.footer__socials a { font-size: var(--fs-sm); transition: color var(--t) var(--ease); }
.footer__socials a:hover { color: var(--green-500); }
/* телефон — кнопка-pill у ряду з соцмережами */
.footer__phone {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: var(--fs-sm); font-weight: 600; color: #fff;
  border: 1.5px solid rgba(255,255,255,.28); border-radius: var(--r-pill);
  padding: .42rem 1rem;
  transition: border-color var(--t) var(--ease), color var(--t) var(--ease), background var(--t) var(--ease);
}
.footer__phone:hover { border-color: var(--accent); color: var(--accent); background: rgba(255,107,0,.12); }
/* мобільний футер: стовпчик по центру + місце під sticky-CTA */
@media (max-width: 767px) {
  .footer { padding-bottom: 9rem; text-align: center; }
  .footer__inner { display: block; }
  .footer__logo { display: inline-block; margin-bottom: 1.1rem; }
  .footer__socials { justify-content: center; }
}

/* ---------------- Sticky CTA (mobile) ---------------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky);
  padding: .8rem 1rem calc(.8rem + env(safe-area-inset-bottom));
  background: none;            /* без білого фейду — матчиться з будь-яким фоном/футером */
  pointer-events: none;
}
.sticky-cta .btn { pointer-events: auto; box-shadow: 0 8px 22px -6px rgba(0,0,0,.5), 0 10px 26px -8px rgba(255,107,0,.55); }
.sticky-cta[hidden] { display: none; }
@media (min-width: 768px) { .sticky-cta { display: none !important; } }

/* ---------------- Reveal animations ---------------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .btn, .stat, .tariff, .speaker, .contact-pill { transition: none; }
  .btn__spinner { animation-duration: 1.2s; }
}

/* ============================================================
   ANIMATIONS — «круті анімації» (GPU-friendly: transform/opacity)
   ============================================================ */
@keyframes riseIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes heroTitle { from { transform: translateY(20px); } to { transform: none; } }
@keyframes shimmer { to { background-position: 220% center; } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes drift1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(10%, 8%) scale(1.18); } }
@keyframes drift2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-8%, -6%) scale(1.12); } }
@keyframes heroPulse { 0%, 100% { opacity: .5; } 50% { opacity: .9; } }
@keyframes shine { 0%, 55% { transform: translateX(-180%) skewX(-18deg); } 90%, 100% { transform: translateX(360%) skewX(-18deg); } }
@keyframes ctaPulse { 0%, 100% { box-shadow: var(--shadow-cta); } 50% { box-shadow: 0 16px 44px -6px rgba(255,107,0,.72); } }
@keyframes cardGlow { 0%, 100% { box-shadow: var(--shadow-card-hover); } 50% { box-shadow: 0 26px 72px -14px rgba(91,140,255,.5); } }
@keyframes slideUp { from { transform: translateY(110%); } to { transform: none; } }
@keyframes revealDown { from { opacity: 0; transform: translateY(-7px); } to { opacity: 1; transform: none; } }

/* Hero — живий фон + вхід тексту */
.hero__bg { animation: heroPulse 10s ease-in-out infinite; }
.hero__bg::before { animation: drift1 24s ease-in-out infinite; }
.hero__bg::after { animation: drift2 28s ease-in-out infinite; }
.hero__media img { animation: floatY 6s ease-in-out infinite; }
.hero__overline { animation: riseIn .6s var(--ease) both .05s; }
.hero__title { background-size: 220% auto; animation: heroTitle .7s var(--ease) both, shimmer 8s linear infinite .9s; }
.hero__subtitle { animation: riseIn .6s var(--ease) both .2s; }
.hero__meta { animation: riseIn .6s var(--ease) both .3s; }
.hero__actions { animation: riseIn .6s var(--ease) both .42s; }

/* CTA — shine sweep + glow pulse */
.btn--cta { overflow: hidden; }
.btn--cta::before {
  content: ""; position: absolute; top: -20%; left: 0; width: 38%; height: 140%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: translateX(-180%) skewX(-18deg); pointer-events: none;
  animation: shine 5.5s ease-in-out infinite;
}
.btn--cta .btn__label { position: relative; z-index: 1; }
.btn--cta.btn--lg { animation: ctaPulse 3.2s ease-in-out infinite; }
.btn--cta.btn--lg:hover { animation-play-state: paused; }

/* Featured тариф — пульсуюче світіння */
.tariff--featured { animation: cardGlow 4.5s ease-in-out infinite; }
.tariff--featured:hover { animation-play-state: paused; }

/* Sticky CTA — виїзд знизу */
.sticky-cta:not([hidden]) { animation: slideUp .35s var(--ease); }

/* Акордеон — плавне розкриття контенту */
details[open] .faq__a, details[open] .program__list { animation: revealDown .35s var(--ease); }

/* Stagger-поява гридів (--d ставить ui.js) */
.js [data-stagger] > * {
  opacity: 0; transform: translateY(22px);
  transition: opacity .5s var(--ease) var(--d, 0s), transform .5s var(--ease) var(--d, 0s);
}
.js [data-stagger].in-view > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero__bg, .hero__bg::before, .hero__bg::after, .hero__media img,
  .hero__overline, .hero__title, .hero__subtitle, .hero__meta, .hero__actions,
  .btn--cta::before, .btn--cta.btn--lg, .tariff--featured, .sticky-cta:not([hidden]),
  details[open] .faq__a, details[open] .program__list { animation: none !important; }
  .js [data-stagger] > * { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ============================================================
   HERO — відео-фон (h1-video). Негативний простір відео:
   персонаж зліва, телескоп праворуч, небо вгорі
   → контент угорі-по центру (не перекриває головні елементи).
   ============================================================ */
.hero--video {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 90svh; padding: 0; color: #fff; background: #001f3e;
}
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 28% 50%; z-index: -2;
  /* Бренд-зелений: відео знято в синьому — зсуваємо відтінок у зелену гаму Kukurudza */
  filter: hue-rotate(-92deg) saturate(1.08);
}
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg,
    rgba(0,31,30,.80) 0%, rgba(0,40,28,.34) 30%,
    rgba(0,40,28,.10) 52%, rgba(0,31,24,.62) 100%);
}
/* BLOCK-розкладка (не flex) — усуває max-content-сайзинг flex-item */
.hero--video .hero__inner {
  position: relative; box-sizing: border-box;
  width: 100%; max-width: 100%;
  min-height: 90svh; display: block; text-align: center;
  padding: clamp(2rem, 8vh, 4.5rem) clamp(1.25rem, 5vw, 2rem) 3rem;
}
.hero--video .hero__copy { width: auto; max-width: 100%; margin: 0; }
.hero--video .hero__subtitle { margin-top: 1.25rem; max-width: min(33rem, calc(100vw - 4rem)); margin-inline: auto; }
@media (min-width: 768px) {
  .hero--video { min-height: min(92vh, 58vw); }
  .hero__video { object-position: 50% 50%; }
  .hero--video .hero__inner { padding-top: clamp(2.5rem, 9vh, 6rem); }
}

/* ── Hero (відео): консистентна ієрархія + єдиний ритм відступів ── */
.hero--video .hero__overline { justify-content: center; gap: .8rem; }
.hero--video .hero__overline::after {
  content: ""; width: 1.9rem; height: 2px; border-radius: 2px;
  background: linear-gradient(270deg, var(--green-500), transparent);
}
.hero--video .hero__title { margin-top: 1rem; }
.hero--video .hero__meta { margin-top: 1.75rem; }
.hero--video .hero__actions { margin-top: 2.5rem; gap: 1.25rem; }



/* відео-hero — ЗАВЖДИ по центру (перебиває desktop-ліве вирівнювання зеленого hero) */
.hero--video .hero__copy { text-align: center; }
.hero--video .hero__overline,
.hero--video .hero__meta,
.hero--video .hero__actions { justify-content: center; }
.hero--video .hero__subtitle { margin-inline: auto; }


/* ── ROI-якір у блоці ціни ── */
.price__roi { max-width: 44ch; margin: .8rem auto .25rem; color: var(--ink); font-size: var(--fs-lead); line-height: 1.4; }
.price__roi strong { color: var(--accent); }
.price__src { color: var(--muted); font-size: .85em; }

/* ── Відгуки (плейсхолдер) ── */
.reviews { background: var(--surface-2); text-align: center; }
.reviews__grid {
  display: grid; gap: 1.2rem; margin-top: 2.5rem;
  grid-auto-flow: column; grid-auto-columns: 80%;
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; padding-bottom: .6rem;
}
.reviews__grid::-webkit-scrollbar { height: 6px; }
.reviews__grid::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }
.review-card { margin: 0; scroll-snap-align: center; }
.review__img {
  width: 100%; height: auto; display: block;
  border-radius: var(--r-card); box-shadow: var(--shadow-card); background: #fff;
}
@media (min-width: 768px) {
  .reviews__grid {
    grid-auto-flow: row; grid-template-columns: repeat(3, 1fr);
    grid-auto-columns: auto; overflow: visible; align-items: start;
  }
}

