/*
Theme Name:  The SEO Doctors
Theme URI:   https://theseodoctors.com
Author:      The SEO Doctors
Description: Industry-specific SEO agency theme with programmatic SEO architecture.
Version:     1.0.0
Text Domain: tsd
*/

/* ── CSS Custom Properties ─────────────────────────────────────────────────── */
:root {
  --navy:      #0D1B4B;
  --navy-dark: #091339;
  --teal:      #00A99D;
  --teal-dark: #008F84;
  --white:     #FFFFFF;
  --off-white: #F0F4F8;
  --light:     #EFF4FB;
  --border:    #CBD5E0;
  --gray:      #4A5568;
  --dark:      #1A202C;
  --success:   #1B7A4A;

  --font-head: 'Inter', 'Arial', sans-serif;
  --font-body: 'Inter', 'Arial', sans-serif;

  --radius:    6px;
  --radius-lg: 12px;
  --shadow:    0 4px 24px rgba(13,27,75,.10);
  --shadow-lg: 0 8px 40px rgba(13,27,75,.18);

  --container: 1180px;
  --gap:       2rem;
  --section:   5rem;
}

/* ── Reset & Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--dark); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal-dark); }
ul { list-style: none; }
input, textarea, select, button { font-family: inherit; }

/* ── Typography ────────────────────────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); color: var(--navy); line-height: 1.22; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p  { color: var(--gray); line-height: 1.75; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Layout Utilities ──────────────────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: var(--section) 0; }
.section--dark  { background: var(--navy); }
.section--light { background: var(--off-white); }
.section--teal  { background: linear-gradient(135deg, var(--navy) 0%, #0E3460 100%); }

.grid-2  { display: grid; grid-template-columns: repeat(2, 1fr);  gap: var(--gap); }
.grid-3  { display: grid; grid-template-columns: repeat(3, 1fr);  gap: var(--gap); }
.grid-4  { display: grid; grid-template-columns: repeat(4, 1fr);  gap: var(--gap); }
.grid-6  { display: grid; grid-template-columns: repeat(6, 1fr);  gap: 1rem; }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2,1fr); } .grid-6 { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 768px)  { .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; } .grid-6 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px)  { .grid-6 { grid-template-columns: 1fr; } }

.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }
.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }
.text-teal   { color: var(--teal)  !important; }
.text-navy   { color: var(--navy)  !important; }

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 2rem; border-radius: var(--radius);
  font-weight: 700; font-size: 1rem; cursor: pointer;
  border: 2px solid transparent; transition: all .22s; white-space: nowrap;
  text-decoration: none;
}
.btn-primary   { background: var(--teal);  color: var(--white); border-color: var(--teal); }
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,169,157,.35); }
.btn-outline   { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: var(--white); color: var(--white); }
.btn-navy      { background: var(--navy);  color: var(--white); border-color: var(--navy); }
.btn-navy:hover{ background: var(--navy-dark); color: var(--white); }
.btn-lg  { padding: 1rem 2.5rem; font-size: 1.1rem; }
.btn-sm  { padding: .55rem 1.25rem; font-size: .9rem; }

/* ── Section Labels ────────────────────────────────────────────────────────── */
.section-label {
  display: inline-block; font-size: .75rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal); margin-bottom: .75rem;
  padding: .25rem .75rem; border: 1px solid rgba(0,169,157,.35);
  border-radius: 2rem; background: rgba(0,169,157,.08);
}
.section-label--light { color: var(--off-white); border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.08); }

/* ── Cards ─────────────────────────────────────────────────────────────────── */
.card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 2rem;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--teal); }
.card--dark  { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: var(--white); }
.card--dark h3 { color: var(--white); }

/* ── Stat Number ───────────────────────────────────────────────────────────── */
.stat-number { font-size: clamp(2.4rem,4vw,3.5rem); font-weight: 800; color: var(--teal); line-height: 1; }
.stat-label  { font-size: .9rem; color: var(--gray); margin-top: .35rem; }

/* ── Badge / Tag ───────────────────────────────────────────────────────────── */
.badge { display: inline-block; padding: .2rem .6rem; border-radius: 2rem; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.badge-teal  { background: rgba(0,169,157,.12); color: var(--teal); }
.badge-navy  { background: rgba(13,27,75,.1);   color: var(--navy); }

/* ── Form Elements ─────────────────────────────────────────────────────────── */
.form-field    { margin-bottom: 1.25rem; }
.form-field label { display: block; font-weight: 600; font-size: .875rem; margin-bottom: .4rem; color: var(--dark); }
.form-control {
  width: 100%; padding: .75rem 1rem; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-size: 1rem; background: var(--white);
  transition: border-color .2s, box-shadow .2s; color: var(--dark);
}
.form-control:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,169,157,.15); }
select.form-control { cursor: pointer; }

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER & NAVIGATION
═══════════════════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--white); border-bottom: 1px solid var(--border);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

/* Logo */
.site-logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; flex-shrink: 0; }
.site-logo svg { width: 36px; height: 36px; }
.logo-text-wrap { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-size: 1.1rem; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.logo-tagline { font-size: .65rem; color: var(--teal); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

/* Main Nav */
.main-nav { display: flex; align-items: center; gap: .25rem; }
.nav-item  { position: relative; }
.nav-link  {
  display: flex; align-items: center; gap: .3rem;
  padding: .5rem .85rem; border-radius: var(--radius);
  font-size: .925rem; font-weight: 600; color: var(--dark);
  cursor: pointer; transition: background .18s, color .18s; white-space: nowrap;
  background: none; border: none;
}
.nav-link:hover, .nav-link:focus { background: var(--light); color: var(--navy); }
.nav-link .chevron { width: 14px; height: 14px; transition: transform .2s; }
.nav-item.open > .nav-link .chevron { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  min-width: 200px; padding: .5rem 0; z-index: 100;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-item.open > .nav-dropdown, .nav-item:focus-within > .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a { display: block; padding: .6rem 1.25rem; font-size: .9rem; font-weight: 500; color: var(--dark); transition: background .15s, color .15s; }
.nav-dropdown a:hover { background: var(--light); color: var(--teal); }

/* Mega Menu */
.mega-menu {
  position: fixed; left: 0; right: 0;
  top: 72px; z-index: 999;
  background: var(--white); border-top: 2px solid var(--teal);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg); padding: 2rem 0;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .22s, transform .22s, visibility .22s;
}
.nav-item.open .mega-menu, .nav-item:focus-within .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-inner { display: grid; grid-template-columns: repeat(3, 1fr) 280px; gap: 0; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.mega-col    { padding: 0 1.5rem; border-right: 1px solid var(--border); }
.mega-col:last-child { border-right: none; }
.mega-heading { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--teal); margin-bottom: .75rem; padding-bottom: .5rem; border-bottom: 1px solid var(--border); }
.mega-links a { display: flex; align-items: center; gap: .5rem; padding: .4rem 0; font-size: .9rem; color: var(--gray); font-weight: 500; transition: color .15s; }
.mega-links a:hover { color: var(--teal); }
.mega-links a::before { content: '→'; font-size: .75rem; color: var(--teal); opacity: 0; transition: opacity .15s, transform .15s; transform: translateX(-4px); }
.mega-links a:hover::before { opacity: 1; transform: translateX(0); }
.mega-cta { background: var(--light); border-radius: var(--radius); padding: 1.5rem; }
.mega-cta h4 { font-size: .95rem; color: var(--navy); margin-bottom: .5rem; }
.mega-cta p  { font-size: .85rem; color: var(--gray); margin-bottom: 1rem; }

/* Header CTA */
.header-cta { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.header-phone { font-size: .875rem; font-weight: 700; color: var(--navy); }

/* Mobile hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: .5rem; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all .25s; }

/* Mobile nav overlay */
.mobile-nav { display: none; }

@media (max-width: 1024px) {
  .main-nav, .header-cta .btn { display: none; }
  .hamburger { display: flex; }
  .header-phone { font-size: .8rem; }
}
@media (max-width: 480px) { .header-phone { display: none; } }

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE NAVIGATION
═══════════════════════════════════════════════════════════════════════════ */
.mobile-nav {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy); color: var(--white);
  overflow-y: auto; transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.mobile-nav.open { transform: translateX(0); display: block; }
.mobile-nav-inner { padding: 1.5rem; }
.mobile-nav-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.mobile-nav-close { background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }
.mobile-nav-links a { display: block; padding: .85rem 0; font-size: 1.05rem; font-weight: 600; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-nav-links a:hover { color: var(--teal); }
.mobile-cta { margin-top: 2rem; }
.mobile-cta .btn { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════════════════════════ */
.hero {
  background: var(--navy);
  background-image:
    radial-gradient(ellipse at 70% 50%, rgba(0,169,157,.18) 0%, transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, #0B2454 100%);
  padding: 6rem 0 5rem; overflow: hidden; position: relative;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.022) 0, rgba(255,255,255,.022) 1px, transparent 1px, transparent 80px),
                    repeating-linear-gradient(0deg, rgba(255,255,255,.022) 0, rgba(255,255,255,.022) 1px, transparent 1px, transparent 80px);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1fr 460px; gap: 4rem; align-items: center; }
@media (max-width: 1024px) { .hero-grid { grid-template-columns: 1fr; } .hero-right { display: none; } }

.hero-label { color: var(--teal); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.hero-label::before { content: ''; display: inline-block; width: 24px; height: 2px; background: var(--teal); }
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 em { color: var(--teal); font-style: normal; }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,.78); line-height: 1.7; margin-bottom: 2rem; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.hero-proof { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hero-proof-stars { color: #F6C94E; font-size: 1rem; letter-spacing: .05em; }
.hero-proof-text  { font-size: .85rem; color: rgba(255,255,255,.65); }
.hero-proof-divider { width: 1px; height: 20px; background: rgba(255,255,255,.2); }
.hero-proof-badge { display: flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 700; color: rgba(255,255,255,.75); }

/* Hero stats card */
.hero-stats-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(10px); border-radius: var(--radius-lg); padding: 2rem;
}
.hero-stats-card h3 { color: var(--white); margin-bottom: 1.5rem; font-size: 1rem; }
.hero-stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.hero-stat .stat-number { color: var(--teal); }
.hero-stat .stat-label  { color: rgba(255,255,255,.6); }
.hero-stat-divider { border: none; border-top: 1px solid rgba(255,255,255,.12); margin: 1.25rem 0; }
.hero-cta-mini { display: flex; align-items: center; gap: .5rem; color: rgba(255,255,255,.7); font-size: .875rem; cursor: pointer; transition: color .2s; }
.hero-cta-mini:hover { color: var(--teal); }
.hero-cta-mini span { font-size: 1.2rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   CREDIBILITY BAR
═══════════════════════════════════════════════════════════════════════════ */
.cred-bar { padding: 1.5rem 0; background: var(--off-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cred-bar-inner { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.cred-bar-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gray); flex-shrink: 0; }
.cred-logos     { display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; justify-content: center; }
.cred-logo      { font-size: .8rem; font-weight: 800; color: var(--gray); opacity: .55; letter-spacing: .04em; text-transform: uppercase; transition: opacity .2s; }
.cred-logo:hover { opacity: .9; }

/* ═══════════════════════════════════════════════════════════════════════════
   PROBLEM → SOLUTION
═══════════════════════════════════════════════════════════════════════════ */
.prob-sol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 768px) { .prob-sol-grid { grid-template-columns: 1fr; } }
.prob-card {
  border-radius: var(--radius-lg); padding: 2.5rem;
  background: var(--off-white); border: 1px solid var(--border);
}
.prob-card.sol { background: var(--navy); border-color: var(--navy); }
.prob-card.sol h3, .prob-card.sol p { color: rgba(255,255,255,.85); }
.prob-card.sol h3 { color: var(--white); }
.prob-icon { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1.25rem; }
.prob-icon.red  { background: rgba(239,68,68,.12); }
.prob-icon.teal { background: rgba(0,169,157,.15); }
.prob-items { display: flex; flex-direction: column; gap: .85rem; margin-top: 1.25rem; }
.prob-item { display: flex; align-items: flex-start; gap: .75rem; font-size: .95rem; color: var(--gray); }
.prob-item::before { content: '✗'; color: #EF4444; font-weight: 800; flex-shrink: 0; margin-top: .05rem; }
.prob-card.sol .prob-item::before { content: '✓'; color: var(--teal); }
.prob-card.sol .prob-item { color: rgba(255,255,255,.78); }

/* ═══════════════════════════════════════════════════════════════════════════
   INDUSTRY SHOWCASE
═══════════════════════════════════════════════════════════════════════════ */
.industry-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
@media (max-width: 900px)  { .industry-cards { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px)  { .industry-cards { grid-template-columns: 1fr; } }
.industry-card {
  border-radius: var(--radius-lg); padding: 1.75rem;
  background: var(--white); border: 1.5px solid var(--border);
  cursor: pointer; transition: all .25s; position: relative; overflow: hidden;
}
.industry-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,169,157,.06), transparent); opacity: 0; transition: opacity .25s; }
.industry-card:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-3px); }
.industry-card:hover::before { opacity: 1; }
.industry-card-icon { font-size: 2rem; margin-bottom: 1rem; }
.industry-card h3 { font-size: 1.05rem; margin-bottom: .5rem; color: var(--navy); }
.industry-card p  { font-size: .85rem; color: var(--gray); line-height: 1.5; margin-bottom: 1rem; }
.industry-card-children { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1rem; }
.industry-child { font-size: .75rem; padding: .2rem .55rem; border-radius: 2rem; background: var(--light); color: var(--gray); }
.industry-card-link { font-size: .85rem; font-weight: 700; color: var(--teal); display: flex; align-items: center; gap: .35rem; }
.industry-card-link::after { content: '→'; transition: transform .2s; }
.industry-card:hover .industry-card-link::after { transform: translateX(4px); }

/* ═══════════════════════════════════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════════════════════════════════ */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; position: relative; }
.process-steps::before {
  content: ''; position: absolute; top: 36px; left: 12.5%; right: 12.5%; height: 2px;
  background: linear-gradient(90deg, var(--teal), rgba(0,169,157,.2));
  z-index: 0;
}
@media (max-width: 900px) { .process-steps { grid-template-columns: repeat(2,1fr); } .process-steps::before { display: none; } }
@media (max-width: 540px) { .process-steps { grid-template-columns: 1fr; } }
.process-step  { text-align: center; position: relative; z-index: 1; }
.process-number {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--navy); border: 3px solid var(--teal);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem; font-size: 1.5rem; position: relative;
}
.process-step-num { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; background: var(--teal); color: var(--white); font-size: .7rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.process-step h4  { color: var(--navy); margin-bottom: .5rem; }
.process-step p   { font-size: .9rem; color: var(--gray); }

/* ═══════════════════════════════════════════════════════════════════════════
   RESULTS / CASE STUDY STRIP
═══════════════════════════════════════════════════════════════════════════ */
.results-strip { padding: var(--section) 0; background: var(--navy); }
.results-strip h2 { color: var(--white); }
.results-strip .section-label { color: var(--teal); }
.results-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; }
@media (max-width: 900px) { .results-grid { grid-template-columns: 1fr; } }
.result-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg); padding: 2rem; transition: all .25s;
}
.result-card:hover { background: rgba(255,255,255,.1); border-color: var(--teal); transform: translateY(-3px); }
.result-tag { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); margin-bottom: 1rem; }
.result-headline { font-size: 2.4rem; font-weight: 800; color: var(--teal); line-height: 1; margin-bottom: .5rem; }
.result-sub      { font-size: .9rem; color: rgba(255,255,255,.6); margin-bottom: 1.25rem; }
.result-details  { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.5rem; }
.result-detail   { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: rgba(255,255,255,.7); }
.result-detail::before { content: '✓'; color: var(--teal); font-size: .75rem; flex-shrink: 0; }
.result-link { font-size: .875rem; font-weight: 700; color: var(--teal); display: flex; align-items: center; gap: .35rem; }
.result-link:hover { color: #00C4B7; }
.result-link::after { content: '→'; transition: transform .2s; }
.result-card:hover .result-link::after { transform: translateX(4px); }

/* ═══════════════════════════════════════════════════════════════════════════
   TRUST SIGNALS
═══════════════════════════════════════════════════════════════════════════ */
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-top: 3rem; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-item {
  padding: 2.5rem 2rem; text-align: center;
  border-right: 1px solid var(--border);
  transition: background .2s;
}
.trust-item:last-child { border-right: none; }
.trust-item:nth-child(2), .trust-item:nth-child(4) { background: var(--off-white); }
.trust-item:hover { background: var(--light); }
.trust-item h3 { color: var(--navy); font-size: .95rem; margin-top: .75rem; }
.trust-item p  { font-size: .85rem; color: var(--gray); margin-top: .5rem; line-height: 1.55; }

/* ═══════════════════════════════════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════════════════════════════════ */
.testimonials { background: var(--off-white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; }
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem; border: 1px solid var(--border); position: relative;
  transition: box-shadow .25s;
}
.testimonial-card:hover { box-shadow: var(--shadow); }
.testimonial-card::before { content: '"'; font-size: 4rem; color: var(--teal); opacity: .15; position: absolute; top: 1rem; right: 1.5rem; line-height: 1; font-family: Georgia, serif; }
.testimonial-stars  { color: #F6C94E; font-size: .9rem; margin-bottom: 1rem; }
.testimonial-quote  { font-size: .95rem; color: var(--gray); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-result { background: var(--light); border-radius: var(--radius); padding: .6rem 1rem; font-size: .8rem; font-weight: 700; color: var(--teal); margin-bottom: 1.25rem; display: inline-block; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 700; font-size: .9rem; flex-shrink: 0; }
.testimonial-name { font-weight: 700; font-size: .9rem; color: var(--dark); }
.testimonial-biz  { font-size: .8rem; color: var(--gray); }

/* ═══════════════════════════════════════════════════════════════════════════
   LEAD CAPTURE / CTA
═══════════════════════════════════════════════════════════════════════════ */
.lead-capture {
  background: linear-gradient(135deg, var(--navy) 0%, #0E3460 50%, #0D2A50 100%);
  position: relative; overflow: hidden;
}
.lead-capture::before {
  content: ''; position: absolute; top: -40%; right: -10%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,169,157,.18) 0%, transparent 65%);
  pointer-events: none;
}
.lead-capture-grid { display: grid; grid-template-columns: 1fr 420px; gap: 4rem; align-items: center; position: relative; }
@media (max-width: 900px) { .lead-capture-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.lead-capture h2 { color: var(--white); }
.lead-capture p  { color: rgba(255,255,255,.75); font-size: 1.05rem; margin-top: .75rem; }
.lead-bullets    { display: flex; flex-direction: column; gap: .6rem; margin-top: 1.5rem; }
.lead-bullet     { display: flex; align-items: center; gap: .75rem; color: rgba(255,255,255,.8); font-size: .9rem; }
.lead-bullet::before { content: '✓'; background: var(--teal); color: var(--white); width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .65rem; font-weight: 800; flex-shrink: 0; }
.lead-form-wrap {
  background: var(--white); border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow-lg);
}
.lead-form-title { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 1.5rem; }
.lead-form .btn  { width: 100%; justify-content: center; margin-top: .25rem; }
.lead-form-note  { font-size: .78rem; color: var(--gray); text-align: center; margin-top: .75rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════════════════════════════ */
.faq-list  { max-width: 760px; margin: 3rem auto 0; }
.faq-item  { border-bottom: 1px solid var(--border); }
.faq-trigger {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 0; font-size: 1rem; font-weight: 600; color: var(--navy);
  transition: color .2s;
}
.faq-trigger:hover { color: var(--teal); }
.faq-icon { width: 24px; height: 24px; border-radius: 50%; background: var(--light); border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: .75rem; transition: all .2s; }
.faq-item.open .faq-icon { background: var(--teal); border-color: var(--teal); color: var(--white); transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 0 1.25rem; color: var(--gray); font-size: .95rem; line-height: 1.75; }
.faq-item.open .faq-answer { display: block; }

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════════════════ */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); }
.footer-main { padding: 4rem 0 3rem; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; }
@media (max-width: 1024px) { .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 600px)  { .footer-main { grid-template-columns: 1fr; } }
.footer-brand .site-logo .logo-name    { color: var(--white); }
.footer-brand p { color: rgba(255,255,255,.55); font-size: .875rem; margin-top: 1rem; line-height: 1.65; }
.footer-socials { display: flex; gap: .75rem; margin-top: 1.5rem; }
.footer-social  { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); font-size: .8rem; font-weight: 700; transition: all .2s; }
.footer-social:hover { background: var(--teal); border-color: var(--teal); color: var(--white); }
.footer-col h4 { color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.25rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul li a { color: rgba(255,255,255,.6); font-size: .875rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--teal); }
.footer-contact-item { display: flex; gap: .6rem; font-size: .875rem; color: rgba(255,255,255,.6); margin-bottom: .5rem; }
.footer-contact-item strong { color: rgba(255,255,255,.9); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.5rem 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.45); margin: 0; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: .8rem; color: rgba(255,255,255,.45); transition: color .2s; }
.footer-bottom-links a:hover { color: var(--teal); }
.footer-badges { display: flex; align-items: center; gap: 1rem; }
.footer-badge  { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.4); border: 1px solid rgba(255,255,255,.15); border-radius: 3px; padding: .25rem .6rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   INNER PAGES
═══════════════════════════════════════════════════════════════════════════ */
.page-hero { background: var(--navy); padding: 4rem 0 3.5rem; }
.page-hero h1 { color: var(--white); }
.page-hero p  { color: rgba(255,255,255,.75); max-width: 640px; }
.breadcrumb { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; font-size: .85rem; color: rgba(255,255,255,.5); margin-bottom: 1rem; }
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb-sep { font-size: .7rem; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px) { .blog-grid { grid-template-columns: 1fr; } }
.post-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: box-shadow .25s, transform .25s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.post-card-thumb { background: var(--navy); height: 200px; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.post-card-body   { padding: 1.5rem; }
.post-card-meta   { font-size: .78rem; color: var(--gray); margin-bottom: .6rem; }
.post-card-title  { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: .5rem; line-height: 1.35; }
.post-card-excerpt{ font-size: .875rem; color: var(--gray); line-height: 1.6; }
.post-card-link   { display: inline-flex; align-items: center; gap: .3rem; font-size: .875rem; font-weight: 700; color: var(--teal); margin-top: 1rem; }

/* Contact form page */
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-sidebar { background: var(--off-white); border-radius: var(--radius-lg); padding: 2rem; border: 1px solid var(--border); }
.contact-sidebar h3 { color: var(--navy); margin-bottom: 1.25rem; }
.contact-sidebar-item { display: flex; gap: .75rem; margin-bottom: 1rem; font-size: .9rem; color: var(--gray); }
.contact-sidebar-item strong { color: var(--dark); display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .1rem; }

/* Sticky mobile CTA bar */
.mobile-cta-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 800;
  background: var(--navy); padding: .75rem 1rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,.25);
  align-items: center; justify-content: space-between; gap: .75rem;
}
.mobile-cta-bar p { color: rgba(255,255,255,.75); font-size: .8rem; margin: 0; }
.mobile-cta-bar .btn { flex-shrink: 0; font-size: .875rem; padding: .6rem 1.25rem; }
@media (max-width: 768px) { .mobile-cta-bar { display: flex; } body { padding-bottom: 70px; } }

/* ═══════════════════════════════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════════════════════════════ */
.fade-in-up { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
