/*
Theme Name: Ram Pravin Digital
Theme URI: https://localseoexpert.digital/
Author: Ram Pravin Digital
Author URI: https://localseoexpert.digital/
Description: White Label SEO Provider theme for Ram Pravin Digital — serving agencies and businesses worldwide.
Version: 2.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: rampravin-digital
*/

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

:root {
  --ink:         #0a0a0f;
  --ink-2:       #3a3a48;
  --ink-3:       #6b6b7e;
  --ink-4:       #9898aa;
  --surface:     #f6f6f9;
  --surface-2:   #ededf3;
  --white:       #ffffff;
  --rule:        #e4e4ed;
  --accent:      #1a1a3e;
  --accent-mid:  #2d2d6b;
  --accent-glow: rgba(45,45,107,.12);
  --accent-light:#eeeef8;
  --green:       #0d6e4a;
  --green-2:     #0a5a3c;
  --green-light: #e8f7f1;
  --gold:        #c9a84c;
  --gold-light:  #fdf6e3;
  --grad-hero:   linear-gradient(135deg,#0a0a1e 0%,#1a1a3e 45%,#0d2040 100%);
  --grad-card:   linear-gradient(135deg,#ffffff 0%,#f6f6f9 100%);
  --grad-green:  linear-gradient(135deg,#0d6e4a,#0a5a3c);
  --grad-accent: linear-gradient(135deg,#1a1a3e,#2d2d6b);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max:          1180px;
  --radius-sm:    8px;
  --radius:       14px;
  --radius-lg:    20px;
  --radius-xl:    28px;
  --shadow-sm:  0 1px 3px rgba(10,10,31,.06), 0 1px 2px rgba(10,10,31,.04);
  --shadow:     0 4px 16px rgba(10,10,31,.08), 0 1px 4px rgba(10,10,31,.04);
  --shadow-md:  0 8px 32px rgba(10,10,31,.10), 0 2px 8px rgba(10,10,31,.06);
  --shadow-lg:  0 20px 60px rgba(10,10,31,.14), 0 4px 16px rgba(10,10,31,.08);
  --shadow-glow:0 0 40px rgba(45,45,107,.18);
}

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { color: inherit; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
section    { padding: 110px 28px; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow .2s;
}
.site-nav.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo img { height: 75px; width: 75px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  letter-spacing: -.01em;
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--ink); background: var(--surface); }

.nav-cta {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: var(--white) !important;
  background: var(--grad-accent) !important;
  padding: 9px 20px !important;
  border-radius: var(--radius-sm) !important;
  letter-spacing: -.01em;
  transition: opacity .15s, box-shadow .15s !important;
  box-shadow: 0 2px 8px rgba(26,26,62,.25);
}
.nav-cta:hover { opacity: .9; box-shadow: 0 4px 16px rgba(26,26,62,.35) !important; background: var(--surface) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .2s;
}

#hero {
  padding: 0;
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
}

#hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(45,45,107,.5) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(13,96,74,.3) 0%, transparent 60%);
  pointer-events: none;
}

#hero::after {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,45,107,.35) 0%, transparent 70%);
  right: -200px; top: -200px;
  animation: orb-drift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes orb-drift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(-60px, 80px) scale(1.1); }
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 100px 28px 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 100px;
  padding: 6px 14px 6px 8px;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.hero-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c997;
  box-shadow: 0 0 8px #22c997, 0 0 16px rgba(34,201,151,.4);
  animation: pulse-dot 2.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 6px #22c997, 0 0 12px rgba(34,201,151,.4); }
  50%       { box-shadow: 0 0 12px #22c997, 0 0 24px rgba(34,201,151,.6); }
}
.hero-badge span {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  letter-spacing: .06em;
  text-transform: uppercase;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(46px, 5.5vw, 74px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -.035em;
  color: var(--white);
  margin-bottom: 28px;
}
h1 em { font-style: italic; color: rgba(255,255,255,.65); }
h1 strong { font-weight: 400; color: #22c997; font-style: normal; }

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 44px;
}

.btn-group { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  background: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  letter-spacing: -.01em;
  transition: box-shadow .2s, transform .15s;
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.btn-primary:hover { box-shadow: 0 6px 24px rgba(0,0,0,.3); transform: translateY(-1px); }
.btn-primary svg { width: 16px; height: 16px; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  letter-spacing: -.01em;
  transition: background .2s, border-color .2s;
  backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.35); }

.hero-trust {
  display: flex;
  gap: 28px;
  margin-top: 52px;
  flex-wrap: wrap;
  padding-top: 44px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.55);
}
.trust-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(34,201,151,.15);
  border: 1px solid rgba(34,201,151,.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-check::after { content: '✓'; font-size: 10px; color: #22c997; font-weight: 700; }

.hero-visual { position: relative; margin-top: 30px; }

.hero-card-main {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(45,45,107,.25);
}

.hero-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 20px;
}

.hero-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
.hero-stat {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  padding: 20px 16px;
  text-align: center;
}
.hero-stat-val {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -.02em;
}
.hero-stat-lbl { font-size: 11px; color: rgba(255,255,255,.4); letter-spacing: .04em; }

.hero-service-list { display: flex; flex-direction: column; gap: 10px; }
.hero-service-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-sm);
}
.hero-service-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22c997;
  flex-shrink: 0;
}
.hero-service-item span { font-size: 13px; color: rgba(255,255,255,.7); font-weight: 500; }

.hero-float-badge {
  position: absolute;
  top: -20px;       /* Changed from bottom: -20px; */
  right: -24px;      /* Changed from left: -24px; */
  left: auto;        /* Reset previous left positioning */
  bottom: auto;      /* Reset previous bottom positioning */
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
  z-index: 10;       /* Ensures it layers properly on top of the hero visual */
}
.hero-float-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-float-icon svg { width: 20px; height: 20px; stroke: var(--green); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-float-text strong { display: block; font-size: 13px; font-weight: 600; color: var(--ink); }
.hero-float-text span   { font-size: 11px; color: var(--ink-3); }

#social-proof {
  padding: 40px 28px;
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.proof-label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 24px;
}
.proof-ticker-wrap { position: relative; overflow: hidden; }
.proof-ticker-wrap::before,
.proof-ticker-wrap::after {
  content: '';
  position: absolute; top: 0; bottom: 0;
  width: 80px; z-index: 2;
  pointer-events: none;
}
.proof-ticker-wrap::before { left: 0;  background: linear-gradient(to right, var(--surface), transparent); }
.proof-ticker-wrap::after  { right: 0; background: linear-gradient(to left,  var(--surface), transparent); }

.proof-ticker {
  display: flex;
  gap: 0;
  animation: ticker 28s linear infinite;
  width: max-content;
}
.proof-ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 40px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  white-space: nowrap;
  letter-spacing: -.01em;
}
.proof-ticker-item::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--rule);
  flex-shrink: 0;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 16px; height: 2px;
  background: var(--green);
  border-radius: 2px;
  flex-shrink: 0;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--ink);
  margin-bottom: 20px;
}
h2 em { font-style: italic; color: var(--ink-3); }

.section-intro {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.75;
  max-width: 580px;
}
.section-intro.wide { max-width: 680px; }

#why {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  position: relative;
}

.why-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 20px;
}

.why-left { position: sticky; top: 96px; }
.why-left .section-intro { margin-top: 20px; }

.why-cta-inline {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.why-stat-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 36px;
}
.why-stat-box {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 24px 20px;
}
.why-stat-box .stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.why-stat-box .stat-lbl { font-size: 12px; color: var(--ink-3); line-height: 1.5; }

.why-cards {
  display: grid;
  gap: 12px;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--grad-green);
  border-radius: 0 0 2px 2px;
  transition: height .25s ease;
}
.why-card:hover { border-color: transparent; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.why-card:hover::before { height: 100%; border-radius: 0 0 0 0; top: 0; width: 3px; }

.why-card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.why-card-icon svg { width: 20px; height: 20px; stroke: var(--accent-mid); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.why-card-body h3 { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 10px; letter-spacing: -.01em; }
.why-card-body p  { font-size: 14px; color: var(--ink-2); line-height: 1.7; }

#wl-services {
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
}

.services-intro-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 56px;
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-accent);
  opacity: 0;
  transition: opacity .2s;
  z-index: 0;
  border-radius: var(--radius);
}
.service-card:hover { border-color: transparent; box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-card:hover::after { opacity: 1; }
.service-card:hover .service-icon { background: rgba(255,255,255,.15); }
.service-card:hover .service-icon svg { stroke: var(--white); }
.service-card:hover h3 { color: var(--white); }
.service-card:hover p  { color: rgba(255,255,255,.7); }
.service-card > * { position: relative; z-index: 1; }

.service-icon {
  width: 44px; height: 44px;
  background: var(--accent-light);
  border-radius: 10px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.service-icon svg { width: 20px; height: 20px; stroke: var(--accent-mid); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s; }

.service-card h3 { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 10px; letter-spacing: -.01em; transition: color .2s; }
.service-card p  { font-size: 13px; color: var(--ink-3); line-height: 1.7; transition: color .2s; }

#seo-services {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}

.seo-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 56px;
}

.seo-list { display: flex; flex-direction: column; gap: 2px; }

.seo-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  align-items: start;
  padding: 28px 24px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--white);
  margin-bottom: 10px;
  transition: border-color .2s, box-shadow .2s, transform .15s;
  cursor: default;
}
.seo-item:hover { border-color: var(--accent-mid); box-shadow: var(--shadow); transform: translateX(4px); }

.seo-num-wrap {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
}
.seo-item-num { font-size: 13px; font-weight: 700; color: var(--ink-3); letter-spacing: .04em; }

.seo-item h3 { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 8px; letter-spacing: -.01em; }
.seo-item p  { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }

.seo-highlight {
  position: sticky;
  top: 96px;
}
.seo-highlight-card {
  background: var(--grad-accent);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}
.seo-highlight-card::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  right: -100px; bottom: -100px;
}
.seo-highlight-card::after {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
  left: -60px; top: -60px;
}
.seo-highlight-card > * { position: relative; z-index: 1; }

.seo-h-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 20px;
}
.seo-h-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -.025em;
  margin-bottom: 16px;
}
.seo-h-title em { font-style: italic; color: rgba(255,255,255,.6); }
.seo-h-body { font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.75; margin-bottom: 32px; }

.seo-h-checklist { display: flex; flex-direction: column; gap: 12px; }
.seo-h-check {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: rgba(255,255,255,.8);
  font-weight: 500;
}
.seo-h-check::before {
  content: '✓';
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(34,201,151,.2);
  border: 1px solid rgba(34,201,151,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #22c997;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 22px;
  text-align: center;
}

.seo-h-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  background: var(--white);
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: box-shadow .2s, transform .15s;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.seo-h-cta:hover { box-shadow: 0 6px 24px rgba(0,0,0,.22); transform: translateY(-1px); }

#metrics {
  padding: 80px 28px;
  background: var(--ink);
  border-bottom: none;
  position: relative;
  overflow: hidden;
}
#metrics::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(45,45,107,.6) 0%, transparent 70%);
  pointer-events: none;
}

.metrics-inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.metrics-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 48px;
  text-align: center;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.metric-item {
  padding: 48px 32px;
  background: rgba(255,255,255,.03);
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.06);
  transition: background .2s;
}
.metric-item:last-child { border-right: none; }
.metric-item:hover { background: rgba(255,255,255,.06); }

.metric-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300;
  color: var(--white);
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 12px;
}
.metric-num em { color: #22c997; font-style: normal; }
.metric-lbl { font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.55; max-width: 140px; margin: 0 auto; }

#agency {
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
}

.agency-layout {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 80px;
  align-items: start;
  margin-top: 20px;
}

.agency-intro { margin-top: 20px; margin-bottom: 36px; }

.agency-features { display: flex; flex-direction: column; gap: 10px; }

.agency-feature {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color .2s, box-shadow .2s;
}
.agency-feature:hover { border-color: var(--rule); box-shadow: var(--shadow); }

.agency-feature-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.agency-feature-icon svg { width: 16px; height: 16px; stroke: var(--green); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.agency-feature h3 { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.agency-feature p  { font-size: 13px; color: var(--ink-3); line-height: 1.65; }

.agency-right { position: sticky; top: 96px; }

.agency-panel {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.agency-panel-header {
  background: var(--grad-green);
  padding: 32px;
}
.agency-panel-header h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -.02em;
}
.agency-panel-header p { font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.65; }

.agency-panel-steps { padding: 28px 32px; display: flex; flex-direction: column; gap: 0; }
.agency-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}
.agency-step:last-child { border-bottom: none; }
.agency-step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-light);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-mid);
  flex-shrink: 0;
}
.agency-step-text strong { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.agency-step-text span   { font-size: 12px; color: var(--ink-3); line-height: 1.5; }

.agency-panel-cta { padding: 0 32px 32px; }
.agency-panel-cta a {
  display: block;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: var(--grad-accent);
  padding: 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: opacity .15s, box-shadow .15s;
  box-shadow: 0 2px 12px rgba(26,26,62,.25);
}
.agency-panel-cta a:hover { opacity: .9; box-shadow: 0 4px 20px rgba(26,26,62,.35); }

#process {
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
  padding: 110px 28px;
}
#process::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 30% 60%, rgba(13,96,74,.25) 0%, transparent 60%);
  pointer-events: none;
}

#process .section-label { color: rgba(255,255,255,.4); }
#process .section-label::before { background: rgba(255,255,255,.3); }
#process h2  { color: var(--white); }
#process .section-intro { color: rgba(255,255,255,.6); }

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

.process-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: background .2s, border-color .2s;
}
.process-card:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }

.process-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 300;
  color: rgba(255,255,255,.06);
  position: absolute;
  top: 16px; right: 24px;
  letter-spacing: -.04em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.process-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.process-icon svg { width: 20px; height: 20px; stroke: rgba(255,255,255,.7); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.process-card h3 { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 10px; letter-spacing: -.01em; }
.process-card p  { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.7; }

#outsource {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}
.outsource-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 56px;
}
.outsource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.outsource-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.outsource-card:hover { border-color: transparent; box-shadow: var(--shadow-md); transform: translateY(-3px); }

.outsource-card-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.outsource-card-icon svg { width: 18px; height: 18px; stroke: var(--green); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.outsource-card h3 { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 10px; letter-spacing: -.01em; }
.outsource-card p  { font-size: 13px; color: var(--ink-3); line-height: 1.7; }

#industries {
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
}
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.industry-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  position: relative;
  overflow: hidden;
}
.industry-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-green);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.industry-card:hover { border-color: transparent; box-shadow: var(--shadow-md); transform: translateY(-3px); }
.industry-card:hover::before { transform: scaleX(1); }

.industry-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.industry-icon svg { width: 16px; height: 16px; stroke: var(--ink-3); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.industry-card h3 { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.industry-card p  { font-size: 13px; color: var(--ink-3); line-height: 1.65; }

#testimonial {
  padding: 80px 28px;
  background: var(--accent-light);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.testimonial-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 300;
  font-style: italic;
  color: var(--ink);
  line-height: 1.45;
  letter-spacing: -.02em;
  margin-bottom: 32px;
}
.testimonial-quote::before { content: '\201C'; }
.testimonial-quote::after  { content: '\201D'; }
.testimonial-source {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-display);
  flex-shrink: 0;
}
.testimonial-source-text strong { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.testimonial-source-text span   { font-size: 12px; color: var(--ink-3); }

/* =============================================================
   FAQ SECTION & ACCORDION (UPDATED FIXES)
   ============================================================= */
#faq {
  position: relative !important;
  z-index: 5 !important;
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
  overflow: visible !important;
}

.faq-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 56px;
}

.faq-sticky {
  position: sticky;
  top: 96px;
}
.faq-sticky .section-intro { margin-top: 16px; margin-bottom: 28px; font-size: 15px; }

.faq-list { 
  display: flex; 
  flex-direction: column; 
  gap: 12px; 
}

.faq-item {
  position: relative !important;
  z-index: 6 !important;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: visible !important;
  transition: border-color .2s, box-shadow .15s;
}
.faq-item:hover {
  border-color: rgba(45, 45, 107, 0.3);
}
.faq-item:has(.faq-q[aria-expanded="true"]) { 
  border-color: var(--accent-mid); 
  box-shadow: var(--shadow); 
}

.faq-q {
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  position: relative !important;
  z-index: 10 !important;
  text-align: left !important;
  padding: 20px 24px !important;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 16px;
  letter-spacing: -.01em;
  line-height: 1.5;
  transition: background .15s;
}
.faq-q:hover { background: var(--surface) !important; }

/* Ensure children elements do not block click events on button */
.faq-q * {
  pointer-events: none !important;
}

.faq-arrow {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .22s ease, background .15s, border-color .15s;
}
.faq-q[aria-expanded="true"] .faq-arrow {
  transform: rotate(45deg);
  background: var(--accent-light);
  border-color: var(--accent-mid);
}
.faq-arrow::after { content: '+'; font-size: 16px; color: var(--ink-3); line-height: 1; font-weight: 400; }
.faq-q[aria-expanded="true"] .faq-arrow::after { color: var(--accent-mid); }

.faq-a {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.75;
  padding: 0 24px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .28s ease, opacity .25s ease, padding .28s ease;
}

/* Force open state when class is present */
.faq-a.open { 
  display: block !important;
  opacity: 1 !important;
  max-height: 500px !important; 
  visibility: visible !important;
  padding: 4px 24px 24px !important; 
}

#contact {
  background: var(--white);
  position: relative;
  overflow: hidden;
}
#contact::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: var(--accent-light);
  opacity: .5;
  transform: translate(30%, -30%);
  pointer-events: none;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-meta .section-intro { margin-top: 20px; margin-bottom: 36px; font-size: 16px; }

.contact-details { display: flex; flex-direction: column; gap: 0; }

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 16px; height: 16px; stroke: var(--ink-3); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-detail strong { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.contact-detail span   { font-size: 13px; color: var(--ink-3); }
.contact-detail a      { color: var(--green); text-decoration: none; font-weight: 500; }
.contact-detail a:hover { text-decoration: underline; }

.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-md);
}
.contact-form-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -.025em;
}
.contact-form-sub { font-size: 14px; color: var(--ink-3); margin-bottom: 32px; line-height: 1.6; }

label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
  letter-spacing: .01em;
}

input, textarea, select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
  margin-bottom: 18px;
  appearance: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent-mid);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
textarea { min-height: 120px; resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-btn {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  background: var(--grad-accent);
  border: none;
  border-radius: var(--radius-sm);
  padding: 15px;
  cursor: pointer;
  letter-spacing: -.01em;
  transition: opacity .15s, box-shadow .15s, transform .15s;
  box-shadow: 0 2px 12px rgba(26,26,62,.28);
  margin-top: 4px;
}
.form-btn:hover { opacity: .9; box-shadow: 0 6px 24px rgba(26,26,62,.38); transform: translateY(-1px); }
.form-btn:disabled { opacity: .55; transform: none; cursor: not-allowed; }

.form-note { font-size: 11.5px; color: var(--ink-4); text-align: center; margin-top: 14px; line-height: 1.6; }

.site-footer { background: var(--ink); padding: 60px 28px 40px; }

.footer-top {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 32px;
}

.footer-brand {}
.footer-brand img { height: 100px; filter: invert(1); opacity: .7; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.35); line-height: 1.7; max-width: 260px; }

.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a  { font-size: 13px; color: rgba(255,255,255,.5); text-decoration: none; transition: color .15s; }
.footer-col a:hover { color: rgba(255,255,255,.8); }

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,.3); }
.footer-tagline { font-size: 12px; color: rgba(255,255,255,.25); letter-spacing: .04em; text-transform: uppercase; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =============================================================
   CARD BULLET LISTS
   ============================================================= */
.card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-list li {
  position: relative;
  padding-left: 17px;
}
.card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: .55;
}

.why-card-body .card-list      { font-size: 14px; color: var(--ink-2); line-height: 1.65; }

.service-card .card-list       { font-size: 13px; color: var(--ink-3); line-height: 1.65; transition: color .2s; }
.service-card:hover .card-list { color: rgba(255,255,255,.7); }

.seo-item .card-list           { font-size: 13.5px; color: var(--ink-2); line-height: 1.65; }

.agency-feature .card-list     { font-size: 13px; color: var(--ink-3); line-height: 1.6; }

.process-card .card-list       { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.65; }

.outsource-card .card-list     { font-size: 13px; color: var(--ink-3); line-height: 1.65; }

@media (max-width: 1024px) {
  .hero-inner     { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual    { display: none; }
  .why-layout     { grid-template-columns: 1fr; }
  .why-left       { position: static; }
  .seo-layout     { grid-template-columns: 1fr; }
  .seo-highlight  { position: static; }
  .agency-layout  { grid-template-columns: 1fr; }
  .agency-right   { position: static; }
  .metrics-grid   { grid-template-columns: repeat(2, 1fr); }
  .industry-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-top     { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links li   { width: 100%; }
  .nav-links a    { display: block; padding: 12px 28px; border-radius: 0; }
  .nav-toggle     { display: flex; }

  .services-intro-row { grid-template-columns: 1fr; gap: 32px; }
  .service-grid       { grid-template-columns: 1fr 1fr; }
  .outsource-intro-grid{ grid-template-columns: 1fr; gap: 32px; }
  .outsource-grid     { grid-template-columns: 1fr 1fr; }
  .process-grid       { grid-template-columns: 1fr 1fr; }
  .faq-layout         { grid-template-columns: 1fr; gap: 40px; }
  .faq-sticky         { position: static; }
  .contact-inner      { grid-template-columns: 1fr; gap: 48px; }
  .why-stat-pair      { grid-template-columns: 1fr 1fr; }
  section             { padding: 72px 24px; }

  .faq-q {
    font-size: 13.5px;
    padding: 16px 20px !important;
  }
}

@media (max-width: 640px) {
  .service-grid     { grid-template-columns: 1fr; }
  .outsource-grid   { grid-template-columns: 1fr; }
  .process-grid     { grid-template-columns: 1fr; }
  .industry-grid    { grid-template-columns: 1fr; }
  .metrics-grid     { grid-template-columns: 1fr 1fr; }
  .btn-group        { flex-direction: column; align-items: flex-start; }
  .hero-trust       { flex-direction: column; gap: 14px; }
  .hero-stat-row    { grid-template-columns: 1fr; }
  .form-row         { grid-template-columns: 1fr; }
  .footer-top       { grid-template-columns: 1fr; }
  .contact-form-wrap{ padding: 32px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}