/* =========================================================
   Student Map — Design System
   ========================================================= */

:root {
  /* Brand palette */
  --ink-900: #061428;
  --ink-800: #0A1B33;
  --ink-700: #122A4D;
  --ink-600: #1C3A63;
  --ink-500: #2C4E7C;
  --blue-mist: #E8EFF8;

  --gold-700: #A9793B;
  --gold-600: #C99A4B;
  --gold-500: #D6A756;
  --gold-300: #EBCC93;
  --gold-100: #FBF1DE;

  --teal-700: #0A6B6B;
  --teal-600: #0EA5A5;
  --teal-500: #22B8B8;
  --teal-100: #E4F7F5;

  --bg: #FBFAF6;
  --surface: #FFFFFF;
  --surface-alt: #F4F1E9;

  --text-900: #0E1B2C;
  --text-700: #33445C;
  --text-500: #5B6B85;
  --text-400: #7C8AA3;
  --border: #E4E1D6;
  --border-strong: #D8D3C3;

  --success: #1D8A5A;

  /* Type */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Sizing */
  --container: 1240px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(10, 27, 51, 0.06);
  --shadow-md: 0 12px 32px rgba(10, 27, 51, 0.10);
  --shadow-lg: 0 24px 64px rgba(10, 27, 51, 0.16);
  --shadow-gold: 0 12px 28px rgba(201, 154, 75, 0.35);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; margin: 0; padding: 0; }
img, picture, svg { max-width: 100%; display: block; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-800);
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 5vw + 1rem, 4.4rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 2.6vw + 1rem, 2.9rem); }
h3 { font-size: clamp(1.25rem, 1.2vw + 1rem, 1.6rem); }
p { color: var(--text-700); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
@media (min-width: 900px) { .container { padding-inline: 40px; } }

section { position: relative; }
.section { padding: clamp(64px, 8vw, 120px) 0; }
.section-tight { padding: clamp(40px, 5vw, 72px) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold-600);
  display: inline-block;
}

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p.lead { font-size: 1.08rem; margin-top: 14px; color: var(--text-500); }

/* Skip link */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--ink-800);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 999;
  transition: top .2s var(--ease);
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.98rem;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
  color: var(--ink-900);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(201,154,75,0.45); }
.btn-dark {
  background: var(--ink-800);
  color: #fff;
}
.btn-dark:hover { background: var(--ink-700); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--ink-800);
  border-color: var(--border-strong);
}
.btn-outline:hover { border-color: var(--ink-800); background: var(--surface); }
.btn-outline-light {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(6px);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.16); border-color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-lg { padding: 18px 34px; font-size: 1.05rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--ink-800);
  border-bottom: 2px solid var(--gold-500);
  padding-bottom: 3px;
  transition: gap .2s var(--ease), color .2s var(--ease);
}
.link-arrow:hover { gap: 13px; color: var(--gold-700); }
.link-arrow svg { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.announce-bar {
  background: var(--ink-900);
  color: #cdd8ea;
  font-size: 0.82rem;
}
.announce-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 8px;
  flex-wrap: wrap;
}
.announce-bar a { color: #fff; font-weight: 600; }
.announce-bar .abar-links { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.announce-bar .abar-links span { display: inline-flex; align-items: center; gap: 6px; }
.announce-bar svg { width: 14px; height: 14px; }
.abar-social { display: flex; gap: 12px; }
.abar-social a { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.08); }
.abar-social svg { width: 13px; height: 13px; }
.abar-social a:hover { background: var(--gold-600); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 246, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.32rem;
  color: var(--ink-800);
  flex: none;
}
.brand .brand-mark { width: 42px; height: 42px; }
.brand small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-700); }

.main-nav { display: none; }
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--text-700);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.main-nav a.nav-link:hover, .main-nav a.nav-link.active { background: var(--blue-mist); color: var(--ink-800); }
.main-nav svg.chev { width: 13px; height: 13px; transition: transform .2s var(--ease); }
.has-dropdown { position: relative; }
.has-dropdown:hover svg.chev, .has-dropdown:focus-within svg.chev { transform: rotate(180deg); }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-700);
  font-weight: 600;
  font-size: 0.92rem;
}
.dropdown a:hover { background: var(--surface-alt); color: var(--ink-800); }
.dropdown a .dd-icon { width: 34px; height: 34px; flex: none; border-radius: 9px; background: var(--teal-100); color: var(--teal-700); display: flex; align-items: center; justify-content: center; }
.dropdown a .dd-icon svg { width: 17px; height: 17px; }
.dropdown a span.dd-desc { display: block; font-weight: 500; font-size: 0.79rem; color: var(--text-400); margin-top: 2px; }

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

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  flex: none;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink-900);
  color: #fff;
  padding: 20px 22px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
}
.nav-open .mobile-nav { transform: translateX(0); }
.mobile-nav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.mobile-nav-head .brand { color: #fff; }
.mobile-nav a.close-btn { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; }
.mobile-nav a.close-btn svg { width: 20px; height: 20px; }
.mobile-nav ul.m-links { display: flex; flex-direction: column; gap: 2px; }
.mobile-nav ul.m-links > li { border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-nav a.m-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 4px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}
.mobile-nav .m-sub { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.mobile-nav .m-sub.open { max-height: 400px; padding-bottom: 12px; }
.mobile-nav .m-sub a { display: block; padding: 10px 4px 10px 16px; font-size: 0.95rem; color: #b9c5da; font-weight: 500; }
.mobile-nav .m-cta { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.mobile-nav .m-contact { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; font-size: 0.92rem; color: #b9c5da; }
.mobile-nav .m-contact a { color: #fff; font-weight: 700; }

body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(ellipse at 18% 0%, #163a63 0%, var(--ink-800) 46%, var(--ink-900) 100%);
  color: #fff;
  overflow: hidden;
  padding-top: clamp(52px, 8vw, 96px);
  padding-bottom: clamp(60px, 9vw, 120px);
}
.hero-bg-shape { position: absolute; inset: 0; pointer-events: none; opacity: 0.9; }
.hero-glow {
  position: absolute;
  width: 720px; height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214,167,86,0.28), transparent 65%);
  top: -220px; right: -180px;
  filter: blur(10px);
}
.hero-glow.two {
  background: radial-gradient(circle, rgba(14,165,165,0.22), transparent 65%);
  top: auto; bottom: -260px; left: -220px; right: auto;
  width: 640px; height: 640px;
}
.hero-grid { display: grid; gap: 56px; align-items: center; position: relative; z-index: 2; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }

.hero-copy .eyebrow { color: var(--gold-300); }
.hero-copy .eyebrow::before { background: var(--gold-300); }
.hero h1 { color: #fff; }
.hero h1 em { font-style: italic; color: var(--gold-300); }
.hero-copy p.lead { font-size: 1.15rem; color: #c7d3e6; max-width: 540px; margin-top: 20px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 48px;
  max-width: 560px;
}
.hero-stats .stat b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: #fff; }
.hero-stats .stat span { font-size: 0.78rem; color: #9fb0c9; }
.hero-stats .stat { border-left: 2px solid rgba(255,255,255,0.16); padding-left: 12px; }

.hero-visual { position: relative; }
.hero-card-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  aspect-ratio: 4/4.6;
}
.hero-card-main svg { width: 100%; height: 100%; display: block; }
.floating-card {
  position: absolute;
  background: rgba(255,255,255,0.96);
  color: var(--ink-800);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 240px;
  animation: floaty 6s ease-in-out infinite;
}
.floating-card .fc-icon { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: none; }
.floating-card .fc-icon svg { width: 21px; height: 21px; }
.floating-card b { display: block; font-size: 0.95rem; font-family: var(--font-display); }
.floating-card span { font-size: 0.76rem; color: var(--text-500); }
.fc-1 { top: 6%; left: -8%; }
.fc-1 .fc-icon { background: var(--gold-100); color: var(--gold-700); }
.fc-2 { bottom: 8%; right: -9%; animation-delay: 1.4s; }
.fc-2 .fc-icon { background: var(--teal-100); color: var(--teal-700); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.marquee-strip {
  background: var(--ink-900);
  color: #9fb0c9;
  overflow: hidden;
  padding-block: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.marquee-track { display: flex; gap: 60px; width: max-content; animation: marquee 32s linear infinite; align-items: center; }
.marquee-track span { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1rem; white-space: nowrap; color: #cfd9ea; }
.marquee-track svg { width: 16px; height: 16px; color: var(--gold-400, var(--gold-500)); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(1, 1fr); }
.grid-3 { grid-template-columns: repeat(1, 1fr); }
.grid-4 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px) { .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }

.dest-card { overflow: hidden; position: relative; color: #fff; aspect-ratio: 3/3.6; }
.dest-card .dest-media { position: absolute; inset: 0; }
.dest-card .dest-media svg { width: 100%; height: 100%; }
.dest-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,20,40,0.05) 30%, rgba(6,20,40,0.86) 100%);
}
.dest-card .dest-content { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; z-index: 2; }
.dest-card .dest-tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-300); }
.dest-card h3 { color: #fff; margin-top: 6px; }
.dest-card p { color: #cfd9ea; font-size: 0.87rem; margin-top: 6px; }
.dest-card .dest-link { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.85rem; color: #fff; }
.dest-card .dest-link svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.dest-card:hover .dest-link svg { transform: translateX(5px); }

.icon-tile {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold-100), var(--gold-300));
  color: var(--gold-700);
  flex: none;
}
.icon-tile.teal { background: linear-gradient(135deg, var(--teal-100), #bdeceb); color: var(--teal-700); }
.icon-tile.ink { background: linear-gradient(135deg, var(--ink-700), var(--ink-800)); color: var(--gold-300); }
.icon-tile svg { width: 26px; height: 26px; }

.service-card { padding: 30px 26px; }
.service-card .icon-tile { margin-bottom: 20px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 0.94rem; }
.service-card .link-arrow { margin-top: 18px; font-size: 0.86rem; }

.feature-row { display: flex; gap: 18px; align-items: flex-start; }
.feature-row .icon-tile { width: 46px; height: 46px; border-radius: 13px; }
.feature-row .icon-tile svg { width: 21px; height: 21px; }
.feature-row h4 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 700; color: var(--ink-800); margin-bottom: 4px; }
.feature-row p { font-size: 0.92rem; }

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--ink-800);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, 1fr);
  position: relative;
  overflow: hidden;
}
@media (min-width: 800px) { .stats-band { grid-template-columns: repeat(4, 1fr); } }
.stats-band .stat-item { position: relative; z-index: 2; }
.stats-band b { font-family: var(--font-display); font-size: clamp(1.8rem, 2.4vw, 2.5rem); display: block; color: var(--gold-300); }
.stats-band span { font-size: 0.85rem; color: #b9c5da; }

/* ---------- Process ---------- */
.process-list { counter-reset: step; display: grid; gap: 20px; }
@media (min-width: 900px) { .process-list { grid-template-columns: repeat(4, 1fr); } }
.process-item { position: relative; padding: 28px 22px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.process-item .step-num {
  counter-increment: step;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink-800);
  color: var(--gold-300);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.process-item .step-num::before { content: counter(step, decimal-leading-zero); }
.process-item h3 { font-size: 1.08rem; margin-bottom: 8px; }
.process-item p { font-size: 0.9rem; }

/* ---------- Testimonial / trust panel (no fabricated quotes) ---------- */
.trust-panel {
  background: linear-gradient(135deg, var(--ink-800), var(--ink-700));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 60px);
  display: grid;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 900px) { .trust-panel { grid-template-columns: 1fr 1fr; align-items: center; } }
.trust-panel h2 { color: #fff; }
.trust-panel p { color: #c7d3e6; }
.trust-quote-mark { font-family: var(--font-display); font-size: 4rem; color: var(--gold-500); line-height: 1; }

.avatar-row { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.avatar-row .avatars { display: flex; }
.avatar-row .avatars span {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--gold-300); color: var(--ink-900);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.8rem;
  border: 2px solid var(--ink-800);
  margin-left: -10px;
}
.avatar-row .avatars span:first-child { margin-left: 0; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--ink-800);
  font-weight: 600;
}
.faq-q svg { width: 20px; height: 20px; flex: none; transition: transform .3s var(--ease); color: var(--gold-600); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 4px 22px; max-width: 760px; }
.faq-item.open .faq-a { max-height: 400px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--gold-600), var(--gold-500) 60%, var(--gold-300));
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 64px);
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-900);
}
.cta-banner h2 { color: var(--ink-900); max-width: 520px; }
.cta-banner p { color: #4a3a1e; margin-top: 10px; }
.cta-banner-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-md); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 0.86rem; color: var(--ink-800); margin-bottom: 7px; }
.field .req { color: var(--gold-700); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong);
  background: var(--bg);
  font-size: 0.95rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--teal-600);
  box-shadow: 0 0 0 4px var(--teal-100);
  outline: none;
}
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 620px) { .field-row.two { grid-template-columns: 1fr 1fr; } }
.field-hint { font-size: 0.8rem; color: var(--text-400); margin-top: 6px; }
.form-note { display: flex; gap: 10px; align-items: flex-start; background: var(--teal-100); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 0.85rem; color: var(--teal-700); margin-top: 16px; }
.form-note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success.show { display: block; }
.form-success svg { width: 56px; height: 56px; color: var(--success); margin-inline: auto 0; margin-bottom: 16px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: radial-gradient(ellipse at 80% -10%, #1c3a63 0%, var(--ink-800) 55%, var(--ink-900) 100%);
  color: #fff;
  padding-block: clamp(56px, 8vw, 100px) clamp(40px, 6vw, 64px);
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: #fff; }
.page-hero p.lead { color: #c7d3e6; max-width: 620px; margin-top: 16px; font-size: 1.08rem; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.83rem; color: #9fb0c9; margin-bottom: 22px; flex-wrap: wrap; }
.breadcrumb a { font-weight: 600; color: #cfd9ea; }
.breadcrumb svg { width: 12px; height: 12px; }

/* ---------- Table / list styles ---------- */
.check-list { display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.96rem; color: var(--text-700); }
.check-list svg { width: 20px; height: 20px; flex: none; color: var(--teal-600); margin-top: 2px; }

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--blue-mist);
  color: var(--ink-700);
  font-size: 0.78rem;
  font-weight: 700;
}

.tabs-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.tab-btn {
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-700);
  transition: all .2s var(--ease);
}
.tab-btn.active, .tab-btn:hover { background: var(--ink-800); border-color: var(--ink-800); color: #fff; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---------- Requirement table ---------- */
.req-table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); }
table.req-table { width: 100%; border-collapse: collapse; min-width: 560px; }
table.req-table th, table.req-table td { padding: 16px 20px; text-align: start; font-size: 0.92rem; border-bottom: 1px solid var(--border); vertical-align: top; }
table.req-table th { background: var(--ink-800); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }
table.req-table tr:last-child td { border-bottom: none; }
table.req-table tr:nth-child(even) td { background: var(--surface-alt); }
table.req-table td.label { font-weight: 700; color: var(--ink-800); white-space: nowrap; }

/* ---------- Source / verification note ---------- */
.source-note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--teal-100);
  border: 1px solid #bdeceb;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}
.source-note svg { width: 24px; height: 24px; flex: none; color: var(--teal-700); margin-top: 2px; }
.source-note b { color: var(--teal-700); }
.source-note p { color: var(--text-700); font-size: 0.92rem; margin-top: 4px; }
.source-note a { font-weight: 700; color: var(--teal-700); text-decoration: underline; }

/* ---------- Program / track cards ---------- */
.track-card {
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.track-card .track-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: var(--ink-800);
  color: var(--gold-300);
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.track-card h3 { margin-bottom: 6px; }
.track-card .track-native { font-size: 0.85rem; color: var(--text-400); margin-bottom: 14px; }
.track-card ul.track-points { display: flex; flex-direction: column; gap: 8px; margin: 16px 0; }
.track-card ul.track-points li { display: flex; gap: 8px; font-size: 0.86rem; color: var(--text-500); }
.track-card ul.track-points svg { width: 16px; height: 16px; flex: none; color: var(--teal-600); margin-top: 2px; }
.track-card .link-arrow { margin-top: auto; padding-top: 14px; }

/* ---------- Official links panel ---------- */
.official-links { display: grid; gap: 12px; }
.official-link-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.official-link-item:hover { border-color: var(--gold-500); transform: translateX(2px); }
[dir="rtl"] .official-link-item:hover { transform: translateX(-2px); }
.official-link-item .oli-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--blue-mist); color: var(--ink-700); display: flex; align-items: center; justify-content: center; flex: none; }
.official-link-item .oli-icon svg { width: 19px; height: 19px; }
.official-link-item b { display: block; font-size: 0.94rem; color: var(--ink-800); }
.official-link-item span { display: block; font-size: 0.78rem; color: var(--text-400); word-break: break-all; }
.official-link-item .oli-go { margin-inline-start: auto; width: 20px; height: 20px; color: var(--text-400); flex: none; }
[dir="rtl"] .official-link-item .oli-go { transform: scaleX(-1); }

/* ---------- Timeline ---------- */
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item { display: grid; grid-template-columns: 44px 1fr; gap: 20px; position: relative; padding-bottom: 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item .tl-dot {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink-800); color: var(--gold-300);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  position: relative; z-index: 2; flex: none;
}
.timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 21px; top: 44px; bottom: -12px;
  width: 2px;
  background: var(--border-strong);
}
[dir="rtl"] .timeline-item:not(:last-child)::before { left: auto; right: 21px; }
.timeline-item .tl-content { padding-top: 6px; }
.timeline-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.timeline-item p { font-size: 0.92rem; }

/* ---------- Real photography ---------- */
.hero-card-main img,
.dest-media img,
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.photo-frame.ratio-4-3 { aspect-ratio: 4/3; }
.photo-frame.ratio-3-4 { aspect-ratio: 3/4; }
.photo-frame.ratio-16-9 { aspect-ratio: 16/9; }
.photo-frame figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 18px;
  background: linear-gradient(0deg, rgba(6,20,40,0.75), transparent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Trust panel with photographic background */
.trust-panel.has-photo {
  position: relative;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.trust-panel.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(6,20,40,0.94) 0%, rgba(10,27,51,0.88) 55%, rgba(10,27,51,0.72) 100%);
}

/* ---------- Video embed ---------- */
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--ink-900);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-embed .video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  border: 0;
  padding: 0;
  background: none;
}
.video-embed .video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-embed .video-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6,20,40,0.55), rgba(6,20,40,0.1) 45%);
}
.video-embed .play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 78px; height: 78px;
  border-radius: 50%;
  background: rgba(255,255,255,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
  transition: transform .25s var(--ease), background .25s var(--ease);
  z-index: 2;
}
.video-embed .play-btn svg { width: 26px; height: 26px; color: var(--ink-800); margin-inline-start: 4px; }
.video-embed .video-poster:hover .play-btn { transform: translate(-50%, -50%) scale(1.08); background: #fff; }
.video-embed .video-caption {
  position: absolute;
  left: 20px; bottom: 16px;
  z-index: 2;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
[dir="rtl"] .video-embed .video-caption { left: auto; right: 20px; }
[dir="rtl"] .video-embed .play-btn svg { margin-inline-start: 0; margin-inline-end: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: #b9c5da; padding-top: 72px; }
.footer-top { display: grid; gap: 44px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr; } }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand p { color: #92a1bd; font-size: 0.92rem; max-width: 320px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; transition: background .2s var(--ease); }
.footer-social svg { width: 16px; height: 16px; }
.footer-social a:hover { background: var(--gold-600); color: var(--ink-900); }
.footer-col h4 { font-family: var(--font-body); color: #fff; font-size: 0.86rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.92rem; transition: color .2s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; }
.footer-contact svg { width: 17px; height: 17px; flex: none; color: var(--gold-500); margin-top: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; padding-block: 26px; font-size: 0.82rem; color: #7c8aa3; }
.footer-bottom .legal-links { display: flex; gap: 20px; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.mx-auto { margin-inline: auto; }
.bg-alt { background: var(--surface-alt); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.divider { height: 1px; background: var(--border); border: none; margin-block: 8px; }
.badge-list { display: flex; flex-wrap: wrap; gap: 10px; }

/* Desktop nav breakpoint */
@media (min-width: 1080px) {
  .main-nav { display: block; }
  .nav-cta { display: flex; }
  .nav-toggle { display: none; }
}
@media (max-width: 1079px) {
  .mobile-nav { display: block; }
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--ink-800);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  z-index: 90;
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; }

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 82px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 90;
  animation: pulse-wa 2.6s infinite;
}
.whatsapp-float svg { width: 27px; height: 27px; }
@keyframes pulse-wa { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5), var(--shadow-lg);} 70% { box-shadow: 0 0 0 14px rgba(37,211,102,0), var(--shadow-lg);} 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), var(--shadow-lg);} }

@media (max-width: 640px) {
  .whatsapp-float { width: 50px; height: 50px; right: 16px; bottom: 74px; }
  .back-to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}

/* ---------- Language switcher ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  border: 1px solid rgba(255,255,255,0.18);
}
.lang-switch:hover { background: var(--gold-600); color: var(--ink-900); border-color: var(--gold-600); }

/* =========================================================
   Arabic typography + RTL layout mirroring
   ========================================================= */
:root[lang="ar"] {
  --font-display: 'Cairo', 'Tajawal', 'Inter', sans-serif;
  --font-body: 'Tajawal', 'Cairo', 'Inter', sans-serif;
}
[dir="rtl"] { text-align: right; }
[dir="rtl"] .eyebrow,
[dir="rtl"] .footer-col h4,
[dir="rtl"] .pill-tag,
[dir="rtl"] .tab-btn {
  letter-spacing: 0;
  text-transform: none;
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { letter-spacing: 0; }
[dir="rtl"] .hero h1 em, [dir="rtl"] h1 em { font-style: normal; }

/* Directional icon mirroring — forward-pointing arrows should point the reading direction */
[dir="rtl"] .link-arrow svg,
[dir="rtl"] .dest-link svg,
[dir="rtl"] .breadcrumb svg,
[dir="rtl"] .hero-cta .btn-primary svg,
[dir="rtl"] .process-item .step-num + svg {
  transform: scaleX(-1);
}

/* Positional mirroring for absolute / fixed elements */
[dir="rtl"] .hero-glow { right: auto; left: -180px; }
[dir="rtl"] .hero-glow.two { left: auto; right: -220px; }
[dir="rtl"] .fc-1 { left: auto; right: -8%; }
[dir="rtl"] .fc-2 { right: auto; left: -9%; }
[dir="rtl"] .dropdown { left: auto; right: 0; }
[dir="rtl"] .mobile-nav { transform: translateX(-100%); }
[dir="rtl"] .nav-open .mobile-nav { transform: translateX(0); }
[dir="rtl"] .back-to-top { right: auto; left: 22px; }
[dir="rtl"] .whatsapp-float { right: auto; left: 22px; }
[dir="rtl"] .hero-stats .stat { border-left: none; border-right: 2px solid rgba(255,255,255,0.16); padding-left: 0; padding-right: 12px; }
[dir="rtl"] .avatar-row .avatars span { margin-left: 0; margin-right: -10px; }
[dir="rtl"] .avatar-row .avatars span:first-child { margin-right: 0; }
[dir="rtl"] .skip-link { left: auto; right: 12px; }
@media (max-width: 640px) {
  [dir="rtl"] .whatsapp-float { right: auto; left: 16px; }
  [dir="rtl"] .back-to-top { right: auto; left: 16px; }
}
