/* =========================================================================
   AL-QADIR UNIVERSITY — ADMISSIONS PORTAL
   Design tokens: warm black + antique gold, arch motif drawn from the
   mark's calligraphic droplet. Display face Fraunces (warm, high-contrast
   serif) paired with Manrope (clean geometric sans) for body & UI.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root{
  /* --- palette --- */
  --black:        #0E0C08;
  --ink:          #17140E;
  --ink-soft:     #241F16;
  --gold:         #B8903B;
  --gold-light:   #E3C67C;
  --gold-pale:    #F3E4BC;
  --gold-dim:     #8A6B2C;
  --cream:        #FBF8F1;
  --cream-dim:    #F2ECDD;
  --paper:        #FFFDF9;
  --white:        #FFFFFF;
  --line:         rgba(184,144,59,0.28);
  --line-soft:    rgba(23,20,14,0.10);
  --text-main:    #1E1A12;
  --text-muted:   #5B5647;
  --text-on-dark: #F3EFE4;
  --text-on-dark-muted: #C9C0A9;
  --success:      #3C7A4E;
  --error:        #B23A32;

  /* --- type --- */
  --f-display: 'Fraunces', 'Georgia', serif;
  --f-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* --- shape / motion --- */
  --arch: 200px 200px 0 0;
  --radius-sm: 6px;
  --radius-md: 14px;
  --shadow-lift: 0 20px 50px -20px rgba(14,12,8,0.35);
  --shadow-card: 0 10px 30px -14px rgba(14,12,8,0.22);
  --ease: cubic-bezier(.22,.61,.36,1);

  /* --- dark-section surface (site's "navy" theme, the current default) ---
     Separate from --ink/--black/--ink-soft above, which stay fixed as text
     colors on light backgrounds regardless of theme. Only these --surface-*
     tokens (used for header/footer/hero/etc. backgrounds) change theme —
     see [data-theme="black"] below for the original black variant (toggle
     UI is hidden for now; re-enable .theme-toggle to expose it again). */
  --surface:          #1B2A4A;
  --surface-deep:     #101B33;
  --surface-soft:     #24395E;
  --surface-deep-rgb: 16,27,51;
}

:root[data-theme="black"]{
  --surface:          var(--ink);
  --surface-deep:     var(--black);
  --surface-soft:     var(--ink-soft);
  --surface-deep-rgb: 14,12,8;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important; }
}

body{
  margin:0;
  font-family:var(--f-body);
  color:var(--text-main);
  background:var(--cream);
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--f-display); margin:0 0 .5em; font-weight:600; color:var(--ink); line-height:1.12; }
p{ margin:0 0 1em; }
button{ font-family:inherit; }

:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; border-radius:3px; }

.container{ width:100%; max-width:1180px; margin:0 auto; padding:0 24px; }
.container--narrow{ max-width:860px; }

.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--f-body); font-size:12.5px; font-weight:700;
  letter-spacing:.16em; text-transform:uppercase; color:var(--gold-dim);
}
.eyebrow::before{
  content:''; width:7px; height:7px; background:var(--gold);
  transform:rotate(45deg) scale(1); border-radius:2px 0 2px 0;
}
.eyebrow--light{ color:var(--gold-light); }

.section{ padding:88px 0; }
.section--tight{ padding:56px 0; }
.section--dark{ background:var(--surface); color:var(--text-on-dark); }
.section--dark h2, .section--dark h3{ color:var(--text-on-dark); }
.section--cream{ background:var(--cream-dim); }
.section--paper{ background:var(--paper); }

.section-head{ max-width:680px; margin:0 0 44px; }
.section-head.center{ margin-inline:auto; text-align:center; }
.section-head h2{ font-size:clamp(28px,3.6vw,42px); margin-top:.35em; }
.section-head p{ color:var(--text-muted); font-size:17px; }
.section--dark .section-head p{ color:var(--text-on-dark-muted); }

/* --- buttons --- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:15px 30px; border-radius:3px; font-weight:700; font-size:14.5px;
  letter-spacing:.02em; border:1.5px solid transparent; cursor:pointer;
  transition:transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space:nowrap;
}
.btn-gold{ background:var(--gold); color:var(--black); }
.btn-gold:hover{ background:var(--gold-light); transform:translateY(-2px); box-shadow:var(--shadow-lift); }
.btn-outline{ background:transparent; color:var(--text-on-dark); border-color:rgba(243,239,228,.35); }
.btn-outline:hover{ border-color:var(--gold-light); color:var(--gold-light); transform:translateY(-2px); }
.btn-outline-dark{ background:transparent; color:var(--ink); border-color:var(--ink); }
.btn-outline-dark:hover{ background:var(--surface); color:var(--text-on-dark); }
.btn-block{ width:100%; }
.btn[disabled]{ opacity:.55; cursor:not-allowed; transform:none !important; }

/* =========================== HEADER / NAV ============================= */
.site-header{
  position:sticky; top:0; z-index:200; background:rgba(var(--surface-deep-rgb),0.96);
  backdrop-filter:saturate(140%) blur(6px);
  border-bottom:1px solid rgba(227,198,124,0.18);
}
.announce-bar{
  background:var(--gold); color:var(--black); font-size:13px; font-weight:700;
  text-align:center; padding:8px 16px; letter-spacing:.02em;
}
.announce-bar a{ text-decoration:underline; text-underline-offset:2px; }
.nav-wrap{ display:flex; align-items:center; justify-content:space-between; padding:10px 0; }
.brand{ display:flex; align-items:center; gap:14px; }
.brand img{ height:64px; width:auto; }
.brand-text{ font-family:var(--f-display); color:var(--text-on-dark); line-height:1.05; }
.brand-text strong{ display:block; font-size:23px; letter-spacing:.02em; }
.brand-text span{ display:block; font-family:var(--f-body); font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:var(--gold-light); margin-top:4px; }

.main-nav{ display:flex; align-items:center; gap:30px; }
.main-nav a{
  font-size:14px; font-weight:600; color:var(--text-on-dark-muted);
  padding:8px 0; position:relative; transition:color .2s var(--ease);
}
.main-nav a:hover, .main-nav a.active{ color:var(--gold-light); }
.main-nav a.active::after{
  content:''; position:absolute; left:0; right:0; bottom:-2px; height:2px; background:var(--gold);
}
.nav-cta{ display:flex; align-items:center; gap:16px; }
.nav-cta .btn-gold{
  color:var(--black);
  border-radius:40px; padding:13px 28px;
  box-shadow:0 0 0 0 rgba(227,198,124,.5), 0 8px 22px -10px rgba(184,144,59,.6);
  animation:cta-pulse 2.8s ease-in-out infinite;
}
.nav-cta .btn-gold:hover{
  color:var(--black);
  animation-play-state:paused;
  box-shadow:0 0 0 6px rgba(227,198,124,0), var(--shadow-lift);
}
@keyframes cta-pulse{
  0%,100%{ box-shadow:0 0 0 0 rgba(227,198,124,.5), 0 8px 22px -10px rgba(184,144,59,.6); }
  50%{ box-shadow:0 0 0 7px rgba(227,198,124,0), 0 8px 22px -10px rgba(184,144,59,.6); }
}
.menu-toggle{
  display:none; background:none; border:1px solid rgba(227,198,124,.4); color:var(--text-on-dark);
  width:42px; height:42px; border-radius:4px; align-items:center; justify-content:center; cursor:pointer;
}

/* --- theme toggle (black / navy surface) ---
   Hidden for now per request — navy is the fixed default theme. Remove the
   "display:none" line below to re-expose the toggle UI later. */
.theme-toggle{
  display:none;
  align-items:center; gap:5px; background:rgba(255,255,255,.05);
  border:1px solid rgba(227,198,124,.3); border-radius:20px; padding:4px; cursor:pointer; flex:none;
}
.theme-toggle .swatch{
  width:16px; height:16px; border-radius:50%; display:block; border:2px solid transparent;
  transition:border-color .2s var(--ease); box-shadow:inset 0 0 0 1px rgba(255,255,255,.15);
}
.theme-toggle .swatch-black{ background:#0E0C08; }
.theme-toggle .swatch-navy{ background:#1B2A4A; }
.theme-toggle .swatch.active{ border-color:var(--gold-light); }
.menu-toggle svg{ width:20px; height:20px; }

@media (max-width:960px){
  .main-nav{
    position:fixed; inset:0 0 0 auto; width:min(320px,86vw); height:100vh;
    background:var(--surface); flex-direction:column; align-items:flex-start;
    padding:100px 28px 28px; gap:6px; transform:translateX(100%);
    transition:transform .35s var(--ease); overflow-y:auto;
  }
  .main-nav.open{ transform:translateX(0); box-shadow:-20px 0 50px rgba(0,0,0,.4); }
  .main-nav a{ width:100%; padding:13px 0; border-bottom:1px solid rgba(255,255,255,.06); }
  .menu-toggle{ display:inline-flex; }
  .nav-cta .btn-gold{ padding:11px 18px; font-size:13px; }
}
@media (max-width:400px){
  .brand img{ height:48px; }
  .brand-text strong{ font-size:18px; }
}
.nav-scrim{ display:none; position:fixed; inset:0; background:rgba(0,0,0,.5); z-index:190; }
.nav-scrim.open{ display:block; }

/* =========================== BREADCRUMB / PAGE HERO =================== */
.page-hero{
  background:
    radial-gradient(ellipse 900px 400px at 15% -10%, rgba(184,144,59,0.22), transparent 60%),
    var(--surface);
  color:var(--text-on-dark); padding:64px 0 54px; position:relative; overflow:hidden;
}
.page-hero::after{
  content:''; position:absolute; right:-80px; bottom:-140px; width:340px; height:340px;
  border:1px solid rgba(227,198,124,.18); border-radius:var(--arch); transform:rotate(8deg);
}
.breadcrumb{ font-size:13px; color:var(--text-on-dark-muted); margin-bottom:16px; }
.breadcrumb a{ color:var(--gold-light); }
.breadcrumb span{ margin:0 8px; opacity:.5; }
.page-hero h1{ color:var(--text-on-dark); font-size:clamp(30px,4.2vw,48px); max-width:760px; }
.page-hero .lede{ color:var(--text-on-dark-muted); font-size:17px; max-width:620px; margin-top:6px; }

/* =========================== ARCH CARD MOTIF =========================== */
.arch-card{
  background:var(--paper); border:1px solid var(--line-soft); border-radius:var(--arch);
  padding:40px 30px 30px; position:relative; box-shadow:var(--shadow-card);
  transition:transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.arch-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lift); border-color:var(--line); }
.arch-card .arch-icon{
  width:54px; height:54px; border-radius:50% 50% 50% 4px; background:var(--gold-pale);
  display:flex; align-items:center; justify-content:center; margin:0 auto 18px;
}
.arch-card .arch-icon svg{ width:26px; height:26px; stroke:var(--gold-dim); }
.arch-card h3{ font-size:19px; text-align:center; }
.arch-card p{ text-align:center; color:var(--text-muted); font-size:14.5px; margin-bottom:0; }

/* =========================== HOME HERO ================================= */
.hero{
  position:relative; background:var(--surface); color:var(--text-on-dark);
  overflow:hidden; padding:70px 0 0;
}
.hero-bg-arch{
  position:absolute; top:-120px; right:-160px; width:640px; height:640px;
  border:1px solid rgba(227,198,124,.14); border-radius:var(--arch); transform:rotate(-6deg);
}
.hero-bg-arch.two{ top:auto; bottom:-260px; right:auto; left:-200px; width:480px; height:480px; border-color:rgba(227,198,124,.08); transform:rotate(10deg); }
.hero-grid{ position:relative; display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; padding-bottom:60px; }
.hero-copy h1{ color:var(--text-on-dark); font-size:clamp(34px,4.8vw,58px); margin-top:18px; }
.hero-copy h1 em{ font-style:italic; color:var(--gold-light); }
.hero-copy p{ color:var(--text-on-dark-muted); font-size:18px; max-width:520px; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-top:30px; }
.hero-copy .hero-deadline-callout{
  display:flex; align-items:center; gap:9px; margin-top:20px;
  font-size:14.5px; color:var(--text-on-dark-muted); max-width:none;
}
.hero-deadline-callout::before{
  content:''; width:7px; height:7px; background:var(--gold); border-radius:50%; flex-shrink:0;
}
.hero-deadline-callout strong{
  font-family:var(--f-display); font-weight:700; font-size:17px; color:var(--gold-light);
}
.hero-stats{ display:flex; gap:36px; margin-top:52px; flex-wrap:wrap; }
.hero-stats div strong{ display:block; font-family:var(--f-display); font-size:30px; color:var(--gold-light); }
.hero-stats div span{ font-size:12.5px; color:var(--text-on-dark-muted); text-transform:uppercase; letter-spacing:.1em; }
.stat-split{ display:flex; flex-direction:column; gap:8px; }
.stat-split-label{ font-size:12.5px; color:var(--text-on-dark-muted); text-transform:uppercase; letter-spacing:.1em; }
.stat-eligibility{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:7px; max-width:360px; }
.stat-eligibility li{ font-size:14px; line-height:1.4; color:var(--text-on-dark); }
.stat-eligibility strong{ font-family:var(--f-display); color:var(--gold-light); font-size:18px; margin-right:7px; }
.stat-eligibility em{ font-style:normal; color:var(--text-on-dark-muted); }

.hero-visual{ position:relative; display:flex; justify-content:center; align-items:center; }
.hero-frame{
  width:100%; max-width:400px; aspect-ratio:4/5; border-radius:220px 220px 8px 8px;
  background:linear-gradient(160deg, var(--surface-soft), var(--surface-deep) 70%);
  border:1px solid var(--line); position:relative; display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-lift);
}
.hero-frame img{ width:58%; opacity:.95; filter:drop-shadow(0 18px 30px rgba(0,0,0,.5)); }
.hero-frame .ring{
  position:absolute; inset:14px; border:1px solid rgba(227,198,124,.35); border-radius:210px 210px 4px 4px;
  pointer-events:none; z-index:2;
}
.hero-badge{
  position:absolute; bottom:18px; left:50%; transform:translateX(-50%);
  background:var(--gold); color:var(--black); padding:10px 20px; border-radius:40px;
  font-size:12.5px; font-weight:800; letter-spacing:.05em; white-space:nowrap; box-shadow:var(--shadow-card);
  z-index:3;
}

/* ---- Hero campus slider (auto-rotating, shares the .hero-frame arch) ---- */
.hero-slider{ overflow:hidden; }
.hero-slide-track{ position:absolute; inset:0; }
.hero-slide{
  position:absolute; inset:0; margin:0; opacity:0; transition:opacity 1.1s var(--ease);
}
.hero-slide.is-active{ opacity:1; z-index:1; }
.hero-slide img{
  width:100%; height:100%; object-fit:cover; opacity:1; filter:none;
}
.hero-slide::after{
  content:''; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(var(--surface-deep-rgb),0) 55%, rgba(var(--surface-deep-rgb),.8) 100%);
}
.hero-slide-dots{
  position:absolute; bottom:56px; left:50%; transform:translateX(-50%);
  display:flex; gap:8px; z-index:3;
}
.hero-slide-dots button{
  width:8px; height:8px; padding:0; border-radius:50%; border:1px solid rgba(243,239,228,.6);
  background:rgba(243,239,228,.25); cursor:pointer; transition:background .25s var(--ease), transform .25s var(--ease);
}
.hero-slide-dots button.active{ background:var(--gold-light); border-color:var(--gold-light); transform:scale(1.25); }
@media (prefers-reduced-motion: reduce){
  .hero-slide{ transition:none; }
}

/* ---- Hero variant: full-bleed background slider ---- */
.hero--full{
  min-height:clamp(560px,86vh,780px); display:flex; align-items:center; padding:130px 0 90px;
}
.hero--full .hero-slide-track{ position:absolute; inset:0; z-index:0; }
.hero--full .hero-slide::after{ display:none; }
.hero-overlay{
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(100deg, rgba(var(--surface-deep-rgb),.95) 0%, rgba(var(--surface-deep-rgb),.74) 40%, rgba(var(--surface-deep-rgb),.4) 72%, rgba(var(--surface-deep-rgb),.55) 100%);
}
.hero-full-grid{
  position:relative; z-index:2; display:flex; align-items:center;
  justify-content:space-between; gap:48px; flex-wrap:wrap;
}
.hero--full .hero-copy--intro{ max-width:600px; flex:1 1 460px; }
.hero--full .hero-slide-dots{ bottom:28px; z-index:3; }

.hero-stats-panel{
  flex:0 1 380px; background:rgba(var(--surface-deep-rgb),.55); backdrop-filter:blur(10px);
  border:1px solid rgba(227,198,124,.35); border-radius:var(--radius-md);
  padding:28px 30px 26px; box-shadow:var(--shadow-lift);
}
.hero-stats-panel .hero-stats{
  display:grid; grid-template-columns:1fr 1fr; gap:20px 16px; margin-top:0;
}
.hero-stats-panel .stat-split{ grid-column:1/-1; }
.hero-stats-panel .hero-stats div strong{ font-size:22px; white-space:nowrap; }
.hero-stats-panel .hero-stats div span{ white-space:nowrap; }
.hero-stats-panel .stat-minor strong{ font-size:22px; color:var(--gold-dim); }
.hero-stats-panel .stat-mid strong{ font-size:29px; }
.hero-stats-panel .stat-emphasis strong{ font-size:38px; }

@media (max-width:900px){
  .hero--full{ min-height:auto; padding:100px 0 84px; }
  .hero-full-grid{ flex-direction:column; align-items:stretch; gap:32px; }
  .hero-stats-panel{ flex:none; }
}

@media (max-width:900px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-visual{ order:-1; }
  .hero-frame{ max-width:280px; }
}

/* =========================== GRIDS ===================================== */
.grid{ display:grid; gap:26px; }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }
.grid-2{ grid-template-columns:repeat(2,1fr); }
@media (max-width:880px){ .grid-3,.grid-4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .grid-2,.grid-3,.grid-4{ grid-template-columns:1fr; } }

/* =========================== PROGRAM CARDS ============================= */
.program-card{
  background:var(--paper); border:1px solid var(--line-soft); border-radius:var(--radius-md);
  padding:26px; display:flex; flex-direction:column; gap:10px; transition:box-shadow .3s var(--ease), transform .3s var(--ease);
}
.program-card:hover{ box-shadow:var(--shadow-card); transform:translateY(-4px); }
.program-card .tag{ font-size:11.5px; font-weight:800; color:var(--gold-dim); letter-spacing:.1em; text-transform:uppercase; }
.program-card h3{ font-size:19px; }
.program-card p{ color:var(--text-muted); font-size:14px; flex:1; }
.program-card a{ font-size:13.5px; font-weight:700; color:var(--gold-dim); border-top:1px solid var(--line-soft); padding-top:12px; margin-top:4px; }
.program-card a:hover{ color:var(--gold); }

/* =========================== TIMELINE (schedule) ======================= */
.timeline{ position:relative; margin-top:10px; }
.timeline::before{ content:''; position:absolute; left:21px; top:6px; bottom:6px; width:1.5px; background:var(--line); }
.timeline-item{ position:relative; padding:0 0 34px 62px; }
.timeline-item:last-child{ padding-bottom:0; }
.timeline-num{
  position:absolute; left:0; top:0; width:44px; height:44px; border-radius:50% 50% 50% 4px;
  background:var(--surface); color:var(--gold-light); font-family:var(--f-display); font-weight:600;
  display:flex; align-items:center; justify-content:center; font-size:16px; border:1px solid var(--line);
}
.timeline-item h4{ font-size:17px; margin-bottom:4px; }
.timeline-item .when{ font-size:14px; font-weight:700; color:var(--gold-dim); }
.timeline-item p{ color:var(--text-muted); font-size:14.5px; margin:6px 0 0; }

/* =========================== TABLES ===================================== */
.table-wrap{ overflow-x:auto; border-radius:var(--radius-md); border:1px solid var(--line-soft); box-shadow:var(--shadow-card); }
table.data-table{ width:100%; border-collapse:collapse; background:var(--paper); min-width:520px; }
table.data-table caption{ text-align:left; font-weight:700; padding:16px 20px 0; color:var(--ink); }
table.data-table th, table.data-table td{ padding:14px 20px; text-align:left; font-size:14.5px; border-bottom:1px solid var(--line-soft); }
table.data-table thead th{ background:var(--surface); color:var(--text-on-dark); font-weight:700; font-size:12.5px; letter-spacing:.06em; text-transform:uppercase; }
table.data-table tbody tr:hover{ background:var(--cream-dim); }
table.data-table tbody tr:last-child td{ border-bottom:none; }
table.data-table td.num{ font-variant-numeric:tabular-nums; }
table.data-table tfoot td{ font-weight:700; }

/* =========================== ACCORDION (criteria/FAQ) ================== */
.accordion-item{ border-bottom:1px solid var(--line-soft); }
.accordion-item:first-child{ border-top:1px solid var(--line-soft); }
.accordion-trigger{
  width:100%; background:none; border:none; text-align:left; padding:20px 4px;
  display:flex; align-items:center; justify-content:space-between; gap:16px; cursor:pointer;
  font-family:var(--f-display); font-size:18px; color:var(--ink); font-weight:600;
}
.accordion-trigger .plus{ width:26px; height:26px; flex:none; border:1px solid var(--gold); border-radius:50%; position:relative; }
.accordion-trigger .plus::before, .accordion-trigger .plus::after{ content:''; position:absolute; background:var(--gold); top:50%; left:50%; transform:translate(-50%,-50%); }
.accordion-trigger .plus::before{ width:11px; height:1.5px; }
.accordion-trigger .plus::after{ width:1.5px; height:11px; transition:transform .25s var(--ease); }
.accordion-item[open] .plus::after{ transform:translate(-50%,-50%) scaleY(0); }
.accordion-panel{ padding:0 4px 22px; color:var(--text-muted); font-size:15px; max-width:760px; }
.accordion-panel ul{ margin-top:10px; }
.accordion-panel li{ padding-left:22px; position:relative; margin-bottom:8px; }
.accordion-panel li::before{ content:''; position:absolute; left:2px; top:8px; width:6px; height:6px; background:var(--gold); transform:rotate(45deg); border-radius:1px; }

/* =========================== CALLOUT / NOTE ============================ */
.callout{
  border:1px solid var(--line); background:var(--gold-pale); border-radius:var(--radius-sm);
  padding:18px 20px; font-size:14.5px; color:var(--ink-soft); display:flex; gap:12px; align-items:flex-start;
}
.callout svg{ flex:none; width:20px; height:20px; margin-top:2px; stroke:var(--gold-dim); }
.callout.dark{ background:rgba(227,198,124,0.08); border-color:rgba(227,198,124,.3); color:var(--text-on-dark-muted); }

/* =========================== CTA BAND =================================== */
.cta-band{
  background:linear-gradient(120deg,var(--surface) 0%, var(--surface-soft) 100%); color:var(--text-on-dark);
  border-radius:var(--radius-md); padding:52px 44px; display:flex; align-items:center; justify-content:space-between; gap:30px;
  position:relative; overflow:hidden;
}
.cta-band::before{ content:''; position:absolute; right:-60px; top:-60px; width:220px; height:220px; border:1px solid rgba(227,198,124,.2); border-radius:50%; pointer-events:none; }
.cta-band h3{ color:var(--text-on-dark); font-size:26px; margin-bottom:6px; }
.cta-band p{ color:var(--text-on-dark-muted); margin:0; }
@media (max-width:760px){ .cta-band{ flex-direction:column; text-align:center; } }

/* =========================== FOOTER ===================================== */
.site-footer{ background:var(--surface-deep); color:var(--text-on-dark-muted); padding:64px 0 24px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:40px; }
.footer-brand{ display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.footer-brand img{ height:38px; }
.footer-brand strong{ font-family:var(--f-display); color:var(--text-on-dark); font-size:16px; }
.site-footer h4{ color:var(--text-on-dark); font-size:13px; letter-spacing:.1em; text-transform:uppercase; margin-bottom:16px; }
.site-footer ul li{ margin-bottom:10px; font-size:14px; }
.site-footer a:hover{ color:var(--gold-light); }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.08); margin-top:44px; padding-top:22px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:12.5px; }
.social-row{ display:flex; gap:12px; margin-top:16px; }
.social-row a{ width:36px; height:36px; border:1px solid rgba(255,255,255,.15); border-radius:50%; display:flex; align-items:center; justify-content:center; }
.social-row a:hover{ border-color:var(--gold); }
.social-row svg{ width:16px; height:16px; stroke:currentColor; }
@media (max-width:880px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } .footer-bottom{ flex-direction:column; } }

/* =========================== FORMS (Application) ======================= */
.form-shell{ background:var(--paper); border:1px solid var(--line-soft); border-radius:var(--radius-md); box-shadow:var(--shadow-card); overflow:hidden; }
.form-progress{ display:flex; background:var(--surface); }
.form-progress .step{
  flex:1; text-align:center; padding:16px 8px; font-size:12px; font-weight:700; color:var(--text-on-dark-muted);
  border-bottom:3px solid transparent; letter-spacing:.03em; position:relative;
}
.form-progress .step .n{ display:inline-flex; width:22px; height:22px; border-radius:50%; border:1px solid currentColor; align-items:center; justify-content:center; margin-right:6px; font-family:var(--f-display); }
.form-progress .step.active{ color:var(--gold-light); border-bottom-color:var(--gold); }
.form-progress .step.done{ color:var(--gold); }
@media (max-width:700px){ .form-progress .step span.label{ display:none; } }

.form-body{ padding:40px; }
@media (max-width:700px){ .form-body{ padding:26px 18px; } }

.form-section{ display:none; }
.form-section.active{ display:block; animation:fadeIn .35s var(--ease); }
@keyframes fadeIn{ from{ opacity:0; transform:translateY(8px);} to{ opacity:1; transform:none; } }
.form-section h3{ font-size:22px; margin-bottom:4px; }
.form-section .sub{ color:var(--text-muted); font-size:14px; margin-bottom:26px; }

.form-row{ display:grid; grid-template-columns:repeat(2,1fr); gap:20px; margin-bottom:20px; }
.form-row.cols-3{ grid-template-columns:repeat(3,1fr); }
.form-row.cols-4{ grid-template-columns:repeat(4,1fr); }
.form-row.cols-1{ grid-template-columns:1fr; }
@media (max-width:640px){ .form-row, .form-row.cols-3, .form-row.cols-4{ grid-template-columns:1fr; } }

.field{ display:flex; flex-direction:column; gap:7px; }
.field label{ font-size:13px; font-weight:700; color:var(--ink); }
.field label .opt{ font-weight:500; color:var(--text-muted); text-transform:none; }
.field .hint{ font-size:12px; color:var(--text-muted); margin-top:-2px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field input[type="number"], .field input[type="password"],
.field select, .field textarea{
  border:1.5px solid var(--line-soft); background:var(--cream); border-radius:6px; padding:12px 14px;
  font-family:var(--f-body); font-size:14.5px; color:var(--text-main); width:100%; transition:border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color:var(--gold); box-shadow:0 0 0 3px rgba(184,144,59,.18); background:var(--white);
}
.field input:invalid.touched, .field select:invalid.touched{ border-color:var(--error); }
.field input[readonly]{
  background:var(--cream-dim); color:var(--text-muted); cursor:default;
}
.field input[readonly]:focus{ box-shadow:none; border-color:var(--line-soft); }
.field textarea{ resize:vertical; min-height:90px; }
.field .error-msg{ font-size:12.5px; color:var(--error); min-height:16px; }

.dob-row{ display:grid; grid-template-columns:84px 1fr 100px; gap:10px; }
@media (max-width:420px){ .dob-row{ grid-template-columns:1fr 1fr 1fr; } }

.radio-row{ display:flex; gap:22px; flex-wrap:wrap; padding-top:6px; }
.radio-opt{ display:flex; align-items:center; gap:8px; font-size:14.5px; cursor:pointer; }
.radio-opt input{ width:17px; height:17px; accent-color:var(--gold-dim); }

fieldset{ border:none; padding:0; margin:0; }
legend{ font-size:13px; font-weight:700; color:var(--ink); padding:0; margin-bottom:6px; }

.divider-label{ display:flex; align-items:center; gap:14px; margin:34px 0 22px; color:var(--gold-dim); font-weight:700; font-size:14px; text-transform:uppercase; letter-spacing:.06em; }
.divider-label::before, .divider-label::after{ content:''; flex:1; height:1px; background:var(--line); }

.check-row{ display:flex; gap:12px; align-items:flex-start; padding:18px 20px; background:var(--gold-pale); border-radius:8px; border:1px solid var(--line); }
.check-row input{ margin-top:3px; width:17px; height:17px; accent-color:var(--gold-dim); flex:none; }
.check-row label{ font-size:14px; color:var(--ink-soft); }

.honey{ position:absolute; left:-9999px; opacity:0; height:0; width:0; }

.form-actions{ display:flex; justify-content:space-between; align-items:center; margin-top:34px; gap:14px; }
.form-actions .spacer{ flex:1; }

.file-drop{
  border:1.5px dashed var(--line); border-radius:8px; padding:22px; text-align:center; background:var(--cream);
  font-size:13.5px; color:var(--text-muted); cursor:pointer; transition:border-color .2s;
}
.file-drop:hover{ border-color:var(--gold); }
.file-drop strong{ color:var(--gold-dim); }

.alert{ border-radius:8px; padding:16px 18px; font-size:14px; margin-bottom:26px; display:flex; gap:10px; }
.alert-error{ background:#FBEAE8; color:#7A241C; border:1px solid #EFC1BB; }
.alert-success{ background:#E9F4EC; color:#245134; border:1px solid #BEE0C7; }

/* progress bar mobile-friendly dots */
.step-dots{ display:none; justify-content:center; gap:8px; padding:14px 0; background:var(--surface); }
.step-dots span{ width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,.25); }
.step-dots span.active{ background:var(--gold); width:20px; border-radius:4px; transition:.3s; }

/* =========================== SUCCESS PAGE =============================== */
.success-box{ text-align:center; padding:70px 24px; }
.success-icon{ width:84px; height:84px; border-radius:50%; background:var(--gold-pale); border:1px solid var(--gold); display:flex; align-items:center; justify-content:center; margin:0 auto 26px; }
.success-icon svg{ width:38px; height:38px; stroke:var(--gold-dim); }
.tracking-id{ display:inline-block; background:var(--surface); color:var(--gold-light); font-family:var(--f-display); font-size:20px; padding:12px 26px; border-radius:6px; letter-spacing:.05em; margin:14px 0 26px; }

/* =========================== MISC UTIL ================================== */
.mt-0{ margin-top:0 } .mb-0{ margin-bottom:0 }
.text-muted{ color:var(--text-muted); }
.center{ text-align:center; }
.small{ font-size:13px; }
.badge{ display:inline-block; padding:4px 12px; border-radius:20px; font-size:11.5px; font-weight:700; letter-spacing:.04em; }
.badge-gold{ background:var(--gold-pale); color:var(--gold-dim); }
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in{ opacity:1; transform:none; }

/* =========================== VENDOR: TOM SELECT ========================== */
/* Reskins the third-party dropdown (assets/vendor/tom-select) to match the
   .field input/select look defined above, instead of its default theme. */
.ts-wrapper{ font-family:var(--f-body); font-size:14.5px; }
.ts-wrapper.single .ts-control{
  border:1.5px solid var(--line-soft); background:var(--cream); border-radius:6px;
  padding:10.5px 38px 10.5px 14px; min-height:auto; color:var(--text-main); box-shadow:none;
  position:relative;
}
.ts-wrapper.single.input-active .ts-control, .ts-wrapper.focus .ts-control{
  border-color:var(--gold); box-shadow:0 0 0 3px rgba(184,144,59,.18); background:var(--white);
}
.ts-control input{ font-family:var(--f-body); color:var(--text-main); }
.ts-wrapper .ts-control .item{ color:var(--text-main); }
.field select[aria-invalid="true"] + .ts-wrapper .ts-control{ border-color:var(--error); }
.ts-dropdown{
  border:1.5px solid var(--line); border-radius:6px; background:var(--white);
  font-family:var(--f-body); font-size:14px; box-shadow:var(--shadow-card); margin-top:4px;
}
.ts-dropdown .ts-dropdown-content{ padding:4px; }
.ts-dropdown [data-selectable], .ts-dropdown .no-results, .ts-dropdown .optgroup-header{ padding:9px 12px; border-radius:4px; }
.ts-dropdown .option.active{ background:var(--gold-pale); color:var(--ink); }
.ts-dropdown .option.selected{ background:var(--gold); color:var(--black); font-weight:700; }
/* The vendored Tom Select build ships with --ts-pr-caret:0 (no caret glyph
   at all — the plugin/property exists but draws nothing), so the dropdown
   arrow below is drawn from scratch rather than just recolored. */
.ts-wrapper.single .ts-control:after{
  content:''; position:absolute; top:50%; right:16px; width:8px; height:8px;
  border-right:2px solid var(--gold-dim); border-bottom:2px solid var(--gold-dim);
  transform:translateY(-70%) rotate(45deg); pointer-events:none; transition:transform .2s var(--ease);
}
.ts-wrapper.single.dropdown-active .ts-control:after{ transform:translateY(-30%) rotate(-135deg); }
