/* ============================================================
   SafiResults — Digital Marketing Agency
   Premium monochrome + blue design system
   ------------------------------------------------------------
   Sections alternate between LIGHT (#EDEDED) and DARK (#080808)
   for a high-contrast, premium agency rhythm.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Light surfaces */
  --bg:            #EDEDED;
  --card-light:    #F5F5F5;
  --card-light-2:  #E4E4E4;

  /* Dark surfaces */
  --dark:          #080808;
  --dark-2:        #0E0E0E;
  --dark-card:     #151515;
  --dark-card-2:   #1C1C1C;

  /* Text */
  --text:          #111111;   /* on light */
  --text-on-dark:  #FFFFFF;   /* on dark  */
  --muted:         #585858;    /* body muted on light (>=4.5:1 on #EDEDED) */
  --muted-soft:    #6E6E6E;    /* labels on light */
  --muted-dark:    #B5B5B5;    /* body muted on dark */
  --muted-dark-2:  #8A8A8A;    /* labels on dark */

  /* Accent (premium blue) */
  --blue:          #2563EB;
  --blue-dark:     #1D4ED8;
  --blue-light:    #3B82F6;
  --blue-soft:     rgba(37,99,235,0.10);

  /* Lines */
  --line-light:    rgba(0,0,0,0.10);
  --line-dark:     rgba(255,255,255,0.09);

  /* WhatsApp (kept subtle, never dominant) */
  --wa:            #25D366;

  /* Geometry */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow:    0 10px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 30px 70px rgba(0,0,0,0.14);
  --shadow-dark: 0 30px 70px rgba(0,0,0,0.5);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t:    220ms var(--ease);

  --container: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

/* Accessibility: skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 8px 0;
  z-index: 200;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* Focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Sora', 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text);
}

.display {
  font-size: clamp(2rem, 7vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.h-section {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  letter-spacing: -0.03em;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
  line-height: 1.7;
}

.accent { color: var(--blue); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2.5rem);
}

.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section-sm { padding-block: clamp(3rem, 6vw, 5rem); }

/* Dark section wrapper */
.dark-section {
  background: var(--dark);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}
.dark-section h1, .dark-section h2, .dark-section h3, .dark-section h4 {
  color: var(--text-on-dark);
}
.dark-section .lead { color: var(--muted-dark); }

/* soft radial glow used inside dark sections */
.glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.glow-blue {
  background: radial-gradient(circle, rgba(37,99,235,0.30), transparent 70%);
}
.glow-white {
  background: radial-gradient(circle, rgba(255,255,255,0.06), transparent 70%);
}

/* Section heading block */
.section-head {
  max-width: 680px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-soft);
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line-light);
  border-radius: 100px;
  background: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
}
.dark-section .eyebrow {
  color: var(--muted-dark);
  border-color: var(--line-dark);
  background: rgba(255,255,255,0.03);
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.section-head p { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.6rem;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform var(--t), background var(--t), box-shadow var(--t), color var(--t), border-color var(--t);
  white-space: nowrap;
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 22px rgba(37,99,235,0.28);
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37,99,235,0.38);
}

.btn-dark {
  background: var(--text);
  color: #fff;
}
.btn-dark:hover { background: #000; transform: translateY(-2px); }

.btn-light {
  background: #fff;
  color: var(--text);
  border-color: var(--line-light);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-light);
}
.btn-ghost:hover { border-color: var(--text); transform: translateY(-2px); }
.dark-section .btn-ghost,
.btn-ghost-dark {
  color: #fff;
  border-color: var(--line-dark);
  background: transparent;
}
.dark-section .btn-ghost:hover,
.btn-ghost-dark:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.04); }

.btn-wa {
  background: transparent;
  color: var(--text);
  border-color: var(--line-light);
}
.btn-wa svg { color: var(--wa); }
.btn-wa:hover { border-color: var(--wa); transform: translateY(-2px); }
.dark-section .btn-wa { color: #fff; border-color: var(--line-dark); }

.btn-lg { padding: 1.05rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-top: 0.9rem;
  transition: padding var(--t);
}
.nav-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0.7rem 1rem 0.7rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(237,237,237,0.7);
  border: 1px solid var(--line-light);
  border-radius: 100px;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  transition: background var(--t), box-shadow var(--t), border-color var(--t);
}
.nav.scrolled { padding-top: 0.6rem; }
.nav.scrolled .nav-inner {
  background: rgba(245,245,245,0.92);
  box-shadow: var(--shadow);
}
.nav-mobile-wrap { /* keeps container width */ }

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
  color: var(--text);
  flex-shrink: 0;
}
/* Logo image — keep original proportions, size by height only */
.logo-mark { height: 38px; width: auto; flex-shrink: 0; }
.logo-text b { font-weight: 700; }
.logo .dot { color: var(--blue); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.5rem 0.85rem;
  border-radius: 100px;
  white-space: nowrap;
  transition: color var(--t), background var(--t);
}
.nav-links a:hover { color: var(--text); background: rgba(0,0,0,0.04); }
.nav-links a.active { color: var(--text); font-weight: 600; }

.nav-cta { margin-left: 0.4rem; }
.nav-actions { display: flex; align-items: center; gap: 0.5rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  margin-left: auto;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu panel */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(8,8,8,0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-panel {
  position: absolute;
  top: 0; right: 0;
  width: min(86vw, 360px);
  height: 100%;
  background: var(--card-light);
  padding: 5.5rem 1.6rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  box-shadow: var(--shadow-lg);
}
.mobile-menu.open .mobile-panel { transform: translateX(0); }
.mobile-panel a.m-link {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.9rem 0.4rem;
  border-bottom: 1px solid var(--line-light);
}
.mobile-panel a.m-link:hover { color: var(--blue); }
.mobile-panel .btn { margin-top: 1.2rem; }
.mobile-panel .btn + .btn { margin-top: 0.6rem; }

/* ============================================================
   HERO (light)
   ============================================================ */
.hero {
  position: relative;
  padding-top: clamp(8rem, 14vw, 11rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 12%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-inner { position: relative; text-align: center; max-width: 880px; margin-inline: auto; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: 100px;
  padding: 0.45rem 0.5rem 0.45rem 0.95rem;
  margin-bottom: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.hero-badge .pill {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--blue);
  padding: 0.2rem 0.55rem;
  border-radius: 100px;
  text-transform: uppercase;
}

.hero h1 { margin-bottom: 1.4rem; }
.hero h1 .accent { color: var(--blue); white-space: nowrap; }
.hero-sub {
  max-width: 620px;
  margin: 0 auto 2.2rem;
}
.hero-cta {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-trustline {
  margin-top: 1.6rem;
  font-size: 0.85rem;
  color: var(--muted-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  max-width: 360px;
}
.hero-trustline svg { width: 16px; height: 16px; color: var(--blue); flex-shrink: 0; }

/* Trust cards (4 premium cards) */
.trust-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  position: relative;
}
.trust-card {
  text-align: left;
  background: var(--card-light);
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  padding: 1.6rem 1.4rem;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(37,99,235,0.3);
}
.trust-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  margin-bottom: 1rem;
}
.trust-icon svg { width: 22px; height: 22px; }
.trust-card h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  letter-spacing: -0.02em;
}
.trust-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

/* ============================================================
   LOGO / TRUST STRIP
   ============================================================ */
.trust-strip { padding-block: 2.5rem; border-top: 1px solid var(--line-light); }
.trust-strip-label {
  text-align: center;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-soft);
  margin-bottom: 1.4rem;
}
.industry-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}
.industry-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--card-light);
  border: 1px solid var(--line-light);
  border-radius: 100px;
  padding: 0.5rem 1rem;
}
.industry-chip svg { width: 16px; height: 16px; color: var(--blue); }

/* ============================================================
   SERVICES (dark) — card grid w/ mini mockups
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.1rem;
}
.svc-card {
  background: var(--dark-card);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--t), border-color var(--t), background var(--t);
  position: relative;
  overflow: hidden;
}
.svc-card:hover { transform: translateY(-4px); border-color: rgba(37,99,235,0.4); background: var(--dark-card-2); }
/* layout spans */
.svc-card.span-3 { grid-column: span 3; }
.svc-card.span-2 { grid-column: span 2; }
.svc-card.span-6 { grid-column: span 6; }

.svc-head { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.7rem; }
.svc-ico {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: rgba(37,99,235,0.12);
  border: 1px solid rgba(37,99,235,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-light);
  flex-shrink: 0;
}
.svc-ico svg { width: 20px; height: 20px; }
.svc-card h3 { font-size: 1.1rem; font-weight: 600; }
.svc-card p { font-size: 0.9rem; color: var(--muted-dark); line-height: 1.62; margin-top: 0.1rem; }

/* mini mockups inside service cards */
.mock {
  margin-top: 1.3rem;
  background: var(--dark-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
  padding: 0.9rem;
  flex: 1;
}
.mock-row {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.55rem 0.65rem;
  border-radius: 9px;
  background: rgba(255,255,255,0.03);
  margin-bottom: 0.5rem;
  font-size: 0.78rem;
  color: var(--muted-dark);
}
.mock-row:last-child { margin-bottom: 0; }
.mock-row .rank {
  width: 22px; height: 22px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; color: #fff; flex-shrink: 0;
}
.rank.r1 { background: var(--blue); }
.rank.rx { background: rgba(255,255,255,0.08); color: var(--muted-dark-2); }
.mock-row .up { margin-left: auto; color: var(--blue-light); font-weight: 600; font-size: 0.72rem; }
.mock-row .stars { color: #facc15; font-size: 0.72rem; }
.mock-bar {
  height: 8px; border-radius: 6px;
  background: rgba(255,255,255,0.06);
  margin-bottom: 0.55rem;
  overflow: hidden;
}
.mock-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--blue-light)); border-radius: 6px; }
.mock-metric { display: flex; align-items: baseline; gap: 0.4rem; }
.mock-metric b { font-family: 'Sora'; font-size: 1.5rem; color: #fff; }
.mock-metric span { font-size: 0.75rem; color: var(--muted-dark-2); }
.mock-chart { display: flex; align-items: flex-end; gap: 5px; height: 60px; padding-top: 0.4rem; }
.mock-chart i {
  flex: 1; background: linear-gradient(180deg, var(--blue-light), rgba(37,99,235,0.2));
  border-radius: 4px 4px 0 0;
}

.svc-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.1rem; }
.svc-tag {
  font-size: 0.74rem; font-weight: 500;
  color: var(--muted-dark);
  border: 1px solid var(--line-dark);
  border-radius: 100px;
  padding: 0.3rem 0.7rem;
}

/* ============================================================
   RESULTS / PROOF (light)
   ============================================================ */
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.result-card {
  background: var(--card-light);
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  padding: 1.7rem 1.5rem;
  transition: transform var(--t), box-shadow var(--t);
}
.result-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.result-ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); margin-bottom: 1.1rem;
}
.result-ico svg { width: 22px; height: 22px; }
.result-card h3 { font-size: 1.02rem; margin-bottom: 0.45rem; }
.result-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

/* ============================================================
   PROCESS (dark) — numbered step cards w/ mockups
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.step-card {
  background: var(--dark-card);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--t), border-color var(--t);
}
.step-card:hover { transform: translateY(-4px); border-color: rgba(37,99,235,0.4); }
.step-num {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--blue-light); margin-bottom: 1rem;
}
.step-visual {
  background: var(--dark-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
  padding: 0.9rem;
  margin-bottom: 1.3rem;
  min-height: 120px;
}
.step-card h3 { font-size: 1.08rem; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.88rem; color: var(--muted-dark); line-height: 1.6; }

.mini-line {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.74rem; color: var(--muted-dark);
  padding: 0.4rem 0; border-bottom: 1px solid var(--line-dark);
}
.mini-line:last-child { border-bottom: none; }
.mini-line .ck { color: var(--blue-light); width: 14px; height: 14px; flex-shrink: 0; }
.mini-line .val { margin-left: auto; color: #fff; font-weight: 600; }
.mini-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }

/* ============================================================
   WHY (light) — feature list
   ============================================================ */
.why-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.why-item {
  background: var(--card-light);
  border: 1px solid var(--line-light);
  border-radius: var(--r);
  padding: 1.4rem;
  transition: transform var(--t), box-shadow var(--t);
}
.why-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.why-ico {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--blue-soft); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.9rem;
}
.why-ico svg { width: 20px; height: 20px; }
.why-item h3 { font-size: 0.98rem; margin-bottom: 0.4rem; }
.why-item p { font-size: 0.85rem; color: var(--muted); line-height: 1.58; }

.why-aside .lead { margin-top: 1rem; }
.why-aside .btn { margin-top: 1.6rem; }
.why-mini-proof {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.why-proof-row {
  display: flex; align-items: center; gap: 0.65rem;
  font-size: 0.9rem; color: var(--text); font-weight: 500;
}
.why-proof-row svg { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; }

/* ============================================================
   COMPARISON (dark) — two columns + VS
   ============================================================ */
.compare-wrap { max-width: 940px; margin-inline: auto; }
.compare-tabs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.compare-tab {
  display: flex; align-items: center; justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--line-dark);
}
.compare-tab.bad { background: var(--dark-card); color: var(--muted-dark); }
.compare-tab.good { background: rgba(37,99,235,0.12); border-color: rgba(37,99,235,0.4); color: #fff; }
.compare-tab svg { width: 18px; height: 18px; }
.compare-tab.good svg { color: var(--blue-light); }
.vs-badge {
  width: 48px; height: 48px;
  background: #fff; color: #000;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora'; font-weight: 700; font-size: 0.85rem;
  flex-shrink: 0;
}
.compare-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.compare-col {
  border-radius: var(--r-lg);
  border: 1px solid var(--line-dark);
  padding: 1.6rem;
}
.compare-col.bad { background: var(--dark-card); }
.compare-col.good { background: linear-gradient(180deg, rgba(37,99,235,0.10), var(--dark-card)); border-color: rgba(37,99,235,0.25); }
.compare-col li {
  display: flex; align-items: flex-start; gap: 0.7rem;
  padding: 0.7rem 0;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--line-dark);
  color: var(--muted-dark);
}
.compare-col li:last-child { border-bottom: none; }
.compare-col.good li { color: #fff; }
.compare-col .ic { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.compare-col.bad .ic { color: #6b6b6b; }
.compare-col.good .ic { color: var(--blue-light); }

/* ============================================================
   TESTIMONIALS / PROOF (light)
   ============================================================ */
.tst-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
/* Full-image testimonial cards: client photo fills the card, with a
   dark gradient overlay, name + role at top-left, stars top-right,
   and the review text over the bottom of the image. */
.tst-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-dark);
  min-height: 440px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
  transition: transform var(--t), box-shadow var(--t);
}
.tst-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tst-img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
}
.tst-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg,
    rgba(8,8,8,0.72) 0%,
    rgba(8,8,8,0.18) 38%,
    rgba(8,8,8,0.55) 70%,
    rgba(8,8,8,0.92) 100%);
}
.tst-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; }
.tst-name { color: #fff; font-weight: 700; font-size: 0.95rem; }
.tst-role { color: rgba(255,255,255,0.82); font-size: 0.8rem; margin-top: 2px; }
.tst-stars { color: #f5b301; font-size: 0.9rem; letter-spacing: 2px; flex-shrink: 0; }
.tst-quote {
  color: #fff; font-size: 0.95rem; line-height: 1.62; font-weight: 500;
  text-shadow: 0 1px 14px rgba(0,0,0,0.55);
}

.proof-note {
  text-align: center;
  margin-top: 1.8rem;
  font-size: 0.85rem;
  color: var(--muted-soft);
}

/* ============================================================
   FAQ (dark) — split layout
   ============================================================ */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq-aside .lead { margin-top: 1rem; }
.faq-aside .btn { margin-top: 1.6rem; }
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--dark-card);
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color var(--t), background var(--t);
}
.faq-item:hover { border-color: rgba(255,255,255,0.18); }
.faq-item.open { border-color: rgba(37,99,235,0.4); background: var(--dark-card-2); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  background: none; border: none;
  color: #fff;
  font-family: 'Inter';
  font-size: 0.98rem; font-weight: 500;
  text-align: left;
}
.faq-q .chev { width: 20px; height: 20px; color: var(--muted-dark); transition: transform 0.3s var(--ease), color var(--t); flex-shrink: 0; }
.faq-item.open .chev { transform: rotate(180deg); color: var(--blue-light); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-a-inner { padding: 0 1.4rem 1.25rem; color: var(--muted-dark); font-size: 0.92rem; line-height: 1.7; }

/* ============================================================
   FINAL CTA + CONTACT (light)
   ============================================================ */
.cta-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
}
.cta-left { display: flex; flex-direction: column; justify-content: center; }
.cta-left .display { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.cta-points { margin-top: 1.8rem; display: flex; flex-direction: column; gap: 0.85rem; }
.cta-point { display: flex; align-items: center; gap: 0.7rem; font-size: 0.95rem; color: var(--text); }
.cta-point svg { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; }
.cta-or { margin-top: 1.8rem; display: flex; align-items: center; gap: 1rem; }
.cta-or .btn-wa { flex: 1; }
.cta-or .or-text { font-size: 0.8rem; color: var(--muted-soft); }
.cta-call {
  margin-top: 1.4rem;
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 1.05rem; font-weight: 600; color: var(--text);
}
.cta-call svg { width: 20px; height: 20px; color: var(--blue); }
.cta-call a { color: var(--blue); }

/* Form card */
.form-card {
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: var(--r-xl);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow);
}
.form-card h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.form-card .form-sub { font-size: 0.9rem; color: var(--muted); margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.field label .req { color: var(--blue); }
.field input,
.field select,
.field textarea {
  background: var(--card-light);
  border: 1.5px solid var(--line-light);
  border-radius: var(--r-sm);
  padding: 0.8rem 1rem;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text);
  width: 100%;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.field input::placeholder, .field textarea::placeholder { color: #9a9a9a; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px var(--blue-soft);
}
.field select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23585858' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem;
}
.field textarea { resize: vertical; min-height: 96px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #ef4444; }
.form-tip { font-size: 0.78rem; color: var(--muted-soft); text-align: center; margin-top: 0.8rem; }
.form-success {
  display: none;
  align-items: center; gap: 0.6rem;
  background: var(--blue-soft);
  border: 1px solid rgba(37,99,235,0.3);
  color: var(--blue-dark);
  border-radius: var(--r-sm);
  padding: 0.9rem 1rem;
  font-size: 0.9rem; font-weight: 500;
  margin-top: 1rem;
}
.form-success.show { display: flex; }
.form-success svg { width: 20px; height: 20px; flex-shrink: 0; }

.form-error {
  display: none;
  align-items: center; gap: 0.6rem;
  background: rgba(220,38,38,0.08);
  border: 1px solid rgba(220,38,38,0.3);
  color: #b91c1c;
  border-radius: var(--r-sm);
  padding: 0.9rem 1rem;
  font-size: 0.9rem; font-weight: 500;
  margin-top: 1rem;
}
.form-error.show { display: flex; }

/* ============================================================
   PAGE HERO (subpages) — light #EDEDED + grid, matches home hero
   ============================================================ */
.page-hero {
  position: relative;
  padding-top: clamp(8.5rem, 14vw, 11rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 12%, #000 30%, transparent 75%);
  pointer-events: none;
}
.page-hero > .container { position: relative; }
.page-hero-inner { position: relative; max-width: 820px; }
.page-hero.center .page-hero-inner { margin-inline: auto; text-align: center; }
.page-hero h1 { margin-bottom: 1.2rem; }
.breadcrumb { font-size: 0.82rem; color: var(--muted-soft); margin-bottom: 1.4rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--text); }
.page-hero-cta { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 2rem; }
.page-hero.center .page-hero-cta { justify-content: center; }

/* ============================================================
   GENERIC CONTENT BLOCKS (subpages)
   ============================================================ */
.feature-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.feature-card {
  background: var(--card-light);
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  padding: 1.6rem;
  transition: transform var(--t), box-shadow var(--t);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.dark-section .feature-card { background: var(--dark-card); border-color: var(--line-dark); }
.feature-ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--blue-soft); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.dark-section .feature-ico { background: rgba(37,99,235,0.14); color: var(--blue-light); }
.feature-ico svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.62; }
.dark-section .feature-card p { color: var(--muted-dark); }

/* checklist block */
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 2rem; }
.check-row { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.95rem; line-height: 1.55; }
.check-row svg { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; margin-top: 1px; }
.dark-section .check-row svg { color: var(--blue-light); }

/* split content (text + card) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.split.reverse .split-media { order: -1; }
.info-card {
  background: var(--card-light);
  border: 1px solid var(--line-light);
  border-radius: var(--r-xl);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.dark-section .info-card { background: var(--dark-card); border-color: var(--line-dark); }
.info-stat-row { display: flex; align-items: center; gap: 0.8rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line-light); }
.dark-section .info-stat-row { border-color: var(--line-dark); }
.info-stat-row:last-child { border-bottom: none; }
.info-stat-row .ico { width: 38px; height: 38px; border-radius: 10px; background: #fff; border: 1px solid var(--line-light); display: flex; align-items: center; justify-content: center; color: var(--blue); flex-shrink: 0; }
.dark-section .info-stat-row .ico { background: var(--dark-2); border-color: var(--line-dark); color: var(--blue-light); }
.info-stat-row .ico svg { width: 18px; height: 18px; }
.info-stat-row b { font-size: 0.92rem; }
.info-stat-row p { font-size: 0.82rem; color: var(--muted); }
.dark-section .info-stat-row p { color: var(--muted-dark); }

/* numbered simple steps */
.steps-simple { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; counter-reset: step; }
.step-simple {
  background: var(--card-light); border: 1px solid var(--line-light);
  border-radius: var(--r-lg); padding: 1.6rem; position: relative;
}
.dark-section .step-simple { background: var(--dark-card); border-color: var(--line-dark); }
.step-simple .n {
  font-family: 'Sora'; font-weight: 700; font-size: 2.2rem;
  color: var(--blue); opacity: 0.25; line-height: 1; margin-bottom: 0.8rem;
}
.step-simple h3 { font-size: 1rem; margin-bottom: 0.45rem; }
.step-simple p { font-size: 0.86rem; color: var(--muted); line-height: 1.58; }
.dark-section .step-simple p { color: var(--muted-dark); }

/* ============================================================
   ARTICLE / LEGAL typography (guide, privacy, accessibility)
   ============================================================ */
.article { max-width: 760px; margin-inline: auto; }
.article h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 2.8rem 0 1rem;
  scroll-margin-top: 100px;
}
.article h3 { font-size: 1.2rem; margin: 1.8rem 0 0.7rem; }
.article p { color: var(--text); margin-bottom: 1.1rem; line-height: 1.8; }
.article p.muted { color: var(--muted); }
.article ul.bullets { margin: 0 0 1.3rem; display: flex; flex-direction: column; gap: 0.6rem; }
.article ul.bullets li { position: relative; padding-left: 1.6rem; line-height: 1.7; }
.article ul.bullets li::before {
  content: ''; position: absolute; left: 0; top: 0.6em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--blue);
}
.article a.inline { color: var(--blue); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.article a.inline:hover { color: var(--blue-dark); }
.article .meta { font-size: 0.85rem; color: var(--muted-soft); margin-bottom: 2rem; }

.toc {
  background: var(--card-light);
  border: 1px solid var(--line-light);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.7rem;
  margin-bottom: 2.5rem;
}
.toc h4 { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-soft); margin-bottom: 0.9rem; }
.toc ol { list-style: none; counter-reset: toc; display: grid; gap: 0.5rem; }
.toc li { counter-increment: toc; }
.toc a { font-size: 0.92rem; color: var(--text); font-weight: 500; display: inline-flex; gap: 0.5rem; }
.toc a::before { content: counter(toc, decimal-leading-zero); color: var(--blue); font-weight: 700; }
.toc a:hover { color: var(--blue); }

.callout {
  background: linear-gradient(180deg, var(--blue-soft), transparent);
  border: 1px solid rgba(37,99,235,0.25);
  border-left: 3px solid var(--blue);
  border-radius: var(--r);
  padding: 1.3rem 1.5rem;
  margin: 1.8rem 0;
}
.callout p { margin: 0; font-size: 0.95rem; }
.callout strong { color: var(--blue-dark); }

/* inline mid-page CTA band */
.cta-band {
  background: var(--dark);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 0.8rem; }
.cta-band p { color: var(--muted-dark); max-width: 520px; margin: 0 auto 1.8rem; }
.cta-band .btns { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* ============================================================
   FOOTER (dark)
   ============================================================ */
.footer { background: var(--dark); color: #fff; padding-top: clamp(3.5rem, 7vw, 5rem); position: relative; overflow: hidden; }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  position: relative;
}
.footer .logo { color: #fff; font-size: 1.9rem; line-height: 1.1; }
.footer .logo-mark { height: 56px; }
@media (max-width: 600px) { .footer .logo { font-size: 1.6rem; } }
.footer-brand p { font-size: 0.9rem; color: var(--muted-dark); line-height: 1.7; margin: 1rem 0 1.4rem; max-width: 320px; }
.footer-contact { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-contact a { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.9rem; color: var(--muted-dark); transition: color var(--t); }
.footer-contact a:hover { color: #fff; }
.footer-contact svg { width: 17px; height: 17px; color: var(--blue-light); flex-shrink: 0; }
.footer-col h4 { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; }
.footer-col a { display: block; font-size: 0.9rem; color: var(--muted-dark); padding: 0.35rem 0; transition: color var(--t); }
.footer-col a:hover { color: var(--blue-light); }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 1.4rem 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.8rem;
}
.footer-bottom p { font-size: 0.82rem; color: var(--muted-dark-2); }
.footer-bottom .fb-links { display: flex; gap: 1.2rem; }
.footer-bottom .fb-links a { font-size: 0.82rem; color: var(--muted-dark-2); }
.footer-bottom .fb-links a:hover { color: #fff; }

/* ============================================================
   FLOATING WHATSAPP (subtle, secondary)
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 90;
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line-light);
  border-radius: 100px;
  padding: 0.7rem 1.1rem 0.7rem 0.85rem;
  font-size: 0.88rem; font-weight: 600;
  box-shadow: var(--shadow-lg);
  transition: transform var(--t), box-shadow var(--t);
}
.wa-float svg { width: 22px; height: 22px; color: var(--wa); }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 20px 45px rgba(0,0,0,0.2); }
.wa-float .wa-label { white-space: nowrap; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .trust-cards { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-simple { grid-template-columns: repeat(2, 1fr); }
  .tst-grid { grid-template-columns: 1fr 1fr; }
  .feature-list { grid-template-columns: repeat(2, 1fr); }
  .why-wrap { grid-template-columns: 1fr; }
  .faq-wrap { grid-template-columns: 1fr; }

  /* services: collapse the 6-col bento into 2 cols */
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-card.span-3, .svc-card.span-2, .svc-card.span-6 { grid-column: span 1; }
}

/* Collapse the nav early so links never crowd or wrap */
@media (max-width: 1000px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions { margin-left: auto; }
}

@media (max-width: 820px) {
  .cta-wrap { grid-template-columns: 1fr; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .compare-cols { grid-template-columns: 1fr; }
  .compare-tabs { grid-template-columns: 1fr; gap: 0.6rem; }
  .compare-tabs .vs-badge { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .trust-cards { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .steps-simple { grid-template-columns: 1fr; }
  .tst-grid { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .wa-float .wa-label { display: none; }
  .wa-float { padding: 0.8rem; }
}

/* ============================================================
   MOTION PREFERENCES
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
