/* ==========================================================================
   SANTI PARAMEDICAL TRAINING INSTITUTE - DMLT Admissions
   Global stylesheet
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --teal: #087466;
  --teal-dark: #06564b;
  --teal-darker: #043b34;
  --orange: #F5A623;
  --orange-dark: #e0950f;
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
  --navy: #0d2033;
  --slate: #3d4c5a;
  --muted: #64737f;
  --line: #e5eaee;
  --gray: #f4f6f8;
  --gray-2: #eef2f4;
  --white: #ffffff;

  --radius-lg: 22px;
  --radius: 16px;
  --radius-sm: 11px;
  --radius-pill: 999px;

  --shadow-xs: 0 2px 8px rgba(13, 32, 51, 0.06);
  --shadow-sm: 0 6px 18px rgba(13, 32, 51, 0.08);
  --shadow: 0 16px 42px rgba(13, 32, 51, 0.10);
  --shadow-lg: 0 28px 64px rgba(13, 32, 51, 0.18);

  --maxw: 1180px;
  --header-h: 74px;

  --font: "Poppins", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 14px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--teal);
  text-decoration: none;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1rem; }

ul { margin: 0; padding: 0; }

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

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
}

.section {
  padding: 88px 0;
  position: relative;
}

.section--gray { background: var(--gray); }
.section--tight { padding: 64px 0; }

.section-head {
  max-width: 780px;
  margin: 0 auto 52px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(8, 116, 102, 0.09);
  border: 1px solid rgba(8, 116, 102, 0.16);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.03rem;
  margin: 0;
}

.lead {
  font-size: 1.08rem;
  color: var(--slate);
}

.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--teal);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.97rem;
  line-height: 1;
  padding: 15px 26px;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    color 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--shadow-xs);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.btn:active { transform: translateY(-1px); }

.btn svg { width: 19px; height: 19px; flex: none; fill: currentColor; }

.btn--primary { --btn-bg: var(--orange); --btn-fg: #2c1a00; }
.btn--primary:hover { --btn-bg: var(--orange-dark); }

.btn--teal { --btn-bg: var(--teal); --btn-fg: var(--white); }
.btn--teal:hover { --btn-bg: var(--teal-dark); }

.btn--whatsapp { --btn-bg: var(--whatsapp); --btn-fg: #05341a; }
.btn--whatsapp:hover { --btn-bg: var(--whatsapp-dark); --btn-fg: #fff; }

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}
.btn--outline:hover { --btn-bg: #fff; --btn-fg: var(--teal-dark); }

.btn--ghost {
  --btn-bg: #fff;
  --btn-fg: var(--teal-dark);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--teal); }

.btn--lg { padding: 18px 34px; font-size: 1.04rem; }
.btn--block { width: 100%; }
.btn--sm { padding: 11px 20px; font-size: 0.9rem; }

/* ---------- Header / Navigation ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.header.is-scrolled {
  box-shadow: 0 8px 26px rgba(13, 32, 51, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-family: var(--font);
  flex: none;
}

.brand__mark {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(140deg, var(--teal) 0%, var(--teal-dark) 100%);
  box-shadow: 0 8px 20px rgba(8, 116, 102, 0.28);
}
.brand__mark svg { width: 26px; height: 26px; fill: #fff; }

.brand__text { display: flex; flex-direction: column; line-height: 1.08; }
.brand__name {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.brand__sub {
  font-family: var(--font-body);
  font-size: 0.71rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav__links a {
  display: block;
  font-family: var(--font);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--slate);
  padding: 9px 13px;
  border-radius: var(--radius-pill);
  transition: color 0.2s ease, background 0.2s ease;
}
.nav__links a:hover,
.nav__links a.is-active {
  color: var(--teal);
  background: rgba(8, 116, 102, 0.08);
}

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

.nav__toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  position: absolute;
  left: 50%;
  width: 22px;
  height: 2.4px;
  background: var(--navy);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav__toggle span { top: 50%; margin-top: -1px; }
.nav__toggle span::before { content: ""; top: -7px; left: 0; transform: none; }
.nav__toggle span::after { content: ""; top: 7px; left: 0; transform: none; }
.nav__toggle.is-open span { background: transparent; }
.nav__toggle.is-open span::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  overflow: hidden;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
  padding: 96px 0 104px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    url("images/hero.jpg") center 32% / cover no-repeat;
  transform: scale(1.04);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 12% 12%, rgba(8, 116, 102, 0.88) 0%, rgba(6, 86, 75, 0.92) 42%, rgba(4, 48, 42, 0.95) 100%),
    linear-gradient(180deg, rgba(4, 59, 52, 0.55), rgba(4, 59, 52, 0.75));
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: 54px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}
.hero__badge svg { width: 15px; height: 15px; fill: var(--orange); }

.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  line-height: 1.05;
  margin-bottom: 6px;
  text-shadow: 0 3px 26px rgba(0, 0, 0, 0.28);
}

.hero__place {
  font-family: var(--font);
  font-size: clamp(0.86rem, 1.6vw, 1.02rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #cdeee7;
  margin-bottom: 26px;
}

.hero__open {
  display: inline-block;
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.6vw, 2.35rem);
  color: var(--orange);
  background: rgba(0, 0, 0, 0.22);
  border-left: 6px solid var(--orange);
  padding: 8px 20px;
  border-radius: 6px;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.hero h2 {
  color: #fff;
  font-size: clamp(1.15rem, 2.6vw, 1.62rem);
  font-weight: 600;
  margin-bottom: 16px;
}

.hero__lead {
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 620px;
  margin-bottom: 24px;
}

.hero__points {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 30px;
}
.hero__points li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.99rem;
  color: #eafaf6;
}
.hero__points svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 2px;
  fill: var(--orange);
}
.hero__points strong { color: #fff; font-weight: 600; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.hero__note {
  margin-top: 24px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
}

/* Hero side card */
.hero__aside {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
}
.hero__aside h3 {
  color: #fff;
  font-size: 1.12rem;
  margin-bottom: 4px;
}
.hero__aside > p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 18px;
}
.hero__quick {
  list-style: none;
  display: grid;
  gap: 12px;
}
.hero__quick li {
  display: flex;
  align-items: center;
  gap: 13px;
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  color: #fff;
  font-size: 0.95rem;
}
.hero__quick .ic {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--orange);
}
.hero__quick .ic svg { width: 20px; height: 20px; fill: #2c1a00; }
.hero__quick b { font-family: var(--font); font-weight: 600; display: block; }
.hero__quick span { color: rgba(255, 255, 255, 0.75); font-size: 0.83rem; }

/* Marquee strip under hero */
.strip {
  background: var(--navy);
  color: #fff;
  padding: 15px 0;
  overflow: hidden;
}
.strip__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 40px;
  align-items: center;
}
.strip__item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  color: #dfe7ec;
}
.strip__item svg { width: 17px; height: 17px; fill: var(--orange); }

/* ---------- Generic cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(8, 116, 102, 0.28);
}

.icon-badge {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(140deg, rgba(8, 116, 102, 0.12), rgba(8, 116, 102, 0.06));
  border: 1px solid rgba(8, 116, 102, 0.16);
  margin-bottom: 18px;
}
.icon-badge svg { width: 28px; height: 28px; fill: var(--teal); }
.icon-badge--orange { background: linear-gradient(140deg, rgba(245, 166, 35, 0.18), rgba(245, 166, 35, 0.08)); border-color: rgba(245, 166, 35, 0.3); }
.icon-badge--orange svg { fill: var(--orange-dark); }

/* ---------- About section ---------- */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.about__media {
  position: relative;
}
.about__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.about__media::after {
  content: "";
  position: absolute;
  inset: auto -16px -16px auto;
  width: 130px;
  height: 130px;
  border-radius: 24px;
  background: linear-gradient(140deg, var(--orange), #ffca5f);
  z-index: -1;
  opacity: 0.9;
}
.about__media::before {
  content: "";
  position: absolute;
  inset: -18px auto auto -18px;
  width: 110px;
  height: 110px;
  border-radius: 22px;
  border: 3px solid rgba(8, 116, 102, 0.35);
  z-index: -1;
}

.about__stat {
  position: absolute;
  right: 18px;
  bottom: 18px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  box-shadow: var(--shadow);
  font-family: var(--font);
}
.about__stat b { display: block; color: var(--teal); font-size: 1.15rem; line-height: 1.1; }
.about__stat span { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }

.about__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0 0;
}
.about__list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  background: var(--gray);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.94rem;
  color: var(--navy);
  font-weight: 500;
  font-family: var(--font);
}
.about__list svg {
  width: 21px;
  height: 21px;
  flex: none;
  margin-top: 1px;
  fill: var(--teal);
}

/* Topic cards */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  margin-top: 46px;
}
.topic {
  padding: 28px 24px;
}
.topic h3 { font-size: 1.05rem; margin-bottom: 8px; }
.topic p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* ---------- Eligibility ---------- */
.elig__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
}
.elig__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.elig__list { list-style: none; display: grid; gap: 18px; margin: 8px 0 28px; }
.elig__list li {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  font-size: 1.02rem;
  color: var(--navy);
  font-weight: 500;
}
.elig__list .tick {
  width: 30px;
  height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(8, 116, 102, 0.1);
  border: 1px solid rgba(8, 116, 102, 0.2);
}
.elig__list .tick svg { width: 17px; height: 17px; fill: var(--teal); }

.elig__media { position: relative; }
.elig__media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  object-fit: cover;
  width: 100%;
  aspect-ratio: 4 / 5;
}
.elig__chip {
  position: absolute;
  left: -14px;
  top: 26px;
  background: var(--teal);
  color: #fff;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.86rem;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}

.notice {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid rgba(245, 166, 35, 0.4);
  border-left: 5px solid var(--orange);
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  font-size: 0.92rem;
  color: #6b4a05;
}
.notice svg { width: 21px; height: 21px; flex: none; fill: var(--orange-dark); margin-top: 1px; }
.notice strong { color: #533a04; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-xs);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.gallery-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-card:hover .gallery-card__img { transform: scale(1.06); }
.gallery-card__body {
  padding: 16px 18px 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.gallery-card__num {
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--orange-dark);
  background: rgba(245, 166, 35, 0.16);
  border-radius: 8px;
  padding: 3px 9px;
  flex: none;
  margin-top: 2px;
}
.gallery-card__body h3 { font-size: 0.98rem; margin: 0 0 4px; }
.gallery-card__body p { font-size: 0.85rem; color: var(--muted); margin: 0; }

.gallery__note {
  margin-top: 26px;
  font-size: 0.84rem;
  color: var(--muted);
  text-align: center;
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
}
.gallery__note svg { width: 16px; height: 16px; fill: var(--muted); flex: none; }

/* ---------- Admissions banner ---------- */
.admissions {
  background:
    linear-gradient(135deg, var(--teal-darker) 0%, var(--teal) 55%, var(--teal-dark) 100%);
  color: #fff;
  border-radius: 0;
  position: relative;
  overflow: hidden;
}
.admissions::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.16);
  top: -160px;
  right: -120px;
  filter: blur(6px);
}
.admissions::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, 0.06);
  bottom: -140px;
  left: -100px;
}
.admissions .container { position: relative; z-index: 1; }
.admissions__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 50px;
  align-items: center;
}
.admissions h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3.6vw, 2.55rem);
  margin-bottom: 12px;
}
.admissions__sub {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  margin-bottom: 26px;
}
.admissions__list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-bottom: 30px;
}
.admissions__list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  font-size: 1rem;
  color: #eefaf7;
}
.admissions__list svg {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 1px;
  fill: var(--orange);
}
.admissions__list strong { color: #fff; }

.hurry {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: #2c1a00;
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 30px rgba(245, 166, 35, 0.35);
}
.hurry svg { width: 19px; height: 19px; fill: #2c1a00; }

.contact-panel {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-lg);
  color: var(--slate);
}
.contact-panel h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.contact-panel__person {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 0 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.contact-panel__avatar {
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--teal), var(--teal-dark));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.15rem;
}
.contact-panel__person b { display: block; font-family: var(--font); color: var(--navy); font-size: 1.05rem; }
.contact-panel__person span { font-size: 0.84rem; color: var(--muted); }

.phone-lines { display: grid; gap: 12px; margin-bottom: 20px; }
.phone-line {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--gray);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.phone-line:hover { border-color: var(--teal); background: #fff; transform: translateX(4px); }
.phone-line .ic {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(8, 116, 102, 0.1);
}
.phone-line .ic svg { width: 22px; height: 22px; fill: var(--teal); }
.phone-line .meta { display: flex; flex-direction: column; }
.phone-line .meta small { font-size: 0.76rem; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; }
.phone-line .meta b { font-family: var(--font); color: var(--navy); font-size: 1.08rem; letter-spacing: 0.02em; }
.contact-panel__actions { display: grid; gap: 11px; }

/* ---------- Enquiry form ---------- */
.enquiry__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 50px;
  align-items: start;
}

.enquiry__aside h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.enquiry__aside p { color: var(--muted); }

.enquiry__steps { list-style: none; display: grid; gap: 16px; margin-top: 28px; }
.enquiry__steps li { display: flex; gap: 14px; align-items: flex-start; }
.enquiry__steps .num {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.92rem;
  display: grid;
  place-items: center;
}
.enquiry__steps b { display: block; font-family: var(--font); color: var(--navy); }
.enquiry__steps span { font-size: 0.9rem; color: var(--muted); }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 7px;
}
.field label .req { color: #d64545; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--navy);
  background: var(--gray);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; min-height: 108px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(8, 116, 102, 0.12);
}
.field .err {
  display: none;
  color: #c0392b;
  font-size: 0.82rem;
  margin-top: 6px;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #c0392b; background: #fdf4f3; }
.field.has-error .err { display: block; }

.form-status {
  display: none;
  gap: 12px;
  align-items: flex-start;
  border-radius: var(--radius-sm);
  padding: 15px 17px;
  margin-bottom: 18px;
  font-size: 0.93rem;
  line-height: 1.5;
}
.form-status.is-visible { display: flex; }
.form-status svg { width: 21px; height: 21px; flex: none; margin-top: 1px; }
.form-status--ok { background: rgba(8, 116, 102, 0.1); border: 1px solid rgba(8, 116, 102, 0.3); color: #064a40; }
.form-status--ok svg { fill: var(--teal); }
.form-status--info { background: var(--gray); border: 1px solid var(--line); color: var(--slate); }
.form-status--info svg { fill: var(--orange-dark); }
.form-status a { font-weight: 600; text-decoration: underline; }

.form-note {
  margin-top: 16px;
  font-size: 0.83rem;
  color: var(--muted);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.form-note svg { width: 15px; height: 15px; flex: none; margin-top: 3px; fill: var(--muted); }

/* ---------- Contact section ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.contact-card {
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.contact-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.contact-card p { font-size: 0.93rem; color: var(--muted); margin-bottom: 18px; }
.contact-card .meta-line {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: var(--font);
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 0.98rem;
}
.contact-card .meta-line svg { width: 18px; height: 18px; fill: var(--teal); flex: none; }
.contact-card__actions { margin-top: auto; display: grid; gap: 10px; padding-top: 18px; }

.contact-card--teal {
  background: linear-gradient(140deg, var(--teal), var(--teal-dark));
  border: none;
  color: #fff;
}
.contact-card--teal h3 { color: #fff; }
.contact-card--teal p { color: rgba(255, 255, 255, 0.88); }
.contact-card--teal .meta-line { color: #fff; }
.contact-card--teal .meta-line svg { fill: var(--orange); }
.contact-card--teal .icon-badge { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.28); }
.contact-card--teal .icon-badge svg { fill: #fff; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: #b9c5d0;
  padding: 62px 0 26px;
  margin-top: 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer h4 {
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer .brand__name { color: #fff; }
.footer p { font-size: 0.92rem; color: #b9c5d0; }
.footer ul { list-style: none; display: grid; gap: 11px; }
.footer ul a {
  color: #b9c5d0;
  font-size: 0.93rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer ul a:hover { color: var(--orange); padding-left: 4px; }
.footer__contact li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.93rem;
  color: #b9c5d0;
}
.footer__contact svg { width: 17px; height: 17px; fill: var(--orange); flex: none; }
.footer__contact a { color: #dfe7ec; }
.footer__contact a:hover { color: var(--orange); }
.footer__bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.82rem;
  color: #8695a3;
}
.footer__credits { max-width: 720px; font-size: 0.78rem; line-height: 1.6; }
.footer__credits a { color: #9fb0bf; text-decoration: underline; }

/* ---------- Floating action buttons ---------- */
.fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fab a {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.fab a:hover { transform: scale(1.08); box-shadow: var(--shadow-lg); }
.fab a svg { width: 28px; height: 28px; fill: #fff; }
.fab .fab-wa { background: var(--whatsapp); }
.fab .fab-call { background: var(--teal); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .gallery-card, .gallery-card__img { transition: none; }
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--teal);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.2s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; fill: var(--teal); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__aside { max-width: 520px; }
  .about__grid,
  .elig__grid,
  .admissions__grid,
  .enquiry__grid { grid-template-columns: 1fr; gap: 40px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav__links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    padding: 14px 18px 22px;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { padding: 14px 16px; font-size: 1rem; border-radius: var(--radius-sm); }
  .nav__toggle { display: block; }
  .nav__cta .btn:not(.nav__cta-primary) { display: none; }
  .nav__cta .btn { padding: 11px 18px; font-size: 0.88rem; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 66px 0; }
  .section-head { margin-bottom: 38px; }
  .container { padding-inline: 18px; }
  .hero { padding: 74px 0 84px; min-height: auto; }
  .hero__actions .btn { width: 100%; }
  .hero__quick li { font-size: 0.9rem; }
  .about__list { grid-template-columns: 1fr; }
  .about__list li { padding: 12px 14px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 26px 20px; }
  .elig__card { padding: 28px 22px; }
  .contact-panel { padding: 26px 20px; }
  .admissions__grid { gap: 34px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; }
  .brand__name { font-size: 0.95rem; }
  .fab a { width: 52px; height: 52px; }
  .fab a svg { width: 25px; height: 25px; }
  .to-top { width: 42px; height: 42px; left: 14px; bottom: 14px; }
  .fab { right: 14px; bottom: 14px; }
}

@media (max-width: 400px) {
  .hero__open { font-size: 1.35rem; }
  .btn { padding: 13px 20px; font-size: 0.92rem; }
}

/* ---------- Print ---------- */
@media print {
  .header, .fab, .to-top, .hero__bg, .hero__overlay { display: none !important; }
  .hero, .admissions { color: #000; background: #fff; }
}
