/* =====================================================================
   USMAN ASIF — LOCAL SEO PORTFOLIO
   style.css

   QUICK EDIT GUIDE
   - Brand colours .......... :root  (--blue, --green, --ink, --paper)
   - Fonts .................. loaded in index.html <head>; families set in --font-*
   - Section spacing ........ .section { padding } below
   Everything is mobile-first: base rules target a 320px phone,
   media queries scale up at 600px / 900px / 1180px.
   ===================================================================== */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Palette — tuned to sit natively beside the case-study graphics */
  --paper:      #F7F5F0;   /* page background (warm off-white)            */
  --paper-2:    #FFFFFF;   /* cards / surfaces                            */
  --band:       #F1EDE3;   /* warm sand band for alternating sections     */
  --ink:        #0C2A4A;   /* primary navy text + dark UI                 */
  --ink-2:      #0A2138;   /* deeper navy                                 */
  --ink-3:      #07182B;   /* darkest panel background                    */
  --slate:      #51617A;   /* muted body text                             */
  --slate-2:    #7C8898;   /* captions / least-important text             */
  --blue:       #1A73E8;   /* primary action / Google-Maps blue           */
  --blue-d:     #1559BE;
  --blue-50:    #E9F1FD;
  --green:      #1E9E4A;   /* "ranked / win" accent (matches graphics)    */
  --green-d:    #178A3F;
  --green-50:   #E7F4EB;
  --red:        #DE4631;   /* "before / problem" accent, used sparingly   */
  --orange:     #E5852C;
  --line:       #E6E1D5;   /* hairline borders                            */
  --line-2:     #EDE9DF;

  /* Type */
  --font-display: "Sora", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, sans-serif;

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Shadows */
  --sh-sm: 0 1px 2px rgba(12,42,74,.06), 0 2px 6px rgba(12,42,74,.05);
  --sh-md: 0 6px 18px rgba(12,42,74,.08), 0 2px 6px rgba(12,42,74,.05);
  --sh-lg: 0 18px 44px rgba(12,42,74,.12), 0 6px 14px rgba(12,42,74,.07);
  --sh-xl: 0 30px 70px rgba(7,24,43,.18);

  /* Layout */
  --maxw: 1180px;
  --gutter: 20px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); }

::selection { background: rgba(26,115,232,.16); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* ---------- 3. LAYOUT HELPERS ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding: 64px 0; position: relative; }
.section--band { background: var(--band); }
.section--dark { background: var(--ink-3); color: #DCE6F2; }
.section--tight { padding-top: 40px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600;
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow svg { width: 15px; height: 15px; }
.section--dark .eyebrow { color: #6FB6FF; }

.section-head { max-width: 660px; margin-bottom: 38px; }
.section-head h2 { font-size: clamp(1.95rem, 4.4vw, 2.9rem); margin: 14px 0 12px; }
.section-head p { color: var(--slate); font-size: 1.06rem; }
.section--dark .section-head p { color: #A9BDD6; }

.lead { color: var(--slate); font-size: 1.08rem; }

/* accent: green word inside a headline */
.g { color: var(--green); }
.b { color: var(--blue); }

/* ---------- 4. BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 0 24px;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  border-radius: var(--r-pill);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(30,158,74,.28); }
.btn-primary:hover { background: var(--green-d); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(30,158,74,.34); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(26,115,232,.26); }
.btn-blue:hover { background: var(--blue-d); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(26,115,232,.32); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); background: rgba(12,42,74,.03); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.32); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); transform: translateY(-2px); }

/* On phones, primary CTAs go full width and tap targets stay >=44px */
.btn--block { width: 100%; }

/* ---------- 5. NAVBAR ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s;
}
.nav.scrolled { background: rgba(247,245,240,.86); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; color: var(--ink); letter-spacing: -.01em; }
.brand .mark { width: 30px; height: 30px; border-radius: 9px; flex: none; }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-2); margin-top: -2px; }

.nav-links { display: none; }
.nav-cta { display: none; }

.nav-toggle {
  width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line); background: rgba(255,255,255,.6);
}
.nav-toggle span { position: relative; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav.open .nav-toggle span { background: transparent; }
.nav.open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav.open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile slide-down menu */
.mobile-menu {
  position: fixed; inset: 68px 0 auto 0; z-index: 99;
  background: var(--paper-2); border-bottom: 1px solid var(--line);
  box-shadow: var(--sh-lg);
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: transform .26s ease, opacity .22s ease;
  padding: 14px var(--gutter) 24px;
}
.nav.open .mobile-menu { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a { display: block; padding: 14px 6px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; border-bottom: 1px solid var(--line-2); color: var(--ink); }
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu .btn { margin-top: 16px; }

/* ---------- 6. HERO ---------- */
.hero { padding: 104px 0 56px; position: relative; overflow: hidden; }
.hero::before { /* soft top glow */
  content: ""; position: absolute; top: -160px; right: -120px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(26,115,232,.10), transparent 68%); pointer-events: none;
}
.hero-grid { display: grid; gap: 38px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--ink); background: var(--paper-2); border: 1px solid var(--line); padding: 7px 12px; border-radius: var(--r-pill); box-shadow: var(--sh-sm); }
.chip svg { width: 13px; height: 13px; color: var(--green); }

.hero h1 { font-size: clamp(2.35rem, 7.2vw, 4.05rem); font-weight: 800; }
.hero h1 .b { color: var(--blue); }
.hero-sub { margin: 20px 0 28px; font-size: 1.12rem; color: var(--slate); max-width: 36ch; }
.hero-cta { display: flex; flex-direction: column; gap: 12px; }
.hero-trustline { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: .82rem; color: var(--slate-2); }
.hero-trustline strong { color: var(--ink); font-weight: 700; }
.hero-trustline .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--slate-2); }

/* Hero visual: framed headshot + floating proof cards */
.hero-visual { position: relative; }
.hero-photo { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-xl); border: 5px solid #fff; max-width: 420px; margin-inline: auto; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7,24,43,.28)); }
.hero-photo img { width: 100%; }
.hero-blob { position: absolute; z-index: -1; width: 78%; aspect-ratio: 1; border-radius: 42% 58% 60% 40% / 48% 42% 58% 52%; background: linear-gradient(150deg, var(--blue), #2f8bff); top: 10%; left: 8%; filter: blur(2px); opacity: .14; }

.float-card { background: rgba(255,255,255,.94); backdrop-filter: blur(6px); border: 1px solid var(--line); box-shadow: var(--sh-lg); border-radius: 14px; padding: 12px 14px; }
.float-rank { display: flex; align-items: center; gap: 12px; }
.float-rank .ring { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--green-50); color: var(--green); font-family: var(--font-display); font-weight: 800; }
.float-rank .ring svg { width: 22px; height: 22px; }
.float-rank b { font-family: var(--font-display); display: block; font-size: 1.18rem; line-height: 1.1; color: var(--ink); }
.float-rank span { font-size: .74rem; color: var(--slate); }

/* mini geo-grid inside a floating card */
.geo-card { margin-top: 18px; max-width: 420px; margin-inline: auto; }
.geo-card .geo-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.geo-card .geo-head b { font-family: var(--font-display); font-size: .9rem; }
.geo-card .geo-head span { font-size: .74rem; color: var(--slate); }
.geo-card .geo-head em { font-style: normal; color: var(--green); font-weight: 700; }

/* ---------- GEO-GRID SIGNATURE ---------- */
.geo { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }
.geo-pin {
  position: relative; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(.62rem,1.8vw,.82rem); color: #fff;
  background: var(--red);
  transition: background .5s ease, transform .5s ease;
  transition-delay: calc(var(--i) * 28ms);
}
.geo-pin .after { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .5s ease; transition-delay: calc(var(--i) * 28ms); }
.geo-pin.mid { background: var(--orange); }
.geo.is-on .geo-pin { background: var(--green); transform: scale(1.04); }
.geo.is-on .geo-pin .before { opacity: 0; }
.geo.is-on .geo-pin .after { opacity: 1; }
.geo-pin .before { transition: opacity .35s ease; transition-delay: calc(var(--i) * 28ms); }

.geo-legend { display: flex; gap: 14px; margin-top: 12px; font-size: .72rem; color: var(--slate); flex-wrap: wrap; }
.geo-legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; margin-right: 5px; vertical-align: middle; }

@media (prefers-reduced-motion: reduce) {
  .geo-pin, .geo-pin .after, .geo-pin .before { transition: none !important; }
}

/* ---------- 7. STAT BAND ---------- */
.statband { background: var(--ink-3); }
.statband .stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 18px; }
.stat { text-align: left; }
.stat b { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem,7vw,2.9rem); color: #fff; display: block; line-height: 1; letter-spacing: -.02em; }
.stat b .u { color: var(--green); }
.stat span { display: block; margin-top: 8px; font-size: .82rem; color: #9DB2CC; line-height: 1.4; }

/* ---------- 8. PROBLEM / SOLUTION ---------- */
.ps-grid { display: grid; gap: 18px; }
.ps-col { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--sh-sm); }
.ps-col h3 { font-size: 1.18rem; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.ps-col.prob h3 { color: var(--red); }
.ps-col.sol h3 { color: var(--green); }
.ps-col .tag { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--r-pill); }
.ps-col.prob .tag { background: #FCE9E5; color: var(--red); }
.ps-col.sol .tag { background: var(--green-50); color: var(--green-d); }
.ps-list li { display: flex; gap: 11px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: .96rem; color: var(--ink); }
.ps-list li:last-child { border-bottom: none; }
.ps-list .ic { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.ps-col.prob .ic { color: var(--red); }
.ps-col.sol .ic { color: var(--green); }
.ps-list b { font-weight: 600; }
.ps-list small { display: block; color: var(--slate); font-weight: 400; font-size: .86rem; }

.ps-proof { margin-top: 28px; }
.ps-proof .proof-row { display: grid; gap: 22px; align-items: center; }
.ps-proof .proof-copy h3 { font-size: 1.35rem; margin-bottom: 10px; }
.ps-proof .proof-copy p { color: var(--slate); }
.ps-proof .proof-copy .ministats { display: flex; gap: 22px; margin-top: 16px; flex-wrap: wrap; }
.ps-proof .proof-copy .ministats div b { font-family: var(--font-display); font-size: 1.5rem; color: var(--green); display: block; line-height: 1; }
.ps-proof .proof-copy .ministats div span { font-size: .78rem; color: var(--slate); }

/* ---------- 9. SERVICES ---------- */
.svc-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.svc-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; box-shadow: var(--sh-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: #D7E5FB; }
.svc-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); margin-bottom: 14px; }
.svc-ic svg { width: 24px; height: 24px; }
.svc-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.svc-card p { font-size: .9rem; color: var(--slate); }

/* ---------- 10. RESULTS ---------- */
.result-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-bottom: 40px; }
.rstat { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; text-align: center; box-shadow: var(--sh-sm); }
.rstat b { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--ink); display: block; line-height: 1; }
.rstat span { font-size: .76rem; color: var(--slate); display: block; margin-top: 7px; }

.case { display: grid; gap: 22px; align-items: center; padding: 26px 0; border-top: 1px solid var(--line); }
.case:first-of-type { border-top: none; }
.case-media { order: -1; }
.case-tag { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 600; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.case-tag .n { width: 22px; height: 22px; border-radius: 6px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .72rem; }
.case h3 { font-size: clamp(1.3rem,3vw,1.7rem); margin-bottom: 10px; }
.case p { color: var(--slate); font-size: .98rem; }
.case .kpis { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.kpi { background: var(--green-50); color: var(--green-d); font-weight: 700; font-size: .82rem; padding: 7px 13px; border-radius: var(--r-pill); display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); }
.kpi.blue { background: var(--blue-50); color: var(--blue-d); }
.kpi svg { width: 14px; height: 14px; }

/* Premium card frame (for case-study infographics) */
.frame { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); }
.frame img { width: 100%; }

/* Browser-window mockup (for tool screenshots) */
.browser { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-md); }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: #F3F1EC; border-bottom: 1px solid var(--line); }
.browser-bar .dots { display: flex; gap: 5px; }
.browser-bar .dots i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.browser-bar .dots i:nth-child(1){ background:#FF5F57;} .browser-bar .dots i:nth-child(2){ background:#FEBC2E;} .browser-bar .dots i:nth-child(3){ background:#28C840;}
.browser-bar .url { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: .72rem; color: var(--slate-2); padding: 4px 12px; text-align: center; max-width: 320px; margin-inline: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser-body img { width: 100%; }

.case-support { margin-top: 18px; }
.case-support .cap { font-size: .76rem; color: var(--slate-2); margin-top: 8px; display: flex; align-items: center; gap: 7px; }
.case-support .cap svg { width: 14px; height: 14px; color: var(--green); flex: none; }

/* Speed / Core Web Vitals block */
.speed { display: grid; gap: 22px; align-items: center; margin-top: 12px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--sh-sm); }
.speed h3 { font-size: 1.3rem; margin-bottom: 8px; }
.speed p { color: var(--slate); font-size: .96rem; }
.speed .meter { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.speed .score { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--green); display: flex; align-items: baseline; gap: 8px; }
.speed .score .from { font-size: 1.1rem; color: var(--slate-2); font-weight: 600; }
.speed .score .arrow { color: var(--green); }

/* Extra growth strip */
.growth-strip { margin-top: 40px; }
.growth-strip h3 { font-size: 1.15rem; margin-bottom: 6px; text-align: center; }
.growth-strip .gs-sub { text-align: center; color: var(--slate); font-size: .92rem; margin-bottom: 22px; }
.growth-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.growth-item .gtags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; justify-content: center; }
.gtag { font-family: var(--font-display); font-weight: 700; font-size: .8rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line); padding: 6px 12px; border-radius: var(--r-pill); }
.gtag .up { color: var(--green); }

/* ---------- 11. PROCESS ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 16px; counter-reset: step; }
.step { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; position: relative; box-shadow: var(--sh-sm); }
.step .num { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; color: var(--line); line-height: 1; position: absolute; top: 18px; right: 22px; }
.step .step-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: #fff; margin-bottom: 14px; }
.step .step-ic svg { width: 22px; height: 22px; }
.step h3 { font-size: 1.06rem; margin-bottom: 6px; }
.step p { font-size: .9rem; color: var(--slate); }

/* ---------- 12. WHY ME ---------- */
.why-grid { display: grid; gap: 30px; align-items: center; }
.why-list li { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line-2); }
.why-list li:last-child { border-bottom: none; }
.why-list .ic { flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--green-50); color: var(--green); display: grid; place-items: center; }
.why-list .ic svg { width: 16px; height: 16px; }
.why-list b { font-family: var(--font-display); font-size: 1rem; display: block; }
.why-list small { color: var(--slate); font-size: .88rem; }

.why-visual { position: relative; }
.why-visual .browser { margin-bottom: 16px; }
.why-aside { display: flex; align-items: center; gap: 14px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; box-shadow: var(--sh-sm); }
.why-aside img { width: 76px; height: 76px; object-fit: cover; border-radius: 12px; flex: none; }
.why-aside b { font-family: var(--font-display); font-size: 1rem; display: block; }
.why-aside span { font-size: .84rem; color: var(--slate); }
.why-aside .stars { color: #F2A93B; letter-spacing: 2px; font-size: .9rem; margin-bottom: 2px; }

.trust-strip { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-top: 26px; }
.trust-strip .t { background: var(--ink-3); color: #fff; border-radius: var(--r-md); padding: 16px; text-align: center; }
.trust-strip .t b { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; display: block; color: #fff; }
.trust-strip .t span { font-size: .74rem; color: #9DB2CC; }

/* ---------- 13. TESTIMONIALS ---------- */
.quotes { columns: 1; column-gap: 16px; }
.quote { break-inside: avoid; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; margin-bottom: 16px; box-shadow: var(--sh-sm); }
.quote .qm { color: var(--green); font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; line-height: .6; }
.quote p { font-size: .96rem; color: var(--ink); margin: 8px 0 14px; }
.quote .who { display: flex; align-items: center; gap: 10px; }
.quote .av { width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: .9rem; flex: none; }
.quote .who b { font-family: var(--font-display); font-size: .92rem; }
.quote .who span { font-size: .74rem; color: var(--slate-2); }

/* ---------- 14. FINAL CTA ---------- */
.cta-panel { background: linear-gradient(155deg, var(--ink-2), var(--ink-3)); border-radius: var(--r-lg); padding: 44px 24px; text-align: center; position: relative; overflow: hidden; box-shadow: var(--sh-xl); }
.cta-panel::before { content: ""; position: absolute; top: -100px; left: -60px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(26,115,232,.3), transparent 65%); }
.cta-panel::after { content: ""; position: absolute; bottom: -120px; right: -60px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(30,158,74,.22), transparent 65%); }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { color: #fff; font-size: clamp(1.7rem,4.4vw,2.6rem); margin-bottom: 12px; }
.cta-panel p { color: #A9BDD6; max-width: 46ch; margin: 0 auto 26px; font-size: 1.04rem; }
.cta-btns { display: flex; flex-direction: column; gap: 12px; max-width: 360px; margin-inline: auto; }

/* ---------- 15. FOOTER ---------- */
.footer { background: var(--ink-3); color: #9DB2CC; padding: 48px 0 30px; }
.footer-top { display: grid; gap: 26px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.09); }
.footer .brand { color: #fff; }
.footer .brand small { color: #7E93AE; }
.footer-tag { margin-top: 14px; font-size: .92rem; color: #A9BDD6; max-width: 34ch; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer-links a { display: flex; align-items: center; gap: 9px; padding: 7px 0; font-size: .94rem; color: #BCCBDF; transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-links svg { width: 16px; height: 16px; color: var(--green); flex: none; }
.footer-bottom { display: flex; flex-direction: column; gap: 8px; padding-top: 22px; font-size: .8rem; color: #7E93AE; }
.footer-bottom a { color: #BCCBDF; }

/* ---------- 16. REVEAL ANIMATION ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* hero load animation */
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.hero .anim { opacity: 0; animation: rise .7s ease forwards; }
.hero .anim.d1 { animation-delay: .05s; } .hero .anim.d2 { animation-delay: .15s; }
.hero .anim.d3 { animation-delay: .25s; } .hero .anim.d4 { animation-delay: .35s; } .hero .anim.d5 { animation-delay: .45s; }
@media (prefers-reduced-motion: reduce) { .hero .anim { opacity: 1; animation: none; } }

/* =====================================================================
   RESPONSIVE  —  scale the mobile-first base up
   ===================================================================== */

@media (min-width: 600px) {
  .section { padding: 78px 0; }
  .hero-cta { flex-direction: row; }
  .hero-cta .btn { width: auto; }
  .cta-btns { flex-direction: row; flex-wrap: wrap; justify-content: center; max-width: none; }
  .cta-btns .btn { flex: 0 1 auto; }
  .statband .stats { grid-template-columns: repeat(4,1fr); }
  .svc-grid { grid-template-columns: repeat(2,1fr); }
  .result-stats { grid-template-columns: repeat(4,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .quotes { columns: 2; }
  .growth-grid { grid-template-columns: repeat(2,1fr); }
  .trust-strip { grid-template-columns: repeat(4,1fr); }
  .footer-top { grid-template-columns: 1.6fr 1fr 1fr; }
}

@media (min-width: 900px) {
  :root { --gutter: 32px; }
  .ps-grid { grid-template-columns: 1fr 1fr; }
  .ps-proof .proof-row { grid-template-columns: 1.05fr .95fr; }
  .speed { grid-template-columns: 1.1fr .9fr; padding: 32px; }
  .svc-grid { grid-template-columns: repeat(4,1fr); }
  .steps { grid-template-columns: repeat(4,1fr); }
  .quotes { columns: 3; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .case { grid-template-columns: 1.05fr .95fr; gap: 44px; padding: 44px 0; }
  .case-media { order: 0; }
  .case--flip .case-body { order: 2; }
  .case--flip .case-media { order: 1; }
  .growth-grid { grid-template-columns: repeat(2,1fr); }
}

@media (min-width: 1000px) {
  .nav-links { display: flex; align-items: center; gap: 30px; }
  .nav-links a { font-family: var(--font-display); font-weight: 500; font-size: .94rem; color: var(--ink); position: relative; transition: color .15s; }
  .nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--blue); transition: width .22s; }
  .nav-links a:hover { color: var(--blue); } .nav-links a:hover::after { width: 100%; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none; }

  .hero { padding: 130px 0 80px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
  .hero h1 { font-size: clamp(3rem, 4.4vw, 4.05rem); }

  /* hero floating cards become absolute for the layered look */
  .geo-card { position: absolute; bottom: -26px; left: -34px; width: 250px; margin: 0; z-index: 3; }
  .float-top { position: absolute; top: 18px; right: -22px; z-index: 3; width: 200px; }
  .hero-visual { padding: 10px 30px; }
  .hero-photo { max-width: 380px; }
}

@media (min-width: 1180px) {
  .case { gap: 56px; }
}

/* =====================================================================
   VISUAL ENHANCEMENT LAYER  ·  v2  ·  "Local Search Intelligence"
   ---------------------------------------------------------------------
   Additive polish only. Everything above still drives the layout;
   this layer adds depth, gradients, map-grid texture, glowing pins,
   and hover micro-interactions. Pure CSS, no markup or JS changes.
   Design language: the blue -> green "invisible to ranked" gradient,
   a faint map-coordinate grid, and glowing map-pack pins.
   ===================================================================== */

/* ---------- NEW TOKENS ---------- */
:root {
  --grad-brand:    linear-gradient(105deg, var(--blue), var(--green));
  --grad-brand-90: linear-gradient(90deg, var(--blue), var(--green));
  --grad-brand-135:linear-gradient(135deg, var(--blue), var(--green));
  --glow-blue:     rgba(26,115,232,.16);
  --glow-green:    rgba(30,158,74,.30);
  --sh-hover:      0 18px 40px rgba(26,115,232,.16), 0 6px 14px rgba(12,42,74,.06);
  --grid-ink:      rgba(12,42,74,.045);
  --grid-white:    rgba(255,255,255,.05);
  --grid-size:     46px;
}

/* ---------- AMBIENT MAP-GRID (page background) ---------- */
body {
  background-color: var(--paper);
  background-image:
    linear-gradient(to right,  var(--grid-ink) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-ink) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  background-position: center top;
}

/* Custom scrollbar — thin, brand-tinted */
html { scrollbar-width: thin; scrollbar-color: var(--blue) transparent; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--grad-brand); border-radius: 99px;
  border: 3px solid var(--paper);
}

/* ---------- EYEBROW: leading gradient bar ---------- */
.eyebrow::before {
  content: ""; flex: none;
  width: 24px; height: 2px; border-radius: 2px;
  background: var(--grad-brand-90);
}

/* ---------- BUTTONS: gradient fills + sheen sweep ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: ""; position: absolute; top: 0; left: 0; height: 100%; width: 55%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.38), transparent);
  transform: translateX(-170%) skewX(-18deg);
  transition: transform .6s ease; pointer-events: none; z-index: 2;
}
.btn:hover::after { transform: translateX(280%) skewX(-18deg); }

.btn-primary {
  background: linear-gradient(120deg, var(--green-d), var(--green) 52%, #2bba5b);
  box-shadow: 0 10px 24px rgba(30,158,74,.30);
}
.btn-primary:hover {
  background: linear-gradient(120deg, var(--green-d), #1ea850 52%, #2ec464);
  box-shadow: 0 15px 32px rgba(30,158,74,.40);
}
.btn-blue {
  background: linear-gradient(120deg, var(--blue-d), var(--blue) 52%, #3b8bff);
  box-shadow: 0 10px 24px rgba(26,115,232,.28);
}
.btn-blue:hover {
  background: linear-gradient(120deg, var(--blue-d), #1e6ee0 52%, #4a95ff);
  box-shadow: 0 15px 32px rgba(26,115,232,.36);
}

/* ---------- HERO: dual animated glow + gradient headline + photo glow ---------- */
.hero::before {
  width: 520px; height: 520px; top: -180px; right: -140px;
  background: radial-gradient(circle, rgba(26,115,232,.14), transparent 68%);
  animation: glowDrift 15s ease-in-out infinite;
}
.hero::after {
  content: ""; position: absolute; bottom: -180px; left: -140px;
  width: 460px; height: 460px; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(30,158,74,.12), transparent 68%);
  animation: glowDrift 18s ease-in-out infinite reverse;
}
.hero .container { position: relative; z-index: 1; }

@keyframes glowDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(34px, 22px) scale(1.09); }
}

/* Gradient accent word in the big hero headline (falls back to solid blue) */
.hero h1 .b {
  color: var(--blue);
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-photo {
  box-shadow: var(--sh-xl), 0 0 0 1px rgba(26,115,232,.14), 0 0 72px rgba(26,115,232,.16);
}

.float-card { box-shadow: var(--sh-lg), inset 0 0 0 1px rgba(255,255,255,.55); }

/* ---------- GEO-GRID SIGNATURE: glossy pins + ranked glow + breathing ---------- */
.geo-pin {
  background-image: radial-gradient(circle at 50% 34%, rgba(255,255,255,.20), transparent 60%);
}
.geo-pin.mid {
  background-color: var(--orange);
  background-image: radial-gradient(circle at 50% 34%, rgba(255,255,255,.22), transparent 60%);
}
.geo.is-on .geo-pin {
  background-color: var(--green);
  background-image: radial-gradient(circle at 50% 34%, rgba(255,255,255,.24), transparent 60%);
  animation: pinBreath 3.4s ease-in-out infinite;
  animation-delay: calc(var(--i) * 45ms);
}
@keyframes pinBreath {
  0%, 100% { box-shadow: 0 3px 9px rgba(30,158,74,.30); }
  50%      { box-shadow: 0 6px 18px rgba(30,158,74,.52), 0 0 0 4px rgba(30,158,74,.08); }
}

/* ---------- STAT BAND: dashboard grid + top glow + gradient numbers ---------- */
.statband {
  background-color: var(--ink-3);
  background-image:
    radial-gradient(1100px 320px at 50% -60%, rgba(26,115,232,.20), transparent 70%),
    linear-gradient(to right,  var(--grid-white) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-white) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
}
.statband .stat b,
.statband .stat b .u {
  background: linear-gradient(120deg, #6aa8ff, #37c96e);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- SERVICE CARDS: top gradient reveal + icon comes alive ---------- */
.svc-card { position: relative; overflow: hidden; }
.svc-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-brand-90);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.svc-card:hover::before { transform: scaleX(1); }
.svc-card:hover { box-shadow: var(--sh-hover); }
.svc-ic { transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease; }
.svc-card:hover .svc-ic {
  background: var(--grad-brand-135); color: #fff;
  box-shadow: 0 8px 20px rgba(26,115,232,.30); transform: translateY(-2px);
}

/* ---------- PROBLEM / SOLUTION: hover lift ---------- */
.ps-col { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.ps-col:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.ps-col.sol:hover { border-color: #CBE7D4; }
.ps-col.prob:hover { border-color: #F6D5CE; }

/* ---------- RESULTS: stat cards, media depth, gradient KPIs ---------- */
.rstat { position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.rstat::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-brand-90);
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.rstat:hover::before { transform: scaleX(1); }
.rstat:hover { transform: translateY(-4px); box-shadow: var(--sh-hover); border-color: #D7E5FB; }
.rstat b {
  background: var(--grad-brand-135);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.frame, .browser { transition: transform .3s ease, box-shadow .3s ease; }
.frame:hover  { transform: translateY(-4px); box-shadow: var(--sh-xl); }
.browser:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }

/* ---------- PROCESS: ghost gradient numerals + icon comes alive ---------- */
.step { position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.step::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-brand-90);
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.step:hover::before { transform: scaleX(1); }
.step:hover { transform: translateY(-4px); box-shadow: var(--sh-hover); border-color: #D7E5FB; }
.step .num {
  background: linear-gradient(135deg, rgba(26,115,232,.30), rgba(30,158,74,.30));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.step .step-ic { transition: background .25s ease, box-shadow .25s ease, transform .25s ease; }
.step:hover .step-ic {
  background: var(--grad-brand-135);
  box-shadow: 0 8px 20px rgba(26,115,232,.30); transform: translateY(-2px);
}

/* ---------- WHY ME: trust tiles as mini dashboards ---------- */
.trust-strip .t {
  background-color: var(--ink-3);
  background-image:
    linear-gradient(to right,  var(--grid-white) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-white) 1px, transparent 1px);
  background-size: 30px 30px;
  border: 1px solid rgba(255,255,255,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.trust-strip .t:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(7,24,43,.35); }
.trust-strip .t b {
  background: linear-gradient(120deg, #6aa8ff, #37c96e);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---------- TESTIMONIALS: gradient quote mark, varied avatars, lift ---------- */
.quote { position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.quote::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-brand-90);
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.quote:hover::before { transform: scaleX(1); }
.quote:hover { transform: translateY(-4px); box-shadow: var(--sh-hover); border-color: #D7E5FB; }
.quote .qm {
  background: var(--grad-brand); display: inline-block;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.quotes .quote:nth-of-type(3n+2) .av { background: var(--green); }
.quotes .quote:nth-of-type(3n+3) .av { background: var(--ink); }

/* ---------- FINAL CTA: living aurora glows + dashboard grid ---------- */
.cta-panel {
  background:
    linear-gradient(to right,  rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(155deg, var(--ink-2), var(--ink-3));
}
.cta-panel::before { animation: glowDrift 16s ease-in-out infinite; }
.cta-panel::after  { animation: glowDrift 20s ease-in-out infinite reverse; }
.cta-panel h2 .g, .cta-panel h2 .b {
  background: linear-gradient(120deg, #6aa8ff, #37c96e);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---------- FOOTER: faint dashboard grid ---------- */
.footer {
  background-color: var(--ink-3);
  background-image:
    radial-gradient(900px 260px at 50% -80%, rgba(26,115,232,.12), transparent 70%),
    linear-gradient(to right,  var(--grid-white) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-white) 1px, transparent 1px);
  background-size: auto, 46px 46px, 46px 46px;
}

/* ---------- NAV: gradient hairline when scrolled ---------- */
.nav.scrolled { box-shadow: 0 1px 0 rgba(12,42,74,.05), 0 10px 30px rgba(12,42,74,.07); }
.nav.scrolled::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--green), transparent);
  opacity: .75;
}

/* ---------- DESKTOP: gentle float on the hero proof cards ---------- */
@media (min-width: 1000px) {
  .float-top { animation: floatY 5.5s ease-in-out infinite; }
  .geo-card  { animation: floatY 6.6s ease-in-out infinite .8s; }
  @keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-7px); }
  }
}

/* ---------- MOTION SAFETY: disable all added motion when requested ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after,
  .cta-panel::before, .cta-panel::after,
  .geo.is-on .geo-pin,
  .float-top, .geo-card { animation: none !important; }
  .btn::after { display: none; }
}

/* Preserve the staggered red -> green colour fade on the geo pins
   (keep transition-delay from the base rule; only extend properties). */
.geo-pin {
  transition-property: background-color, transform;
  transition-duration: .5s, .5s;
  transition-timing-function: ease, ease;
}

/* =====================================================================
   REQUESTED EXTRAS  ·  image/screenshot 3D tilt + magnetic buttons
   ---------------------------------------------------------------------
   Adds only three interactions on top of the base stylesheet:
     · 3D tilt on hover for images and screenshots
     · magnetic buttons that drift toward the cursor
     · (count-up numbers are handled in script.js)
   Native cursor is left untouched. Pairs with the matching script.js.
   Hooks (.tilt / .magnetic) are added at runtime by the JS.
   ===================================================================== */

:root { --tilt-ease: cubic-bezier(.2, .7, .2, 1); }

/* ---------- 3D TILT on images / screenshots ---------- */
/* Compound (.el.tilt) selectors so this wins over the base hover transforms. */
.hero-photo.tilt, .frame.tilt, .browser.tilt {
  transform:
    perspective(var(--persp, 900px))
    rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg))
    translateY(var(--lift, 0px)) scale(var(--tscale, 1));
  transform-style: preserve-3d;
  transition: transform .3s var(--tilt-ease), box-shadow .3s ease;
  will-change: transform;
}
.hero-photo.tilt:hover, .frame.tilt:hover, .browser.tilt:hover {
  --lift: -6px;
  --tscale: 1.02;
  box-shadow: var(--sh-xl);
}

/* ---------- MAGNETIC buttons ---------- */
.btn.magnetic {
  transform: translate(var(--mag-x, 0px), calc(var(--mag-y, 0px) + var(--blift, 0px)));
  transition: transform .25s var(--tilt-ease), background .18s ease, box-shadow .18s ease;
  will-change: transform;
}
.btn.magnetic:hover { --blift: -2px; }

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-photo.tilt, .frame.tilt, .browser.tilt, .btn.magnetic { transition: none; }
}

/* =============================================================
   REVISION PATCH
   1. Testimonial name and role were running together on one line
   2. "Problem Solver" needs a smaller size than the number stats
   3. Trust tiles now hold longer values like 8,000+
   ============================================================= */

/* 1. Stack the name above the role inside each quote */
.quote .who > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.quote .who b {
  display: block;
  line-height: 1.25;
}
.quote .who span {
  display: block;
  line-height: 1.3;
}

/* 2. Text-based stat sits at a smaller size so it does not tower over the numbers.
      It is bottom-aligned to the same line the big numbers sit on, so the row
      reads as one band instead of one item floating higher than the rest. */
.statband .stat b {
  white-space: nowrap;
}
.statband .stat b .u {
  display: inline;
}
.statband .stat--text b {
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  line-height: 1.1;
  white-space: normal;
  display: flex;
  align-items: flex-end;
  min-height: clamp(2rem, 7vw, 2.9rem);
}

/* 3. Keep longer trust tile values on one line */
.trust-strip .t b {
  font-size: 1.35rem;
  white-space: nowrap;
}
