/* ========================================
   RGA MECHANICAL - Option A: Architectural / Premium
   Vibe: Aesop, Apple, Architecture Firms
   Minimal, museum-like, generous whitespace
   ======================================== */

/* ----------------------------------------
   CSS Variables
   ---------------------------------------- */
:root {
  --bg: #f5f2ed;
  --text: #0a0a0a;
  --accent: #8b7355;
  --gray-100: #ebe8e3;
  --gray-200: #d4d0ca;
  --gray-300: #b8b3ab;
  --white: #ffffff;
  --radius: 0px;
  --font-heading: 'DM Serif Display', serif;
  --font-body: 'Inter', sans-serif;
  --section-padding: 120px;
  --container-max: 1280px;
  --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-base: 0.4s ease;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

blockquote {
  margin: 0;
}

/* ----------------------------------------
   Skip Link
   ---------------------------------------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--text);
  color: var(--bg);
  padding: 12px 24px;
  z-index: 10000;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
  color: var(--bg);
}

/* ----------------------------------------
   Navigation
   ---------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  border-bottom: 1px solid var(--gray-200);
  background: transparent;
  transition: background var(--transition-base), border-color var(--transition-base);
}

.nav.scrolled {
  background: rgba(245, 242, 237, 0.95);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--text);
  white-space: nowrap;
}

.nav-logo:hover {
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links li a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition-base);
}

.nav-links li a:hover::after {
  width: 100%;
}

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

.nav-phone {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text);
  white-space: nowrap;
}

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

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

/* ----------------------------------------
   Section Utilities
   ---------------------------------------- */
.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-label--light {
  color: var(--gray-300);
}

.section-heading {
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 64px;
}

.divider {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: 0 48px;
}

/* ----------------------------------------
   Buttons
   ---------------------------------------- */
.btn {
  display: inline-block;
  padding: 16px 40px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

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

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}

.btn-outline:hover {
  background: var(--text);
  color: var(--bg);
}

/* ----------------------------------------
   Hero Section
   ---------------------------------------- */
.hero {
  padding-top: 180px;
  padding-bottom: var(--section-padding);
  text-align: center;
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 48px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 8px 24px;
  margin-bottom: 48px;
}

.hero h1 {
  font-size: 80px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
  color: var(--text);
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--gray-300);
  max-width: 560px;
  margin: 0 auto 56px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin-bottom: 56px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 40px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.stat-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-300);
}

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

/* ----------------------------------------
   Clients Marquee
   ---------------------------------------- */
.clients {
  padding: 48px 0;
}

.clients-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-300);
  text-align: center;
  margin-bottom: 24px;
}

.marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.marquee-track {
  display: flex;
  gap: 64px;
  animation: marquee-scroll 40s linear infinite;
  width: max-content;
}

.marquee-track span {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--gray-300);
  white-space: nowrap;
  flex-shrink: 0;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ----------------------------------------
   Services Section
   ---------------------------------------- */
.services {
  padding: var(--section-padding) 48px;
}

.services .section-label {
  text-align: left;
}

.services .section-heading {
  text-align: left;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.service-card {
  border: 1px solid var(--gray-200);
  padding: 40px 32px;
  margin-top: -1px;
  margin-left: -1px;
  transition: background var(--transition-slow), border-color var(--transition-base);
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  border-left: 2px solid var(--accent);
  transition: width var(--transition-base);
}

.service-card:hover {
  background: var(--gray-100);
}

.service-card:hover::before {
  width: 2px;
}

.service-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 36px;
  letter-spacing: -0.02em;
  color: var(--gray-200);
  margin-bottom: 24px;
  line-height: 1;
}

.service-name {
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--text);
}

.service-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-300);
}

/* ----------------------------------------
   Why RGA Section (Dark)
   ---------------------------------------- */
.why {
  background: var(--text);
  color: var(--bg);
  padding: var(--section-padding) 48px;
}

.why-inner {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 80px;
  max-width: var(--container-max);
  margin: 0 auto;
  align-items: start;
}

.why-heading {
  font-size: 44px;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--bg);
}

.why-sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-300);
}

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

.why-feature h3 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
  color: var(--bg);
}

.why-feature p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-300);
}

/* ----------------------------------------
   Big Number Section
   ---------------------------------------- */
.big-stat {
  padding: var(--section-padding) 48px;
  text-align: center;
}

.big-stat-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.big-number {
  font-family: var(--font-heading);
  font-size: 160px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text);
}

.big-stat-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-300);
}

/* ----------------------------------------
   Reviews Section
   ---------------------------------------- */
.reviews {
  padding: var(--section-padding) 48px;
}

.reviews .section-label {
  text-align: left;
}

.reviews .section-heading {
  text-align: left;
}

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

.review-card {
  border: 1px solid var(--gray-200);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  transition: border-color var(--transition-base);
}

.review-card:hover {
  border-color: var(--accent);
}

.review-card blockquote {
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--text);
}

.review-card cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-300);
  letter-spacing: 0.02em;
}

/* ----------------------------------------
   CTA Section
   ---------------------------------------- */
.cta {
  padding: var(--section-padding) 48px;
  text-align: center;
  background: var(--gray-100);
}

.cta-inner {
  max-width: 640px;
  margin: 0 auto;
}

.cta .section-label {
  text-align: center;
}

.cta-heading {
  font-size: 48px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-300);
  margin-bottom: 48px;
}

.cta-phone {
  display: block;
  font-family: var(--font-heading);
  font-size: 56px;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
  transition: color var(--transition-base);
}

.cta-phone:hover {
  color: var(--accent);
}

.cta-links {
  margin-bottom: 48px;
}

.cta-links a {
  font-size: 15px;
  color: var(--gray-300);
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 2px;
  transition: color var(--transition-base), border-color var(--transition-base);
}

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

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

/* ----------------------------------------
   Footer
   ---------------------------------------- */
.footer {
  background: var(--text);
  color: var(--gray-300);
  padding: 80px 48px 40px;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: var(--container-max);
  margin: 0 auto 64px;
}

.footer-brand h3 {
  font-size: 22px;
  color: var(--bg);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-300);
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bg);
  margin-bottom: 20px;
}

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

.footer-col ul li a {
  font-size: 14px;
  color: var(--gray-300);
  transition: color var(--transition-base);
}

.footer-col ul li a:hover {
  color: var(--bg);
}

.footer-col ul li {
  font-size: 14px;
  color: var(--gray-300);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(245, 242, 237, 0.1);
  max-width: var(--container-max);
  margin: 0 auto;
  font-size: 13px;
  color: var(--gray-300);
}

.footer-family {
  text-align: center;
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid rgba(245, 242, 237, 0.1);
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  font-size: 13px;
  color: var(--gray-300);
}

.footer-family a {
  color: var(--gray-300);
  border-bottom: 1px solid rgba(245, 242, 237, 0.2);
  padding-bottom: 1px;
  transition: color var(--transition-base);
}

.footer-family a:hover {
  color: var(--bg);
}

.footer-family-divider {
  margin: 0 12px;
  opacity: 0.3;
}

/* ----------------------------------------
   Back to Top
   ---------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: var(--radius);
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base), background var(--transition-base);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent);
}

/* ----------------------------------------
   Chat Widget
   ---------------------------------------- */
.chat-widget {
  position: fixed;
  bottom: 32px;
  left: 32px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.chat-widget-hours {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--gray-300);
  background: var(--bg);
  border: 1px solid var(--gray-200);
  padding: 6px 14px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transition-base), transform var(--transition-base);
  pointer-events: none;
  white-space: nowrap;
}

.chat-widget:hover .chat-widget-hours {
  opacity: 1;
  transform: translateY(0);
}

.chat-widget-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: background var(--transition-base);
}

.chat-widget-btn:hover {
  background: var(--accent);
}

.chat-widget-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ----------------------------------------
   Animations
   ---------------------------------------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Hero content entrance (no JS needed, pure CSS) */
.hero-badge {
  animation: fadeUp 0.8s ease 0.2s both;
}

.hero h1 {
  animation: fadeUp 0.8s ease 0.4s both;
}

.hero-sub {
  animation: fadeUp 0.8s ease 0.6s both;
}

.hero-stats {
  animation: fadeUp 0.8s ease 0.8s both;
}

.hero-ctas {
  animation: fadeUp 0.8s ease 1.0s both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ----------------------------------------
   Responsive - 1024px
   ---------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

  .hero h1 {
    font-size: 60px;
  }

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

  .why-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

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

  .reviews-grid .review-card:last-child {
    grid-column: 1 / -1;
  }

  .big-number {
    font-size: 120px;
  }

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

  .section-heading {
    font-size: 40px;
  }

  .cta-phone {
    font-size: 44px;
  }

  /* Inner page responsive - 1024px */
  .page-header h1 {
    font-size: 52px;
  }

  .content-grid {
    gap: 48px;
  }

  .content-text h2 {
    font-size: 32px;
  }

  .contact-grid {
    gap: 48px;
  }

  .location-main {
    grid-template-columns: 1fr;
  }

  .location-main-map {
    min-height: 320px;
  }

  .location-main-map iframe {
    min-height: 320px;
  }

  .locations-header h2 {
    font-size: 32px;
  }

  .emergency-phone {
    font-size: 28px;
  }

  .emergency-text h3 {
    font-size: 24px;
  }

  .timeline-header h2 {
    font-size: 32px;
  }

  .timeline-year {
    font-size: 28px;
  }

  /* Services sticky nav & watermark - 1024px */
  .service-watermark {
    font-size: 120px;
  }

  .services-sticky-nav-inner {
    padding: 0 24px;
  }

  .services-sticky-nav-link {
    padding: 14px 16px;
    font-size: 10px;
  }
}

/* ----------------------------------------
   Responsive - 768px
   ---------------------------------------- */
@media (max-width: 768px) {
  :root {
    --section-padding: 64px;
  }

  .nav {
    padding: 0 24px;
    height: 64px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    border-bottom: 1px solid var(--gray-200);
    gap: 0;
  }

  .nav-links.mobile-open {
    display: flex;
  }

  .nav-links li a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 14px;
  }

  .nav-links li a::after {
    display: none;
  }

  .nav-phone {
    display: none;
  }

  .nav-mobile-toggle {
    display: block;
  }

  .divider {
    margin: 0 24px;
  }

  .hero {
    padding-top: 140px;
    padding-bottom: 64px;
  }

  .hero-inner {
    padding: 0 24px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .stat-num {
    font-size: 32px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-badge {
    margin-bottom: 32px;
  }

  .services {
    padding: var(--section-padding) 24px;
  }

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

  .service-card {
    padding: 32px 24px;
  }

  .section-heading {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .why {
    padding: var(--section-padding) 24px;
  }

  .why-heading {
    font-size: 32px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .big-number {
    font-size: 80px;
  }

  .big-stat {
    padding: var(--section-padding) 24px;
  }

  .reviews {
    padding: var(--section-padding) 24px;
  }

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

  .reviews-grid .review-card:last-child {
    grid-column: auto;
  }

  .review-card {
    padding: 32px 24px;
  }

  .review-card blockquote {
    font-size: 18px;
  }

  .cta {
    padding: var(--section-padding) 24px;
  }

  .cta-heading {
    font-size: 36px;
  }

  .cta-phone {
    font-size: 36px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .footer {
    padding: 64px 24px 32px;
  }

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

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

  .chat-widget {
    bottom: 20px;
    left: 20px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }

  .marquee-track {
    gap: 40px;
  }

  .clients {
    padding: 32px 0;
  }

  /* Inner page responsive - 768px */
  .page-header {
    padding-top: 120px;
  }

  .page-header-content {
    padding: 0 24px;
  }

  .page-header h1 {
    font-size: 40px;
  }

  .page-header p {
    font-size: 16px;
  }

  .content-section {
    padding: var(--section-padding) 24px;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .content-grid.reverse {
    direction: ltr;
  }

  .content-text h2 {
    font-size: 28px;
  }

  .verified-badge {
    aspect-ratio: auto;
    padding: 32px 0;
  }

  .verified-svg {
    width: 160px;
  }

  .verified-label {
    margin-top: 8px;
    font-size: 10px;
  }

  .contact-section {
    padding: var(--section-padding) 24px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-form {
    padding: 32px 24px;
  }

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

  .locations-section {
    padding: var(--section-padding) 24px;
  }

  .locations-header h2 {
    font-size: 28px;
  }

  .location-main {
    grid-template-columns: 1fr;
  }

  .location-main-info {
    padding: 32px 24px;
  }

  .location-main-map {
    min-height: 280px;
  }

  .location-main-map iframe {
    min-height: 280px;
  }

  .locations-secondary {
    grid-template-columns: 1fr;
  }

  .location-card-info {
    padding: 24px;
  }

  .location-card-map {
    height: 200px;
  }

  .emergency-banner {
    padding: 40px 24px;
  }

  .emergency-content {
    flex-direction: column;
    text-align: center;
  }

  .emergency-phone {
    font-size: 24px;
  }

  .emergency-text h3 {
    font-size: 22px;
  }

  .timeline-section {
    padding: var(--section-padding) 24px;
  }

  .timeline-header h2 {
    font-size: 28px;
  }

  .timeline-line {
    left: 20px;
  }

  .timeline-item {
    grid-template-columns: auto 1fr;
    gap: 0;
    padding-left: 0;
  }

  .timeline-year {
    font-size: 24px;
    text-align: left;
    grid-column: 1 / -1;
    padding-right: 0;
    margin-bottom: 8px;
    padding-left: 44px;
  }

  .timeline-dot {
    position: absolute;
    left: 15px;
    top: 6px;
  }

  .timeline-content {
    grid-column: 1 / -1;
    padding-left: 44px;
  }

  .timeline-item {
    margin-bottom: 48px;
  }

  /* Services sticky nav & watermark - 768px */
  .services-sticky-nav {
    top: 64px;
  }

  .services-sticky-nav-inner {
    padding: 0 16px;
    gap: 0;
    scrollbar-width: none;
  }

  .services-sticky-nav-inner::-webkit-scrollbar {
    display: none;
  }

  .services-sticky-nav-link {
    padding: 12px 14px;
    font-size: 10px;
  }

  .service-watermark {
    font-size: 80px;
    top: -10px;
    right: -10px;
    opacity: 0.2;
  }
}

/* ----------------------------------------
   Active Nav Link
   ---------------------------------------- */
.nav-links li a.active {
  color: var(--accent);
}

.nav-links li a.active::after {
  width: 100%;
}

/* ----------------------------------------
   Page Header
   ---------------------------------------- */
.page-header {
  padding-top: 160px;
  padding-bottom: var(--section-padding);
  text-align: center;
  background: var(--bg);
}

.page-header-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 48px;
}

.page-header h1 {
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text);
}

.page-header p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--gray-300);
  max-width: 560px;
  margin: 0 auto;
}

/* ----------------------------------------
   Content Sections
   ---------------------------------------- */
.content-section {
  padding: var(--section-padding) 48px;
}

.content-section.alt {
  background: var(--gray-100);
}

/* ----------------------------------------
   Content Grid
   ---------------------------------------- */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: var(--container-max);
  margin: 0 auto;
}

.content-grid.reverse {
  direction: rtl;
}

.content-grid.reverse > * {
  direction: ltr;
}

/* ----------------------------------------
   Content Text
   ---------------------------------------- */
.content-text h2 {
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--text);
}

.content-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-300);
  margin-bottom: 20px;
}

.content-text ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
}

.content-text ul li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  border-bottom: 1px solid var(--gray-200);
}

.content-text ul li:last-child {
  border-bottom: none;
}

.content-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 1px;
  background: var(--accent);
}

.content-text ul li strong {
  font-weight: 600;
}

.content-text .btn {
  margin-top: 8px;
}

/* ----------------------------------------
   Content Image / Placeholder
   ---------------------------------------- */
.content-image {
  position: relative;
}

.image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-300);
  letter-spacing: 0.03em;
}

.content-section.alt .image-placeholder {
  background: var(--bg);
}

/* ----------------------------------------
   Contact Section
   ---------------------------------------- */
.contact-section {
  padding: var(--section-padding) 48px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: var(--container-max);
  margin: 0 auto;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text);
}

.contact-info > p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-300);
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-item-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--accent);
  margin-top: 2px;
}

.contact-item-icon svg {
  width: 24px;
  height: 24px;
}

.contact-item h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 4px;
}

.contact-item a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 1px;
  transition: color var(--transition-base), border-color var(--transition-base);
}

.contact-item a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.contact-item p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-300);
  margin-top: 4px;
}

/* ----------------------------------------
   Contact Form
   ---------------------------------------- */
.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 48px;
}

.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
  color: var(--text);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: border-color var(--transition-base);
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b7355' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

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

.form-submit {
  width: 100%;
  margin-top: 8px;
}

/* ----------------------------------------
   Locations Section
   ---------------------------------------- */
.locations-section {
  padding: var(--section-padding) 48px;
  background: var(--gray-100);
}

.locations-header {
  max-width: 640px;
  margin-bottom: 64px;
}

.locations-header h2 {
  font-family: var(--font-heading);
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text);
}

.locations-header p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-300);
}

/* Main Location */
.location-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
  border: 1px solid var(--gray-200);
  background: var(--white);
  margin-bottom: 32px;
}

.location-main-info {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 4px 12px;
  margin-bottom: 20px;
  align-self: flex-start;
}

.location-main-info h3,
.location-card-info h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--text);
}

.location-address {
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-300);
  margin-bottom: 8px;
}

.location-phone a {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition-base);
}

.location-phone a:hover {
  color: var(--accent);
}

.location-main-map {
  min-height: 400px;
  background: var(--gray-100);
}

.location-main-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 400px;
}

/* Secondary Locations */
.locations-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.location-card {
  border: 1px solid var(--gray-200);
  background: var(--white);
  overflow: hidden;
}

.location-card-info {
  padding: 32px;
}

.location-card-map {
  height: 240px;
  background: var(--gray-100);
}

.location-card-map iframe {
  display: block;
  width: 100%;
  height: 100%;
}

/* ----------------------------------------
   Family Timeline
   ---------------------------------------- */
.timeline-section {
  padding: var(--section-padding) 48px;
}

.timeline-header {
  max-width: 640px;
  margin-bottom: 80px;
}

.timeline-header h2 {
  font-family: var(--font-heading);
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 120px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--gray-200);
}

.timeline-item {
  display: grid;
  grid-template-columns: 100px 40px 1fr;
  align-items: start;
  margin-bottom: 56px;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 32px;
  letter-spacing: -0.02em;
  color: var(--accent);
  text-align: right;
  padding-right: 0;
  line-height: 1;
  padding-top: 4px;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  justify-self: center;
  margin-top: 8px;
  position: relative;
  z-index: 1;
}

.timeline-dot::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0.3;
}

.timeline-content {
  padding-left: 8px;
}

.timeline-content h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.2;
}

.timeline-content p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-300);
  max-width: 480px;
}

/* ----------------------------------------
   Emergency Banner
   ---------------------------------------- */
.emergency-banner {
  background: var(--text);
  padding: 48px;
}

.emergency-content {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.emergency-text h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--bg);
  margin-bottom: 4px;
}

.emergency-text p {
  font-size: 15px;
  color: var(--gray-300);
}

.emergency-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--bg);
  white-space: nowrap;
  transition: color var(--transition-base);
}

.emergency-phone:hover {
  color: var(--accent);
}

.emergency-phone svg {
  width: 28px;
  height: 28px;
  fill: var(--accent);
}

/* ----------------------------------------
   Verified Badge Animation
   ---------------------------------------- */
.verified-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
}

.verified-svg {
  width: 200px;
  height: auto;
  transform: scale(0.4);
  opacity: 0;
  transition: none;
  will-change: transform, opacity;
}

.verified-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transform: translateY(8px);
  margin-top: 12px;
}

/* Shield outline draws itself */
.verified-shield {
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
}

/* Shield fill starts invisible */
.verified-shield-fill {
  opacity: 0;
}

/* Checkmark draws itself */
.verified-check {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
}

/* Pulse ring */
.verified-pulse {
  opacity: 0;
  transform-origin: center;
}

/* ---- Animated state ---- */
.verified-badge.verified-animate .verified-svg {
  opacity: 1;
  animation: shieldEntrance 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.verified-badge.verified-animate .verified-shield {
  animation: drawShield 1s ease 0.3s forwards;
}

.verified-badge.verified-animate .verified-shield-fill {
  animation: fillShield 0.6s ease 1s forwards;
}

.verified-badge.verified-animate .verified-check {
  animation: drawCheck 0.5s ease 1.3s forwards;
}

.verified-badge.verified-animate .verified-pulse {
  animation: pulseRing 1s ease 1.6s forwards;
}

.verified-badge.verified-animate .verified-label {
  animation: labelIn 0.5s ease 2s forwards;
}

@keyframes shieldEntrance {
  0% {
    transform: scale(0.4);
    opacity: 0;
  }
  60% {
    transform: scale(1.08);
    opacity: 1;
  }
  80% {
    transform: scale(0.96);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes drawShield {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fillShield {
  to {
    opacity: 0.15;
  }
}

@keyframes drawCheck {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes pulseRing {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  40% {
    opacity: 0.4;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.4);
  }
}

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

/* ----------------------------------------
   NYC Aerial Image
   ---------------------------------------- */
.nyc-aerial {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: saturate(0.7) sepia(0.05) brightness(1.05) contrast(1.08);
  scale: 1.1;
}

.content-section.alt .content-grid {
  align-items: stretch;
}

.content-section.alt .content-image {
  overflow: hidden;
}

/* ----------------------------------------
   Services Sticky Navigation
   ---------------------------------------- */
.services-sticky-nav {
  position: sticky;
  top: 72px;
  z-index: 999;
  background: rgba(245, 242, 237, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.services-sticky-nav-inner {
  display: flex;
  gap: 0;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 48px;
}

.services-sticky-nav-link {
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-300);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
}

.services-sticky-nav-link:hover {
  color: var(--text);
}

.services-sticky-nav-link.active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

/* ----------------------------------------
   Service Watermark Numbers
   ---------------------------------------- */
.content-text {
  position: relative;
}

.service-watermark {
  position: absolute;
  top: -20px;
  right: -20px;
  font-family: var(--font-heading);
  font-size: 160px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--gray-200);
  opacity: 0.3;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.content-text .section-label,
.content-text h2,
.content-text p,
.content-text ul,
.content-text .btn {
  position: relative;
  z-index: 1;
}

/* ----------------------------------------
   Service Illustration SVG Styling
   ---------------------------------------- */
.service-illustration {
  width: 100%;
  height: auto;
  display: block;
}

.content-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ----------------------------------------
   Service Section Scroll Animations
   ---------------------------------------- */
.content-section .content-text {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.content-section .content-image {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity var(--transition-slow) 0.15s, transform var(--transition-slow) 0.15s;
}

.content-section .content-grid.reverse .content-text {
  transform: translateX(30px);
}

.content-section .content-grid.reverse .content-image {
  transform: translateX(-30px);
}

.content-section.animate-in .content-text {
  opacity: 1;
  transform: translateX(0);
}

.content-section.animate-in .content-image {
  opacity: 1;
  transform: translateX(0);
}

/* ----------------------------------------
   Tablet Override (after base component styles)
   Required because base .content-grid / .contact-grid
   are defined after the main media-query block.
   ---------------------------------------- */
@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .content-grid.reverse {
    direction: ltr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .content-image {
    width: 100%;
  }

  .content-image img {
    width: 100%;
    height: auto;
    display: block;
  }

  .content-image svg {
    width: 100%;
    height: auto;
    display: block;
  }
}

/* ----------------------------------------
   Mobile Override (after base component styles)
   ---------------------------------------- */
@media (max-width: 768px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .content-grid.reverse {
    direction: ltr;
  }

  .content-section {
    padding: var(--section-padding) 24px;
  }

  .content-text h2 {
    font-size: 28px;
  }

  .content-image {
    width: 100%;
  }

  .content-image img {
    width: 100%;
    height: auto;
    display: block;
  }

  .content-image svg {
    width: 100%;
    height: auto;
    display: block;
  }

  .contact-section {
    padding: var(--section-padding) 24px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-form {
    padding: 32px 24px;
  }

  .location-main {
    grid-template-columns: 1fr;
  }

  .locations-secondary {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------
   Prefers Reduced Motion
   ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }

  .marquee-track {
    animation: none;
  }

  .hero-badge,
  .hero h1,
  .hero-sub,
  .hero-stats,
  .hero-ctas {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .verified-svg {
    opacity: 1;
    transform: scale(1);
  }

  .verified-shield {
    stroke-dashoffset: 0;
  }

  .verified-shield-fill {
    opacity: 0.15;
  }

  .verified-check {
    stroke-dashoffset: 0;
  }

  .verified-label {
    opacity: 1;
    transform: none;
  }

  .verified-badge.verified-animate .verified-svg,
  .verified-badge.verified-animate .verified-shield,
  .verified-badge.verified-animate .verified-shield-fill,
  .verified-badge.verified-animate .verified-check,
  .verified-badge.verified-animate .verified-pulse,
  .verified-badge.verified-animate .verified-label {
    animation: none;
  }


  .content-section .content-text,
  .content-section .content-image {
    opacity: 1;
    transform: none;
  }
}
