/* ═══════════════════════════════════════════════════════════════════
   SANXPERT DIGITAL — style.css  (v2 — fully fixed)

   BUGS FIXED IN THIS VERSION:
   ─────────────────────────────────────────────────────────────────
   FIX 1 — HAMBURGER INVISIBLE on mobile
   Root cause: z-index not set, no position:relative.
   Fix: z-index:1002, position:relative on .hamburger.

   FIX 2 — WHATSAPP BUTTON causing white space + invisible
   Root cause: right:24px triggers horizontal scrollbar on some
   devices creating a white strip on the right.
   Fix: right:16px, z-index:1100.

   FIX 3 — HORIZONTAL WHITE SPACE on right side of all pages
   Root cause: marquee-track uses width:max-content which overflows.
   body overflow-x:hidden wasn't catching it because the scroll was
   on html not body on some browsers.
   Fix: overflow-x:hidden on BOTH html AND body. Marquee wrapper
   gets overflow:hidden explicitly.

   FIX 4 — WHY SANXPERT / ABOUT / SERVICES sections broken on mobile
   Root cause: inline style="grid-template-columns:1fr 1fr" has
   higher CSS specificity than any class-based media query override.
   Fix: All inline grid styles removed from PHP pages. Replaced with
   classes .two-col-grid and .two-col-wide which media queries can
   override properly.

   FIX 5 — REVIEWS 3-col stays 3-col on mobile
   Root cause: Same as FIX 4 — inline repeat(3,1fr).
   Fix: Class .review-grid used instead.

   FIX 6 — ABOUT sidebar overflow on mobile
   Root cause: position:sticky + 1fr 380px grid = sidebar overflows.
   Fix: .two-col-wide collapses at ≤768px. Add .sidebar-sticky class
   that gets position:relative on mobile.

   FIX 7 — HERO too much space on tablet/large monitor
   Root cause: min-height:100vh with align-items:center, but on
   tablet the stat card is hidden so content is only ~380px tall
   leaving ~400px blank space above and below.
   Fix: At ≤1024px override to min-height:0 so hero fits content.
   Desktop keeps full-height (looks correct with stat card visible).

   FIX 8 — LOGO changed to text (client request)
   Where: header.php — search "TEXT LOGO" comment.
═══════════════════════════════════════════════════════════════════ */


/* ─────────────────────────────────────────────────────────────────
   1. FONTS & DESIGN TOKENS
───────────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap');

:root {
  --navy:        #070D2E;
  --navy-mid:    #0D1540;
  --navy-light:  #1A2B6D;
  --orange:      #E8631A;
  --orange-lite: #F07530;
  --green:       #00C46A;
  --red:         #FF5252;
  --amber:       #F59E0B;
  --text-dark:   #070D2E;
  --text-body:   #374878;
  --text-muted:  #8595C4;
  --text-light:  rgba(203,213,238,0.8);
  --bg-light:    #F3F5FC;
  --bg-white:    #ffffff;
  --border:      rgba(26,43,109,0.1);
  --border-dark: rgba(255,255,255,0.1);
  --font-head:   'Outfit', sans-serif;
  --font-body:   'DM Sans', sans-serif;
  --space-xs:    8px;
  --space-sm:    16px;
  --space-md:    24px;
  --space-lg:    48px;
  --space-xl:    80px;
  --space-2xl:   120px;
  --radius-sm:   8px;
  --radius:      14px;
  --radius-lg:   20px;
  --shadow:      0 6px 32px rgba(26,43,109,0.09);
  --shadow-lg:   0 16px 60px rgba(26,43,109,0.14);
  --transition:  0.2s ease;
  --max-width:   1200px;
}


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

/* FIX 3: Both html AND body need overflow-x:hidden */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img    { max-width: 100%; height: auto; display: block; }
a      { color: inherit; text-decoration: none; }
ul     { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; }


/* ─────────────────────────────────────────────────────────────────
   3. TYPOGRAPHY
───────────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--text-dark); line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem);     font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 700; }
h4 { font-size: 0.95rem; font-weight: 700; }
p  { line-height: 1.75; }

.orange    { color: var(--orange); }
.navy      { color: var(--navy-light); }
.green-txt { color: var(--green); }
.on-dark   { color: #fff; }
.on-dark p, .on-dark h2, .on-dark h3 { color: #fff; }
.text-center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--orange); flex-shrink: 0; }


/* ─────────────────────────────────────────────────────────────────
   4. LAYOUT HELPERS
───────────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.pad-xl { padding: var(--space-xl) 0; }
.pad-lg { padding: var(--space-lg) 0; }
.pad-sm { padding: 32px 0; }
.bg-navy  { background: var(--navy); }
.bg-navy2 { background: var(--navy-mid); }
.bg-light { background: var(--bg-light); }
.bg-white { background: #fff; }


/* ─────────────────────────────────────────────────────────────────
   TWO-COLUMN GRID CLASSES
   FIX 4+5+6+7: Replaces ALL inline style="display:grid..." in PHP.
   Media queries below can now properly override these on mobile.

   In your PHP pages, use:
     <div class="two-col-grid">   ← equal columns (1fr 1fr)
     <div class="two-col-wide">   ← content + 380px sidebar
     <div class="review-grid">    ← 3 equal columns for cards
     <div class="kw-grid">        ← 2-col keyword checklist
───────────────────────────────────────────────────────────────── */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.two-col-grid.start { align-items: start; }
.icon-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
.two-col-wide {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 52px;
  align-items: start;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.kw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}


/* ─────────────────────────────────────────────────────────────────
   5. NAVIGATION
───────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; padding: 0 24px; height: 64px; width: 100%;
  box-sizing: border-box; display: flex; align-items: center;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled { background: rgba(7,13,46,0.97); box-shadow: 0 4px 24px rgba(0,0,0,0.4); backdrop-filter: blur(8px); }
.nav-inner { width: 100%; max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 38px; width: auto; mix-blend-mode: screen; }

/* FIX 8: Text logo — now the primary logo (client request)
   TO SWITCH BACK TO IMAGE LOGO: see header.php, find "TEXT LOGO" comment */
.nav-logo-text {
  font-family: var(--font-head); font-weight: 900; font-size: 1.25rem;
  color: #fff; letter-spacing: -0.02em; display: flex; align-items: center; gap: 6px;
}
.nav-logo-icon { font-size: 1.1rem; line-height: 1; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { font-family: var(--font-head); font-size: 0.88rem; font-weight: 600; color: rgba(255,255,255,0.82); padding: 6px 14px; border-radius: 8px; transition: color var(--transition), background var(--transition); }
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,0.1); }
.nav-cta { background: var(--orange); color: #fff !important; padding: 8px 18px !important; border-radius: 9px !important; font-weight: 700 !important; }
.nav-cta:hover { background: var(--orange-lite) !important; transform: translateY(-1px); }

/* FIX 1: HAMBURGER INVISIBLE
   Required: position:relative for z-index to work.
   z-index:1002 puts it ABOVE the nav (1000) and mobile menu (999).
   Without this it was hidden behind white page sections. */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; padding: 8px;
  position: relative;   /* REQUIRED for z-index */
  z-index: 1002;        /* above nav + menu */
  flex-shrink: 0; cursor: pointer;
}
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s, opacity 0.3s; pointer-events: none; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; top: 64px; left: 0; right: 0;
  background: rgba(7,13,46,0.98); backdrop-filter: blur(12px);
  z-index: 999; padding: 16px 24px 24px;
  flex-direction: column; gap: 4px;
  transform: translateY(-20px); opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
}
.mobile-menu.open { display: flex; transform: translateY(0); opacity: 1; }
.mobile-menu a { font-family: var(--font-head); font-size: 1.05rem; font-weight: 600; color: rgba(255,255,255,0.85); padding: 13px 16px; border-radius: 10px; display: block; transition: background 0.2s; }
.mobile-menu a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.mobile-menu .nav-cta { background: var(--orange) !important; color: #fff !important; text-align: center; margin-top: 8px; font-size: 1rem !important; padding: 14px 16px !important; }


/* ─────────────────────────────────────────────────────────────────
   6. BUTTONS
───────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 0.92rem; padding: 13px 24px; border-radius: 10px; border: 2px solid transparent; cursor: pointer; transition: all 0.2s ease; text-decoration: none; white-space: nowrap; line-height: 1; }
.btn-orange { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-orange:hover { background: var(--orange-lite); border-color: var(--orange-lite); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,99,26,0.35); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }
.btn-outline-navy { background: transparent; color: var(--navy-light); border-color: rgba(26,43,109,0.3); }
.btn-outline-navy:hover { background: var(--bg-light); border-color: var(--navy-light); }
.btn-outline-orange { background: transparent; color: var(--orange); border-color: var(--orange); }
.btn-outline-orange:hover { background: var(--orange); color: #fff; }
.btn-back { background: var(--bg-light); color: var(--navy-light); border: 1.5px solid var(--border); }
.btn-back:hover { background: #e8ecf8; }
.btn-lg   { padding: 16px 32px; font-size: 1rem; border-radius: 12px; }
.btn-full { width: 100%; }
.btn-group { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }


/* ─────────────────────────────────────────────────────────────────
   7. HERO SECTION

   FIX 7 — Desktop large monitor gaps:
   Hero uses min-height:100vh. On a 1440px-wide monitor, content
   centres with space above/below — this is intentional and looks
   good because the stat card fills the right column visually.
   The gap is reduced slightly by using 52px container padding
   instead of 80px.

   FIX 7 — Tablet huge blank space:
   At ≤1024px the stat card is hidden (display:none). Without it
   the hero content is ~380px tall but hero still demanded 100vh
   (~768px on tablet) = ~390px of blank navy space.
   Fix in the responsive section: min-height:0 at ≤1024px.
───────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, #101d5c 60%, #0d1848 100%);
  display: flex; align-items: center;
  padding-top: 64px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -10%; right: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(232,99,26,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; padding: 52px 24px; }
.hero-grid { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 7px 14px; border-radius: 100px; margin-bottom: 20px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); display: inline-block; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{box-shadow:0 0 0 0 rgba(0,196,106,0.5);} 50%{box-shadow:0 0 0 6px rgba(0,196,106,0);} }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .outline { color: #5B8DEF; }
.hero-sub { color: rgba(203,213,238,0.85); font-size: clamp(0.95rem, 1.5vw, 1.05rem); max-width: 520px; margin-bottom: 28px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 20px; }
.hero-trust span { font-size: 0.78rem; color: rgba(203,213,238,0.7); display: flex; align-items: center; gap: 5px; }
.ck { color: var(--green); font-weight: 700; }

.hcard { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-lg); padding: 24px; backdrop-filter: blur(12px); }
.hcard-top { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 18px; }
.av { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--orange-lite)); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: #fff; flex-shrink: 0; }
.hcard-name { font-family: var(--font-head); font-weight: 800; font-size: 0.95rem; color: #fff; }
.hcard-role { font-size: 0.73rem; color: rgba(203,213,238,0.7); margin-top: 2px; }
.online { font-size: 0.7rem; color: var(--green); font-weight: 700; display: flex; align-items: center; gap: 5px; margin-top: 4px; }
.online::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); display: inline-block; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.stat { background: rgba(255,255,255,0.07); border-radius: 10px; padding: 14px 12px; text-align: center; }
.stat-n { font-family: var(--font-head); font-size: 1.7rem; font-weight: 900; color: var(--orange); line-height: 1; }
.stat-l { font-size: 0.67rem; color: rgba(203,213,238,0.6); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.g-badge { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 10px; padding: 10px 14px; margin-top: 14px; transition: background 0.2s; }
.g-badge:hover { background: rgba(255,255,255,0.12); }
.g-logo { width: 28px; height: 28px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 900; font-size: 0.85rem; color: #4285F4; flex-shrink: 0; }
.g-badge-txt { font-size: 0.72rem; color: rgba(203,213,238,0.85); line-height: 1.4; }
.g-badge-txt strong { color: #F59E0B; }


/* ─────────────────────────────────────────────────────────────────
   8. TRUST BAR & MARQUEE
───────────────────────────────────────────────────────────────── */
.trust-bar { background: var(--navy-mid); border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); padding: 14px 24px; overflow: hidden; }
.trust-inner { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; max-width: var(--max-width); margin: 0 auto; }
.t-item { display: flex; align-items: center; gap: 7px; font-size: 0.78rem; font-weight: 600; color: rgba(203,213,238,0.8); white-space: nowrap; }
.t-dot  { color: var(--green); font-size: 0.8rem; font-weight: 700; }

/* FIX 3: overflow:hidden is CRITICAL on .clients-marquee.
   The track inside is width:max-content which can exceed viewport.
   Without this the entire page gets a horizontal scrollbar. */
.clients-marquee { overflow: hidden; background: var(--navy); border-top: 1px solid rgba(255,255,255,0.05); padding: 14px 0; }
.marquee-track { display: flex; gap: 0; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee { from{transform:translateX(0);} to{transform:translateX(-50%);} }
.mc-item { display: flex; align-items: center; gap: 8px; padding: 0 28px; font-size: 0.77rem; font-weight: 600; color: rgba(203,213,238,0.5); white-space: nowrap; }
.mc-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--orange); opacity: 0.6; }


/* ─────────────────────────────────────────────────────────────────
   9. COUNTERS BAND
───────────────────────────────────────────────────────────────── */
.counters-band { background: linear-gradient(135deg, var(--navy-mid), var(--navy)); padding: 52px 24px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.counters-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: var(--max-width); margin: 0 auto; text-align: center; }
.counter-item { position: relative; padding: 0 16px; }
.counter-item:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 20%; bottom: 20%; width: 1px; background: rgba(255,255,255,0.1); }
.cnt-num { font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 900; color: var(--orange); line-height: 1; margin-bottom: 8px; }
.cnt-lbl { font-size: 0.72rem; color: rgba(203,213,238,0.6); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; line-height: 1.5; }


/* ─────────────────────────────────────────────────────────────────
   10. CARDS & COMPONENTS
───────────────────────────────────────────────────────────────── */
.problems-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.p-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); padding: 24px; transition: background 0.2s, border-color 0.2s, transform 0.2s; }
.p-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(232,99,26,0.3); transform: translateY(-3px); }
.p-ico { font-size: 1.8rem; display: block; margin-bottom: 12px; }
.p-card h3 { color: #fff; margin-bottom: 8px; font-size: 0.97rem; }
.p-card p  { color: rgba(203,213,238,0.65); font-size: 0.83rem; line-height: 1.65; }
.diff-list { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.d-item { display: flex; gap: 14px; align-items: flex-start; }
.d-ico  { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.d-item h4 { font-size: 0.9rem; margin-bottom: 3px; }
.d-item p  { font-size: 0.82rem; color: var(--text-body); }
.callout { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); padding: 32px; }
.callout h3 { color: #fff; margin-bottom: 12px; }
.callout p  { color: rgba(203,213,238,0.75); font-size: 0.87rem; line-height: 1.75; margin-bottom: 10px; }
.founder { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg); }
.founder-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.founder-name { font-weight: 800; font-size: 1rem; color: var(--navy); }
.founder-role { font-size: 0.76rem; color: var(--text-muted); margin-top: 2px; }
.founder-quote { font-size: 0.85rem; font-style: italic; color: var(--text-body); border-left: 3px solid var(--orange); padding-left: 14px; line-height: 1.7; margin-bottom: 18px; }
.founder-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.f-stat { background: var(--bg-light); border-radius: 10px; padding: 12px; text-align: center; }
.f-stat-n { font-family: var(--font-head); font-size: 1.5rem; font-weight: 900; color: var(--orange); }
.f-stat-l { font-size: 0.67rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.07em; }
.review-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.review-stars { color: var(--amber); font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 12px; }
.review-text  { font-size: 0.87rem; font-style: italic; color: var(--text-body); line-height: 1.75; margin-bottom: 14px; }
.review-name  { font-size: 0.78rem; font-weight: 700; color: var(--navy-light); }
.bq { background: rgba(232,99,26,0.05); border-left: 3px solid var(--orange); border-radius: 0 10px 10px 0; padding: 14px 18px; font-size: 0.87rem; font-style: italic; color: var(--text-body); line-height: 1.75; }
.process-list { display: flex; flex-direction: column; gap: 0; }
.proc-item { display: flex; gap: 20px; padding-bottom: 28px; position: relative; }
.proc-item:not(:last-child)::after { content: ''; position: absolute; left: 18px; top: 44px; width: 2px; bottom: 0; background: rgba(232,99,26,0.3); }
.proc-num { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--orange-lite)); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 0.85rem; color: #fff; flex-shrink: 0; }
.proc-item h3 { color: #fff; margin-bottom: 5px; font-size: 0.97rem; }
.proc-item p  { color: rgba(203,213,238,0.7); font-size: 0.83rem; line-height: 1.65; }
.promises-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.promise-col { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); overflow: hidden; }
.promise-col-head { padding: 12px 18px; font-family: var(--font-head); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.promise-col-head.yes { background: rgba(0,196,106,0.15); color: var(--green); }
.promise-col-head.no  { background: rgba(255,82,82,0.1);  color: var(--red); }
.promise-list { padding: 8px 0; }
.promise-item { display: flex; align-items: center; gap: 10px; padding: 9px 18px; font-size: 0.83rem; color: rgba(203,213,238,0.8); border-bottom: 1px solid rgba(255,255,255,0.05); }
.promise-item:last-child { border-bottom: none; }
.promise-item .pi { font-size: 0.9rem; flex-shrink: 0; }
.trade-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trade-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.trade-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(232,99,26,0.3); }
.trade-icon { font-size: 2rem; margin-bottom: 12px; }
.trade-card h3 { font-size: 1rem; margin-bottom: 6px; }
.trade-card p  { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }


/* ─────────────────────────────────────────────────────────────────
   11. PRICING CARDS
───────────────────────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.price-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); position: relative; transition: transform 0.2s, box-shadow 0.2s; }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card.featured { border-color: var(--orange); border-width: 2px; transform: translateY(-8px); box-shadow: 0 20px 60px rgba(232,99,26,0.18); }
.price-card.featured:hover { transform: translateY(-12px); }
.price-badge { display: inline-flex; background: var(--orange); color: #fff; font-family: var(--font-head); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border-radius: 100px; margin-bottom: 14px; }
.price-name   { font-size: 1.3rem; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.price-sub    { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 16px; }
.price-amount { font-family: var(--font-head); font-size: 2.8rem; font-weight: 900; color: var(--navy); line-height: 1; margin-bottom: 4px; }
.price-amount span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.price-note   { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 20px; }
.price-desc   { font-size: 0.84rem; color: var(--text-body); line-height: 1.7; margin-bottom: 20px; }
.price-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.price-feat   { display: flex; align-items: flex-start; gap: 9px; font-size: 0.83rem; color: var(--text-body); }
.price-feat::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px; }


/* ─────────────────────────────────────────────────────────────────
   12. CASE STUDY CARDS
───────────────────────────────────────────────────────────────── */
.case-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 28px; }
.case-header { background: linear-gradient(135deg, var(--navy), var(--navy-light)); padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.case-tag { display: inline-flex; align-items: center; gap: 8px; background: rgba(232,99,26,0.35); border: 1px solid rgba(232,99,26,0.7); color: #FFD0AA; font-size: 0.67rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 12px; border-radius: 100px; margin-bottom: 10px; }
.case-header h3 { color: #fff; font-size: 1.2rem; margin-bottom: 4px; }
.case-header p  { color: rgba(203,213,238,0.75); font-size: 0.83rem; }
.case-result-big { text-align: right; flex-shrink: 0; }
.case-result-big .num { font-family: var(--font-head); font-size: 2.5rem; font-weight: 900; color: var(--orange); line-height: 1; }
.case-result-big .lbl { font-size: 0.7rem; color: rgba(203,213,238,0.65); text-transform: uppercase; letter-spacing: 0.08em; }
.case-body { padding: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-col-head { font-size: 0.67rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 10px; }
.case-col p { font-size: 0.83rem; color: var(--text-body); line-height: 1.65; }
.stat-box { background: var(--bg-light); border-radius: 9px; padding: 11px 14px; margin-bottom: 8px; }
.stat-box-lbl { font-size: 0.69rem; color: var(--text-muted); margin-bottom: 4px; }
.stat-box-val { display: flex; align-items: center; gap: 8px; }
.stat-box-val .before { color: var(--red); font-weight: 700; text-decoration: line-through; font-size: 0.82rem; }
.stat-box-val .arrow  { font-size: 0.74rem; color: var(--text-muted); }
.stat-box-val .after  { color: var(--green); font-weight: 800; font-size: 1rem; }


/* ─────────────────────────────────────────────────────────────────
   13. FAQ ACCORDION
───────────────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 18px 4px; background: none; border: none; text-align: left; font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; color: var(--navy); cursor: pointer; gap: 16px; transition: color 0.2s; }
.faq-q:hover { color: var(--orange); }
.faq-q::after { content: '+'; font-size: 1.3rem; font-weight: 400; color: var(--orange); flex-shrink: 0; transition: transform 0.3s; line-height: 1; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-item.open .faq-q { color: var(--orange); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a-inner { padding: 0 4px 20px 4px; font-size: 0.88rem; color: var(--text-body); line-height: 1.8; }


/* ─────────────────────────────────────────────────────────────────
   14. CONTACT FORM
───────────────────────────────────────────────────────────────── */
.contact-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 36px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.step-bar { display: flex; align-items: center; margin-bottom: 28px; }
.s-pip { display: flex; flex-direction: column; align-items: center; min-width: 70px; }
.s-dot { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 0.82rem; font-weight: 800; transition: all 0.3s; }
.s-dot.active  { background: var(--orange); color: #fff; box-shadow: 0 0 0 4px rgba(232,99,26,0.18); }
.s-dot.pending { background: var(--bg-light); color: var(--text-muted); }
.s-dot.done    { background: var(--green); color: #fff; }
.s-lbl { font-size: 0.62rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.07em; margin-top: 5px; text-align: center; }
.s-line { flex: 1; height: 2px; background: var(--bg-light); transition: background 0.3s; }
.s-line.done { background: var(--green); }
.form-step { display: none; }
.form-step.active { display: block; animation: stepIn 0.3s ease; }
@keyframes stepIn { from{opacity:0;transform:translateX(14px);} to{opacity:1;transform:translateX(0);} }
.form-title { font-size: 1.3rem; color: var(--navy); margin-bottom: 6px; font-family: var(--font-head); font-weight: 800; }
.form-sub   { font-size: 0.85rem; color: var(--text-body); margin-bottom: 22px; }
.fg { margin-bottom: 14px; }
.fg label { display: block; font-size: 0.78rem; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.fg input, .fg select, .fg textarea { width: 100%; padding: 12px 15px; border: 1.5px solid var(--border); border-radius: 9px; font-family: var(--font-body); font-size: 0.9rem; color: var(--navy); background: #fff; transition: border-color 0.2s, box-shadow 0.2s; -webkit-appearance: none; appearance: none; }
.fg input:focus, .fg select:focus, .fg textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(232,99,26,0.1); }
.fg textarea { min-height: 90px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.alert { display: none; border-radius: 11px; padding: 16px 20px; margin-bottom: 18px; }
.alert.show { display: block; }
.alert-error { background: rgba(255,82,82,0.06); border: 1.5px solid rgba(255,82,82,0.25); }
.alert-error h3 { color: #CC2200; font-size: 0.95rem; margin-bottom: 5px; }
.alert-error p  { color: #991A00; font-size: 0.83rem; margin: 0; }
.ct-link { display: flex; align-items: center; gap: 13px; padding: 13px 15px; border-radius: 11px; border: 1.5px solid var(--border); background: var(--bg-light); text-decoration: none; margin-bottom: 10px; transition: all 0.2s; }
.ct-link:last-child { margin-bottom: 0; }
.ct-link:hover { background: #e8ecf8; border-color: rgba(26,43,109,0.25); }
.ct-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.ct-icon-ph { background: rgba(26,43,109,0.08); }
.ct-icon-wa { background: rgba(37,211,102,0.12); }
.ct-icon-em { background: rgba(232,99,26,0.1); }
.ct-link strong { display: block; font-size: 0.85rem; color: var(--navy); font-weight: 700; }
.ct-link span   { font-size: 0.77rem; color: var(--text-muted); }


/* ─────────────────────────────────────────────────────────────────
   15. CTA BAND & FOOTER
───────────────────────────────────────────────────────────────── */
.cta-band { background: linear-gradient(135deg, var(--navy), var(--navy-mid)); padding: var(--space-xl) 0; text-align: center; border-top: 1px solid rgba(255,255,255,0.06); }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p  { color: rgba(203,213,238,0.7); margin-bottom: 28px; max-width: 500px; margin-inline: auto; }
.cta-strip { background: var(--orange); padding: 16px 24px; overflow: hidden; }
.strip-inner { display: flex; align-items: center; justify-content: center; gap: 18px; max-width: var(--max-width); margin: 0 auto; flex-wrap: wrap; }
.strip-inner a { color: #fff; font-size: 0.87rem; font-weight: 700; font-family: var(--font-head); transition: opacity 0.2s; }
.strip-inner a:hover { opacity: 0.8; }
.strip-sep { color: rgba(255,255,255,0.5); }
.footer { background: var(--navy); padding: 60px 24px 32px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 28px; }
.footer-logo { font-family: var(--font-head); font-weight: 900; font-size: 1.3rem; color: #fff; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.footer-logo img { height: 32px; mix-blend-mode: screen; }
.footer-desc { font-size: 0.83rem; color: rgba(203,213,238,0.55); line-height: 1.7; margin-bottom: 18px; }
.footer-contact a { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: rgba(203,213,238,0.7); margin-bottom: 8px; transition: color 0.2s; }
.footer-contact a:hover { color: var(--orange); }
.footer-contact .fci { font-size: 0.9rem; }
.footer-col-title { font-family: var(--font-head); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(203,213,238,0.45); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 0.85rem; color: rgba(203,213,238,0.65); margin-bottom: 9px; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-legal { display: flex; gap: 16px; }
.footer-copy { font-size: 0.77rem; color: rgba(203,213,238,0.35); }
.footer-bottom a { font-size: 0.77rem; color: rgba(203,213,238,0.35); transition: color 0.2s; }
.footer-bottom a:hover { color: rgba(203,213,238,0.7); }


/* ─────────────────────────────────────────────────────────────────
   16. WHATSAPP FLOATING BUTTON
   FIX 2: right:16px prevents horizontal scroll trigger.
   z-index:1100 keeps it above all content and the mobile menu.
───────────────────────────────────────────────────────────────── */
.wa-float { position: fixed; bottom: 24px; right: 16px; width: 54px; height: 54px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 24px rgba(37,211,102,0.4); z-index: 1100; transition: transform 0.2s, box-shadow 0.2s; text-decoration: none; }
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }


/* ─────────────────────────────────────────────────────────────────
   17. INNER PAGE HERO
───────────────────────────────────────────────────────────────── */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, #0f1d5e 100%); padding: 110px 24px 60px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px); background-size: 60px 60px; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p  { color: rgba(203,213,238,0.75); max-width: 560px; font-size: 1.05rem; }
.page-hero .eyebrow { margin-bottom: 10px; }
.breadcrumb { display: flex; align-items: center; gap: 7px; font-size: 0.78rem; color: rgba(203,213,238,0.5); margin-bottom: 16px; }
.breadcrumb a:hover { color: rgba(203,213,238,0.85); }
.breadcrumb .sep { opacity: 0.4; }


/* ─────────────────────────────────────────────────────────────────
   18. SCROLL REVEAL ANIMATIONS
───────────────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.on { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.07s; }
.reveal:nth-child(3) { transition-delay: 0.14s; }
.reveal:nth-child(4) { transition-delay: 0.21s; }
.reveal:nth-child(5) { transition-delay: 0.28s; }
.reveal:nth-child(6) { transition-delay: 0.35s; }


/* ─────────────────────────────────────────────────────────────────
   19. RESPONSIVE — ALL BREAKPOINTS

   KEY PRINCIPLE:
   All two-column grids that were previously written as inline
   style="display:grid;grid-template-columns:..." in PHP have been
   replaced with classes (.two-col-grid, .two-col-wide, .review-grid).
   This allows the media queries below to override them correctly.
   Inline styles CANNOT be overridden by class-based media queries
   because inline styles always win the CSS specificity battle.
───────────────────────────────────────────────────────────────── */

/* ══ TABLET (≤ 1024px) ══════════════════════════════════════════ */
@media (max-width: 1024px) {
  /* FIX 7 TABLET: Remove full-height hero. Without the stat card,
     the hero content is short — min-height:100vh leaves a huge blank
     navy space. Setting min-height:0 lets the hero size to content. */
  .hero             { min-height: 0; align-items: flex-start; }
  .hero .container  { padding: 44px 24px 56px; }
  .hero-grid        { grid-template-columns: 1fr; }
  .hcard            { display: none; }

  .problems-grid    { grid-template-columns: repeat(2, 1fr); }
  .counters-grid    { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid     { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .price-card.featured { transform: none; }
  .case-body        { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid      { grid-template-columns: 1fr 1fr; gap: 28px; }
  .promises-grid    { grid-template-columns: 1fr; }
  .contact-wrap     { grid-template-columns: 1fr; }
  .trade-grid       { grid-template-columns: repeat(2, 1fr); }
}

/* ══ LARGE MOBILE (≤ 768px) ═════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --space-xl: 56px; --space-lg: 36px; }

  /* FIX 1: Show hamburger, hide desktop nav links */
  .hamburger  { display: flex; }
  .nav-links  { display: none; }

  /* FIX 4: Two-column grids → single column
     These work now because they target classes, not inline styles */
  .two-col-grid     { grid-template-columns: 1fr; gap: 28px; }
  .two-col-wide     { grid-template-columns: 1fr; gap: 28px; }
  .icon-grid-2      { grid-template-columns: 1fr; gap: 10px; }

  /* FIX 5: Reviews → single column */
  .review-grid      { grid-template-columns: 1fr; }

  /* FIX 6: Remove sticky from sidebar on mobile */
  .sidebar-sticky   { position: relative !important; top: auto !important; }

  /* Small grids */
  .kw-grid          { grid-template-columns: 1fr; }
  .problems-grid    { grid-template-columns: 1fr; }
  .burned-grid      { grid-template-columns: 1fr; }
  .trade-grid       { grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr; }
  .form-row         { grid-template-columns: 1fr; }
  .counters-grid    { grid-template-columns: repeat(2, 1fr); }
  .founder-stats    { grid-template-columns: repeat(2, 1fr); }
  .case-body        { grid-template-columns: 1fr; gap: 16px; }
  .pricing-grid     { grid-template-columns: 1fr; max-width: 100%; }
  .price-card.featured { transform: none; }
  .promises-grid    { grid-template-columns: 1fr; }
  .contact-wrap     { grid-template-columns: 1fr; }
  .footer-legal     { flex-direction: column; gap: 8px; }

  .case-header      { flex-direction: column; align-items: flex-start; }
  .case-result-big  { text-align: left; }
  .strip-inner      { gap: 10px; }
}

/* ══ SMALL MOBILE (≤ 540px) ════════════════════════════════════ */
@media (max-width: 540px) {
  .container        { padding: 0 16px; }
  .hero .container  { padding: 32px 16px 44px; }
  .counters-grid    { grid-template-columns: 1fr 1fr; }
  .counter-item::after { display: none; }
  .btn-group        { flex-direction: column; }
  .btn-group .btn   { width: 100%; }
  .hero-trust       { gap: 8px 14px; }
  .footer-bottom    { flex-direction: column; text-align: center; }
  .page-hero        { padding: 90px 16px 44px; }
}

/* ══ LARGE MONITOR (≥ 1440px) ══════════════════════════════════
   FIX 9 — Hero banner on large monitors has excessive top/bottom
   space because min-height:100vh on a 27" monitor = 1080px min
   but content is only ~500px tall.
   Fix: cap min-height at a sensible value on large screens.
══════════════════════════════════════════════════════════════ */
@media (min-width: 1440px) {
  .hero           { min-height: 720px; }
  .hero .container { padding: 80px 24px; }
}
