/* ============================================================
   مؤسسة الصقر الجارح - نظام الهوية البصرية الكامل
   FULL VISUAL IDENTITY SYSTEM — RTL / Arabic
   ============================================================ */

/* ─── 1. GOOGLE FONTS — Loaded via HTML preload (non-blocking) ─ */
/* @import removed — fonts are now loaded asynchronously in <head> */

/* ─── 2. DESIGN TOKENS ────────────────────────────────────── */
:root {
  /* --- Primary Palette (أزرق داكن - ثقة + أمان) --- */
  --primary-50:  #eff6ff;
  --primary-100: #dbeafe;
  --primary-500: #3b82f6;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;
  --primary-800: #1e3a8a;   /* Primary Main */
  --primary-900: #1e1b4b;

  --primary:       var(--primary-800);
  --primary-light: var(--primary-500);
  --primary-dark:  var(--primary-900);

  /* --- Secondary Palette (برتقالي ذهبي - طاقة + سرعة) --- */
  --secondary-400: #fbbf24;
  --secondary-500: #f59e0b;   /* Secondary Main */
  --secondary-600: #d97706;
  --secondary-700: #b45309;

  --secondary:      var(--secondary-500);
  --secondary-dark: var(--secondary-600);

  /* --- WhatsApp / Success --- */
  --whatsapp:      #25d366;
  --whatsapp-dark: #128c7e;
  --success:       #22c55e;
  --warning:       #f97316;
  --danger:        #ef4444;

  /* --- Neutrals / Surfaces --- */
  --white:   #ffffff;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-dark: #0f172a;
  --bg-dark-2: #1e293b;

  /* --- Text --- */
  --text-heading: #0f172a;
  --text-body:    #334155;
  --text-muted:   #64748b;
  --text-light:   #f1f5f9;
  --text-white:   #ffffff;

  /* --- Borders --- */
  --border-color: #e2e8f0;
  --border-color-2: #cbd5e1;

  /* --- Typography --- */
  --font-heading: 'Cairo', sans-serif;
  --font-body:    'Tajawal', sans-serif;

  --text-xs:   0.75rem;    /* 12px */
  --text-sm:   0.875rem;   /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg:   1.125rem;   /* 18px */
  --text-xl:   1.25rem;    /* 20px */
  --text-2xl:  1.5rem;     /* 24px */
  --text-3xl:  1.875rem;   /* 30px */
  --text-4xl:  2.25rem;    /* 36px */
  --text-5xl:  3rem;       /* 48px */

  --fw-normal:    400;
  --fw-medium:    500;
  --fw-semibold:  600;
  --fw-bold:      700;
  --fw-extrabold: 800;
  --fw-black:     900;

  --lh-tight:   1.25;
  --lh-snug:    1.4;
  --lh-normal:  1.6;
  --lh-relaxed: 1.8;   /* مثالي للعربية */
  --lh-loose:   2.0;

  /* --- Spacing (4px Grid) --- */
  --sp-1:  0.25rem;    /* 4px  */
  --sp-2:  0.5rem;     /* 8px  */
  --sp-3:  0.75rem;    /* 12px */
  --sp-4:  1rem;       /* 16px */
  --sp-5:  1.25rem;    /* 20px */
  --sp-6:  1.5rem;     /* 24px */
  --sp-8:  2rem;       /* 32px */
  --sp-10: 2.5rem;     /* 40px */
  --sp-12: 3rem;       /* 48px */
  --sp-16: 4rem;       /* 64px */
  --sp-20: 5rem;       /* 80px */
  --sp-24: 6rem;       /* 96px */

  /* --- Border Radius --- */
  --radius-xs:   2px;
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-2xl:  24px;
  --radius-full: 9999px;

  /* --- Shadows --- */
  --shadow-xs:  0 1px 2px 0 rgba(0,0,0,0.05);
  --shadow-sm:  0 2px 4px 0 rgba(0,0,0,0.06);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl:  0 20px 60px rgba(0,0,0,0.15);
  --shadow-primary: 0 4px 20px rgba(30,58,138,0.25);

  /* --- Transitions --- */
  --t-fast:   150ms ease-in-out;
  --t-normal: 300ms ease-in-out;
  --t-slow:   500ms ease-in-out;

  /* --- Header Height --- */
  --header-h: 72px;
}

/* ─── 3. RESET & BASE ─────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  direction: rtl;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--fw-normal);
  line-height: var(--lh-relaxed);
  color: var(--text-body);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--header-h);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-tight);
  color: var(--text-heading);
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

section { padding: var(--sp-20) 0; }

/* ─── 4. HEADER ───────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: box-shadow var(--t-normal), background var(--t-normal);
}

.site-header.sticky {
  box-shadow: var(--shadow-md);
  border-bottom-color: transparent;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

/* Logo */
.logo {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--fw-black);
  color: var(--primary);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.logo-dot { color: var(--secondary); }
.logo-badge {
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  background: var(--primary-50);
  color: var(--primary);
  padding: 2px var(--sp-2);
  border-radius: var(--radius-full);
  border: 1px solid var(--primary-100);
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.nav-links a {
  position: relative;
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  font-size: var(--text-sm);
  color: var(--text-body);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-md);
  transition: all var(--t-fast);
}

.nav-links a:hover {
  color: var(--primary);
  background: var(--primary-50);
}

.nav-links a.active {
  color: var(--primary);
  background: var(--primary-50);
  font-weight: var(--fw-bold);
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: background var(--t-fast);
}
.menu-toggle:hover { background: var(--primary-50); }
.menu-toggle span {
  display: block;
  width: 20px; height: 2px;
  background-color: var(--primary);
  border-radius: var(--radius-full);
  transition: transform var(--t-normal), opacity var(--t-normal);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
@media (max-width: 900px) {
  .menu-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: var(--sp-6);
    gap: var(--sp-4);
    box-shadow: var(--shadow-xl);
    border-top: 1px solid var(--border-color);
    transform: translateY(-110%);
    transition: transform var(--t-normal);
    z-index: 999;
  }
  .main-nav.active { transform: translateY(0); }

  .nav-links { flex-direction: column; width: 100%; gap: var(--sp-1); }
  .nav-links a { display: block; padding: var(--sp-3) var(--sp-4); font-size: var(--text-base); }
  .nav-cta { width: 100%; justify-content: center; }
}

/* ─── 5. CTA BUTTONS ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-8);
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--t-normal);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* Ripple Effect */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity var(--t-fast);
}
.btn:active::after { opacity: 1; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* Primary */
.btn-primary {
  background: var(--primary);
  color: var(--text-white) !important;
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover:not(:disabled) {
  background: var(--primary-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30,58,138,0.35);
}
.btn-primary:active:not(:disabled) { transform: translateY(0); }

/* Secondary */
.btn-secondary {
  background: var(--secondary);
  color: var(--text-white) !important;
  box-shadow: 0 4px 15px rgba(245,158,11,0.3);
}
.btn-secondary:hover:not(:disabled) {
  background: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245,158,11,0.4);
}

/* Outline */
.btn-outline {
  background: transparent;
  color: var(--primary) !important;
  border-color: var(--primary);
}
.btn-outline:hover:not(:disabled) {
  background: var(--primary);
  color: var(--text-white) !important;
}

/* WhatsApp */
.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--text-white) !important;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover:not(:disabled) {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,211,102,0.4);
}

/* Sizes */
.btn-sm { padding: var(--sp-2) var(--sp-5); font-size: var(--text-sm); }
.btn-lg { padding: var(--sp-4) var(--sp-10); font-size: var(--text-lg); }

/* ─── 6. FOOTER ───────────────────────────────────────────── */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding-top: var(--sp-20);
  margin-top: auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-12);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: var(--sp-4);
  font-size: var(--text-2xl);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: var(--lh-loose);
  margin-bottom: var(--sp-6);
}

.footer-social {
  display: flex;
  gap: var(--sp-3);
}
.social-btn {
  width: 38px; height: 38px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  transition: background var(--t-fast), transform var(--t-fast);
  color: var(--text-light);
}
.social-btn:hover { background: var(--secondary); transform: translateY(-3px); }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: var(--fw-bold);
  color: var(--secondary);
  margin-bottom: var(--sp-5);
}

.footer-col ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-col li a {
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: color var(--t-fast), padding-right var(--t-fast);
  display: flex; align-items: center; gap: var(--sp-2);
}
.footer-col li a:hover { color: var(--secondary); padding-right: var(--sp-2); }
.footer-col li a::before { content: '›'; color: var(--secondary); font-size: 1.1rem; }

.contact-list li { display: flex; align-items: center; gap: var(--sp-3); color: var(--text-muted); font-size: var(--text-sm); }
.contact-list a { color: var(--text-muted); }
.contact-list a:hover { color: var(--secondary); }
.contact-icon { font-size: 1.1rem; flex-shrink: 0; }

.footer-bottom {
  text-align: center;
  padding: var(--sp-6) 0;
  color: var(--text-muted);
  font-size: var(--text-sm);
}

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ─── 7. PAGE LAYOUT HELPERS ──────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-700) 100%);
  color: var(--text-white);
  padding: var(--sp-20) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-header h1 { color: var(--secondary); font-size: var(--text-4xl); position: relative; }
.page-header p  { color: rgba(255,255,255,0.8); max-width: 650px; margin: var(--sp-3) auto 0; position: relative; }

.breadcrumbs {
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  padding: var(--sp-3) 0;
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.breadcrumbs a { color: var(--primary); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs .sep { margin: 0 var(--sp-2); }

.section-label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: var(--sp-3);
}
.section-title {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  color: var(--text-heading);
  margin-bottom: var(--sp-4);
  text-align: center;
}
.section-desc {
  text-align: center;
  max-width: 650px;
  margin: 0 auto var(--sp-12);
  color: var(--text-muted);
  font-size: var(--text-lg);
  line-height: var(--lh-relaxed);
}

/* ─── 8. CARDS ────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  padding: var(--sp-8);
  transition: all var(--t-normal);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-100);
}
.card-icon {
  width: 56px; height: 56px;
  background: var(--primary-50);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: var(--sp-5);
}
.card h3 {
  font-size: var(--text-xl);
  color: var(--text-heading);
  margin-bottom: var(--sp-2);
}
.card p { color: var(--text-muted); line-height: var(--lh-relaxed); }

/* Grid Layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ─── 9. HERO ─────────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, var(--primary-50) 0%, var(--white) 60%);
  padding: var(--sp-24) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
  top: -200px; right: -200px;
  border-radius: 50%;
}
.hero .badge {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--primary);
  margin-bottom: var(--sp-6);
  box-shadow: var(--shadow-sm);
}
.hero h1 {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  color: var(--text-heading);
  margin-bottom: var(--sp-5);
  line-height: 1.2;
}
.hero h1 span { color: var(--primary); }
.hero p {
  max-width: 700px; margin: 0 auto var(--sp-8);
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
}
.hero-cta-group { display: flex; gap: var(--sp-4); justify-content: center; flex-wrap: wrap; }

.hero-stats {
  display: flex; justify-content: center; gap: var(--sp-12);
  margin-top: var(--sp-12);
  padding-top: var(--sp-12);
  border-top: 1px solid var(--border-color);
}
.hero-stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: var(--fw-black);
  color: var(--primary);
  line-height: 1;
}
.hero-stat-label { font-size: var(--text-sm); color: var(--text-muted); margin-top: var(--sp-1); }

@media (max-width: 540px) {
  .hero-stats { gap: var(--sp-6); flex-wrap: wrap; }
}

/* ─── 10. FLOATING WHATSAPP ───────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: var(--sp-6); left: var(--sp-6);
  z-index: 900;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  animation: waPulse 2s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.55); animation: none; }

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 4px 35px rgba(37,211,102,0.65); }
}

/* ─── 11. ANIMATIONS LIBRARY ─────────────────────────────── */

/* --- A) Scroll Animations (controlled by IntersectionObserver JS) --- */
[data-anim] {
  opacity: 0;
  transition: opacity 0.65s ease, transform 0.65s ease;
}
[data-anim].is-visible { opacity: 1; transform: none !important; }

[data-anim="fade-up"]    { transform: translateY(35px); }
[data-anim="fade-right"] { transform: translateX(35px); }
[data-anim="fade-left"]  { transform: translateX(-35px); }
[data-anim="scale-in"]   { transform: scale(0.88); }
[data-anim="fade-in"]    { } /* opacity only */

/* Stagger delays */
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }

/* --- B) Entrance Animations (CSS only - for immediate content) --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-15px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.90); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes countNum {
  from { opacity: 0; transform: translateY(10px) scale(0.8); }
  to   { opacity: 1; transform: translateY(0)  scale(1); }
}

.anim-fade-up     { animation: fadeInUp 0.65s ease both; }
.anim-fade-in     { animation: fadeIn 0.65s ease both; }
.anim-slide-down  { animation: slideDown 0.45s ease both; }
.anim-scale-up    { animation: scaleUp 0.55s ease both; }

.anim-delay-1 { animation-delay: 0.10s; }
.anim-delay-2 { animation-delay: 0.20s; }
.anim-delay-3 { animation-delay: 0.30s; }
.anim-delay-4 { animation-delay: 0.40s; }

/* --- C) Hover Micro-Interactions --- */
.hover-lift { transition: transform var(--t-normal), box-shadow var(--t-normal); }
.hover-lift:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

/* ─── 12. MISC UTILITIES ──────────────────────────────────── */
.text-primary   { color: var(--primary) !important; }
.text-secondary { color: var(--secondary) !important; }
.text-muted     { color: var(--text-muted) !important; }
.bg-primary-light { background: var(--primary-50); }
.divider { border: none; border-top: 1px solid var(--border-color); margin: var(--sp-8) 0; }
.content-center { text-align: center; }
.content-narrow { max-width: 700px; margin: 0 auto; }

/* Pill chip */
.chip {
  display: inline-flex; align-items: center; gap: var(--sp-1);
  padding: var(--sp-1) var(--sp-3);
  background: var(--primary-50);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  border: 1px solid var(--primary-100);
}

/* FAQ Accordion */
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-q {
  width: 100%; text-align: right;
  background: none; border: none;
  font-family: var(--font-heading); font-size: var(--text-lg);
  font-weight: var(--fw-bold); color: var(--text-heading);
  padding: var(--sp-5) 0;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; transition: color var(--t-fast);
}
.faq-q:hover { color: var(--primary); }
.faq-q .faq-icon { font-size: var(--text-xl); color: var(--secondary); transition: transform var(--t-normal); flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height var(--t-slow), padding var(--t-normal);
  color: var(--text-muted); line-height: var(--lh-relaxed); font-size: var(--text-base);
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: var(--sp-5); }

/* ─── 13. INTERSECTION OBSERVER JS ───────────────────────── */
/* (Embedded in script tag in each HTML file via shared script.js or inline) */
