/* =========================================================
   GOLDEN VALLEY INTERNATIONAL SCHOOL — DESIGN SYSTEM
   Editorial, photography-led, academic-premium visual language.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root{
  /* --- Colour system --- */
  --navy:        #123456;
  --navy-deep:   #0B2740;
  --navy-tint:   #EAF0F5;
  --maroon:      #8A2432;
  --maroon-deep: #6E1C28;
  --gold:        #C79A3F;
  --gold-soft:   #F3E7C9;
  --cream:       #FAF7F0;
  --white:       #FFFFFF;
  --ink:         #22262B;
  --ink-soft:    #57616B;
  --line:        #E4DECF;

  /* --- Type --- */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* --- Layout --- */
  --container: 1180px;
  --radius: 3px;
  --shadow-soft: 0 8px 30px rgba(11,39,64,0.10);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
html, body{ max-width:100%; overflow-x:hidden; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--white);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
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(--font-display);
  color:var(--navy-deep);
  margin:0 0 .5em;
  line-height:1.15;
  font-weight:600;
}
p{ margin:0 0 1em; color:var(--ink-soft); max-width:64ch; }
button{ font-family:inherit; }

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

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

/* =========================================================
   SCROLL-REVEAL (progressive enhancement — see script.js)
   Only engages when JS adds .js-reveal to <html>; if JS never
   runs, or prefers-reduced-motion is set, content stays visible.
   ========================================================= */
html.js-reveal .feature,
html.js-reveal .info-block,
html.js-reveal .reason,
html.js-reveal .step,
html.js-reveal .split-media,
html.js-reveal .split-body,
html.js-reveal .ph-item,
html.js-reveal .contact-card{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .6s cubic-bezier(.2,.8,.2,1), transform .6s cubic-bezier(.2,.8,.2,1);
}
html.js-reveal .feature.is-visible,
html.js-reveal .info-block.is-visible,
html.js-reveal .reason.is-visible,
html.js-reveal .step.is-visible,
html.js-reveal .split-media.is-visible,
html.js-reveal .split-body.is-visible,
html.js-reveal .ph-item.is-visible,
html.js-reveal .contact-card.is-visible{
  opacity:1;
  transform:none;
}

/* Touch-device active feedback (buttons already covered above) */
@media (hover:none){
  .feature:active, .info-block:active{ transform:scale(.98); }
  .photo-grid a:active img, .photo-grid .ph-item:active img{ transform:scale(1.02); }
}

.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}

/* =========================================================
   TOP UTILITY BAR
   ========================================================= */
.topbar{
  background:var(--navy-deep);
  color:#CBD8E3;
  font-size:.85rem;
}
.topbar .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top:8px;
  padding-bottom:8px;
  flex-wrap:wrap;
  gap:8px;
}
.topbar-info{ display:flex; gap:20px; flex-wrap:wrap; }
.topbar-info a, .topbar-info span{ color:#CBD8E3; display:inline-flex; align-items:center; gap:6px; white-space:nowrap; }
.topbar-info a:hover{ color:var(--gold); }
.topbar-social{ display:flex; gap:14px; align-items:center; }
.topbar-social a{ color:#CBD8E3; display:inline-flex; }
.topbar-social a:hover{ color:var(--gold); }
.topbar svg{ width:15px; height:15px; flex:none; }

/* =========================================================
   MAIN HEADER / NAV
   ========================================================= */
.site-header{
  position:sticky; top:0; z-index:100;
  background:var(--white);
  border-bottom:1px solid var(--line);
  transition:box-shadow .25s ease;
}
.site-header.is-scrolled{ box-shadow:0 4px 18px rgba(11,39,64,.09); }
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:9px 0;
  gap:16px;
}
.brand{ display:flex; align-items:center; gap:11px; flex:none; }
.brand img{ height:66px; width:66px; object-fit:contain; flex:none; }
.brand-text{ line-height:1.16; white-space:nowrap; }
.brand-text .school-name{
  font-family:var(--font-display);
  font-weight:600;
  font-size:1.02rem;
  color:var(--navy-deep);
  display:block;
  letter-spacing:-.01em;
  white-space:nowrap;
}
.brand-text .school-tag{
  font-size:.62rem;
  letter-spacing:.07em;
  color:var(--maroon);
  text-transform:uppercase;
  display:block;
  margin-top:3px;
  white-space:nowrap;
}

.main-nav{ display:flex; align-items:center; gap:22px; min-width:0; }
.main-nav ul{ display:flex; gap:19px; }
.main-nav a{
  font-size:.89rem; font-weight:600; color:var(--navy);
  position:relative; padding:6px 0;
  white-space:nowrap;
}
.main-nav a::after{
  content:''; position:absolute; left:0; right:100%; bottom:0; height:2px;
  background:var(--maroon); transition:right .22s ease;
}
.main-nav a:hover::after, .main-nav a.active::after{ right:0; }
.main-nav a.active{ color:var(--maroon); }

.header-cta{ display:flex; align-items:center; gap:10px; flex:none; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 26px;
  font-weight:600; font-size:.92rem;
  border-radius:var(--radius);
  border:1.5px solid transparent;
  cursor:pointer;
  transition:transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
  white-space:nowrap;
  will-change:transform;
}
.btn:hover{ transform:translateY(-2px); box-shadow:0 10px 22px rgba(11,39,64,.14); }
.btn:active{ transform:translateY(0); box-shadow:0 3px 8px rgba(11,39,64,.14); transition-duration:.08s; }
@media (hover:none){
  .btn:active{ transform:scale(.97); }
}
.btn-primary{ background:var(--maroon); color:var(--white); border-color:var(--maroon); }
.btn-primary:hover{ background:var(--maroon-deep); border-color:var(--maroon-deep); }
.btn-outline{ background:transparent; color:var(--navy); border-color:var(--navy); }
.btn-outline:hover{ background:var(--navy); color:var(--white); }
.btn-gold{ background:var(--gold); color:var(--navy-deep); border-color:var(--gold); }
.btn-gold:hover{ background:#b78a30; border-color:#b78a30; }
.btn-sm{ padding:9px 15px; font-size:.82rem; }
.btn-block{ width:100%; }

.hamburger{
  display:none; flex-direction:column; align-items:center; justify-content:center; gap:6px;
  background:var(--navy-deep); border:0; border-radius:8px; cursor:pointer;
  width:44px; height:40px; padding:0; flex:none;
  transition:background .2s ease, transform .2s ease;
}
.hamburger span{ width:22px; height:3px; border-radius:2px; background:var(--white); display:block; transition:.25s; }
.hamburger:hover{ background:var(--maroon); }
.hamburger:active{ transform:scale(.94); }

/* =========================================================
   MOBILE NAV OVERLAY — compact, premium
   ========================================================= */
.mobile-nav{
  position:fixed; inset:0; background:var(--navy-deep); z-index:200;
  transform:translateX(100%); transition:transform .3s cubic-bezier(.2,.8,.2,1);
  display:flex; flex-direction:column;
  padding:18px 20px calc(18px + env(safe-area-inset-bottom));
  overflow-y:auto;
}
.mobile-nav.open{ transform:translateX(0); }

.mobile-nav-top{
  display:flex; justify-content:space-between; align-items:center;
  padding-bottom:14px; margin-bottom:6px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.mobile-nav-top .brand{ gap:9px; min-width:0; }
.mobile-nav-top .brand img{ height:38px; width:38px; }
.mobile-nav-top .brand-text{ white-space:normal; min-width:0; }
.mobile-nav-top .brand-text .school-name{
  color:var(--white); font-size:.86rem !important; line-height:1.25;
  white-space:normal; display:block; max-width:190px;
}
.mobile-nav-close{
  background:rgba(255,255,255,.06); border:0; color:var(--white);
  width:32px; height:32px; border-radius:50%;
  font-size:1.3rem; line-height:1; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:background .2s ease, transform .2s ease;
  flex:none;
}
.mobile-nav-close:hover{ background:rgba(255,255,255,.14); }
.mobile-nav-close:active{ transform:scale(.92); }

.mobile-nav ul{ display:flex; flex-direction:column; }
.mobile-nav a{
  color:var(--white);
  font-family:var(--font-body); font-weight:600;
  font-size:clamp(.92rem, 3.6vw, 1rem);
  padding:13px 6px;
  border-bottom:1px solid rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  border-radius:8px;
  transition:background .2s ease, padding-left .2s ease, color .2s ease;
}
.mobile-nav a .chevron{
  width:16px; height:16px; flex:none; color:rgba(255,255,255,.4);
  transition:transform .2s ease, color .2s ease;
}
.mobile-nav a:hover, .mobile-nav a:active, .mobile-nav a.active{
  background:rgba(255,255,255,.07);
  padding-left:12px;
  color:var(--gold);
}
.mobile-nav a:hover .chevron, .mobile-nav a:active .chevron, .mobile-nav a.active .chevron{
  transform:translateX(3px); color:var(--gold);
}
.mobile-nav li:last-child a{ border-bottom:0; }

.mobile-nav-cta{ margin-top:16px; display:flex; flex-direction:column; gap:9px; }

.mobile-nav-admissions{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  background:var(--gold);
  color:var(--navy-deep);
  font-weight:700; font-size:.92rem;
  padding:12px 16px;
  border-radius:10px;
  transition:transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease, background .2s ease;
}
.mobile-nav-admissions svg{ width:16px; height:16px; transition:transform .2s ease; flex:none; }
.mobile-nav-admissions:hover{ transform:translateY(-2px); box-shadow:0 8px 18px rgba(0,0,0,.22); background:#d6ac52; }
.mobile-nav-admissions:hover svg{ transform:translateX(3px); }
.mobile-nav-admissions:active{ transform:translateY(0); }

.mobile-nav-call{
  display:flex; align-items:center; gap:10px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.16);
  color:var(--white);
  font-weight:600; font-size:.88rem;
  padding:10px 16px;
  border-radius:10px;
  transition:background .2s ease, border-color .2s ease, transform .2s ease;
}
.mobile-nav-call svg{ width:16px; height:16px; flex:none; color:var(--gold); }
.mobile-nav-call:hover{ background:rgba(255,255,255,.09); border-color:rgba(255,255,255,.28); }
.mobile-nav-call:active{ transform:scale(.98); }

.mobile-nav-social{
  display:flex; flex-wrap:wrap; gap:10px; margin-top:16px; padding-top:14px;
  border-top:1px solid rgba(255,255,255,.10);
}
.mobile-nav-social a{
  flex:1 1 calc(50% - 5px);
  display:flex; align-items:center; justify-content:center; gap:7px;
  color:#CBD8E3; font-size:.82rem; font-weight:600;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  padding:9px 10px;
  border-radius:9px;
  transition:background .2s ease, color .2s ease, transform .2s ease;
}
.mobile-nav-social a svg{ width:15px; height:15px; flex:none; }
.mobile-nav-social a:hover{ background:rgba(255,255,255,.09); color:#fff; }
.mobile-nav-social a:active{ transform:scale(.96); }

/* =========================================================
   PAGE HERO (interior pages)
   ========================================================= */
.page-hero{
  position:relative;
  background:var(--navy-deep);
  color:var(--white);
  padding:86px 0 70px;
  overflow:hidden;
}
.page-hero::before{
  content:''; position:absolute; inset:0;
  background:linear-gradient(115deg, rgba(11,39,64,.94) 20%, rgba(11,39,64,.55) 100%), var(--hero-img) center/cover no-repeat;
}
.page-hero .container{ position:relative; z-index:1; }
.page-hero .crumb{ font-size:.85rem; color:var(--gold); font-weight:600; margin-bottom:14px; letter-spacing:.03em; }
.page-hero h1{ color:var(--white); font-size:clamp(2.1rem,4.5vw,3.1rem); max-width:16ch; }
.page-hero p{ color:#DCE6EE; font-size:1.08rem; max-width:56ch; }

/* =========================================================
   HOME HERO
   ========================================================= */
.home-hero{
  position:relative; color:var(--white);
  min-height:640px;
  display:flex; align-items:center;
  background:var(--navy-deep);
  overflow:hidden;
}
.home-hero::before{
  content:''; position:absolute; inset:0;
  background:
    linear-gradient(100deg, rgba(9,30,49,.92) 30%, rgba(9,30,49,.30) 78%),
    var(--hero-img) center/cover no-repeat;
}
.home-hero .container{ position:relative; z-index:1; padding-top:60px; padding-bottom:60px; }
.home-hero-content{ max-width:620px; }
.home-hero .eyebrow{
  color:var(--gold); font-weight:600; font-size:.85rem; letter-spacing:.08em; text-transform:uppercase;
  margin-bottom:18px; display:block;
}
.home-hero h1{
  color:var(--white); font-size:clamp(2.4rem,5vw,3.6rem); margin-bottom:20px;
}
.home-hero p.lead{ color:#E1E9EF; font-size:1.15rem; max-width:50ch; margin-bottom:34px; }
.home-hero .hero-actions{ display:flex; gap:16px; flex-wrap:wrap; }

/* =========================================================
   SECTION LAYOUT
   ========================================================= */
.section{ padding:88px 0; }
.section-tight{ padding:60px 0; }
.section-cream{ background:var(--cream); }
.section-navy{ background:var(--navy-deep); color:#fff; }
.section-navy h2{ color:#fff; }
.section-navy p{ color:#CBD8E3; }

.section-head{ max-width:680px; margin-bottom:48px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-kicker{
  color:var(--maroon); font-weight:700; font-size:.82rem; letter-spacing:.05em;
  margin-bottom:10px; display:block;
}
.section-kicker.kicker-icon{
  display:inline-flex; align-items:center; gap:8px;
}
.section-kicker.kicker-icon svg{
  flex:0 0 auto; width:18px; height:18px; stroke:var(--maroon); color:var(--maroon);
}
.section-navy .section-kicker.kicker-icon svg{ stroke:var(--gold); color:var(--gold); }
.section-navy .section-kicker{ color:var(--gold); }
.section-head h2{ font-size:clamp(1.7rem,3.2vw,2.4rem); }

.divider{ height:1px; background:var(--line); border:0; margin:0; }

/* =========================================================
   DOCUMENT CARDS (Documents & Downloads page + inline doc links)
   ========================================================= */
.doc-grid{
  display:grid; grid-template-columns:repeat(2,1fr); gap:20px;
}
.doc-card{
  display:flex; gap:16px; background:var(--white); border:1px solid var(--line);
  padding:22px; transition:transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease;
}
.doc-card:hover{ transform:translateY(-3px); box-shadow:0 14px 30px rgba(11,39,64,.10); border-color:transparent; }
.doc-card-icon{
  flex:0 0 auto; width:44px; height:44px; border-radius:50%; background:var(--navy-tint);
  color:var(--navy); display:flex; align-items:center; justify-content:center;
}
.doc-card-icon svg{ width:22px; height:22px; }
.doc-card-body h3{ font-size:1rem; margin-bottom:6px; word-break:break-word; }
.doc-card-body p{ font-size:.88rem; color:var(--ink-soft); margin-bottom:14px; }
.doc-card-actions{ display:flex; gap:10px; flex-wrap:wrap; }

/* Inline document link chip — used on Admissions / Academics / Facilities / About pages */
.doc-inline-list{ display:flex; flex-direction:column; gap:10px; margin-top:18px; }
.doc-inline-link{
  display:inline-flex; align-items:center; gap:10px; padding:12px 16px;
  border:1px solid var(--line); background:var(--white); color:var(--navy);
  font-weight:600; font-size:.92rem; text-decoration:none; transition:border-color .2s ease, background .2s ease;
}
.doc-inline-link:hover{ border-color:var(--maroon); background:var(--cream); }
.doc-inline-link svg{ flex:0 0 auto; width:18px; height:18px; color:var(--maroon); }

/* =========================================================
   RESPONSIVE VIDEO EMBEDS
   ========================================================= */
.video-frame{
  position:relative; width:100%; aspect-ratio:16/9; background:var(--navy-deep);
  overflow:hidden;
}
.video-frame video{ width:100%; height:100%; object-fit:cover; display:block; }
/* Portrait (phone-shot) videos — school events were filmed vertically.
   Forcing these into a 16:9 landscape box with object-fit:cover crops
   almost the entire frame away and looks broken. Use the video's real
   9:16 shape instead, letterboxed on a navy background. */
.video-frame.portrait{
  aspect-ratio:9/16; max-width:360px; margin-left:auto; margin-right:auto;
}
.video-frame.portrait video{ object-fit:contain; background:var(--navy-deep); }
.video-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.video-grid.video-grid-portrait{ grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); justify-items:center; }
.video-caption{ font-size:.88rem; color:var(--ink-soft); margin-top:10px; }

/* =========================================================
   GRIDS / CARDS (used sparingly, flat not "SaaS card kit")
   ========================================================= */
.grid{ display:grid; gap:30px; }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }

.feature{
  border-top:3px solid var(--maroon);
  padding-top:20px;
  transition:transform .3s cubic-bezier(.2,.8,.2,1);
}
.feature:hover{ transform:translateY(-4px); }
.feature-icon{
  display:flex; align-items:center; justify-content:center;
  width:46px; height:46px; margin-bottom:14px;
  border-radius:50%; background:rgba(139,21,56,.08); flex:none;
}
.feature-icon svg{ width:22px; height:22px; stroke:var(--maroon); color:var(--maroon); }
.feature h3{ font-size:1.15rem; margin-bottom:8px; }
.feature p{ font-size:.97rem; margin-bottom:0; }

.info-block{
  background:var(--white);
  border:1px solid var(--line);
  padding:34px;
  transition:transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease, border-color .3s ease;
}
.info-block:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 30px rgba(11,39,64,.10);
  border-color:transparent;
}

/* Split (image + text) layout, alternating */
.split{
  display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center;
}
.split.reverse .split-media{ order:2; }
.split.reverse .split-body{ order:1; }
.split-media img{ width:100%; height:100%; object-fit:cover; }
.split-media{ position:relative; }
.split-body .section-kicker{ margin-bottom:12px; }
.split-body h2{ font-size:clamp(1.6rem,3vw,2.2rem); }

/* =========================================================
   WHY CHOOSE / REASONS
   ========================================================= */
.reasons{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); }
.reason{ background:var(--white); padding:36px 30px; transition:background .3s ease; position:relative; z-index:0; }
.reason:hover{ background:var(--cream); }
.reason .num{ font-family:var(--font-display); font-size:1.6rem; color:var(--gold); margin-bottom:14px; display:block; transition:transform .3s cubic-bezier(.2,.8,.2,1); }
.reason:hover .num{ transform:translateY(-2px); }
.reason h3{ font-size:1.08rem; margin-bottom:8px; }
.reason p{ font-size:.93rem; margin:0; }

/* =========================================================
   PHOTO STRIP / GALLERY GRID
   ========================================================= */
.photo-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.photo-grid a, .photo-grid .ph-item{
  display:block; position:relative; overflow:hidden; background:var(--navy-tint);
  aspect-ratio:1/1;
}
.photo-grid img{ width:100%; height:100%; object-fit:cover; transition:transform .45s cubic-bezier(.2,.8,.2,1); }
.photo-grid a:hover img, .photo-grid .ph-item:hover img{ transform:scale(1.035); }

/* Reusable hover-zoom frame for standalone photography (facilities grids, etc.) */
.media-frame{ display:block; overflow:hidden; position:relative; }
.media-frame img{ transition:transform .45s cubic-bezier(.2,.8,.2,1); }
.media-frame:hover img{ transform:scale(1.035); }

.split-media{ overflow:hidden; }
.split-media img{ transition:transform .5s cubic-bezier(.2,.8,.2,1); }
.split-media:hover img{ transform:scale(1.03); }
.photo-grid .tall{ grid-row:span 2; aspect-ratio:auto; height:100%; }

.filter-bar{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:34px; }
.filter-btn{
  padding:9px 18px; border:1px solid var(--line); background:var(--white); color:var(--ink-soft);
  font-size:.88rem; font-weight:600; cursor:pointer; border-radius:20px;
}
.filter-btn.active, .filter-btn:hover{ background:var(--navy); color:var(--white); border-color:var(--navy); }

/* Lightbox */
.lightbox{
  position:fixed; inset:0; background:rgba(11,20,30,.94); z-index:300;
  display:none; align-items:center; justify-content:center; padding:30px;
}
.lightbox.open{ display:flex; }
.lightbox img{ max-width:90vw; max-height:82vh; object-fit:contain; }
.lightbox-close, .lightbox-prev, .lightbox-next{
  position:absolute; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.25);
  color:#fff; cursor:pointer; border-radius:50%; width:46px; height:46px; font-size:1.3rem;
  display:flex; align-items:center; justify-content:center;
}
.lightbox-close{ top:22px; right:22px; }
.lightbox-prev{ left:22px; top:50%; transform:translateY(-50%); }
.lightbox-next{ right:22px; top:50%; transform:translateY(-50%); }
.lightbox-caption{ position:absolute; bottom:24px; left:0; right:0; text-align:center; color:#CBD8E3; font-size:.9rem; }

/* =========================================================
   ADMISSIONS CTA BANNER
   ========================================================= */
.cta-banner{
  background:var(--maroon);
  color:#fff;
  padding:64px 0;
}
.cta-banner-inner{ display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap; }
.cta-banner h2{ color:#fff; margin-bottom:6px; font-size:clamp(1.5rem,3vw,2.1rem); }
.cta-banner p{ color:#F3DADD; margin:0; }
.cta-banner .actions{ display:flex; gap:14px; flex-wrap:wrap; }
.cta-banner .btn-primary{ background:var(--white); color:var(--maroon); border-color:var(--white); }
.cta-banner .btn-primary:hover{ background:var(--gold-soft); }
.cta-banner .btn-outline{ border-color:rgba(255,255,255,.6); color:#fff; }
.cta-banner .btn-outline:hover{ background:rgba(255,255,255,.14); }

/* =========================================================
   TIMELINE / STEPS (true sequences only)
   ========================================================= */
.steps{ counter-reset:step; }
.step{
  display:grid; grid-template-columns:64px 1fr; gap:24px;
  padding:26px 0; border-bottom:1px solid var(--line);
}
.step:first-child{ border-top:1px solid var(--line); }
.step .step-num{
  counter-increment:step; font-family:var(--font-display); font-size:1.5rem; color:var(--maroon);
}
.step .step-num::before{ content: counter(step, decimal-leading-zero); }
.step h3{ font-size:1.08rem; margin-bottom:6px; }
.step p{ margin:0; font-size:.95rem; }

/* =========================================================
   CONTACT / MAP / FORM
   ========================================================= */
.contact-grid{ display:grid; grid-template-columns:1.1fr 1fr; gap:56px; }
.contact-card{ display:flex; gap:16px; padding:20px 0; border-bottom:1px solid var(--line); }
.contact-card:last-child{ border-bottom:0; }
.contact-card .icon{
  width:44px; height:44px; flex:none; border-radius:50%; background:var(--navy-tint);
  display:flex; align-items:center; justify-content:center; color:var(--navy);
}
.contact-card h3{ font-size:1rem; margin-bottom:4px; }
.contact-actions{ display:flex; gap:12px; flex-wrap:wrap; margin-top:30px; }

.map-embed{ width:100%; height:360px; border:1px solid var(--line); filter:grayscale(15%); }

.form-field{ margin-bottom:18px; }
.form-field label{ display:block; font-weight:600; font-size:.9rem; margin-bottom:6px; color:var(--navy-deep); }
.form-field input, .form-field textarea, .form-field select{
  width:100%; padding:12px 14px; border:1px solid var(--line); font-family:inherit; font-size:.96rem;
  background:var(--white); border-radius:var(--radius);
}
.form-field input:focus, .form-field textarea:focus{ outline:2px solid var(--navy); border-color:var(--navy); }
.form-note{ font-size:.82rem; color:var(--ink-soft); margin-top:10px; }
.form-success{ background:#E9F4EA; border:1px solid #B9DEC0; color:#245C33; padding:16px 18px; margin-bottom:20px; font-size:.94rem; }
.form-error{ background:#FBEBEA; border:1px solid #F0BEBB; color:#8A2A24; padding:16px 18px; margin-bottom:20px; font-size:.94rem; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{ background:var(--navy-deep); color:#B9C7D4; padding-top:70px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:40px; padding-bottom:50px; }
.footer-brand{ display:flex; gap:14px; margin-bottom:18px; }
.footer-brand img{ height:52px; width:52px; object-fit:contain; }
.footer-brand .school-name{ font-family:var(--font-display); color:#fff; font-size:1.1rem; }
.footer-brand .school-tag{ font-size:.72rem; color:var(--gold); text-transform:uppercase; letter-spacing:.05em; }
.site-footer p{ color:#9FB0C0; font-size:.92rem; }
.site-footer h4{ color:#fff; font-size:.92rem; text-transform:uppercase; letter-spacing:.05em; margin-bottom:18px; }
.site-footer ul li{ margin-bottom:10px; }
.site-footer a{ color:#B9C7D4; font-size:.94rem; }
.site-footer a:hover{ color:var(--gold); }
.footer-social{ display:flex; flex-wrap:wrap; gap:14px; margin-top:16px; }
.footer-social a{
  width:38px; height:38px; border:1px solid rgba(255,255,255,.2); border-radius:50%;
  display:flex; align-items:center; justify-content:center;
}
.footer-social a:hover{ background:var(--gold); border-color:var(--gold); color:var(--navy-deep); }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12); padding:22px 0; margin-top:10px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:.85rem; color:#8CA0B2;
}
.footer-bottom a{ color:#8CA0B2; }
.footer-bottom a:hover{ color:var(--gold); }

/* =========================================================
   FLOATING WHATSAPP
   ========================================================= */
.float-whatsapp{
  position:fixed;
  right:max(18px, env(safe-area-inset-right));
  bottom:max(18px, env(safe-area-inset-bottom));
  z-index:150;
  width:48px; height:48px; border-radius:50%; background:#25D366;
  display:flex; align-items:center; justify-content:center; box-shadow:0 6px 18px rgba(0,0,0,.22);
  color:#fff; transition:transform .15s ease;
}
.float-whatsapp:hover{ transform:scale(1.06); }
.float-whatsapp svg{ width:22px; height:22px; }

/* =========================================================
   MISC UTILITIES
   ========================================================= */
.tag-list{ display:flex; flex-wrap:wrap; gap:10px; }
.tag{ border:1px solid var(--line); padding:7px 14px; font-size:.85rem; color:var(--navy); border-radius:20px; }
.note-block{ background:var(--navy-tint); border-left:3px solid var(--navy); padding:18px 22px; font-size:.92rem; color:var(--navy-deep); }
.list-check{ display:flex; flex-direction:column; gap:12px; }
.list-check li{ display:flex; gap:12px; align-items:flex-start; color:var(--ink-soft); font-size:.97rem; }
.list-check svg{ flex:none; margin-top:3px; color:var(--maroon); width:18px; height:18px; }
.stat-row{ display:flex; gap:46px; flex-wrap:wrap; margin-top:10px; }
.stat-row .stat b{ font-family:var(--font-display); font-size:2rem; color:var(--navy-deep); display:block; }
.stat-row .stat span{ font-size:.85rem; color:var(--ink-soft); }

.table-scroll{
  width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  border:1px solid var(--line);
  border-radius:8px;
}
.table-clean{
  width:100%;
  min-width:420px;
  border-collapse:separate;
  border-spacing:0;
}
.table-clean th, .table-clean td{
  text-align:left; padding:15px 20px; font-size:.94rem;
  border-bottom:1px solid var(--line);
}
.table-clean thead th{
  color:var(--navy-deep); font-family:var(--font-display); font-weight:600; font-size:1rem;
  background:var(--navy-tint);
  border-bottom:1px solid var(--line);
  position:sticky; top:0;
}
.table-clean thead th:first-child{ border-top-left-radius:8px; }
.table-clean thead th:last-child{ border-top-right-radius:8px; }
.table-clean tbody tr:nth-child(even) td{ background:var(--cream); }
.table-clean tbody tr:last-child td{ border-bottom:0; }
.table-clean tbody tr:last-child td:first-child{ border-bottom-left-radius:8px; }
.table-clean tbody tr:last-child td:last-child{ border-bottom-right-radius:8px; }
.table-clean tbody tr{ transition:background .2s ease; }
.table-clean tbody tr:hover td{ background:var(--gold-soft); }

.breadcrumb-strip{ background:var(--cream); border-bottom:1px solid var(--line); padding:12px 0; font-size:.85rem; color:var(--ink-soft); }
.breadcrumb-strip a{ color:var(--navy); }
.breadcrumb-strip a:hover{ text-decoration:underline; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:1024px){
  .main-nav ul{ gap:18px; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .split{ gap:40px; }
  .reasons{ grid-template-columns:repeat(2,1fr); }
  .grid-4{ grid-template-columns:repeat(2,1fr); }
  .grid-3{ grid-template-columns:repeat(2,1fr); }
  .photo-grid{ grid-template-columns:repeat(3,1fr); }
}

@media (max-width:860px){
  .main-nav{ display:none; }
  .hamburger{ display:flex; }
  .header-cta .btn-outline{ display:none; }
  .split{ grid-template-columns:1fr; }
  .split.reverse .split-media{ order:1; }
  .split.reverse .split-body{ order:2; }
  .split-media{ aspect-ratio:4/3; }
  .split-media img{ height:100%; }
  .contact-grid{ grid-template-columns:1fr; }
  .topbar .container{ font-size:.78rem; }
  .footer-grid{ grid-template-columns:1fr 1fr; gap:30px; }
  .doc-grid{ grid-template-columns:1fr; }
  .video-grid{ grid-template-columns:1fr; }
}

@media (max-width:640px){
  .section{ padding:60px 0; }
  .home-hero{ min-height:auto; padding:40px 0; }
  .page-hero{ padding:64px 0 46px; }
  .reasons{ grid-template-columns:1fr; }
  .grid-4{ grid-template-columns:1fr 1fr; }
  .grid-3{ grid-template-columns:1fr; }
  .grid-2{ grid-template-columns:1fr; }
  .photo-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr; gap:34px; }
  .cta-banner-inner{ flex-direction:column; align-items:flex-start; }
  .topbar-info{ gap:10px; }
  .topbar-info .topbar-optional{ display:none !important; }
  .stat-row{ gap:28px; }
  .doc-card{ flex-direction:column; }
  .doc-card-actions .btn{ flex:1 1 auto; text-align:center; }
}
