/*
Theme Name: Holzherr Consulting
Theme URI: https://holzherrconsulting.com
Author: Holzherr Consulting
Description: Custom theme for Holzherr Consulting - Senior-level bookkeeping and accounting services.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: Private
Text Domain: holzherr
*/

/* ── Reset & Variables ──────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #0a1e33;
  --navy-deep: #060f1a;
  --blue: #1a7bb5;
  --blue-light: #2a9fd8;
  --gold: #d4a24e;
  --gold-light: #e8c47a;
  --gold-pale: #f5e6c8;
  --cream: #faf7f2;
  --white: #ffffff;
  --text: #1a1a2e;
  --text-mid: #4a4a5e;
  --text-light: #7a7a8e;
  --border: #e8e4de;
  --bg-warm: #f8f5f0;
  --bg-cool: #f0f4f8;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(2.8rem, 5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.4rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.5rem; }
li { margin-bottom: 0.4rem; }

strong { font-weight: 700; }
em { font-style: italic; }

/* ── Utility ────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container--narrow { max-width: 700px; margin: 0 auto; padding: 0 2rem; }

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

/* ── Top Utility Bar ─────────────────────────────── */
.topbar {
  background: var(--gold);
  padding: 0.4rem 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy-deep);
}
.topbar__inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar__text { opacity: 0.8; font-weight: 500; }
.topbar__phone {
  color: var(--navy-deep);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.topbar__phone:hover { opacity: 0.7; }

/* ── Navigation ─────────────────────────────────── */
.nav {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0.8rem 0;
  background: var(--navy-deep);
  transition: all 0.4s var(--ease-out);
}
.nav--scrolled {
  background: rgba(10, 30, 51, 0.97);
  backdrop-filter: blur(20px);
  padding: 0.5rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
}
.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav__logo-img {
  height: 55px;
  width: auto;
  transition: height 0.3s var(--ease-out);
}
.nav--scrolled .nav__logo-img {
  height: 40px;
}
.nav__right {
  display: flex;
  align-items: center;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav__link {
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.3s;
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after { width: 100%; }

/* Dropdown — JS-controlled via .nav__item--open class */
.nav__item { position: relative; }
.nav__item > .nav__link,
.nav__item > .nav__cta { position: relative; z-index: 2; }
.nav__dropdown {
  display: none;
  position: absolute;
  top: -0.5rem;
  left: -1.5rem;
  background: rgba(10, 30, 51, 0.97);
  backdrop-filter: blur(20px);
  border-radius: 12px;
  padding: 0.8rem 0;
  padding-top: 3rem;
  min-width: 260px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  list-style: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}
.nav__item--open > .nav__dropdown {
  display: block;
  opacity: 1;
  pointer-events: auto;
}
.nav__dropdown li { margin: 0; padding: 0; line-height: 1; }
.nav__dropdown a {
  display: block;
  padding: 0.45rem 1.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav__dropdown a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}
/* 20 items — constrain height and use 2 columns */
.nav__dropdown { max-height: 80vh; }
@media (min-width: 769px) {
  .nav__dropdown { columns: 2; column-gap: 0; min-width: 420px; }
  .nav__dropdown li { break-inside: avoid; }
}

.nav__cta {
  background: var(--gold);
  color: var(--navy-deep);
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s var(--ease-out);
  border: 2px solid var(--gold);
}
.nav__cta:hover {
  background: transparent;
  color: var(--gold);
  transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav__toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); margin: 5px 0;
  transition: all 0.3s;
}

/* ── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.9rem 2rem;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
  letter-spacing: 0.01em;
}
.btn--primary {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}
.btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 162, 78, 0.3);
}
.btn--secondary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn--secondary:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(10, 30, 51, 0.3);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
}
.btn--ghost:hover {
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--border);
}
.btn--outline:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}
.btn__arrow { transition: transform 0.3s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ── Hero ───────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--navy-deep);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(26, 123, 181, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(212, 162, 78, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(26, 123, 181, 0.1) 0%, transparent 40%);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero__content {
  position: relative; z-index: 2;
  max-width: 1300px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero__text { max-width: 600px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 162, 78, 0.12);
  border: 1px solid rgba(212, 162, 78, 0.25);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero__badge-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(212,162,78,0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(212,162,78,0); }
}
.hero__title { color: var(--white); margin-bottom: 1.5rem; }
.hero__title em { color: var(--gold); font-style: italic; }
.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 500px;
  font-weight: 300;
}
.hero__actions { display: flex; gap: 1rem; align-items: center; }
.hero--inner {
  min-height: 50vh;
}
.hero--inner .hero__content {
  grid-template-columns: 1fr;
  padding-top: 5rem;
  padding-bottom: 4rem;
  text-align: center;
}
.hero--inner .hero__text { max-width: 700px; margin: 0 auto; }
.hero--inner .hero__subtitle { margin-left: auto; margin-right: auto; }
.hero--inner .hero__actions { justify-content: center; }

/* Stats Card */
.stats-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  width: 100%; max-width: 420px;
}
.stats-card__row {
  display: flex; align-items: center;
  gap: 1.2rem; padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.stats-card__row:last-child { border-bottom: none; }
.stats-card__number {
  font-family: var(--font-display);
  font-size: 2.8rem; color: var(--gold);
  line-height: 1; min-width: 80px;
}
.stats-card__label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}
.stats-card__label strong {
  display: block;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ── Trust Bar ──────────────────────────────────── */
.trust-bar { position: relative; z-index: 10; margin-top: -3.5rem; padding: 0 2rem; }
.trust-bar__inner {
  max-width: 1100px; margin: 0 auto;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.04);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.trust-bar__item {
  padding: 2rem 2.5rem;
  display: flex; align-items: center; gap: 1rem;
  border-right: 1px solid var(--border);
  transition: background 0.3s;
}
.trust-bar__item:last-child { border-right: none; }
.trust-bar__item:hover { background: var(--bg-warm); }
.trust-bar__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.trust-bar__icon--blue { background: rgba(26,123,181,0.1); color: var(--blue); }
.trust-bar__icon--gold { background: rgba(212,162,78,0.12); color: var(--gold); }
.trust-bar__icon--navy { background: rgba(10,30,51,0.08); color: var(--navy); }
.trust-bar__label { font-size: 0.82rem; color: var(--text-light); line-height: 1.4; }
.trust-bar__label strong { display: block; color: var(--text); font-size: 0.95rem; font-weight: 700; }

/* ── Section ────────────────────────────────────── */
.section { padding: 7rem 0; }
.section--warm { background: var(--bg-warm); }
.section--cool { background: var(--bg-cool); }
.section--dark { background: var(--navy-deep); color: var(--white); }

.section__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.section__title { margin-bottom: 1rem; }
.section__subtitle {
  font-size: 1.1rem; color: var(--text-mid);
  max-width: 550px; line-height: 1.7; font-weight: 300;
}
.section--dark .section__subtitle { color: rgba(255,255,255,0.55); }
.section__header { margin-bottom: 4rem; }
.section__header--center { text-align: center; display: flex; flex-direction: column; align-items: center; }

/* ── Pitch ──────────────────────────────────────── */
.pitch { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.pitch__content { max-width: 520px; }
.pitch__quote {
  font-family: var(--font-display);
  font-size: 1.5rem; line-height: 1.5; color: var(--text);
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  border-left: 3px solid var(--gold);
}
.pitch__body { font-size: 1rem; color: var(--text-mid); margin-bottom: 2rem; }

/* Comparison Card */
.pitch__card {
  background: var(--white);
  border-radius: 20px; padding: 3rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
}
.pitch__comparison { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; text-align: center; }
.pitch__col { padding: 1.5rem 0.5rem; }
.pitch__col--highlight {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  border-radius: 16px; color: var(--white);
  padding: 1.5rem; transform: scale(1.05);
  box-shadow: 0 10px 40px rgba(10,30,51,0.2);
}
.pitch__col-icon { font-size: 2rem; margin-bottom: 0.8rem; }
.pitch__col-title { font-weight: 700; font-size: 0.85rem; letter-spacing: 0.03em; margin-bottom: 0.5rem; text-transform: uppercase; font-family: var(--font-body); }
.pitch__col-price { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 0.3rem; }
.pitch__col--highlight .pitch__col-price { color: var(--gold); }
.pitch__col-detail { font-size: 0.78rem; opacity: 0.6; line-height: 1.5; }

/* ── Standalone Comparison Section ─────────────── */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: stretch;
}
.comparison__col {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s var(--ease-out);
}
.comparison__col:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
.comparison__col--highlight {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: var(--white);
  border: none;
  padding: 3rem 2.5rem;
  box-shadow: 0 20px 60px rgba(10,30,51,0.25);
  position: relative;
}
.comparison__col--highlight:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 70px rgba(10,30,51,0.3);
}
.comparison__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 1.2rem;
  border-radius: 100px;
  white-space: nowrap;
}
.comparison__icon { font-size: 2.5rem; margin-bottom: 1rem; }
.comparison__title {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-family: var(--font-body);
  margin-bottom: 0.8rem;
}
.comparison__price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}
.comparison__col--highlight .comparison__price { color: var(--gold); }
.comparison__detail {
  font-size: 0.88rem;
  opacity: 0.7;
  line-height: 1.6;
  max-width: 260px;
}
.comparison__col--highlight .comparison__detail { opacity: 0.8; }

/* ── Blog ──────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.blog-card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  display: block;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  border-color: transparent;
}
.blog-card__image { overflow: hidden; aspect-ratio: 16/9; }
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease-out); }
.blog-card:hover .blog-card__image img { transform: scale(1.05); }
.blog-card__content { padding: 1.8rem; }
.blog-card__date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.blog-card__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}
.blog-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.blog-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.blog-pagination { margin-top: 3rem; text-align: center; }
.blog-pagination .nav-links { display: flex; gap: 0.5rem; justify-content: center; align-items: center; }
.blog-pagination a, .blog-pagination span {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}
.blog-pagination a { background: var(--white); border: 1px solid var(--border); color: var(--text); transition: all 0.2s; }
.blog-pagination a:hover { border-color: var(--blue); color: var(--blue); }
.blog-pagination .current { background: var(--navy); color: var(--white); }

/* Blog post nav */
.blog-post-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 3rem;
  margin-top: 3rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}
.blog-post-nav a { color: var(--blue); font-weight: 500; transition: color 0.2s; }
.blog-post-nav a:hover { color: var(--gold); }
.blog-post-nav__prev, .blog-post-nav__next { max-width: 250px; }
.blog-post-nav__back a { font-weight: 600; }

/* ── Service Cards ──────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  background: var(--white);
  border-radius: 16px; padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease-out);
  position: relative; overflow: hidden;
  display: block;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  opacity: 0; transition: opacity 0.4s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.08); border-color: transparent; }
.service-card:hover::before { opacity: 1; }
.service-card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.5rem;
  background: rgba(26,123,181,0.08); color: var(--blue);
  transition: all 0.4s;
}
.service-card:hover .service-card__icon { background: var(--blue); color: var(--white); }
.service-card__title { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.6rem; font-family: var(--font-body); }
.service-card__desc { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; margin-bottom: 1.5rem; }
.service-card__link { font-size: 0.85rem; font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: 0.4rem; transition: gap 0.3s var(--ease-out); }
.service-card:hover .service-card__link { gap: 0.8rem; }

/* ── Why Items ──────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.why-item {
  display: flex; align-items: flex-start; gap: 1.2rem;
  padding: 1.8rem; border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s;
}
.why-item:hover { background: rgba(255,255,255,0.07); border-color: rgba(212,162,78,0.2); transform: translateX(4px); }
.why-item__icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(212,162,78,0.12); color: var(--gold);
  flex-shrink: 0; font-size: 1rem;
}
.why-item__title { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.3rem; color: var(--white); font-family: var(--font-body); }
.why-item__desc { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* ── Area Cards ─────────────────────────────────── */
.areas-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
.area-card {
  background: var(--white); border-radius: 16px; padding: 2rem;
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease-out);
  text-align: center; display: block;
}
.area-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.06); border-color: var(--blue); }
.area-card__state { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 0.3rem; }
.area-card__count { font-size: 0.8rem; color: var(--text-light); margin-bottom: 1rem; }
.area-card__cities { font-size: 0.78rem; color: var(--text-mid); line-height: 1.8; }
.area-card__link { display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 1rem; font-size: 0.82rem; font-weight: 600; color: var(--blue); }

/* ── CTA Section ────────────────────────────────── */
.cta { padding: 8rem 0; background: var(--navy-deep); position: relative; overflow: hidden; text-align: center; }
.cta__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(26, 123, 181, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(212, 162, 78, 0.08) 0%, transparent 50%);
}
.cta__content { position: relative; z-index: 2; }
.cta__title { color: var(--white); margin-bottom: 1rem; }
.cta__title em { color: var(--gold); font-style: italic; }
.cta__desc { font-size: 1.1rem; color: rgba(255,255,255,0.5); max-width: 500px; margin: 0 auto 2.5rem; font-weight: 300; }
.cta__actions { display: flex; gap: 1rem; justify-content: center; align-items: center; flex-wrap: wrap; }

/* ── Testimonial ────────────────────────────────── */
.testimonial-card {
  background: var(--white); border-radius: 20px; padding: 3rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
  border: 1px solid var(--border);
  max-width: 700px; margin: 0 auto; text-align: center;
}
.testimonial-card__stars { color: var(--gold); font-size: 1.2rem; letter-spacing: 0.1em; margin-bottom: 1.5rem; }
.testimonial-card__text { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.6; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-card__author { font-size: 0.9rem; font-weight: 600; }
.testimonial-card__role { font-size: 0.82rem; color: var(--text-light); }

/* ── Security ───────────────────────────────────── */
.security { display: flex; align-items: center; gap: 2.5rem; justify-content: center; padding: 3rem 0; flex-wrap: wrap; }
.security__item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.82rem; color: var(--text-light); font-weight: 500; }
.security__icon { width: 36px; height: 36px; border-radius: 8px; background: var(--bg-cool); display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--blue); }

/* ── Page Content ───────────────────────────────── */
.page-content { padding: 4rem 0; }
.page-content h2 {
  margin-bottom: 1rem; color: var(--text);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-align: center;
}
.page-content h3 { margin-bottom: 0.8rem; margin-top: 2rem; color: var(--text); text-align: center; }
.page-content p { color: var(--text-mid); font-size: 1rem; }
.page-content ul { color: var(--text-mid); margin-bottom: 1.5rem; }
.page-content a { color: var(--blue); font-weight: 500; transition: color 0.2s; }
.page-content a:hover { color: var(--gold); }
.page-content blockquote {
  border-left: 3px solid var(--gold); padding-left: 1.5rem;
  font-family: var(--font-display); font-size: 1.3rem;
  line-height: 1.5; margin: 2rem 0;
}

/* ── FAQ ────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--border); padding: 1.5rem 0; }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  font-family: var(--font-body); font-weight: 700; font-size: 1.05rem;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  color: var(--text);
}
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--gold); transition: transform 0.3s; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-out); color: var(--text-mid); padding-right: 2rem; }
.faq-item.active .faq-answer { max-height: 500px; padding-top: 1rem; }

/* ── Footer ─────────────────────────────────────── */
.footer { background: var(--navy-deep); border-top: 1px solid rgba(255,255,255,0.06); padding: 4rem 0 2rem; color: rgba(255,255,255,0.5); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer__brand { max-width: 280px; }
.footer__logo { display: flex; align-items: center; margin-bottom: 1.5rem; }
.footer__logo-img { height: 48px; width: auto; }
.footer__desc { font-size: 0.85rem; line-height: 1.7; color: rgba(255,255,255,0.4); }
.footer__heading { font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 1.2rem; font-family: var(--font-body); }
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; padding: 0; }
.footer__link { font-size: 0.88rem; color: rgba(255,255,255,0.4); transition: color 0.3s; }
.footer__link:hover { color: var(--gold); }
.footer__link--phone { color: var(--gold) !important; font-weight: 600; font-size: 0.95rem; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: rgba(255,255,255,0.3); }

/* ── Responsive ─────────────────────────────────── */
/* ── Tablet (1024px) ── */
@media (max-width: 1024px) {
  .hero__content { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .pitch { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
  .comparison { grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Mobile (768px) ── */
@media (max-width: 768px) {
  /* Top bar */
  .topbar__text { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar { padding: 0.35rem 0; }

  /* Nav */
  .nav__toggle { display: block; }
  .nav__logo-img { height: 42px; }
  .nav__right {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(6, 15, 26, 0.98);
    backdrop-filter: blur(20px);
    padding: 1.5rem 2rem 2rem;
    z-index: 999;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav__right.active {
    display: block;
  }
  .nav__right .nav__links {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .nav__right .nav__links .nav__item {
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav__right .nav__links .nav__link,
  .nav__right .nav__links .nav__cta {
    display: block;
    padding: 0.8rem 0;
    font-size: 1rem;
  }
  .nav__right .nav__link::after { display: none; }
  .nav__right .nav__cta {
    margin-top: 0.5rem;
    text-align: center;
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
  }

  /* Mobile dropdowns — tap to toggle */
  .nav__dropdown {
    position: static !important;
    display: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 0 0.5rem 1rem !important;
    min-width: auto !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    columns: 1 !important;
  }
  .nav__item--open > .nav__dropdown {
    display: block !important;
  }
  .nav__dropdown a {
    padding: 0.5rem 0;
    font-size: 0.9rem;
  }

  /* Hero */
  .hero { min-height: auto; }
  .hero__content { padding: 3rem 1.5rem; }
  .hero__title { font-size: 2rem; }
  .hero__subtitle { font-size: 0.95rem; }
  .hero__badge { font-size: 0.7rem; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; justify-content: center; text-align: center; }

  /* Sections */
  .section { padding: 3.5rem 0; }
  .section__header { margin-bottom: 2rem; }
  .section__title { font-size: 1.6rem; }
  .pitch { gap: 2rem; }
  .pitch__quote { font-size: 1.15rem; }
  .cta__title { font-size: 1.6rem; }
  .cta__actions { flex-direction: column; gap: 0.8rem; }
  .cta__actions .btn { width: 100%; justify-content: center; }
  .cta { padding: 4rem 0; }
  .stats-card { padding: 1.5rem; }
  .stats-card__number { font-size: 1.5rem; min-width: 40px; }
  .why-grid { gap: 0.8rem; }
  .why-item { padding: 1.2rem; }
  .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ── Small phone (640px) ── */
@media (max-width: 640px) {
  .container { padding: 0 1.2rem; }
  .trust-bar { margin-top: -1.5rem; padding: 0 1rem; }
  .trust-bar__inner { grid-template-columns: 1fr; border-radius: 12px; }
  .trust-bar__item { border-right: none; border-bottom: 1px solid var(--border); padding: 1rem 1.2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }
  .pitch { grid-template-columns: 1fr; }
  .pitch__comparison { grid-template-columns: 1fr; gap: 0.8rem; }
  .pitch__col--highlight { transform: none; }
  .pitch__card { padding: 1.5rem; }
  .comparison { grid-template-columns: 1fr; gap: 1rem; }
  .comparison__col--highlight { padding: 2rem 1.5rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-post-nav { flex-direction: column; gap: 1rem; text-align: center; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .nav__inner { padding: 0 1rem; }
  .nav__logo-img { height: 36px; }
  .testimonial-card { padding: 1.5rem; }
  .testimonial-card__text { font-size: 1.1rem; }
  .hero__content { padding: 2.5rem 1.2rem; }
  .hero__title { font-size: 1.7rem; }
}

/* ── WordPress Overrides ────────────────────────── */
.wp-block-group { margin-bottom: 0; }
.entry-content > * { max-width: none; }
.alignfull { margin-left: 0; margin-right: 0; max-width: none; width: 100%; }
