/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-dark: #1a1a1a;
  --color-charcoal: #2c2c2c;
  --color-medium: #4a4a4a;
  --color-light-gray: #f5f5f3;
  --color-warm-white: #fafaf8;
  --color-white: #ffffff;
  --color-accent: #8b2025;
  --color-accent-hover: #a62a30;
  --color-text: #333333;
  --color-text-light: #6b6b6b;
  --color-border: #e0e0de;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1200px;
  --section-padding: 100px 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-white);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-dark);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-dark);
  border: 1px solid var(--color-dark);
}

.btn-outline-dark:hover {
  background: var(--color-dark);
  color: var(--color-white);
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
  padding: 12px 0;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.nav-logo img {
  height: 50px;
  width: auto;
  max-width: 220px;
}

.nav.scrolled .nav-logo img {
  height: 42px;
}

.nav-logo .logo-dark {
  display: none;
}

.nav.scrolled .nav-logo .logo-white {
  display: none;
}

.nav.scrolled .nav-logo .logo-dark {
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s ease;
}

.nav.scrolled .nav-links a {
  color: var(--color-text);
}

.nav-links a:hover {
  color: var(--color-accent);
}

.nav-links .btn {
  padding: 10px 24px;
}

.nav-phone {
  font-weight: 500 !important;
  letter-spacing: 0.5px !important;
}

.nav-cta {
  background: var(--color-accent) !important;
  color: var(--color-white) !important;
  padding: 10px 24px;
  font-size: 0.8rem !important;
  letter-spacing: 1.2px;
}

.nav-cta:hover {
  background: var(--color-accent-hover) !important;
}

/* Mobile menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all 0.3s ease;
}

.nav.scrolled .nav-toggle span {
  background: var(--color-dark);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.5)),
    url('../images/hero-atlanta.jpg') center/cover no-repeat;
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  padding: 0 24px;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0.9;
}

.hero h1 {
  margin-bottom: 24px;
  font-weight: 400;
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== INTRO SECTION ===== */
.intro {
  padding: var(--section-padding);
  background: var(--color-white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro-image {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-content h2 {
  margin-bottom: 24px;
  color: var(--color-dark);
}

.intro-content .subtitle {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.intro-content p {
  color: var(--color-text-light);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.intro-content .btn {
  margin-top: 16px;
}

/* ===== APPROACH SECTION ===== */
.approach {
  padding: var(--section-padding);
  background:
    linear-gradient(rgba(26, 26, 26, 0.75), rgba(26, 26, 26, 0.80)),
    url('../images/brick_BG.jpg') center/cover;
  color: var(--color-white);
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.approach-content h2 {
  color: var(--color-white);
  margin-bottom: 12px;
}

.approach-content .subtitle {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-style: italic;
  color: #d4464b;
  margin-bottom: 24px;
}

.approach-content p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.approach-image {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.approach-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== SERVICES SECTION ===== */
.services {
  padding: var(--section-padding);
  background: var(--color-light-gray);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header .subtitle {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--color-accent);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--color-white);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.service-card-image {
  height: 220px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.05);
}

.service-card-content {
  padding: 32px 28px;
}

.service-card h3 {
  margin-bottom: 12px;
  color: var(--color-dark);
}

.service-card p {
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.service-card .learn-more {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-card .learn-more::after {
  content: '\2192';
  transition: transform 0.3s ease;
}

.service-card:hover .learn-more::after {
  transform: translateX(4px);
}

/* ===== CREDENTIALS ===== */
.credentials {
  padding: 60px 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.credentials-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--color-text-light);
}

.credential-item img {
  height: 70px;
  width: auto;
}

/* ===== SERVICE AREA ===== */
.service-area {
  padding: var(--section-padding);
  background: var(--color-warm-white);
}

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

.service-area h2 {
  margin-bottom: 12px;
}

.service-area .subtitle {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--color-accent);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.service-area p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.area-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 40px;
}

.area-columns li {
  list-style: none;
  font-size: 0.9rem;
  color: var(--color-text-light);
  padding: 4px 0;
  border-bottom: 1px solid var(--color-border);
}

.county-label {
  font-weight: 600;
  color: var(--color-dark);
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: 8px;
  grid-column: 1 / -1;
}

.county-label:first-child {
  margin-top: 0;
}

/* ===== PERSONAL TOUCH / TESTIMONIAL ===== */
.personal {
  padding: var(--section-padding);
  background:
    linear-gradient(rgba(44, 44, 44, 0.75), rgba(44, 44, 44, 0.80)),
    url('../images/brick_BG.jpg') center/cover;
  color: var(--color-white);
  text-align: center;
}

.personal-inner {
  max-width: 750px;
  margin: 0 auto;
}

.personal h2 {
  margin-bottom: 24px;
}

.personal p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 20px;
}

.personal .signature {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.2rem;
  color: #d4464b;
  margin-top: 32px;
}

/* ===== CTA SECTION ===== */
.cta {
  padding: var(--section-padding);
  background: var(--color-light-gray);
  text-align: center;
}

.cta h2 {
  margin-bottom: 16px;
  color: var(--color-dark);
}

.cta p {
  color: var(--color-text-light);
  font-size: 1rem;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== FOOTER ===== */
.footer {
  padding: 60px 0 30px;
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand .footer-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-white);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-contact-info a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact-info a:hover {
  color: var(--color-white);
}

.footer h4 {
  color: var(--color-white);
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.social-links a:hover {
  color: var(--color-white);
}

/* ===== NAV DROPDOWN ===== */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown > a::after {
  content: '';
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 2px;
  transition: transform 0.3s ease;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-white);
  min-width: 260px;
  padding: 12px 0;
  padding-top: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border-top: 3px solid var(--color-accent);
  list-style: none;
  z-index: 100;
}

/* Invisible bridge so hover doesn't break between link and menu */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu li a {
  display: block;
  padding: 10px 24px;
  font-size: 0.82rem !important;
  letter-spacing: 0.3px !important;
  text-transform: none !important;
  color: var(--color-text) !important;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-dropdown-menu li a:hover {
  background: var(--color-light-gray);
  color: var(--color-accent) !important;
}

/* ===== PAGE HERO (subpages) ===== */
.page-hero {
  position: relative;
  min-height: 30vh;
  padding-top: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.6)),
    url('../images/brick_BG.jpg') center/cover no-repeat;
  z-index: -1;
}

.page-hero-content {
  max-width: 800px;
  padding: 60px 24px 60px;
}

.page-hero-content h1 {
  font-weight: 400;
  margin-bottom: 8px;
}

.page-hero-content p {
  font-size: 1rem;
  font-weight: 300;
  opacity: 0.85;
}

/* ===== ARTICLE CONTENT ===== */
.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.article-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--color-dark);
  margin-top: 48px;
  margin-bottom: 16px;
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--color-dark);
  margin-top: 36px;
  margin-bottom: 12px;
}

.article-content p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.article-content ul li,
.article-content ol li {
  color: var(--color-text-light);
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.article-content ul li {
  list-style-type: disc;
}

.article-content ol li {
  list-style-type: decimal;
}

.article-content ol li strong {
  color: var(--color-dark);
}

.article-content a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-content a:hover {
  color: var(--color-accent-hover);
}

.article-content .callout {
  background: var(--color-light-gray);
  border-left: 4px solid var(--color-accent);
  padding: 20px 24px;
  margin: 28px 0;
  font-size: 0.95rem;
  color: var(--color-text);
}

.article-content .callout p {
  margin-bottom: 0;
  color: var(--color-text);
}

.article-content img {
  margin: 28px 0;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* PDF download thumbnail card */
.pdf-card {
  display: inline-block;
  text-decoration: none;
  margin: 24px 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pdf-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.article-content .pdf-card {
  text-decoration: none;
}

.article-content .pdf-card:hover {
  text-decoration: none;
}

.pdf-card-inner {
  position: relative;
  width: 220px;
  height: 280px;
  background:
    linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.85)),
    url('../images/brick_BG.jpg') center/cover;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  gap: 16px;
}

.pdf-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #e53935;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 3px;
  line-height: 1;
}

.pdf-card-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.2;
  color: #2979c4;
  text-align: center;
}

.pdf-card-logo img {
  height: 80px;
  width: auto;
}

/* Legacy btn-download kept for other pages */
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 12px 0;
}

.btn-download:hover {
  background: var(--color-accent-hover);
  color: var(--color-white);
  transform: translateY(-1px);
  text-decoration: none;
}

.article-content .btn-download {
  color: var(--color-white);
  text-decoration: none;
}

.article-content .btn-download:hover {
  color: var(--color-white);
  text-decoration: none;
}

.btn-download svg {
  width: 18px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .intro-grid,
  .approach-grid,
  .service-area-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .intro-image,
  .approach-image {
    height: 350px;
  }

  .approach-grid .approach-image {
    order: -1;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 70px 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    color: var(--color-text) !important;
    font-size: 0.9rem;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: 100vh;
    padding-top: 100px;
    align-items: flex-start;
    padding-bottom: 40px;
  }

  .hero-content {
    margin-top: auto;
    margin-bottom: auto;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .area-columns {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .credentials-inner {
    flex-direction: column;
    gap: 32px;
  }

  /* Mobile dropdown */
  .nav-dropdown > a::after {
    display: none;
  }

  .nav-dropdown-menu {
    display: none;
    position: static;
    transform: none;
    background: transparent;
    box-shadow: none;
    border-top: none;
    min-width: 0;
    padding: 0 0 0 16px;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown-menu li a {
    padding: 8px 0;
    font-size: 0.85rem !important;
    color: var(--color-text-light) !important;
  }

  .nav-dropdown-menu li a:hover {
    background: transparent;
    color: var(--color-accent) !important;
  }

  /* Page hero mobile */
  .page-hero {
    min-height: 18vh;
  }

  .page-hero-content {
    padding: 60px 24px 20px;
  }

  /* Stats bar mobile */
  .stats-bar .container {
    flex-direction: column;
    gap: 32px;
  }

  .stat-item::after {
    display: none;
  }
}

/* ===== SCROLL REVEAL SYSTEM ===== */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

[data-reveal="fade-up"] {
  transform: translateY(40px);
}

[data-reveal="slide-left"] {
  transform: translateX(-40px);
}

[data-reveal="slide-right"] {
  transform: translateX(40px);
}

[data-reveal="scale"] {
  transform: scale(0.92);
}

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* Stagger children */
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

[data-reveal-stagger].revealed > *:nth-child(1) { transition-delay: 0s; }
[data-reveal-stagger].revealed > *:nth-child(2) { transition-delay: 0.12s; }
[data-reveal-stagger].revealed > *:nth-child(3) { transition-delay: 0.24s; }
[data-reveal-stagger].revealed > *:nth-child(4) { transition-delay: 0.36s; }
[data-reveal-stagger].revealed > *:nth-child(5) { transition-delay: 0.48s; }
[data-reveal-stagger].revealed > *:nth-child(6) { transition-delay: 0.60s; }

[data-reveal-stagger].revealed > * {
  opacity: 1;
  transform: none;
}

/* ===== HERO TEXT CASCADE ON LOAD ===== */
@keyframes heroCascade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-cascade .hero-tagline {
  opacity: 0;
  animation: heroCascade 0.7s ease forwards;
  animation-delay: 0.2s;
}

.hero-cascade h1 {
  opacity: 0;
  animation: heroCascade 0.7s ease forwards;
  animation-delay: 0.45s;
}

.hero-cascade .hero-subtitle {
  opacity: 0;
  animation: heroCascade 0.7s ease forwards;
  animation-delay: 0.65s;
}

.hero-cascade .hero-buttons {
  opacity: 0;
  animation: heroCascade 0.7s ease forwards;
  animation-delay: 0.85s;
}

/* ===== ACCENT LINES ABOVE SECTION HEADINGS ===== */
.section-header h2::before,
.intro-content h2::before,
.approach-content h2::before,
.personal h2::before,
.cta h2::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--color-accent);
  margin-bottom: 16px;
}

.section-header h2::before,
.personal h2::before,
.cta h2::before {
  margin-left: auto;
  margin-right: auto;
}

/* ===== IMAGE SHADOW + ACCENT BORDER ===== */
.intro-image {
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.06);
  border-left: 4px solid var(--color-accent);
}

.approach-image {
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.25),
    0 2px 8px rgba(0, 0, 0, 0.12);
  border-right: 4px solid var(--color-accent);
}

/* ===== BUTTON GLOW ENHANCEMENT ===== */
.btn-primary {
  box-shadow: 0 4px 15px rgba(139, 32, 37, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 25px rgba(139, 32, 37, 0.5);
}

/* ===== CREDENTIAL LOGO FLOAT ===== */
@keyframes credentialFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.credential-item:nth-child(1) img {
  animation: credentialFloat 6s ease-in-out infinite;
  animation-delay: 0s;
}

.credential-item:nth-child(2) img {
  animation: credentialFloat 6s ease-in-out infinite;
  animation-delay: 1.5s;
}

.credential-item:nth-child(3) img {
  animation: credentialFloat 6s ease-in-out infinite;
  animation-delay: 3s;
}

.credential-item:nth-child(4) img {
  animation: credentialFloat 6s ease-in-out infinite;
  animation-delay: 4.5s;
}

/* ===== SERVICE CARD HOVER ACCENT LINE ===== */
.service-card {
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--color-accent);
  transition: width 0.4s ease;
  z-index: 1;
}

.service-card:hover::before {
  width: 100%;
}

/* ===== CTA SECTION RADIAL GLOW ===== */
.cta {
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 32, 37, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.cta .container {
  position: relative;
  z-index: 1;
}

/* ===== STATS BAR ===== */
.stats-bar {
  padding: 60px 0;
  background: var(--color-dark);
  color: var(--color-white);
}

.stats-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
}

.stat-item:last-child::after {
  display: none;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number .accent {
  color: #d4464b;
}

.stat-label {
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== PAGE TRANSITION OVERLAY ===== */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--color-accent);
  z-index: 9999;
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

/* When arriving from a transition, start fully covering the page */
.page-transition.is-active {
  transform: scaleX(1);
}

.page-transition.is-entering {
  animation: ptEnter 0.4s ease forwards;
}

.page-transition.is-leaving {
  animation: ptLeave 0.4s ease forwards;
}

@keyframes ptEnter {
  from { transform: scaleX(0); transform-origin: left; }
  to { transform: scaleX(1); transform-origin: left; }
}

@keyframes ptLeave {
  from { transform: scaleX(1); transform-origin: right; }
  to { transform: scaleX(0); transform-origin: right; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-reveal-stagger] > *,
  .hero-cascade .hero-tagline,
  .hero-cascade h1,
  .hero-cascade .hero-subtitle,
  .hero-cascade .hero-buttons {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .credential-item img {
    animation: none !important;
  }

  .page-transition {
    display: none;
  }
}

/* ===== BOOKING MODAL ===== */
.booking-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Google Places autocomplete dropdown must appear above the modal */
.pac-container {
  z-index: 100000 !important;
}

/* Style the new PlaceAutocompleteElement to match form inputs */
#bkAddressContainer gmp-placeautocomplete {
  width: 100%;
}

#bkAddressContainer gmp-placeautocomplete::part(input) {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--color-text);
  background: var(--color-white);
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#bkAddressContainer gmp-placeautocomplete::part(input):focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(139, 32, 37, 0.1);
}
.booking-overlay.active {
  opacity: 1;
  visibility: visible;
}

.booking-modal {
  background: var(--color-white);
  width: 100%;
  max-width: 560px;
  min-height: 400px;
  max-height: 90vh;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}
.booking-overlay.active .booking-modal {
  transform: translateY(0) scale(1);
}

.booking-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--color-border);
}
.booking-header h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0;
}
.booking-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-text-light);
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.booking-close:hover {
  background: var(--color-light-gray);
  color: var(--color-dark);
}

/* Progress bar */
.booking-progress {
  padding: 16px 24px 0;
}
.booking-progress-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.booking-progress-labels span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
  font-weight: 500;
  transition: color 0.3s;
}
.booking-progress-labels span.active {
  color: var(--color-accent);
  font-weight: 600;
}
.booking-progress-bar {
  height: 4px;
  background: var(--color-border);
  border-radius: 2px;
  overflow: hidden;
}
.booking-progress-fill {
  height: 100%;
  background: var(--color-accent);
  border-radius: 2px;
  transition: width 0.4s ease;
  width: 25%;
}

/* Steps container */
.booking-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 20px 24px;
  position: relative;
  min-height: 250px;
}
.booking-step {
  display: none;
}
.booking-step.active {
  display: block;
  opacity: 1;
}
@keyframes bookingFadeIn {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Form fields */
.booking-field {
  margin-bottom: 16px;
}
.booking-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 5px;
  letter-spacing: 0.01em;
}
.booking-field label .required {
  color: var(--color-accent);
  margin-left: 2px;
}
.booking-field input,
.booking-field select,
.booking-field textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.booking-field input:focus,
.booking-field select:focus,
.booking-field textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(139, 32, 37, 0.1);
}
.booking-field input.error,
.booking-field select.error {
  border-color: #d32f2f;
}
.booking-field textarea {
  resize: vertical;
  min-height: 70px;
}
.booking-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6b6b' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.booking-field .field-hint {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-top: 4px;
}
.booking-field .field-error {
  font-size: 0.75rem;
  color: #d32f2f;
  margin-top: 4px;
  display: none;
}
.booking-field.has-error .field-error {
  display: block;
}

/* Two-column grid */
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: end;
}
.booking-field input[type="date"] {
  height: 42px;
  box-sizing: border-box;
}

/* Radio groups */
.booking-radio-group {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.booking-radio-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--color-text);
  cursor: pointer;
}
.booking-radio-group input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-accent);
}

/* Checkbox groups */
.booking-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 4px;
}
.booking-checkbox-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--color-text);
  cursor: pointer;
}
.booking-checkbox-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--color-accent);
}

/* Section heading inside steps */
.booking-section-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
  margin: 20px 0 12px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}
.booking-section-title:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

/* Actions bar */
.booking-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-top: 1px solid var(--color-border);
  background: var(--color-light-gray);
}
.booking-btn {
  padding: 10px 24px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  border: none;
}
.booking-btn:active {
  transform: scale(0.97);
}
.booking-btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}
.booking-btn-primary:hover {
  background: var(--color-accent-hover);
}
.booking-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.booking-btn-secondary {
  background: transparent;
  color: var(--color-text-light);
  border: 1.5px solid var(--color-border);
}
.booking-btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-text);
}
.booking-btn-link {
  background: none;
  border: none;
  color: var(--color-accent);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 4px;
  text-decoration: underline;
}
.booking-btn-link:hover {
  color: var(--color-accent-hover);
}

/* Spinner */
.booking-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: bookingSpin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}
@keyframes bookingSpin {
  to { transform: rotate(360deg); }
}

/* Success state */
.booking-success {
  text-align: center;
  padding: 40px 20px;
}
.booking-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e8f5e9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.booking-success-icon svg {
  width: 32px;
  height: 32px;
  color: #2e7d32;
}
.booking-success h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-dark);
  margin-bottom: 10px;
}
.booking-success p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.booking-success a {
  color: var(--color-accent);
  font-weight: 600;
}

/* Error banner */
.booking-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 16px;
  display: none;
}
.booking-error.visible {
  display: block;
}

/* Agent typeahead dropdown */
.agent-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
  margin-top: 2px;
}
.agent-dropdown-item {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--color-text);
}
.agent-dropdown-item:hover {
  background: var(--color-light-gray);
  color: var(--color-accent);
}

/* Welcome message */
.booking-welcome {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

/* Email update inline form */
.booking-email-update {
  background: var(--color-light-gray);
  border-radius: 8px;
  padding: 14px;
  margin-top: 12px;
}
.booking-email-update .field-row {
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 8px;
}

/* Skip link */
.booking-skip {
  text-align: center;
  margin-top: 16px;
}
.booking-skip a {
  color: var(--color-text-light);
  font-size: 0.85rem;
  text-decoration: underline;
  cursor: pointer;
}
.booking-skip a:hover {
  color: var(--color-text);
}

/* Step intro text */
.booking-step-intro {
  font-size: 0.92rem;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

/* Time picker chip grid */
.time-picker-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.time-picker-section-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
  margin-bottom: -8px;
}

.time-picker-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.time-chip {
  padding: 8px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-text);
  background: var(--color-white);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.time-chip:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.time-chip.selected {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(139, 32, 37, 0.25);
}

.time-chip.no-pref {
  font-style: italic;
}

/* ===== BOOKING MODAL — MOBILE ===== */
@media (max-width: 768px) {
  .booking-modal {
    max-width: 100%;
    max-height: 100%;
    height: 100%;
    border-radius: 0;
    position: fixed;
    inset: 0;
  }
  .booking-overlay {
    align-items: stretch;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .booking-header h2 {
    font-size: 1.15rem;
  }
  .booking-body {
    padding: 16px 18px;
  }
  .booking-actions {
    padding: 14px 18px;
  }
  .booking-progress {
    padding: 12px 18px 0;
  }
}
