/* ============================================================
   KORE — section & component styles
   ============================================================ */

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 12, 0.78);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 20px; height: 76px; }
.nav-inner > a:first-child { flex-shrink: 0; display: inline-flex; }
.nav-logo { height: 33px; width: auto; flex-shrink: 0; }
.nav-links { display: flex; gap: 24px; margin-left: 8px; }
.nav-links a {
  font-family: var(--font-title); font-weight: 500; font-size: 13.5px; white-space: nowrap;
  text-transform: uppercase; letter-spacing: 0.10em; color: var(--text-dim);
  transition: color .2s var(--ease); position: relative; padding: 4px 0;
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--gold-grad); transition: width .25s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav .btn-primary { padding: 12px 20px; font-size: 13px; }

/* lang toggle */
.lang {
  display: inline-flex; border: 1px solid var(--line-strong); border-radius: 99px;
  padding: 3px; gap: 2px; background: rgba(255,255,255,.02);
}
.lang button {
  font-family: var(--font-title); font-weight: 600; font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-faint); background: transparent; border: 0;
  cursor: pointer; padding: 5px 11px; border-radius: 99px; transition: all .2s var(--ease);
}
.lang button.active { color: #18120a; background: var(--gold-grad); }

.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: 6px; }
.nav-toggle svg { width: 26px; height: 26px; }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 76px 0 auto 0; z-index: 99;
  background: rgba(10,10,12,.97); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  display: none; flex-direction: column; padding: 18px var(--gut) 30px; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-title); font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  font-size: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text);
}
.mobile-menu .btn { margin-top: 18px; }

/* ---------- HERO ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding-top: 96px; padding-bottom: 60px; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 80% at 80% 10%, rgba(196,141,40,.10), transparent 55%),
    linear-gradient(180deg, transparent 55%, var(--bg) 98%);
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 70px);
  align-items: center; width: 100%;
}
.hero h1 { font-size: clamp(40px, 6.2vw, 82px); margin: 22px 0 0; }
.hero .sub { color: var(--text-dim); font-size: clamp(16px, 1.5vw, 19px); max-width: 30em; margin-top: 24px; }
.hero-cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 34px; margin-top: 46px; flex-wrap: wrap; }
.hero-trust .t-num { font-family: var(--font-title); font-weight: 800; font-size: 30px; line-height: 1; }
.hero-trust .t-lbl { font-size: 12.5px; color: var(--text-dim); margin-top: 7px; letter-spacing: .02em; }

/* phone mock */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 520px; }
.phone {
  position: relative; z-index: 3;
  width: clamp(248px, 24vw, 320px);
  border-radius: 42px; padding: 11px;
  background: linear-gradient(155deg, #34343b, #161619 45%);
  box-shadow: 0 50px 90px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.05);
}
.phone-screen { position: relative; width: 100%; aspect-ratio: 9 / 16; border-radius: 32px; overflow: hidden; background: #0a0a0c; }
.phone-screen image-slot { width: 100%; height: 100%; }
.phone-screen .phone-video { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.phone-notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 96px; height: 26px; background: #08080a; border-radius: 99px; z-index: 5; }

/* floating stat chips */
.chip {
  position: absolute; z-index: 4;
  background: rgba(22,22,26,.82); backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 12px 15px; display: flex; align-items: center; gap: 11px;
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.8);
}
.chip .ico { width: 34px; height: 34px; border-radius: 9px; background: var(--gold-grad-soft); display: grid; place-items: center; color: var(--gold-2); }
.chip .ico svg { width: 18px; height: 18px; }
.chip .c-num { font-family: var(--font-title); font-weight: 700; font-size: 16px; line-height: 1; }
.chip .c-lbl { font-size: 11px; color: var(--text-dim); margin-top: 3px; }
.chip.c1 { top: 12%; left: -6%; }
.chip.c2 { bottom: 16%; right: -8%; }
@media (prefers-reduced-motion: no-preference) {
  .chip.c1 { animation: float 6s ease-in-out infinite; }
  .chip.c2 { animation: float 7s ease-in-out infinite .8s; }
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- SECTION HEADERS ---------- */
.sec-head { max-width: 720px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 58px); margin-top: 18px; }
.sec-head p { color: var(--text-dim); margin-top: 18px; font-size: 17px; }

/* ---------- PROGRAMS ---------- */
.prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 54px; }
.card {
  background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--gold-grad);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: var(--line-strong); background: var(--surface-2); }
.card:hover::before { transform: scaleX(1); }
.card .c-ico { width: 50px; height: 50px; border-radius: 12px; background: var(--gold-grad-soft); border: 1px solid rgba(230,176,73,.22); display: grid; place-items: center; color: var(--gold-2); margin-bottom: 22px; }
.card .c-ico svg { width: 24px; height: 24px; }
.card h3 { font-family: var(--font-title); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; font-size: 20px; }
.card p { color: var(--text-dim); font-size: 15px; margin-top: 11px; }
.card.feature { grid-column: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px; padding: 0; }
.card.feature .feat-img { position: absolute; inset: 0; z-index: 0; }
.card.feature .feat-img image-slot { width: 100%; height: 100%; }
.card.feature .feat-body { position: relative; z-index: 2; padding: 34px; background: linear-gradient(0deg, rgba(10,10,12,.94) 12%, rgba(10,10,12,.5) 60%, transparent); }
.card.feature .c-ico { margin-bottom: 16px; }

/* ---------- HOW IT WORKS ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; counter-reset: step; }
.step { position: relative; padding-top: 30px; }
.step::before { content: ""; position: absolute; top: 0; left: 0; height: 2px; width: 100%; background: var(--line); }
.step.lit::before { background: var(--gold-grad); }
.step .s-num { font-family: var(--font-title); font-weight: 800; font-style: italic; font-size: 16px; color: var(--gold-2); letter-spacing: .05em; }
.step h3 { font-family: var(--font-title); font-weight: 700; text-transform: uppercase; font-size: 21px; margin-top: 16px; }
.step p { color: var(--text-dim); font-size: 15px; margin-top: 12px; }

/* ---------- STATS ---------- */
.stats-band { background: var(--bg-2); border-block: 1px solid var(--line); overflow: hidden; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; z-index: 2; }
.stat { text-align: center; }
.stat .s-val { font-family: var(--font-title); font-weight: 800; font-style: italic; font-size: clamp(48px, 7vw, 88px); line-height: 0.9; }
.stat .s-lbl { color: var(--text-dim); font-size: 14px; margin-top: 14px; text-transform: uppercase; letter-spacing: .12em; font-family: var(--font-title); font-weight: 500; }
.stat .s-divider { display: none; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; margin: 56px auto 0; }
.faq {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none; cursor: pointer; padding: 26px 4px; display: flex; align-items: center; gap: 20px;
  font-family: var(--font-title); font-weight: 600; text-transform: uppercase; letter-spacing: .02em;
  font-size: clamp(17px, 2vw, 21px); transition: color .2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-2); }
.faq .q-mark { margin-left: auto; flex-shrink: 0; width: 26px; height: 26px; display: grid; place-items: center; color: var(--gold-2); transition: transform .3s var(--ease); }
.faq[open] .q-mark { transform: rotate(45deg); }
.faq .a { color: var(--text-dim); padding: 0 46px 28px 4px; font-size: 16px; max-width: 70ch; }

/* ---------- FINAL CTA ---------- */
.cta-band { text-align: center; overflow: hidden; }
.cta-inner { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(38px, 6.5vw, 90px); }
.cta-band p { color: var(--text-dim); max-width: 40em; margin: 22px auto 0; font-size: 18px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--line); background: var(--black); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-block: 66px 50px; }
.footer-logo { height: 36px; width: auto; margin-bottom: 20px; }
.footer-brand p { color: var(--text-dim); font-size: 14.5px; max-width: 30ch; }
.footer h4 { font-family: var(--font-title); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; color: var(--gold-2); margin-bottom: 18px; }
.footer-col a { display: block; color: var(--text-dim); font-size: 14.5px; padding: 7px 0; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--text); }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--text-dim); transition: all .2s var(--ease); }
.footer-social a:hover { color: var(--gold-2); border-color: var(--gold-2); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-block: 26px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.footer-bottom p { color: var(--text-faint); font-size: 13px; }
.footer-bottom .legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom .legal a { color: var(--text-faint); font-size: 13px; }
.footer-bottom .legal a:hover { color: var(--text); }

/* ---------- BOOKING MODAL ---------- */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.modal.open { display: flex; }
.modal-backdrop {
  position: absolute; inset: 0; background: rgba(5,5,7,.72);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.modal-card {
  position: relative; z-index: 2; width: 100%; max-width: 480px;
  background: var(--surface-1); border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg); padding: 40px;
  box-shadow: 0 50px 110px -30px rgba(0,0,0,.9);
  overflow: hidden; max-height: calc(100vh - 48px); overflow-y: auto;
}
@media (prefers-reduced-motion: no-preference) {
  .modal.open .modal-card { animation: modal-in .4s var(--ease) both; }
}
@keyframes modal-in { from { transform: translateY(18px) scale(.985); } }
.modal-card .orbit-field { opacity: .5; }
.modal-body { position: relative; z-index: 2; }
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 5;
  width: 38px; height: 38px; border-radius: 9px; cursor: pointer;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--text-dim);
  display: grid; place-items: center; transition: all .2s var(--ease);
}
.modal-close:hover { color: var(--gold-2); border-color: var(--gold-2); }
.modal-close svg { width: 18px; height: 18px; }
.modal-card .kicker { margin-bottom: 14px; }
.modal-card h3.title { font-size: 30px; }
.modal-sub { color: var(--text-dim); font-size: 15px; margin-top: 12px; }

.book-form { margin-top: 26px; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 9px; border: 0; padding: 0; margin: 0; }
.field > span, .field-legend {
  font-family: var(--font-title); font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; font-size: 11.5px; color: var(--text-dim);
}
.field input[type="text"], .field input[type="email"] {
  font-family: var(--font-body); font-size: 15px; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 14px 16px; width: 100%; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input::placeholder { color: var(--text-faint); }
.field input:focus { outline: none; border-color: var(--gold-2); box-shadow: 0 0 0 3px rgba(230,176,73,.14); }
.field input:user-invalid { border-color: #c0533a; }

.role-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.role {
  position: relative; cursor: pointer; display: flex; flex-direction: column; align-items: center;
  gap: 8px; text-align: center; padding: 16px 8px;
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-size: 13px; color: var(--text-dim); transition: all .2s var(--ease);
}
.role i { width: 22px; height: 22px; color: var(--text-faint); transition: color .2s var(--ease); }
.role input { position: absolute; opacity: 0; pointer-events: none; }
.role:hover { border-color: var(--line-strong); color: var(--text); background: var(--surface-2); }
.role:has(input:checked) { border-color: var(--gold-2); background: var(--gold-grad-soft); color: var(--text); }
.role:has(input:checked) i { color: var(--gold-2); }
.role:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(230,176,73,.14); }

.form-error { color: #e08c6f; font-size: 13.5px; margin-top: -4px; }
#bookSubmit[disabled] { opacity: .6; pointer-events: none; }

.form-success { text-align: center; padding: 14px 0 6px; }
.success-ico {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 22px;
  background: var(--gold-grad); display: grid; place-items: center; color: #18120a;
}
.success-ico svg { width: 30px; height: 30px; stroke-width: 3; }
.form-success h3.title { font-size: 26px; }
.form-success .btn { margin-top: 24px; }

@media (max-width: 480px) {
  .modal-card { padding: 30px 22px; }
  .role-opts { grid-template-columns: 1fr; }
  .role { flex-direction: row; justify-content: center; padding: 13px; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .prog-grid { grid-template-columns: repeat(2, 1fr); }
  .card.feature { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-right .btn { display: none; }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: 0; margin-bottom: 8px; }
  .phone { width: clamp(230px, 62vw, 290px); }
  .chip.c1 { left: 0; } .chip.c2 { right: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 44px 20px; }
}
@media (max-width: 620px) {
  .prog-grid { grid-template-columns: 1fr; }
  .card.feature { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .hero-trust { gap: 24px; }
}
