:root {
  --navy: #003057;
  --navy-dark: #001d38;
  --gold: #F29B19;
  --gold-dark: #d6820a;
  --ink: #1a1f24;
  --muted: #5b6672;
  --bg: #ffffff;
  --bg-alt: #f5f7f9;
  --border: #e3e8ec;
  --radius: 10px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  padding-bottom: 64px; /* room for mobile sticky CTA */
}

img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.site-header .phone-link { color: #fff; }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}
.site-header img.logo { height: 44px; width: auto; }
.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.phone-link {
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap;
}
.btn {
  display: inline-block;
  background: var(--gold);
  color: #1a1200;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--gold-dark); transform: translateY(-1px); }
.btn-lg { padding: 16px 30px; font-size: 17px; }
.btn-block { display: block; width: 100%; text-align: center; }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 56px 0 48px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(242,155,25,0.15);
  color: var(--gold);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  margin: 0 0 16px;
}
.hero p.lede {
  font-size: 18px;
  color: #cfd9e2;
  margin: 0 0 28px;
  max-width: 46ch;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-actions .phone-link { color: #fff; font-size: 16px; }
.hero-visual {
  background: #fff;
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.hero-visual img { border-radius: 6px; }
.hero-visual figcaption {
  color: var(--muted);
  font-size: 13px;
  margin-top: 10px;
  text-align: center;
  padding: 0 4px 4px;
}

/* Trust bar */
.trust-bar {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.trust-bar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
}
.trust-item .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none;
}

/* Sections */
section.block { padding: 60px 0; }
section.block.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 12px; color: var(--navy); }
.section-head p { color: var(--muted); margin: 0; font-size: 16px; }

/* How it works / triple stack */
.stack-explain {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.stack-explain .copy h2 { color: var(--navy); font-size: clamp(22px, 3vw, 30px); margin-top: 0; }
.stack-explain .copy p { color: var(--muted); font-size: 16px; }
.stack-list { list-style: none; padding: 0; margin: 20px 0 0; }
.stack-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}
.stack-list li:first-child { border-top: none; }
.stack-list .num {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.stack-list strong { color: var(--navy); display: block; margin-bottom: 2px; }
.stack-image { border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 30px rgba(0,48,87,0.15); border: 1px solid var(--border); }

/* Bio card (replaces duplicate image) */
.bio-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 12px 30px rgba(0,48,87,0.1);
  text-align: center;
}
.bio-card img.headshot {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 4px solid var(--bg-alt);
}
.bio-card h3 { color: var(--navy); margin: 0 0 2px; font-size: 19px; }
.bio-card .role { color: var(--gold-dark); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 12px; }
.bio-card p { color: var(--muted); font-size: 14px; text-align: left; margin: 0 0 10px; }
.bio-card .kicker { color: var(--navy); font-weight: 700; font-size: 14px; text-align: center; margin-top: 14px; }

/* Stats / Real Client Results */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
}
.stat-card .before { color: var(--muted); font-size: 13px; text-decoration: line-through; }
.stat-card .arrow { color: var(--gold-dark); font-size: 20px; margin: 4px 0; }
.stat-card .after { color: var(--navy); font-size: 30px; font-weight: 800; }
.stat-card .label { color: var(--muted); font-size: 13px; margin-top: 6px; }
.case-study-tag {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin-top: 18px;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: left;
}
.service-card .icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(242,155,25,0.15);
  color: var(--gold-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  margin-bottom: 14px;
  font-size: 18px;
}
.service-card h3 { margin: 0 0 6px; font-size: 17px; color: var(--navy); }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; }

/* Reviews */
.reviews-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.reviews-score {
  font-size: 40px;
  font-weight: 800;
  color: var(--navy);
}
.reviews-meta { text-align: left; }
.stars { color: var(--gold); font-size: 18px; letter-spacing: 2px; }
.reviews-meta .count { color: var(--muted); font-size: 14px; }
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
}
.google-badge svg { width: 16px; height: 16px; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.review-card .who {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.review-card img.avatar {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
}
.review-card .name { font-weight: 700; color: var(--navy); font-size: 14px; }
.review-card .time { color: var(--muted); font-size: 12px; }
.review-card .stars { display: block; font-size: 14px; margin-bottom: 8px; }
.review-card p { font-size: 14px; color: var(--ink); margin: 0; }

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-item h3 { margin: 0 0 8px; font-size: 17px; color: var(--navy); }
.faq-item p { margin: 0; color: var(--muted); }

/* Contact */
.contact-block {
  background: var(--navy);
  color: #fff;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-grid .copy h2 { font-size: clamp(24px,3vw,32px); margin-top: 0; }
.contact-grid .copy p { color: #cfd9e2; }
.contact-grid .copy ul { padding-left: 18px; color: #cfd9e2; }
.form-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 28px;
}
.form-card label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin: 14px 0 6px;
  color: var(--navy);
}
.form-card label:first-of-type { margin-top: 0; }
.form-card input, .form-card select, .form-card textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
}
.form-card textarea { resize: vertical; min-height: 90px; }
.form-card .btn { margin-top: 20px; }

/* Footer */
footer.site-footer {
  background: var(--navy-dark);
  color: #b9c4cd;
  padding: 36px 0;
  font-size: 14px;
}
footer.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}
footer.site-footer a { text-decoration: underline; }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 60;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  display: none;
  gap: 10px;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
}
.sticky-cta a { flex: 1; text-align: center; }
.sticky-cta .call { background: var(--navy); color: #fff; }

@media (max-width: 860px) {
  .hero .wrap, .stack-explain, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual {
    order: -1;
    margin: 0 -20px 20px;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .hero-visual img { border-radius: 0; }
  .hero-visual figcaption { padding: 10px 20px 0; }
  .header-cta .btn { display: none; }
  .sticky-cta { display: flex; }
}

/* Thank-you page */
.ty-wrap {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}
.ty-card { max-width: 520px; }
.ty-card .check {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--gold); color: #1a1200;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; margin: 0 auto 20px;
}
.ty-card h1 { color: var(--navy); font-size: 28px; margin: 0 0 12px; }
.ty-card p { color: var(--muted); font-size: 16px; }
