/* ============================================================
   Saraswati Modern School - Global Stylesheet
   Brand palette sourced from the school crest:
     navy #0A2249 | orange #F7931D | steel blue #003962
   ============================================================ */

:root{
  --navy:#0A2249;
  --navy-700:#0E2D5E;
  --navy-600:#14396F;
  --steel:#003962;
  --orange:#F7931D;
  --orange-600:#E07E0B;
  --orange-100:#FEF1DF;
  --ink:#1E2A3A;
  --body:#4A5A6E;
  --muted:#6B7A8F;
  --line:#E2E8F0;
  --bg:#FFFFFF;
  --bg-alt:#F5F7FA;
  --bg-tint:#EEF3F9;
  --white:#fff;
  --radius:14px;
  --radius-lg:22px;
  --shadow-sm:0 2px 10px rgba(10,34,73,.06);
  --shadow:0 10px 30px rgba(10,34,73,.10);
  --shadow-lg:0 22px 55px rgba(10,34,73,.16);
  --head:'Playfair Display', Georgia, serif;
  --sans:'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --container:1200px;
  --header-h:86px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth; scroll-padding-top:120px; -webkit-text-size-adjust:100%}
body{
  margin:0; font-family:var(--sans); font-size:16px; line-height:1.72;
  color:var(--body); background:var(--bg); overflow-x:hidden;
}
img{max-width:100%; display:block; height:auto}
a{color:var(--steel); text-decoration:none; transition:color .2s ease}
a:hover{color:var(--orange)}
h1,h2,h3,h4,h5{font-family:var(--head); color:var(--navy); margin:0 0 .6em; line-height:1.22; font-weight:700}
h1{font-size:clamp(2rem,4.6vw,3.35rem)}
h2{font-size:clamp(1.6rem,3.2vw,2.5rem)}
h3{font-size:clamp(1.15rem,1.8vw,1.5rem)}
h4{font-size:1.1rem}
p{margin:0 0 1.05em}
ul{margin:0 0 1em; padding-left:1.15rem}
li{margin-bottom:.4em}
:focus-visible{outline:3px solid var(--orange); outline-offset:3px; border-radius:4px}

.container{width:100%; max-width:var(--container); margin-inline:auto; padding-inline:16px}
.section{padding:clamp(56px,7vw,96px) 0}
.section--alt{background:var(--bg-alt)}
.section--tint{background:var(--bg-tint)}
.section--navy{background:var(--navy); color:#C9D6E8}
.section--navy h2,.section--navy h3,.section--navy h4{color:#fff}
.text-center{text-align:center}
.mt-0{margin-top:0}
.mb-0{margin-bottom:0}
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}

/* ---------- Skip link ---------- */
.skip-link{
  position:absolute; left:-9999px; top:0; z-index:200;
  background:var(--orange); color:#fff; padding:12px 20px; font-weight:600; border-radius:0 0 8px 0;
}
.skip-link:focus{left:0; color:#fff}

/* ---------- Section heading ---------- */
.sec-head{max-width:760px; margin:0 auto clamp(34px,4vw,52px); text-align:center}
.sec-head.left{margin-inline:0; text-align:left}
.sec-head__eyebrow{
  display:inline-block; font-family:var(--sans); font-size:.76rem; font-weight:600;
  letter-spacing:.2em; text-transform:uppercase; color:var(--orange); margin-bottom:.7rem;
}
.sec-head h2{margin-bottom:.45em}
.sec-head p{color:var(--muted); margin-bottom:0}
.sec-head__rule{
  width:92px; height:3px; margin:18px auto 0; border-radius:3px;
  background:linear-gradient(90deg,var(--orange),var(--navy));
}
.sec-head.left .sec-head__rule{margin-inline:0}
.section--navy .sec-head p{color:#AFC0D8}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.55em;
  font-family:var(--sans); font-size:.93rem; font-weight:600; letter-spacing:.02em;
  padding:13px 28px; border-radius:50px; border:2px solid transparent; cursor:pointer;
  transition:transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
  text-align:center;
}
.btn:hover{transform:translateY(-2px)}
.btn svg{width:17px; height:17px; fill:currentColor; flex:none}
.btn--primary{background:var(--orange); color:#fff; box-shadow:0 8px 22px rgba(247,147,29,.32)}
.btn--primary:hover{background:var(--orange-600); color:#fff; box-shadow:0 12px 28px rgba(247,147,29,.42)}
.btn--navy{background:var(--navy); color:#fff}
.btn--navy:hover{background:var(--navy-700); color:#fff}
.btn--ghost{background:transparent; color:#fff; border-color:rgba(255,255,255,.65)}
.btn--ghost:hover{background:#fff; color:var(--navy); border-color:#fff}
.btn--outline{background:transparent; color:var(--navy); border-color:var(--navy)}
.btn--outline:hover{background:var(--navy); color:#fff}
.btn--sm{padding:9px 20px; font-size:.84rem}
.btn--block{width:100%}

/* ============================================================
   HEADER
   ============================================================ */
.topbar{background:var(--navy); color:#B9C8DE; font-size:.82rem}
.topbar__inner{display:flex; align-items:center; justify-content:space-between; gap:18px; min-height:42px; flex-wrap:wrap}
.topbar a{color:#B9C8DE}
.topbar a:hover{color:var(--orange)}
.topbar__list{display:flex; align-items:center; gap:22px; list-style:none; margin:0; padding:0; flex-wrap:wrap}
.topbar__list li{margin:0; display:flex; align-items:center; gap:.45em}
.topbar__ico{width:15px; height:15px; flex:none; fill:var(--orange)}
.socials{display:flex; align-items:center; gap:8px}
.socials a{
  width:27px; height:27px; display:grid; place-items:center; border-radius:50%;
  background:rgba(255,255,255,.1); transition:background .2s ease, transform .2s ease;
}
.socials a:hover{background:var(--orange); transform:translateY(-2px)}
.socials svg{width:14px; height:14px; fill:#fff}

/* The whole header is sticky, offset upwards by the height of the top row, so
   the brand row scrolls away and the navy nav bar pins itself to the top. */
.site-header{position:sticky; top:calc(-1px - var(--header-h)); z-index:90; background:#fff}
.header__top{background:#fff; border-bottom:1px solid var(--line); height:var(--header-h)}
.header__inner{display:flex; align-items:center; gap:24px; height:100%}

.brand{display:flex; align-items:center; gap:14px; flex:none; margin-right:auto}
.brand img{width:62px; height:auto; flex:none}
.brand__text{display:flex; flex-direction:column; line-height:1.14}
.brand__name{font-family:var(--head); font-size:1.42rem; font-weight:800; color:var(--navy); letter-spacing:.01em}
.brand__tag{font-size:.68rem; font-weight:600; letter-spacing:.15em; text-transform:uppercase; color:var(--orange)}

.header__facts{display:flex; align-items:center; gap:30px; list-style:none; margin:0; padding:0}
.header__facts li{display:flex; align-items:center; gap:11px; margin:0}
.header__facts svg{width:34px; height:34px; padding:7px; border-radius:50%; background:var(--orange-100); fill:var(--orange); flex:none}
.header__facts span{display:flex; flex-direction:column; font-size:.86rem; color:var(--navy); line-height:1.4}
.header__facts b{font-size:.68rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--muted)}

/* ---- nav bar ---- */
.header__bar{background:var(--navy); transition:box-shadow .25s ease}
.header__bar.is-stuck{box-shadow:0 6px 22px rgba(10,34,73,.28)}
.nav__list{display:flex; align-items:center; gap:2px; list-style:none; margin:0; padding:0}
.nav__list>li{position:relative; margin:0}
.nav__list>li>a{
  display:flex; align-items:center; gap:.32em; padding:16px 16px; border-radius:0;
  font-size:.875rem; font-weight:600; color:#fff; white-space:nowrap;
}
.nav__list>li>a:hover,.nav__list>li.is-open>a{color:#fff; background:var(--orange)}
.nav__list>li.current>a{color:var(--orange)}
.nav__list>li.current>a:hover{color:#fff}
.nav__list>li.current>a::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:3px;
  background:var(--orange);
}
.nav__caret{width:9px; height:9px; fill:currentColor; transition:transform .2s ease; opacity:.75}
.nav__list>li.is-open .nav__caret{transform:rotate(180deg)}

.dropdown{
  position:absolute; top:100%; left:0; min-width:250px; background:#fff;
  border-radius:12px; box-shadow:var(--shadow); padding:9px; list-style:none; margin:0;
  opacity:0; visibility:hidden; transform:translateY(8px); transition:all .22s ease;
  border-top:3px solid var(--orange);
}
.nav__list>li:hover>.dropdown,.nav__list>li.is-open>.dropdown{opacity:1; visibility:visible; transform:translateY(0)}
.dropdown li{margin:0}
.dropdown a{
  display:block; padding:9px 14px; border-radius:8px; font-size:.845rem;
  font-weight:500; color:var(--navy);
}
.dropdown a:hover{background:var(--orange-100); color:var(--orange); padding-left:19px}

.header__cta{flex:none}
.nav__mobile-cta{display:none}
.nav-toggle{
  display:none; width:44px; height:44px; border:0; background:var(--navy); border-radius:10px;
  cursor:pointer; padding:0; place-items:center; margin-left:auto;
}
.nav-toggle span{display:block; width:21px; height:2px; background:#fff; margin:4px auto; border-radius:2px; transition:.25s}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
.nav-backdrop{
  position:fixed; inset:0; background:rgba(10,34,73,.45); z-index:85;
  opacity:0; visibility:hidden; transition:.3s;
}
.nav-backdrop.is-open{opacity:1; visibility:visible}

/* ============================================================
   HERO
   ============================================================ */
.hero{position:relative; min-height:clamp(480px,76vh,700px); display:grid; isolation:isolate; overflow:hidden}
.hero__slides{position:absolute; inset:0; z-index:-2}
.hero__slide{
  position:absolute; inset:0; background-size:cover; background-position:center;
  opacity:0; transform:scale(1.07); transition:opacity 1.2s ease, transform 7s linear;
}
.hero__slide.is-active{opacity:1; transform:scale(1)}
.hero::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(100deg, rgba(10,34,73,.95) 0%, rgba(10,34,73,.84) 44%, rgba(10,34,73,.52) 100%);
}
.hero__inner{display:flex; align-items:center; padding:clamp(60px,8vw,96px) 0}
.hero__box{max-width:660px; color:#fff}
.hero__badge{
  display:inline-flex; align-items:center; gap:.5em; background:rgba(247,147,29,.16);
  border:1px solid rgba(247,147,29,.5); color:#FFD9A6; padding:7px 18px; border-radius:50px;
  font-size:.76rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase; margin-bottom:22px;
}
.hero__badge .dot{width:7px; height:7px; border-radius:50%; background:var(--orange); animation:pulse 1.8s infinite}
@keyframes pulse{0%,100%{opacity:1; transform:scale(1)}50%{opacity:.4; transform:scale(1.5)}}
.hero h1{color:#fff; margin-bottom:.3em}
.hero h1 em{font-style:normal; color:var(--orange)}
.hero__tag{
  font-family:var(--head); font-style:italic; font-size:clamp(1.05rem,2vw,1.4rem);
  color:#FFD9A6; margin-bottom:.9em;
}
.hero__lede{font-size:1.03rem; color:#D5E0F0; max-width:560px}
.hero__actions{display:flex; flex-wrap:wrap; gap:14px; margin-top:30px}
.hero__dots{position:absolute; bottom:26px; left:50%; transform:translateX(-50%); display:flex; gap:9px; z-index:2}
.hero__dots button{
  width:10px; height:10px; border-radius:50%; border:0; cursor:pointer; padding:0;
  background:rgba(255,255,255,.45); transition:.25s;
}
.hero__dots button.is-active{background:var(--orange); width:30px; border-radius:6px}

/* ---------- Page banner (inner pages) ---------- */
.page-hero{position:relative; padding:clamp(58px,7vw,92px) 0; background:var(--navy); isolation:isolate; overflow:hidden}
.page-hero::before{
  content:""; position:absolute; inset:0; z-index:-1; opacity:.2;
  background-image:var(--banner-img); background-size:cover; background-position:center;
}
.page-hero::after{
  content:""; position:absolute; right:-80px; top:-80px; width:320px; height:320px; z-index:-1;
  border:38px solid rgba(247,147,29,.13); border-radius:50%;
}
.page-hero h1{color:#fff; margin-bottom:.25em}
.page-hero p{color:#AFC0D8; max-width:640px; margin:0}
.crumb{display:flex; flex-wrap:wrap; gap:.5em; align-items:center; font-size:.83rem; color:#8FA3C0; margin-top:14px}
.crumb a{color:#AFC0D8}
.crumb a:hover{color:var(--orange)}
.crumb span[aria-current]{color:var(--orange)}

/* ============================================================
   PILLAR STRIP
   ============================================================ */
.pillars{background:transparent; position:relative; z-index:3; margin-top:-56px}
.pillars__grid{
  display:grid; grid-template-columns:repeat(4,1fr); background:#fff;
  border-radius:var(--radius-lg); box-shadow:var(--shadow-lg); overflow:hidden;
}
.pillar{display:flex; gap:15px; padding:28px 24px; border-right:1px solid var(--line); transition:background .25s ease}
.pillar:last-child{border-right:0}
.pillar:hover{background:var(--orange-100)}
.pillar__ico{
  width:50px; height:50px; flex:none; border-radius:13px; display:grid; place-items:center;
  background:linear-gradient(140deg,var(--navy),var(--steel)); transition:background .25s ease;
}
.pillar:hover .pillar__ico{background:linear-gradient(140deg,var(--orange),var(--orange-600))}
.pillar__ico svg{width:25px; height:25px; fill:#fff}
.pillar h3{font-family:var(--sans); font-size:.78rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--orange); margin-bottom:.3em}
.pillar p{font-size:.92rem; color:var(--navy); font-weight:600; margin:0; line-height:1.45}

/* ============================================================
   CARD GRIDS
   ============================================================ */
.grid{display:grid; gap:26px}
.grid--2{grid-template-columns:repeat(2,1fr)}
.grid--3{grid-template-columns:repeat(3,1fr)}
.grid--4{grid-template-columns:repeat(4,1fr)}

.card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:30px 26px; transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  height:100%;
}
.card:hover{transform:translateY(-6px); box-shadow:var(--shadow); border-color:transparent}
.card__ico{
  width:58px; height:58px; border-radius:15px; display:grid; place-items:center; margin-bottom:18px;
  background:var(--orange-100); transition:background .28s ease;
}
.card__ico svg{width:28px; height:28px; fill:var(--orange); transition:fill .28s ease}
.card:hover .card__ico{background:var(--orange)}
.card:hover .card__ico svg{fill:#fff}
.card h3{margin-bottom:.4em}
.card p{font-size:.94rem; margin-bottom:0}
.card--navy{background:var(--navy); border-color:transparent; color:#B9C8DE}
.card--navy h3{color:#fff}
.card--navy .card__ico{background:rgba(247,147,29,.18)}
.card--num{position:relative; padding-top:34px}
.card__num{
  font-family:var(--head); font-size:2.6rem; font-weight:700; color:var(--orange-100);
  line-height:1; position:absolute; top:18px; right:22px;
}

/* ---------- Feature list (checkmarks) ---------- */
.ticks{list-style:none; padding:0; margin:0; display:grid; gap:15px}
.ticks--2{grid-template-columns:repeat(2,1fr); gap:15px 32px}
.ticks li{
  display:block; position:relative; padding-left:34px; margin:0;
  font-size:.95rem; line-height:1.6;
}
.ticks li::before{
  content:""; position:absolute; left:0; top:3px; width:22px; height:22px; border-radius:50%;
  background:var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/13px no-repeat;
}
.ticks strong{color:var(--navy); font-weight:600}
.section--navy .ticks strong{color:#fff}

/* ---------- Split (image + text) ---------- */
.split{display:grid; grid-template-columns:1fr 1fr; gap:clamp(30px,5vw,64px); align-items:center}
.split--narrow{grid-template-columns:.9fr 1.1fr}
.split__media{position:relative}
.split__media img{border-radius:var(--radius-lg); box-shadow:var(--shadow); width:100%; object-fit:cover}
.split__badge{
  position:absolute; left:-18px; bottom:28px; background:var(--orange); color:#fff;
  border-radius:var(--radius); padding:16px 22px; box-shadow:var(--shadow);
  font-family:var(--head); line-height:1.15;
}
.split__badge b{display:block; font-size:1.65rem}
.split__badge span{font-size:.74rem; font-family:var(--sans); letter-spacing:.1em; text-transform:uppercase; opacity:.92}

/* ============================================================
   STATS
   ============================================================ */
.stats{display:grid; grid-template-columns:repeat(4,1fr); gap:20px; text-align:center}
.stat{padding:26px 16px; border-radius:var(--radius); background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12)}
.stat b{display:block; font-family:var(--head); font-size:clamp(1.9rem,3.4vw,2.7rem); color:var(--orange); line-height:1}
.stat span{display:block; margin-top:8px; font-size:.84rem; letter-spacing:.07em; text-transform:uppercase; color:#C9D6E8}

/* ============================================================
   PEOPLE / LEADERSHIP
   ============================================================ */
.person{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden;
  transition:transform .28s ease, box-shadow .28s ease; height:100%; display:flex; flex-direction:column;
}
.person:hover{transform:translateY(-6px); box-shadow:var(--shadow)}
.person__photo{position:relative; aspect-ratio:1/1; overflow:hidden; background:var(--bg-tint)}
.person__photo img{width:100%; height:100%; object-fit:cover; object-position:center top; transition:transform .5s ease}
.person:hover .person__photo img{transform:scale(1.06)}
.person__body{padding:22px; flex:1; display:flex; flex-direction:column}
.person__body h3{margin-bottom:.15em; font-size:1.15rem}
.person__role{font-size:.74rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--orange); margin-bottom:.8em}
.person__qual{font-size:.85rem; color:var(--muted); margin-bottom:.8em}
.person__quote{
  font-size:.9rem; font-style:italic; color:var(--body); border-left:3px solid var(--orange-100);
  padding-left:13px; margin:0 0 1em;
}
.person__values{margin-top:auto; font-size:.72rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--steel)}

/* ---------- Message block ---------- */
.message{
  display:grid; grid-template-columns:270px 1fr; gap:clamp(24px,4vw,46px); align-items:start;
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding:clamp(24px,3.4vw,40px);
}
.message + .message{margin-top:28px}
.message--flip{grid-template-columns:1fr 270px}
.message--flip .message__media{order:2}
.message__media img{border-radius:var(--radius); width:100%; aspect-ratio:3/3.4; object-fit:cover; object-position:center top}
.message__who{margin-top:14px; text-align:center}
.message__who b{display:block; font-family:var(--head); color:var(--navy); font-size:1.08rem}
.message__who span{font-size:.74rem; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--orange)}
.message__body h3{margin-bottom:.5em}
.message__body blockquote{
  margin:0 0 1.1em; padding:0 0 0 20px; border-left:3px solid var(--orange);
  font-family:var(--head); font-style:italic; font-size:1.12rem; color:var(--navy); line-height:1.6;
}
.message__sign{font-weight:600; color:var(--navy); font-size:.92rem; margin-bottom:0}

/* ============================================================
   INFRASTRUCTURE / FACILITY TILES
   ============================================================ */
.facility{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden;
  display:flex; flex-direction:column; height:100%; transition:transform .28s ease, box-shadow .28s ease;
}
.facility:hover{transform:translateY(-6px); box-shadow:var(--shadow)}
.facility__media{aspect-ratio:16/11; overflow:hidden; position:relative; background:var(--navy)}
.facility__media img{width:100%; height:100%; object-fit:cover; transition:transform .5s ease}
.facility:hover .facility__media img{transform:scale(1.07)}
.facility__body{padding:22px 24px 26px}
.facility__body h3{font-size:1.1rem; margin-bottom:.4em}
.facility__body p{font-size:.92rem; margin:0}
.ph{
  width:100%; height:100%; display:grid; place-items:center; align-content:center; gap:10px; text-align:center;
  background:linear-gradient(145deg,var(--navy) 0%,var(--steel) 100%); color:#8FA3C0; padding:20px;
}
.ph svg{width:40px; height:40px; fill:rgba(247,147,29,.75)}
.ph span{font-size:.7rem; letter-spacing:.16em; text-transform:uppercase}

/* ---------- Compact chips ---------- */
.chips{display:grid; grid-template-columns:repeat(4,1fr); gap:16px; list-style:none; padding:0; margin:0}
.chips li{margin:0}
.chip{
  display:flex; align-items:center; gap:13px; padding:17px 20px; height:100%;
  background:#fff; border:1px solid var(--line); border-left:4px solid var(--orange);
  border-radius:10px; font-weight:600; color:var(--navy); font-size:.93rem;
  transition:transform .25s ease, box-shadow .25s ease;
}
.chip:hover{transform:translateX(5px); box-shadow:var(--shadow-sm); color:var(--navy)}
.chip svg{width:21px; height:21px; fill:var(--orange); flex:none}

/* ============================================================
   STEPS
   ============================================================ */
.steps{counter-reset:s; display:grid; gap:22px; list-style:none; padding:0; margin:0}
.steps li{
  counter-increment:s; position:relative; padding:24px 26px 24px 84px; margin:0;
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  transition:box-shadow .25s ease, border-color .25s ease;
}
.steps li:hover{box-shadow:var(--shadow-sm); border-color:var(--orange)}
.steps li::before{
  content:counter(s,decimal-leading-zero); position:absolute; left:24px; top:22px;
  width:42px; height:42px; display:grid; place-items:center; border-radius:12px;
  background:var(--navy); color:#fff; font-family:var(--head); font-weight:700; font-size:1rem;
  transition:background .25s ease;
}
.steps li:hover::before{background:var(--orange)}
.steps h3{font-size:1.05rem; margin-bottom:.3em}
.steps p{font-size:.93rem; margin:0}

/* ============================================================
   TABLES
   ============================================================ */
.table-wrap{overflow-x:auto; border:1px solid var(--line); border-radius:var(--radius); background:#fff}
table{width:100%; border-collapse:collapse; min-width:520px}
th,td{padding:14px 20px; text-align:left; border-bottom:1px solid var(--line); font-size:.93rem}
thead th{background:var(--navy); color:#fff; font-family:var(--sans); font-weight:600; font-size:.82rem; letter-spacing:.07em; text-transform:uppercase}
tbody tr:last-child td{border-bottom:0}
tbody tr:nth-child(even){background:var(--bg-alt)}
td strong{color:var(--navy)}

/* ============================================================
   GALLERY
   ============================================================ */
.gal-filter{display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin-bottom:34px}
.gal-filter button{
  font-family:var(--sans); font-size:.85rem; font-weight:600; padding:9px 22px; border-radius:50px;
  border:1px solid var(--line); background:#fff; color:var(--navy); cursor:pointer; transition:.22s;
}
.gal-filter button:hover{border-color:var(--orange); color:var(--orange)}
.gal-filter button.is-active{background:var(--orange); border-color:var(--orange); color:#fff}

.gal-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:18px}
.gal-item{
  position:relative; border-radius:var(--radius); overflow:hidden; aspect-ratio:4/3;
  background:var(--navy); cursor:zoom-in; margin:0; border:0; padding:0; display:block; width:100%;
}
.gal-item img{width:100%; height:100%; object-fit:cover; transition:transform .5s ease}
.gal-item:hover img{transform:scale(1.08)}
.gal-item figcaption{
  position:absolute; inset:auto 0 0 0; padding:34px 16px 14px; color:#fff; text-align:left;
  font-size:.86rem; font-weight:600; letter-spacing:.03em;
  background:linear-gradient(to top, rgba(10,34,73,.92), transparent);
}
.gal-item.is-hidden{display:none}

/* Lightbox */
.lightbox{
  position:fixed; inset:0; z-index:200; background:rgba(5,18,40,.94);
  display:none; place-items:center; padding:28px;
}
.lightbox.is-open{display:grid}
.lightbox__fig{margin:0; max-width:100%}
.lightbox img{max-width:min(1040px,92vw); max-height:80vh; border-radius:10px; object-fit:contain; margin-inline:auto}
.lightbox__cap{color:#D5E0F0; text-align:center; margin-top:14px; font-size:.92rem}
.lightbox__btn{
  position:absolute; background:rgba(255,255,255,.12); border:0; color:#fff; cursor:pointer;
  width:48px; height:48px; border-radius:50%; display:grid; place-items:center; font-size:1.3rem;
  transition:background .2s ease; line-height:1;
}
.lightbox__btn:hover{background:var(--orange)}
.lightbox__close{top:22px; right:22px}
.lightbox__prev{left:22px; top:50%; transform:translateY(-50%)}
.lightbox__next{right:22px; top:50%; transform:translateY(-50%)}

/* ============================================================
   NEWS / EVENTS
   ============================================================ */
.news{
  display:flex; flex-direction:column; background:#fff; border:1px solid var(--line);
  border-radius:var(--radius); overflow:hidden; height:100%; transition:transform .28s ease, box-shadow .28s ease;
}
.news:hover{transform:translateY(-6px); box-shadow:var(--shadow)}
.news__media{aspect-ratio:16/10; overflow:hidden; position:relative; background:var(--navy)}
.news__media img{width:100%; height:100%; object-fit:cover; transition:transform .5s ease}
.news:hover .news__media img{transform:scale(1.07)}
.news__date{
  position:absolute; top:14px; left:14px; background:var(--orange); color:#fff; border-radius:10px;
  padding:9px 13px; text-align:center; line-height:1; font-family:var(--head);
}
.news__date b{display:block; font-size:1.3rem}
.news__date span{font-size:.64rem; font-family:var(--sans); letter-spacing:.11em; text-transform:uppercase}
.news__body{padding:22px 24px 26px; flex:1; display:flex; flex-direction:column}
.news__cat{font-size:.7rem; font-weight:700; letter-spacing:.13em; text-transform:uppercase; color:var(--orange); margin-bottom:.6em}
.news__body h3{font-size:1.08rem; margin-bottom:.4em}
.news__body p{font-size:.92rem; margin-bottom:1em}
.news__more{margin-top:auto; font-size:.85rem; font-weight:600; color:var(--navy)}
.news__more:hover{color:var(--orange)}

/* Notice ticker */
.ticker{background:var(--orange); color:#fff; overflow:hidden}
.ticker__inner{display:flex; align-items:center; gap:18px; min-height:48px}
.ticker__label{
  flex:none; display:flex; align-items:center; gap:.5em; background:var(--navy); color:#fff;
  padding:8px 18px; border-radius:50px; font-size:.74rem; font-weight:700;
  letter-spacing:.13em; text-transform:uppercase;
}
.ticker__label svg{width:14px; height:14px; fill:var(--orange)}
.ticker__track{flex:1; overflow:hidden; white-space:nowrap}
.ticker__track ul{display:inline-flex; gap:48px; list-style:none; margin:0; padding:0; animation:scroll 34s linear infinite}
.ticker__track li{margin:0; font-size:.88rem; font-weight:500}
.ticker:hover .ticker__track ul{animation-play-state:paused}
@keyframes scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta{position:relative; background:var(--navy); color:#C9D6E8; isolation:isolate; overflow:hidden}
.cta::before{
  content:""; position:absolute; inset:0; z-index:-1; opacity:.16;
  background:url("../img/campus-tronica-hero.jpeg") center/cover;
}
.cta::after{
  content:""; position:absolute; left:-60px; bottom:-90px; width:280px; height:280px; z-index:-1;
  border:36px solid rgba(247,147,29,.12); border-radius:50%;
}
.cta__inner{display:flex; align-items:center; justify-content:space-between; gap:36px; flex-wrap:wrap; padding:clamp(44px,5.5vw,70px) 0}
.cta h2{color:#fff; margin-bottom:.3em}
.cta p{margin:0; max-width:620px}
.cta__actions{display:flex; gap:14px; flex-wrap:wrap; flex:none}

/* ============================================================
   FORMS
   ============================================================ */
.form{display:grid; gap:17px}
.form__row{display:grid; grid-template-columns:repeat(2,1fr); gap:17px}
.field{display:grid; gap:7px}
.field label{font-size:.82rem; font-weight:600; color:var(--navy); letter-spacing:.02em}
.field label .req{color:var(--orange)}
.field input,.field select,.field textarea{
  font-family:var(--sans); font-size:.93rem; color:var(--ink); padding:12px 15px;
  border:1px solid var(--line); border-radius:10px; background:#fff; width:100%;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:0; border-color:var(--orange); box-shadow:0 0 0 3px rgba(247,147,29,.16);
}
.field textarea{resize:vertical; min-height:120px}
.form__note{font-size:.8rem; color:var(--muted); margin:0}
.form__msg{display:none; padding:13px 17px; border-radius:10px; font-size:.9rem; font-weight:500}
.form__msg.is-ok{display:block; background:#E8F6EC; color:#1C6B34; border:1px solid #BCE5C8}
.form-card{background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding:clamp(24px,3.4vw,40px)}

/* Contact info cards */
.info{display:flex; gap:16px; padding:24px; background:#fff; border:1px solid var(--line); border-radius:var(--radius); height:100%}
.info__ico{width:48px; height:48px; flex:none; border-radius:13px; display:grid; place-items:center; background:var(--orange-100)}
.info__ico svg{width:23px; height:23px; fill:var(--orange)}
.info h3{font-size:1rem; margin-bottom:.35em}
.info p,.info a{font-size:.92rem; margin:0; color:var(--body); display:block; line-height:1.65}
.info a:hover{color:var(--orange)}

.map-embed{border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow); line-height:0; border:1px solid var(--line)}
.map-embed iframe{width:100%; height:420px; border:0; display:block}

/* ---------- Branch card ---------- */
.branch{background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; height:100%; display:flex; flex-direction:column}
.branch__media{aspect-ratio:16/10; overflow:hidden}
.branch__media img{width:100%; height:100%; object-fit:cover; transition:transform .5s ease}
.branch:hover .branch__media img{transform:scale(1.05)}
.branch__body{padding:26px 28px 30px; flex:1; display:flex; flex-direction:column}
.branch__label{
  display:inline-block; align-self:flex-start; background:var(--orange); color:#fff;
  padding:5px 15px; border-radius:50px; font-size:.7rem; font-weight:700;
  letter-spacing:.13em; text-transform:uppercase; margin-bottom:.9em;
}
.branch__body h3{margin-bottom:.4em}
.branch__meta{list-style:none; padding:0; margin:0 0 20px; display:grid; gap:10px}
.branch__meta li{display:flex; gap:11px; font-size:.92rem; margin:0}
.branch__meta svg{width:18px; height:18px; fill:var(--orange); flex:none; margin-top:4px}
.branch__body .btn{margin-top:auto; align-self:flex-start}

/* ---------- Downloads ---------- */
.dl{
  display:flex; align-items:center; gap:17px; padding:20px 24px; background:#fff;
  border:1px solid var(--line); border-radius:var(--radius); height:100%;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.dl:hover{transform:translateY(-4px); box-shadow:var(--shadow-sm); border-color:var(--orange)}
.dl__ico{width:46px; height:46px; flex:none; border-radius:11px; display:grid; place-items:center; background:var(--orange-100)}
.dl__ico svg{width:22px; height:22px; fill:var(--orange)}
.dl__txt{flex:1; min-width:0}
.dl__txt b{display:block; font-family:var(--head); color:var(--navy); font-size:1rem; line-height:1.3}
.dl__txt span{font-size:.79rem; color:var(--muted)}
.dl__arrow{width:20px; height:20px; fill:var(--navy); flex:none; transition:transform .25s ease, fill .25s ease}
.dl:hover .dl__arrow{transform:translateY(3px); fill:var(--orange)}
.dl--soon{background:var(--bg-alt); border-style:dashed}
.dl--soon:hover{transform:none; box-shadow:none; border-color:var(--line)}
.dl--soon .dl__ico{background:#E7ECF3}
.dl--soon .dl__ico svg{fill:var(--muted)}
.dl--soon .dl__txt b{color:var(--muted)}
.dl__badge{
  flex:none; font-size:.66rem; font-weight:700; letter-spacing:.11em; text-transform:uppercase;
  color:var(--muted); background:#E7ECF3; padding:4px 11px; border-radius:50px;
}

/* ---------- Accordion ---------- */
.acc{border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; background:#fff}
.acc + .acc{margin-top:14px}
.acc__head{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:18px;
  padding:19px 24px; background:#fff; border:0; cursor:pointer; text-align:left;
  font-family:var(--head); font-size:1.05rem; font-weight:700; color:var(--navy);
}
.acc__head:hover{background:var(--bg-alt)}
.acc__head svg{width:17px; height:17px; fill:var(--orange); flex:none; transition:transform .25s ease}
.acc__head[aria-expanded="true"]{background:var(--orange-100)}
.acc__head[aria-expanded="true"] svg{transform:rotate(45deg)}
.acc__panel{display:none; padding:20px 24px 24px; border-top:1px solid var(--line)}
.acc__panel.is-open{display:block}
.acc__panel p:last-child,.acc__panel ul:last-child{margin-bottom:0}

/* ---------- Uniform ---------- */
.uniform{display:grid; grid-template-columns:repeat(2,1fr); gap:26px}
.uniform__card{background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding:30px; text-align:center}
.uniform__swatch{width:84px; height:84px; margin:0 auto 18px; border-radius:50%; box-shadow:inset 0 0 0 5px rgba(255,255,255,.65), var(--shadow-sm)}
.uniform__swatch--blue{background:linear-gradient(140deg,#1B4F96,#0A2249)}
.uniform__swatch--white{background:linear-gradient(140deg,#fff,#DDE6F2); border:1px solid var(--line)}
.uniform__card h3{margin-bottom:.35em}
.uniform__card p{font-size:.93rem; margin:0}

/* ---------- Prose (legal pages) ---------- */
.prose{max-width:820px}
.prose h2{margin-top:1.8em}
.prose h2:first-child{margin-top:0}
.prose h3{margin-top:1.4em; font-size:1.2rem}

/* ============================================================
   FOOTER
   ============================================================ */
.footer{background:var(--navy); color:#9FB3CE; font-size:.91rem; padding-top:clamp(52px,6vw,78px)}
.footer h4{
  color:#fff; font-family:var(--sans); font-size:.82rem; font-weight:700;
  letter-spacing:.16em; text-transform:uppercase; margin-bottom:1.4em; position:relative; padding-bottom:12px;
}
.footer h4::after{content:""; position:absolute; left:0; bottom:0; width:38px; height:2px; background:var(--orange); border-radius:2px}
.footer a{color:#9FB3CE}
.footer a:hover{color:var(--orange)}
.footer__grid{display:grid; grid-template-columns:1.5fr 1fr 1fr 1.35fr; gap:clamp(26px,4vw,48px); padding-bottom:46px}
.footer__brand{display:flex; align-items:center; gap:13px; margin-bottom:20px}
.footer__brand img{width:62px}
.footer__brand b{font-family:var(--head); color:#fff; font-size:1.2rem; display:block; line-height:1.2}
.footer__brand span{font-size:.66rem; letter-spacing:.14em; text-transform:uppercase; color:var(--orange)}
.footer__links{list-style:none; padding:0; margin:0; display:grid; gap:10px}
.footer__links li{margin:0}
.footer__links a{display:inline-flex; align-items:center; gap:.5em}
.footer__links a::before{content:"\203A"; color:var(--orange); font-size:1.1em; line-height:1}
.footer__contact{list-style:none; padding:0; margin:0 0 20px; display:grid; gap:14px}
.footer__contact li{display:flex; gap:12px; margin:0; line-height:1.6}
.footer__contact svg{width:17px; height:17px; fill:var(--orange); flex:none; margin-top:5px}
.footer__bottom{
  border-top:1px solid rgba(255,255,255,.1); padding:20px 0; display:flex;
  align-items:center; justify-content:space-between; gap:14px 28px; flex-wrap:wrap; font-size:.84rem;
}
.footer__legal{display:flex; gap:20px; list-style:none; margin:0; padding:0; flex-wrap:wrap}
.footer__legal li{margin:0}
.footer__credit{margin:5px 0 0; font-size:.8rem; color:#7B91B0}
.footer__credit a{color:#A9BDD6; font-weight:600}
.footer__credit a:hover{color:var(--orange)}

/* Floating actions */
.fab{position:fixed; right:18px; bottom:18px; z-index:80; display:grid; gap:10px}
.fab a,.fab button{
  width:48px; height:48px; border-radius:50%; display:grid; place-items:center; border:0; cursor:pointer;
  box-shadow:var(--shadow); transition:transform .25s ease;
}
.fab a:hover,.fab button:hover{transform:translateY(-3px)}
.fab svg{width:23px; height:23px; fill:#fff}
.fab__wa{background:#25D366}
.fab__call{background:var(--orange)}
.fab__top{background:var(--navy); opacity:0; visibility:hidden}
.fab__top.is-shown{opacity:1; visibility:visible}

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1180px){
  .nav__list>li>a{padding:15px 11px; font-size:.82rem}
  .brand__name{font-size:1.24rem}
  .header__facts li:first-child{display:none}
  .footer__grid{grid-template-columns:1fr 1fr}
}
@media (max-width:992px){
  :root{--header-h:72px}
  .nav-toggle{display:grid; margin-left:0}
  .header__cta,.header__facts{display:none}
  .brand img{width:52px}
  .brand__name{font-size:1.15rem}
  .header__top{border-bottom:0; box-shadow:0 1px 0 var(--line)}
  .site-header{top:0}
  .header__bar{background:transparent}
  .header__bar > .container{padding:0}
  .nav{
    position:fixed; inset:var(--header-h) 0 0 auto; width:min(340px,86vw); background:#fff; z-index:86;
    box-shadow:-10px 0 40px rgba(10,34,73,.18); padding:20px 18px 40px; overflow-y:auto;
    transform:translateX(105%); transition:transform .32s ease; margin:0;
  }
  .nav.is-open{transform:none}
  .nav__list{flex-direction:column; align-items:stretch; gap:2px}
  .nav__list>li>a{
    justify-content:space-between; padding:13px 14px; font-size:.94rem;
    border-radius:9px; color:var(--navy);
  }
  .nav__list>li>a:hover,.nav__list>li.is-open>a{background:var(--orange-100); color:var(--orange)}
  .nav__list>li.current>a::after{display:none}
  .nav__caret{width:15px; height:15px; opacity:1; fill:var(--orange)}
  .dropdown{
    position:static; opacity:1; visibility:visible; transform:none; box-shadow:none; border-top:0;
    border-left:2px solid var(--orange-100); border-radius:0; margin:2px 0 6px 14px;
    padding:0 0 0 8px; display:none; min-width:0;
  }
  .nav__list>li.is-open>.dropdown{display:block}
  .nav__mobile-cta{display:block; margin-top:18px}
  .pillars__grid{grid-template-columns:repeat(2,1fr)}
  .pillar:nth-child(2n){border-right:0}
  .pillar:nth-child(-n+2){border-bottom:1px solid var(--line)}
  .grid--4{grid-template-columns:repeat(2,1fr)}
  .grid--3{grid-template-columns:repeat(2,1fr)}
  .gal-grid{grid-template-columns:repeat(3,1fr)}
  .chips{grid-template-columns:repeat(2,1fr)}
  .split{grid-template-columns:1fr; gap:34px}
  .split--narrow{grid-template-columns:1fr}
  .split__badge{left:14px}
  .message,.message--flip{grid-template-columns:1fr; gap:24px}
  .message--flip .message__media{order:0}
  .message__media{max-width:260px; margin-inline:auto}
  .stats{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:700px){
  .topbar__inner{justify-content:center; text-align:center}
  .topbar__list{justify-content:center; gap:14px; font-size:.78rem}
  .topbar__list li.hide-sm{display:none}
  .pillars{margin-top:-34px}
  .pillars__grid{grid-template-columns:1fr}
  .pillar{border-right:0; border-bottom:1px solid var(--line)}
  .pillar:last-child{border-bottom:0}
  .pillar:nth-child(-n+2){border-bottom:1px solid var(--line)}
  .grid--4,.grid--3,.grid--2{grid-template-columns:1fr}
  .gal-grid{grid-template-columns:repeat(2,1fr); gap:12px}
  .chips{grid-template-columns:1fr}
  .ticks--2{grid-template-columns:1fr}
  .uniform{grid-template-columns:1fr}
  .form__row{grid-template-columns:1fr}
  .footer__grid{grid-template-columns:1fr; gap:34px}
  .footer__bottom{flex-direction:column; text-align:center}
  .cta__inner{flex-direction:column; text-align:center}
  .cta__actions{justify-content:center; width:100%}
  .hero__actions .btn{flex:1 1 210px}
  .steps li{padding:22px 20px}
  .steps li::before{position:static; margin-bottom:12px}
  .map-embed iframe{height:320px}
  .lightbox__prev{left:10px}
  .lightbox__next{right:10px}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; scroll-behavior:auto !important}
  .reveal{opacity:1; transform:none}
}
@media print{
  .topbar,.site-header,.fab,.cta,.footer__grid,.hero__dots,.nav{display:none}
}
