/* ==========================================================================
   Kakebe Tech Camp 2026 — v2 additions (centred-logo header, packages,
   checkout, core team, sponsorship). Loaded after style.css.
   ========================================================================== */

[hidden] { display: none !important; }

/* ---------- Header: logo in the middle, menu on both sides ---------- */
.header.v2 { background: rgba(255, 255, 255, .96); }
.header-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: 86px; max-width: 1400px; }
.nav-side { display: flex; align-items: center; gap: 14px; }
.nav-side.right { justify-content: flex-end; }
.nav-side ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-side a[data-nav] { position: relative; display: block; padding: 10px 13px; font-weight: 600; font-size: 15px; color: var(--ink); border-radius: 999px; white-space: nowrap; }
.nav-side a[data-nav]:hover, .nav-side a[data-nav].active { color: var(--red); }
.nav-side a[data-nav]::after { content: ''; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; border-radius: 50%; background: var(--red); transform: translateX(-50%) scale(0); transition: transform .25s; }
.nav-side a[data-nav].active::after { transform: translateX(-50%) scale(1); }
.brand-center { position: relative; z-index: 5; display: block; align-self: start; margin-top: 6px; transition: transform .35s var(--ease); }
.brand-center img { width: 272px; height: auto; filter: drop-shadow(0 14px 24px rgba(225, 29, 42, .22)); transition: width .35s var(--ease); }
.header.scrolled .brand-center img { width: 150px; }
.header.v2 .nav-toggle, .mob-pay { display: none; }
.mobile-menu { display: none; }

/* ---------- Hero v2 ---------- */
.hero.v2 { padding-top: 96px; }
.hero-title { font-size: clamp(42px, 6vw, 76px); font-weight: 800; line-height: 1.02; letter-spacing: -.03em; color: var(--navy); margin: 4px 0 6px; }
.hero-title span { background: linear-gradient(90deg, var(--red), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fee-badge span { font-size: 11px; }
.fee-badge em { font-size: 10.5px; }

/* ---------- Tracks: 6 ---------- */
.track-grid.six { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.track-grid.six .track-card { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; align-items: start; }
.track-grid.six .track-icon { grid-row: span 2; margin: 0; }
.track-grid.six .track-card h3 { margin-top: 4px; padding-right: 58px; }
.track-grid.six .track-num { font-size: 38px; top: 16px; }
.facts-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px 24px; box-shadow: var(--shadow-sm); max-width: 420px; }
.facts-card h4 { font-size: 16px; margin-bottom: 10px; display: flex; gap: 10px; align-items: center; }
.facts-card h4 i { color: var(--red); }
.facts-card ul { list-style: none; margin: 0; padding: 0; }
.facts-card li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.facts-card li:last-child { border-bottom: 0; }
.facts-card li b { color: var(--ink); text-align: right; }

/* ---------- Included + price table ---------- */
.camp-grid { grid-template-columns: 1.1fr .9fr; align-items: stretch; }
.camp-float-inline { display: flex; gap: 14px; align-items: center; margin-top: 26px; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.camp-float-inline > i { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 20px; flex-shrink: 0; }
.camp-float-inline b { display: block; color: var(--ink); }
.camp-float-inline span { font-size: 14px; }
.price-table { background: #fff; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.pt-head { padding: 26px 28px; color: #fff; background: linear-gradient(135deg, var(--navy), #1D3E97 70%, #3B2A8A); position: relative; overflow: hidden; }
.pt-head::after { content: ''; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; border-radius: 50%; border: 26px solid rgba(255, 255, 255, .07); }
.pt-head span { display: block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.pt-head b { display: block; font-size: 38px; font-weight: 800; line-height: 1.15; margin: 4px 0; }
.pt-head small { opacity: .8; font-size: 13.5px; }
.pt-rows { list-style: none; margin: 0; padding: 10px 28px; }
.pt-rows li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.pt-rows li:last-child { border-bottom: 0; }
.pt-rows span { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 600; font-size: 15px; flex-wrap: wrap; }
.pt-rows span i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--red-50); color: var(--red); font-size: 14px; }
.pt-rows em { font-style: normal; font-size: 10.5px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: var(--soft); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.pt-rows em.free, b.free { color: var(--green); }
.pt-rows em.free { background: #E6F7EE; }
.pt-rows em.opt { background: var(--blue-50); color: var(--blue); }
.pt-rows b { color: var(--ink); font-size: 16px; white-space: nowrap; }
.pt-note { display: flex; gap: 12px; margin: 0 28px 18px; padding: 14px 16px; border-radius: 14px; background: var(--red-50); font-size: 14px; }
.pt-note i { color: var(--red); margin-top: 4px; }
.pt-note p { margin: 0; }
.pt-note b { color: var(--ink); }
.price-table > .btn { margin: auto 28px 28px; width: auto; }

/* ---------- Core team ---------- */
.team-sec { background: linear-gradient(180deg, #fff, var(--soft)); }
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.member { width: calc((100% - 72px) / 4); max-width: 270px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 14px 14px 22px; box-shadow: var(--shadow-sm); transition: opacity .8s var(--ease), transform .4s var(--ease), box-shadow .3s; }
.member:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.member-photo { position: relative; aspect-ratio: 1 / 1.08; border-radius: 18px; overflow: hidden; margin-bottom: 16px; background: linear-gradient(145deg, var(--navy), #1D3E97); }
.member-photo::after { content: ''; position: absolute; inset: auto 0 0 0; height: 6px; background: linear-gradient(90deg, var(--red), var(--orange)); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.member:hover .member-photo img { transform: scale(1.06); }
.member-ini { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 54px; font-weight: 800; letter-spacing: .02em; background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .18), transparent 55%); }
.member:nth-child(3n+2) .member-photo { background: linear-gradient(145deg, var(--red), #F0532B); }
.member:nth-child(3n) .member-photo { background: linear-gradient(145deg, #1B2A55, #7A1F3D); }
.member h3 { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.member p { margin: 0; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }

/* ---------- Registration v2 ---------- */
.form-section { display: flex; align-items: center; gap: 10px; margin: 26px 0 14px; font-weight: 800; color: var(--navy); font-size: 16px; }
.form-section:first-of-type { margin-top: 6px; }
.form-section span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 13px; }
.form-section small { font-size: 12px; font-weight: 700; color: var(--muted); margin-left: auto; background: var(--soft); padding: 4px 10px; border-radius: 999px; }
.track-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tpk { cursor: pointer; position: relative; }
.tpk input { position: absolute; opacity: 0; }
.tpk span { position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 14px 14px 14px; border: 2px solid var(--line); border-radius: 16px; background: #fff; transition: .2s; }
.tpk span > i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--soft); color: var(--navy); font-size: 15px; transition: .2s; }
.tpk b { font-size: 13.5px; color: var(--ink); line-height: 1.3; }
.tpk em { position: absolute; top: 10px; right: 10px; color: var(--line); font-size: 18px; transition: .2s; }
.tpk:hover span { border-color: #F3B4B4; }
.tpk input:checked + span { border-color: var(--red); background: #FFF7F7; box-shadow: 0 0 0 4px rgba(225, 29, 42, .08); }
.tpk input:checked + span > i { background: var(--red); color: #fff; }
.tpk input:checked + span em { color: var(--red); }
.tpk input:disabled + span { opacity: .45; cursor: not-allowed; }
.tpk input:focus-visible + span { outline: 3px solid rgba(225, 29, 42, .4); outline-offset: 2px; }
.pkg-options { display: grid; gap: 10px; margin-bottom: 16px; }
.pkg-opt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 2px solid var(--line); border-radius: 16px; background: #FAFBFE; }
.pkg-opt > i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--red); flex-shrink: 0; }
.pkg-opt div { flex: 1; line-height: 1.35; }
.pkg-opt b { display: block; color: var(--ink); font-size: 15px; }
.pkg-opt small { color: var(--muted); font-size: 12.5px; }
.pkg-opt strong { color: var(--ink); white-space: nowrap; }
.pkg-opt.locked { position: relative; }
.pkg-opt.locked::after { content: '\f023'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 11px; color: var(--muted); position: absolute; top: 8px; right: 10px; }
.pkg-opt.free strong { color: var(--green); }
.pkg-opt.toggle { cursor: pointer; background: #fff; border-style: dashed; transition: .2s; }
.pkg-opt.toggle input { width: 22px; height: 22px; accent-color: var(--red); flex-shrink: 0; margin: 0; }
.pkg-opt.toggle:hover { border-color: #F3B4B4; }
.pkg-opt.toggle:has(input:checked) { border-style: solid; border-color: var(--red); background: #FFF7F7; }
.pkg-total { display: flex; flex-direction: column; justify-content: center; height: 50px; padding: 0 14px; border-radius: 12px; background: var(--navy); color: #fff; line-height: 1.2; }
.pkg-total b { font-size: 18px; }
.pkg-total small { font-size: 11.5px; opacity: .8; }
.mentor-check { margin: 4px 0 6px; padding: 14px 16px; border-radius: 14px; background: #F2FBF6; border: 1px solid #CDEFDC; }
.mentor-check b { color: var(--green); }
.summary-card { margin: 6px 0 22px; padding: 20px 22px; border-radius: 20px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #fff; }
.summary-card h4 { color: #fff; font-size: 15px; margin-bottom: 10px; display: flex; gap: 10px; align-items: center; }
.summary-card h4 i { color: #FF7A7F; }
.summary-card ul { list-style: none; margin: 0; padding: 0; }
.summary-card li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed rgba(255, 255, 255, .14); font-size: 14px; color: rgba(255, 255, 255, .82); }
.summary-card li b { color: #fff; }
.summary-card li b.free { color: #7CF0A6; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; }
.sum-total span { font-weight: 700; }
.sum-total b { font-size: 24px; color: #fff; }
.sum-dep { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(225, 29, 42, .25); font-size: 13.5px; color: #FFE1DE; }
.sum-dep b { color: #fff; }
.checkout-box { max-width: 380px; margin: 0 auto 16px; padding: 14px 18px; border-radius: 16px; background: var(--soft); }
.cb-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 15px; }
.cb-row b { color: var(--ink); }
.checkout-q { font-weight: 800; color: var(--ink); margin: 18px 0 12px; }
.checkout-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.choice { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px 16px; border-radius: 20px; border: 2px solid var(--line); background: #fff; cursor: pointer; font: inherit; text-align: center; transition: .25s; }
.choice i { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; background: var(--soft); color: var(--navy); }
.choice b { color: var(--ink); font-size: 17px; }
.choice small { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.choice.now { border-color: var(--red); background: #FFF7F7; }
.choice.now i { background: var(--red); color: #fff; }
.choice:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.later-note { display: flex; gap: 12px; text-align: left; padding: 14px 16px; border-radius: 14px; background: #F2FBF6; margin-bottom: 18px; }
.later-note i { color: var(--green); margin-top: 4px; }
.later-note p { margin: 0; font-size: 14px; }

/* ---------- Pay widgets on the landing page (sponsor form) ---------- */
.lbl { display: block; font-weight: 700; font-size: 13.5px; color: var(--ink); margin: 14px 0 10px; }
.methods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.method { cursor: pointer; }
.method input { position: absolute; opacity: 0; }
.method span { display: grid; grid-template-columns: 40px 1fr; column-gap: 10px; align-items: center; padding: 12px 14px; border: 2px solid var(--line); border-radius: 16px; transition: .2s; }
.method i { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--navy); font-size: 18px; }
.method b { color: var(--ink); font-size: 14.5px; }
.method small { color: var(--muted); font-size: 12px; font-weight: 600; }
.method input:checked + span { border-color: var(--red); background: #FFF7F7; }
.method input:checked + span i { background: var(--red); color: #fff; }
.sandbox { padding: 10px 14px; border-radius: 12px; background: #FFF4E5; color: #B54708; font-size: 13.5px; margin: 0 0 12px; }
.sandbox code { background: #fff; padding: 1px 6px; border-radius: 6px; font-size: 12.5px; }
.secure { text-align: center; font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }
.pay-state .ps { text-align: center; padding: 20px 0; }
.ps-icon { width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; }
.ps.ok .ps-icon { background: #E6F7EE; color: var(--green); }
.ps.bad .ps-icon { background: #FEF0EF; color: #B42318; }
.ps.wait .ps-icon { background: var(--red-50); }
.ps h3 { font-size: 22px; margin-bottom: 8px; }
.ps .big { font-size: 28px; font-weight: 800; color: var(--ink); }
.ps .btn-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.spinner.dark { width: 34px; height: 34px; border-width: 3.5px; border-color: var(--red-100); border-top-color: var(--red); }

/* ---------- Sponsor section ---------- */
.sponsor { background: linear-gradient(180deg, var(--soft), #fff); }
.sponsor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.sponsor-info .lead { font-size: 17px; color: var(--ink); }
.sponsor-impact { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 16px; }
.sponsor-impact li { display: flex; gap: 14px; }
.sponsor-impact span { width: 50px; height: 50px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 19px; box-shadow: var(--shadow-red); }
.sponsor-impact b { color: var(--ink); display: block; }
.sponsor-impact p { margin: 2px 0 0; font-size: 14px; }
.sponsor-photo { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 8; }
.sponsor-photo img { width: 100%; height: 100%; object-fit: cover; }
.sponsor-card { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 32px; box-shadow: var(--shadow); position: sticky; top: 110px; }
.sponsor-card h3 { font-size: 22px; font-weight: 800; }
.sponsor-card .check { margin: 4px 0; }

/* ---------- Footer logo ---------- */
.f-brand img.f-logo { width: 210px; height: auto; background: #fff; border-radius: 18px; padding: 10px 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1320px) {
  .nav-side a[data-nav] { padding: 10px 9px; font-size: 14.5px; }
  .brand-center img { width: 210px; }
}
@media (max-width: 1180px) {
  .header-grid { grid-template-columns: 48px 1fr 48px; height: 74px; }
  .nav-side { display: none; }
  .brand-center { justify-self: center; grid-column: 2; }
  .brand-center img { width: 170px; }
  .header.scrolled .brand-center img { width: 120px; }
  .header.v2 .nav-toggle { display: flex; grid-column: 3; justify-self: end; }
  .mob-pay { display: grid; place-items: center; grid-column: 1; grid-row: 1; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); color: var(--red); background: #fff; }
  .mobile-menu { display: flex; flex-direction: column; gap: 20px; position: fixed; top: 0; right: 0; z-index: 150; width: min(340px, 86vw); height: 100vh; height: 100dvh; padding: 90px 22px 28px; background: #fff; box-shadow: -20px 0 60px rgba(16, 25, 53, .18); transform: translateX(105%); transition: transform .4s var(--ease); overflow-y: auto; }
  .nav-open .mobile-menu { transform: none; }
  .mobile-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
  .mobile-menu a:not(.btn) { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-radius: 12px; font-weight: 700; font-size: 16.5px; color: var(--ink); }
  .mobile-menu a:not(.btn):hover, .mobile-menu a.active { background: var(--red-50); color: var(--red); }
  .header.v2 .nav-toggle { position: relative; z-index: 160; }
  .hero.v2 { padding-top: 70px; }
  .track-grid.six { grid-template-columns: repeat(2, 1fr); }
  .member { width: calc((100% - 48px) / 3); }
}
@media (max-width: 992px) {
  .camp-grid, .sponsor-grid { grid-template-columns: 1fr; }
  .sponsor-card { position: static; }
  .hero-title { text-align: center; }
}
@media (max-width: 768px) {
  .track-pick { grid-template-columns: 1fr 1fr; }
  .checkout-choices { grid-template-columns: 1fr; }
  .member { width: calc((100% - 24px) / 2); }
}
@media (max-width: 576px) {
  .topbar-right { display: none; }
  .topbar-inner { justify-content: center; }
  .brand-center img { width: 150px; }
  .hero.v2 { padding-top: 56px; }
  .track-grid.six { grid-template-columns: 1fr; }
  .track-pick { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tpk span { padding: 12px 10px; }
  .tpk b { font-size: 12.5px; }
  .methods { grid-template-columns: 1fr; }
  .pt-head, .pt-rows { padding-left: 20px; padding-right: 20px; }
  .pt-note { margin-left: 20px; margin-right: 20px; }
  .price-table > .btn { margin: auto 20px 22px; }
  .sponsor-card { padding: 22px 18px; }
  .member { width: 100%; max-width: 320px; }
  .form-section small { display: none; }
}

/* ==========================================================================
   Layout v3 — comfortable side margins, inset rounded panels,
   icon-based ecosystem cards (no photos)
   ========================================================================== */
:root { --gutter: clamp(20px, 5vw, 84px); --edge: clamp(10px, 2.2vw, 36px); }
.container { max-width: calc(1180px + var(--gutter) * 2); padding-left: var(--gutter); padding-right: var(--gutter); }
.topbar .container, .header .container.header-grid { max-width: calc(1260px + var(--gutter) * 2); }

/* Hero background sits inside the page margins */
.hero::before { left: var(--edge); right: var(--edge); border-radius: 0 0 44px 44px; }

/* Coloured sections become rounded panels with space around them */
.tracks, .why, .register, .sponsor, .contact { margin-left: var(--edge); margin-right: var(--edge); border-radius: 40px; }
.tracks, .why, .contact { overflow: hidden; }
.register, .sponsor { overflow: clip; }
.register + .sponsor { margin-top: 28px; }
.team-sec { background: #fff; }
.stats { background: none; padding-top: 90px; }
.cta-wrap { background: none; position: relative; z-index: 2; padding: 90px 0 0; margin-bottom: -120px; }
.footer { margin: 0 var(--edge) var(--edge); border-radius: 40px; padding-top: 190px; overflow: hidden; }

/* Ecosystem — icon cards */
.programs-grid { grid-template-columns: minmax(300px, 380px) 1fr; gap: 60px; }
.eco-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.eco-card { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 26px 26px 24px; margin: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-sm); transition: opacity .8s var(--ease), transform .4s var(--ease), box-shadow .3s, border-color .3s; }
.eco-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--red-100); }
.eco-top { display: flex; width: 100%; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.eco-icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--red-50); color: var(--red); font-size: 24px; transition: transform .3s; }
.eco-card:hover .eco-icon { transform: rotate(-6deg) scale(1.05); }
.eco-card:nth-child(2) .eco-icon { background: var(--blue-50); color: var(--blue); }
.eco-card:nth-child(3) .eco-icon { background: #E6F7EE; color: var(--green); }
.eco-badge { padding: 5px 12px; border-radius: 999px; background: var(--soft); color: var(--navy); font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.eco-when { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.eco-title { font-size: 19px; font-weight: 800; color: var(--ink); line-height: 1.3; }
.eco-text { font-size: 14.5px; line-height: 1.6; color: var(--body); position: relative; z-index: 1; }
.eco-more { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--red); }
.eco-more i { font-size: 12px; transition: transform .25s; }
.eco-card:hover .eco-more i { transform: translateX(4px); }
.eco-num { position: absolute; right: 20px; bottom: 6px; font-size: 68px; font-weight: 800; line-height: 1; color: rgba(15, 37, 87, .05); }
.eco-card.featured { background: linear-gradient(145deg, var(--red), #F0532B); border-color: transparent; box-shadow: var(--shadow-red); }
.eco-card.featured .eco-icon { background: rgba(255, 255, 255, .18); color: #fff; }
.eco-card.featured .eco-badge { background: #fff; color: var(--red); }
.eco-card.featured .eco-when, .eco-card.featured .eco-text { color: rgba(255, 255, 255, .9); }
.eco-card.featured .eco-title, .eco-card.featured .eco-more { color: #fff; }
.eco-card.featured .eco-num { color: rgba(255, 255, 255, .14); }

/* Program details pop-up: icon banner instead of a photo */
.pm-hero.icon-hero { height: 170px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), #1D3E97 60%, var(--red) 150%); border-radius: 26px 26px 0 0; }
.pm-icon { width: 88px; height: 88px; border-radius: 26px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); color: #fff; font-size: 38px; }

@media (max-width: 1180px) {
  .programs-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .tracks, .why, .register, .sponsor, .contact, .footer { border-radius: 28px; }
  .hero::before { border-radius: 0 0 32px 32px; }
  .cta-wrap { padding-top: 70px; margin-bottom: -90px; }
  .footer { padding-top: 150px; }
}
@media (max-width: 640px) {
  .eco-grid { grid-template-columns: 1fr; }
}

/* Keep hero decorations inside the page margins on wide screens */
.hero-deco .fi-2 { left: max(3%, calc(50% - 700px)); }
.hero-deco .fi-3 { right: max(3%, calc(50% - 700px)); }
.deco-dots.d1 { left: max(3%, calc(50% - 740px)); }
.deco-dots.d2 { right: max(3%, calc(50% - 740px)); }

/* Email verification */
.email-row { display: flex; gap: 10px; align-items: stretch; }
.email-row .input-icon { flex: 1; }
.btn-verify { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 128px; padding: 0 18px; border: 0; border-radius: 12px; background: var(--red); color: #fff; font: inherit; font-weight: 700; font-size: 14.5px; cursor: pointer; transition: background .2s, transform .2s; white-space: nowrap; }
.btn-verify:hover { background: var(--red-600); }
.btn-verify.navy { background: var(--navy); }
.btn-verify.navy:hover { background: var(--navy-900); }
.btn-verify .btn-loading { display: none; }
.btn-verify.loading { pointer-events: none; opacity: .85; }
.btn-verify.loading .btn-label { display: none; }
.btn-verify.loading .btn-loading { display: inline-flex; }
.code-row { display: flex; gap: 10px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.code-row input { flex: 0 1 200px; font-size: 20px !important; font-weight: 800; letter-spacing: 8px; text-align: center; padding: 11px 12px !important; }
.code-row .btn-verify { height: 50px; }
.link-btn { background: none; border: 0; padding: 6px 4px; font: inherit; font-weight: 700; font-size: 13.5px; color: var(--red); cursor: pointer; }
.link-btn:disabled { color: var(--muted); cursor: default; }
.verified-tag { display: inline-flex; align-items: center; gap: 5px; margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: #E6F7EE; color: var(--green); font-size: 12px; font-weight: 800; }
#emailField.verified input[type="email"] { border-color: #8FD6AE; background: #F4FBF7; }
@media (max-width: 576px) {
  .email-row { flex-direction: column; }
  .btn-verify { height: 48px; }
  .code-row input { flex: 1 1 100%; }
}

/* Registration sidebar — perks instead of prices */
.summary-card.perks li { justify-content: flex-start; }
.summary-card.perks li span { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .9); }
.summary-card.perks li i { width: 18px; text-align: center; color: #FF7A7F; }
.summary-card.perks li:last-child { border-bottom: 0; }

/* ==========================================================================
   v4 — About with photo background, fewer icons, sponsorship choice
   ========================================================================== */

/* About: full photo background with navy overlay, two paragraphs */
.about-v2 { position: relative; margin: 110px var(--edge) 0; border-radius: 40px; overflow: hidden; color: #fff; isolation: isolate; }
.about-bg { position: absolute; inset: 0; z-index: -2; background: url('../img/crowd.jpg') center 70% / cover no-repeat; transform: scale(1.03); }
.about-v2::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10, 26, 63, .94) 0%, rgba(15, 37, 87, .86) 48%, rgba(15, 37, 87, .55) 100%); }
.about-copy { max-width: 760px; padding: 110px 0; }
.about-copy h2 { color: #fff; font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin: 0 0 26px; }
.about-copy p { font-size: 17.5px; line-height: 1.85; color: rgba(255, 255, 255, .88); margin: 0 0 20px; }
.about-copy .btn { margin-top: 14px; }
@media (max-width: 768px) {
  .about-v2 { margin-top: 80px; border-radius: 28px; }
  .about-copy { padding: 70px 0; }
  .about-copy p { font-size: 16px; }
}

/* Section titles no longer have eyebrow chips above them */
.title { margin-top: 0; }
.section-head .title { margin-bottom: 16px; }

/* Hero and quick bar without icons */
.float-card { padding: 14px 20px; }
.qb-item { padding: 22px 26px; }
.qb-item small { margin-bottom: 2px; }
.cd-label { font-size: 15px; }

/* Ecosystem mini list — simple red bullets */
.mini-list li { position: relative; padding-left: 18px; }
.mini-list li::before { content: ''; position: absolute; left: 0; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }

/* Included list — clean two-column bullets */
.include-grid li { position: relative; padding-left: 20px; font-weight: 600; }
.include-grid li::before { content: ''; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--red); }
.camp-float-inline { padding: 20px 24px; border-left: 4px solid var(--red); }
.pt-rows.glance span { color: var(--body); font-weight: 600; }

/* Schedule */
.s-city { font-size: 24px; margin-bottom: 12px; }
.tl-dot { font-weight: 800; font-size: 17px; }

/* Why join — numbered text blocks, no icon tiles */
.why-list { counter-reset: why; }
.why-item { position: relative; padding-left: 46px; }
.why-item::before { counter-increment: why; content: counter(why, decimal-leading-zero); position: absolute; left: 0; top: 0; font-size: 22px; font-weight: 800; color: var(--red); line-height: 1.2; }

/* Registration sidebar perks — plain list */
.summary-card.perks li span { gap: 0; }
.summary-card.perks li { position: relative; padding-left: 16px; }
.summary-card.perks li::before { content: ''; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #FF7A7F; }

/* Registration form — no icons inside inputs, pickers and package rows */
.reg-form .input-icon > i { display: none; }
.reg-form .input-icon input, .reg-form .input-icon select { padding-left: 14px !important; }
.tpk span > i { display: none; }
.tpk span { justify-content: center; min-height: 64px; padding-right: 34px; }
.pkg-opt > i { display: none; }

/* Sponsor impact list — text only */
.sponsor-impact li { position: relative; padding-left: 20px; border-left: 3px solid var(--red-100); }
.sponsor-impact li > div { padding: 2px 0; }

/* Contact location card without icon */
.location-card { padding: 22px 26px; }

/* Funding choice */
.funding-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.fund-opt { cursor: pointer; }
.fund-opt input { position: absolute; opacity: 0; }
.fund-opt span { display: block; height: 100%; padding: 16px 18px; border: 2px solid var(--line); border-radius: 16px; background: #fff; transition: .2s; line-height: 1.4; }
.fund-opt b { display: block; color: var(--ink); font-size: 15.5px; margin-bottom: 4px; }
.fund-opt small { color: var(--muted); font-size: 13px; }
.fund-opt:hover span { border-color: #F3B4B4; }
.fund-opt input:checked + span { border-color: var(--red); background: #FFF7F7; box-shadow: 0 0 0 4px rgba(225, 29, 42, .08); }
.fund-opt input:focus-visible + span { outline: 3px solid rgba(225, 29, 42, .4); outline-offset: 2px; }
.sponsor-pick { padding: 18px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); margin-bottom: 8px; }
.sponsor-pick select, .sponsor-pick input { background-color: #fff; }
.sponsor-note { margin: 6px 0 0; line-height: 1.55; }

/* Success screen */
.review-note { max-width: 460px; margin: 6px auto 18px; padding: 18px 20px; border-radius: 16px; background: #EEF3FF; border: 1px solid #C9D8FF; text-align: left; }
.review-note b { color: var(--navy); display: block; margin-bottom: 4px; }
.review-note p { margin: 0; font-size: 14.5px; }
.portal-note { font-size: 13.5px; color: var(--muted); max-width: 420px; margin: 0 auto 18px; }
.choice { gap: 4px; padding: 22px 16px; }
.later-note { padding: 14px 18px; }
@media (max-width: 576px) {
  .funding-options { grid-template-columns: 1fr; }
}
.about-v2 + .tracks { margin-top: 28px; }

/* Registration step 1 — email link */
.email-gate .form-head p { font-size: 15px; line-height: 1.65; color: var(--body); margin-bottom: 22px; }
.email-gate #gateBtn { margin-top: 6px; }
.gate-sent { text-align: center; padding: 10px 0; }
.gate-sent .success-icon { background: var(--red-50); color: var(--red); box-shadow: 0 0 0 10px #FFF7F7; }
.gate-sent h3 { font-size: 24px; margin-bottom: 8px; }
.gate-sent p { max-width: 460px; margin: 0 auto 12px; }
.gate-foot { margin: 22px 0 0; text-align: center; }
#emailField input[readonly] { background: #F4FBF7; border-color: #8FD6AE; color: var(--ink); font-weight: 600; flex: 1; }
.email-row a.btn-verify { text-decoration: none; }

/* Payment information in the form */
.pay-info { padding: 16px 18px; border-radius: 16px; background: #EEF3FF; border: 1px solid #C9D8FF; margin: 0 0 14px; }
.pay-info b { display: block; color: var(--navy); margin-bottom: 4px; }
.pay-info p { margin: 0; font-size: 14px; line-height: 1.6; }
.gate-foot a, .email-gate .form-head a { color: var(--red); font-weight: 700; }

/* Continue with Google */
.google-block { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 4px 0 6px; min-height: 44px; }
.google-block .g_id_signin { min-height: 44px; }
.google-msg { margin: 4px 0 0; font-size: 13.5px; font-weight: 600; color: #067647; text-align: center; }
.google-msg.error { color: #B42318; }
.or-sep { display: flex; align-items: center; gap: 12px; margin: 16px 0 18px; color: #7A829E; font-size: 13px; font-weight: 600; }
.or-sep::before, .or-sep::after { content: ''; flex: 1; height: 1px; background: #E7EAF3; }

/* ---------- Simple registration: signed-in card, 3 payment choices, one-line package ---------- */
.reg-who { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 20px; border-radius: 18px; background: var(--soft); }
.reg-who img, .reg-who .who-ini { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.reg-who .who-ini { display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 800; }
.reg-who div { flex: 1; min-width: 0; line-height: 1.4; }
.reg-who b { display: block; color: var(--ink); font-size: 17px; }
.reg-who small { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.reg-who .verified-tag { margin-left: 4px; }
.who-change { font-size: 13px; font-weight: 700; color: var(--red); text-decoration: none; }
.reg-form > .field { margin-top: 18px; }
.field .lbl-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.field .lbl-row small { font-weight: 600; color: var(--muted); font-size: 12.5px; }
.funding-options.three { grid-template-columns: repeat(3, 1fr); margin-bottom: 0; }
.funding-options.three .fund-opt span { padding: 14px 16px; }
.sponsor-pick { margin-top: 14px; }
.sponsor-pick .field { margin-bottom: 12px; }
.pkg-line { margin: 18px 0; padding: 16px 18px; border-radius: 16px; border: 2px solid var(--line); background: #FAFBFE; }
.pkg-sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pkg-sum span { line-height: 1.4; }
.pkg-sum b { display: block; color: var(--ink); }
.pkg-sum small { color: var(--muted); font-size: 12.5px; }
.pkg-sum strong { font-size: 20px; color: var(--navy); white-space: nowrap; }
.park-check { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; font-size: 14px; cursor: pointer; }
.park-check input { width: 18px; height: 18px; accent-color: var(--red); margin: 0; }
.park-check em { font-style: normal; font-weight: 700; color: var(--ink); }
.pkg-note { margin: 10px 0 0; font-size: 13px; color: var(--green); font-weight: 600; }
.fine-print { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; line-height: 1.55; }
#laterNote { max-width: 440px; margin: 0 auto 18px; }
@media (max-width: 720px) { .funding-options.three { grid-template-columns: 1fr; } }
.reg-form .form-alert { margin: 0 0 16px; }
#regForm { scroll-margin-top: 16px; }
/* On phones, show the form first once the email is confirmed (e.g. straight after "Continue with Google") */
@media (max-width: 992px) { .register-grid:has(#regForm) .register-card { order: -1; } }
