
/* HOME-SPECIFIC */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 6% 80px;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}
.hero-glow {
  position: absolute; top: -15%; right: -5%;
  width: 65vw; height: 110vh;
  background: radial-gradient(ellipse, rgba(61,127,138,0.2) 0%, transparent 65%);
  pointer-events: none;
}
.hero-glow2 {
  position: absolute; bottom: -20%; left: -10%;
  width: 40vw; height: 60vh;
  background: radial-gradient(ellipse, rgba(200,184,154,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1100px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center;
}
.hero-left { animation: fadeUp 0.9s ease both; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(200,184,154,0.12);
  border: 1px solid rgba(200,184,154,0.3);
  color: var(--sand); font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.35rem 0.9rem; border-radius: 2px; margin-bottom: 2rem;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sand); }
.hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: white; font-size: clamp(2.8rem, 5vw, 4.4rem);
  font-weight: 600; line-height: 1.15; margin-bottom: 1.5rem;
}
.hero h1 em { font-style: italic; color: var(--sand); }
.hero-sub {
  color: rgba(255,255,255,0.65); font-size: 1.08rem; font-weight: 300;
  max-width: 500px; line-height: 1.8; margin-bottom: 2.8rem;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-right { position: relative; animation: fadeUp 0.9s 0.2s ease both; }
.hero-card-stack {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.hero-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; padding: 1.35rem 1.35rem 1.45rem; margin-bottom: 0;
  backdrop-filter: blur(4px); transition: background 0.3s;
  display: block; color: inherit; text-decoration: none;
  min-width: 0;
}
.hero-card:hover { background: rgba(255,255,255,0.1); }
.hero-card:focus-visible { outline: 2px solid var(--teal-light); outline-offset: 3px; }
.hero-card-icon {
  width: 96px !important; height: 96px !important; border-radius: 7px;
  background: rgba(61,127,138,0.25); display: flex; align-items: center;
  justify-content: center; margin-bottom: 0.8rem;
}
.hero-card-icon [data-lottie] { width: 96px !important; height: 96px !important; }
.hero-card-icon svg { width: 18px; height: 18px; stroke: var(--teal-light); fill: none; stroke-width: 1.8; }
.hero-card h4 { color: white; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 600; margin-bottom: 0.3rem; }
.hero-card p { color: rgba(255,255,255,0.55); font-size: 0.84rem; line-height: 1.5; }

/* MISSION STRIP */
.mission-strip {
  background: var(--teal); padding: 1.5rem 6%;
  display: flex; align-items: center; justify-content: center;
}
.mission-strip p {
  color: white; font-size: 0.9rem; max-width: 800px;
  text-align: center; line-height: 1.65;
}
.mission-strip strong { font-weight: 700; }

/* TRUST BAR */
.trust-bar {
  background: var(--off-white); border-bottom: 1px solid var(--border);
  padding: 2rem 6%;
}
.trust-items {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.87rem; font-weight: 500; color: var(--navy);
}
.trust-item svg { width: 18px; height: 18px; stroke: var(--teal); fill: none; stroke-width: 2; }

/* HOME SERVICES */
.home-services { background: white; }
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem;
}
.service-card {
  background: var(--off-white); border: 1px solid var(--border);
  border-radius: 10px; padding: 2.2rem 1.8rem;
  transition: box-shadow 0.3s, transform 0.3s; position: relative; overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--sand));
  transform: scaleX(0); transition: transform 0.3s; transform-origin: left;
}
.service-card:hover { box-shadow: 0 10px 40px rgba(26,39,68,0.1); transform: translateY(-4px); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 46px; height: 46px; border-radius: 9px;
  background: rgba(61,127,138,0.1); display: flex; align-items: center;
  justify-content: center; margin-bottom: 1.3rem;
}
.service-icon svg { width: 22px; height: 22px; stroke: var(--teal); fill: none; stroke-width: 1.8; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 0.65rem; }
.service-card p { color: var(--text-light); font-size: 0.92rem; line-height: 1.7; margin-bottom: 1.2rem; }

.home-local-help { background: white; padding: 3.8rem 6% 4rem; text-align: center; }
.home-local-help .section-inner { max-width: 880px; margin: 0 auto; }
.home-local-help h2 { max-width: 760px; margin-left: auto; margin-right: auto; }
.home-local-help p { max-width: 760px; color: var(--text-light); line-height: 1.8; margin: 0 auto 1rem; }
.home-local-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 1.35rem; }
.service-link {
  color: var(--teal); font-size: 0.85rem; font-weight: 600;
  text-decoration: none; letter-spacing: 0.04em;
  display: inline-flex; align-items: center; gap: 0.3rem;
  transition: gap 0.2s;
}
.service-link:hover { gap: 0.6rem; }

/* WHY NOW */
.why-now { background: var(--navy); }
.why-now .section-title { color: white; }
.why-now .section-label { color: var(--sand); }
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.why-text p { color: rgba(255,255,255,0.7); font-size: 1rem; line-height: 1.8; margin-bottom: 1.1rem; }
.why-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.stat-box {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 9px; padding: 1.8rem 1.4rem; text-align: center;
}
.stat-box .num {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700;
  color: var(--sand); display: block; margin-bottom: 0.3rem;
}
.stat-box .lbl { font-size: 0.82rem; color: rgba(255,255,255,0.55); line-height: 1.4; }

/* WHO WE SERVE */
.who-serve { background: var(--off-white); }
.audience-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 2.5rem;
}
.audience-pill {
  background: white; border: 1px solid var(--border);
  border-radius: 12px; padding: 1.8rem 1rem 1.4rem; text-align: center;
  font-size: 0.92rem; font-weight: 600; color: var(--navy);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  cursor: default;
}
.audience-pill:hover {
  border-color: var(--teal);
  box-shadow: 0 8px 28px rgba(61,127,138,0.14);
  transform: translateY(-4px);
}
.audience-pill span { display: block; font-size: 1.6rem; margin-bottom: 0.5rem; }

/* LOCAL SEO */
.local-seo { background: white; }
.local-seo-grid {
  display: grid; grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr); gap: 2.4rem; align-items: center;
}
.local-seo-copy { max-width: 520px; }
.local-seo-copy p { color: var(--text-light); line-height: 1.8; margin-bottom: 1rem; }
.local-seo-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.local-seo-item {
  background: var(--off-white); border: 1px solid var(--border); border-radius: 8px;
  padding: 0.9rem 1rem;
}
.local-seo-item strong { display: block; color: var(--navy); font-size: 0.9rem; margin-bottom: 0.22rem; }
.local-seo-item span { display: block; color: var(--text-light); font-size: 0.82rem; line-height: 1.48; }

.testimonials-section { padding-top: 4.25rem; padding-bottom: 4.5rem; }
.testimonials-section .section-intro { margin-bottom: 0; }
.testimonials-section .testimonials-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.testimonials-section .testimonial-card {
  padding: 1.25rem;
  min-height: 0;
}
.testimonials-section .testimonial-quote {
  font-size: 1.65rem;
  margin-bottom: 0.3rem;
}
.testimonials-section .testimonial-text {
  font-size: 0.84rem;
  line-height: 1.58;
  margin-bottom: 1rem;
}
.testimonials-section .testimonial-author { gap: 0.6rem; }
.testimonials-section .testimonial-avatar {
  width: 34px;
  height: 34px;
  font-size: 0.75rem;
}
.testimonials-section .testimonial-name { font-size: 0.83rem; }
.testimonials-section .testimonial-role { font-size: 0.72rem; line-height: 1.35; }

/* MAP SECTION */
.map-section { background: white; padding: 5rem 6%; }
.map-section .section-inner { max-width: 1100px; margin: 0 auto; }
.map-wrapper {
  margin-top: 2.5rem; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: 0 8px 40px rgba(26,39,68,0.1);
  position: relative;
}
.map-wrapper iframe { width: 100%; height: 420px; border: none; display: block; }
.map-overlay-badge {
  position: absolute; bottom: 1.5rem; left: 1.5rem;
  background: var(--navy); color: white; border-radius: 8px;
  padding: 1rem 1.4rem; display: flex; align-items: center; gap: 0.8rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.map-overlay-badge svg { width: 20px; height: 20px; stroke: var(--sand); fill: none; stroke-width: 2; min-width: 20px; }
.map-overlay-badge strong { display: block; font-size: 0.9rem; font-weight: 600; color: white; }
.map-overlay-badge span { font-size: 0.78rem; color: rgba(255,255,255,0.65); }

/* CTA BAND */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, #1d3a5f 100%);
  padding: 5.5rem 6%; text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(61,127,138,0.18), transparent 65%);
  pointer-events: none;
}
.cta-band h2 { color: white; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; position: relative; }
.cta-band p { color: rgba(255,255,255,0.65); font-size: 1.05rem; max-width: 520px; margin: 0 auto 2.5rem; line-height: 1.75; position: relative; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

@media(max-width:900px){
  .hero { min-height: auto; align-items: flex-start; padding: 112px 5% 74px; }
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-left { min-width: 0; }
  .hero h1 { font-size: 2.75rem; max-width: 100%; overflow-wrap: break-word; }
  .hero h1 em { overflow-wrap: anywhere; }
  .hero-sub { max-width: 100%; }
  .hero-right { display: block; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .why-stats { grid-template-columns: 1fr 1fr; }
  .audience-grid { grid-template-columns: repeat(2,1fr); }
  .local-seo-grid { grid-template-columns: 1fr; }
  .local-seo-copy { max-width: 760px; }
  .local-seo-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testimonials-section .testimonials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-local-help { padding: 3.5rem 6%; }
  .home-quiz .section-inner > div > div[style*="grid-template-columns:repeat(5"] { grid-template-columns: repeat(5, 1fr) !important; }
}
@media(max-width:600px){
  .hero { padding: 104px 1rem 64px; }
  .hero-badge { max-width: 100%; white-space: normal; line-height: 1.45; }
  .hero h1 { font-size: 2.25rem; line-height: 1.12; }
  .hero h1 em { display: block; }
  .hero-sub { font-size: 1rem; line-height: 1.7; }
  .hero-buttons a { width: 100%; }
  .hero-card-stack { grid-template-columns: 1fr; }
  .hero-card { padding: 1.25rem; }
  .hero-card-icon,
  .hero-card-icon [data-lottie] { width: 84px !important; height: 84px !important; }
  .audience-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .why-stats { grid-template-columns: 1fr; }
  .local-seo-list,
  .testimonials-section .testimonials-grid { grid-template-columns: 1fr; }
  .home-local-help { padding: 3rem 1rem; }
  .home-local-actions a { width: 100%; }
  .home-quiz .section-inner > div > div[style*="grid-template-columns:repeat(5"] { grid-template-columns: repeat(2, 1fr) !important; gap:0.6rem !important; }
}
@media(max-width:380px){
  .hero h1 { font-size: 2.05rem; }
}
