/* ═══════════════════════════════════════════════
   HOLLIS HOME INSPECTION — Design System
   Professional · Traditional · Minimal
   All styles — no Tailwind dependency
   ═══════════════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  color: #4d5566;
  line-height: 1.7;
  letter-spacing: 0.01em;
  margin: 0;
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  font: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

::selection {
  background: #b0c9e4;
  color: #0f1f3d;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #eceef1;
}

::-webkit-scrollbar-thumb {
  background: #7ba3cf;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2d5a8e;
}

/* ── Shared Layout ── */
.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-lg {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-sm {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {

  .container,
  .container-lg,
  .container-sm {
    padding: 0 3rem;
  }
}

/* ── Section Label (eyebrow) ── */
.section-label {
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-label--gold {
  color: #c9972e;
}

.section-label--gold-light {
  color: #d4a84a;
}

/* ── Section Heading ── */
.section-heading {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 400;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.section-heading--dark {
  color: #162a4a;
}

.section-heading--white {
  color: #fff;
}

@media (min-width: 768px) {
  .section-heading {
    font-size: 2.65rem;
  }
}

@media (min-width: 1024px) {
  .section-heading {
    font-size: 3.25rem;
  }
}

/* ── Sub Heading ── */
.sub-heading {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 500;
}

/* ── Section Divider ── */
.section-divider {
  width: 60px;
  height: 1px;
  background: #c9972e;
  margin: 1.5rem auto;
}

.section-rule {
  width: 4rem;
  height: 1px;
  background: #c9972e;
}

/* ── Body Text ── */
.body-text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #4d5566;
  letter-spacing:-1px;
}

.body-text--light {
  color: #b0b5bf;
}

.body-text--muted {
  color: #6b7280;
}

@media (min-width: 768px) {
  .body-text {
    font-size: 1rem;
  }
}

/* ══════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════ */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.5s ease-out;
}

.navbar-transparent {
  background: transparent;
  backdrop-filter: none;
}

.navbar-solid {
  background: rgba(250, 249, 247, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

@media (min-width: 1024px) {
  .nav-inner {
    padding: 0 3rem;
  }
}

.nav-logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: opacity 0.5s ease, width 0.5s ease, margin 0.5s ease;
}

/* Hide logo when hero is in view */
.navbar-transparent .nav-logo-link {
  opacity: 0;
  pointer-events: none;
  width: 0;
  overflow: hidden;
}

@media (min-width: 768px) {
  .navbar-transparent .nav-inner {
    justify-content: center;
  }
}

.nav-logo {
  height: 3.5rem;
  transition: all 0.5s;
}

.logo-bright {
  filter: brightness(1);
}

.logo-dark {
  filter: brightness(0);
  opacity: 0.8;
}

/* Desktop nav links container */
.nav-links {
  display: none;
  align-items: center;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

/* Desktop nav link */
.desktop-nav-link {
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s, opacity 0.3s;
  text-align: center;
}

/* Gentle underline slide-in on hover */
.desktop-nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  transition: width 0.35s ease;
}

.nav-link-white::after {
  background: rgba(255, 255, 255, 0.7);
}

.nav-link-dark::after {
  background: #c9972e;
}

.desktop-nav-link:hover::after {
  width: 100%;
}

.desktop-nav-link:hover {
  opacity: 0.85;
}

.nav-link-white {
  color: white;
}

.nav-link-dark {
  color: #162a4a;
}

/* Mobile menu toggle */
.mobile-toggle {
  display: block;
  padding: 0.5rem;
  transition: color 0.3s;
  cursor: pointer;
}

@media (min-width: 768px) {
  .mobile-toggle {
    display: none;
  }
}

.toggle-white {
  color: white;
}

.toggle-dark {
  color: #162a4a;
}

.toggle-icon {
  width: 1.5rem;
  height: 1.5rem;
}

/* Mobile menu */
.mobile-menu {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
  background: rgba(250, 249, 247, 0.98);
  backdrop-filter: blur(16px);
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none;
  }
}

.mobile-menu.open {
  max-height: 24rem;
  opacity: 1;
}

.mobile-menu-inner {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  display: block;
  color: #162a4a;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Nav phone link */
.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: opacity 0.3s;
}

.nav-phone:hover {
  opacity: 0.75;
}

.navbar-transparent .nav-phone {
  color: white;
}

.navbar-solid .nav-phone {
  color: #162a4a;
}

/* Mobile: icon only */
.nav-phone-tablet,
.nav-phone-desktop {
  display: none;
  padding-right:2rem;
}

/* Mobile: email icon — hidden on tablet+ */
.nav-email {
  display: none;
}

/* Mobile: larger icons anchored to the right */
@media (max-width: 767px) {
  .nav-phone {
    margin-left: auto;
    margin-right: 2rem;
  }
  .nav-phone svg {
    width: 26px;
    height: 26px;
  }
  .nav-email {
    display: flex;
    align-items: center;
    margin-right: 0.7rem;
    transition: opacity 0.3s;
  }
  .nav-email svg {
    width: 26px;
    height: 26px;
  }
  .nav-email:hover {
    opacity: 0.75;
  }
  .navbar-transparent .nav-email {
    color: white;
  }
  .navbar-solid .nav-email {
    color: #162a4a;
  }
}

/* Tablet (768px+): icon + "Call Now" */
@media (min-width: 768px) {
  .nav-phone-tablet {
    display: inline;
  }
}

/* Desktop (1024px+): icon + full number */
@media (min-width: 1024px) {
  .nav-phone-tablet {
    display: none;
  }
  .nav-phone-desktop {
    display: inline;
  }
}

/* ══════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url(images/hero.jpg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding-bottom: 5rem;
}

@media (min-width: 768px) {
  #hero {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.6));
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center top;
  padding: 0 1.5rem;
  max-width: 70rem;
  margin: 1rem auto;
}

.hero-logo-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: nowrap;
  width: 100%;
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .hero-logo-row {
    gap: 2rem;
    margin-bottom: 2rem;
  }
}

.hero-logo {
  margin: 0;
  width: clamp(8rem, 40vw, 26rem);
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 4px rgba(0, 0, 0, 0.59));
  display: block;
  flex-shrink: 1;
  min-width:120px;

}

.hero-card {
  display: flex;
  flex-direction: column;
  text-align:left;
  background: linear-gradient(135deg, #1e3a5fe0 0%, #162a4ae1 100%);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin: 2rem auto;
  max-width: 48rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
  .hero-card {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem;
    max-width: 64rem;
    margin: 2.5rem auto;
  }
}

@media (min-width: 1024px) {
  .hero-card {
    gap: 3rem;
    padding: 3rem;
    max-width: 72rem;
  }
}

.hero-card-left {
  flex: 0 0 auto;
  min-width: 0;
  border-bottom: 1px solid #c9972e;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .hero-card-left {
    flex: 0 1 35%;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
    border-right: 2px solid #c9972e;
    padding-right: 2rem;
  }
}

.hero-card-right {
  flex: 1;
  min-width: 0;
}

.hero-card-divider {
  display: none;
}

@media (min-width: 768px) {
  .hero-card-divider {
    display: none;
  }
}

.hero-headline {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 2rem;
  font-weight: 400;
  color: #fff;
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin-bottom: .5rem;
}

@media (min-width: 768px) {
  .hero-headline {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-headline {
    font-size: 3rem;
  }
}

.hero-supporting-text {
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);

  margin: 0;
  line-height: 1.7;
  letter-spacing: 0.005em;
}

@media (min-width: 768px) {
  .hero-supporting-text {
    font-size: 0.9rem;
  }
}

@media (min-width: 1024px) {
  .hero-supporting-text {
    font-size: 0.95rem;
  }
}

.hero-contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  align-items: flex-start;
  text-align: left;
  background: #fff;
  padding: 0.75rem 1rem;
  border-top: 2px solid #c9972e;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .hero-contact-links {
    padding: 1rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-contact-links {
    padding: 1.25rem 1.75rem;
  }
}

.hero-contact-label {
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #c9972e;
  margin-bottom: 0.4rem;
}

.hero-contact-link {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  color: #162a4a;
  text-decoration: none;
  letter-spacing: 0.01em;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.hero-contact-link:hover {
  color: #c9972e;
}

.hero-cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .hero-cta-row {
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: row;
  gap: 0.875rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .hero-buttons {
    flex-direction: row;
    gap: 1.5rem;
  }
}

.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .btn {
    padding: 1rem 2.25rem;
    font-size: 1rem;
  }
}

.btn-primary {
  background-color: #c9972e;
  color: #fff;
  border: 2px solid #c9972e;
  font-size: 0.8rem;
}

.btn-primary:hover {
  background-color: #b08620;
  border-color: #b08620;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(201, 151, 46, 0.3);
}

.btn-text-green {
  background-color: #2e7d32;
  color: #fff;
  border: 2px solid #2e7d32;
  font-size: 0.8rem;
}

.btn-text-green:hover {
  background-color: #1b5e20;
  border-color: #1b5e20;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(46, 125, 50, 0.35);
}

.btn-secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.2);
}

.hero-review-badges {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .hero-review-badges {
    align-items: stretch;
    margin-top: 0;
    gap: 0.75rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  opacity: 0.9;
}

.hero-badge:hover {
  transform: translateY(-3px);
  opacity: 1;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.hero-badge img {
  height: 45px;
  width: auto;
  display: block;
}

@media (min-width: 768px) {
  .hero-badge img {
    height: 100%;
    width: auto;
  }
}

.hero-tagline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  margin: 0;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  letter-spacing: 0.06em;
  color: #162a4a;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  background: rgba(255, 255, 255, 0.94);
  padding: 1.125rem 2rem;
  border-top: 2px solid #c9972e;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
}

.hero-tagline-counties {
  display: block;
  font-size: 0.75em;
  letter-spacing: 0.05em;
  color: #4d6a8a;
  margin-top: 0.5rem;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .hero-tagline {
    font-size: 1.5rem;
    padding: 1.25rem 3rem;
  }
}

.hero-scroll-cta {
  margin-top: 4rem;
}

.hero-scroll-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s;
}

.hero-scroll-link:hover {
  color: rgba(255, 255, 255, 0.9);
}

.hero-scroll-icon {
  width: 1.25rem;
  height: 1.25rem;
  animation: bounce 1s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-25%);
  }
}

/* Hero entrance animations */
.hero-logo-anim {
  opacity: 0;
  animation: fadeIn 1.5s ease 0.3s forwards;
}

.hero-tagline-anim {
  opacity: 0;
  animation: fadeUp 1s ease 0.8s forwards;
}

.hero-scroll-anim {
  opacity: 0;
  animation: fadeIn 1s ease 1.5s forwards;
}

/* ══════════════════════════════════════════════
   TEAM
   ══════════════════════════════════════════════ */
#team {

  background-image: url(images/planBG_1920-01.webp);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 7rem 0;
}

@media (min-width: 768px) {
  #team {
    padding: 5rem 0;
  }
}

@media (max-width: 767px) {
  #hero {
    align-items: flex-start;
    padding-top: 4rem;
  }
}

.team-header {
  text-align: center;
  margin-bottom: 0rem;
}

.team-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: 280px 1fr;
    max-width: none;
  }
}

.team-card-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .inspector-card {
    padding: 0;
    overflow: hidden;
  }

  .card-layout {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .card-avatar {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: relative;
    flex-shrink: 0;
    border-radius: 0;
  }

  .card-avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }

  .card-info {
    padding: 0.75rem;
    text-align: center;
  }
}

@media (min-width: 1024px) {
  .team-card-list {
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 8rem;
  }
}

.inspector-card {
  text-align: center;
  padding: 0.75rem;
  border-radius: 2px;
  cursor: pointer;
  border: 1px solid transparent;
  flex: none;
  width: 100%;
  min-width: 0;
  transition: all 0.4s ease;
}

@media (min-width: 1024px) {
  .inspector-card {
    padding: 1.25rem;
    flex: none;
    width: 100%;
  }
}

.inspector-card.active {
  background: rgba(30, 58, 95, 0.5);
  border-color: rgba(201, 151, 46, 0.4);
}

.inspector-card:not(.active) {
  background: rgba(22, 42, 74, 0.4);
  border-color: rgba(30, 58, 95, 0.3);
}

.inspector-card:not(.active):hover {
  background: rgba(22, 42, 74, 0.7);
  border-color: rgba(39, 75, 118, 0.4);
}

.card-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.card-avatar {
  width: 5rem;
  height: 6rem;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
  background: #1e3a5f;
}

.card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.card-info {
  min-width: 0;
}

.card-name {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.125rem;
}

.card-title {
  color: #8b929e;
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.card-license {
  color: #7ba3cf;
  font-size: 0.75rem;
  line-height: 1.75;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: none;
}

@media (min-width: 1024px) {
  .card-license {
    display: block;
  }
}

#inspector-detail {
  background: rgba(22, 42, 74, 0.3);
  border: 1px solid rgba(30, 58, 95, 0.3);
  border-radius: 2px;
  padding: .5rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  #inspector-detail {
    padding: 1rem;
  }
}

.inspector-panel {
  display: none;
  animation: fadeIn 0.5s ease;
}

.inspector-panel.active {
  display: block;
}

/* ══════════════════════════════════════════════
   REVIEWS
   ══════════════════════════════════════════════ */
#reviews {
  background: #0f1f3d;
  padding: 5rem 0 0;
  min-height: 60vh;
}

.reviews-layout {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .reviews-layout {
    flex-direction: row;
    align-items: flex-start;
  }
}

.reviews-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .reviews-header {
    width: 33.333%;
    flex-shrink: 0;
    text-align: left;
    margin-bottom: 0;
    padding: 0 2rem 3.5rem 3rem;
    position: sticky;
    top: 8rem;
  }
}

@media (min-width: 1024px) {
  .reviews-header {
    padding: 0 3rem 3.5rem 3rem;
  }
}

.reviews-header .section-divider {
  margin: 1.5rem auto;
}

@media (min-width: 768px) {
  .reviews-header .section-divider {
    margin: 1.5rem 0;
  }
}

.reviews-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin: 1.5rem auto;
}

@media (min-width: 768px) {
  .reviews-badges {
    justify-content: flex-start;
    margin: 1.5rem 0;
  }
}

.review-badge {
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}

.review-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.review-badge img {
  height: 40px;
  width: auto;
  display: block;
}

.reviews-aggregate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
  color: #fff;
}

@media (min-width: 768px) {
  .reviews-aggregate {
    justify-content: flex-start;
  }
}

.reviews-aggregate .reviews-aggregate-score {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #fff;
  line-height: 1;
}

.reviews-aggregate .reviews-aggregate-stars {
  color: #c9972e;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.reviews-aggregate .reviews-aggregate-count {
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
}

.reviews-sample-report {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .reviews-sample-report {
    justify-content: flex-start;
  }
}

/* Carousel outer: contains the track and provides edge fade */
.reviews-carousel-outer {
  position: relative;
  padding: 0 0 3.5rem;
}

@media (min-width: 768px) {
  .reviews-carousel-outer {
    flex: 1;
    min-width: 0;
  }
}

.reviews-carousel-outer::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 6rem;
  height: calc(100% - 3.5rem);
  background: linear-gradient(to right, transparent, #0f1f3d);
  pointer-events: none;
  z-index: 2;
}

/* Scrollable track */
.reviews-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 1.25rem;
  padding: 0 1.5rem 1.25rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #c9972e rgba(255, 255, 255, 0.06);
  cursor: grab;
  user-select: none;
}

.reviews-grid.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.reviews-grid::-webkit-scrollbar {
  height: 2px;
}

.reviews-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}

.reviews-grid::-webkit-scrollbar-thumb {
  background: #c9972e;
  border-radius: 1px;
}

@media (min-width: 1024px) {
  .reviews-grid {
    padding: 0 3rem 1.25rem;
    gap: 1.5rem;
  }
}

/* Cards: 1 visible on mobile, 2 on tablet, exactly 3 on desktop */
.review-card {
  flex: 0 0 85%;
  scroll-snap-align: start;
  border-top: 2px solid #c9972e;
  padding: 1.75rem 1.5rem 1.5rem;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  min-width:360px;
  min-height:30vh;
  max-height: 60vh;
}

@media (min-width: 640px) {
  .review-card {
    flex: 0 0 calc((100% - 1.25rem) / 2);
    min-width: 400px;
    max-height: 50vh;
  }
}

@media (min-width: 1024px) {
  .review-card {
    flex: 0 0 calc((100% - 3rem) / 3);
    min-width: 400px;
    max-height: 50vh;
  }
}

.review-mark {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 3.5rem;
  line-height: 0.9;
  color: #c9972e;
  display: block;
  margin-bottom: 0.2rem;
}

/* Serif, paragraph-style review text */
.review-text {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.2rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.85;
  color: #1a2847;
  margin: 0 0 1.25rem;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #c9972e rgba(255, 255, 255, 0.06);
}

.review-text::-webkit-scrollbar {
  width: 2px;
}

.review-text::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.04);
}

.review-text::-webkit-scrollbar-thumb {
  background: #c9972e;
  border-radius: 1px;
}

.review-text p {
  margin-bottom: 0.8em;
}

.review-text p:last-child {
  margin-bottom: 0;
}

/* Compact byline — padding/background override the bare `footer` element rule */
.review-byline {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0 0 0 0.875rem;
  background: none;
  border-left: 1px solid rgba(201, 151, 46, 0.6);
}

.review-byline-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.review-name {
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1a2847;
}

.review-location {
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: 0.65rem;
  color: rgba(26, 40, 71, 0.6);
  letter-spacing: 0.04em;
}

.review-stars {
  color: #c9972e;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════════ */
#services {
  position: relative;
  overflow: hidden;
}

.services-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.services-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 31, 61, 0.3);
}

.service-bg-img {
  margin-left: auto;
  margin-top: auto;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.7s ease;
  opacity: 0;
}

.service-bg-img.active {
  opacity: 1;
}

img[data-service="buyers"],
img[data-service="buyers-2"],
img[data-service="buyers-3"],
img[data-service="buyers-4"],
img[data-service="buyers-5"] {
  object-position: right center;
}

img[data-service="consultation"] {
  object-fit: cover;
  object-position: left center;
}

img[data-service="air"] {
  object-position: top;
}

.services-content {
  position: relative;
  z-index: 10;
}

.services-header-bar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(209, 213, 219, 0.6);
}

.services-header-inner {
  padding-top: 4rem;
  padding-bottom: 1.5rem;
}

.services-title-block {
  text-align: center;
  margin-bottom: 1rem;
}

#service-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 0.25rem;
}

.service-tab {
  cursor: pointer;
  padding: 0.5rem 0.5rem;
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: 0.8rem;
  letter-spacing: -.025em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

@media (min-width: 1024px) {
  .service-tab {
    font-size: 0.8rem;
    padding: 0.625rem .425rem;
  }
}



.service-tab.active {
  color: #162a4a;
  border-color: #c9972e;
  font-weight: 600;
}

.service-tab:not(.active) {
  color: #8b929e;
}

.service-tab:not(.active):hover {
  color: #274b76;
  border-color: #b0b5bf;
}

/* ══════════════════════════════════════════════
   ETHICS
   ══════════════════════════════════════════════ */
#ethics {
  position: relative;
  background-image: url(images/neighborhood.webp);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.ethics-bg img {
  display: none;
}

.ethics-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.85);
}


.ethics-content {
  position: relative;
  z-index: 10;
  padding: 7rem 0;
}

@media (min-width: 768px) {
  .ethics-content {
    padding: 9rem 0;
  }
}

.ethics-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .ethics-grid {
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
  }
}

.ethics-heading-col {}

@media (min-width: 1024px) {
  .ethics-heading-col {
    position: sticky;
    top: 8rem;
  }
}

.ethics-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ethics-body p {
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  letter-spacing: -1px;
  color: #b0b5bf;
  font-size: 1rem;
  line-height: 1.75;
}

@media (min-width: 768px) {
  .ethics-body p {
    font-size: 1.2rem;
  }
}

.ethics-ornament {
  margin-top: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.ethics-ornament-line {
  width: 4rem;
  height: 1px;
  background: #274b76;
}

.ethics-ornament-diamond {
  width: 0.5rem;
  height: 0.5rem;
  transform: rotate(45deg);
  border: 1px solid #c9972e;
}

/* ══════════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════════ */
#faq {
  background: #faf9f7;
  padding: 7rem 0;
}

@media (min-width: 768px) {
  #faq {
    padding: 9rem 0;
  }
}

.faq-header {
  text-align: center;
  margin-bottom: 4rem;
}

.faq-item {
  border-bottom: 1px solid rgba(209, 213, 219, 0.8);
}

.faq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  text-align: left;
  cursor: pointer;
}

@media (min-width: 768px) {
  .faq-toggle {
    padding: 1.75rem 0;
  }
}

.faq-question {
  color: #162a4a;
  font-size: 1.125rem;
  padding-right: 2rem;
  transition: color 0.3s;
}

@media (min-width: 768px) {
  .faq-question {
    font-size: 1.25rem;
  }
}

.faq-toggle:hover .faq-question {
  color: #274b76;
}

.faq-icon {
  flex-shrink: 0;
  color: #c9972e;
  transition: transform 0.3s ease;
}

.faq-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.faq-icon.rotated {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, opacity 0.5s ease-out, padding 0.5s ease-out;
  padding-bottom: 0;
}

.faq-answer.open {
  max-height: 200rem;
  opacity: 1;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.75;
  padding-right: 3rem;
}

.faq-answer p a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.faq-answer p a:hover {
  color: #1d4ed8;
}

/* ══════════════════════════════════════════════
   CALL TO ACTION
   ══════════════════════════════════════════════ */
.cta-section {
  background: #0f1f3d;
}

.cta-layout {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .cta-layout {
    grid-template-columns: 1fr 1fr;
    min-height: 65vh;
  }
}

.cta-content {
  align-items: center;
}

@media (min-width: 768px) {
  .cta-content {
    padding: 6rem 3rem 6rem 4rem;
  }
}

@media (min-width: 1024px) {
  .cta-content {
    padding: 7rem 4rem 7rem 5rem;
  }
}

@media (min-width: 1280px) {
  .cta-content {
    padding: 8rem 4rem 8rem 8rem;
  }
}

.cta-inner {
  max-width: 34rem;
}

.cta-divider {
  width: 60px;
  height: 1px;
  background: #c9972e;
  margin: 1.5rem 0;
}

.cta-text {
  color: #b8c4d6;
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.cta-hours {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #c9972e;
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.cta-hours-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  opacity: 0.85;
}

.cta-phone {
  margin-bottom: 2rem;
}

.cta-phone-link {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: #d4a84a;
  letter-spacing: 0.04em;
  transition: color 0.3s;
  display: inline-block;
}

.cta-phone-link:hover {
  color: #f0c56a;
}

@media (min-width: 768px) {
  .cta-phone-link {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .cta-phone-link {
    font-size: 3.5rem;
  }
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

@media (min-width: 480px) {
  .cta-buttons {
    flex-direction: row;
    gap: 1.25rem;
  }
}

.btn-cta-call {
  background-color: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.45);
}

.btn-cta-call:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.12);
}

.btn-cta-text {
  background-color: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.45);
}

.btn-cta-text:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.12);
}

/* background-attachment:fixed is unsupported on iOS/Android — override to scroll */
@media (max-width: 1023px) {
  #hero,
  #ethics {
    background-attachment: scroll;
  }
}

@media (max-width: 767px) {
  .cta-content {
    padding: 3rem 1.5rem;
  }

  .cta-inner {
    padding: 0;
  }
}

/* ── Contact Form Panel ── */
.cta-form-panel {
  background: rgba(255, 255, 255, 0.04);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form {
  width: 100%;
  max-width: 34rem;
}

@media (min-width: 768px) {
  .cta-form-panel {
    padding: 5rem 3rem;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .cta-form-panel {
    padding: 6rem 4rem;
  }
}

.contact-form .section-label {
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-label {
  display: block;
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.35rem;
}

.form-required {
  color: #c9972e;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: 0.875rem;
  padding: 0.6rem 0.85rem;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.22);
}

.form-input:focus {
  border-color: #c9972e;
  background: rgba(255, 255, 255, 0.09);
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.25rem;
}

.form-select option {
  background: #162a4a;
  color: #fff;
}

.form-textarea {
  resize: vertical;
  min-height: 5.5rem;
  line-height: 1.6;
}

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
  justify-content: center;
}

.form-submit .form-submit-loading {
  display: none;
}

.form-submit.sending .form-submit-text {
  display: none;
}

.form-submit.sending .form-submit-loading {
  display: inline;
}

.form-submit.sending {
  opacity: 0.65;
  pointer-events: none;
}

.form-success,
.form-error {
  display: none;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 2px;
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: 0.825rem;
  line-height: 1.5;
}

.form-success.visible {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(201, 151, 46, 0.12);
  border: 1px solid rgba(201, 151, 46, 0.3);
  color: #f0c56a;
}

.form-success svg {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
}

.form-error.visible {
  display: block;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: #fca5a5;
}

.form-error a {
  color: #f0c56a;
  text-decoration: underline;
}

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
footer {
  background: #0a1628;
  padding: 4rem 0;
}

@media (min-width: 768px) {
  footer {
    padding: 2rem 0;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-grid > *:first-child {
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid > *:first-child {
    grid-column: auto;
  }
}

.footer-logo {
  height: 4rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.footer-contact-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.footer-phone {
  color: #fff;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-decoration: none;
  opacity: 0.9;
  transition: color 0.2s ease;
}

.footer-phone:hover {
  color: #f0c56a;
}

.footer-email {
  color: #c9972e;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-email:hover {
  color: #f0c56a;
}

.footer-hours {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #c9972e;
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.footer-hours-icon {
  width: 0.85rem;
  height: 0.85rem;
  flex-shrink: 0;
}

.footer-desc {
  color: #8b929e;
  font-size: 0.7rem;
  line-height: 1.75;
}

.footer-desc--cities {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.35rem;
}

.footer-heading {
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding-bottom:1rem;
  border-bottom: 1px solid rgba(255, 214, 34, 0.6);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: #8b929e;
  font-size: 0.875rem;
  transition: color 0.3s;
}

.footer-link:hover {
  color: #d4a84a;
}

.footer-external-links {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  opacity: 0.65;
  transition: opacity 0.3s;
}

.footer-link-icon:hover .footer-brand-icon {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid #162a4a;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-copyright {
  color: #6b7280;
  font-size: 0.75rem;
}

.footer-tagline {
  color: #4d5566;
  font-size: 0.75rem;
}

/* ══════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ══════════════════════════════════════════════ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.reveal,
.reveal-left,
.reveal-right,
.reveal-fade {
  opacity: 0;
}

.reveal.visible {
  animation: fadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.reveal-left.visible {
  animation: slideInLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.reveal-right.visible {
  animation: slideInRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.reveal-fade.visible {
  animation: fadeIn 1s ease forwards;
}

.stagger-children.visible>* {
  opacity: 0;
  animation: fadeUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.stagger-children.visible>*:nth-child(1) {
  animation-delay: 0s;
}

.stagger-children.visible>*:nth-child(2) {
  animation-delay: 0.1s;
}

.stagger-children.visible>*:nth-child(3) {
  animation-delay: 0.2s;
}

.stagger-children.visible>*:nth-child(4) {
  animation-delay: 0.3s;
}

.stagger-children.visible>*:nth-child(5) {
  animation-delay: 0.4s;
}

.stagger-children.visible>*:nth-child(6) {
  animation-delay: 0.5s;
}

.stagger-children.visible>*:nth-child(7) {
  animation-delay: 0.6s;
}

/* ══════════════════════════════════════════════
   INSPECTOR DETAIL (JS-generated)
   ══════════════════════════════════════════════ */

/* Top section: portrait + info side by side */
.detail-top {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(30, 58, 95, 0.4);
}

@media (min-width: 768px) {
  .detail-top {
    gap: 2rem;
  }
}

/* Portrait image */
.detail-portrait {
  flex-shrink: 0;
  width: 7rem;
  border-radius: 3px;
  overflow: hidden;
  background: #1e3a5f;
  border: 1px solid rgba(30, 58, 95, 0.5);
}

@media (min-width: 768px) {
  .detail-portrait {
    width: 11rem;
    height: 11rem;
  }
}

@media (min-width: 1024px) {
  .detail-portrait {
    width: 12rem;
    height: 12rem;
  }
}

.detail-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Info stack (right of portrait) */
.detail-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
  min-width: 0;
}

@media (min-width: 768px) {
  .detail-info {
    gap: 1rem;
  }
}

.detail-header {
  margin-bottom: 0;
}

.detail-name {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

@media (min-width: 480px) {
  .detail-name {
    font-size: 1.5rem;
  }
}

@media (min-width: 768px) {
  .detail-name {
    font-size: 1.75rem;
  }
}

.detail-title {
  color: #d4a84a;
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Vertical contact stack */
.detail-contact-stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .detail-contact-stack {
    gap: 0.375rem;
  }
}

.detail-contact-stack a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #b0b5bf;
  font-size: 0.75rem;
  transition: color 0.3s;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-all;
}

@media (min-width: 480px) {
  .detail-contact-stack a {
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  .detail-contact-stack a {
    font-size: 1rem;
    word-break: normal;
    overflow-wrap: normal;
  }
}

.detail-contact-stack a:hover {
  color: #d4a84a;
}

.detail-contact-stack svg {
  width: 1rem;
  height: 1rem;
  color: #c9972e;
  flex-shrink: 0;
}

.detail-license {
  color: #7ba3cf;
  font-size: 0.7rem;
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: break-word;
}

@media (min-width: 768px) {
  .detail-license {
    font-size: 0.9rem;
  }
}

.detail-bio {
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  color: #b0b5bf;
  font-size: 1rem;
  line-height: 1.75;
  letter-spacing: -1px;
  margin-bottom: 2rem;
}


.detail-quals {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .detail-quals {
    grid-template-columns: 1fr 1fr;
  }
}

.detail-quals h4 {
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  color: #fff;
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.detail-quals ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.detail-quals li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #8b929e;
  font-size: 0.875rem;
}

.detail-quals li .dash {
  color: #c9972e;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

/* ─── Service Area Map ─── */
.map-section {
  background: #0f1f3d;
  padding-top: 5rem;
  padding-bottom: 0;
  position: relative;
  z-index: 0;
  isolation: isolate;
}

.map-section-header {
  text-align: center;
  padding-bottom: 2.5rem;
}

.map-section-title {
  color: #fff;
}

.map-counties-list {
  color: rgba(255, 255, 255, 0.45);
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  margin-top: 1rem;
  line-height: 1.9;
}

.service-map-container {
  width: 100%;
  height: 500px;
}

@media (max-width: 768px) {
  .service-map-container {
    height: 340px;
  }
}

.service-map-container .leaflet-control-zoom {
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  margin: 0 16px 16px 0;
}

.service-map-container .leaflet-control-zoom a {
  background: #fff;
  color: #1e3a5f;
  border: none;
  border-bottom: 1px solid #e5e5e5;
  font-weight: 600;
}

.service-map-container .leaflet-control-zoom a:hover {
  background: #f0f0f0;
}

.service-map-container .leaflet-control-attribution {
  font-size: 0.6rem;
  background: rgba(255, 255, 255, 0.7);
}

.map-tooltip {
  background: #0f1f3d;
  color: #fff;
  border: 1px solid rgba(201, 151, 46, 0.5);
  border-radius: 3px;
  font-family: 'Inter', 'Helvetica Neue', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}