/* ============================================================
   Premium agency landing — design tokens + base styles
   ============================================================ */

:root {
  /* Palette — Refined (Safe) variant defaults */
  --bg: #fafaf7;
  --bg-elev: #ffffff;
  --surface: #f4f2ec;
  --ink: #0f0f0f;
  --ink-2: #2a2a2a;
  --ink-3: #5a5a55;
  --muted: #8a8a82;
  --line: rgba(15, 15, 15, 0.08);
  --line-strong: rgba(15, 15, 15, 0.14);
  --gold: #b8893d;
  --gold-soft: #d4b277;
  --gold-deep: #8a6422;
  --gold-tint: #f3ead6;
  --wa: #25d366;
  --wa-deep: #128c7e;

  /* Type */
  --ff-ar: "IBM Plex Sans Arabic", "Tajawal", system-ui, -apple-system, sans-serif;
  --ff-en: "IBM Plex Sans", "Inter", system-ui, -apple-system, sans-serif;
  --ff-display-ar: "IBM Plex Sans Arabic", "Rubik", system-ui, sans-serif;

  /* Spacing rhythm */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-2xl: 36px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15,15,15,.04), 0 1px 1px rgba(15,15,15,.03);
  --shadow-sm: 0 2px 6px rgba(15,15,15,.05), 0 1px 2px rgba(15,15,15,.04);
  --shadow-md: 0 10px 30px -12px rgba(15,15,15,.18), 0 4px 8px -4px rgba(15,15,15,.06);
  --shadow-lg: 0 30px 60px -20px rgba(15,15,15,.22), 0 10px 24px -12px rgba(15,15,15,.08);
  --shadow-gold: 0 20px 40px -16px rgba(184,137,61,.45);

  /* Layout */
  --page-max: 1240px;
  --section-pad-y: clamp(64px, 9vw, 120px);
  --gutter: clamp(20px, 4vw, 40px);
}

/* Dark theme */
.theme-dark {
  --bg: #0c0c0d;
  --bg-elev: #141415;
  --surface: #1a1a1c;
  --ink: #f7f5ef;
  --ink-2: #ebe8df;
  --ink-3: #a8a59a;
  --muted: #6b6862;
  --line: rgba(255,255,255,.08);
  --line-strong: rgba(255,255,255,.16);
  --gold: #d4b277;
  --gold-soft: #e8c995;
  --gold-deep: #b8893d;
  --gold-tint: rgba(212,178,119,.12);
  --shadow-xs: 0 1px 2px rgba(0,0,0,.4);
  --shadow-sm: 0 2px 8px rgba(0,0,0,.4);
  --shadow-md: 0 10px 30px -12px rgba(0,0,0,.6), 0 4px 12px rgba(0,0,0,.4);
  --shadow-lg: 0 30px 60px -20px rgba(0,0,0,.7), 0 10px 24px rgba(0,0,0,.5);
  --shadow-gold: 0 20px 40px -16px rgba(212,178,119,.35);
}

/* Bold variant — same colors, different rhythm and density */
.variant-bold {
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 40px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--ff-ar);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  transition: background-color .35s ease, color .35s ease;
  overflow-x: hidden;
}

html[lang="en"] body { font-family: var(--ff-en); }

img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   Layout primitives
   ============================================================ */
.container {
  max-width: var(--page-max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-pad-y); position: relative; }
.section-tight { padding-block: clamp(48px, 7vw, 80px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: var(--gold-tint);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  border: 1px solid color-mix(in srgb, var(--gold) 18%, transparent);
}
.theme-dark .eyebrow { color: var(--gold-soft); }
html[lang="ar"] .eyebrow { letter-spacing: 0; }

.h-display {
  font-family: var(--ff-display-ar);
  font-weight: 600;
  font-size: clamp(34px, 5.8vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
html[lang="en"] .h-display { letter-spacing: -0.02em; line-height: 1.06; }

.h-section {
  font-family: var(--ff-display-ar);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

.h-card {
  font-family: var(--ff-display-ar);
  font-weight: 600;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.3;
  margin: 0;
  color: var(--ink);
}

.lede {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.65;
  color: var(--ink-3);
  margin: 0;
  text-wrap: pretty;
  max-width: 60ch;
}

.muted { color: var(--muted); }
.gold { color: var(--gold-deep); }
.theme-dark .gold { color: var(--gold-soft); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; }

.btn-primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--gold);
  color: #fff;
  box-shadow: var(--shadow-gold);
}

.btn-gold {
  background: var(--gold);
  color: #fff;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { background: var(--gold-deep); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.btn-wa {
  background: var(--wa);
  color: #fff;
}
.btn-wa:hover { background: var(--wa-deep); }

.btn-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  transition: background-color .15s ease, color .15s ease;
}
.btn-icon:hover { background: var(--ink); color: var(--bg); }

/* ============================================================
   Cards
   ============================================================ */
.card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xs);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background-color .25s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.nav-logo-mark {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ink) 0%, #2a2a2a 100%);
  color: var(--gold-soft);
  display: grid; place-items: center;
  font-family: var(--ff-display-ar);
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
}
.theme-dark .nav-logo-mark {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--ink);
}
.nav-links {
  display: none;
  gap: 4px;
  align-items: center;
}
.nav-link {
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 14px;
  color: var(--ink-2);
  transition: background-color .15s ease, color .15s ease;
}
.nav-link:hover { background: var(--surface); color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  font-size: 13px;
  font-weight: 500;
  background: transparent;
  color: var(--ink);
  transition: background-color .15s ease;
}
.lang-toggle:hover { background: var(--surface); }
.lang-toggle .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  margin-inline-end: 8px;
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
}

/* Mobile menu */
.mobile-menu-btn {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
}
@media (min-width: 960px) { .mobile-menu-btn { display: none; } }

.mobile-menu {
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--bg);
  z-index: 49;
  padding: 24px var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu .nav-link {
  padding: 16px 14px;
  font-size: 18px;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(40px, 6vw, 100px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: clamp(40px, 6vw, 64px);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.1fr 1fr; }
}
.hero-eyebrow-row {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin-bottom: 20px;
}
.hero-headline { margin-bottom: 22px; }
.hero-sub { margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 18px 28px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); }
.hero-trust-item svg { color: var(--gold); flex-shrink: 0; }

/* Floating browser cards stack */
.hero-mock {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 560px;
  margin-inline: auto;
  width: 100%;
}
.hero-mock-bg {
  position: absolute;
  inset: 8% -6% 8% -6%;
  background:
    radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--gold) 22%, transparent) 0%, transparent 55%),
    radial-gradient(circle at 70% 70%, color-mix(in srgb, var(--ink) 12%, transparent) 0%, transparent 60%);
  filter: blur(20px);
  z-index: 0;
}
.mock-card {
  position: absolute;
  border-radius: var(--r-lg);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.mock-card.c-back {
  inset: 4% 16% auto auto;
  width: 62%;
  aspect-ratio: 9 / 13;
  transform: rotate(4deg);
  z-index: 1;
  opacity: .96;
}
.mock-card.c-mid {
  inset: 14% auto auto 4%;
  width: 56%;
  aspect-ratio: 9 / 13;
  transform: rotate(-5deg);
  z-index: 2;
}
.mock-card.c-front {
  inset: auto 8% 0 8%;
  width: 70%;
  aspect-ratio: 16 / 11;
  transform: rotate(1deg);
  z-index: 3;
}
.hero-mock:hover .c-back { transform: rotate(6deg) translateY(-6px); }
.hero-mock:hover .c-mid { transform: rotate(-7deg) translateY(-8px); }
.hero-mock:hover .c-front { transform: rotate(0deg) translateY(-4px); }

/* Browser chrome */
.browser-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  border-bottom: 1px solid var(--line);
}
.browser-dots { display: flex; gap: 4px; }
.browser-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.browser-url {
  flex: 1;
  font-size: 10px;
  color: var(--muted);
  background: var(--bg);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  text-align: center;
  letter-spacing: 0.02em;
  font-family: var(--ff-en);
}
.mock-card .preview-img {
  width: 100%;
  height: 60%;
  object-fit: cover;
}
.mock-card .preview-body {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.preview-row {
  height: 6px;
  border-radius: 3px;
  background: var(--surface);
}
.preview-row.w-80 { width: 80%; }
.preview-row.w-60 { width: 60%; }
.preview-row.w-40 { width: 40%; background: var(--gold-tint); }

/* ============================================================
   Problem section
   ============================================================ */
.problem-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
}
.problem-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--gold-tint);
  color: var(--gold-deep);
}
.theme-dark .problem-icon { color: var(--gold-soft); }
.problem-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .problem-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .problem-grid { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================
   Section header
   ============================================================ */
.sec-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: clamp(36px, 5vw, 56px);
  max-width: 720px;
}
.sec-head.center { margin-inline: auto; align-items: center; text-align: center; }

/* ============================================================
   Services
   ============================================================ */
.services-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }
.service-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .25s ease, border-color .25s ease, background-color .25s ease;
  min-height: 180px;
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}
.service-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--ink);
  color: var(--gold-soft);
}
.theme-dark .service-icon {
  background: var(--gold-tint);
  color: var(--gold-soft);
}

/* ============================================================
   Portfolio
   ============================================================ */
.port-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .port-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .port-grid { grid-template-columns: repeat(3, 1fr); } }

.port-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.port-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.port-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface);
}
.port-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.port-card:hover .port-img img { transform: scale(1.04); }
.port-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.55) 100%);
}
.port-tag {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.92);
  color: #111;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.port-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.port-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 6px;
}
.port-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color .15s ease, border-color .15s ease;
}
.port-link:hover { color: var(--gold-deep); border-bottom-color: var(--gold); }
html[lang="ar"] .port-link svg { transform: scaleX(-1); }

/* ============================================================
   Pricing
   ============================================================ */
.pricing-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 30px 26px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  transition: transform .25s ease, box-shadow .25s ease;
}
.price-card.featured {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.price-card.featured .h-card,
.price-card.featured .price-amount { color: var(--bg); }
.price-card.featured .price-feature { color: color-mix(in srgb, var(--bg) 85%, transparent); }
.price-badge {
  position: absolute;
  top: -14px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
html[lang="ar"] .price-badge { transform: translateX(50%); }
.price-name {
  font-family: var(--ff-display-ar);
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
}
.price-card.featured .price-name { color: var(--gold-soft); }
.price-from {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.price-card.featured .price-from { color: color-mix(in srgb, var(--bg) 65%, transparent); }
.price-amount {
  font-family: var(--ff-display-ar);
  font-weight: 600;
  font-size: 38px;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.price-amount .currency {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-3);
  margin-inline-start: 6px;
}
.price-card.featured .price-amount .currency { color: color-mix(in srgb, var(--bg) 65%, transparent); }
.price-features { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.price-feature {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}
.price-feature svg { flex-shrink: 0; margin-top: 3px; color: var(--gold); }
.price-card.featured .price-feature svg { color: var(--gold-soft); }
.price-note {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-top: 22px;
}

/* ============================================================
   Maintenance card
   ============================================================ */
.maint {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(135deg, var(--ink) 0%, #1a1a1a 100%);
  color: var(--bg);
  border-radius: var(--r-2xl);
  position: relative;
  overflow: hidden;
}
.theme-dark .maint {
  background: linear-gradient(135deg, var(--surface) 0%, var(--bg-elev) 100%);
  border: 1px solid var(--line);
}
.maint::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 60%;
  height: 120%;
  background: radial-gradient(circle, color-mix(in srgb, var(--gold) 30%, transparent) 0%, transparent 60%);
  pointer-events: none;
}
@media (min-width: 800px) { .maint { grid-template-columns: 1fr 1fr; gap: 60px; } }
.maint h3 { color: var(--bg); margin: 0; }
.maint-price {
  font-family: var(--ff-display-ar);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  color: var(--gold-soft);
  margin: 10px 0 0;
}
.maint-feats { display: flex; flex-direction: column; gap: 12px; }
.maint-feat {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px;
  color: color-mix(in srgb, var(--bg) 90%, transparent);
}
.maint-feat svg { color: var(--gold-soft); flex-shrink: 0; }

/* ============================================================
   Process
   ============================================================ */
.process-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 700px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }
.process-step {
  position: relative;
  padding: 28px 24px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.process-num {
  font-family: var(--ff-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold-deep);
}
.theme-dark .process-num { color: var(--gold-soft); }
.process-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
}
.process-step h4 {
  font-family: var(--ff-display-ar);
  font-weight: 600;
  font-size: 17px;
  margin: 0;
  line-height: 1.35;
}

/* ============================================================
   Why
   ============================================================ */
.why-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-item {
  padding: 22px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.why-item svg { color: var(--gold); }
.why-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  font-family: var(--ff-display-ar);
}
.why-item p { font-size: 14px; line-height: 1.55; color: var(--ink-3); margin: 0; }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item.open { border-color: var(--line-strong); box-shadow: var(--shadow-xs); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: 0;
  text-align: start;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}
.faq-toggle {
  flex-shrink: 0;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--surface);
  transition: transform .25s ease, background-color .2s ease;
}
.faq-item.open .faq-toggle {
  background: var(--gold);
  color: #fff;
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding-inline: 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-3);
}
.faq-item.open .faq-a {
  max-height: 320px;
  padding-block: 0 22px;
}

/* ============================================================
   Final CTA
   ============================================================ */
.final-cta {
  position: relative;
  padding: clamp(56px, 8vw, 100px) clamp(28px, 5vw, 64px);
  background:
    radial-gradient(circle at 20% 30%, color-mix(in srgb, var(--gold) 18%, transparent) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, color-mix(in srgb, var(--gold) 12%, transparent) 0%, transparent 55%),
    var(--ink);
  color: var(--bg);
  border-radius: var(--r-2xl);
  text-align: center;
  overflow: hidden;
}
.final-cta h2 {
  font-family: var(--ff-display-ar);
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 600;
  line-height: 1.18;
  margin: 0 auto 18px;
  max-width: 18ch;
  color: var(--bg);
  text-wrap: balance;
}
.final-cta p {
  color: color-mix(in srgb, var(--bg) 75%, transparent);
  max-width: 50ch;
  margin: 0 auto 32px;
  font-size: 16px;
  line-height: 1.6;
}
.final-cta .hero-ctas { justify-content: center; }
.final-cta .btn-ghost {
  color: var(--bg);
  border-color: color-mix(in srgb, var(--bg) 30%, transparent);
}
.final-cta .btn-ghost:hover {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
}
.final-contacts {
  display: flex; flex-wrap: wrap; gap: 12px 22px;
  justify-content: center;
  margin-top: 40px;
  font-size: 14px;
  color: color-mix(in srgb, var(--bg) 70%, transparent);
}
.final-contact { display: inline-flex; align-items: center; gap: 8px; }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  padding: 70px 0 28px;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col h5 {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.footer-col a, .footer-col p {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.55;
  margin: 0;
  transition: color .15s ease;
}
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}
@media (min-width: 700px) {
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.footer-social a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ============================================================
   WhatsApp floating button
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 20px;
  inset-inline-end: 20px;
  z-index: 40;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 28px -8px rgba(37,211,102,.55), 0 2px 6px rgba(0,0,0,.15);
  transition: transform .2s ease, box-shadow .2s ease;
  border: 0;
}
.wa-float:hover { transform: scale(1.06); box-shadow: 0 16px 36px -10px rgba(37,211,102,.65); }
.wa-float::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--wa);
  opacity: 0;
  animation: wa-ping 2.4s ease-out infinite;
}
@keyframes wa-ping {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ============================================================
   Animations — reveal on scroll
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ============================================================
   Bold variant overrides
   ============================================================ */
.variant-bold .h-display {
  font-weight: 700;
  font-size: clamp(40px, 7vw, 80px);
  letter-spacing: -0.02em;
}
.variant-bold .h-section {
  font-weight: 700;
  font-size: clamp(32px, 5vw, 56px);
}
.variant-bold .eyebrow {
  background: var(--ink);
  color: var(--gold-soft);
  border-color: var(--ink);
}
.theme-dark.variant-bold .eyebrow {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.variant-bold .hero {
  padding-top: clamp(60px, 8vw, 120px);
  padding-bottom: clamp(60px, 8vw, 140px);
  background:
    radial-gradient(ellipse at top, color-mix(in srgb, var(--gold) 10%, transparent) 0%, transparent 50%),
    var(--bg);
}
.variant-bold .hero-mock {
  aspect-ratio: 1 / 1.05;
}
.variant-bold .port-card,
.variant-bold .service-card,
.variant-bold .problem-card,
.variant-bold .why-item {
  border-radius: 6px;
}
.variant-bold .price-card {
  border-radius: 8px;
}
.variant-bold .btn {
  border-radius: 6px;
  font-weight: 600;
}
.variant-bold .nav-link { border-radius: 6px; }
.variant-bold .lang-toggle { border-radius: 6px; }
.variant-bold .eyebrow { border-radius: 4px; }
.variant-bold .port-tag { border-radius: 4px; }
.variant-bold .price-badge { border-radius: 4px; }
.variant-bold .h-display,
.variant-bold .h-section,
.variant-bold .h-card {
  text-transform: none;
}
.variant-bold .port-card {
  background: var(--bg);
  border-color: var(--line-strong);
}
.variant-bold .final-cta {
  border-radius: 8px;
}
.variant-bold .maint {
  border-radius: 8px;
}
