/* =========================================================
   Sri Vani Junior College — Main Stylesheet
   Palette: Deep Navy + Royal Gold + Ivory
   ========================================================= */

:root {
  --navy-900: #071528;
  --navy-800: #0b1f3a;
  --navy-700: #12305a;
  --navy-600: #1b3f73;
  --gold-500: #c9a227;
  --gold-400: #d9b84a;
  --gold-300: #ead592;
  --ivory: #fbf8f1;
  --cream: #f5efe1;
  --ink: #1c2433;
  --muted: #5c6678;
  --line: #e6e0d2;
  --white: #ffffff;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(11, 31, 58, 0.06);
  --shadow: 0 12px 32px rgba(11, 31, 58, 0.10);
  --shadow-lg: 0 24px 60px rgba(11, 31, 58, 0.18);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(1180px, 92%); margin-inline: auto; }

.ico { width: 15px; height: 15px; fill: currentColor; display: inline-block; vertical-align: -2px; margin-right: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.6rem;
  border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--navy-900);
  box-shadow: 0 8px 22px rgba(201, 162, 39, .35);
}
.btn--gold:hover { box-shadow: 0 12px 28px rgba(201, 162, 39, .45); }
.btn--ghost { border-color: rgba(255,255,255,.45); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn--outline { border-color: var(--navy-800); color: var(--navy-800); background: transparent; }
.btn--outline:hover { background: var(--navy-800); color: var(--white); }
.btn--sm { padding: .55rem 1.15rem; font-size: .88rem; }
.btn--block { width: 100%; margin-top: .75rem; }

/* ---------- Eyebrow / Titles ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--gold-300); }

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  font-weight: 600;
  color: var(--navy-800);
}

.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--cream { background: var(--cream); }
.section--navy {
  background:
    radial-gradient(circle at 85% 10%, rgba(201,162,39,.14), transparent 40%),
    linear-gradient(160deg, var(--navy-800), var(--navy-900));
  color: #d7deea;
}

.section-head { max-width: 680px; margin: 0 auto 3.5rem; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head--light .section-title { color: var(--white); }
.section-head--light p { color: #b9c4d6; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: #b9c4d6; font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; padding: .55rem 0; gap: 1rem; }
.topbar__right { display: flex; gap: 1.5rem; }
.topbar a:hover { color: var(--gold-300); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 241, .92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }

.brand { display: flex; align-items: center; gap: .75rem; }
.brand__mark {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--navy-700), var(--navy-900));
  box-shadow: inset 0 0 0 1px rgba(201,162,39,.5);
}
.brand__mark svg { width: 26px; height: 26px; fill: var(--gold-400); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-family: var(--serif); font-size: 1.35rem; color: var(--navy-800); font-weight: 700; }
.brand__text small { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-500); font-weight: 600; }
.brand--light .brand__text strong { color: var(--white); }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) {
  position: relative; font-weight: 500; font-size: .95rem; color: var(--navy-800);
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--gold-500); transition: width .3s var(--ease);
}
.nav a:not(.btn):hover::after,
.nav a.is-active::after { width: 100%; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy-800); margin: 5px 0; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 45%, var(--navy-600) 100%);
  color: var(--white);
  padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(6rem, 11vw, 9rem);
}
.hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 80% 20%, rgba(201,162,39,.22), transparent 35%),
    radial-gradient(circle at 10% 90%, rgba(201,162,39,.12), transparent 40%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 2px, transparent 2px 22px);
}
.hero__bg::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 520px; height: 520px; border-radius: 50%;
  border: 1px solid rgba(217,184,74,.25);
  box-shadow: 0 0 0 60px rgba(217,184,74,.04), 0 0 0 120px rgba(217,184,74,.03);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.25fr .9fr; gap: 4rem; align-items: center; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  font-weight: 600; line-height: 1.12;
  margin-bottom: 1.25rem;
}
.hero h1 em { font-style: italic; color: var(--gold-400); }
.hero__lead { font-size: 1.12rem; color: #c8d2e2; max-width: 560px; margin-bottom: 2.25rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero__card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(217,184,74,.7), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.hero__card h2 { font-family: var(--serif); font-size: 1.4rem; color: var(--gold-300); margin-bottom: 1rem; font-weight: 600; }
.glance li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .8rem 0; border-bottom: 1px dashed rgba(255,255,255,.14);
  font-size: .93rem;
}
.glance li:last-child { border-bottom: 0; }
.glance span { color: #9fb0c8; }
.glance strong { text-align: right; font-weight: 600; color: var(--white); }

/* ---------- Highlights ---------- */
.highlights { position: relative; z-index: 2; margin-top: -4.5rem; }
.highlights__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.highlight { padding: 2rem 1.75rem; border-right: 1px solid var(--line); transition: background .3s; }
.highlight:last-child { border-right: 0; }
.highlight:hover { background: var(--ivory); }
.highlight__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(145deg, #fbf3da, #f3e3ad); margin-bottom: 1rem;
}
.highlight__icon svg { width: 26px; height: 26px; fill: var(--navy-800); }
.highlight h3 { font-size: 1.08rem; color: var(--navy-800); margin-bottom: .3rem; }
.highlight p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.55; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 5rem; align-items: center; }
.about__visual { position: relative; }
.about__frame {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 30% 20%, rgba(217,184,74,.35), transparent 45%),
    linear-gradient(160deg, var(--navy-700), var(--navy-900));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--white); text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.about__frame::before {
  content: ""; position: absolute; inset: 18px;
  border: 1px solid rgba(217,184,74,.45); border-radius: 16px;
}
.about__monogram {
  font-family: var(--serif); font-size: clamp(5rem, 11vw, 8rem); font-weight: 700;
  line-height: 1;
  background: linear-gradient(180deg, var(--gold-300), var(--gold-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.about__frame p { font-family: var(--serif); font-size: 1.35rem; letter-spacing: .04em; margin-top: 1rem; color: #e4e9f2; }
.about__badge {
  position: absolute; right: -24px; bottom: 36px;
  background: var(--white); border-radius: var(--radius);
  padding: 1.1rem 1.4rem; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: .9rem;
  border-left: 4px solid var(--gold-500);
}
.about__badge strong { font-family: var(--serif); font-size: 2.4rem; color: var(--navy-800); line-height: 1; }
.about__badge span { font-size: .82rem; color: var(--muted); line-height: 1.35; font-weight: 500; }
.about__text p { color: var(--muted); font-size: 1.03rem; }

.checklist { margin-top: 1.5rem; display: grid; gap: .8rem; }
.checklist li { position: relative; padding-left: 2.1rem; font-weight: 500; color: var(--ink); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2rem;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230b1f3a' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- Principal ---------- */
.principal { display: grid; grid-template-columns: 320px 1fr; gap: 4.5rem; align-items: center; }
.principal__photo { margin: 0; position: relative; isolation: isolate; }
.principal__frame {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  padding: 8px;
  background: linear-gradient(145deg, var(--gold-300), var(--gold-500) 50%, var(--navy-700));
  box-shadow: var(--shadow-lg);
}
.principal__frame img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover; object-position: 50% 22%;
  border: 4px solid var(--white);
}
.principal__photo::before {
  content: ""; position: absolute; left: -18px; top: -18px;
  width: 60%; height: 60%;
  border-radius: 50%;
  background: repeating-linear-gradient(45deg, rgba(201,162,39,.4) 0 2px, transparent 2px 12px);
  z-index: -1;
}
.principal__card {
  position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%);
  width: max-content; max-width: 90%;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  color: var(--white); text-align: center;
  padding: .8rem 1.25rem; border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-bottom: 3px solid var(--gold-500);
}
.principal__card strong { display: block; font-family: var(--serif); font-size: 1.05rem; font-weight: 600; }
.principal__card span { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-300); font-weight: 600; }

.principal__text > p { color: var(--muted); font-size: 1.02rem; }
.principal__quote {
  margin: .5rem 0 1.75rem; padding: 1.4rem 1.6rem 1.4rem 3.6rem;
  position: relative;
  background: var(--white); border-radius: var(--radius);
  border-left: 4px solid var(--gold-500);
  box-shadow: var(--shadow-sm);
}
.principal__quote::before {
  content: "\201C"; position: absolute; left: 1rem; top: .2rem;
  font-family: var(--serif); font-size: 4rem; line-height: 1; color: var(--gold-400);
}
.principal__quote p {
  margin: 0; font-family: var(--serif); font-style: italic;
  font-size: 1.2rem; line-height: 1.55; color: var(--navy-800);
}
.principal__sign { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.principal__sign strong { display: block; font-family: var(--serif); font-size: 1.25rem; color: var(--navy-800); }
.principal__sign span { font-size: .9rem; color: var(--muted); }
.quals { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.1rem; }
.quals li {
  font-size: .8rem; font-weight: 600; letter-spacing: .03em;
  padding: .4rem .95rem; border-radius: 999px;
  background: linear-gradient(145deg, #fbf3da, #f3e3ad);
  color: var(--navy-800);
}

/* ---------- Streams ---------- */
.streams { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.stream {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.stream::after {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  transition: width .45s var(--ease);
}
.stream:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.stream:hover::after { width: 100%; }
.stream__tag {
  display: inline-block;
  font-family: var(--serif); font-weight: 700; font-size: 1.5rem;
  color: var(--navy-800);
  padding: .3rem 1rem; border-radius: 10px;
  background: linear-gradient(145deg, #fbf3da, #f3e3ad);
  margin-bottom: 1.1rem;
}
.stream h3 { font-size: 1.08rem; color: var(--navy-800); }
.stream p { color: var(--muted); font-size: .95rem; }
.stream__paths { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.stream__paths span {
  font-size: .76rem; font-weight: 600; letter-spacing: .03em;
  padding: .3rem .75rem; border-radius: 999px;
  background: var(--ivory); color: var(--navy-700); border: 1px solid var(--line);
}
.stream--cta {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  color: #c8d2e2; border: 0;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
}
.stream--cta h3 { font-family: var(--serif); font-size: 1.5rem; color: var(--white); font-weight: 600; }
.stream--cta p { color: #b9c4d6; }

/* ---------- Facilities ---------- */
.facilities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.facility {
  padding: 2rem; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.facility:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.facility__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--navy-700), var(--navy-900));
  margin-bottom: 1.2rem;
  box-shadow: inset 0 0 0 1px rgba(201,162,39,.45);
}
.facility__icon svg { width: 26px; height: 26px; fill: var(--gold-400); }
.facility h3 { font-size: 1.12rem; color: var(--navy-800); }
.facility p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Admissions ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: s; }
.step {
  position: relative;
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  transition: background .3s, border-color .3s;
}
.step:hover { background: rgba(255,255,255,.07); border-color: rgba(217,184,74,.4); }
.step__num {
  font-family: var(--serif); font-size: 2.6rem; font-weight: 700; line-height: 1;
  background: linear-gradient(180deg, var(--gold-300), var(--gold-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 1rem;
}
.step h3 { color: var(--white); font-size: 1.15rem; }
.step p { font-size: .93rem; color: #aebbd0; margin: 0; }

.docs {
  margin-top: 3rem;
  padding: 2.25rem 2.5rem;
  border-radius: var(--radius-lg);
  background: var(--white); color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.docs h3 { font-family: var(--serif); font-size: 1.5rem; color: var(--navy-800); font-weight: 600; margin-bottom: 1.25rem; }
.docs ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem 2rem; }
.docs li { position: relative; padding-left: 1.4rem; font-weight: 500; }
.docs li::before {
  content: ""; position: absolute; left: 0; top: .62rem;
  width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg);
  background: var(--gold-500);
}
.docs__note { margin: 1.4rem 0 0; font-size: .88rem; color: var(--muted); font-style: italic; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: start; }
.contact__info > p { color: var(--muted); }
.contact__list { display: grid; gap: 1.4rem; margin: 2rem 0; }
.contact__list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact__icon {
  flex: 0 0 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(145deg, #fbf3da, #f3e3ad);
}
.contact__icon svg { width: 22px; height: 22px; fill: var(--navy-800); }
.contact__list strong { display: block; color: var(--navy-800); font-size: .98rem; }
.contact__list span { color: var(--muted); font-size: .95rem; }
.contact__list a:hover { color: var(--gold-500); }

.map {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  aspect-ratio: 16 / 9; background: var(--cream);
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.enquiry {
  position: sticky; top: 100px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--gold-500);
}
.enquiry h3 { font-family: var(--serif); font-size: 1.75rem; color: var(--navy-800); font-weight: 600; }
.enquiry > p { color: var(--muted); font-size: .93rem; margin-bottom: 1.5rem; }

.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .84rem; font-weight: 600; color: var(--navy-800); margin-bottom: .4rem; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit; font-size: .95rem; color: var(--ink);
  padding: .8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--ivory);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none; border-color: var(--gold-500); background: var(--white);
  box-shadow: 0 0 0 4px rgba(201,162,39,.15);
}
.field .is-invalid { border-color: #c0392b; }
.form-error { color: #c0392b; font-size: .86rem; min-height: 1.2em; margin: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #9fb0c8; padding-top: 4.5rem; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 3rem; padding-bottom: 3rem; }
.footer__brand p { margin-top: 1.25rem; max-width: 340px; }
.footer h4 { color: var(--white); font-family: var(--serif); font-size: 1.15rem; font-weight: 600; margin-bottom: 1.1rem; }
.footer ul { display: grid; gap: .6rem; }
.footer a:hover { color: var(--gold-300); }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.4rem 0; font-size: .84rem;
}

/* ---------- Floating Call ---------- */
.fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  box-shadow: 0 10px 26px rgba(201,162,39,.45);
  transition: transform .25s var(--ease);
}
.fab svg { width: 26px; height: 26px; fill: var(--navy-900); }
.fab:hover { transform: scale(1.08); }
.fab::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--gold-400);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .fab::before { animation: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero__card { max-width: 560px; }
  .highlights__grid { grid-template-columns: repeat(2, 1fr); }
  .highlight:nth-child(2) { border-right: 0; }
  .highlight:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about { grid-template-columns: 1fr; gap: 3.5rem; }
  .about__visual { max-width: 420px; margin-inline: auto; width: 100%; }
  .principal { grid-template-columns: 1fr; gap: 4.5rem; }
  .principal__photo { max-width: 280px; margin-inline: auto; width: 100%; }
  .streams, .facilities { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .docs ul { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .enquiry { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 78px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: .5rem 4% 1.25rem;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .3s var(--ease), opacity .3s, visibility .3s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: .95rem 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 1rem; }
}

@media (max-width: 860px) {
  .topbar__inner > span:first-child { display: none; }
  .topbar__inner { justify-content: center; }
}

@media (max-width: 600px) {
  .highlights__grid { grid-template-columns: 1fr; }
  .highlight { border-right: 0; border-bottom: 1px solid var(--line); }
  .highlight:last-child { border-bottom: 0; }
  .streams, .facilities, .steps { grid-template-columns: 1fr; }
  .docs { padding: 1.75rem; }
  .docs ul { grid-template-columns: 1fr; }
  .about__badge { right: 12px; }
  .enquiry { padding: 1.75rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero__actions .btn { width: 100%; }
  .glance li { flex-direction: column; gap: .15rem; }
  .glance strong { text-align: left; }
  .topbar__right { gap: 1rem; }
}
