/* ==========================================================================
   Grandview Immigration — Wise-Inspired Design System
   Design System: Wise (green→red variant)
   Font: Inter (Wise Sans substitute at weight 900)
   ========================================================================== */

:root {
  /* ── Wise Brand Colors (Green → Grandview Red) ── */
  --w-primary: #e60023;
  --w-on-primary: #ffffff;
  --w-primary-active: #cc001f;
  --w-primary-neutral: #f4d0d5;
  --w-primary-pale: #fde8ea;

  /* ── Surface ── */
  --w-ink: #0e0f0c;
  --w-ink-deep: #1a0200;
  --w-body: #454745;
  --w-mute: #868685;
  --w-canvas: #ffffff;
  --w-canvas-soft: #e8ebe6;

  /* ── Semantic (unchanged from Wise) ── */
  --w-positive: #2ead4b;
  --w-positive-deep: #054d28;
  --w-warning: #ffd11a;
  --w-warning-deep: #b86700;
  --w-warning-content: #4a3b1c;
  --w-negative: #d03238;
  --w-negative-deep: #a72027;
  --w-negative-darkest: #a7000d;
  --w-negative-bg: #320707;
  --w-accent-orange: #ffc091;
  --w-accent-cyan: #38c8ff;

  /* ── Spacing (Wise scale, 4px base) ── */
  --s-xxs: 2px;
  --s-xs: 4px;
  --s-sm: 8px;
  --s-md: 12px;
  --s-lg: 16px;
  --s-xl: 24px;
  --s-2xl: 32px;
  --s-3xl: 48px;

  /* ── Radii (Wise scale) ── */
  --r-none: 0px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 9999px;
  --r-full: 9999px;

  /* ── Layout ── */
  --nav-height: 64px;
  --content-max: 1200px;

  /* ── Backwards compat aliases ── */
  --brand-red: var(--w-primary);
  --brand-red-dark: var(--w-primary-active);
  --brand-black: var(--w-ink);
  --bg-base: var(--w-canvas-soft);
  --bg-surface: var(--w-canvas);
  --bg-alt: var(--w-canvas-soft);
  --text-main: var(--w-body);
  --text-muted: var(--w-mute);
  --text-light: var(--w-on-primary);
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5; /* 24px */
  color: var(--w-body);
  background-color: var(--w-canvas-soft);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html[dir="rtl"] body {
  font-family: 'Vazirmatn', Tahoma, sans-serif;
}

a { text-decoration: none; color: inherit; transition: all 0.2s ease; }
img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--s-xl);
}

/* ==========================================================================
   Typography — Wise Hierarchy
   ========================================================================== */

/* Hero displays — Inter weight 900 (Wise Sans substitute) */
.display-mega {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  font-size: 126px; font-weight: 900; line-height: 0.85;
  color: var(--w-ink); letter-spacing: -0.02em;
}
.display-xxl {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  font-size: 96px; font-weight: 900; line-height: 0.85;
  color: var(--w-ink);
}
.display-xl {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  font-size: 64px; font-weight: 900; line-height: 0.85;
  color: var(--w-ink);
}
.display-lg {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  font-size: 47px; font-weight: 400; line-height: 1.5; letter-spacing: -0.108px;
  color: var(--w-ink);
}
.display-md {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  font-size: 40px; font-weight: 900; line-height: 0.85;
  color: var(--w-ink);
}
.display-sm {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  font-size: 32px; font-weight: 600; line-height: 1.2; letter-spacing: -0.03em;
  color: var(--w-ink);
}
.display-xs {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  font-size: 24px; font-weight: 600; line-height: 1.3; letter-spacing: -0.02em;
  color: var(--w-ink);
}

/* Farsi display overrides */
html[lang="fa"] .display-mega { font-family: 'Vazirmatn', Tahoma, sans-serif; font-size: clamp(3rem, 10vw, 6rem); line-height: 1.1; }
html[lang="fa"] .display-xxl { font-family: 'Vazirmatn', Tahoma, sans-serif; font-size: clamp(2.5rem, 8vw, 5rem); line-height: 1.1; }
html[lang="fa"] .display-xl { font-family: 'Vazirmatn', Tahoma, sans-serif; font-size: clamp(2rem, 6vw, 4rem); font-weight: 800; line-height: 1.15; }
html[lang="fa"] .display-md { font-family: 'Vazirmatn', Tahoma, sans-serif; font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 800; line-height: 1.15; }
html[lang="fa"] .display-sm { font-family: 'Vazirmatn', Tahoma, sans-serif; font-weight: 700; }
html[lang="fa"] .display-xs { font-family: 'Vazirmatn', Tahoma, sans-serif; font-weight: 700; }

/* Body */
.body-lg { font-size: 20px; font-weight: 400; line-height: 1.5; color: var(--w-body); }
.body-md { font-size: 16px; font-weight: 400; line-height: 1.5; color: var(--w-body); }
.body-md-strong { font-size: 16px; font-weight: 600; line-height: 1.5; color: var(--w-ink); }
.body-sm { font-size: 14px; font-weight: 400; line-height: 1.43; color: var(--w-body); }
.body-sm-strong { font-size: 14px; font-weight: 600; line-height: 1.43; color: var(--w-ink); }
.caption { font-size: 12px; font-weight: 400; line-height: 1.33; color: var(--w-mute); }

.heading-xl { font-size: 40px; font-weight: 900; line-height: 0.85; color: var(--w-ink); }
.heading-lg { font-size: 32px; font-weight: 600; line-height: 1.2; letter-spacing: -0.03em; color: var(--w-ink); }
.heading-md { font-size: 24px; font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; color: var(--w-ink); }

/* ==========================================================================
   Buttons — Wise 24px pill-rectangle
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-sm);
  padding: var(--s-md) var(--s-xl);
  height: 48px;
  border-radius: var(--r-xl);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  outline: none;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--w-primary);
  color: var(--w-on-primary);
}
.btn-primary:hover { background-color: var(--w-primary-active); }

.btn-secondary {
  background-color: var(--w-canvas-soft);
  color: var(--w-ink);
}
.btn-secondary:hover { background-color: var(--w-primary-pale); }

.btn-tertiary {
  background: transparent;
  color: var(--w-ink);
  border: 1px solid var(--w-ink);
}
.btn-tertiary:hover { background-color: var(--w-canvas-soft); }

.btn-lg { height: 56px; padding: var(--s-md) var(--s-2xl); }

/* ==========================================================================
   NAVIGATION — Wise solid white navbar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--nav-height);
  background: var(--w-canvas);
  z-index: 1000;
  border-bottom: 1px solid var(--w-canvas-soft);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--s-xl);
}

/* Brand */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  z-index: 1002;
}
.brand-logo img { height: 38px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; gap: 1px; }
.brand-name { font-size: 1.2rem; font-weight: 700; color: var(--w-ink); letter-spacing: -0.02em; }
.brand-tagline { font-size: 0.55rem; font-weight: 600; color: var(--w-mute); text-transform: uppercase; letter-spacing: 0.6px; }

/* Desktop nav links */
.nav-links { display: flex; align-items: center; gap: 28px; }

.nav-links a {
  font-size: 14px; font-weight: 600;
  color: var(--w-ink);
  white-space: nowrap;
  position: relative;
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 4px 0;
}
.nav-links a:hover { color: var(--w-primary); }

/* Active indicator: subtle underline */
.nav-links a.active {
  color: var(--w-primary);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--w-primary);
  border-radius: 1px;
}

/* Nav CTA — red pill */
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--w-primary);
  color: var(--w-on-primary) !important;
  padding: 0 28px !important;
  height: 40px;
  border-radius: var(--r-xl);
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 40px;
  transition: background 0.2s ease;
  margin-left: 4px;
  border: none;
}
.nav-cta:hover { background: var(--w-primary-active) !important; color: var(--w-on-primary) !important; }
.nav-cta.active::after { display: none !important; }
html[dir="rtl"] .nav-cta { margin-left: 0; margin-right: 4px; }

/* Language Switcher */
.lang-switcher {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-left: 20px;
  margin-left: 12px;
  border-left: 1px solid var(--w-canvas-soft);
}
.lang-title {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--w-mute);
  line-height: 1;
}
.lang-flags {
  display: flex;
  align-items: center;
  gap: 0;
}
.lang-flags a {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: var(--w-mute) !important;
  padding: 2px 1px !important;
  border-radius: 6px;
  transition: all 0.2s ease;
  text-decoration: none !important;
  line-height: 1;
}
.lang-flags a .lang-flag {
  display: block;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lang-flags a:hover .lang-flag {
  transform: scale(1.2);
  box-shadow: 0 2px 4px rgba(0,0,0,0.18);
}
.lang-flags a.active {
  background: transparent;
}
.lang-flags a.active::after { display: none !important; }
.lang-flags a.active .lang-flag {
  box-shadow: 0 0 0 2px var(--w-primary), 0 2px 6px rgba(230,0,35,0.25);
  transform: scale(1.08);
}
.lang-flags a:hover {
  background: transparent;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 40px; height: 40px;
  cursor: pointer;
  z-index: 1002;
  background: none;
  border: none;
  padding: 0;
  position: relative;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--w-ink);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.3);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav-overlay.active { display: block; opacity: 1; }

/* ==========================================================================
   Hero Band — Wise sage canvas with massive typography
   ========================================================================== */
.hero-band {
  background: var(--w-canvas-soft);
  padding: calc(var(--nav-height) + var(--s-3xl)) var(--s-xl) var(--s-3xl);
  display: flex;
  align-items: center;
  min-height: 80vh;
}
.hero-band-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
}
.hero-band-content {
  max-width: 800px;
}
.hero-band-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--w-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--s-lg);
}
.hero-band-title {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  font-size: 64px;
  font-weight: 900;
  line-height: 0.85;
  color: var(--w-ink);
  margin-bottom: var(--s-xl);
  letter-spacing: -0.02em;
}
.hero-band-sub {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--w-body);
  max-width: 540px;
}

/* Dark hero variant */
.hero-band-dark {
  background: var(--w-ink);
  padding: calc(var(--nav-height) + var(--s-3xl)) var(--s-xl) var(--s-3xl);
  display: flex;
  align-items: center;
  min-height: 60vh;
}
.hero-band-dark .hero-band-title { color: var(--w-primary); }
.hero-band-dark .hero-band-sub { color: var(--w-canvas-soft); }
.hero-band-dark .hero-band-label { color: var(--w-primary); }

/* Farsi hero overrides */
html[lang="fa"] .hero-band-title {
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
}
html[lang="fa"] .hero-band-sub { font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.6; }

/* ==========================================================================
   Content Band — White sections following hero
   ========================================================================== */
.content-band {
  background: var(--w-canvas);
  padding: var(--s-3xl) var(--s-xl);
}
.content-band-soft {
  background: var(--w-canvas-soft);
  padding: var(--s-3xl) var(--s-xl);
}
.content-band-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

/* Section header */
.section-header {
  text-align: center;
  margin-bottom: var(--s-3xl);
}
.section-header-tag {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--w-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--s-md);
}
.section-header h2 {
  font-size: 40px;
  font-weight: 900;
  line-height: 0.85;
  color: var(--w-ink);
  margin-bottom: var(--s-lg);
}
.section-header p {
  font-size: 20px;
  color: var(--w-body);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.5;
}

html[lang="fa"] .section-header h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
}

/* ==========================================================================
   Cards — Wise 24px pill-rounded
   ========================================================================== */
.card {
  background: var(--w-canvas);
  border-radius: var(--r-xl);
  padding: var(--s-xl);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}
.card:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.06); }

.card-sage {
  background: var(--w-canvas-soft);
  border-radius: var(--r-xl);
  padding: var(--s-xl);
}
.card-red {
  background: var(--w-primary-pale);
  border-radius: var(--r-xl);
  padding: var(--s-xl);
}
.card-dark {
  background: var(--w-ink);
  border-radius: var(--r-xl);
  padding: var(--s-xl);
  color: var(--w-primary);
}

/* ==========================================================================
   Feature Grid — 2/3/4 column cards
   ========================================================================== */
.feature-grid { display: grid; gap: var(--s-xl); }
.feature-grid-2 { grid-template-columns: repeat(2, 1fr); }
.feature-grid-3 { grid-template-columns: repeat(3, 1fr); }
.feature-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ==========================================================================
   Feature Card — with icon, heading, text
   ========================================================================== */
.feature-card {
  background: var(--w-canvas);
  border-radius: var(--r-xl);
  padding: var(--s-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
  height: 100%;
  transition: box-shadow 0.2s ease;
}
.feature-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.06); }

.feature-card-sage {
  background: var(--w-canvas-soft);
  border-radius: var(--r-xl);
  padding: var(--s-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
  height: 100%;
}
.feature-card-sage:hover { background: var(--w-primary-pale); }

.feature-card-num {
  font-size: 2.5rem; font-weight: 900;
  color: var(--w-canvas-soft);
  line-height: 1;
}
.feature-card-icon {
  width: 48px; height: 48px;
  background: var(--w-canvas-soft);
  color: var(--w-ink);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.feature-card:hover .feature-card-icon,
.feature-card-sage:hover .feature-card-icon {
  background: var(--w-primary);
  color: var(--w-on-primary);
}
.feature-card h3 {
  font-size: 18px; font-weight: 600; line-height: 1.3;
  color: var(--w-ink);
}
.feature-card p {
  font-size: 14px; color: var(--w-mute); line-height: 1.43;
  flex-grow: 1;
}
.feature-card-line {
  width: 32px; height: 2px;
  background: var(--w-primary);
  transition: width 0.3s ease;
}
.feature-card:hover .feature-card-line,
.feature-card-sage:hover .feature-card-line { width: 64px; }

.feature-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-xs);
  font-size: 14px; font-weight: 600;
  color: var(--w-primary);
  text-decoration: none;
  line-height: 1;
}
.feature-card-link:hover { color: var(--w-primary-active); }

/* ==========================================================================
   Quote Band
   ========================================================================== */
.quote-band {
  background: var(--w-canvas-soft);
  padding: var(--s-3xl) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.quote-band blockquote {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 var(--s-xl);
}
.quote-band .quote-text {
  font-size: 40px;
  font-weight: 900;
  line-height: 0.85;
  color: var(--w-ink);
  margin-bottom: var(--s-lg);
}
.quote-band .quote-author {
  font-size: 14px; color: var(--w-mute);
  font-style: normal;
}
.quote-band .quote-line {
  width: 32px; height: 2px;
  background: var(--w-primary);
  margin: var(--s-lg) auto;
  transition: width 0.6s ease;
}
.quote-band .quote-line.is-visible { width: 64px; }

/* ==========================================================================
   Stats Bar — dark band with large numbers
   ========================================================================== */
.stats-band {
  background: var(--w-ink);
  padding: var(--s-3xl) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-xl);
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--s-xl);
}
.stat-item {
  text-align: center;
}
.stat-number {
  display: block;
  font-size: 64px;
  font-weight: 900;
  line-height: 0.85;
  color: var(--w-primary);
  margin-bottom: var(--s-sm);
}
.stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--w-canvas-soft);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   Hero with Background Image
   ========================================================================== */
.hero-band-image {
  background: var(--w-ink);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: calc(var(--nav-height) + var(--s-3xl)) var(--s-xl) var(--s-3xl);
  display: flex;
  align-items: center;
  min-height: 80vh;
}
.hero-band-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(14, 15, 12, 0.82) 0%,
    rgba(14, 15, 12, 0.55) 40%,
    rgba(14, 15, 12, 0.35) 100%
  );
  z-index: 1;
}
.hero-band-image .hero-band-inner {
  position: relative;
  z-index: 2;
}
.hero-band-image .hero-band-title { color: var(--w-canvas); }
.hero-band-image .hero-band-sub { color: var(--w-canvas-soft); }


/* ==========================================================================
   Photo Banner — full-width image strip
   ========================================================================== */
.photo-banner {
  width: 100%;
  height: 420px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(14, 15, 12, 0.15);
}
.photo-banner-tall {
  height: 520px;
}
.photo-banner-short {
  height: 300px;
}


/* ==========================================================================
   Image & Text Split Section
   ========================================================================== */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}
.split-section-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 400px;
}
.split-section-content {
  display: flex;
  align-items: center;
  padding: var(--s-3xl);
  background: var(--w-canvas);
}
.split-section-content-inner {
  max-width: 540px;
}
.split-section-content-inner .mono-tag {
  margin-bottom: var(--s-md);
}
.split-section-content-inner h2 {
  font-size: 40px;
  font-weight: 900;
  line-height: 0.85;
  color: var(--w-ink);
  margin-bottom: var(--s-lg);
}
.split-section-content-inner p {
  font-size: 18px;
  color: var(--w-body);
  line-height: 1.5;
  margin-bottom: var(--s-xl);
}

/* Alternate: image on left vs right */
.split-section-reverse .split-section-image {
  order: 2;
}
.split-section-reverse .split-section-content {
  order: 1;
}

html[lang="fa"] .split-section-content-inner h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
}


/* ==========================================================================
   CTA Strip
   ========================================================================== */
.cta-strip {
  background: var(--w-canvas-soft);
  padding: var(--s-2xl) 0;
}
.cta-strip-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--s-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2xl);
}
.cta-strip-text h2 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--w-ink);
  margin-bottom: var(--s-sm);
}
.cta-strip-text p {
  font-size: 16px;
  color: var(--w-body);
  max-width: 420px;
  line-height: 1.5;
}

/* ==========================================================================
   Footer — Wise dark footer
   ========================================================================== */
.footer {
  background: var(--w-ink);
  padding: var(--s-3xl) 0 var(--s-xl);
}
.footer .container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--s-xl);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--s-2xl);
  margin-bottom: var(--s-2xl);
}
.footer-brand img { height: 36px; width: auto; }
.footer-brand p {
  color: var(--w-canvas-soft);
  font-size: 14px;
  margin-top: var(--s-lg);
  max-width: 320px;
  line-height: 1.43;
}
.footer-title {
  font-size: 14px; font-weight: 600;
  color: var(--w-primary);
  margin-bottom: var(--s-lg);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: var(--s-sm); }
.footer-links a {
  color: var(--w-canvas-soft);
  font-size: 14px;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--w-primary); }
.footer-bottom {
  text-align: center;
  padding-top: var(--s-lg);
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--w-mute);
  font-size: 12px;
  font-weight: 400;
}

/* ==========================================================================
   Utility Tags
   ========================================================================== */
.mono-tag {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--w-primary);
  display: block;
  margin-bottom: var(--s-md);
}

/* ==========================================================================
   Paused Badge — red pill tag for currently-paused programs
   ========================================================================== */
.paused-badge {
  display: inline-flex;
  align-items: center;
  background: var(--w-primary);
  color: var(--w-on-primary);
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.4;
  white-space: nowrap;
}

/* Hero variant — sits below the display title on its own line */
.paused-badge-hero {
  display: inline-block;
  margin-top: var(--s-lg);
  font-size: 13px;
  padding: 5px 14px;
  letter-spacing: 1px;
}

/* Card variant — sits after the card heading */
.feature-card .paused-badge,
.feature-card-sage .paused-badge {
  margin-top: var(--s-xs);
}

/* Farsi overrides */
html[lang="fa"] .paused-badge,
html[dir="rtl"] .paused-badge {
  letter-spacing: 0;
  font-weight: 600;
}

/* ==========================================================================
   Chatbot Section — homepage AI assistant widget
   ========================================================================== */
.chatbot-section {
  background: var(--w-canvas-soft);
  padding: var(--s-3xl) var(--s-xl);
}
.chatbot-section-inner {
  max-width: 720px;
  margin: 0 auto;
}
.chatbot-header {
  text-align: center;
  margin-bottom: var(--s-xl);
}
.chatbot-pulse {
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--w-positive);
  border-radius: 50%;
  margin-bottom: var(--s-md);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46, 173, 75, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(46, 173, 75, 0); }
}
.chatbot-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--w-ink);
  margin-bottom: var(--s-sm);
}
.chatbot-header p {
  font-size: 15px;
  color: var(--w-mute);
  line-height: 1.5;
}
.chatbot-widget {
  background: var(--w-canvas);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
}
.chatbot-widget #chat_form {
  min-height: 480px;
}

html[lang="fa"] .chatbot-header h2 {
  font-size: clamp(1.2rem, 4vw, 1.75rem);
}

@media (max-width: 768px) {
  .chatbot-section { padding: var(--s-xl) var(--s-md); }
  .chatbot-header h2 { font-size: 22px; }
  .chatbot-widget #chat_form { min-height: 400px; }
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-up.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .feature-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .feature-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-band-title { font-size: 48px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 60px; }

  .photo-banner { height: 280px; }
  .photo-banner-tall { height: 340px; }
  .photo-banner-short { height: 200px; }

  .split-section { grid-template-columns: 1fr; min-height: auto; }
  .split-section-image { min-height: 280px; order: -1 !important; }
  .split-section-content { padding: var(--s-2xl) var(--s-xl); order: 1 !important; }
  .split-section-content-inner h2 { font-size: 28px; }

  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 290px; height: 100vh;
    background: var(--w-canvas);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    box-shadow: -6px 0 30px rgba(0,0,0,0.12);
    transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
    z-index: 1001;
    padding: calc(var(--nav-height) + var(--s-xl)) var(--s-2xl) var(--s-2xl);
    overflow-y: auto;
  }
  html[dir="rtl"] .nav-links { right: auto; left: -100%; }
  .nav-links.open { right: 0; }
  html[dir="rtl"] .nav-links.open { right: auto; left: 0; }

  .nav-links a {
    color: var(--w-ink) !important;
    font-size: 17px; font-weight: 500;
    padding: 14px 0 !important;
    border-bottom: 1px solid var(--w-canvas-soft);
    display: block;
  }
  .nav-links a.active { color: var(--w-primary) !important; }
  .nav-links a.active::after { display: none !important; }

  .nav-links .nav-cta, .nav-cta {
    display: flex !important;
    margin: var(--s-xl) 0 var(--s-lg) !important;
    width: 100%; height: 44px;
    justify-content: center;
    font-size: 15px !important;
    order: 1;
    border-bottom: none;
  }

  .lang-switcher {
    margin: 0 !important;
    padding: var(--s-lg) 0 0 !important;
    border-left: none !important;
    border-top: 1px solid var(--w-canvas-soft);
    justify-content: center;
    gap: 8px;
    width: 100%;
    order: 2;
  }
  .lang-title { display: none; }
  .lang-flags { display: flex; flex-direction: row; justify-content: center; gap: 2px; }
  .lang-flags a { padding: 4px 3px !important; }
  .lang-flags a .lang-flag { height: 20px !important; }
  .lang-flags a.active { background: transparent; }

  .hero-band-title { font-size: 40px; }
  .hero-band { min-height: 60vh; }
  .hero-band-dark { min-height: 50vh; }

  .feature-grid-2, .feature-grid-3, .feature-grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 40px; }

  .section-header h2 { font-size: 32px; }
  .quote-band .quote-text { font-size: 28px; }

  .footer-grid { grid-template-columns: 1fr; gap: var(--s-xl); }
  .cta-strip-inner { flex-direction: column; text-align: center; }
  .cta-strip-text p { margin: 0 auto; }
}

@media (max-width: 480px) {
  .hero-band-title { font-size: 32px; }
  .hero-band { min-height: 50vh; }
  .display-xl { font-size: 40px; }
  .stats-grid { grid-template-columns: 1fr; }
  .nav-links { width: 100%; padding-left: var(--s-xl); padding-right: var(--s-xl); }
  :root { --s-3xl: 32px; }
}
