/* ==========================================================================
   Madhav College of Pharmacy — D.Pharmacy Admission 2027–28 landing page
   Palette taken from the official logo: blue #1166b0, green #269e38, red #e30613
   ========================================================================== */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700.woff") format("woff"); }

:root {
  --blue-950: #072a4a;
  --blue-900: #0a3a66;
  --blue-800: #0d4b85;
  --blue-700: #0f5a9c;
  --blue-600: #1166b0;          /* logo blue */
  --blue-100: #dbeafa;
  --blue-50:  #eef5fc;
  --green-700: #1b7a2b;         /* accessible button green */
  --green-600: #269e38;         /* logo green */
  --green-100: #d7f1dc;
  --green-50:  #eef9f0;
  --red-600:  #e30613;          /* logo red */
  --red-700:  #c0050f;
  --red-50:   #fff1f1;
  --peach-100: #fde8d8;
  --ink:   #0f1b2d;
  --body:  #33415c;
  --muted: #55627a;
  --line:  #e2e8f0;
  --soft:  #f5f8fc;
  --white: #ffffff;
  --wa:    #1b8f47;            /* WhatsApp action, AA contrast with white */

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, .06), 0 2px 8px rgba(15, 27, 45, .05);
  --shadow:    0 10px 30px rgba(10, 58, 102, .10);
  --shadow-lg: 0 24px 60px rgba(10, 58, 102, .18);

  --header-h: 72px;
  --container: 1200px;
  --gutter: 16px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
}

@media (min-width: 768px) { :root { --gutter: 24px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-600); text-underline-offset: 3px; }
a:hover { color: var(--blue-800); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; }
table { border-collapse: collapse; width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--blue-900); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 500; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.35rem;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: .98rem; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--blue-600); color: #fff; box-shadow: 0 8px 20px rgba(17, 102, 176, .28); }
.btn--primary:hover { background: var(--blue-800); color: #fff; }
.btn--accent { background: var(--red-600); color: #fff; box-shadow: 0 8px 20px rgba(227, 6, 19, .25); }
.btn--accent:hover { background: var(--red-700); color: #fff; }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px rgba(27, 143, 71, .25); }
.btn--wa:hover { background: #157239; color: #fff; }
.btn--ghost { background: #fff; color: var(--blue-700); border-color: var(--blue-100); }
.btn--ghost:hover { border-color: var(--blue-600); color: var(--blue-800); }
.btn--light { background: #fff; color: var(--blue-900); }
.btn--light:hover { background: var(--blue-50); color: var(--blue-900); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn--sm { min-height: 42px; padding: .55rem 1rem; font-size: .92rem; }
.btn--block { width: 100%; }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.text-link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link .icon { width: 1em; height: 1em; }

/* ---------- Top bar ---------- */
.topbar { background: var(--blue-950); color: #dbe7f5; font-size: .85rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 40px; }
.topbar__id { display: none; align-items: center; gap: .5rem; margin: 0; }
.topbar__id strong { color: #fff; font-weight: 600; }
.topbar__links { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar .icon { width: 1rem; height: 1rem; }
.topbar__loc { display: inline-flex; align-items: center; gap: .4rem; }
@media (max-width: 479px) { .topbar__loc { display: none; } .topbar__links { margin-inline: auto; } }
@media (min-width: 992px) { .topbar__id { display: inline-flex; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); border-bottom: 1px solid transparent; transition: box-shadow .2s ease, border-color .2s ease; }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255, 255, 255, .9); backdrop-filter: saturate(160%) blur(10px); } }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(10, 58, 102, .08); border-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { width: 52px; height: 52px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand__name { font-weight: 700; font-size: 1rem; color: var(--blue-600); letter-spacing: .01em; text-transform: uppercase; white-space: nowrap; }
.brand__sub { font-size: .72rem; color: var(--red-600); font-weight: 500; white-space: nowrap; }
@media (max-width: 379px) { .brand__name { font-size: .88rem; } .brand__sub { font-size: .66rem; } .brand img { width: 44px; height: 44px; } }

.nav { display: none; margin-left: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: .15rem; }
.nav__list a { display: block; padding: .5rem .6rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .93rem; white-space: nowrap; }
.nav__list a:hover { color: var(--blue-600); background: var(--blue-50); }
.header__actions { display: none; align-items: center; gap: .5rem; margin-left: auto; }
.header__actions .btn { white-space: nowrap; }
.header__wa { display: none !important; width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--green-50); color: var(--wa); text-decoration: none; }
.header__wa:hover { background: var(--green-100); color: var(--wa); }
.header__wa .icon { width: 22px; height: 22px; }
.nav-toggle { display: inline-grid; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer; place-items: center; }
.nav-toggle .icon { width: 24px; height: 24px; }

@media (min-width: 640px) {
  .header__actions { display: flex; }
  .nav-toggle { margin-left: .5rem; }
}
@media (min-width: 1240px) {
  .nav { display: block; }
  .nav-toggle { display: none; }
  .header__actions { margin-left: .75rem; }
  .site-header .brand__name { white-space: normal; max-width: 9.6em; line-height: 1.12; }
  .site-header .brand__sub { display: none; }
  .nav__list a { padding: .5rem .55rem; font-size: .9rem; }
}
@media (min-width: 1440px) { .header__wa { display: inline-grid !important; } }
@media (max-width: 639px) {
  .site-header .brand__name { white-space: normal; font-size: .9rem; line-height: 1.15; }
  .site-header .brand__sub { font-size: .66rem; }
}
@media (max-width: 359px) { .site-header .brand__sub { display: none; } }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 150; display: none; }
.mobile-menu.is-open { display: block; }
.mobile-menu__backdrop { position: absolute; inset: 0; background: rgba(7, 42, 74, .5); }
.mobile-menu__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(360px, 88vw);
  background: #fff; box-shadow: var(--shadow-lg); padding: 1rem 1.25rem 1.5rem; overflow-y: auto;
  display: flex; flex-direction: column; gap: 1rem;
  animation: slideIn .22s ease;
}
@keyframes slideIn { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .mobile-menu__panel { animation: none; } }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__head strong { color: var(--ink); }
.mobile-menu__close { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.mobile-menu__list { list-style: none; display: grid; gap: .15rem; }
.mobile-menu__list a { display: flex; align-items: center; justify-content: space-between; padding: .85rem .5rem; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; }
.mobile-menu__list a:hover { color: var(--blue-600); }
.mobile-menu__cta { display: grid; gap: .6rem; margin-top: auto; }
body.menu-open { overflow: hidden; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.section--soft { background: var(--soft); }
.section--blue { background: linear-gradient(180deg, var(--blue-50), #fff); }
.section-head { max-width: 760px; margin-bottom: clamp(1.75rem, 1.2rem + 2vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.04rem; margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue-700); background: var(--blue-50); border: 1px solid var(--blue-100);
  padding: .35rem .8rem; border-radius: 999px; margin-bottom: .9rem;
}
.eyebrow--green { color: var(--green-700); background: var(--green-50); border-color: var(--green-100); }
.eyebrow--red { color: var(--red-700); background: var(--red-50); border-color: #ffd3d5; }
.accent { color: var(--blue-600); }
.accent-red { color: var(--red-600); }
.note { font-size: .88rem; color: var(--muted); }
.note strong { color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(38, 158, 56, .10), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(17, 102, 176, .10), transparent 60%),
    linear-gradient(180deg, var(--blue-50) 0%, #fff 100%);
  padding-top: clamp(1.75rem, 1rem + 3vw, 3.5rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(rgba(17, 102, 176, .16) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}
.hero__grid { position: relative; display: grid; gap: 1.75rem; grid-template-areas: "copy" "form"; padding-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.hero__copy { grid-area: copy; min-width: 0; }
.hero__media { grid-area: media; display: none; position: relative; align-self: end; }
.hero__form { grid-area: form; min-width: 0; }
.hero__eyebrow { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-700); background: #fff; border: 1px solid var(--blue-100); border-radius: 999px; padding: .4rem .85rem; box-shadow: var(--shadow-sm); margin-bottom: 1.1rem; }
.hero__eyebrow { flex-wrap: nowrap; }
.hero__eyebrow .dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--red-600); }
@media (max-width: 479px) { .hero__eyebrow { font-size: .66rem; letter-spacing: .06em; border-radius: 14px; } }
.hero h1 { margin-bottom: .35rem; }
.hero h1 .year { color: var(--blue-600); white-space: nowrap; }
.hero__sub { font-size: clamp(1.1rem, .95rem + .7vw, 1.4rem); font-weight: 700; color: var(--green-700); margin-bottom: .9rem; line-height: 1.35; }
.hero__lead { font-size: 1.02rem; color: var(--body); max-width: 560px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.1rem 0 1.4rem; }
.chips li { display: inline-flex; align-items: center; gap: .4rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .4rem .8rem; font-size: .85rem; font-weight: 500; color: var(--ink); box-shadow: var(--shadow-sm); }
.chips .icon { width: 1rem; height: 1rem; color: var(--green-600); stroke-width: 3; }
.hero__cta { margin-bottom: 1rem; }
.hero__call { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.hero__call-icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--blue-600); color: #fff; }
.hero__call-text { display: flex; flex-direction: column; line-height: 1.25; }
.hero__call-text small { font-size: .8rem; color: var(--muted); font-weight: 500; }
.hero__call strong { color: var(--blue-700); font-size: 1.05rem; white-space: nowrap; }
.hero__call:hover strong { text-decoration: underline; }

.hero__img { width: 100%; max-width: 300px; margin-inline: auto; filter: drop-shadow(0 20px 30px rgba(10, 58, 102, .15)); }
.fee-badge {
  position: absolute; left: -6px; bottom: 26%;
  background: #fff; border-radius: 16px; padding: .7rem .9rem; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); max-width: 190px; line-height: 1.25;
}
.fee-badge small { display: block; font-size: .7rem; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.fee-badge strong { display: block; font-size: 1.35rem; color: var(--red-600); margin: .15rem 0; }
.fee-badge span { display: block; font-size: .75rem; color: var(--ink); font-weight: 500; }
.seal-badge { position: absolute; right: 2px; top: 6%; width: 74px; height: 74px; border-radius: 50%; background: #fff; padding: 4px; box-shadow: var(--shadow); }

@media (min-width: 640px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) 240px; grid-template-areas: "copy media" "form form"; column-gap: 1.5rem; }
  .hero__media { display: block; }
  .hero__form { max-width: 680px; width: 100%; justify-self: center; }
}
@media (min-width: 1200px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) 290px 400px; grid-template-areas: "copy media form"; column-gap: 1.75rem; align-items: center; }
  .hero__form { max-width: none; align-self: start; }
  .hero__media { align-self: end; margin-bottom: calc(-1 * clamp(2.5rem, 2rem + 2vw, 4rem)); z-index: 0; }
  .hero__img { width: 390px; max-width: none; margin: 0 -50px 0 -50px; }
  .hero__form { position: relative; z-index: 2; }
  .fee-badge { left: -40px; bottom: 30%; }
}

/* ---------- Enquiry form ---------- */
.form-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; scroll-margin-top: calc(var(--header-h) + 12px); }
.form-card__head { background: linear-gradient(135deg, var(--blue-700), var(--blue-600)); color: #fff; padding: 1.1rem 1.3rem; }
.form-card__head h2 { color: #fff; font-size: 1.18rem; margin: 0 0 .2rem; letter-spacing: 0; }
.form-card__head p { margin: 0; font-size: .86rem; color: #e1ecf8; }
.form-card__body { padding: 1.2rem 1.3rem 1.3rem; }
.enquiry-form { display: grid; gap: .85rem; }
.form-row { display: grid; gap: .85rem; grid-template-columns: 1fr; }
@media (min-width: 360px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479px) { .form-row--phones { grid-template-columns: 1fr; } }
.field { display: grid; gap: .3rem; min-width: 0; }
.field label, .field .label { font-size: .84rem; font-weight: 600; color: var(--ink); }
.field .req { color: var(--red-600); }
.field .opt { color: var(--muted); font-weight: 400; }
.input, .select {
  width: 100%; min-height: 46px; padding: .6rem .8rem;
  border: 1.5px solid #cfd8e3; border-radius: 12px; background: #fff;
  font-size: 16px; /* prevents iOS zoom */ color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.select { appearance: none; -webkit-appearance: none; padding-right: 2.2rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2333415c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .7rem center; background-size: 18px; text-overflow: ellipsis; }
.input::placeholder { color: #8a96a8; }
.input:focus, .select:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(17, 102, 176, .15); }
.input-group { display: flex; align-items: stretch; }
.input-group__prefix { display: grid; place-items: center; padding: 0 .65rem; border: 1.5px solid #cfd8e3; border-right: 0; border-radius: 12px 0 0 12px; background: var(--soft); color: var(--muted); font-weight: 500; font-size: .92rem; }
.input-group .input { border-radius: 0 12px 12px 0; min-width: 0; }
.field.has-error .input, .field.has-error .select, .field.has-error .input-group__prefix { border-color: var(--red-600); }
.field.has-error .input:focus { box-shadow: 0 0 0 4px rgba(227, 6, 19, .14); }
.field-error { font-size: .8rem; color: var(--red-700); font-weight: 500; min-height: 0; }
.field-error:empty { display: none; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: .6rem; align-items: start; font-size: .8rem; color: var(--body); line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin: .1rem 0 0; accent-color: var(--blue-600); }
.consent a { font-weight: 600; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: 12px; padding: .8rem .9rem; font-size: .9rem; line-height: 1.5; }
.form-status[hidden] { display: none; }
.form-status--error { background: var(--red-50); color: var(--red-700); border: 1px solid #ffc9cc; }
.form-status--error a { color: var(--red-700); font-weight: 700; }
.form-trust { display: flex; align-items: center; gap: .45rem; justify-content: center; font-size: .78rem; color: var(--muted); margin: 0; text-align: center; }
.form-trust .icon { width: 1rem; height: 1rem; color: var(--green-600); }
.btn[aria-busy="true"] { opacity: .85; cursor: progress; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: spin .8s linear infinite; display: none; }
.btn[aria-busy="true"] .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-or { display: flex; align-items: center; gap: .75rem; color: var(--muted); font-size: .8rem; }
.form-or::before, .form-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.form-success { text-align: center; padding: .5rem 0 .25rem; }
.form-success[hidden] { display: none; }
.form-success__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--green-50); color: var(--green-600); display: grid; place-items: center; margin: 0 auto .9rem; }
.form-success__icon .icon { width: 32px; height: 32px; stroke-width: 3; }
.form-success h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.form-success p { color: var(--body); font-size: .95rem; }
.form-success .ref { display: inline-block; font-size: .8rem; color: var(--muted); background: var(--soft); border-radius: 8px; padding: .25rem .6rem; margin-bottom: 1rem; }

/* ---------- Trust strip ---------- */
.trust { background: var(--blue-900); color: #fff; position: relative; z-index: 1; }
.trust__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.trust__item { display: flex; align-items: center; gap: .75rem; padding: 1.1rem .5rem; border-bottom: 1px solid rgba(255, 255, 255, .1); min-width: 0; }
.trust__item:last-child { grid-column: 1 / -1; }
@media (max-width: 559px) {
  .trust__list { grid-template-columns: 1fr; }
  .trust__item { padding: .8rem .25rem; }
  .trust__item span { display: inline; }
  .trust__item strong { display: block; }
}
.trust__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; color: #9fd6a8; }
.trust__icon .icon { width: 22px; height: 22px; }
.trust__item strong { display: block; color: #fff; font-size: .95rem; line-height: 1.25; }
.trust__item span { display: block; font-size: .8rem; color: #b8cde4; line-height: 1.35; }
@media (min-width: 768px) {
  .trust__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust__item:last-child { grid-column: auto; }
  .trust__item:nth-child(4) { grid-column: span 1; }
}
@media (min-width: 1100px) {
  .trust__list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .trust__item { border-bottom: 0; border-right: 1px solid rgba(255, 255, 255, .1); padding: 1.4rem 1rem; }
  .trust__item:last-child { border-right: 0; }
}

/* ---------- About ---------- */
.about__grid { display: grid; gap: 2rem; }
@media (min-width: 992px) { .about__grid { grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: start; } }
.about__copy p { font-size: 1.02rem; }
.check-list { list-style: none; display: grid; gap: .65rem; margin: 1.2rem 0 1.6rem; }
.check-list li { display: grid; grid-template-columns: auto 1fr; gap: .65rem; align-items: start; }
.check-list .tick { width: 24px; height: 24px; border-radius: 50%; background: var(--green-50); color: var(--green-600); display: grid; place-items: center; margin-top: .1rem; }
.check-list .tick .icon { width: 14px; height: 14px; stroke-width: 3.2; }
.check-list strong { color: var(--ink); }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; box-shadow: var(--shadow); }
.team-card h3 { margin-bottom: .2rem; }
.team-card > p { color: var(--muted); font-size: .92rem; }
.team { list-style: none; display: grid; gap: 1rem; }
.team li { display: grid; grid-template-columns: 72px 1fr; gap: 1rem; align-items: center; padding: .75rem; border-radius: var(--radius); background: var(--soft); }
.team img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: #fff; }
.team strong { display: block; color: var(--ink); font-size: 1rem; }
.team span { display: block; font-size: .86rem; color: var(--muted); }
.team a { font-size: .84rem; font-weight: 600; text-decoration: none; }
.team a:hover { text-decoration: underline; }
.about__est { display: flex; align-items: center; gap: .9rem; margin-top: 1rem; padding: 1rem; border-radius: var(--radius); border: 1px dashed var(--blue-100); background: var(--blue-50); }
.about__est img { width: 64px; height: 64px; }
.about__est p { margin: 0; font-size: .9rem; }

/* ---------- Programme ---------- */
.programme__grid { display: grid; gap: 1.5rem; }
@media (min-width: 992px) { .programme__grid { grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; } }
.glance { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.glance caption { text-align: left; padding: 1rem 1.2rem; font-weight: 700; color: #fff; background: var(--blue-700); font-size: 1.02rem; }
.glance th, .glance td { padding: .8rem 1.2rem; border-top: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .94rem; }
.glance th { width: 38%; color: var(--ink); font-weight: 600; background: var(--soft); }
.glance td { color: var(--body); }
.subjects { display: grid; gap: 1rem; }
.subject-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.2rem 1.3rem; box-shadow: var(--shadow-sm); }
.subject-card h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.05rem; }
.subject-card h3 .pill { font-size: .72rem; font-weight: 700; color: var(--blue-700); background: var(--blue-50); padding: .2rem .55rem; border-radius: 999px; letter-spacing: .04em; }
.subject-list { list-style: none; display: grid; gap: .1rem; }
.subject-list li { display: grid; grid-template-columns: 74px 1fr; gap: .5rem; padding: .45rem 0; border-bottom: 1px dashed var(--line); font-size: .93rem; color: var(--ink); }
.subject-list li:last-child { border-bottom: 0; }
.subject-list code { font-family: inherit; font-size: .78rem; font-weight: 600; color: var(--blue-700); background: var(--blue-50); border-radius: 6px; padding: .1rem .4rem; align-self: center; justify-self: start; }
.programme__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; }
.fact { background: var(--green-50); border-radius: var(--radius); padding: .9rem 1rem; }
.fact strong { display: block; color: var(--green-700); font-size: 1.15rem; line-height: 1.2; }
.fact span { font-size: .82rem; color: var(--ink); }
.programme__cta { margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }

/* ---------- Cards grid ---------- */
.cards { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-100); }
@media (prefers-reduced-motion: reduce) { .card:hover, .btn:hover { transform: none; } }
.card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); margin-bottom: 1rem; }
.card__icon .icon { width: 26px; height: 26px; }
.card__icon--green { background: var(--green-50); color: var(--green-600); }
.card__icon--red { background: var(--red-50); color: var(--red-600); }
.card h3 { margin-bottom: .4rem; }
.card p { margin: 0; font-size: .94rem; color: var(--body); }
.card .card__tag { position: absolute; top: 1.2rem; right: 1.2rem; font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--green-700); background: var(--green-50); padding: .2rem .55rem; border-radius: 999px; }

/* ---------- CTA band (mid page) ---------- */
.band { background: linear-gradient(120deg, var(--blue-800), var(--blue-600)); color: #fff; border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); display: grid; gap: 1.25rem; align-items: center; margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.band h3 { color: #fff; font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); margin-bottom: .3rem; }
.band p { margin: 0; color: #dbe9f8; }
.band .btn-row { position: relative; z-index: 1; }
@media (min-width: 900px) { .band { grid-template-columns: 1fr auto; } }

/* ---------- Fees ---------- */
.fee-grid { display: grid; gap: 1.5rem; }
@media (min-width: 992px) { .fee-grid { grid-template-columns: .9fr 1.1fr; gap: 2rem; align-items: start; } }
.fee-summary { display: grid; gap: 1rem; }
.fee-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.25rem 1.4rem; box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.fee-tile small { display: block; font-size: .8rem; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }
.fee-tile strong { display: block; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); color: var(--ink); line-height: 1.15; }
.fee-tile span.per { font-size: .9rem; color: var(--muted); font-weight: 500; }
.fee-tile--highlight { background: linear-gradient(135deg, var(--blue-700), var(--blue-600)); border-color: transparent; }
.fee-tile--highlight small, .fee-tile--highlight span.per { color: #d4e5f7; }
.fee-tile--highlight strong { color: #fff; }
.fee-tile .badge-ok { flex: none; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--green-700); background: var(--green-50); padding: .3rem .6rem; border-radius: 999px; }
.fee-tile--highlight .badge-ok { background: rgba(255, 255, 255, .16); color: #fff; }
.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { min-width: 460px; }
.data-table caption { text-align: left; padding: 1rem 1.2rem; font-weight: 700; color: var(--ink); font-size: 1.02rem; border-bottom: 1px solid var(--line); }
.data-table th, .data-table td { padding: .75rem 1rem; text-align: left; font-size: .92rem; border-bottom: 1px solid var(--line); }
.data-table thead th { background: var(--soft); color: var(--ink); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.data-table tbody tr:last-child td, .data-table tbody tr:last-child th { border-bottom: 0; }
.data-table tbody th { color: var(--ink); font-weight: 600; }
.data-table td.amount { font-weight: 700; color: var(--ink); white-space: nowrap; }
.data-table .year-row th { background: var(--blue-50); color: var(--blue-800); font-size: .85rem; }
.fee-notes { list-style: none; display: grid; gap: .6rem; margin-top: 1rem; }
.fee-notes li { display: grid; grid-template-columns: auto 1fr; gap: .6rem; font-size: .92rem; }
.fee-notes .icon { width: 20px; height: 20px; color: var(--blue-600); margin-top: .15rem; }

/* ---------- Scholarships ---------- */
.schol-grid { display: grid; gap: 1.5rem; }
@media (min-width: 992px) { .schol-grid { grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; } }
.group-list { list-style: none; display: grid; gap: .6rem; }
@media (min-width: 560px) { .group-list { grid-template-columns: 1fr 1fr; } }
.group-list li { display: flex; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .7rem .9rem; font-size: .92rem; font-weight: 500; color: var(--ink); }
.group-list .icon { color: var(--green-600); width: 18px; height: 18px; stroke-width: 3; }
.savings-table td.save { color: var(--green-700); font-weight: 700; }
.callout { border-left: 4px solid var(--blue-600); background: var(--blue-50); padding: .9rem 1rem; border-radius: 0 12px 12px 0; font-size: .9rem; color: var(--ink); margin-top: 1rem; }
.callout--warn { border-color: var(--red-600); background: var(--red-50); }

/* ---------- Facilities ---------- */
.facility { display: flex; flex-direction: column; }
.facility ul { list-style: none; display: grid; gap: .35rem; margin-top: .6rem; }
.facility li { display: grid; grid-template-columns: auto 1fr; gap: .5rem; font-size: .9rem; color: var(--body); }
.facility li .icon { width: 16px; height: 16px; color: var(--green-600); margin-top: .3rem; stroke-width: 3; }

/* ---------- Eligibility & process ---------- */
.elig-grid { display: grid; gap: 1.5rem; }
@media (min-width: 992px) { .elig-grid { grid-template-columns: .95fr 1.05fr; gap: 2rem; align-items: start; } }
.elig-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.elig-card__head { background: var(--green-700); color: #fff; padding: 1rem 1.3rem; display: flex; align-items: center; gap: .7rem; }
.elig-card__head h3 { color: #fff; margin: 0; font-size: 1.1rem; }
.elig-card__head .icon { width: 26px; height: 26px; }
.elig-list { list-style: none; display: grid; }
.elig-list li { display: grid; grid-template-columns: 40px 1fr; gap: .75rem; padding: 1rem 1.3rem; border-bottom: 1px solid var(--line); }
.elig-list li:last-child { border-bottom: 0; }
.elig-list .num { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--green-50); color: var(--green-700); }
.elig-list .num .icon { width: 20px; height: 20px; }
.elig-list strong { display: block; color: var(--ink); }
.elig-list span { font-size: .92rem; }
.stream-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .4rem; }
.stream-tags b { font-size: .78rem; background: var(--blue-50); color: var(--blue-700); border-radius: 999px; padding: .15rem .6rem; }

.steps { list-style: none; counter-reset: step; display: grid; gap: .25rem; }
.steps li { counter-increment: step; position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 1rem; padding-bottom: 1.25rem; }
.steps li::before { content: counter(step); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-600); color: #fff; font-weight: 700; font-size: 1.1rem; box-shadow: 0 0 0 6px var(--blue-50); position: relative; z-index: 1; }
.steps li::after { content: ""; position: absolute; left: 23px; top: 52px; bottom: 0; width: 2px; background: var(--blue-100); }
.steps li:last-child::after { display: none; }
.steps h3 { margin: .55rem 0 .2rem; font-size: 1.05rem; }
.steps p { margin: 0; font-size: .93rem; }
.apply-ways { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 768px) { .apply-ways { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.way { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.25rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: .5rem; }
.way h3 { display: flex; align-items: center; gap: .55rem; font-size: 1.02rem; margin: 0; }
.way h3 .icon { color: var(--blue-600); }
.way p { font-size: .9rem; margin: 0; flex: 1; }
.way .text-link { margin-top: .4rem; }

/* ---------- Documents ---------- */
.docs-grid { display: grid; gap: 1.5rem; }
@media (min-width: 992px) { .docs-grid { grid-template-columns: 1.3fr .7fr; gap: 2rem; align-items: start; } }
.doc-list { list-style: none; display: grid; gap: .65rem; }
@media (min-width: 640px) { .doc-list { grid-template-columns: 1fr 1fr; } }
.doc-list li { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .85rem 1rem; font-size: .93rem; color: var(--ink); }
.doc-list .icon { color: var(--blue-600); width: 22px; height: 22px; }
.doc-list small { display: block; color: var(--muted); font-size: .8rem; }
.aside-card { background: var(--blue-900); color: #dbe7f5; border-radius: var(--radius-lg); padding: 1.5rem; }
.aside-card h3 { color: #fff; }
.aside-card p { font-size: .92rem; }
.aside-card .btn { width: 100%; }
.aside-card .btn + .btn { margin-top: .6rem; }

/* ---------- Careers ---------- */
.career-note { margin-top: 1.5rem; }

/* ---------- Academic support ---------- */
.support { background: linear-gradient(180deg, #fff, var(--green-50)); }
.res-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .res-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .res-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.res { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; align-items: start; background: #fff; border-radius: var(--radius-lg); padding: 1.2rem; border: 1px solid var(--green-100); box-shadow: var(--shadow-sm); }
.res .card__icon { margin: 0; }
.res h3 { font-size: 1.02rem; margin-bottom: .25rem; }
.res p { font-size: .9rem; margin: 0; }
.res .free { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--green-700); border-radius: 999px; padding: .1rem .5rem; margin-left: .3rem; vertical-align: middle; }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gallery__item { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--blue-50); aspect-ratio: 4 / 3; border: 0; padding: 0; cursor: zoom-in; }
.gallery__item img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, opacity .7s ease; }
.gallery__item img.is-pending { opacity: 0; }
.gallery__item:disabled { cursor: default; }
.gallery__item:hover img { transform: scale(1.04); }
@media (min-width: 768px) { .gallery__item--wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; } }
.gallery__item.is-broken { display: none; }
.gallery-fallback { display: none; text-align: center; padding: 2rem 1rem; border: 1px dashed var(--blue-100); border-radius: var(--radius-lg); background: var(--blue-50); }
.gallery-wrap.all-broken .gallery-fallback { display: block; }
.gallery-actions { margin-top: 1.5rem; display: flex; justify-content: center; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; }
.lightbox::backdrop { background: rgba(7, 20, 36, .85); }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: 12px; margin: 0 auto; }
.lightbox__close { position: fixed; top: 14px; right: 14px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.lightbox__caption { color: #e6eef8; text-align: center; font-size: .85rem; margin: .6rem 0 0; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 1.5rem; }
@media (min-width: 992px) { .faq-grid { grid-template-columns: .7fr 1.3fr; gap: 2.5rem; align-items: start; } .faq-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.faq { display: grid; gap: .65rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: border-color .2s ease; }
.faq details[open] { border-color: var(--blue-100); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem; font-weight: 600; color: var(--ink); font-size: .98rem; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; transition: transform .2s ease; }
.faq summary .chev .icon { width: 18px; height: 18px; }
.faq details[open] summary .chev { transform: rotate(180deg); background: var(--blue-600); color: #fff; }
.faq .answer { padding: 0 1.15rem 1.1rem; font-size: .94rem; }
.faq .answer p:last-child, .faq .answer ul:last-child { margin-bottom: 0; }
.faq .answer ul { padding-left: 1.2rem; margin-bottom: 1rem; }

/* ---------- Final CTA ---------- */
.final-cta { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--blue-950) 0%, var(--blue-700) 60%, var(--blue-600) 100%); color: #fff; padding-block: clamp(3rem, 2rem + 4vw, 5rem) 0; }
.final-cta::before { content: ""; position: absolute; left: -120px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; background: rgba(38, 158, 56, .25); filter: blur(10px); }
.final-cta__grid { position: relative; display: grid; gap: 1.5rem; align-items: end; }
.final-cta__copy { padding-bottom: clamp(3rem, 2rem + 4vw, 5rem); }
.final-cta h2 { color: #fff; }
.final-cta p { color: #d6e6f7; font-size: 1.05rem; max-width: 620px; }
.final-cta__media { display: none; }
@media (min-width: 900px) {
  .final-cta__grid { grid-template-columns: 1fr 300px; }
  .final-cta__media { display: block; }
  .final-cta__media img { width: 300px; margin-left: auto; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .25)); }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.05fr .95fr 1.2fr .95fr; } }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.3rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: .4rem; }
.contact-card h3 { font-size: 1rem; margin: .4rem 0 0; }
.contact-card p { font-size: .92rem; margin: 0; }
.contact-card a { font-weight: 600; text-decoration: none; word-break: break-word; }
.contact-card a:hover { text-decoration: underline; }
.contact-card .card__icon { margin-bottom: .2rem; }
.official-link { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: var(--radius-lg); padding: 1.2rem 1.4rem; }
.official-link p { margin: 0; color: var(--ink); font-weight: 500; }
.official-link small { display: block; font-weight: 400; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-950); color: #b8cbe0; font-size: .92rem; }
.footer__top { padding-block: 3.25rem 2rem; display: grid; gap: 2rem; }
@media (min-width: 640px) { .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .footer__top { grid-template-columns: 1.3fr 1fr 1.1fr .8fr; gap: 2.5rem; } }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__sub { color: #ffb3b7; }
.footer__brand p { margin: 1rem 0; }
.site-footer h3 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 1rem; }
.footer__list { list-style: none; display: grid; gap: .55rem; }
.site-footer a { color: #dce8f5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__list .icon { width: 1rem; height: 1rem; display: inline-block; vertical-align: -2px; margin-right: .35rem; color: #9fd6a8; }
.footer__list a .ext { width: .8rem; height: .8rem; margin: 0 0 0 .3rem; color: #8aa6c4; }
.footer__official { display: inline-flex; align-items: center; gap: .5rem; margin-top: .5rem; padding: .7rem 1rem; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); color: #fff !important; font-weight: 600; }
.footer__official:hover { background: rgba(255, 255, 255, .14); text-decoration: none !important; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 1.25rem; font-size: .84rem; display: grid; gap: .5rem; }
.footer__bottom p { margin: 0; }
@media (min-width: 900px) { .footer__bottom { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- Floating & sticky actions ---------- */
.float-wa { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: none; place-items: center; box-shadow: 0 12px 28px rgba(27, 143, 71, .4); text-decoration: none; }
.float-wa:hover { color: #fff; background: #157239; }
.float-wa .icon { width: 30px; height: 30px; }
@media (min-width: 900px) { .float-wa { display: grid; } }

.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: .5rem;
  padding: .55rem .6rem calc(.55rem + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(10, 58, 102, .12);
  transition: transform .25s ease;
}
.action-bar a { display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 46px; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: .9rem; }
.action-bar .icon { width: 1.15rem; height: 1.15rem; }
.action-bar__call { background: var(--blue-50); color: var(--blue-700); }
.action-bar__wa { background: var(--wa); color: #fff; }
.action-bar__apply { background: var(--red-600); color: #fff; }
.action-bar a:hover { filter: brightness(.96); }
.action-bar.is-hidden { transform: translateY(110%); }
@media (max-width: 899px) { body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); } }
@media (min-width: 900px) { .action-bar { display: none; } }

/* ---------- Legal pages ---------- */
.legal-hero { background: linear-gradient(180deg, var(--blue-50), #fff); padding-block: 3rem 1.5rem; }
.legal-hero p { color: var(--muted); margin: 0; }
.legal { padding-block: 1rem 4rem; }
.legal-hero .container, .legal .container { max-width: calc(820px + var(--gutter) * 2); }
.prose h2 { font-size: 1.35rem; margin-top: 2rem; }
.prose h3 { font-size: 1.08rem; margin-top: 1.4rem; }
.prose ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.prose li { margin-bottom: .35rem; }
.prose table { margin-bottom: 1rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .55rem .75rem; text-align: left; vertical-align: top; font-size: .92rem; }
.prose th { background: var(--soft); color: var(--ink); }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 4rem; }

/* ---------- Print ---------- */
@media print {
  .topbar, .site-header, .action-bar, .float-wa, .hero__form, .mobile-menu { display: none !important; }
  body { padding: 0; }
}

/* Grid items must be allowed to shrink so wide tables scroll inside their wrapper */
.about__grid > *, .programme__grid > *, .fee-grid > *, .schol-grid > *, .elig-grid > *, .docs-grid > *,
.faq-grid > *, .final-cta__grid > *, .contact-grid > *, .footer__top > *, .cards > *, .apply-ways > * { min-width: 0; }

/* Phone layout for fee tables: no sideways scrolling */
@media (max-width: 559px) {
  .data-table { min-width: 0; }
  .data-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .data-table tbody tr { display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; row-gap: .15rem; padding: .75rem 1rem; border-bottom: 1px solid var(--line); }
  .data-table tbody tr:last-child { border-bottom: 0; }
  .data-table tbody th, .data-table tbody td { border: 0; padding: 0; }
  .data-table tbody td.amount { text-align: right; }
  .data-table tbody td[data-label] { grid-column: 1 / -1; font-size: .86rem; color: var(--muted); }
  .data-table tbody td[data-label]::before { content: attr(data-label) ": "; font-weight: 600; color: var(--ink); }
  .data-table tbody td.save { color: var(--green-700); }
  .data-table .year-row { display: block; padding: 0; }
  .data-table .year-row th { display: block; padding: .5rem 1rem; }
}

/* Phones: highlight chips scroll sideways in one row so the CTAs stay near the top */
@media (max-width: 639px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 8px; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chips li { flex: none; scroll-snap-align: start; white-space: nowrap; }
}
@media (max-width: 379px) {
  .action-bar { grid-template-columns: .9fr 1.2fr 1.1fr; gap: .4rem; padding-inline: .45rem; }
  .action-bar a { font-size: .84rem; gap: .3rem; }
}
