@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400;1,600&family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --primary:        #3F3FBF;
  --accent:         #9B9BDD;
  --canvas:         #EBEFE4;
  --surface:        #DDE3D2;
  --ink:            #1A1C14;
  --muted:          #5A5F50;
  --border:         rgba(26,28,20,0.12);
  --rule:           #3F3FBF;
  --rule-width:     2px;
  --rule-offset:    48px;

  --font-display:   'Cormorant Garamond', Georgia, serif;
  --font-body:      'IBM Plex Sans', system-ui, sans-serif;
  --font-mono:      'IBM Plex Mono', monospace;

  --section-pad:    clamp(56px, 7vh, 96px);
  --content-max:    1200px;
  --wide-max:       1400px;
}

/* ============================================================
   RESET + UNIVERSAL IMAGE CAP
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

img { max-width: 100%; height: auto; display: block; }

section img:not(.hero-bg):not([class*="full-bleed"]):not([class*="fullbleed"]) {
  max-height: 640px;
  object-fit: cover;
}

.nav img, header img, .header img, .nav-logo img, .logo img {
  max-height: 64px !important;
  max-width: 220px !important;
  width: auto !important;
  align-self: flex-start !important;
  object-fit: contain !important;
  flex: 0 0 auto !important;
}

.footer img, footer img {
  max-height: 48px !important;
  max-width: 200px !important;
  width: auto !important;
  align-self: flex-start !important;
  object-fit: contain !important;
  flex: 0 0 auto !important;
}

.hero { position: relative; overflow: hidden; }
.hero-bg, .hero > img:first-of-type {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-inner, .hero > :not(img):not(.hero-bg):not(.hero-overlay) {
  position: relative; z-index: 2;
}
.hero-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

/* ============================================================
   BASE
   ============================================================ */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Heading anchors — never render as blue links */
h1 a, h2 a, h3 a, .hero-title a, .hero-eyebrow a, .hero-sub a {
  color: inherit;
  text-decoration: none;
  border-bottom: 0;
}
h1 a:hover, h2 a:hover, h3 a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a { color: var(--primary); transition: color 150ms; }
a:hover { color: var(--primary); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ============================================================
   LAYOUT CONTAINERS
   ============================================================ */
.container {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.wide-container {
  max-width: var(--wide-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

/* The persistent left vertical rule — scoped to section-inner */
.section-inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
  padding-block: var(--section-pad);
  position: relative;
}

/* The unbroken indigo spine — a pseudo-element on body */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: calc(var(--rule-offset) + (100vw - var(--content-max)) / 2);
  width: var(--rule-width);
  height: 100vh;
  background: var(--rule);
  z-index: 10;
  pointer-events: none;
}

@media (max-width: 899px) {
  body::before {
    left: 20px;
  }
}

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.eyebrow,
.section-eyebrow,
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
  margin-bottom: 24px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--canvas);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: 0;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 180ms, transform 150ms;
  line-height: 1;
  white-space: nowrap;
}
.btn-primary:hover {
  background: #2e2ea0;
  color: var(--canvas);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 0;
  border: none;
  border-bottom: 2px solid var(--primary);
  cursor: pointer;
  text-decoration: none;
  transition: color 150ms, border-color 150ms;
}
.btn-phone:hover { color: #2e2ea0; border-color: #2e2ea0; text-decoration: none; }
.btn-phone svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ============================================================
   CHIPS
   ============================================================ */
.chip {
  display: inline-block;
  background: var(--primary);
  color: var(--canvas);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 0;
}

.trust-chip {
  display: inline-block;
  background: var(--primary);
  color: var(--canvas);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 0;
  white-space: nowrap;
}

/* ============================================================
   UTILITY BAR
   ============================================================ */
.util-bar {
  background: var(--primary);
  color: var(--canvas);
  position: sticky;
  top: 0;
  z-index: 900;
}

.util-bar-inner {
  max-width: var(--wide-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.util-bar-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.util-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.util-bar-right a {
  color: var(--canvas);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
.util-bar-right a:hover { text-decoration: underline; color: var(--canvas); opacity: 0.8; }

.util-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--canvas);
}

.util-pipe {
  width: 1px;
  height: 14px;
  background: rgba(235,239,228,0.35);
}

/* ============================================================
   NAV
   ============================================================ */
#nav {
  position: sticky;
  top: 40px;
  z-index: 800;
  background: var(--canvas);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--wide-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo:hover { text-decoration: none; }

#navLinks {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
}

#navLinks a {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: color 150ms;
}
#navLinks a:hover { color: var(--primary); text-decoration: none; }

.nav-cta {
  font-family: var(--font-mono) !important;
  font-size: 11px !important;
  letter-spacing: 0.08em !important;
  background: var(--primary) !important;
  color: var(--canvas) !important;
  padding: 8px 16px !important;
  text-transform: uppercase !important;
}
.nav-cta:hover { background: #2e2ea0 !important; color: var(--canvas) !important; }

#nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--ink);
}
#nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 899px) {
  #nav-toggle { display: flex; align-items: center; justify-content: center; }

  #navLinks {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--canvas);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    gap: 0;
    z-index: 799;
  }
  #navLinks.open { display: flex; }
  #navLinks li { width: 100%; }
  #navLinks a {
    display: block;
    padding: 12px clamp(20px, 5vw, 48px);
    border-bottom: 1px solid var(--border);
  }
  #navLinks li:last-child a { border-bottom: none; }
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  display: grid;
  grid-template-columns: 55fr 45fr;
  min-height: calc(100vh - 104px);
  position: relative;
  background: var(--canvas);
  overflow: hidden;
}

.hero-overlay {
  display: none; /* brief specifies no overlay */
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vh, 96px) clamp(20px, 4vw, 56px) clamp(48px, 7vh, 96px) clamp(64px, 6vw, 80px);
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 600;
  font-style: italic;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 24px;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-trust-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.hero-right {
  position: relative;
  overflow: hidden;
}

.hero-right img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none !important;
  display: block;
}

@media (max-width: 899px) {
  #hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-left {
    padding: 48px 20px 40px 32px;
    order: 2;
  }
  .hero-right {
    order: 1;
    height: 55vw;
    min-height: 260px;
    max-height: 420px;
  }
  .hero-right img {
    position: absolute;
  }
  .hero-title { font-size: clamp(44px, 9vw, 64px); }
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
#trust-strip {
  background: var(--canvas);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-strip-inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(64px, 6vw, 80px);
  padding-block: 0;
  height: 80px;
  display: flex;
  align-items: center;
}

.trust-chip-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  width: 100%;
}

.trust-chip-item {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  padding: 0 16px;
}

.trust-divider {
  width: 1px;
  height: 20px;
  background: var(--primary);
  flex-shrink: 0;
}

@media (max-width: 639px) {
  .trust-strip-inner { padding-inline: 20px; height: auto; padding-block: 16px; }
  .trust-chip-row { gap: 8px; }
  .trust-chip-item { padding: 0 8px; }
  .trust-divider { height: 14px; }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-height: 80px !important;
  position: relative;
  z-index: 1;
  background: var(--canvas);
}

.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-item {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(13px, 1.4vw, 18px) !important;
  line-height: 1.2 !important;
  color: var(--muted);
  flex-shrink: 0;
}

.marquee-item strong {
  color: var(--primary);
  font-weight: 700;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background: var(--canvas);
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--surface);
}

.service-row {
  border-bottom: 1px solid var(--surface);
  min-height: 88px;
  display: flex;
  align-items: stretch;
}

.service-row > a {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 16px 24px;
  width: 100%;
  padding: 20px 0;
  color: inherit;
  text-decoration: none;
  transition: background 150ms;
}
.service-row > a:hover { background: rgba(63,63,191,0.03); text-decoration: none; }
.service-row > a:hover .service-name { color: var(--primary); }
.service-row > a:hover .service-arrow { transform: translateX(4px); }

.service-index {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-align: right;
  flex-shrink: 0;
}

.service-name {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 600;
  font-style: italic;
  line-height: 1.1;
  color: var(--ink);
  transition: color 150ms;
}

.service-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-end;
}

.service-desc {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  text-align: right;
  max-width: 32ch;
  line-height: 1.4;
}

.service-arrow {
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 200ms;
  display: flex;
  align-items: center;
}
.service-arrow svg { width: 16px; height: 16px; }

@media (max-width: 639px) {
  .service-row > a {
    grid-template-columns: 36px 1fr;
    grid-template-rows: auto auto;
  }
  .service-meta {
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
  }
  .service-desc { text-align: left; max-width: 100%; }
  .service-index { text-align: left; }
}

/* Service detail panels */
.service-detail {
  margin-top: 0;
  border-top: 1px solid var(--surface);
  padding: 40px 0;
  display: none;
}
.service-detail.active { display: block; }

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.service-detail-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.service-detail-photos img { width: 100%; height: 220px; object-fit: cover; max-height: 220px !important; }

.service-detail-content { padding-top: 8px; }
.service-detail-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 16px;
}
.service-detail-body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 20px;
}

@media (max-width: 899px) {
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-detail-photos { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--canvas); }

.about-grid {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.about-left {
  grid-column: 1;
}

.about-pull {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 600;
  font-style: italic;
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 28px;
}

.about-body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--muted);
  max-width: 62ch;
}

.about-photo {
  grid-column: 2;
  position: relative;
  overflow: hidden;
}
.about-photo img {
  width: 100%;
  max-height: 500px !important;
  object-fit: cover;
}

@media (max-width: 899px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-left { grid-column: 1; }
  .about-photo { grid-column: 1; }
  .about-photo img { max-height: 360px !important; }
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews {
  background: var(--surface);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
  margin-top: 16px;
}

.review-card {
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.review-quote-mark,
.review-glyph {
  font-family: var(--font-mono);
  font-size: 64px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: 12px;
  letter-spacing: 0;
}

.review-quote {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.8vw, 22px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 16px;
}

.review-attribution {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
}

@media (max-width: 899px) {
  .reviews-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   SERVICE AREAS
   ============================================================ */
.service-areas { background: var(--canvas); }

.areas-header {
  margin-bottom: 32px;
}

.areas-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  font-style: italic;
  color: var(--ink);
}

.areas-count {
  color: var(--primary);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: clamp(16px, 2vw, 32px);
}

.area-col,
.state-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.area-state-name,
.state-col-label {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  font-style: italic;
  color: var(--ink);
  line-height: 1.1;
  display: block;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

.area-cities,
.state-cities {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.6;
}

.state-city {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
}

.areas-footer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.areas-footer-note {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.areas-footer-cta { font-size: 13px; }

@media (max-width: 1100px) {
  .areas-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 639px) {
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   FAQ
   ============================================================ */
#faq { background: var(--canvas); }

.faq-list {
  margin-top: 8px;
  border-top: 1px solid var(--border);
}

details.faq,
.faq-list details {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

details.faq > summary,
.faq-list details > summary {
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

details.faq > summary::-webkit-details-marker,
.faq-list details > summary::-webkit-details-marker { display: none; }

details.faq > summary::after,
.faq-list details > summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 20px;
  color: var(--primary);
  transition: transform 200ms;
  flex-shrink: 0;
}

details.faq[open] > summary::after,
.faq-list details[open] > summary::after {
  transform: rotate(45deg);
  color: var(--primary);
}

details.faq p,
.faq-list details p {
  margin-top: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}

.summary-chevron { width: 20px; height: 20px; color: var(--primary); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--canvas); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-form-col { grid-column: 1; }
.contact-info { grid-column: 2; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-input,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"] {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  border-radius: 0;
  outline: none;
  transition: border-color 150ms;
}

.form-input:focus,
input:focus {
  border-bottom-color: var(--primary);
}

.form-textarea,
textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  border-radius: 0;
  outline: none;
  resize: vertical;
  min-height: 100px;
  transition: border-color 150ms;
}

.form-textarea:focus,
textarea:focus { border-bottom-color: var(--primary); }

.form-submit {
  width: 100%;
  background: var(--primary);
  color: var(--canvas);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 16px 28px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background 180ms, transform 150ms;
  text-align: center;
}
.form-submit:hover { background: #2e2ea0; transform: translateY(-1px); }

.contact-phone-link {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  font-style: italic;
  color: var(--ink);
  text-decoration: none;
  display: block;
  margin-bottom: 28px;
  line-height: 1.1;
  transition: color 150ms;
}
.contact-phone-link:hover { color: var(--primary); text-decoration: none; }

.contact-data-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--surface);
}
.contact-data-row:first-of-type { border-top: 1px solid var(--surface); }

.contact-data-label,
.data-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-data-val,
.data-value {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  line-height: 1.5;
}

.contact-data-val a,
.data-value a {
  color: var(--primary);
  text-decoration: none;
}
.contact-data-val a:hover,
.data-value a:hover { text-decoration: underline; }

@media (max-width: 899px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-col { grid-column: 1; }
  .contact-info { grid-column: 1; }
}

/* ============================================================
   RATING BAND (reviews-areas.html)
   ============================================================ */
.rating-band {
  background: var(--canvas);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px clamp(20px, 5vw, 48px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.rating-big {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 600;
  font-style: italic;
  line-height: 1;
  color: var(--primary);
}

.rating-detail {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rating-stars {
  display: flex;
  gap: 4px;
}
.rating-stars svg { width: 20px; height: 20px; color: var(--primary); }

.rating-count {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.rating-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}

.rating-chips {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ============================================================
   PAGE HEADER (secondary pages)
   ============================================================ */
.page-header {
  background: var(--canvas);
  padding: clamp(48px, 7vh, 80px) clamp(20px, 5vw, 48px);
  max-width: var(--content-max);
  margin-inline: auto;
}

.page-header-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 600;
  font-style: italic;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 16px;
}

.page-header-sub {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.6;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--canvas);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--content-max);
  margin-inline: auto;
  padding: 40px clamp(20px, 5vw, 48px) 40px clamp(64px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.footer-mid {
  display: flex;
  gap: 24px;
}
.footer-mid a {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}
.footer-mid a:hover { color: var(--primary); text-decoration: none; }

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.footer-cert {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
}

.footer-socials {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-social-link {
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 150ms;
}
.footer-social-link:hover { color: var(--primary); text-decoration: none; }

@media (max-width: 899px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-left: clamp(32px, 5vw, 48px);
  }
  .footer-right { align-items: flex-start; }
}

/* reviews-areas.html footer (flat) */
footer .footer-logo { margin-bottom: 0; }

/* ============================================================
   ANIMATION UTILITIES
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}
.fade-left {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}
.fade-right {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}
.scale-in {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}

.fade-up.visible,
.fade-left.visible,
.fade-right.visible,
.scale-in.visible {
  opacity: 1;
  transform: none;
}

.stagger.visible > * { opacity: 1; transform: none; }
.stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
}
.stagger > *:nth-child(1)  { transition-delay: 0ms; }
.stagger > *:nth-child(2)  { transition-delay: 60ms; }
.stagger > *:nth-child(3)  { transition-delay: 120ms; }
.stagger > *:nth-child(4)  { transition-delay: 180ms; }
.stagger > *:nth-child(5)  { transition-delay: 240ms; }
.stagger > *:nth-child(6)  { transition-delay: 300ms; }
.stagger > *:nth-child(7)  { transition-delay: 360ms; }
.stagger > *:nth-child(8)  { transition-delay: 420ms; }
.stagger > *:nth-child(9)  { transition-delay: 480ms; }
.stagger > *:nth-child(10) { transition-delay: 540ms; }

/* Pre-visible state on elements that start visible (hero) */
.fade-up.visible,
.fade-left.visible,
.fade-right.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   MOBILE CALL PILL
   ============================================================ */
.mobile-call-pill {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 999;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  box-shadow: 0 18px 40px -10px rgba(0,0,0,0.45);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background 180ms, transform 150ms;
}
.mobile-call-pill:hover { background: #2e2ea0; color: #fff; text-decoration: none; transform: translateY(-2px); }
.mobile-call-pill svg { width: 18px; height: 18px; flex-shrink: 0; }

@media (min-width: 900px) {
  .mobile-call-pill { display: none; }
}

/* ============================================================
   STAT / PROCESS / SERVICE CARD PATTERNS (global)
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  padding: 80px 0;
  text-align: center;
}
.stat-num {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 900;
  line-height: 1;
  color: var(--primary);
}
.stat-label {
  font-size: clamp(11px, 1vw, 14px);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-top: 8px;
  font-family: var(--font-mono);
}

.service-card {
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,0.18);
}

/* ============================================================
   TABLE — thead-only dark headers
   ============================================================ */
.services-table { border-collapse: collapse; width: 100%; }
.services-table thead .col-service,
.services-table thead .col-desc,
.services-table thead .col-timeline,
.services-table thead .col-price {
  background: var(--ink);
  color: var(--canvas);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 16px;
}
.services-table tbody td {
  background: var(--canvas);
  color: var(--ink);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 15px;
}

/* ============================================================
   PROCESS STRIP
   ============================================================ */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}
.process-step {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 0;
}
.step-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: 0.12em;
  font-family: var(--font-mono);
}

/* ============================================================
   DEFENSIVE OVERRIDES
   ============================================================ */

/* SVG caps inside flex/grid */
svg { max-width: 100%; }
.service-arrow svg,
.btn-phone svg,
.nav svg,
#nav-toggle svg,
.summary-chevron { width: 24px; height: 24px; }
.service-arrow svg { width: 16px; height: 16px; }
.review-stars svg,
.rating-stars svg { width: 20px; height: 20px; }

/* Flip utility — layout only */
.flip { direction: rtl; }
.flip > * { direction: ltr; }

/* Active state for nav */
#navLinks a[aria-current="page"] {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 2px;
}

/* ============================================================
   MEDIA — general mobile pass
   ============================================================ */
@media (max-width: 639px) {
  .trust-chip-item { font-size: 10px; padding: 0 8px; }
  .hero-ctas { flex-direction: column; align-items: flex-start; gap: 12px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  body::before { display: none; }
}

@media (min-width: 640px) and (max-width: 899px) {
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
}

@media (min-width: 900px) {
  .areas-grid { grid-template-columns: repeat(7, 1fr); }
}


/* === Validator patches (auto-applied) === */
/* validator patch: grid children without placement → span full row */
.service-detail-photos { grid-column: 1 / -1; }
.service-detail-content { grid-column: 1 / -1; }
.fade-up { grid-column: 1 / -1; }
.footer-left { grid-column: 1 / -1; }
.footer-right { grid-column: 1 / -1; }
.state-col { grid-column: 1 / -1; }
.contact-form { grid-column: 1 / -1; }
/* validator patch: never hide a wrapper that contains a heading */
.service-detail { display: block !important; }
