/* =====================================================
   Whyte Pine Montessori Academy — Shared Stylesheet
   ===================================================== */

:root{
  --navy: #0B3A54;
  --navy-deep: #062338;
  --sky: #0CA9EE;
  --sky-deep: #0A8CC7;
  --sky-tint: #74D3F5;
  --charcoal: #3A3A3A;
  --charcoal-deep: #262626;
  --cream: #EAF4FA;
  --cream-warm: #DCEEF7;
  --paper: #FFFFFF;
  --ink: #22303B;
  --ink-soft: #52626B;
  --line: rgba(11,58,84,0.14);

  --display: "Playfair Display", Georgia, serif;
  --body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-tray: 22px;
  --radius-sm: 10px;
  --shadow-soft: 0 20px 45px -20px rgba(6,35,56,0.32);
  --shadow-tiny: 0 8px 20px -10px rgba(6,35,56,0.28);
  --container: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; }
h1,h2,h3,h4{ font-family:var(--display); margin:0; color:var(--navy); font-weight:700; }
p{ margin:0; }
.container{ max-width:var(--container); margin:0 auto; padding:0 28px; }
:focus-visible{ outline:3px solid var(--sky-tint); outline-offset:3px; }

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

.section{ padding: 108px 0; position:relative; }
.section-tight{ padding: 88px 0; }
@media (max-width: 780px){
  .section{ padding: 72px 0; }
  .section-tight{ padding: 60px 0; }
}

.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-size:0.78rem; letter-spacing:0.16em; text-transform:uppercase;
  font-weight:700; color:var(--sky-deep);
  margin-bottom:16px;
}
.eyebrow::before{
  content:""; width:26px; height:2px; background:var(--sky);
  display:inline-block; border-radius:2px;
}
.section-head{ max-width:640px; margin-bottom:56px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size:clamp(2rem, 3.4vw, 2.75rem); line-height:1.15; }
.section-head p{ color:var(--ink-soft); font-size:1.05rem; margin-top:16px; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:15px 30px; border-radius:100px; font-weight:700; font-size:0.96rem;
  border:2px solid transparent; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space:nowrap;
}
.btn-primary{ background:var(--sky); color:#fff; box-shadow: var(--shadow-tiny); }
.btn-primary:hover{ background:var(--sky-deep); transform:translateY(-2px); }
.btn-ghost{ background:transparent; border-color:rgba(255,255,255,0.5); color:#fff; }
.btn-ghost:hover{ background:rgba(255,255,255,0.12); border-color:#fff; transform:translateY(-2px); }
.btn-outline-navy{ background:transparent; border-color:var(--navy); color:var(--navy); }
.btn-outline-navy:hover{ background:var(--navy); color:#fff; transform:translateY(-2px); }
.btn-accent{ background:var(--sky-tint); color:var(--navy-deep); box-shadow:var(--shadow-tiny); }
.btn-accent:hover{ transform:translateY(-2px); background:#5cc4ec; }
.btn-block{ width:100%; }

/* ============ HEADER / NAV ============ */
.site-header{
  position:sticky; top:0; z-index:1000;
  background:rgba(234,244,250,0.88);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
  transition: box-shadow .3s ease;
}
.site-header.scrolled{ box-shadow:0 10px 30px -18px rgba(6,35,56,0.38); }
.nav-wrap{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 28px; max-width:var(--container); margin:0 auto;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand-mark{
  width:52px; height:52px; border-radius:14px;
  background: var(--paper);
  display:flex; align-items:center; justify-content:center; flex-shrink:0; overflow:hidden;
  box-shadow: 0 0 0 1px var(--line);
  padding:3px;
}
.brand-mark img{ width:100%; height:100%; object-fit:contain; }
.brand-text{ display:flex; flex-direction:column; line-height:1.15; }
.brand-text .name{ font-family:var(--display); font-weight:700; font-size:1.08rem; color:var(--navy); }
.brand-text .tag{ font-size:0.66rem; letter-spacing:0.11em; text-transform:uppercase; color:var(--sky-deep); font-weight:700; }

.nav-links{ display:flex; align-items:center; gap:32px; }
.nav-links a{
  font-size:0.94rem; font-weight:600; color:var(--navy); position:relative; padding:6px 0;
}
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:-3px; width:0; height:2px; background:var(--sky);
  transition:width .25s ease;
}
.nav-links a:hover::after{ width:100%; }
.nav-links a.active{ color:var(--sky-deep); }
.nav-links a.active::after{ width:100%; }

.nav-cta{ display:flex; align-items:center; gap:14px; }
.hamburger{
  display:none; flex-direction:column; gap:5px; background:none; border:none; padding:8px;
}
.hamburger span{ width:24px; height:2px; background:var(--navy); border-radius:2px; transition: transform .3s ease, opacity .3s ease; }
.hamburger.active span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2){ opacity:0; }
.hamburger.active span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-panel{
  display:none; position:fixed; inset:0 0 0 0; top:80px; background:var(--cream);
  z-index:999; padding:30px 28px; overflow-y:auto;
  transform:translateY(-12px); opacity:0; pointer-events:none; transition: transform .3s ease, opacity .3s ease;
}
.mobile-panel.open{ transform:translateY(0); opacity:1; pointer-events:auto; }
.mobile-panel a{ display:block; padding:16px 4px; font-size:1.15rem; font-weight:600; border-bottom:1px solid var(--line); color:var(--navy); }
.mobile-panel a.active{ color:var(--sky-deep); }
.mobile-panel .btn{ margin-top:24px; width:100%; }

@media (max-width:960px){
  .nav-links{ display:none; }
  .nav-cta .btn-primary{ display:none; }
  .hamburger{ display:flex; }
  .mobile-panel{ display:block; }
}

/* ============ PAGE HERO BANNER (inner pages) ============ */
.page-hero{
  position:relative; overflow:hidden;
  background: radial-gradient(ellipse 90% 70% at 80% -10%, rgba(116,211,245,0.22), transparent 60%),
              radial-gradient(ellipse 70% 60% at 5% 110%, rgba(58,58,58,0.28), transparent 60%),
              linear-gradient(180deg, var(--navy-deep), var(--navy) 75%);
  padding: 76px 0 90px;
  color:#fff;
}
.page-hero::after{
  content:""; position:absolute; inset:0; opacity:0.06; pointer-events:none;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 26px 26px;
}
.breadcrumb{
  position:relative; z-index:2; display:flex; align-items:center; gap:8px;
  font-size:0.85rem; color:rgba(255,255,255,0.6); margin-bottom:22px; font-weight:600;
}
.breadcrumb a:hover{ color:#fff; }
.breadcrumb i{ font-size:0.65rem; }
.breadcrumb span{ color:var(--sky-tint); }
.page-hero h1{ position:relative; z-index:2; color:#fff; font-size:clamp(2.2rem, 4vw, 3.2rem); max-width:720px; line-height:1.14; }
.page-hero .lede{ position:relative; z-index:2; margin-top:20px; font-size:1.1rem; color:rgba(255,255,255,0.8); max-width:600px; line-height:1.7; }
.page-hero .hero-badge{ position:relative; z-index:2; }

.hero-badge{
  display:inline-flex; align-items:center; gap:10px; padding:9px 18px 9px 10px;
  background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.22);
  border-radius:100px; font-size:0.8rem; font-weight:700; letter-spacing:0.02em;
  margin-bottom:22px; backdrop-filter:blur(6px);
}
.hero-badge .dot-blend{
  width:22px; height:22px; border-radius:50%; flex-shrink:0;
  background: conic-gradient(var(--sky-tint) 0 50%, var(--charcoal) 50% 100%);
}

/* ============ HOME HERO ============ */
.hero{
  position:relative; overflow:hidden;
  background: radial-gradient(ellipse 90% 70% at 80% -10%, rgba(116,211,245,0.28), transparent 60%),
              radial-gradient(ellipse 70% 60% at 5% 110%, rgba(58,58,58,0.30), transparent 60%),
              linear-gradient(180deg, var(--navy-deep), var(--navy) 70%);
  padding: 92px 0 120px;
  color:#fff;
}
.hero::after{
  content:""; position:absolute; inset:0; opacity:0.06; pointer-events:none;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 26px 26px;
}
.hero-grid{
  display:grid; grid-template-columns: 1.05fr 0.95fr; gap:60px; align-items:center;
  position:relative; z-index:2;
}
.hero h1{
  font-size:clamp(2.4rem, 4.6vw, 3.9rem); color:#fff; line-height:1.08; letter-spacing:-0.01em;
  max-width:640px;
}
.hero h1 em{ font-style:italic; color:var(--sky-tint); font-weight:600; }
.hero .lede{
  margin-top:24px; font-size:1.14rem; color:rgba(255,255,255,0.82); max-width:540px; line-height:1.7;
}
.creed-line{
  font-family:var(--display); font-style:italic; color:var(--sky-tint); font-size:1.05rem;
  margin-top:14px; letter-spacing:0.02em;
}
.hero-ctas{ display:flex; gap:16px; flex-wrap:wrap; margin-top:38px; }
.hero-stats{ display:flex; gap:34px; margin-top:52px; flex-wrap:wrap; }
.hero-stats div{ display:flex; flex-direction:column; }
.hero-stats strong{ font-family:var(--display); font-size:1.9rem; color:var(--sky-tint); }
.hero-stats span{ font-size:0.8rem; color:rgba(255,255,255,0.65); margin-top:2px; }

.hero-visual{ position:relative; height:520px; }
.tray-card{
  position:absolute; border-radius:var(--radius-tray);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  padding:18px; border:1px solid rgba(255,255,255,0.5);
}
.tray-1{ width:78%; height:66%; top:0; right:0; overflow:hidden; }
.tray-1 img{ width:100%; height:100%; object-fit:cover; border-radius:14px; }
.tray-2{
  width:58%; bottom:0; left:0; background:var(--sky); color:#fff;
  padding:24px; display:flex; flex-direction:column; gap:10px;
}
.tray-2 .stripe{ width:36px; height:4px; background:var(--sky-tint); border-radius:4px; }
.tray-2 p{ font-family:var(--display); font-size:1.25rem; line-height:1.35; }
.tray-2 span{ font-size:0.78rem; opacity:0.85; }
.tray-3{
  width:44%; height:40%; bottom:6%; right:2%; background:var(--charcoal); padding:0; overflow:hidden;
}
.tray-3 img{ width:100%; height:100%; object-fit:cover; }

@media (max-width:1020px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-visual{ height:400px; max-width:480px; margin:0 auto; width:100%; }
}
@media (max-width:560px){
  .hero{ padding:76px 0 80px; }
  .hero-stats{ gap:24px; }
}

/* ============ MARQUEE STRIP ============ */
.strip{
  background:var(--cream-warm); border-bottom:1px solid var(--line); border-top:1px solid var(--line);
  padding:22px 0; overflow:hidden;
}
.strip-track{ display:flex; gap:56px; width:max-content; animation: scroll-strip 32s linear infinite; }
.strip-track span{
  display:flex; align-items:center; gap:10px; font-family:var(--display); font-weight:600; font-size:1rem;
  color:var(--navy); white-space:nowrap;
}
.strip-track span i{ color:var(--sky); font-size:0.75rem; }
@keyframes scroll-strip{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* ============ ABOUT / GENERIC MEDIA-COPY GRID ============ */
.about-grid{ display:grid; grid-template-columns: 0.9fr 1.1fr; gap:70px; align-items:center; }
.about-grid.reverse{ grid-template-columns: 1.1fr 0.9fr; }
.about-grid.reverse .about-media{ order:2; }
.about-media{ position:relative; }
.about-media .frame{ border-radius:var(--radius-tray); overflow:hidden; box-shadow:var(--shadow-soft); border:8px solid var(--paper); }
.about-media .frame img{ width:100%; height:480px; object-fit:cover; }
.about-badge{
  position:absolute; bottom:-26px; left:-26px; background:var(--navy); color:#fff;
  padding:20px 22px; border-radius:var(--radius-sm); box-shadow:var(--shadow-soft);
  display:flex; align-items:center; gap:14px; max-width:230px;
}
.about-badge i{ font-size:1.6rem; color:var(--sky-tint); }
.about-badge strong{ display:block; font-family:var(--display); font-size:1.05rem; }
.about-badge span{ font-size:0.78rem; color:rgba(255,255,255,0.7); }

.about-copy p{ color:var(--ink-soft); font-size:1.06rem; margin-bottom:18px; }
.about-points{ display:grid; gap:18px; margin-top:30px; }
.about-point{ display:flex; gap:16px; align-items:flex-start; }
.about-point .ico{
  width:44px; height:44px; border-radius:12px; background:var(--cream-warm);
  display:flex; align-items:center; justify-content:center; flex-shrink:0; color:var(--charcoal-deep); font-size:1.05rem;
  border:1px solid var(--line);
}
.about-point h4{ font-size:1.02rem; margin-bottom:4px; }
.about-point p{ font-size:0.94rem; color:var(--ink-soft); margin:0; }

@media (max-width:900px){
  .about-grid, .about-grid.reverse{ grid-template-columns:1fr; }
  .about-grid.reverse .about-media{ order:0; }
  .about-media .frame img{ height:360px; }
  .about-badge{ position:static; margin-top:-40px; margin-left:16px; max-width:none; width:calc(100% - 32px); }
}

/* ============ VALUE / FEATURE CARDS (light) ============ */
.value-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:26px; }
.value-card{
  background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-tray);
  padding:32px; box-shadow:var(--shadow-tiny); transition:transform .25s ease, box-shadow .25s ease;
}
.value-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-soft); }
.value-card .ico{
  width:52px; height:52px; border-radius:14px; background:var(--cream-warm); color:var(--sky-deep);
  display:flex; align-items:center; justify-content:center; font-size:1.3rem; margin-bottom:18px;
  border:1px solid var(--line);
}
.value-card h3{ font-size:1.2rem; margin-bottom:10px; }
.value-card p{ color:var(--ink-soft); font-size:0.95rem; }
@media (max-width:900px){ .value-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .value-grid{ grid-template-columns:1fr; } }

/* ============ STAFF CARDS ============ */
.staff-grid{ display:grid; grid-template-columns:repeat(4, 1fr); gap:26px; }
.staff-card{ text-align:center; }
.staff-photo{
  border-radius:var(--radius-tray); overflow:hidden; aspect-ratio:1/1; box-shadow:var(--shadow-tiny);
  margin-bottom:16px; border:1px solid var(--line);
}
.staff-photo img{ width:100%; height:100%; object-fit:cover; }
.staff-card h4{ font-size:1.05rem; margin-bottom:2px; }
.staff-card .role{ font-size:0.82rem; color:var(--sky-deep); font-weight:700; margin-bottom:8px; display:block; }
.staff-card p{ font-size:0.88rem; color:var(--ink-soft); }
@media (max-width:960px){ .staff-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .staff-grid{ grid-template-columns:1fr; max-width:320px; margin:0 auto; } }

/* ============ TRUST / ACCREDITATION STRIP ============ */
.trust-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.trust-item{
  display:flex; align-items:center; gap:14px; background:var(--paper); border:1px solid var(--line);
  border-radius:16px; padding:20px; box-shadow:var(--shadow-tiny);
}
.trust-item .ico{ width:42px; height:42px; border-radius:10px; background:var(--navy); color:var(--sky-tint); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.trust-item strong{ display:block; font-size:0.9rem; color:var(--navy); }
.trust-item span{ font-size:0.78rem; color:var(--ink-soft); }
@media (max-width:900px){ .trust-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .trust-grid{ grid-template-columns:1fr; } }

/* ============ VISION & MISSION (dark) ============ */
.vm-section{ background:var(--navy); color:#fff; position:relative; overflow:hidden; }
.vm-section::before{
  content:""; position:absolute; width:640px; height:640px; border-radius:50%;
  background:radial-gradient(circle, rgba(116,211,245,0.14), transparent 70%);
  top:-220px; right:-160px;
}
.vm-section .section-head h2{ color:#fff; }
.vm-section .section-head p{ color:rgba(255,255,255,0.68); }
.vm-section .eyebrow{ color:var(--sky-tint); }
.vm-cards{ display:grid; grid-template-columns:1fr 1fr; gap:28px; position:relative; z-index:2; }
.vm-card{
  background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.14);
  border-radius:var(--radius-tray); padding:38px; backdrop-filter:blur(6px);
}
.vm-card .num{ font-family:var(--display); font-size:0.85rem; color:var(--sky-tint); letter-spacing:0.1em; text-transform:uppercase; font-weight:700; }
.vm-card h3{ color:#fff; font-size:1.6rem; margin:14px 0 16px; }
.vm-card p{ color:rgba(255,255,255,0.75); font-size:1rem; line-height:1.75; }
.vm-card i{ font-size:1.7rem; color:var(--sky-tint); margin-bottom:6px; display:block; }

.pillar-box{
  margin-top:34px; position:relative; z-index:2;
  background:linear-gradient(120deg, rgba(116,211,245,0.14), rgba(58,58,58,0.18));
  border:1px solid rgba(255,255,255,0.16); border-radius:var(--radius-tray);
  padding:44px; display:grid; grid-template-columns: auto 1fr; gap:36px; align-items:center;
}
.blend-badge{ width:132px; height:132px; position:relative; flex-shrink:0; }
.blend-badge .circle{
  position:absolute; width:92px; height:92px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; text-align:center;
  font-family:var(--display); font-weight:700; font-size:0.72rem; line-height:1.15; padding:8px;
  color:#fff;
}
.blend-badge .c1{ background:var(--sky); top:0; left:0; opacity:0.92; }
.blend-badge .c2{ background:var(--charcoal); bottom:0; right:0; opacity:0.92; }
.pillar-copy h3{ color:#fff; font-size:1.5rem; margin-bottom:12px; }
.pillar-copy p{ color:rgba(255,255,255,0.78); font-size:1rem; }
.pillar-tags{ display:flex; gap:10px; flex-wrap:wrap; margin-top:18px; }
.pillar-tags span{
  font-size:0.78rem; font-weight:700; padding:7px 14px; border-radius:100px;
  background:rgba(255,255,255,0.1); border:1px solid rgba(255,255,255,0.2); color:#fff;
}
@media (max-width:900px){
  .vm-cards{ grid-template-columns:1fr; }
  .pillar-box{ grid-template-columns:1fr; text-align:left; padding:32px; }
  .blend-badge{ margin:0 auto; }
}

/* ============ CURRICULUM COMPARISON TABLE ============ */
.compare-wrap{ overflow-x:auto; border-radius:var(--radius-tray); box-shadow:var(--shadow-tiny); }
.compare-table{ width:100%; border-collapse:collapse; background:var(--paper); min-width:640px; }
.compare-table th, .compare-table td{ padding:18px 22px; text-align:left; border-bottom:1px solid var(--line); font-size:0.94rem; }
.compare-table thead th{ background:var(--navy); color:#fff; font-family:var(--display); font-size:1.02rem; font-weight:700; }
.compare-table thead th:first-child{ border-top-left-radius:var(--radius-tray); }
.compare-table thead th:last-child{ border-top-right-radius:var(--radius-tray); }
.compare-table tbody tr:last-child td{ border-bottom:none; }
.compare-table tbody tr:nth-child(even){ background:var(--cream-warm); }
.compare-table td:first-child{ font-weight:700; color:var(--navy); white-space:nowrap; }

/* ============ AGE-STAGE CARDS ============ */
.stage-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.stage-card{
  background:var(--paper); border-radius:var(--radius-tray); overflow:hidden; box-shadow:var(--shadow-tiny);
  border:1px solid var(--line);
}
.stage-card .stage-top{ padding:26px 28px 20px; background:var(--cream-warm); border-bottom:1px solid var(--line); }
.stage-card .stage-top span{ font-size:0.76rem; font-weight:700; text-transform:uppercase; letter-spacing:0.08em; color:var(--sky-deep); }
.stage-card .stage-top h3{ font-size:1.3rem; margin-top:6px; }
.stage-card .stage-body{ padding:22px 28px 28px; }
.stage-card .stage-body p{ color:var(--ink-soft); font-size:0.92rem; margin-bottom:14px; }
.stage-card .stage-body ul{ display:grid; gap:10px; }
.stage-card .stage-body li{ display:flex; gap:10px; align-items:flex-start; font-size:0.9rem; color:var(--ink); }
.stage-card .stage-body li i{ color:var(--sky-deep); margin-top:3px; font-size:0.8rem; }
@media (max-width:960px){ .stage-grid{ grid-template-columns:1fr; max-width:480px; margin:0 auto; } }

/* ============ EXTRA-CURRICULAR ACTIVITIES ============ */
.activities-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:26px; }
.activity-card{
  position:relative; border-radius:var(--radius-tray); overflow:hidden;
  height:300px; box-shadow:var(--shadow-tiny); isolation:isolate;
}
.activity-card img{ width:100%; height:100%; object-fit:cover; transition:transform .6s ease; }
.activity-card::after{
  content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg, transparent 35%, rgba(6,35,56,0.88));
}
.activity-card:hover img{ transform:scale(1.08); }
.activity-info{ position:absolute; z-index:2; left:0; right:0; bottom:0; padding:24px; color:#fff; }
.activity-info .ico{
  width:42px; height:42px; border-radius:10px; background:rgba(255,255,255,0.14);
  border:1px solid rgba(255,255,255,0.3); display:flex; align-items:center; justify-content:center;
  margin-bottom:12px; font-size:1rem; backdrop-filter:blur(4px);
}
.activity-info h3{ color:#fff; font-size:1.2rem; margin-bottom:6px; }
.activity-info p{ font-size:0.86rem; color:rgba(255,255,255,0.78); }
@media (max-width:960px){ .activities-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .activities-grid{ grid-template-columns:1fr; } }

/* ============ WEEKLY SCHEDULE TABLE ============ */
.schedule-wrap{ overflow-x:auto; border-radius:var(--radius-tray); box-shadow:var(--shadow-tiny); }
.schedule-table{ width:100%; border-collapse:collapse; background:var(--paper); min-width:720px; }
.schedule-table th, .schedule-table td{ padding:16px 18px; text-align:center; border-bottom:1px solid var(--line); font-size:0.85rem; }
.schedule-table thead th{ background:var(--navy); color:#fff; font-weight:700; }
.schedule-table tbody th{ text-align:left; background:var(--cream-warm); color:var(--navy); font-weight:700; }
.schedule-table tbody tr:last-child td, .schedule-table tbody tr:last-child th{ border-bottom:none; }
.schedule-table td span{ display:inline-block; padding:5px 10px; border-radius:100px; background:var(--cream-warm); font-weight:700; color:var(--sky-deep); font-size:0.78rem; }

/* ============ GALLERY ============ */
.gallery-filters{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:38px; }
.filter-btn{
  padding:10px 20px; border-radius:100px; border:1.5px solid var(--line); background:var(--paper);
  font-weight:700; font-size:0.85rem; color:var(--navy); transition:all .25s ease;
}
.filter-btn:hover{ border-color:var(--sky); }
.filter-btn.active{ background:var(--navy); color:#fff; border-color:var(--navy); }

.gallery-grid{ display:grid; grid-template-columns:repeat(4, 1fr); grid-auto-rows:160px; gap:16px; }
.gallery-item{ position:relative; border-radius:16px; overflow:hidden; cursor:pointer; transition:opacity .35s ease, transform .35s ease; }
.gallery-item.hidden{ display:none; }
.gallery-item img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.gallery-item:hover img{ transform:scale(1.1); }
.gallery-item .tag{
  position:absolute; top:10px; left:10px; background:rgba(6,35,56,0.72); color:#fff;
  font-size:0.68rem; font-weight:700; letter-spacing:0.04em; text-transform:uppercase;
  padding:5px 10px; border-radius:100px; backdrop-filter:blur(4px);
}
.g-tall{ grid-row: span 2; }
.g-wide{ grid-column: span 2; }
@media (max-width:900px){
  .gallery-grid{ grid-template-columns:repeat(2,1fr); grid-auto-rows:150px; }
  .g-wide{ grid-column:span 2; }
}
@media (max-width:560px){ .gallery-grid{ grid-template-columns:repeat(2,1fr); grid-auto-rows:120px; } }

/* ============ TESTIMONIALS ============ */
.testi-section{ background:var(--cream-warm); }
.testi-track-wrap{ position:relative; overflow:hidden; }
.testi-track{ display:flex; gap:24px; transition:transform .5s ease; }
.testi-card{
  flex:0 0 calc(33.333% - 16px); background:var(--paper); border-radius:var(--radius-tray);
  padding:32px; border:1px solid var(--line); box-shadow:var(--shadow-tiny);
  display:flex; flex-direction:column; gap:18px;
}
.testi-stars{ color:var(--sky); font-size:0.85rem; letter-spacing:3px; }
.testi-card p.quote{ font-family:var(--display); font-style:italic; font-size:1.08rem; color:var(--navy); line-height:1.6; }
.testi-person{ display:flex; align-items:center; gap:12px; margin-top:auto; }
.testi-avatar{
  width:46px; height:46px; border-radius:50%; background:var(--charcoal);
  display:flex; align-items:center; justify-content:center; color:#fff; font-family:var(--display); font-weight:700;
  flex-shrink:0;
}
.testi-person strong{ display:block; font-size:0.92rem; color:var(--navy); }
.testi-person span{ font-size:0.78rem; color:var(--ink-soft); }
.testi-controls{ display:flex; justify-content:center; gap:14px; margin-top:38px; }
.testi-controls button{
  width:44px; height:44px; border-radius:50%; border:1.5px solid var(--line); background:var(--paper);
  color:var(--navy); display:flex; align-items:center; justify-content:center; transition:all .25s ease;
}
.testi-controls button:hover{ background:var(--navy); color:#fff; border-color:var(--navy); }
@media (max-width:900px){ .testi-card{ flex:0 0 calc(50% - 12px); } }
@media (max-width:600px){ .testi-card{ flex:0 0 100%; } }

/* ============ ADMISSIONS: PROCESS STEPS ============ */
.process-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:20px; counter-reset:step; }
.process-card{ position:relative; padding:28px 22px; background:var(--paper); border:1px solid var(--line); border-radius:18px; box-shadow:var(--shadow-tiny); }
.process-card .step-num{
  width:38px; height:38px; border-radius:50%; background:var(--navy); color:var(--sky-tint);
  display:flex; align-items:center; justify-content:center; font-family:var(--display); font-weight:700; margin-bottom:16px;
}
.process-card h4{ font-size:1rem; margin-bottom:8px; }
.process-card p{ font-size:0.85rem; color:var(--ink-soft); }
@media (max-width:960px){ .process-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .process-grid{ grid-template-columns:1fr; } }

/* ============ ADMISSIONS: REQUIREMENTS TABLE reuses stage-grid ============ */

/* ============ FAQ ACCORDION ============ */
.faq-list{ display:grid; gap:14px; max-width:820px; margin:0 auto; }
.faq-item{ background:var(--paper); border:1px solid var(--line); border-radius:16px; overflow:hidden; }
.faq-q{
  width:100%; text-align:left; padding:20px 24px; background:none; border:none;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  font-weight:700; font-size:1rem; color:var(--navy); font-family:var(--body);
}
.faq-q i{ transition:transform .3s ease; color:var(--sky-deep); flex-shrink:0; }
.faq-item.open .faq-q i{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .35s ease; }
.faq-a-inner{ padding:0 24px 22px; color:var(--ink-soft); font-size:0.94rem; line-height:1.7; }

/* ============ FORM (Admissions / Tour request) ============ */
.form-card{
  background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-tray);
  padding:44px; box-shadow:var(--shadow-soft);
}
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.form-field{ display:flex; flex-direction:column; gap:8px; }
.form-field.full{ grid-column:1/-1; }
.form-field label{ font-size:0.85rem; font-weight:700; color:var(--navy); }
.form-field input, .form-field select, .form-field textarea{
  padding:13px 16px; border-radius:10px; border:1.5px solid var(--line); background:var(--cream);
  font-family:var(--body); font-size:0.95rem; color:var(--ink); transition:border-color .2s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{ border-color:var(--sky); outline:none; }
.form-field textarea{ resize:vertical; min-height:120px; }
.form-note{ font-size:0.82rem; color:var(--ink-soft); margin-top:18px; }
.form-success{
  display:none; align-items:center; gap:14px; background:var(--cream-warm); border:1px solid var(--line);
  border-radius:14px; padding:18px 22px; margin-top:22px; color:var(--navy); font-weight:600; font-size:0.92rem;
}
.form-success.show{ display:flex; }
.form-success i{ color:var(--sky-deep); font-size:1.3rem; }
@media (max-width:700px){ .form-grid{ grid-template-columns:1fr; } .form-card{ padding:28px; } }

/* ============ CTA BAND ============ */
.cta-band{
  background: linear-gradient(120deg, var(--navy), var(--navy-deep));
  color:#fff; border-radius:var(--radius-tray); padding:56px 48px;
  display:flex; justify-content:space-between; align-items:center; gap:30px; flex-wrap:wrap;
  position:relative; overflow:hidden;
}
.cta-band::after{
  content:""; position:absolute; width:340px; height:340px; border-radius:50%;
  background:rgba(255,255,255,0.08); top:-160px; right:-80px;
}
.cta-band h3{ color:#fff; font-size:1.7rem; max-width:440px; position:relative; z-index:2; }
.cta-band p{ color:rgba(255,255,255,0.85); margin-top:10px; position:relative; z-index:2; }
.cta-band .btn{ position:relative; z-index:2; }
.cta-band .cta-actions{ display:flex; gap:14px; flex-wrap:wrap; position:relative; z-index:2; }

/* ============ FOOTER ============ */
footer{ background:var(--navy-deep); color:rgba(255,255,255,0.75); padding-top:90px; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap:50px; padding-bottom:60px; border-bottom:1px solid rgba(255,255,255,0.1); }
.footer-brand .brand-text .name{ color:#fff; }
.footer-brand p.desc{ margin-top:18px; font-size:0.92rem; line-height:1.7; color:rgba(255,255,255,0.6); max-width:300px; }
.footer-creed{ font-style:italic; color:var(--sky-tint); margin-top:14px; font-family:var(--display); font-size:0.95rem; }
.footer-social{ display:flex; gap:12px; margin-top:22px; }
.footer-social a{ width:38px; height:38px; border-radius:50%; border:1px solid rgba(255,255,255,0.2); display:flex; align-items:center; justify-content:center; transition:all .25s ease; }
.footer-social a:hover{ background:var(--sky); border-color:var(--sky); }
.footer-col h4{ color:#fff; font-size:0.95rem; margin-bottom:20px; font-family:var(--body); font-weight:700; letter-spacing:0.02em; }
.footer-col ul li{ margin-bottom:13px; }
.footer-col a{ font-size:0.9rem; color:rgba(255,255,255,0.65); transition:color .2s ease; }
.footer-col a:hover{ color:var(--sky-tint); }
.footer-contact li{ display:flex; gap:12px; align-items:flex-start; font-size:0.9rem; color:rgba(255,255,255,0.65); }
.footer-contact i{ color:var(--sky-tint); margin-top:3px; width:16px; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding:26px 0; flex-wrap:wrap; gap:12px; font-size:0.82rem; color:rgba(255,255,255,0.45); }
.footer-bottom a{ color:rgba(255,255,255,0.45); }
.footer-bottom a:hover{ color:#fff; }
@media (max-width:900px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }

/* reveal-on-scroll */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }
