/*
 * EduGuide BH — "Quiet Authority" Design System v2
 * Mobile-first. Reem Kufi display + Tajawal body. Spring physics. Real motion.
 * Single source of truth for all four public pages.
 * ─────────────────────────────────────────────────────────────────────────────
 */


/* ══════════════════════════════════════════════════════════════════════════════
   1. TOKENS
══════════════════════════════════════════════════════════════════════════════ */
:root {
  /* Brand colours — unchanged */
  --ink:         #0B1F1A;
  --ink-90:      rgba(11,31,26,.90);
  --emerald:     #1A8F5A;
  --emerald-dk:  #14794B;
  --emerald-tt:  #E8F3EC;
  --paper:       #FAF9F6;
  --surface:     #FFFFFF;
  --line:        #E0E8E3;
  --muted:       #5E6D66;
  --gold:        #C9A24B;
  --wa-green:    #25D366;

  /* Typography */
  --font-display: 'Reem Kufi', 'Tajawal', sans-serif;
  --font-body:    'Tajawal', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Type scale (mobile-first base; desktop clamps up) */
  --text-xs:   0.75rem;   /* 12 */
  --text-sm:   0.875rem;  /* 14 */
  --text-base: 1rem;      /* 16 — min for iOS inputs */
  --text-lg:   1.125rem;  /* 18 */
  --text-xl:   1.25rem;   /* 20 */
  --text-2xl:  1.5rem;    /* 24 */
  --text-3xl:  clamp(1.5rem, 4vw, 2rem);
  --text-4xl:  clamp(1.875rem, 5vw, 2.5rem);
  --text-hero: clamp(2rem, 7vw, 4.25rem);

  /* Shadow system — layered, no harsh drops */
  --shadow-xs:   0 1px 2px rgba(0,0,0,.04);
  --shadow-sm:   0 2px 8px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:   0 8px 24px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lift: 0 16px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
  --shadow-emerald: 0 8px 24px rgba(26,143,90,.20);

  /* Easings — no linear, no ease-in-out */
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);   /* overshoot */
  --ease-smooth:  cubic-bezier(0.4, 0, 0.2, 1);         /* material */
  --ease-out:     cubic-bezier(0, 0, 0.2, 1);

  /* Layout */
  --container:   1200px;
  --container-sm: 760px;
  --section-y:   clamp(3.5rem, 8vw, 6rem);
  --gap:         1.25rem;
  --gap-lg:      2rem;

  /* Radii */
  --r-xs:   4px;
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   22px;
  --r-pill: 100px;

  /* Transitions */
  --t-fast:   150ms var(--ease-smooth);
  --t-base:   220ms var(--ease-smooth);
  --t-slow:   350ms var(--ease-smooth);
  --t-spring: 380ms var(--ease-spring);
  --ease:     var(--t-base); /* compat alias — form-page <style> blocks use this */
}


/* ══════════════════════════════════════════════════════════════════════════════
   2. BASE RESET (mobile-first)
══════════════════════════════════════════════════════════════════════════════ */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  direction: rtl;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Prevent content jump from mobile CTA bar */
body { padding-bottom: 0; }
body.has-mobile-bar { padding-bottom: 72px; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
svg { display: block; }


/* ══════════════════════════════════════════════════════════════════════════════
   3. TYPOGRAPHY
══════════════════════════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
}
h1 { font-size: var(--text-hero); line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-xl); font-weight: 600; }
h4 { font-size: var(--text-lg); font-weight: 600; }

p { color: var(--muted); line-height: 1.8; }

/* Kicker / eyebrow — refined, not a pill badge */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 0.875rem;
}
.kicker::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--emerald);
  border-radius: 2px;
  flex-shrink: 0;
}

/* Ink-section kicker variant */
.section--ink .kicker {
  color: rgba(255,255,255,.55);
}
.section--ink .kicker::before {
  background: rgba(255,255,255,.4);
}

/* Big editorial numeral */
.num {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--emerald);
  line-height: 1;
  letter-spacing: -0.03em;
}

/* Inline SVG icons */
.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-lg { width: 1.75em; height: 1.75em; }
.icon-xl { width: 2.25em; height: 2.25em; }


/* ══════════════════════════════════════════════════════════════════════════════
   4. LAYOUT UTILITIES
══════════════════════════════════════════════════════════════════════════════ */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}
.container--sm { max-width: var(--container-sm); }

.section { padding-block: var(--section-y); }
.section--ink   { background: var(--ink); }
.section--tint  { background: var(--emerald-tt); }
.section--paper { background: var(--paper); }
.section--white { background: var(--surface); }

/* Mobile-first grid helpers */
.grid { display: grid; gap: var(--gap); }
.grid-cols-1 { grid-template-columns: 1fr; }

@media (min-width: 600px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-xs { gap: 0.5rem; }
.gap-sm { gap: 0.75rem; }
.gap-md { gap: 1rem; }
.gap-lg { gap: 1.5rem; }
.gap-xl { gap: 2rem; }

.text-center { text-align: center; }
.divider { border: none; border-top: 1px solid var(--line); }


/* ══════════════════════════════════════════════════════════════════════════════
   5. MOTION SYSTEM — Reveal & Stagger
══════════════════════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.55s var(--ease-out),
    transform 0.55s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays — applied to .reveal children by JS, or manually */
.reveal-d1 { transition-delay: 0.06s; }
.reveal-d2 { transition-delay: 0.12s; }
.reveal-d3 { transition-delay: 0.18s; }
.reveal-d4 { transition-delay: 0.24s; }
.reveal-d5 { transition-delay: 0.30s; }
.reveal-d6 { transition-delay: 0.36s; }

/* Hero entrance — faster, from bottom-less */
.hero-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.45s var(--ease-out),
    transform 0.45s var(--ease-out);
}
.hero-reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Respect user preference */
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ══════════════════════════════════════════════════════════════════════════════
   6. SECTION HEADER
══════════════════════════════════════════════════════════════════════════════ */
.section-header {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.section-header h2 { margin-bottom: 0.6rem; }
.section-header p { font-size: var(--text-lg); max-width: 600px; }

/* Centred variant */
.section-header--center { text-align: center; }
.section-header--center p { margin-inline: auto; }

.section--ink .section-header h2 { color: #fff; }
.section--ink .section-header p  { color: rgba(255,255,255,.6); }


/* ══════════════════════════════════════════════════════════════════════════════
   7. BUTTONS — 48px touch target, spring physics
══════════════════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.75rem;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background var(--t-base),
    color var(--t-base),
    border-color var(--t-base),
    box-shadow var(--t-base),
    transform var(--t-spring);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

/* Touch: scale down on active, not hover-stuck */
.btn:active { transform: scale(0.97); }

/* Pointer (mouse): spring lift on hover */
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn:active { transform: scale(0.97) translateY(0); }
}

/* Solid emerald */
.btn-primary {
  background: var(--emerald);
  color: #fff;
  border-color: var(--emerald);
  box-shadow: var(--shadow-emerald);
}
@media (hover: hover) {
  .btn-primary:hover {
    background: var(--emerald-dk);
    border-color: var(--emerald-dk);
    box-shadow: 0 12px 32px rgba(26,143,90,.30);
  }
}

/* Ghost outline */
.btn-ghost {
  background: transparent;
  color: var(--emerald);
  border-color: var(--emerald);
}
@media (hover: hover) {
  .btn-ghost:hover { background: var(--emerald); color: #fff; }
}

/* White (dark sections) */
.btn-white {
  background: #fff;
  color: var(--emerald);
  border-color: #fff;
  box-shadow: var(--shadow-sm);
}
@media (hover: hover) {
  .btn-white:hover { background: var(--emerald-tt); border-color: var(--emerald-tt); }
}

/* Ghost white (dark sections) */
.btn-ghost-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
@media (hover: hover) {
  .btn-ghost-white:hover { background: rgba(255,255,255,.1); border-color: #fff; }
}

.btn-lg { min-height: 52px; padding: 0.875rem 2rem; font-size: var(--text-base); }
.btn-full { width: 100%; }


/* ══════════════════════════════════════════════════════════════════════════════
   8. CARDS — hairline border, no icon-square
══════════════════════════════════════════════════════════════════════════════ */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.75rem;
  transition:
    border-color var(--t-base),
    box-shadow var(--t-slow),
    transform var(--t-slow);
}
@media (hover: hover) {
  .card:hover {
    border-color: var(--emerald);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
  }
}

/* Card icon — clean, no tinted square */
.card-icon {
  color: var(--emerald);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
}
.card h3 { font-size: var(--text-xl); margin-bottom: 0.5rem; color: var(--ink); }
.card p  { font-size: var(--text-sm); color: var(--muted); line-height: 1.75; }


/* ══════════════════════════════════════════════════════════════════════════════
   9. FORM FIELDS — 48px targets, 16px font (stops iOS zoom)
══════════════════════════════════════════════════════════════════════════════ */
.field { margin-bottom: 1.25rem; }
.field label {
  display: block;
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--ink);
  margin-bottom: 0.45rem;
}
.field label .req { color: #dc2626; margin-right: 0.2rem; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: var(--text-base); /* 16px — critical: prevents iOS zoom */
  color: var(--ink);
  background: var(--surface);
  transition: border-color var(--t-base), box-shadow var(--t-base);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(26,143,90,.12);
}
.field textarea { min-height: 120px; resize: vertical; }

/* Phone row */
.phone-row { display: flex; gap: 0.5rem; }
.phone-row select { width: 130px; flex-shrink: 0; }
.phone-row input  { flex: 1; }

/* Submit button */
.field-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  min-height: 52px;
  padding: 0.9rem;
  background: var(--emerald);
  color: #fff;
  border: none;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  cursor: pointer;
  transition: background var(--t-base), transform var(--t-spring), box-shadow var(--t-base);
  -webkit-tap-highlight-color: transparent;
}
.field-submit:active { transform: scale(0.98); }
@media (hover: hover) {
  .field-submit:hover:not(:disabled) {
    background: var(--emerald-dk);
    box-shadow: 0 8px 24px rgba(26,143,90,.30);
    transform: translateY(-1px);
  }
}
.field-submit:disabled { opacity: .5; cursor: not-allowed; }

/* Alert boxes */
.alert-box {
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  display: none;
  margin-bottom: 1rem;
}
.alert-box.show { display: block; }
.alert-success { background: var(--emerald-tt); color: var(--emerald-dk); border-right: 3px solid var(--emerald); }
.alert-error   { background: #fee2e2; color: #7f1d1d; border-right: 3px solid #dc2626; }


/* ══════════════════════════════════════════════════════════════════════════════
   10. TOPBAR
══════════════════════════════════════════════════════════════════════════════ */
.topbar {
  background: var(--ink);
  color: rgba(255,255,255,.6);
  font-size: var(--text-xs);
  padding: 0.5rem 0;
  overflow: hidden;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.topbar-item .icon { color: var(--gold); }

@media (max-width: 600px) {
  /* Show only the first topbar item on very small screens */
  .topbar-item:not(:first-child) { display: none; }
}


/* ══════════════════════════════════════════════════════════════════════════════
   11. NAVBAR — transparent → solid morph, mobile drawer
══════════════════════════════════════════════════════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 800;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t-base), background var(--t-base);
}
.navbar.on-hero {
  background: transparent;
  border-bottom-color: transparent;
}
.navbar.scrolled {
  background: var(--surface);
  border-bottom-color: var(--line);
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 64px;
}

/* Logo — fixed size, no overflow */
.nav-logo {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

/* Desktop nav links */
.nav-links {
  display: none; /* mobile: hidden — drawer takes over */
  gap: 1.75rem;
  align-items: center;
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding-bottom: 3px;
  transition: color var(--t-fast);
}
.navbar.on-hero .nav-links a { color: rgba(255,255,255,.85); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--emerald);
  border-radius: 2px;
  transition: width var(--t-spring);
}
.nav-links a:hover { color: var(--emerald); }
.nav-links a:hover::after { width: 100%; }
.navbar.on-hero .nav-links a:hover { color: #fff; }
.nav-pay { color: var(--emerald) !important; }

/* Desktop CTA */
.nav-cta { display: none; }

/* Hamburger */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background var(--t-fast);
  -webkit-tap-highlight-color: transparent;
}
.nav-hamburger:hover { background: rgba(0,0,0,.05); }
.hamburger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--t-spring), opacity var(--t-fast);
  transform-origin: center;
}
.navbar.on-hero .hamburger-bar { background: #fff; }

/* Animated hamburger → × */
.nav-hamburger[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0; transform: scaleX(0);
}
.nav-hamburger[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Desktop: show links, hide hamburger */
@media (min-width: 900px) {
  .nav-links  { display: flex; }
  .nav-cta    { display: inline-flex; }
  .nav-hamburger { display: none; }
}


/* ══════════════════════════════════════════════════════════════════════════════
   12. MOBILE NAV DRAWER
══════════════════════════════════════════════════════════════════════════════ */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 9000;
  visibility: hidden;
  pointer-events: none;
}
.nav-drawer.open {
  visibility: visible;
  pointer-events: auto;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11,31,26,.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s var(--ease-smooth);
}
.nav-drawer.open .drawer-backdrop { opacity: 1; }

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;       /* RTL: panel slides from right */
  width: min(340px, 88vw);
  height: 100%;
  background: var(--paper);
  transform: translateX(105%);
  transition: transform 0.35s var(--ease-smooth);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
  box-shadow: -8px 0 40px rgba(0,0,0,.15);
}
.nav-drawer.open .drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.drawer-logo { height: 36px; width: auto; }

.drawer-close {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  color: var(--ink);
  transition: background var(--t-fast);
  -webkit-tap-highlight-color: transparent;
}
.drawer-close:hover { background: rgba(0,0,0,.06); }

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}
.drawer-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 0.75rem;
  border-radius: var(--r-sm);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: background var(--t-fast), color var(--t-fast);
  min-height: 52px;
  opacity: 0;
  transform: translateX(16px);
  transition:
    background var(--t-fast),
    color var(--t-fast),
    opacity 0.3s var(--ease-out),
    transform 0.3s var(--ease-out);
}
.drawer-links a:last-child { border-bottom: none; }
.drawer-links a:hover { background: var(--emerald-tt); color: var(--emerald); }
.nav-drawer.open .drawer-links a { opacity: 1; transform: translateX(0); }
.nav-drawer.open .drawer-links a:nth-child(1) { transition-delay: 0.07s; }
.nav-drawer.open .drawer-links a:nth-child(2) { transition-delay: 0.12s; }
.nav-drawer.open .drawer-links a:nth-child(3) { transition-delay: 0.17s; }
.nav-drawer.open .drawer-links a:nth-child(4) { transition-delay: 0.22s; }
.nav-drawer.open .drawer-links a:nth-child(5) { transition-delay: 0.27s; }
.drawer-links .nav-pay { color: var(--emerald); }

.drawer-footer {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Hide drawer on desktop */
@media (min-width: 900px) {
  .nav-drawer { display: none; }
}


/* ══════════════════════════════════════════════════════════════════════════════
   13. STICKY MOBILE ACTION BAR — primary conversion win
══════════════════════════════════════════════════════════════════════════════ */
.mobile-cta-bar {
  display: none;
}

@media (max-width: 899px) {
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 700;
    background: var(--surface);
    border-top: 1px solid var(--line);
    padding: 0.75rem 1rem;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
    gap: 0.75rem;
    box-shadow: 0 -4px 24px rgba(0,0,0,.08);
    transform: translateY(120%);
    transition: transform 0.4s var(--ease-spring);
  }
  .mobile-cta-bar.visible {
    transform: translateY(0);
  }
  .mobile-cta-bar .btn {
    flex: 1;
    font-size: 0.9rem;
    padding: 0.65rem 0.75rem;
    min-height: 46px;
  }
  /* Move WhatsApp FAB above the bar */
  .wa-fab {
    bottom: calc(80px + env(safe-area-inset-bottom));
  }
}


/* ══════════════════════════════════════════════════════════════════════════════
   14. WHATSAPP FAB
══════════════════════════════════════════════════════════════════════════════ */
.wa-fab {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.40);
  z-index: 750;
  transition: transform var(--t-spring), box-shadow var(--t-base);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.wa-fab:active { transform: scale(0.93); }
@media (hover: hover) {
  .wa-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 28px rgba(37,211,102,.55);
  }
}


/* ══════════════════════════════════════════════════════════════════════════════
   15. FOOTER
══════════════════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.55);
  padding-block: clamp(2.5rem, 6vw, 5rem) 2rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 600px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; }
}

.footer-brand h3 {
  font-family: var(--font-display);
  color: #fff;
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.footer-brand p { font-size: var(--text-sm); line-height: 1.8; }

.footer-col h4 {
  font-family: var(--font-display);
  color: #fff;
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a  {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.5);
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--emerald); }
.footer-col .footer-text { font-size: var(--text-sm); line-height: 1.7; }

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.06);
  text-align: center;
}
.footer-bottom p { font-size: var(--text-xs); color: rgba(255,255,255,.3); }
.footer-bottom p + p { margin-top: 0.25rem; }
