﻿/*
Theme Name: Garage Door Agency (Dynamic Templates)
Theme URI: https://thegaragedoor.agency/
Author: The Garage Door Agency
Description: WordPress theme with dynamic page and post templates. All pages/posts use Hero design with dynamic content.
Version: 3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: garage-door-agency-dynamic
*/

/* ============================================================
   The Garage Doors Agency — thegaragedoors.agency
   Palette: deep navy / white / signal orange
   Type: Poppins (display) · Instrument Sans (body)
         IBM Plex Mono (data)
   ============================================================ */

:root {
  --navy-950: #060D1A;
  --navy-900: #0A1628;
  --navy-800: #10203A;
  --navy-700: #1B3050;
  --navy-100: #DCE5F1;
  --ink: #0E1B2E;
  --paper: #F7F9FC;
  --white: #FFFFFF;
  --muted: #5B6B82;
  --muted-light: #93A5BE;
  --orange: #FF6B2C;
  --orange-hot: #FF8A4D;
  --orange-deep: #E5551A;
  --line-dark: rgba(255, 255, 255, 0.09);
  --line-light: rgba(14, 27, 46, 0.1);
  --radius: 18px;
  --radius-lg: 26px;
  --font-display: "Poppins", sans-serif;
  --font-body: "Instrument Sans", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
  --shadow-card: 0 24px 60px -24px rgba(6, 13, 26, 0.35);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

.container {
  width: min(1160px, 100% - 48px);
  margin-inline: auto;
}

.mono { font-family: var(--font-mono); }

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

h1 { font-size: clamp(2.5rem, 5.4vw, 4.15rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); }
h3 { font-size: 1.18rem; line-height: 1.3; }

.accent { color: var(--orange); }
.accent-text { color: var(--orange); }

.kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--orange);
  margin-bottom: 14px;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-sub {
  margin-top: 18px;
  font-size: 1.1rem;
  color: var(--muted);
}

section { padding: clamp(72px, 9vw, 120px) 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
              background 0.25s, border-color 0.25s, color 0.25s;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: var(--white);
  box-shadow: 0 10px 30px -10px rgba(255, 107, 44, 0.55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px -10px rgba(255, 107, 44, 0.65);
  background: linear-gradient(135deg, var(--orange-hot) 0%, var(--orange) 100%);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-ghost:hover {
  border-color: var(--white);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.06);
}

.btn-sm { padding: 10px 20px; font-size: 0.92rem; }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.nav.scrolled {
  background: rgba(6, 13, 26, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-dark);
}

.nav-inner {
  width: min(1160px, 100% - 48px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  color: var(--white);
}
.logo-mark svg { width: 18px; height: 18px; }
.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
  color: inherit;
}
.logo-text em { font-style: normal; color: var(--orange); }
.logo-text.sm { font-size: 0.95rem; color: var(--white); }

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  color: var(--muted-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle.open span:last-child { transform: translateY(-4px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 24px;
  background: rgba(6, 13, 26, 0.97);
  backdrop-filter: blur(14px);
}
.nav-mobile a {
  color: var(--navy-100);
  text-decoration: none;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-dark);
}
.nav-mobile a.btn { margin-top: 16px; border: none; }
.nav-mobile.open { display: flex; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy-950);
  color: var(--white);
  padding: clamp(150px, 17vw, 200px) 0 clamp(90px, 10vw, 130px);
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, black 30%, transparent 75%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
}
.hero-glow-1 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(255, 107, 44, 0.32), transparent 65%);
  top: -180px; right: -120px;
}
.hero-glow-2 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(27, 66, 122, 0.55), transparent 65%);
  bottom: -200px; left: -140px;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted-light);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 8px 16px;
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.03);
}
.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(255, 107, 44, 0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 44, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(255, 107, 44, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 107, 44, 0); }
}

.h1-question {
  font-size: clamp(2.4rem, 5.2vw, 3.9rem);
  text-wrap: balance;
}

.hero-sub {
  margin-top: 24px;
  font-size: 1.16rem;
  color: var(--muted-light);
  max-width: 540px;
}
.hero-sub strong {
  display: block;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 6px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 30px;
  list-style: none;
}
.hero-assurances li {
  font-size: 0.9rem;
  color: var(--muted-light);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-assurances li::before {
  content: "";
  width: 15px; height: 15px;
  flex: none;
  background: var(--orange);
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"/></svg>') center / contain no-repeat;
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"/></svg>') center / contain no-repeat;
}

/* Hero dashboard visual */
.hero-visual {
  position: relative;
  display: grid;
  gap: 16px;
}

.dash-card {
  background: rgba(16, 32, 58, 0.65);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 22px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
}

.dash-main { animation: float 7s ease-in-out infinite; }
.dash-calls { animation: float 7s ease-in-out 0.9s infinite; margin-left: 34px; }
.dash-blocked {
  display: flex;
  align-items: center;
  gap: 14px;
  animation: float 7s ease-in-out 1.7s infinite;
  margin-right: 42px;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.dash-title {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-light);
}
.dash-pill {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 999px;
}
.pill-down { background: rgba(255, 107, 44, 0.14); color: var(--orange-hot); }

.dash-chart { width: 100%; height: 96px; }
.chart-line {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: draw 2.2s var(--ease-out) 0.6s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.dash-foot {
  display: flex;
  gap: 34px;
  margin-top: 10px;
}
.dash-foot span {
  display: block;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
}
.dash-foot small {
  color: var(--muted-light);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.call-list { list-style: none; display: grid; gap: 12px; }
.call-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}
.call-list li > div { flex: 1; min-width: 0; }
.call-list strong { display: block; font-size: 0.9rem; color: var(--white); }
.call-list small { color: var(--muted-light); font-size: 0.76rem; }
.call-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.call-dot.ok { background: #3DD68C; box-shadow: 0 0 10px rgba(61, 214, 140, 0.7); }
.call-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  flex: none;
}
.call-tag.ok { background: rgba(61, 214, 140, 0.13); color: #3DD68C; }

.blocked-icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex: none;
  border-radius: 12px;
  background: rgba(255, 92, 92, 0.13);
  color: #FF7A7A;
  font-weight: 700;
}
.dash-blocked strong { display: block; font-size: 0.94rem; color: var(--white); }
.dash-blocked small { color: var(--muted-light); font-size: 0.8rem; }

/* ---------- Trust bar ---------- */
.trust {
  background: var(--navy-900);
  color: var(--white);
  padding: clamp(56px, 7vw, 84px) 0;
  border-top: 1px solid var(--line-dark);
}
.trust-label {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted-light);
  margin-bottom: 44px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}
.stat-num {
  display: block;
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--orange);
  letter-spacing: -0.02em;
}
.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.92rem;
  color: var(--muted-light);
  max-width: 220px;
  margin-inline: auto;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy-100);
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  padding: 9px 18px;
}
.badge svg { color: var(--orange); }

/* ---------- Pain points ---------- */
.pain { background: var(--paper); }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pain-card {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s;
}
.pain-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -20px rgba(14, 27, 46, 0.18);
  border-color: rgba(255, 107, 44, 0.35);
}
.pain-card blockquote {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  padding-left: 16px;
  border-left: 3px solid var(--orange);
  margin-bottom: 18px;
}
.pain-card h3 {
  font-size: 0.82rem;
  font-family: var(--font-mono);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 10px;
}
.pain-card p { font-size: 0.97rem; color: var(--muted); }
.pain-card p strong { color: var(--ink); }

/* ---------- Why us ---------- */
.why {
  background: var(--navy-950);
  color: var(--white);
  position: relative;
}
.why .section-sub { color: var(--muted-light); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.why-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.3s var(--ease-out), background 0.3s, border-color 0.3s;
}
.why-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 107, 44, 0.4);
}
.why-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: rgba(255, 107, 44, 0.13);
  color: var(--orange);
  margin-bottom: 20px;
}
.why-icon svg { width: 22px; height: 22px; }
.why-card h3 { margin-bottom: 12px; font-size: 1.08rem; }
.why-card p { font-size: 0.93rem; color: var(--muted-light); }

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-dark);
}
.compare-col { padding: clamp(28px, 4vw, 44px); }
.compare-col h4 {
  font-size: 1.15rem;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
}
.compare-them { background: rgba(255, 255, 255, 0.025); }
.compare-them h4 { color: var(--muted-light); }
.compare-us {
  background: linear-gradient(160deg, rgba(255, 107, 44, 0.12), rgba(255, 107, 44, 0.04));
  border-left: 1px solid var(--line-dark);
}
.compare ul { list-style: none; display: grid; gap: 14px; }
.compare li {
  display: flex;
  gap: 12px;
  font-size: 0.97rem;
  align-items: baseline;
}
.compare-them li { color: var(--muted-light); }
.compare-them li::before { content: "✕"; color: #FF7A7A; font-weight: 700; flex: none; font-size: 0.85rem; }
.compare-us li { color: var(--navy-100); }
.compare-us li::before { content: "✓"; color: var(--orange); font-weight: 700; flex: none; }

/* Why intro: copy + technician photo */
.why-intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.why-intro .section-head { margin-bottom: 0; }
.why-photo { position: relative; margin: 0; }
.why-photo img {
  width: 100%;
  height: clamp(280px, 30vw, 380px);
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-dark);
}
.why-photo::after {
  content: "";
  position: absolute;
  inset: 20px -20px -20px 20px;
  border: 1.5px solid rgba(255, 107, 44, 0.35);
  border-radius: var(--radius-lg);
  pointer-events: none;
  z-index: -1;
}
.why-chip {
  position: absolute;
  left: 20px;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(6, 13, 26, 0.82);
  border: 1px solid var(--line-dark);
  backdrop-filter: blur(8px);
}
.why-chip strong { font-family: var(--font-display); font-size: 0.98rem; color: var(--white); }
.why-chip span { font-size: 0.85rem; color: var(--muted-light); }

/* ---------- Photo band ---------- */
.band {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: clamp(90px, 12vw, 150px) 0;
}
.band-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.band-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgba(6, 13, 26, 0.96) 0%,
    rgba(6, 13, 26, 0.82) 45%,
    rgba(10, 22, 40, 0.42) 100%);
}
.band-inner { position: relative; max-width: 620px; }
.band-inner h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.band-inner p {
  color: var(--navy-100);
  font-size: 1.12rem;
  margin-bottom: 30px;
  max-width: 480px;
}

/* ---------- Services ---------- */
.services { background: var(--white); }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.svc {
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.svc::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-hot));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.svc:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -18px rgba(14, 27, 46, 0.16); border-color: transparent; }
.svc:hover::after { transform: scaleX(1); }
.svc h3 { font-size: 1.02rem; margin-bottom: 9px; }
.svc p { font-size: 0.9rem; color: var(--muted); }

.svc-cta {
  background: var(--navy-900);
  border-color: var(--navy-900);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
}
.svc-cta h3 { color: var(--white); }
.svc-cta::after { display: none; }

/* ---------- Process ---------- */
.process { background: var(--paper); }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.step:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -18px rgba(14, 27, 46, 0.15); }
.step-num {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange);
  background: rgba(255, 107, 44, 0.1);
  border-radius: 8px;
  padding: 4px 10px;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.03rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--muted); }

/* ---------- Case studies ---------- */
.cases { background: var(--navy-900); color: var(--white); }
.cases .section-sub { color: var(--muted-light); }

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.case-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease-out), border-color 0.3s, background 0.3s;
}
.case-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 107, 44, 0.4);
  background: rgba(255, 255, 255, 0.05);
}
.case-type {
  font-size: 0.74rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange-hot);
  margin-bottom: 16px;
}
.case-card h3 { font-size: 1.3rem; margin-bottom: 14px; }
.case-card > p { font-size: 0.94rem; color: var(--muted-light); flex: 1; }
.case-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 18px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
}
.case-stats span {
  display: block;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--orange);
  white-space: nowrap;
}
.case-stats small { color: var(--muted-light); font-size: 0.74rem; line-height: 1.35; display: block; margin-top: 4px; }

/* ---------- Testimonials ---------- */
.quotes { background: var(--white); }

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.quote-card {
  background: var(--paper);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.quote-card:hover { transform: translateY(-5px); box-shadow: 0 20px 44px -20px rgba(14, 27, 46, 0.16); }
.quote-card::before {
  content: "“";
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--orange);
  opacity: 0.85;
  margin-bottom: 6px;
}
.quote-card blockquote {
  font-size: 1rem;
  color: var(--ink);
  flex: 1;
}
.quote-card figcaption {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
}
.quote-card figcaption strong { display: block; font-size: 0.98rem; }
.quote-card figcaption span { font-size: 0.85rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }
.faq-container { max-width: 860px; }

.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.faq-item[open] {
  border-color: rgba(255, 107, 44, 0.4);
  box-shadow: 0 14px 34px -18px rgba(14, 27, 46, 0.14);
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.06rem;
  list-style: none;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  position: relative;
  width: 22px; height: 22px;
  flex: none;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  translate: -50% -50%;
  background: var(--orange);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out);
}
.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after { width: 2px; height: 14px; }
.faq-item[open] .faq-icon::after { transform: rotate(90deg); }
.faq-item p {
  padding: 0 26px 24px;
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 92%;
}

/* ---------- Final CTA ---------- */
.cta-final {
  position: relative;
  background: var(--navy-950);
  color: var(--white);
  overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; pointer-events: none; }

.cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.cta-copy h2 { font-size: clamp(2.1rem, 4vw, 3.1rem); margin-bottom: 20px; }
.cta-copy > p { font-size: 1.12rem; color: var(--muted-light); }
.cta-points {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.cta-points li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  color: var(--navy-100);
  font-size: 1rem;
}
.cta-points li::before { content: "✓"; color: var(--orange); font-weight: 700; flex: none; }

.audit-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
  backdrop-filter: blur(10px);
  position: relative;
}
.audit-form h3 { font-size: 1.35rem; margin-bottom: 24px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.audit-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted-light);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.audit-form input,
.audit-form select {
  width: 100%;
  margin-top: 7px;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--white);
  background: rgba(6, 13, 26, 0.6);
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.audit-form input::placeholder { color: var(--muted); }
.audit-form select:invalid { color: var(--muted); }
.audit-form select option { color: var(--ink); background: var(--white); }
.audit-form input:focus,
.audit-form select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 44, 0.18);
}
.audit-form .btn { margin-top: 8px; }
.form-note {
  margin-top: 14px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted-light);
}
.form-success {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 8px;
  padding: 32px;
  background: rgba(6, 13, 26, 0.96);
  border-radius: var(--radius-lg);
}
.form-success[hidden] { display: none; }
.form-success strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--orange);
}
.form-success p { color: var(--muted-light); }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-950);
  color: var(--muted-light);
  border-top: 1px solid var(--line-dark);
  padding: clamp(56px, 7vw, 80px) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 52px;
}
.footer-brand .logo-text { color: var(--white); font-size: 1.12rem; }
.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  max-width: 380px;
}
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  color: var(--muted-light);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 5px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--orange-hot); }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 24px 0;
  font-size: 0.84rem;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.d-1 { transition-delay: 0.1s; }
.d-2 { transition-delay: 0.2s; }
.d-3 { transition-delay: 0.3s; }
.d-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .dash-main, .dash-calls, .dash-blocked, .eyebrow-dot { animation: none; }
  .chart-line { stroke-dashoffset: 0; animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .why-intro { grid-template-columns: 1fr; }
  .why-photo::after { display: none; }
  .hero-visual { max-width: 560px; }
  .why-grid, .svc-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .pain-grid, .case-grid, .quote-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .cta-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav { background: rgba(6, 13, 26, 0.9); backdrop-filter: blur(14px); }
  .pain-grid, .case-grid, .quote-grid,
  .why-grid, .svc-grid, .steps { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .compare-us { border-left: none; border-top: 1px solid var(--line-dark); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .hero-ctas .btn { width: 100%; }
  .dash-calls { margin-left: 0; }
  .dash-blocked { margin-right: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .case-stats { grid-template-columns: 1fr 1fr; }
}

/* ===== GDA post readability & spacing (added 2026-07-17) ===== */
.post-content, .page-content { max-width: 760px; margin: 0 auto; font-size: 17px; }
.post-content > p, .page-content > p,
.post-content p, .page-content p { margin: 0 0 1.5em; line-height: 1.85; }
.post-content h2, .page-content h2 { margin: 2.4em 0 .7em; font-size: 30px; line-height: 1.3; font-weight: 700; }
.post-content h3, .page-content h3 { margin: 2em 0 .6em; font-size: 23px; line-height: 1.35; font-weight: 700; }
.post-content h4, .page-content h4 { margin: 1.7em 0 .5em; font-size: 19px; font-weight: 600; }
.post-content ul, .post-content ol,
.page-content ul, .page-content ol { margin: 0 0 1.6em; padding-left: 1.4em; }
.post-content li, .page-content li { margin-bottom: .65em; line-height: 1.75; }
.post-content img, .page-content img { max-width: 100%; height: auto; border-radius: 12px; margin: 1.8em 0; }
.post-content a, .page-content a { color: #FF6B2C; text-decoration: underline; text-underline-offset: 2px; }
.post-content blockquote, .page-content blockquote { margin: 1.8em 0; padding: 1em 1.5em; border-left: 4px solid #FF6B2C; background: #fff; border-radius: 8px; font-style: italic; }
.post-content strong, .page-content strong { font-weight: 700; }
.post-content h2:first-child, .page-content h2:first-child { margin-top: 0; }
/* ============================================================= */
/* ===== Linked service cards (added 2026-07-17) ===== */
a.svc, a.svc:hover { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.svc-linked { cursor: pointer; transition: transform .16s ease, box-shadow .16s ease; }
.svc-linked:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(6,13,26,0.10); }
.svc-more { margin-top: 14px; color: #FF6B2C; font-weight: 600; font-size: 14px; }
/* ================================================== */
/* ===== Dark content sections (added 2026-07-17) ===== */
.sec-dark h2, .sec-dark h3 { color: #ffffff !important; }
.sec-dark .section-sub { color: #B8C4D6 !important; }
.sec-dark p[style*="5B6B82"] { color: #C3CEDE !important; }
/* ==================================================== */
/* ===== Hero lead form (added 2026-07-17) ===== */
.lead-form { background: #ffffff; border-radius: 16px; padding: 30px; box-shadow: 0 24px 60px rgba(0,0,0,0.38); max-width: 440px; margin-left: auto; }
.lead-form-title { font-size: 1.45rem; font-weight: 700; color: #060D1A; margin-bottom: 6px; }
.lead-form-sub { color: #5B6B82; font-size: 0.92rem; line-height: 1.5; margin-bottom: 20px; }
.lead-form label { display: block; font-size: 0.78rem; font-weight: 600; color: #060D1A; margin-bottom: 14px; letter-spacing: .01em; }
.lead-form input { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid #dfe5ee; border-radius: 10px; font-size: 0.95rem; font-family: inherit; color: #060D1A; box-sizing: border-box; }
.lead-form input::placeholder { color: #9aa6b6; }
.lead-form input:focus { outline: none; border-color: #FF6B2C; box-shadow: 0 0 0 3px rgba(255,107,44,0.12); }
.lead-form .btn-block { display: block; width: 100%; margin-top: 6px; text-align: center; }
.lead-form-note { color: #8a97a8; font-size: 0.78rem; margin-top: 14px; text-align: center; }
.lead-form-success { background: #E9F9EF; color: #1B7A43; padding: 12px 14px; border-radius: 10px; font-size: 0.9rem; margin-bottom: 18px; }
@media (max-width: 900px){ .lead-form { margin: 32px auto 0; } }
/* ============================================= */
/* Mobile: bring the primary CTA above the fold (reorder + compact hero) - 2026-07-18 */
@media (max-width: 680px){
  .hero { padding-top: 92px; padding-bottom: 44px; }
  .h1-question { font-size: 2rem; line-height: 1.1; }
  .hero-copy { display: flex; flex-direction: column; }
  .hero-copy .eyebrow { order: 1; }
  .hero-copy .h1-question { order: 2; margin-top: 14px; }
  .hero-copy .hero-ctas { order: 3; margin-top: 22px; }
  .hero-copy .hero-sub { order: 4; margin-top: 22px; }
  .hero-copy .hero-assurances { order: 5; margin-top: 20px; }
  .hero-ctas .btn { width: 100%; text-align: center; }
}

/* solid nav at top - fixes landing leak */
.nav { background: rgba(6,13,26,0.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line-dark); }

/* overflow: 5 links + CTA - collapse earlier */
@media (max-width:1000px){ .nav-links, .nav-cta { display:none; } .nav-toggle { display:flex; } }

/* nav position vs WP admin bar + overflow guard */
html, body { overflow-x: hidden; max-width: 100%; }
.admin-bar .nav { top: 32px; }
@media screen and (max-width:782px){ .admin-bar .nav { top: 46px; } }

/* Compact dropdown menu instead of full-width - 2026-07-18 */
.nav { position: fixed; }
.nav-mobile.open {
  position: absolute;
  top: 100%;
  left: 24px;
  width: min(300px, calc(100vw - 48px));
  margin-top: 8px;
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  z-index: 200;
}
@media (max-width: 680px){
  .nav-mobile.open { left: 16px; width: calc(100vw - 32px); }
}
/* Move hero content up a bit (desktop only; mobile stays compact) - 2026-07-18 */
@media (min-width: 681px){
  .hero { padding-top: clamp(92px, 8vw, 112px); padding-bottom: clamp(70px, 8vw, 110px); }
}