/*!
 * University of Sharjah – Undergraduate landing page
 * Plain CSS, no framework, no build step. Works for LTR (English) and RTL (Arabic):
 * logical properties (margin-inline, inset-inline…) are used throughout.
 *
 * FONT: 29LT Bukra is a commercial font. Point the src URLs below at the
 * university's licensed webfont files (www.sharjah.ac.ae already serves Bukra
 * from /assets/fonts/). See it-integration/README.md → "Before going live".
 */

/* ------------------------------------------------------------------ Fonts */
@font-face {
  font-family: "29LT Bukra";
  src: url("../fonts/29LTBukra-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "29LT Bukra";
  src: url("../fonts/29LTBukra-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "29LT Bukra";
  src: url("../fonts/29LTBukra-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ----------------------------------------------------------------- Tokens */
:root {
  /* Brand – taken from www.sharjah.ac.ae */
  --green: #00c389;          /* --color-primarycol */
  --green-hover: #00b07c;
  --green-ink: #00805a;      /* green for text on white (AA contrast) */
  --green-soft: #ddf3ed;     /* --color-lightgreencol */
  --logo-green: #39b285;
  --ink: #0b0f0e;
  --ink-2: #2f3432;
  --muted: #5f6563;
  --line: #e3e7e5;
  --bg: #ffffff;
  --bg-soft: #f4f7f6;
  --dark: #07130f;
  --dark-2: #0c1d17;
  --danger: #c62828;

  --font: "29LT Bukra", "Segoe UI", Tahoma, Arial, sans-serif;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11, 15, 14, .06), 0 4px 14px rgba(11, 15, 14, .05);
  --shadow: 0 10px 30px rgba(11, 15, 14, .08);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, .35);
  --container: 1240px;
  --gutter: 24px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* 8-point star lattice used as a subtle texture */
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1'%3E%3Crect x='24' y='24' width='32' height='32'/%3E%3Crect x='24' y='24' width='32' height='32' transform='rotate(45 40 40)'/%3E%3Cpath d='M40 0v17.4M40 62.6V80M0 40h17.4M62.6 40H80M0 0l24 24M80 0 56 24M0 80l24-24M80 80 56 56'/%3E%3C/g%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------- Base */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

html[dir="rtl"] body { line-height: 1.85; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -.01em;
}
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4 { letter-spacing: 0; line-height: 1.45; }

p { margin: 0; }
strong { font-weight: 500; color: var(--ink); }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
html[dir="rtl"] .icon--flip { transform: scaleX(-1); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  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;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* ---------------------------------------------------------------- Buttons */
.btn {
  --btn-bg: var(--green);
  --btn-fg: var(--ink);
  --btn-icon-bg: var(--ink);
  --btn-icon-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 8px 10px 8px 22px;
  padding-inline: 22px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { background: var(--green-hover); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0, 195, 137, .28); }
.btn:active { transform: translateY(0); }
.btn__icon {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--btn-icon-bg);
  color: var(--btn-icon-fg);
  transition: transform .25s var(--ease);
}
.btn__icon .icon { width: 16px; height: 16px; stroke-width: 2.2; }
.btn:hover .btn__icon { transform: translateX(3px); }
html[dir="rtl"] .btn:hover .btn__icon { transform: translateX(-3px); }

.btn--block { width: 100%; }
.btn--lg { min-height: 56px; font-size: 16px; }
.btn--plain { padding-inline: 22px; }

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-icon-bg: #fff;
  --btn-icon-fg: var(--ink);
  border-color: rgba(255, 255, 255, .45);
}
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; box-shadow: none; }

.btn--dark {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-icon-bg: var(--green);
  --btn-icon-fg: var(--ink);
}
.btn--dark:hover { background: #1d2422; box-shadow: 0 8px 20px rgba(0, 0, 0, .2); }

.btn--white {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
}
.btn--white:hover { background: #f1f5f3; box-shadow: 0 8px 20px rgba(0, 0, 0, .15); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-ink);
  font-weight: 500;
  text-decoration: none;
}
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow .icon { width: 18px; height: 18px; }

/* ----------------------------------------------------------------- Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  color: #fff;
  transition: background-color .3s, box-shadow .3s, color .3s, height .3s;
}
.site-header.is-solid {
  --header-h: 72px;
  height: 72px;
  background: rgba(255, 255, 255, .97);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(11, 15, 14, .06);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}
.brand { display: block; flex: none; }
.brand img { height: 66px; width: auto; transition: height .3s; }
.site-header.is-solid .brand img { height: 52px; }
.brand__light { display: block; }
.brand__dark { display: none !important; }
.site-header.is-solid .brand__light { display: none !important; }
.site-header.is-solid .brand__dark { display: block !important; }

.nav { margin-inline-start: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__link {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  opacity: .92;
  transition: background-color .2s, opacity .2s;
}
.nav__link:hover { opacity: 1; background: rgba(255, 255, 255, .12); }
.site-header.is-solid .nav__link:hover { background: var(--bg-soft); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding-inline: 12px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: background-color .2s, border-color .2s;
}
.lang-switch:hover { background: rgba(255, 255, 255, .12); }
.site-header.is-solid .lang-switch { border-color: var(--line); }
.site-header.is-solid .lang-switch:hover { background: var(--bg-soft); }
.header-actions .btn { min-height: 44px; padding-block: 6px; font-size: 14px; }
.header-actions .btn__icon { width: 28px; height: 28px; }

.nav-toggle {
  display: none;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
}
.site-header.is-solid .nav-toggle { border-color: var(--line); }

/* ------------------------------------------------------------------- Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 140px;
  color: rgba(255, 255, 255, .86);
  background:
    radial-gradient(900px 520px at 88% 8%, rgba(0, 195, 137, .30), transparent 62%),
    radial-gradient(760px 520px at -5% 105%, rgba(0, 195, 137, .20), transparent 60%),
    linear-gradient(160deg, #0d241c 0%, var(--dark) 55%, #040a08 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--pattern);
  background-size: 80px 80px;
  opacity: .055;
  -webkit-mask-image: linear-gradient(100deg, transparent 5%, #000 45%, #000 70%, transparent 100%);
  mask-image: linear-gradient(100deg, transparent 5%, #000 45%, #000 70%, transparent 100%);
}
.hero__dome {
  position: absolute;
  z-index: -1;
  inset-inline-start: -90px;
  bottom: -40px;
  width: min(860px, 80vw);
  opacity: .045;
  pointer-events: none;
}
.hero__arc {
  position: absolute;
  z-index: -1;
  inset-inline: -10% -10%;
  bottom: 60px;
  height: 220px;
  border-top: 2px solid rgba(0, 195, 137, .35);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 470px);
  gap: 64px;
  align-items: start;
}
.hero__content { padding-top: 40px; }
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  padding-inline: 12px 16px;
  border: 1px solid rgba(0, 195, 137, .45);
  border-radius: 999px;
  background: rgba(0, 195, 137, .12);
  color: #b9f3df;
  font-size: 14px;
  font-weight: 500;
}
.eyebrow-pill__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(0, 195, 137, .7);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 195, 137, .6); }
  70% { box-shadow: 0 0 0 10px rgba(0, 195, 137, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 195, 137, 0); }
}
.hero h1 {
  margin-top: 24px;
  color: #fff;
  font-size: clamp(34px, 4.3vw, 58px);
  line-height: 1.1;
}
html[dir="rtl"] .hero h1 { line-height: 1.35; }
.hero h1 .accent { color: var(--green); }
.hero__lead {
  max-width: 34em;
  margin-top: 22px;
  font-size: clamp(16px, 1.35vw, 19px);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 24px;
  margin: 44px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  list-style: none;
}
.hero__trust li { display: flex; align-items: center; gap: 12px; min-width: 0; }
.hero__trust .trust-badge {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  color: var(--green);
}
.hero__trust strong { display: block; color: #fff; font-size: 15px; line-height: 1.3; }
.hero__trust span { display: block; font-size: 13px; color: rgba(255, 255, 255, .65); line-height: 1.4; }

/* --------------------------------------------------------- Enquiry form */
.form-card {
  position: relative;
  padding: 30px 32px 26px;
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--ink-2);
  box-shadow: var(--shadow-lg);
}
.form-card::before {
  content: "";
  position: absolute;
  inset: 0 24px auto;
  height: 4px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, var(--green), var(--logo-green));
}
.form-card__title { font-size: 21px; line-height: 1.3; }
.form-card__intro { margin-top: 6px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

.form { margin-top: 18px; }
.form__row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.field { position: relative; margin-bottom: 12px; }
.field__label {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}
.field__label .req { color: var(--green-ink); }
.field__label .opt { color: var(--muted); font-weight: 300; font-size: 13px; }

.input,
.select,
.textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid #d5dbd8;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.4;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  -webkit-appearance: none;
  appearance: none;
}
.input::placeholder,
.textarea::placeholder { color: #8b928f; opacity: 1; }
.input:hover,
.select:hover,
.textarea:hover { border-color: #b9c2be; }
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(0, 195, 137, .18);
}
.textarea { min-height: 64px; resize: vertical; }
.select {
  padding-inline-end: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230b0f0e' 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-size: 18px;
  background-position: right 14px center;
  text-overflow: ellipsis;
  cursor: pointer;
}
html[dir="rtl"] .select { background-position: left 14px center; }
.select:disabled { background-color: var(--bg-soft); color: #8b928f; cursor: not-allowed; }
.select:invalid { color: #6f7673; }
.select option { color: var(--ink); }

.phone-group {
  display: flex;
  border: 1px solid #d5dbd8;
  border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
}
.phone-group:hover { border-color: #b9c2be; }
.phone-group:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px rgba(0, 195, 137, .18); }
.phone-group .input { border: 0; box-shadow: none !important; min-width: 0; }
/* Phone numbers read left-to-right in both languages: code first, then number. */
html[dir="rtl"] .phone-group { direction: ltr; }
html[dir="rtl"] .phone-group .input { text-align: left; }
html[dir="rtl"] .dial__select { direction: rtl; }
html[dir="rtl"] .input[type="email"] { text-align: left; }
.dial {
  position: relative;
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-inline: 14px 10px;
  border-inline-end: 1px solid #e1e6e3;
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  direction: ltr;
}
.dial .icon { width: 16px; height: 16px; color: var(--muted); }
.dial__select {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  cursor: pointer;
  font-size: 16px;
}
.dial:focus-within { color: var(--green-ink); }

.field__error {
  display: none;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--danger);
  font-size: 13px;
  line-height: 1.4;
}
.field__error .icon { width: 15px; height: 15px; }
.field.is-invalid .field__error { display: flex; }
.field.is-invalid .input,
.field.is-invalid .select,
.field.is-invalid .textarea,
.field.is-invalid .phone-group { border-color: var(--danger); }
.field.is-invalid .input:focus,
.field.is-invalid .select:focus,
.field.is-invalid .phone-group:focus-within { box-shadow: 0 0 0 4px rgba(198, 40, 40, .14); }
.field__hint { margin-top: 6px; color: var(--muted); font-size: 12.5px; line-height: 1.4; }

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2);
  cursor: pointer;
}
.check input {
  flex: none;
  width: 20px; height: 20px;
  margin: 1px 0 0;
  accent-color: var(--green);
  cursor: pointer;
}
.check a { color: var(--green-ink); font-weight: 500; }

.hp-field { position: absolute !important; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form__submit { margin-top: 16px; }
.form__submit .btn { position: relative; }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading .btn__icon .icon { display: none; }
.btn.is-loading .btn__icon::after {
  content: "";
  width: 14px; height: 14px;
  border: 2px solid currentColor;
  border-inline-end-color: transparent;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12.5px;
}
.form__secure .icon { width: 15px; height: 15px; color: var(--green-ink); }

.form-alert {
  display: none;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #fdecec;
  color: #8e1c1c;
  font-size: 14px;
  line-height: 1.5;
}
.form-alert.is-visible { display: flex; }
.form-alert .icon { margin-top: 2px; }
.form-alert a { color: inherit; font-weight: 500; }

.form-success { display: none; text-align: center; padding: 18px 0 6px; }
.form-card.is-success .form,
.form-card.is-success .form-card__head { display: none; }
.form-card.is-success .form-success { display: block; animation: rise .5s var(--ease) both; }
.form-success__icon {
  display: grid;
  place-items: center;
  width: 76px; height: 76px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-ink);
}
.form-success__icon .icon { width: 36px; height: 36px; stroke-width: 2.2; }
.form-success h3 { font-size: 24px; }
.form-success p { margin-top: 10px; color: var(--muted); }
.form-success p strong { color: var(--ink); }
.form-success .form-success__ref {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg-soft);
  font-size: 14px;
}
.form-success .form-success__ref[hidden] { display: none; }
.form-success__actions { display: grid; gap: 10px; margin-top: 26px; }
.text-btn {
  border: 0;
  background: none;
  color: var(--green-ink);
  font-weight: 500;
  cursor: pointer;
  padding: 10px;
}
.text-btn:hover { text-decoration: underline; }

@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ----------------------------------------------------------- Stats band */
.stats {
  position: relative;
  z-index: 2;
  margin-top: -76px;
}
.stats__card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;                       /* the 1px gaps show the background as dividers */
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
  box-shadow: var(--shadow);
}
.stat { padding: 30px 28px; background: #fff; }
.stat__value {
  display: block;
  color: var(--ink);
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 500;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
}
html[dir="rtl"] .stat__value { text-align: right; }
.stat__label { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.stat__bar { display: block; width: 28px; height: 3px; margin-bottom: 16px; border-radius: 3px; background: var(--green); }

/* --------------------------------------------------------------- Sections */
.section { padding-block: 112px; }
.section--soft { background: var(--bg-soft); }
.section--tight-top { padding-top: 96px; }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  max-width: none;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--green-ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}
html[dir="rtl"] .eyebrow { letter-spacing: 0; }
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--green); }
.section-head--center .eyebrow::before { display: none; }
.section-title { font-size: clamp(28px, 3vw, 42px); }
.section-lead { margin-top: 16px; font-size: 17px; color: var(--muted); }

/* --------------------------------------------------------------- About */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.about__text p { margin-top: 18px; font-size: 17px; }
.about__text .about__link { margin-top: 26px; }

.levels {
  position: relative;
  overflow: hidden;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: var(--dark);
  color: rgba(255, 255, 255, .75);
  text-align: center;
}
.levels::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--pattern);
  background-size: 64px 64px;
  opacity: .05;
}
.levels > * { position: relative; }
.levels__eyebrow {
  color: var(--green);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}
html[dir="rtl"] .levels__eyebrow { letter-spacing: 0; }
.levels__total {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-top: 18px;
  padding: 16px 36px;
  border: 1px solid rgba(0, 195, 137, .5);
  border-radius: var(--radius);
  background: rgba(0, 195, 137, .08);
}
.levels__value {
  display: block;
  color: #fff;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.levels__total .levels__value { font-size: 52px; }
.levels__label { display: block; margin-top: 6px; font-size: 14px; line-height: 1.35; }
.levels__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 30px 0 0;
  padding: 26px 0 0;
  list-style: none;
}
/* tree connectors: stem from the total, a bar, and a drop to each tile */
.levels__grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: rgba(0, 195, 137, .45);
}
.levels__grid::after {
  content: "";
  position: absolute;
  top: -30px;
  left: 50%;
  width: 1px;
  height: 30px;
  background: rgba(0, 195, 137, .45);
}
.levels__grid li {
  position: relative;
  padding: 18px 8px 16px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  background: rgba(255, 255, 255, .05);
}
.levels__grid li::before {
  content: "";
  position: absolute;
  top: -27px;
  left: 50%;
  width: 1px;
  height: 26px;
  background: rgba(0, 195, 137, .45);
}
.levels__grid li.is-highlight { border-color: var(--green); background: var(--green); color: rgba(11, 15, 14, .8); }
.levels__grid li.is-highlight .levels__value { color: var(--ink); }

.tick {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-ink);
}
.tick .icon { width: 14px; height: 14px; stroke-width: 2.6; }

.accred {
  position: relative;
  overflow: hidden;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: var(--dark);
  color: rgba(255, 255, 255, .78);
}
.accred::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--pattern);
  background-size: 64px 64px;
  opacity: .05;
}
.accred > * { position: relative; }
.accred__icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--green);
  color: var(--ink);
}
.accred__icon .icon { width: 28px; height: 28px; }
.accred h3 { margin-top: 22px; color: #fff; font-size: 22px; }
.accred p { margin-top: 10px; font-size: 15px; }
.accred-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; }
.accred__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.accred__list li {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
  transition: border-color .2s;
}
.accred__list li:hover { border-color: var(--green); }
.accred__list strong { display: block; color: #fff; font-size: 15px; }
.accred__list span { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.45; color: rgba(255, 255, 255, .6); }

.recog {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
.recog__title { font-size: 22px; }
.recog__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.recog__title + .recog__item { border-top: 0; padding-top: 0; }
.recog__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green-ink);
}
.recog__icon .icon { width: 22px; height: 22px; }
.recog h4 { font-size: 17px; line-height: 1.4; }
.recog p { margin-top: 6px; font-size: 15px; color: var(--muted); }
.recog__list { display: grid; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.recog__list li { position: relative; padding-inline-start: 18px; font-size: 14.5px; line-height: 1.55; }
.recog__list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 2px;
  top: .65em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* ------------------------------------------------------------- Rankings */
.rankings {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(0, 195, 137, .22), transparent 60%),
    linear-gradient(180deg, var(--dark-2), var(--dark));
  color: rgba(255, 255, 255, .75);
}
.rankings::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--pattern);
  background-size: 80px 80px;
  opacity: .04;
}
.rankings .section-title { color: #fff; }
.rankings .eyebrow { color: var(--green); }
.rankings .section-lead { color: rgba(255, 255, 255, .7); }
.rank-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rank-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .035);
  transition: border-color .25s, background-color .25s, transform .25s var(--ease);
}
.rank-card:hover { border-color: rgba(0, 195, 137, .55); background: rgba(0, 195, 137, .06); transform: translateY(-3px); }
.rank-card__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 92px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.rank-card__head h3 { color: #fff; font-size: 17px; line-height: 1.35; }
.rank-card__year {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(0, 195, 137, .15);
  color: var(--green);
  font-size: 12.5px;
  font-weight: 500;
  direction: ltr;
}
/* Each ranking: value on top, label underneath (robust for long values and Arabic labels). */
.rank-list { margin: 0; padding: 0; list-style: none; }
.rank-list li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.rank-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.rank-list__label { display: block; margin-top: 2px; }
html[dir="rtl"] .rank-list__value { text-align: right; }
.rank-list__value {
  display: block;
  color: #fff;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
}
.rank-list__value sup { font-size: .5em; color: var(--green); }
.rank-list__label { font-size: 14.5px; line-height: 1.4; color: rgba(255, 255, 255, .72); }
.rank-card--feature { background: var(--green); border-color: var(--green); }
.rank-card--feature:hover { background: var(--green); border-color: var(--green); }
.rank-card--feature .rank-card__head { border-color: rgba(11, 15, 14, .18); }
.rank-card--feature .rank-card__head h3,
.rank-card--feature .rank-list__value,
.rank-card--feature .rank-list__value sup { color: var(--ink); }
.rank-card--feature .rank-card__year { background: rgba(11, 15, 14, .12); color: var(--ink); }
.rank-card--feature .rank-list li { border-color: rgba(11, 15, 14, .14); }
.rank-card--feature .rank-list__label { color: rgba(11, 15, 14, .78); }
.rankings__note { margin-top: 32px; }
.rankings__note .link-arrow { color: #fff; }

/* ------------------------------------------------------------- Programs */
.programs-tools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.search {
  position: relative;
  width: min(360px, 100%);
}
.search .icon {
  position: absolute;
  inset-inline-start: 16px;
  top: 50%;
  width: 18px; height: 18px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.search .input { padding-inline-start: 46px; border-radius: 999px; background: #fff; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s, box-shadow .2s;
}
.chip:hover { border-color: #c4ccc8; box-shadow: var(--shadow-sm); }
.chip__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--green)); flex: none; }
.chip__count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding-inline: 6px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 12px;
}
.chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.chip[aria-pressed="true"] .chip__count { background: rgba(255, 255, 255, .16); color: #fff; }

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.program-card {
  --c: var(--green);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 26px 24px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
  animation: rise .4s var(--ease) both;
}
.program-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--c);
}
.program-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.program-card__college {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}
.program-card__college .chip__dot { width: 8px; height: 8px; }
.program-card__title { margin-top: 12px; font-size: 17px; line-height: 1.4; }
html[dir="rtl"] .program-card__title { line-height: 1.6; }
.program-card__tag {
  display: inline-block;
  align-self: flex-start;
  margin-top: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}
.program-card__tag--new { background: var(--green); color: var(--ink); }
.program-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 16px 0 0;
  border: 0;
  background: none;
  color: var(--green-ink);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  text-align: start;
}
.program-card__cta .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.program-card__cta:hover .icon { transform: translateX(3px); }
html[dir="rtl"] .program-card__cta:hover .icon { transform: scaleX(-1) translateX(3px); }

.programs-empty {
  display: none;
  padding: 48px 24px;
  border: 1px dashed #cfd6d3;
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted);
}
.programs-empty.is-visible { display: block; }
.programs-more { display: flex; justify-content: center; margin-top: 28px; }
.programs-more[hidden] { display: none; }
.programs-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}
.programs-foot p { color: var(--ink); font-weight: 500; }

/* ------------------------------------------------------------- Discount */
.offer {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  border-radius: 28px;
  background: var(--dark);
  color: rgba(255, 255, 255, .8);
  isolation: isolate;
}
.offer__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px;
  background: var(--green);
  color: var(--ink);
  overflow: hidden;
}
.offer__rosette {
  position: absolute;
  inset-inline-end: -120px;
  bottom: -120px;
  width: 380px;
  height: 380px;
  color: rgba(11, 15, 14, .1);
}
.offer__visual .offer__big {
  position: relative;
  margin: 0;
  font-size: clamp(88px, 10vw, 150px);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.04em;
  direction: ltr;
}
html[dir="rtl"] .offer__visual .offer__big { text-align: right; }
.offer__big small { font-size: .45em; letter-spacing: 0; }
.offer__visual p { position: relative; margin-top: 18px; font-size: 20px; font-weight: 500; color: var(--ink); line-height: 1.35; }
.offer__body { padding: 56px; }
.offer__body .eyebrow { color: var(--green); }
.offer__body h2 { color: #fff; font-size: clamp(26px, 2.6vw, 36px); }
.offer__body > p { margin-top: 16px; font-size: 16px; }
.offer__terms {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.offer__terms li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.offer__terms .tick { background: rgba(0, 195, 137, .16); color: var(--green); }
.offer__actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 32px; }
.offer__actions .link-arrow { color: #fff; }

/* ---------------------------------------------------------------- Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 30px 28px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: box-shadow .25s, transform .25s var(--ease);
}
.step:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.step__top { display: flex; align-items: center; justify-content: space-between; }
.step__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--green-ink);
}
.step__icon .icon { width: 26px; height: 26px; }
.step__num {
  color: #e3e8e6;
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.step h3 { margin-top: 22px; font-size: 19px; }
.step p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.step p a { color: var(--green-ink); font-weight: 500; }

.note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 24px;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: #fff8e6;
  color: #5b4500;
  font-size: 15px;
}
.note .icon { margin-top: 3px; color: #b37a00; }
.steps-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 44px; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: #cdd5d1;
}
.btn--ghost:hover { background: #fff; border-color: var(--ink); box-shadow: none; }

/* ----------------------------------------------------------------- Life */
.life-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.life-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}
.life-card__icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--green);
}
.life-card__icon .icon { width: 22px; height: 22px; }
.life-card .life-card__value {
  margin-top: 26px;
  color: var(--ink);
  font-size: 36px;
  font-weight: 500;
  line-height: 1.1;
  direction: ltr;
  unicode-bidi: isolate;
}
html[dir="rtl"] .life-card .life-card__value { text-align: right; }
.life-card h3 { margin-top: 6px; font-size: 18px; }
.life-card p { margin-top: 10px; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.life-card::after {
  content: "";
  position: absolute;
  inset-inline-end: -34px;
  top: -34px;
  width: 110px; height: 110px;
  border-radius: 50%;
  border: 18px solid var(--green-soft);
  opacity: .7;
}

/* ------------------------------------------------------------------ CTA */
.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: 104px;
  background:
    radial-gradient(800px 420px at 50% 120%, rgba(0, 195, 137, .35), transparent 65%),
    linear-gradient(180deg, var(--dark-2), #040a08);
  color: rgba(255, 255, 255, .78);
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--pattern);
  background-size: 80px 80px;
  opacity: .05;
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent);
  mask-image: radial-gradient(closest-side, #000, transparent);
}
.cta__dome { width: 120px; margin: 0 auto 28px; opacity: .9; }
.cta h2 { color: #fff; font-size: clamp(30px, 3.4vw, 48px); }
.cta > .container > p { max-width: 640px; margin: 16px auto 0; font-size: 17px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.contact-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 980px;
  margin: 56px auto 0;
  padding: 0;
  list-style: none;
  text-align: start;
}
.contact-list a {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
  text-decoration: none;
  transition: border-color .2s, background-color .2s;
}
.contact-list a:hover { border-color: var(--green); background: rgba(0, 195, 137, .08); }
.contact-list .contact-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(0, 195, 137, .15);
  color: var(--green);
}
.contact-list small { display: block; font-size: 13px; color: rgba(255, 255, 255, .6); line-height: 1.4; }
.contact-list strong { display: block; color: #fff; font-size: 16px; line-height: 1.4; direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] .contact-list strong { text-align: right; }

/* --------------------------------------------------------------- Footer */
.site-footer {
  padding-block: 56px 28px;
  background: #000;
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer__brand img { height: 74px; width: auto; }
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
}
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: #fff; }

/* -------------------------------------------------- Mobile sticky CTA */
.mobile-cta {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 90;
  display: none;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 -8px 24px rgba(11, 15, 14, .1);
  transform: translateY(110%);
  transition: transform .3s var(--ease);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { flex: 1; min-height: 48px; }
.mobile-cta .call-btn {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
}

/* ---------------------------------------------------- Reveal on scroll */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ----------------------------------------------------------- Responsive */
@media (max-width: 1180px) {
  .nav__link { padding-inline: 9px; font-size: 14px; }
  .hero__grid { gap: 40px; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); }
}

@media (max-width: 1060px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: grid; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    margin: 0;
    padding: 12px var(--gutter) 24px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 20px 40px rgba(11, 15, 14, .15);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 16px; }
  .nav__link:hover { background: none; }
  .header-actions { margin-inline-start: auto; }
  .brand img { height: 48px; }

  .hero { padding-top: calc(var(--header-h) + 40px); padding-bottom: 130px; }
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__content { padding-top: 0; max-width: 720px; }
  .form-card { max-width: 620px; }

  .about { grid-template-columns: 1fr; gap: 48px; }
  .accred-grid { grid-template-columns: 1fr; }
  .rank-grid,
  .program-grid,
  .steps { grid-template-columns: repeat(2, 1fr); }
  .life-grid { grid-template-columns: repeat(2, 1fr); }
  .offer { grid-template-columns: 1fr; }
  .contact-list { grid-template-columns: 1fr; max-width: 520px; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  body { font-size: 15.5px; }
  .header-actions .btn { display: none; }
  .brand img,
  .site-header.is-solid .brand img { height: 42px; }

  .hero { padding-bottom: 110px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__trust { grid-template-columns: 1fr; gap: 14px; }
  .form-card { padding: 24px 18px; border-radius: 20px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }

  .stats { margin-top: -64px; }
  .stats__card { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 22px 18px; }

  .section { padding-block: 72px; }
  .section-head { margin-bottom: 32px; }
  .accred,
  .recog,
  .levels { padding: 28px 20px; }
  .accred__list { grid-template-columns: 1fr; }
  .levels__grid { grid-template-columns: 1fr 1fr; padding-top: 0; margin-top: 20px; }
  .levels__grid::before,
  .levels__grid::after,
  .levels__grid li::before { display: none; }
  .rank-grid { grid-template-columns: 1fr; gap: 12px; }
  .rank-card { padding: 22px 20px; }
  .rank-card__head { min-height: 0; }

  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-bottom: 6px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .program-grid,
  .steps,
  .life-grid { grid-template-columns: 1fr; }
  .program-card { min-height: 0; }
  .search { width: 100%; }

  .offer { border-radius: 22px; }
  .offer__visual,
  .offer__body { padding: 36px 24px; }
  .offer__rosette { width: 260px; height: 260px; inset-inline-end: -90px; bottom: -90px; }

  .cta { padding-block: 80px 96px; }
  .cta__actions .btn,
  .steps-cta .btn { flex: 1 1 100%; }
  .footer__top { flex-direction: column; align-items: flex-start; }
  .site-footer { padding-bottom: 96px; }

  .mobile-cta { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-cta, .hero__dome, .hero__arc { display: none !important; }
  .hero, .rankings, .cta, .offer, .accred, .levels { background: #fff !important; color: #000 !important; }
}
