/* =========================================================
   Rushd AI — Design tokens
   ========================================================= */
:root {
  /* Core palette — deep navy with warm gold + teal accents */
  --bg: #0A0F1F;
  --bg-elev: #0F1628;
  --surface: #121A2E;
  --surface-2: #172240;
  --border: rgba(212, 168, 106, 0.14);
  --border-strong: rgba(212, 168, 106, 0.28);

  /* Text */
  --text: #F1F5F9;
  --text-muted: #9AA7BD;
  --text-dim: #8892A6;

  /* Brand accents */
  --gold: #D4A86A;
  --gold-hi: #E9C48A;
  --teal: #14B8A6;
  --teal-hi: #2DD4BF;

  --grad-brand: linear-gradient(135deg, #D4A86A 0%, #14B8A6 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(212,168,106,0.18) 0%, rgba(20,184,166,0.18) 100%);

  /* Shape */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  /* Type */
  --font-latin: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --font-arabic: 'IBM Plex Sans Arabic', 'Amiri', system-ui, sans-serif;

  /* Rhythm */
  --container: 1180px;
  --section-y: 112px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-latin);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

html[dir="rtl"] body { font-family: var(--font-arabic); }

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--gold-hi); }

/* =========================================================
   Accessibility utilities
   ========================================================= */
.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;
}

.skip-link {
  position: fixed;
  top: 8px;
  inset-inline-start: 8px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--grad-brand);
  color: #0A0F1F;
  font-weight: 700;
  font-size: 0.9rem;
  transform: translateY(-200%);
  transition: transform 0.2s var(--ease);
  box-shadow: 0 10px 24px -8px rgba(20, 184, 166, 0.5);
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  color: #0A0F1F;
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible,
.nav-cta:focus-visible,
.lang-toggle:focus-visible,
.menu-toggle:focus-visible {
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(212, 168, 106, 0.25);
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--text);
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1em; color: var(--text-muted); }

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

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.8em;
  position: relative;
  padding-inline-start: 28px;
}
.eyebrow::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  width: 18px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

html[dir="rtl"] .eyebrow { letter-spacing: 0; }

em { font-style: normal; }

/* Arabic inline accent (in headings) */
.ar-inline {
  font-family: var(--font-arabic);
  font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0.05em 0.08em;
  line-height: 1.3;
}

/* =========================================================
   Ambient background
   ========================================================= */
.bg-ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 40%, transparent 80%);
}

.bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.35;
}
.bg-glow--1 {
  background: radial-gradient(circle, rgba(212,168,106,0.55), transparent 60%);
  top: -200px;
  inset-inline-start: -150px;
}
.bg-glow--2 {
  background: radial-gradient(circle, rgba(20,184,166,0.45), transparent 60%);
  top: 30%;
  inset-inline-end: -200px;
}

.bg-pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: rgba(212, 168, 106, 0.08);
  opacity: 0.6;
}

/* =========================================================
   Header / Nav
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  background: rgba(10, 15, 31, 0.72);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  display: block;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.brand:hover .brand-mark {
  transform: translateY(-1px);
}
.brand-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-en {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.brand-en em {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
  font-weight: 800;
}
.brand-ar {
  font-family: var(--font-arabic);
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0;
}
.brand-alt-en {
  display: none;
  font-family: var(--font-latin);
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}
html[dir="rtl"] .brand-ar { display: inline; }
html[dir="rtl"] .brand-alt-en { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 0.93rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--grad-brand);
  color: #0A0F1F !important;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -8px rgba(20, 184, 166, 0.5);
  color: #0A0F1F !important;
}

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

.lang-toggle {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  font-family: var(--font-latin);
}
html[dir="rtl"] .lang-toggle { font-family: var(--font-arabic); }
.lang-toggle:hover {
  background: rgba(212, 168, 106, 0.08);
  border-color: var(--gold);
  color: var(--gold-hi);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  padding: 10px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-brand);
  color: #0A0F1F;
  box-shadow: 0 10px 30px -12px rgba(212, 168, 106, 0.55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -14px rgba(20, 184, 166, 0.55);
  color: #0A0F1F;
}
.btn-ghost {
  background: rgba(255,255,255,0.02);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: rgba(212, 168, 106, 0.08);
  border-color: var(--gold);
  color: var(--gold-hi);
}
.btn-lg { padding: 16px 28px; font-size: 1rem; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding: clamp(80px, 12vw, 140px) 0 clamp(60px, 10vw, 110px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
}
.hero-title {
  margin-top: 0;
}
.hero-title-accent {
  display: block;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lede {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 56ch;
  color: var(--text-muted);
}
.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 56px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--border);
}
.hero-stats dt {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}
html[dir="rtl"] .hero-stats dt { letter-spacing: 0; }
.hero-stats dd {
  margin: 0;
  font-weight: 600;
  color: var(--text);
  font-size: 0.98rem;
}

/* Hero visual (orbit) */
.hero-visual {
  position: relative;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1/1;
  margin: 0 auto;
}
.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(212, 168, 106, 0.25);
  animation: spin 40s linear infinite;
}
.orbit-ring--1 { width: 40%; height: 40%; animation-duration: 28s; }
.orbit-ring--2 { width: 68%; height: 68%; animation-duration: 46s; animation-direction: reverse; border-color: rgba(20, 184, 166, 0.22); }
.orbit-ring--3 { width: 96%; height: 96%; animation-duration: 70s; border-color: rgba(212, 168, 106, 0.18); }
.orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 30px rgba(212, 168, 106, 0.35));
}
.orbit-node {
  position: absolute;
  padding: 6px 12px;
  border-radius: 14px;
  background: rgba(18, 26, 46, 0.9);
  border: 1px solid var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(8px);
  animation: float 6s ease-in-out infinite;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
}
.orbit-node-en {
  font-family: var(--font-latin);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.orbit-node-ar {
  font-family: var(--font-arabic);
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 2px;
}
.orbit-node--1 { top: 6%;  left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.orbit-node--2 { top: 50%; inset-inline-end: 0; transform: translateY(-50%); animation-delay: 1.5s; }
.orbit-node--3 { bottom: 6%; left: 50%; transform: translateX(-50%); animation-delay: 3s; }
.orbit-node--4 { top: 50%; inset-inline-start: 0; transform: translateY(-50%); animation-delay: 4.5s; }

@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes float {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -8px; }
}

/* =========================================================
   Sections
   ========================================================= */
.section {
  padding: var(--section-y) 0;
  position: relative;
}
.section--alt {
  background:
    linear-gradient(to bottom, transparent, rgba(15, 22, 40, 0.6) 15%, rgba(15, 22, 40, 0.6) 85%, transparent);
}
.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head .eyebrow { padding-inline-start: 0; }
.section-head .eyebrow::before { display: none; }
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* =========================================================
   Service cards
   ========================================================= */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  position: relative;
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(23, 34, 64, 0.65) 0%, rgba(15, 22, 40, 0.65) 100%);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-brand-soft);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 1; }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 168, 106, 0.08);
  color: var(--gold);
  border: 1px solid var(--border-strong);
  margin-bottom: 18px;
}
.card h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}
.card p {
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
  color: var(--text-muted);
}

/* =========================================================
   Steps (Process)
   ========================================================= */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 26px 22px;
  border-radius: var(--radius-md);
  background: rgba(18, 26, 46, 0.6);
  border: 1px solid var(--border);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.step:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.step-num {
  font-family: var(--font-latin);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 12px;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(212, 168, 106, 0.1);
  border: 1px solid var(--border-strong);
}
.step h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.step p {
  font-size: 0.9rem;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =========================================================
   Approach
   ========================================================= */
.approach-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.principles {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.principles li {
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(23, 34, 64, 0.4);
  border: 1px solid var(--border);
}
.principles h4 {
  font-size: 1rem;
  margin: 0 0 6px;
  color: var(--gold-hi);
}
.principles p {
  font-size: 0.92rem;
  margin: 0;
  color: var(--text-muted);
}

/* =========================================================
   About
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: start;
}
.about-copy p {
  font-size: 1.02rem;
  line-height: 1.75;
}
.about-card {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(23, 34, 64, 0.7) 0%, rgba(15, 22, 40, 0.7) 100%);
  border: 1px solid var(--border-strong);
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: "";
  position: absolute;
  top: -40px;
  inset-inline-end: -40px;
  width: 180px;
  height: 180px;
  background: var(--grad-brand);
  opacity: 0.12;
  border-radius: 50%;
  filter: blur(20px);
}
.about-card h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.about-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.about-card li {
  position: relative;
  padding-inline-start: 26px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.about-card li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.6em;
  width: 10px;
  height: 10px;
  background: var(--grad-brand);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}

/* =========================================================
   Contact
   ========================================================= */
.contact {
  text-align: center;
}
.contact-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 32px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at top, rgba(212, 168, 106, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(23, 34, 64, 0.55), rgba(15, 22, 40, 0.55));
  border: 1px solid var(--border-strong);
  position: relative;
  overflow: hidden;
}
.contact-inner .eyebrow { padding-inline-start: 0; }
.contact-inner .eyebrow::before { display: none; }
.contact-inner h2 { margin-bottom: 12px; }
.contact-inner .btn { margin-top: 14px; }
.contact-note {
  margin-top: 22px;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.contact-note a { color: var(--gold); }
.contact-note a:hover { color: var(--gold-hi); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  padding: 48px 0 40px;
  border-top: 1px solid var(--border);
  margin-top: 40px;
  background: rgba(10, 15, 31, 0.6);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1fr;
  gap: 32px;
  align-items: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-name {
  font-weight: 700;
  color: var(--text);
}
.footer-tag {
  font-size: 0.85rem;
  color: var(--text-dim);
}
.footer-nav {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.footer-nav a:hover { color: var(--gold-hi); }
.footer-copy {
  font-size: 0.85rem;
  color: var(--text-dim);
  display: flex;
  gap: 4px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
html[dir="rtl"] .footer-copy { justify-content: flex-start; }

/* =========================================================
   RTL adjustments
   ========================================================= */
html[dir="rtl"] .hero-title-accent,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3 {
  letter-spacing: 0;
}

html[dir="rtl"] body { line-height: 1.8; }
html[dir="rtl"] h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
html[dir="rtl"] h2 { font-size: clamp(1.65rem, 3.3vw, 2.35rem); }

/* Arabic copy tends to wrap more; give the hero text equal width to the visual. */
html[dir="rtl"] .hero-grid { grid-template-columns: 1fr 1fr; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  :root { --section-y: 84px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; max-width: 360px; margin: 0 auto; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .approach-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand { justify-content: center; }
  .footer-copy { justify-content: center; }

  .nav-links {
    position: fixed;
    top: 76px;
    inset-inline-end: 0;
    width: min(320px, 88vw);
    height: calc(100vh - 76px);
    background: var(--bg-elev);
    border-inline-start: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 6px;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
  }
  html[dir="rtl"] .nav-links {
    border-inline-start: none;
    border-inline-end: 1px solid var(--border);
    transform: translateX(-100%);
  }
  .nav-links a {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 1rem;
  }
  .nav-links a:hover { background: rgba(255,255,255,0.04); }
  .nav-cta {
    text-align: center;
    margin-top: 8px;
  }
  body.menu-open .nav-links { transform: translateX(0) !important; }
  .menu-toggle { display: flex; }
  body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; gap: 14px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .contact-inner { padding: 40px 22px; }
  .brand-text { display: none; }
  .bg-pattern { display: none; }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
