/* ============================================================
   NOVI — Детски тренировки (landing page overrides)
   Зарежда се СЛЕД ../styles.css и важи само за тази страница.
   Бранд: тъмносиньо (#021c34) + оранжев акцент — като NOVI app.
   Нивата следват цветната система на ITF Play & Stay.
   ============================================================ */

:root {
  --brand-navy: #021c34;
  --brand-orange: #f45912;
  --level-red: #E63946;
  --level-orange: var(--brand-orange);
  --level-green: #2A9D8F;
  --level-yellow: #E9C46A;
  --navy: var(--brand-navy);
  --navy-soft: #052744;
  --header-h: 76px;
}

html { scroll-padding-top: calc(var(--header-h) + 16px); }

/* <picture> обвивките не трябва да влияят на оразмеряването на снимките */
.hero-media picture,
.methodology-photo picture,
.coach-card picture { display: contents; }

/* Заглавията и уводните текстове на секциите вървят на пълната ширина на контейнера */
.section-head,
.section-head .lead,
.lead-form-layout .lead { max-width: none; }
body { padding-top: var(--header-h); }

/* ============== Header — фиксиран отгоре от самото начало ============== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: rgba(2, 28, 52, .94);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-inner { height: 100%; }
.brand img { height: 46px; max-width: 240px; }
.nav a { color: rgba(255, 255, 255, .85); }
.nav a:hover { color: #fff; }
.nav-toggle { border-color: rgba(255, 255, 255, .28); }
.nav-toggle span { background: #fff; }

/* ============== Hero — тъмносин, с placeholder медия ============== */
.campaign-hero {
  min-height: 0;
  display: block;
  padding: 48px 0 72px;
  background:
    radial-gradient(circle at 85% 0%, rgba(244, 89, 18, .18), transparent 55%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-soft) 100%);
}
.campaign-hero::before { content: none; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.campaign-hero .hero-content {
  padding: 0;
  max-width: none;
}
.hero-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0 0 20px;
}
.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(244, 89, 18, .16);
  border: 1px solid rgba(244, 89, 18, .4);
  color: #ffd8c2;
  font-size: 14px;
  font-weight: 700;
}
.hero-meta .icon { width: 18px; height: 18px; color: #f8874a; }
.hero-media {
  margin: 0;
  position: relative;
  width: min(100%, 400px);
  aspect-ratio: 4 / 5;
  justify-self: end;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: var(--shadow-lg);
  background: #0a2a4a;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

/* ============== H1 — ключова фраза + подзаглавие ============== */
.h1-sub {
  display: block;
  margin-top: 10px;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  color: rgba(255, 255, 255, .78);
  letter-spacing: 0;
}

/* ============== Старт бадж (hero) ============== */
.start-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 12px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--brand-orange);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(244, 89, 18, .35);
}
.start-badge strong { font-weight: 800; }
.start-badge .icon { width: 18px; height: 18px; }

/* ============== Методология ITF ============== */
.methodology {
  padding: 56px 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.methodology-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
}
.methodology h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  margin-bottom: 10px;
}
.methodology p {
  margin: 0;
  max-width: 820px;
  color: var(--ink-soft);
}
.itf-badge {
  width: 104px;
  height: 104px;
  border-radius: 22px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  font-size: 13px;
  line-height: 1.25;
  color: var(--ink);
  text-align: center;
  flex-shrink: 0;
}
.itf-balls { display: flex; gap: 6px; }
.itf-balls span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  display: block;
}
.methodology-photo {
  margin: 0;
  width: 220px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
}
.methodology-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============== Видео — „Погледнете как тренираме" ============== */
.video-section {
  background:
    radial-gradient(circle at 80% 15%, rgba(244, 89, 18, .16), transparent 50%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-soft) 100%);
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}
.video-section h2 { color: #fff; }
.video-section .video-copy > p {
  color: rgba(255, 255, 255, .82);
  max-width: 52ch;
  margin-bottom: 28px;
}
.video-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.video-frame {
  width: min(100%, 340px);
  justify-self: center;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: var(--shadow-lg);
  background: #000;
}
.video-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

/* ============== Нашите групи — 4 цветни карти ============== */
.level-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.level-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 5px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.level-card--red { border-top-color: var(--level-red); }
.level-card--orange { border-top-color: var(--level-orange); }
.level-card--green { border-top-color: var(--level-green); }
.level-card--yellow { border-top-color: var(--level-yellow); }
.level-tag {
  align-self: flex-start;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 14px;
}
.level-card--red .level-tag { background: rgba(230, 57, 70, .12); color: #b52836; }
.level-card--orange .level-tag { background: var(--accent-soft); color: var(--accent-strong); }
.level-card--green .level-tag { background: rgba(42, 157, 143, .14); color: #1e7268; }
.level-card--yellow .level-tag { background: rgba(233, 196, 106, .24); color: #8a6a15; }
.level-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.level-ball {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
}
.ball-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.level-card--red .ball-dot { background: var(--level-red); }
.level-card--orange .ball-dot { background: var(--level-orange); }
.level-card--green .ball-dot { background: var(--level-green); }
.level-card--yellow .ball-dot { background: var(--level-yellow); }
.level-learn {
  margin: 0 0 16px;
  color: var(--ink-soft);
  flex: 1;
}
.level-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 14px;
}
.price-main {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
}
.price-main span {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}
.price-alt {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-strong);
}
.price-note {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.price-note strong { color: var(--ink); }
.level-facts {
  list-style: none;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px dashed var(--border);
  display: grid;
  gap: 8px;
}
.level-facts li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-soft);
}
.level-facts .icon {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--accent);
}
.level-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 16px 0 0;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--ink);
}
.level-note .icon { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* ============== Седмичен график ============== */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.schedule-day--weekend { background: #fff7f2; border-color: rgba(244, 89, 18, .25); }
.schedule-day--weekend h3 { color: var(--accent-strong); }
.schedule-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 18px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-soft);
}
.schedule-legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.schedule-day {
  padding: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.schedule-day h3 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
}
.session {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 12px;
  color: #fff;
  margin-bottom: 10px;
  min-height: 120px;             /* 60 мин */
}
.session--90 { min-height: 180px; } /* 90 мин — 1.5× по-висок блок */
.session:last-child { margin-bottom: 0; }
.session strong { font-size: 15px; }
.session span { font-size: 13.5px; font-weight: 600; opacity: .95; }
.session small { font-size: 12px; opacity: .8; }
.session--red { background: var(--level-red); }
.session--orange { background: var(--level-orange); }
.session--green { background: var(--level-green); }
.session--yellow { background: var(--level-yellow); color: var(--ink); }
.schedule-note {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.55;
}
.game-day {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
}
.game-day .icon { color: var(--accent-strong); flex-shrink: 0; margin-top: 2px; }

/* ============== Треньори — 3 карти, портретни снимки ============== */
.coach-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.coach-card img {
  aspect-ratio: 4 / 5;           /* снимките са портретни 1122×1402 — показваме ги цели */
  object-fit: cover;
  object-position: center top;
}
.coach-card-body { padding: 22px; }
.coach-card h3 { font-size: 20px; }

/* ============== Зимен сезон — покрита зала ============== */
.winter-note {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 22px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff7f2 0%, #fff 60%);
  border: 1px solid rgba(244, 89, 18, .3);
}
.winter-note-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-strong);
}
.winter-note h3 { font-size: 19px; margin: 4px 0 8px; }
.winter-note p { margin: 0 0 10px; color: var(--ink-soft); line-height: 1.55; }
.winter-note a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-strong);
  font-weight: 700;
  text-decoration: none;
}
.winter-note a .icon { width: 18px; height: 18px; }

/* ============== Защо NOVI — 4 карти ============== */
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ============== Екипировка ============== */
.equip-grid .info-card p {
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}
.equip-grid .info-card p + p { margin-top: 10px; }
.equip-grid .equip-note {
  font-size: 13.5px;
  color: var(--muted);
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}

/* ============== Форма — опростена + thank-you ============== */
.form-phone-alt { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.form-phone-alt a { color: var(--accent-strong); text-decoration: none; }
.choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-soft);
  cursor: pointer;
  line-height: 1.45;
}
.choice + .choice { margin-top: 8px; }
.choice input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: var(--accent);
}
.choice.consent { font-size: 13.5px; color: var(--muted); }
.choice.consent a { color: var(--accent-strong); }
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-error {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fdecea;
  border: 1px solid #f5b8b2;
  color: #9b2b23;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}
.form-error[hidden] { display: none; }
.form-error .icon { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.form-error a { color: inherit; }
.lead-form .btn[disabled] { opacity: .7; cursor: wait; }
.form-optional {
  border: 1px dashed var(--border);
  border-radius: 12px;
  background: var(--bg-soft);
}
.form-optional summary {
  cursor: pointer;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}
.form-optional summary:hover { color: var(--ink); }
.form-optional-body {
  padding: 4px 16px 16px;
  display: grid;
  gap: 16px;
}
.lead-form[hidden] { display: none; }   /* иначе display:grid от styles.css надделява над hidden */
.form-thankyou { text-align: center; padding: 24px 8px; }
.form-thankyou[hidden] { display: none; }
.thankyou-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #dff1ec;
  color: #1f7f65;
  margin-bottom: 16px;
}
.form-thankyou h3 { margin-bottom: 10px; }
.form-thankyou p {
  color: var(--muted);
  max-width: 44ch;
  margin: 0 auto 14px;
}
.form-thankyou a { color: var(--accent-strong); }
.thankyou-phone { display: inline-block; margin-top: 6px; font-size: 20px; white-space: nowrap; text-decoration: none; }

/* ============== Финален CTA — тъмносин ============== */
.final-cta {
  background:
    radial-gradient(circle at 15% 20%, rgba(244, 89, 18, .2), transparent 40%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-soft) 100%);
}
.final-cta .cta-panel {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}
.final-cta h2 { color: #fff; }
.final-cta p { color: rgba(255, 255, 255, .82); }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ============== Responsive ============== */
@media (max-width: 1100px) {
  .level-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav {
    background: var(--navy);
    border-bottom-color: rgba(255, 255, 255, .1);
  }
  .nav a {
    color: rgba(255, 255, 255, .85);
    border-bottom-color: rgba(255, 255, 255, .08);
  }
  .campaign-hero {
    min-height: 0;
    background:
      linear-gradient(180deg, rgba(2, 28, 52, .88) 0%, rgba(2, 28, 52, .74) 55%, rgba(5, 39, 68, .93) 100%),
      url('media/hero-kid-balance.jpg') center 30% / cover no-repeat;
  }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-media { display: none; }
  .methodology-inner { grid-template-columns: auto 1fr; }
  .methodology-photo {
    grid-column: 1 / -1;
    order: -1;
    width: min(100%, 300px);
  }
  .video-grid { grid-template-columns: 1fr; gap: 32px; }
  .card-grid--4 { grid-template-columns: 1fr 1fr; }
  .schedule-grid { grid-template-columns: repeat(3, 1fr); }
  .lead-form-layout { grid-template-columns: 1fr; }
  .coach-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .schedule-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  :root { --header-h: 64px; }
  .brand img { height: 38px; }

  .section-pad { padding: 64px 0; }
  .campaign-hero { padding: 28px 0 48px; }
  .campaign-hero h1 { font-size: 31px; }
  .hero-meta li { font-size: 13px; padding: 7px 12px; }
  .start-badge { font-size: 13px; }
  .form-row { grid-template-columns: 1fr; }

  .methodology { padding: 44px 0; }
  .winter-note { flex-direction: column; gap: 12px; padding: 18px; }
  .methodology-inner { grid-template-columns: 1fr; gap: 20px; justify-items: start; }

  .level-grid,
  .coach-grid,
  .card-grid--4 { grid-template-columns: 1fr; }
  .coach-card img { aspect-ratio: 1 / 1; }

  .hero-ctas .btn,
  .lead-form .btn,
  .video-copy .btn,
  .cta-actions .btn {
    white-space: normal;
    text-align: center;
    justify-content: center;
  }
  .video-copy .btn { width: 100%; }
  .video-frame { border-radius: 22px; }
  .cta-actions .btn { width: 100%; }
  .mobile-sticky-cta { text-align: center; }
}

@media (max-width: 480px) {
  .schedule-grid { grid-template-columns: 1fr; }
}
