/* =============================================
   v9 — SaaS Modern
   Clean, techy, pill-shaped, dot-grid background
   ============================================= */

:root {
  color-scheme: dark;
  --base: #06242c;
  --base-deep: #041a21;
  --accent: #d8b180;
  --accent-soft: #edcb9e;
  --accent-dim: rgba(216, 177, 128, 0.12);
  --text: #f0ebe5;
  --text-mid: rgba(240, 235, 229, 0.75);
  --text-dim: rgba(240, 235, 229, 0.5);
  --border: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(216, 177, 128, 0.22);
  --surface: rgba(255, 255, 255, 0.04);
  --surface-solid: rgba(8, 42, 52, 0.92);
  --surface-raised: rgba(255, 255, 255, 0.06);
  --card-bg: rgba(255, 255, 255, 0.04);
  --shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.15);
  --focus: rgba(237, 203, 158, 0.7);
  --dot-color: rgba(255, 255, 255, 0.04);
}

:root[data-theme="light"] {
  color-scheme: light;
  --base: #f7efe4;
  --base-deep: #efe3d4;
  --text: #0d3340;
  --text-mid: rgba(13, 51, 64, 0.72);
  --text-dim: rgba(13, 51, 64, 0.45);
  --border: rgba(13, 51, 64, 0.08);
  --border-accent: rgba(216, 177, 128, 0.3);
  --surface: rgba(255, 255, 255, 0.65);
  --surface-solid: rgba(255, 255, 255, 0.92);
  --surface-raised: rgba(255, 255, 255, 0.8);
  --card-bg: rgba(255, 255, 255, 0.7);
  --shadow: 0 16px 48px rgba(13, 51, 64, 0.08);
  --shadow-sm: 0 4px 16px rgba(13, 51, 64, 0.06);
  --focus: rgba(216, 177, 128, 0.6);
  --dot-color: rgba(13, 51, 64, 0.04);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background-color: var(--base);
  background-image:
    radial-gradient(circle, var(--dot-color) 1px, transparent 1px);
  background-size: 24px 24px;
  background-attachment: fixed;
  color: var(--text);
  font-family: "Noto Kufi Arabic", "Segoe UI", Tahoma, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

/* ---- Container ---- */
.container {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

/* ---- Pill Badge (reusable) ---- */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-accent);
  background: var(--accent-dim);
  color: var(--accent-soft);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

:root[data-theme="light"] .pill-badge {
  color: #8a6d3b;
}

/* ---- Theme Burst Layer ---- */
.theme-burst {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  transform: scale(0);
  opacity: 0;
  mix-blend-mode: normal;
  will-change: transform, opacity, filter;
}

.theme-burst-layer {
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
}

.theme-burst-halo { z-index: 0; }
.theme-burst-core { z-index: 1; }

/* ---- Theme Transitions (gated by .theme-ready to avoid FOUC) ---- */
body.theme-ready,
body.theme-ready .navbar-inner,
body.theme-ready .brand-icon,
body.theme-ready .brand-text strong,
body.theme-ready .brand-text span,
body.theme-ready .nav-links a,
body.theme-ready .menu-line,
body.theme-ready .pill-badge,
body.theme-ready .pill-feature,
body.theme-ready .pill-tag,
body.theme-ready .cred-bar,
body.theme-ready .cred-pill,
body.theme-ready .stat-pill,
body.theme-ready .stat-pill strong,
body.theme-ready .stat-pill span,
body.theme-ready .trust-item,
body.theme-ready .trust-item p,
body.theme-ready .about-body,
body.theme-ready .about-body p,
body.theme-ready .credentials,
body.theme-ready .credentials li,
body.theme-ready .service-card,
body.theme-ready .service-card p,
body.theme-ready .section-alt::before,
body.theme-ready .step,
body.theme-ready .step p,
body.theme-ready .step-connector,
body.theme-ready .contact-panel,
body.theme-ready .contact-pill,
body.theme-ready .contact-pill strong,
body.theme-ready .contact-pill span,
body.theme-ready .contact-lead,
body.theme-ready .contact-footer,
body.theme-ready .contact-footer p,
body.theme-ready .hero-center h1,
body.theme-ready .hero-lead,
body.theme-ready .section-header h2,
body.theme-ready .footer,
body.theme-ready .footer p {
  transition:
    background 360ms ease,
    background-color 360ms ease,
    color 360ms ease,
    border-color 360ms ease,
    box-shadow 360ms ease,
    filter 360ms ease,
    opacity 420ms ease;
}

body.theme-ready .btn,
body.theme-ready .theme-toggle,
body.theme-ready .menu-toggle {
  transition:
    transform 180ms ease,
    background 360ms ease,
    background-color 360ms ease,
    color 360ms ease,
    border-color 360ms ease,
    box-shadow 360ms ease,
    opacity 420ms ease;
}

/* ---- Navbar ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 20px;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
}

.brand-icon img { width: 24px; height: 24px; }

.brand-text { display: grid; gap: 1px; }
.brand-text strong { font-size: 0.84rem; font-weight: 700; }
.brand-text span { font-size: 0.68rem; color: var(--text-dim); }

.nav-links {
  display: flex;
  gap: 4px;
  margin-inline-start: auto;
}

.nav-links a {
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text-mid);
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  background: var(--surface-raised);
}

.nav-links a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 200ms ease, background 200ms ease;
}

.btn:hover,
.btn:focus-visible { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  color: #0d3340;
  box-shadow: 0 6px 20px rgba(216, 177, 128, 0.2);
}
.btn-primary:hover { box-shadow: 0 10px 28px rgba(216, 177, 128, 0.3); }

.btn-outline {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text-mid);
}
.btn-outline:hover {
  border-color: var(--border-accent);
  color: var(--text);
  background: var(--surface-raised);
}

.btn-accent {
  background: var(--accent-dim);
  border-color: var(--border-accent);
  color: var(--accent-soft);
  border-radius: 999px;
}
.btn-accent:hover {
  background: rgba(216, 177, 128, 0.2);
}

.btn-sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.78rem;
}

.icon-wa { flex-shrink: 0; }

/* ---- Theme Toggle ---- */
.theme-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent-soft);
  flex-shrink: 0;
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.theme-toggle svg {
  position: absolute;
  width: 18px;
  height: 18px;
  transition: opacity 280ms ease, transform 360ms cubic-bezier(0.22,1,0.36,1);
}

.icon-sun { opacity: 0; transform: rotate(-60deg) scale(0.5); }
.icon-moon { opacity: 1; transform: rotate(0) scale(1); }

:root[data-theme="light"] .icon-sun { opacity: 1; transform: rotate(0) scale(1); }
:root[data-theme="light"] .icon-moon { opacity: 0; transform: rotate(60deg) scale(0.5); }

/* ---- Menu Toggle (mobile) ---- */
.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.menu-line {
  display: block;
  width: 15px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transition: transform 200ms ease, opacity 200ms ease;
}

.navbar.nav-open .menu-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.navbar.nav-open .menu-line:nth-child(2) { opacity: 0; }
.navbar.nav-open .menu-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ================================================
   HERO — Centered layout, SaaS style
   ================================================ */
.hero {
  padding: 80px 0 48px;
  text-align: center;
}

.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  animation: fadeDown 500ms ease both;
}

.hero-center h1 {
  margin: 20px 0 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.2;
  max-width: 16ch;
  animation: fadeUp 600ms ease 100ms both;
}

.hero-lead {
  margin: 16px 0 0;
  max-width: 52ch;
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.9;
  animation: fadeUp 600ms ease 200ms both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0 28px;
  justify-content: center;
  animation: fadeUp 600ms ease 300ms both;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  animation: fadeUp 500ms ease 400ms both;
}

.pill-feature {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text-mid);
  font-weight: 500;
}

.pill-feature svg { color: var(--accent); flex-shrink: 0; }

.hero-stats-row {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  animation: fadeUp 500ms ease 500ms both;
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  border-radius: 999px;
  background: var(--card-bg);
  border: 1px solid var(--border);
}

.stat-pill strong {
  font-size: 1.3rem;
  color: var(--accent-soft);
  line-height: 1;
}

.stat-pill span {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ---- Credentials Bar ---- */
.cred-bar {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.cred-scroll {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.cred-pill {
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-dim);
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  animation: fadeUp 400ms ease both;
}

.cred-pill:nth-child(1) { animation-delay: 100ms; }
.cred-pill:nth-child(2) { animation-delay: 150ms; }
.cred-pill:nth-child(3) { animation-delay: 200ms; }
.cred-pill:nth-child(4) { animation-delay: 250ms; }
.cred-pill:nth-child(5) { animation-delay: 300ms; }
.cred-pill:nth-child(6) { animation-delay: 350ms; }

/* ---- Trust Strip ---- */
.trust-strip {
  padding: 32px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.trust-item {
  text-align: center;
  padding: 24px;
  border-radius: 24px;
  background: var(--card-bg);
  border: 1px solid var(--border);
}

.trust-item strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.trust-item p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.7;
}

.trust-item:nth-child(1) { animation: fadeUp 500ms ease 100ms both; }
.trust-item:nth-child(2) { animation: fadeUp 500ms ease 200ms both; }
.trust-item:nth-child(3) { animation: fadeUp 500ms ease 300ms both; }

/* ---- Sections ---- */
.section {
  padding: 72px 0;
}

.section-header {
  margin-bottom: 36px;
}

.section-header--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header h2 {
  margin: 12px 0 0;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  line-height: 1.28;
  max-width: 20ch;
}

.section-header--center h2 {
  max-width: 22ch;
}

/* ---- About ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 16px;
}

.about-body {
  padding: 32px;
  border-radius: 28px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  animation: fadeUp 550ms ease both;
}

.about-body p {
  margin: 0;
  color: var(--text-mid);
  font-size: 0.92rem;
  line-height: 2;
}

.about-body p + p { margin-top: 14px; }

.credentials {
  padding: 32px;
  border-radius: 28px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  animation: fadeUp 550ms ease 80ms both;
}

.credentials h3 {
  margin: 0 0 16px;
  font-size: 0.92rem;
}

.credentials ul { display: grid; gap: 12px; }

.credentials li {
  position: relative;
  padding-right: 20px;
  font-size: 0.86rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.credentials li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

/* ---- Services ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  padding: 28px;
  border-radius: 28px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  animation: fadeUp 550ms ease both;
}

.service-card:nth-child(2) { animation-delay: 80ms; }
.service-card:nth-child(3) { animation-delay: 160ms; }

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 28px 28px 0 0;
  opacity: 0.5;
}

.pill-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--accent-soft);
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 14px;
  border: 1px solid var(--border-accent);
}

:root[data-theme="light"] .pill-tag {
  color: #8a6d3b;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.service-card p {
  margin: 0;
  color: var(--text-mid);
  font-size: 0.86rem;
  line-height: 1.9;
}

/* ---- Process ---- */
.section-alt {
  position: relative;
}

.section-alt::before {
  content: "";
  position: absolute;
  inset: 0 -20px;
  background: var(--surface);
  border-radius: 32px;
  border: 1px solid var(--border);
  z-index: -1;
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}

.step {
  flex: 1;
  max-width: 320px;
  padding: 28px;
  border-radius: 28px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  animation: fadeUp 550ms ease both;
}

.step:nth-child(3) { animation-delay: 80ms; }
.step:nth-child(5) { animation-delay: 160ms; }

.step-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  color: #0d3340;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.step-connector {
  width: 40px;
  min-width: 40px;
  height: 2px;
  background: var(--border-accent);
  margin-top: 48px;
  position: relative;
}

.step-connector::after {
  content: "";
  position: absolute;
  left: -3px;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.step h3 {
  margin: 0 0 8px;
  font-size: 0.94rem;
}

.step p {
  margin: 0;
  color: var(--text-mid);
  font-size: 0.86rem;
  line-height: 1.9;
}

/* ---- Contact ---- */
.contact-panel {
  padding: clamp(28px, 4vw, 48px);
  border-radius: 32px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
  animation: fadeUp 550ms ease both;
}

.contact-header {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-header h2 {
  margin: 12px 0 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.3;
}

.contact-lead {
  margin: 12px 0 0;
  color: var(--text-mid);
  font-size: 0.92rem;
  max-width: 50ch;
}

.contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  transition: border-color 200ms ease, transform 160ms ease, background 200ms ease;
}

.contact-pill:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  background: var(--accent-dim);
}

.contact-pill:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.contact-pill svg { color: var(--accent); flex-shrink: 0; }
.contact-pill strong { font-size: 0.84rem; }
.contact-pill span { font-size: 0.8rem; color: var(--text-dim); }

.contact-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.contact-footer p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ---- Footer ---- */
.footer {
  padding: 28px 0 36px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.footer p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-license {
  opacity: 0.6;
}

/* ---- WhatsApp FAB ---- */
.wa-fab {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.wa-fab:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5);
}

.wa-fab:focus-visible {
  outline: 2px solid #25d366;
  outline-offset: 4px;
}

/* ---- Keyframe Animations ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .about-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .steps {
    flex-direction: column;
    align-items: center;
  }

  .step { max-width: 100%; width: 100%; }

  .step-connector {
    width: 2px;
    min-width: 2px;
    height: 32px;
    margin-top: 0;
  }

  .step-connector::after {
    left: -3px;
    top: auto;
    bottom: -3px;
  }

  .section-header h2,
  .section-header--center h2 {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 24px), 1100px);
  }

  .navbar { padding: 10px 0; }

  .navbar-inner {
    width: min(calc(100% - 24px), 1100px);
    flex-wrap: wrap;
    padding: 8px 14px;
    border-radius: 24px;
  }

  .brand-icon { width: 38px; height: 38px; }
  .brand-icon img { width: 22px; height: 22px; }
  .brand-text strong { font-size: 0.8rem; }
  .brand-text span { font-size: 0.64rem; }

  .nav-links {
    display: none;
    width: 100%;
    order: 10;
    flex-direction: column;
    gap: 4px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
  }

  .navbar.nav-open .nav-links { display: flex; }

  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 1px solid var(--border);
    background: var(--surface);
  }

  .nav-actions { margin-inline-start: auto; }
  .menu-toggle { display: flex; }

  /* CTA collapses to icon-only when row is tight */
  .btn-cta {
    padding: 0;
    width: 38px;
    min-height: 38px;
    aspect-ratio: 1;
    border-radius: 999px;
  }
  .btn-cta .btn-label { display: none; }
  .btn-cta svg { width: 18px; height: 18px; }

  .hero { padding: 48px 0 32px; }

  .hero-center h1 {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
    max-width: none;
    line-height: 1.3;
  }

  .hero-lead {
    font-size: 0.86rem;
    margin-top: 12px;
  }

  .hero-cta {
    margin: 24px 0 20px;
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn { width: 100%; }

  .hero-pills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    width: 100%;
  }

  .hero-pills .pill-feature:last-child {
    grid-column: 1 / -1;
  }

  .hero-pills .pill-feature {
    justify-content: center;
    font-size: 0.72rem;
    padding: 6px 10px;
  }

  .hero-stats-row {
    width: 100%;
    justify-content: center;
  }

  .stat-pill {
    padding: 8px 18px;
  }

  .stat-pill strong { font-size: 1.1rem; }

  .cred-scroll {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    gap: 8px;
  }

  .cred-pill {
    padding: 6px 16px;
    font-size: 0.74rem;
  }

  .section { padding: 48px 0; }
  .section-header { margin-bottom: 24px; }

  .section-header h2 {
    font-size: clamp(1.3rem, 7vw, 1.6rem);
    line-height: 1.34;
  }

  .about-body,
  .credentials,
  .service-card,
  .step {
    padding: 22px;
    border-radius: 22px;
  }

  .about-body p,
  .service-card p,
  .step p {
    font-size: 0.82rem;
  }

  .contact-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .contact-header h2 {
    font-size: clamp(1.2rem, 6.5vw, 1.5rem);
  }

  .contact-methods {
    flex-direction: column;
  }

  .contact-pill {
    width: 100%;
    justify-content: center;
  }

  .section-alt::before {
    border-radius: 24px;
    inset: 0 -10px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  .wa-fab {
    bottom: 16px;
    left: 16px;
    width: 50px;
    height: 50px;
  }

  .wa-fab svg { width: 24px; height: 24px; }
}

/* ---- Reduced Motion ----
   Disable entrance animations and scroll behavior, but keep the theme burst
   and color transitions — they convey state, not vestibular movement. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .hero-badge,
  .hero-center h1,
  .hero-lead,
  .hero-cta,
  .hero-pills,
  .hero-stats-row,
  .cred-pill,
  .trust-item,
  .about-body,
  .credentials,
  .service-card,
  .step,
  .contact-panel {
    animation: none !important;
  }
}
