/* ============================================================
   SpikeCrest Digital — theme.css  v1.0.0
   Brand: Navy #0A2540 | Orange #FF5C35 | Dark #07192C
   Fonts: Inter (headings) / DM Sans (body)
   ============================================================ */

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  --brand-primary:   #0A2540;
  --brand-dark:      #07192C;
  --brand-accent:    #FF5C35;
  --brand-accent-dk: #e04820;

  --text-dark:  #1A1A2E;
  --text-body:  #374151;
  --text-muted: #6B7280;

  --bg-white: #FFFFFF;
  --bg-light: #F4F6F9;

  --border:    #E5E7EB;
  --radius:    8px;
  --radius-lg: 14px;
  --shadow:    0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.12);

  --max-width: 1160px;

  --font-heading: 'Inter',   system-ui, -apple-system, sans-serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;
}

/* ── Reset overrides ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { margin: 0; padding: 0; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 0.75rem;
  text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 4vw,  3rem);   font-weight: 700; }
h2 { font-size: clamp(1.4rem, 3vw,  2.1rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw,  1.4rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { margin-top: 0; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.section { padding-block: 72px; }
.section-label {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--brand-accent);
  margin-bottom: .75rem;
  display: block;
}
.section-heading { margin-bottom: 1rem; }
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 3rem;
}

/* ── Skip link ───────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--brand-accent);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600;
  z-index: 9999;
}
.skip-link:focus { top: 0; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: filter .2s, background .2s, color .2s, border-color .2s;
  text-decoration: none !important;
  line-height: 1.3;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand-accent);
  color: #fff;
  border-color: var(--brand-accent);
}
.btn-primary:hover {
  background: var(--brand-accent-dk);
  border-color: var(--brand-accent-dk);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.65);
}
.btn-outline:hover {
  background: #fff;
  color: var(--brand-primary);
  border-color: #fff;
}
.btn-outline--dark {
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}
.btn-outline--dark:hover {
  background: var(--brand-primary);
  color: #fff;
}
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}
.btn-whatsapp:hover { background: #1ebe5d; border-color: #1ebe5d; color: #fff; }
.btn-sm { padding: 9px 20px; font-size: .875rem; }
@media (max-width: 680px) {
  .btn { display: block; width: 100%; text-align: center; margin-bottom: .625rem; }
  .btn:last-child { margin-bottom: 0; }
}

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb { margin-bottom: 1.25rem; }
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  padding: 0;
  margin: 0;
}
.breadcrumb li { font-size: .82rem; color: rgba(255,255,255,.6); }
.breadcrumb li + li::before { content: '›'; margin-right: 4px; }
.breadcrumb li a { color: rgba(255,255,255,.75); }
.breadcrumb li a:hover { color: #fff; text-decoration: none; }
.breadcrumb li[aria-current="page"] { color: rgba(255,255,255,.9); }

/* ── Header / Nav ───────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--brand-dark);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.35); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none !important;
  flex-shrink: 0;
}
.nav-logo__mark {
  width: 36px;
  height: 36px;
  background: var(--brand-accent);
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: .85rem;
  color: #fff;
  flex-shrink: 0;
}
.nav-logo__text {
  font-family: var(--font-heading);
  font-size: .95rem;
  color: rgba(255,255,255,.9);
  line-height: 1.2;
}
.nav-logo__text strong { color: #fff; font-weight: 700; }

.site-nav { margin-left: auto; }
.site-nav__list {
  display: flex;
  list-style: none;
  gap: .25rem;
  align-items: center;
  padding: 0;
  margin: 0;
}
.site-nav__item { position: relative; }
.site-nav__link {
  display: block;
  padding: .5rem .85rem;
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  border-radius: 6px;
  transition: background .15s, color .15s;
  text-decoration: none !important;
}
.site-nav__link:hover { background: rgba(255,255,255,.08); color: #fff; }

/* Dropdown */
.has-dropdown:hover .site-nav__dropdown { display: grid; }
.site-nav__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-primary);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: .75rem;
  min-width: 320px;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  box-shadow: var(--shadow-lg);
  list-style: none;
}
.site-nav__dropdown li a {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem .75rem;
  border-radius: var(--radius);
  font-size: .875rem;
  color: rgba(255,255,255,.8);
  text-decoration: none !important;
  transition: background .12s, color .12s;
}
.site-nav__dropdown li a:hover { background: rgba(255,255,255,.1); color: #fff; }

.nav-actions { flex-shrink: 0; }

/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  margin-left: auto;
}
.mobile-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,.85);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.mobile-toggle.is-open .mobile-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.is-open .mobile-toggle__bar:nth-child(2) { opacity: 0; }
.mobile-toggle.is-open .mobile-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .mobile-toggle { display: flex; }
  .nav-actions { display: none; }
  .site-nav {
    display: none;
    position: fixed;
    inset: 68px 0 0;
    background: var(--brand-dark);
    overflow-y: auto;
    padding: 1.5rem;
    margin: 0;
  }
  .site-nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; gap: .25rem; }
  .site-nav__link { font-size: 1.1rem; padding: .75rem 1rem; }
  .site-nav__dropdown {
    display: grid !important;
    position: static;
    transform: none;
    border: none;
    background: rgba(255,255,255,.05);
    box-shadow: none;
    border-radius: var(--radius);
    margin-top: .25rem;
    padding: .5rem;
  }
}

/* ── CTA Strip ──────────────────────────────────────────────── */
.cta-strip {
  background: var(--brand-primary);
  padding: 72px 0;
  text-align: center;
}
.cta-strip h2 { color: #fff; margin-bottom: 1rem; }
.cta-strip p  { color: rgba(255,255,255,.8); max-width: 580px; margin: 0 auto 2rem; font-size: 1.05rem; }
.cta-strip__btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-strip .btn-primary { background: var(--brand-accent); border-color: var(--brand-accent); color: #fff; }
.cta-strip .btn-outline  { border-color: rgba(255,255,255,.5); color: #fff; }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--brand-dark);
  color: rgba(255,255,255,.75);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 48px;
}
.footer-logo { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; text-decoration: none !important; }
.footer-tagline { font-size: .9rem; color: rgba(255,255,255,.55); margin-bottom: 1.25rem; max-width: 280px; }
.footer-contact { font-style: normal; display: flex; flex-direction: column; gap: .35rem; }
.footer-contact a { color: rgba(255,255,255,.7); font-size: .9rem; }
.footer-contact a:hover { color: #fff; text-decoration: none; }

.footer-col__heading {
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.4);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul li a { color: rgba(255,255,255,.65); font-size: .9rem; text-decoration: none; }
.footer-col ul li a:hover { color: #fff; }
.footer-cta { margin-top: 1.5rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
}
.footer-bottom__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.4); margin: 0; }
.footer-bottom a { color: rgba(255,255,255,.55); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col--brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom__inner { flex-direction: column; text-align: center; }
}

/* ============================================================
   HOMEPAGE TEMPLATE
   ============================================================ */

/* Hero */
.home-hero {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-dark) 100%);
  padding: 88px 0 100px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(255,92,53,.07) 0%, transparent 70%);
  pointer-events: none;
}
.home-hero__inner { position: relative; max-width: 760px; }
.home-hero__badge {
  display: inline-block;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 1.25rem;
}
.home-hero__badge span { color: var(--brand-accent); }
.home-hero h1 { color: #fff; margin-bottom: 1.25rem; font-size: clamp(2rem, 4.5vw, 3.25rem); }
.home-hero__sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.8);
  max-width: 640px;
  margin-bottom: 2rem;
  line-height: 1.65;
}
.home-hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.home-hero__stats {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.home-hero__stats li { }
.home-hero__stats strong { display: block; font-size: 1.9rem; font-weight: 800; color: var(--brand-accent); line-height: 1; margin-bottom: 4px; }
.home-hero__stats span  { font-size: .75rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .07em; }

/* Trust bar */
.home-trust {
  background: var(--brand-primary);
  padding: 20px 0;
}
.home-trust__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.home-trust__item {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  text-align: center;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.home-trust__item::before { content: '●'; color: var(--brand-accent); font-size: .5rem; }

/* Services section */
.home-services { background: var(--bg-light); }
.home-services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.svc-card-link {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  text-decoration: none !important;
  color: var(--text-dark);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.svc-card-link:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--brand-accent);
  color: var(--text-dark);
}
.svc-card-link__icon { font-size: 1.75rem; }
.svc-card-link h3  { font-size: 1rem; font-weight: 700; color: var(--brand-primary); margin: 0; }
.svc-card-link p   { font-size: .875rem; color: var(--text-muted); margin: 0; flex: 1; }
.svc-card-link__arrow { font-size: .85rem; font-weight: 600; color: var(--brand-accent); margin-top: auto; }

/* Problem / approach body */
.home-body { background: var(--bg-white); }
.home-body .entry-content h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--brand-primary);
  margin-top: 2.5rem;
  margin-bottom: .75rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--bg-light);
}
.home-body .entry-content h2:first-child { margin-top: 0; }
.home-body .entry-content h3 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-top: 1.75rem;
  margin-bottom: .5rem;
}
.home-body .entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin-block: 1.5rem;
  font-size: .9rem;
  overflow-x: auto;
  display: block;
}
.home-body .entry-content th { background: var(--brand-primary); color: #fff; padding: 10px 14px; text-align: left; }
.home-body .entry-content td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.home-body .entry-content tr:nth-child(even) td { background: var(--bg-light); }
.home-body .entry-content ul { list-style: none; padding: 0; margin-bottom: 1rem; }
.home-body .entry-content ul li { position: relative; padding-left: 1.5rem; margin-bottom: .5rem; }
.home-body .entry-content ul li::before { content: '✓'; position: absolute; left: 0; color: var(--brand-accent); font-weight: 700; }
.home-body .entry-content blockquote {
  border-left: 4px solid var(--brand-accent);
  padding: 1rem 1.25rem;
  background: var(--bg-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}
.home-body .entry-content a { color: var(--brand-accent); }

/* Pricing section */
.home-pricing { background: var(--bg-light); }
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.pricing-card {
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}
.pricing-card--featured {
  border-color: var(--brand-accent);
  background: var(--brand-primary);
  color: #fff;
}
.pricing-card--featured h3,
.pricing-card--featured .pricing-card__price,
.pricing-card--featured .pricing-card__label { color: #fff; }
.pricing-card--featured .pricing-card__features li { color: rgba(255,255,255,.8); }
.pricing-card--featured .pricing-card__features li::before { color: var(--brand-accent); }
.pricing-card__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-card__label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
}
.pricing-card h3 { font-size: 1.25rem; font-weight: 800; color: var(--brand-primary); margin: 0; }
.pricing-card__price { font-size: 2rem; font-weight: 800; color: var(--brand-primary); line-height: 1; }
.pricing-card__price small { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.pricing-card__features li {
  font-size: .875rem;
  color: var(--text-body);
  padding-left: 1.35rem;
  position: relative;
  line-height: 1.5;
}
.pricing-card__features li::before { content: '✓'; position: absolute; left: 0; color: var(--brand-accent); font-weight: 700; }
.pricing-card .btn { margin-top: auto; text-align: center; display: block; }

/* Industries tag strip */
.home-industries { background: var(--bg-white); }
.industries-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}
.industry-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .6rem 1rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .875rem;
  color: var(--text-dark);
  text-decoration: none !important;
  transition: background .15s, border-color .15s, color .15s;
}
.industry-tag:hover { background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; }

/* FAQ */
.home-faq { background: var(--bg-light); }
.faq-list { list-style: none; padding: 0; margin-top: 2.5rem; max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.5rem 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: .625rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.faq-q::after { content: '−'; color: var(--brand-accent); font-size: 1.25rem; flex-shrink: 0; margin-top: -2px; }
.faq-q[aria-expanded="false"]::after { content: '+'; }
.faq-a { font-size: .95rem; color: var(--text-body); line-height: 1.75; }

/* ============================================================
   SERVICE HUB TEMPLATE
   ============================================================ */
.hub-hero {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-dark) 100%);
  padding: 64px 0 72px;
  color: #fff;
}
.hub-hero h1 { color: #fff; margin-bottom: 1rem; }
.hub-hero__sub { font-size: 1.1rem; color: rgba(255,255,255,.8); max-width: 680px; margin-bottom: 2rem; }
.hub-hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.hub-intro { background: var(--bg-white); }
.hub-body  { background: var(--bg-light); }
.hub-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.hub-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-decoration: none !important;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.hub-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--brand-accent); }
.hub-card__icon { font-size: 2rem; }
.hub-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--brand-primary); margin: 0; }
.hub-card p  { font-size: .875rem; color: var(--text-muted); margin: 0; flex: 1; }
.hub-card__cta { font-size: .85rem; font-weight: 600; color: var(--brand-accent); }

/* ============================================================
   SERVICE / INDUSTRY PAGE TEMPLATE
   ============================================================ */
.svc-hero {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-dark) 100%);
  padding: 56px 0 64px;
  color: #fff;
}
.svc-hero h1 { color: #fff; font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: .875rem; }
.svc-hero__sub { color: rgba(255,255,255,.82); font-size: 1.05rem; max-width: 680px; margin-bottom: 1.75rem; }
.svc-hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.svc-hero__stats {
  list-style: none;
  padding: 1.75rem 0 0;
  margin: 0;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.svc-hero__stats li { text-align: center; }
.svc-hero__stats strong { display: block; font-size: 1.7rem; font-weight: 800; color: var(--brand-accent); line-height: 1; margin-bottom: 4px; }
.svc-hero__stats span  { font-size: .72rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .07em; }

.svc-body  { padding: 64px 0 80px; background: var(--bg-light); }
.svc-grid  { display: grid; grid-template-columns: 1fr 320px; gap: 2.5rem; align-items: start; }

/* Content card */
.svc-content {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.75rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-body);
  min-width: 0;
}
.svc-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-top: 2.5rem;
  margin-bottom: .875rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--bg-light);
}
.svc-content h2:first-child { margin-top: 0; }
.svc-content h3 { font-size: 1.05rem; font-weight: 600; color: var(--text-dark); margin-top: 1.5rem; margin-bottom: .5rem; }
.svc-content p  { margin-bottom: 1rem; }
.svc-content p:last-child { margin-bottom: 0; }
.svc-content ul { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.svc-content ul li { position: relative; padding-left: 1.5rem; margin-bottom: .6rem; line-height: 1.7; }
.svc-content ul li::before { content: '✓'; position: absolute; left: 0; color: var(--brand-accent); font-weight: 700; }
.svc-content ol { list-style: decimal; padding-left: 1.4rem; margin: 0 0 1.25rem; }
.svc-content ol li { margin-bottom: .6rem; line-height: 1.7; }
.svc-content strong { font-weight: 700; color: var(--text-dark); }
.svc-content em { font-style: italic; }
.svc-content a { color: var(--brand-accent); text-decoration: underline; }
.svc-content blockquote {
  border-left: 4px solid var(--brand-accent);
  padding: 1rem 1.25rem;
  background: var(--bg-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-style: italic;
}
.svc-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: .9rem;
  overflow-x: auto;
  display: block;
}
.svc-content th { background: var(--brand-primary); color: #fff; padding: 10px 14px; text-align: left; }
.svc-content td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.svc-content tr:nth-child(even) td { background: var(--bg-light); }
.svc-content hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.svc-content pre, .svc-content code {
  font-family: 'Courier New', monospace;
  font-size: .875rem;
  background: var(--bg-light);
  padding: .25rem .5rem;
  border-radius: 4px;
}
.svc-content pre { padding: 1rem; overflow-x: auto; }

/* Sidebar */
.svc-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 88px;
}
.svc-cta-card {
  background: var(--brand-primary);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.svc-cta-card__eyebrow {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.5);
  margin-bottom: .4rem;
}
.svc-cta-card h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: .625rem; line-height: 1.4; }
.svc-cta-card p  { font-size: .875rem; color: rgba(255,255,255,.7); margin-bottom: 1.125rem; line-height: 1.6; }
.svc-cta-card .btn { display: block; text-align: center; margin-bottom: .625rem; font-size: .875rem; padding: 11px 18px; }
.svc-cta-card .btn:last-child { margin-bottom: 0; }

.svc-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.svc-card__label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--brand-accent);
  margin-bottom: .875rem;
}

.svc-checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .6rem; }
.svc-checklist li {
  font-size: .875rem;
  color: var(--text-body);
  padding-left: 1.35rem;
  position: relative;
  line-height: 1.5;
}
.svc-checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--brand-accent); font-weight: 700; }

.svc-stats-list { list-style: none; padding: 0; margin: 0; }
.svc-stats-list li {
  display: flex;
  align-items: baseline;
  gap: .625rem;
  padding: .875rem 0;
  border-bottom: 1px solid var(--border);
}
.svc-stats-list li:first-child { padding-top: 0; }
.svc-stats-list li:last-child  { border-bottom: none; padding-bottom: 0; }
.svc-stats-list strong { font-size: 1.4rem; font-weight: 800; color: var(--brand-primary); flex-shrink: 0; line-height: 1; }
.svc-stats-list span   { font-size: .8rem; color: var(--text-muted); line-height: 1.35; }

.svc-link-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .375rem; }
.svc-link-list a {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem .875rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .85rem;
  color: var(--text-dark);
  text-decoration: none !important;
  transition: background .15s, color .15s, border-color .15s;
}
.svc-link-list a:hover { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }
.svc-link-list__icon  { font-size: .95rem; flex-shrink: 0; }
.svc-link-list__arrow { margin-left: auto; color: var(--text-muted); font-size: .8rem; flex-shrink: 0; }
.svc-link-list a:hover .svc-link-list__arrow { color: rgba(255,255,255,.6); }

@media (max-width: 960px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-sidebar { position: static; }
}
@media (max-width: 680px) {
  .svc-content { padding: 1.5rem 1.25rem; }
}

/* ============================================================
   CONVERSION PAGE TEMPLATE  (/free-audit/, /book-consultation/)
   ============================================================ */
.conv-hero {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-dark) 100%);
  padding: 64px 0 72px;
  text-align: center;
  color: #fff;
}
.conv-hero h1 { color: #fff; max-width: 720px; margin-inline: auto; margin-bottom: 1rem; }
.conv-hero p  { color: rgba(255,255,255,.8); max-width: 580px; margin-inline: auto; margin-bottom: 2rem; font-size: 1.1rem; }
.conv-hero__ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.conv-trust {
  background: var(--brand-primary);
  padding: 16px 0;
}
.conv-trust__list {
  list-style: none;
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}
.conv-trust__list li { font-size: .82rem; color: rgba(255,255,255,.65); display: flex; align-items: center; gap: .4rem; }
.conv-trust__list li::before { content: '✓'; color: var(--brand-accent); font-weight: 700; }

.conv-body {
  background: var(--bg-light);
  padding: 64px 0 80px;
}
.conv-content {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  max-width: 820px;
  margin-inline: auto;
}
.conv-content h2 { color: var(--brand-primary); margin-top: 2rem; margin-bottom: .75rem; font-size: 1.3rem; }
.conv-content h2:first-child { margin-top: 0; }
.conv-content p  { color: var(--text-body); margin-bottom: 1rem; }
.conv-content ul { list-style: none; padding: 0; margin-bottom: 1.25rem; }
.conv-content ul li { padding-left: 1.5rem; position: relative; margin-bottom: .5rem; }
.conv-content ul li::before { content: '✓'; position: absolute; left: 0; color: var(--brand-accent); font-weight: 700; }
@media (max-width: 680px) { .conv-content { padding: 1.5rem 1.25rem; } }

/* ============================================================
   PRICING PAGE TEMPLATE
   ============================================================ */
.pricing-hero {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-dark) 100%);
  padding: 64px 0 72px;
  text-align: center;
  color: #fff;
}
.pricing-hero h1 { color: #fff; margin-bottom: 1rem; }
.pricing-hero p   { color: rgba(255,255,255,.8); max-width: 560px; margin-inline: auto; font-size: 1.05rem; }

.pricing-body { background: var(--bg-light); }
.pricing-body .svc-content { max-width: none; }
.pricing-body .svc-content table { display: table; }

/* ============================================================
   CASE STUDIES PAGE TEMPLATE
   ============================================================ */
.cases-hero {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-dark) 100%);
  padding: 64px 0 72px;
  color: #fff;
}
.cases-hero h1 { color: #fff; margin-bottom: 1rem; }
.cases-hero p   { color: rgba(255,255,255,.8); max-width: 640px; font-size: 1.05rem; }

.cases-body {
  background: var(--bg-light);
  padding: 64px 0 80px;
}
.cases-content {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.75rem;
}
.cases-content h2 { color: var(--brand-primary); margin-top: 2.5rem; padding-bottom: .75rem; border-bottom: 2px solid var(--bg-light); }
.cases-content h2:first-child { margin-top: 0; }
.cases-content h3 { color: var(--text-dark); margin-top: 1.5rem; }
.cases-content p  { color: var(--text-body); margin-bottom: 1rem; }
.cases-content strong { color: var(--text-dark); font-weight: 700; }
.cases-content table {
  width: 100%;
  border-collapse: collapse;
  margin-block: 1.5rem;
  font-size: .9rem;
  overflow-x: auto;
  display: block;
}
.cases-content th { background: var(--brand-primary); color: #fff; padding: 10px 14px; text-align: left; }
.cases-content td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.cases-content tr:nth-child(even) td { background: var(--bg-light); }
@media (max-width: 680px) { .cases-content { padding: 1.5rem 1.25rem; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .pricing-cards { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .home-hero__stats { gap: 1.5rem; }
  .svc-hero__stats   { gap: 1.5rem; }
}
@media (max-width: 680px) {
  .section { padding-block: 48px; }
  .home-hero { padding: 56px 0 64px; }
  .home-hero__stats { gap: 1.25rem; }
  .home-hero__stats strong { font-size: 1.5rem; }
  .hub-cards { grid-template-columns: 1fr; }
  .home-services__grid { grid-template-columns: 1fr; }
  .industries-strip { gap: .5rem; }
  .cta-strip { padding: 48px 0; }
  .conv-content, .cases-content { padding: 1.5rem 1.25rem; }
}
@media (max-width: 480px) {
  .home-hero__stats { flex-wrap: wrap; gap: 1rem; }
  .svc-hero__stats  { flex-wrap: wrap; gap: 1rem; }
  .footer-bottom__inner { flex-direction: column; gap: .25rem; text-align: center; }
}

/* ── Back to top ─────────────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--brand-accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .25s, transform .25s;
  z-index: 800;
  box-shadow: var(--shadow-lg);
}
#back-to-top.is-visible { opacity: 1; transform: translateY(0); }
#back-to-top:hover { background: var(--brand-accent-dk); }
