/* ============================================
   LEGACY INSURANCE GROUP — Main Stylesheet
   Colors: Navy #00213a, Gold #c1993c
   Font: Lato (Google Fonts)
   ============================================ */

:root {
  --navy: #00213a;
  --navy-light: #0a3558;
  --navy-dark: #001525;
  --gold: #c1993c;
  --gold-light: #d4af5e;
  --gold-dark: #a07e2e;
  --bg: #faf8f5;
  --bg-alt: #f0ede8;
  --card: #ffffff;
  --text: #1a1a1a;
  --text-light: #555555;
  --text-muted: #888888;
  --border: #e0ddd8;
  --green: #1a6e42;
  --green-bg: #eef7f2;
  --red: #b91c1c;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 10px;
  --radius-lg: 16px;
  --max-w: 1140px;
  --transition: 0.2s ease;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Lato', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 { color: var(--navy); line-height: 1.25; font-weight: 900; }
h1 { font-size: 2.8rem; letter-spacing: -0.02em; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }
strong { font-weight: 700; }

.section-label {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

/* ============================================
   LAYOUT
   ============================================ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .section-label { color: var(--gold-light); }
.text-center { text-align: center; }

/* ============================================
   HEADER
   ============================================ */
.header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.header-logo img {
  height: 56px;
  width: auto;
}
.nav { display: flex; align-items: center; gap: 0; }
.nav a {
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all var(--transition);
}
.nav a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav a.active { color: var(--gold-light); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone-wrap {
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 3px; line-height: 1; flex-shrink: 0;
}
.header-phone-label {
  color: rgba(255,255,255,0.58); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; line-height: 1;
  white-space: nowrap; pointer-events: none;
}
.header-phone {
  color: rgba(255,255,255,0.85); font-size: 0.88rem;
  font-weight: 800; line-height: 1; white-space: nowrap;
}
.header-phone a { color: var(--gold-light); text-decoration: none; outline: none; }
.header-phone a:hover { color: var(--gold); }
@media (max-width: 340px) { .header-phone-label { display: none; } }

.lang-toggle {
  display: flex;
  gap: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 3px;
}
.lang-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 16px;
  cursor: pointer;
  transition: all var(--transition);
}
.lang-btn.active { background: var(--gold); color: #fff; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* ============================================
   HERO
   ============================================ */
/* .hero base moved to consolidated block below (line ~384) */
@keyframes heroGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(193,153,60,0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroGlow 8s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.6; }
  100% { transform: translate(-40px, 30px) scale(1.15); opacity: 1; }
}
.hero-content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(193,153,60,0.15);
  border: 1px solid rgba(193,153,60,0.3);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin: 0 0 24px;
}
.hero h1 {
  color: #fff;
  font-size: 3.2rem;
  max-width: 700px;
  margin: 0 auto 16px;   /* auto margins so the 700px block centers within hero */
}
.hero h1 span { color: var(--gold-light); }
.hero-age-banner {
  display: inline-block;
  background: linear-gradient(135deg, rgba(201,149,42,0.18) 0%, rgba(232,184,75,0.22) 100%);
  border: 1.5px solid var(--gold);
  border-radius: 30px;
  padding: 8px 20px;
  color: var(--gold-light);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 20px;
  letter-spacing: 0.02em;
}
.hero-age-banner strong {
  color: #fff;
  font-weight: 900;
  font-size: 1.05rem;
}
.hero-sub {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  max-width: 500px;
  margin: 0 auto 32px;   /* auto margins so the 500px block centers within hero */
  line-height: 1.8;
}

/* ============================================
   CTA BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-light); color: var(--navy); }

.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--bg); }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.05); }

.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-light); }

.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* CTA Grid (hero) */
.cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 550px;
  margin: 0 auto;     /* center the 6-CTA grid within hero on desktop */
}
.cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 20px 16px;
  color: #fff;
  text-decoration: none;
  transition: all var(--transition);
  text-align: center;
}
.cta-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--gold);
  transform: translateY(-2px);
  color: #fff;
}
.cta-card-icon { font-size: 1.5rem; }
.cta-card-label { font-size: 0.85rem; font-weight: 700; }
.cta-card-sub { font-size: 0.72rem; color: rgba(255,255,255,0.6); }

/* Primary CTA — emphasize "See My Rates" / "Ver mis precios" as the main action.
   Other 5 cards stay visible (multiple-ways-to-sign-up positioning) but read as secondary. */
.cta-card-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-color: var(--gold-light);
  box-shadow: 0 4px 18px rgba(193, 153, 60, 0.35);
  position: relative;
}
.cta-card-primary:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  border-color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(193, 153, 60, 0.5);
}
.cta-card-primary .cta-card-label { color: var(--navy); font-weight: 900; font-size: 0.92rem; }
.cta-card-primary .cta-card-sub { color: rgba(0, 33, 58, 0.8); font-weight: 700; }
.cta-card-primary .cta-card-icon { color: var(--navy); }
.cta-card-primary::before {
  content: 'EMPIEZA AQUÍ';
  position: absolute;
  top: -10px;
  right: 8px;
  background: var(--navy);
  color: var(--gold-light);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 100px;
  white-space: nowrap;
}
html[lang="en"] .cta-card-primary::before { content: 'START HERE'; }

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.trust-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-light);
}
.trust-item svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; }

/* ============================================
   HERO + SHOWCASE RATE CARD (portrait beside rate)
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #00213a 0%, #001020 30%, #00213a 60%, #0d3a5c 100%);
  background-size: 400% 400%;
  animation: heroGradient 12s ease infinite;
}
/* Dot grid pattern overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(193,153,60,0.06) 1px, transparent 1px),
    radial-gradient(ellipse at 80% 20%, rgba(193,153,60,0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(13,74,117,0.15) 0%, transparent 50%);
  background-size: 32px 32px, 100% 100%, 100% 100%;
  pointer-events: none;
}

.hero-rate-label {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 22px;
  letter-spacing: 0.02em;
}

/* NEW showcase: rate info (left) + portrait (right) side-by-side */
.hero-showcase {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 14px 42px rgba(0,0,0,0.35),
    0 0 0 1px rgba(255,255,255,0.08),
    0 0 40px rgba(193,153,60,0.15),
    0 0 80px rgba(193,153,60,0.08);
  max-width: 560px;
  width: 100%;
  margin: 10px auto 0;
  position: relative;
  transition: opacity 0.4s ease, transform 0.4s ease;
  animation: showcaseFloat 6s ease-in-out infinite;
}
@keyframes showcaseFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
/* Pause floating during slide transitions */
.hero-showcase[style*="opacity: 0"] { animation-play-state: paused; }
.hero-showcase-info {
  flex: 1 1 58%;
  padding: 22px 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  align-items: center;       /* center all child text/elements horizontally */
  text-align: center;        /* center text within each child */
  min-width: 0;
}
.hero-showcase-portrait {
  flex: 1 1 42%;
  position: relative;
  overflow: hidden;
  min-width: 160px;
  background: #f2ece0;
}
.hero-showcase-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: opacity 0.4s ease;
}
.hero-rate-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;    /* center logos within the info column */
  gap: 14px;
  margin-bottom: 10px;
  min-height: 76px;
  max-width: 100%;
  overflow: hidden;
}
/* All carrier logos — uniform height across all slides, width constrained so they never overflow */
.hero-rate-logo,
.hero-rate-addon-logo {
  height: 76px;
  max-width: 200px;
  object-fit: contain;
  object-position: center center;
  flex-shrink: 1;
  min-width: 0;
}
.hero-rate-plus {
  color: var(--gold-dark);
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1;
  flex-shrink: 0;
  display: none; /* shown only on combo slides via JS */
}
.hero-rate-addon-logo {
  display: none; /* shown only on combo slides via JS */
}
/* Optional carrier tagline below logo (e.g., "Guaranteed Approval" for GI products) */
.hero-rate-tagline {
  display: none;
  margin: 0 0 10px;
  font-size: 0.88rem;        /* bumped from 0.72rem — readable header */
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  text-transform: uppercase;
  text-align: center;
}
/* Person line — gender, age (line 1 of info) */
.hero-rate-person {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 2px;
  letter-spacing: 0.01em;
}
/* Optional micro-testimonial on specific slides (e.g., burial card) */
.hero-rate-quote {
  display: none;
  margin: 10px 0 0;
  font-size: 0.8rem;
  color: var(--text-light);
  font-style: italic;
  line-height: 1.45;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.hero-showcase[data-combo="true"] .hero-rate-plus,
.hero-showcase[data-combo="true"] .hero-rate-addon-logo {
  display: inline-block;
}
/* Combo mode: constrain BOTH logos narrower so two + separator + gaps all fit in the info area */
.hero-showcase[data-combo="true"] .hero-rate-logo,
.hero-showcase[data-combo="true"] .hero-rate-addon-logo {
  max-width: 110px;
}
.hero-showcase[data-combo="true"] .hero-rate-logo-row {
  gap: 10px;
}
.hero-rate-coverage {
  font-size: 0.92rem;     /* bumped from 0.82rem — easier to read */
  color: var(--text-light);
  margin: 0;
  line-height: 1.4;
}
.hero-rate-price {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin: 6px 0 4px;
  letter-spacing: -0.01em;
}
.hero-rate-price small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 2px;
}
.hero-rate-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 5px 11px;
  border-radius: 16px;
  margin-top: 4px;
  width: fit-content;
  text-transform: uppercase;
}
@media (max-width: 640px) {
  .hero-showcase {
    flex-direction: column;
    max-width: 380px;
  }
  .hero-showcase-info {
    flex: 0 0 auto;
    padding: 20px 22px 22px;
    text-align: left;
  }
  .hero-showcase-portrait {
    flex: 0 0 180px;
    order: -1;
    min-width: unset;
  }
  .hero-showcase-portrait img {
    object-position: center 15%;
  }
}

@media (max-width: 768px) {
  .hero-content {
    text-align: center;
    margin: 0 auto;
    padding: 0 24px;
  }
  .cta-grid { margin: 0 auto; }
  .hero-rate-label { text-align: center; }
  .hero-rate-card { margin: 0 auto; }
  .hero-overlay {
    background: linear-gradient(to bottom, rgba(0,21,37,0.85) 0%, rgba(0,21,37,0.7) 100%);
  }
  .hero-slide { background-position: center center; }
}

/* ============================================
   HERO FLOATING GEOMETRIC ACCENTS
   ============================================ */
.hero-geo {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero-geo--1 {
  width: 320px; height: 320px;
  border: 1px solid rgba(193,153,60,0.10);
  top: -80px; left: -100px;
  animation: geoFloat1 18s ease-in-out infinite;
}
.hero-geo--2 {
  width: 200px; height: 200px;
  border: 1px solid rgba(255,255,255,0.05);
  bottom: -40px; right: 5%;
  animation: geoFloat2 14s ease-in-out infinite;
}
.hero-geo--3 {
  width: 80px; height: 80px;
  background: rgba(193,153,60,0.06);
  top: 30%; right: 8%;
  animation: geoFloat3 10s ease-in-out infinite;
}
.hero-geo--4 {
  width: 140px; height: 140px;
  border: 1px solid rgba(193,153,60,0.07);
  bottom: 20%; left: 8%;
  animation: geoFloat1 22s ease-in-out infinite reverse;
}
.hero-geo--5 {
  width: 50px; height: 50px;
  background: rgba(255,255,255,0.03);
  top: 15%; left: 25%;
  animation: geoFloat3 12s ease-in-out infinite 2s;
}
/* Diamond shape */
.hero-geo--6 {
  width: 40px; height: 40px;
  border: 1px solid rgba(193,153,60,0.08);
  border-radius: 4px;
  top: 60%; right: 15%;
  transform: rotate(45deg);
  animation: geoDiamond 16s ease-in-out infinite;
}
@keyframes geoFloat1 {
  0%, 100% { transform: translate(0, 0); }
  33%      { transform: translate(20px, -15px); }
  66%      { transform: translate(-10px, 10px); }
}
@keyframes geoFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-20px, -20px) scale(1.05); }
}
@keyframes geoFloat3 {
  0%, 100% { transform: translate(0, 0); opacity: 0.5; }
  50%      { transform: translate(10px, -12px); opacity: 1; }
}
@keyframes geoDiamond {
  0%, 100% { transform: rotate(45deg) translate(0, 0); }
  50%      { transform: rotate(45deg) translate(8px, -10px); }
}
/* Hide smaller accents on mobile to reduce visual noise */
@media (max-width: 768px) {
  .hero-geo--3, .hero-geo--5, .hero-geo--6 { display: none; }
  .hero-geo--1 { width: 200px; height: 200px; }
  .hero-geo--2 { width: 120px; height: 120px; }
}

/* ============================================
   HERO H1 SHIMMER on the gold span
   ============================================ */
.hero h1 span {
  color: var(--gold-light);
  background: linear-gradient(
    90deg,
    var(--gold-light) 0%,
    #f5d98a 40%,
    #fff 50%,
    #f5d98a 60%,
    var(--gold-light) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroShimmer 4s ease-in-out infinite;
}
@keyframes heroShimmer {
  0%, 100% { background-position: 0% center; }
  50%      { background-position: 100% center; }
}

/* ============================================
   HERO BADGE pulse glow
   ============================================ */
.hero-badge {
  animation: badgePulse 3s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(193,153,60,0.0); }
  50%      { box-shadow: 0 0 16px 4px rgba(193,153,60,0.15); }
}

/* ============================================
   SPLIT SECTIONS — text + image side-by-side
   ============================================ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}
.split-section--reverse { direction: rtl; }
.split-section--reverse > * { direction: ltr; }

.split-text {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-image {
  position: relative;
  overflow: hidden;
  min-height: 380px;
}
.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 8s ease;
}
.split-image:hover img {
  transform: scale(1.04);
}
/* Dark overlay for navy-bg sections so image blends */
.split-image--overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,21,40,0.5) 0%, transparent 60%);
  pointer-events: none;
}
.split-section--reverse .split-image--overlay::after {
  background: linear-gradient(270deg, rgba(0,21,40,0.5) 0%, transparent 60%);
}
/* Rounded corner on the image side only */
.split-image--rounded { border-radius: 16px; margin: 20px; }
.split-image--rounded img { border-radius: 16px; }

@media (max-width: 860px) {
  .split-section {
    grid-template-columns: 1fr;
  }
  .split-section--reverse { direction: ltr; }
  .split-image {
    min-height: 260px;
    order: -1;
  }
  .split-text { padding: 36px 24px; text-align: center; }
  .split-text ul { display: inline-block; text-align: left; }
  .split-image--rounded { margin: 0; border-radius: 0; }
  .split-image--rounded img { border-radius: 0; }
}

/* ============================================
   STATS COUNTER BAR
   ============================================ */
.stats-bar {
  background: var(--navy);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item {
  color: #fff;
}
.stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--gold-light);
  display: inline-block;
  line-height: 1.1;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  font-weight: 700;
  display: block;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .stat-number { font-size: 2.2rem; }
}

/* ============================================
   COMPARISON TABLE (Why Choose Us)
   ============================================ */
.compare-table {
  overflow-x: auto;
  margin: 0 auto;
  max-width: 900px;
}
.compare-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.compare-table th {
  padding: 16px 14px;
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
  background: var(--bg-alt);
  color: var(--text);
  border-bottom: 2px solid var(--border);
}
.compare-table th.compare-highlight {
  background: var(--navy);
  color: #fff;
}
.compare-table td {
  padding: 14px;
  font-size: 0.88rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  color: var(--text-light);
}
.compare-table td.compare-highlight {
  background: rgba(0,33,58,0.04);
  color: var(--navy);
  font-weight: 700;
}
.compare-table td.compare-label {
  text-align: left;
  font-weight: 700;
  color: var(--text);
}
.compare-table tr:last-child td { border-bottom: none; }

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item[open] {
  border-color: var(--gold);
}
.faq-item summary {
  padding: 18px 24px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  transition: transform var(--transition);
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-item p {
  padding: 0 24px 18px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   REPATRIATION / COMMUNITY BOX
   ============================================ */
.repatriation-box {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  max-width: 800px;
  margin: 0 auto;
}
.repatriation-content h2 {
  margin-bottom: 16px;
}
.repatriation-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .repatriation-box { padding: 28px 24px; }
}

/* ============================================
   MAP EMBED
   ============================================ */
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border);
}

/* ============================================
   CARRIER LOGOS (scrolling)
   ============================================ */
.carriers-bar {
  background: var(--navy);
  padding: 48px 0 24px;
  overflow: hidden;
}
/* Stat cards on navy background */
.carriers-bar .stats-grid {
  gap: 20px;
  margin-bottom: 36px;
}
.carriers-bar .stat-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 28px 16px 22px;
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.carriers-bar .stat-item:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 8px 32px rgba(201,149,42,0.18);
}
.carriers-bar .stat-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.carriers-bar .stat-item:hover::before { opacity: 1; }
.carriers-bar .stat-number {
  color: var(--gold-light);
  font-size: 2.8rem;
  text-shadow: 0 2px 12px rgba(201,149,42,0.25);
}
.carriers-bar .stat-suffix {
  color: var(--gold-light);
  font-size: 1.6rem;
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(201,149,42,0.25);
}
.carriers-bar .stat-label {
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
/* Staggered entrance for stat cards */
.carriers-bar .stat-item {
  opacity: 0;
  transform: translateY(24px);
}
.carriers-bar.stats-visible .stat-item {
  animation: statSlideUp 0.5s ease forwards;
}
.carriers-bar.stats-visible .stat-item:nth-child(1) { animation-delay: 0s; }
.carriers-bar.stats-visible .stat-item:nth-child(2) { animation-delay: 0.12s; }
.carriers-bar.stats-visible .stat-item:nth-child(3) { animation-delay: 0.24s; }
.carriers-bar.stats-visible .stat-item:nth-child(4) { animation-delay: 0.36s; }
@keyframes statSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.carriers-label {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}
.carriers-track {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.carriers-scroll {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: carrier-scroll 30s linear infinite;
}
/* Every logo gets the same "slot" (180px × 70px). Each logo scales inside its slot
   via object-fit:contain. Square-ish logos (MOO, Gerber) end up centered with a bit
   of empty space on the sides; wide logos (AIG, AA) fill the slot. But the strip
   reads as visually consistent — every logo takes the same horizontal space. */
.carriers-scroll img {
  height: 80px;
  width: 200px;
  object-fit: contain;
  opacity: 0.95;
  transition: all 0.3s ease;
  flex-shrink: 0;
  background: rgba(255,255,255,0.94);
  border-radius: 12px;
  padding: 12px 20px;
  clip-path: inset(0 round 12px);
}
/* Per-carrier sizing \u2014 logos with excess whitespace in the source images
   get bigger pills with object-fit:cover to crop whitespace naturally. */
.carriers-scroll img[src*="moo"] {
  width: 360px;
  height: 80px;
  padding: 2px 24px;
  object-fit: cover;
  object-position: center 42%;
}
.carriers-scroll img[src*="liberty-bankers"] {
  width: 260px;
  height: 80px;
  padding: 4px 0;
  object-fit: cover;
  object-position: center 40%;
}
.carriers-scroll img[src*="gerber"] {
  width: 280px;
  height: 70px;
  padding: 8px 10px;
  object-fit: contain;
}
.carriers-scroll img[src*="ethos"] {
  width: 140px;
  height: 80px;
  padding: 0;
  object-fit: cover;
  border-radius: 12px;
}
.carriers-scroll img[src*="aig-classic"] {
  width: 160px;
  height: 80px;
  padding: 4px 8px;
  object-fit: cover;
  object-position: center;
}
.carriers-scroll img[src*="baltimore"] {
  width: 240px;
  height: 80px;
  padding: 4px 10px;
  object-fit: cover;
  object-position: center 45%;
}
/* .carrier-lg kept for backward compatibility but no longer overrides */
.carriers-scroll img.carrier-lg {
  /* base sizing handled by per-carrier rules above */
}
.carriers-scroll img:hover {
  opacity: 1;
  transform: scale(1.05);
}
@keyframes carrier-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
.product-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
}
.product-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
/* Blog preview cards with image thumbnails on homepage */
.blog-preview-card img { transition: transform 0.4s ease; }
.blog-preview-card:hover img { transform: scale(1.04); }
.product-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.product-icon svg { width: 28px; height: 28px; color: var(--gold-light); }
.product-img {
  width: 120px;
  height: 120px;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0 auto 20px;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card h3 { margin-bottom: 10px; }
.product-card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 16px; }
.product-card .btn { width: 100%; justify-content: center; }

/* ============================================
   STEPS (How It Works)
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}
.step-card {
  text-align: center;
  padding: 0 20px;
  position: relative;
}
.step-number {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 0 6px rgba(193,153,60,0.25), 0 8px 24px rgba(0,0,0,0.2);
  position: relative;
  z-index: 2;
}
/* Outer ring accent */
.step-number::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1.5px dashed rgba(193,153,60,0.3);
  animation: stepRingSpin 20s linear infinite;
}
@keyframes stepRingSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.step-connector {
  position: absolute;
  top: 34px;
  left: calc(50% + 44px);
  width: calc(100% - 88px + 40px);
  height: 0;
  border-top: 2px dashed rgba(193,153,60,0.35);
  z-index: 1;
}
.step-card:last-child .step-connector { display: none; }
.step-card h4 { color: #fff; margin-bottom: 8px; font-size: 1.15rem; }
.step-card p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-bottom: 0; line-height: 1.6; }

@media (max-width: 960px) {
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .step-connector { display: none; }
}
@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.testimonial-card {
  flex: 1 1 calc((100% - 40px) / 3);
  max-width: calc((100% - 40px) / 3);
  min-width: 280px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}
/* Gold gradient top accent (pseudo-element avoids border-image/radius conflict) */
.testimonial-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}
/* Decorative quote mark */
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 6px;
  left: 18px;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  opacity: 0.15;
  z-index: 0;
}
.testimonial-stars { color: var(--gold); font-size: 1.15rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-light);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 16px;
}
.testimonial-name {
  font-weight: 900;
  color: var(--navy);
  font-size: 0.9rem;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* ============================================
   AGENT BIO BOX
   ============================================ */
.bio-box {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 32px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  align-items: center;
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}
.bio-photo {
  width: 250px;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
}
.bio-name { font-size: 1.3rem; margin-bottom: 4px; }
.bio-title { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 16px; }
.bio-text { color: var(--text-light); font-size: 0.95rem; margin-bottom: 16px; }
.bio-quote {
  font-style: italic;
  color: var(--text-light);
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  margin-top: 16px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img { height: 36px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; }
.footer h4 { color: var(--gold-light); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.footer a { color: rgba(255,255,255,0.6); font-size: 0.88rem; display: block; margin-bottom: 8px; }
.footer a:hover { color: var(--gold-light); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
}
.footer-bottom a {
  margin: 0 4px;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all var(--transition);
}
.footer-bottom a:hover {
  background: rgba(255,255,255,0.08);
}
.footer-disclaimer {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px 24px 0;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
}

/* ============================================
   ARTICLE / SERVICE PAGE
   ============================================ */
.article { max-width: 780px; margin: 0 auto; padding: 60px 24px; }
.article h1 { margin-bottom: 8px; }
.article-meta { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 32px; }
.article h2 { margin-top: 48px; margin-bottom: 16px; }
.article h3 { margin-top: 32px; margin-bottom: 12px; }
.article ul, .article ol { margin-bottom: 1rem; padding-left: 24px; }
.article li { margin-bottom: 6px; color: var(--text-light); }
.article table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.article th {
  background: var(--navy);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-size: 0.88rem;
  font-weight: 700;
}
.article td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.article tr:hover td { background: var(--bg-alt); }

/* Fast-path CTA */
.fast-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.fast-cta span { color: rgba(255,255,255,0.9); font-size: 0.92rem; font-weight: 700; }
.fast-cta a { color: var(--gold-light); font-weight: 700; }

/* Decision box */
.decision-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}
.decision-path {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.decision-path.green { border-top: 4px solid var(--green); }
.decision-path.blue { border-top: 4px solid var(--navy); }
.decision-path h4 { margin-bottom: 12px; }
.decision-path ul { list-style: none; padding: 0; }
.decision-path li { padding: 4px 0; font-size: 0.92rem; color: var(--text-light); }
.decision-path li::before { content: '\2713'; color: var(--green); font-weight: 900; margin-right: 8px; }

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--navy);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,33,58,0.08);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .hero h1 { font-size: 2.4rem; }
  .products-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bio-box { grid-template-columns: 1fr; text-align: center; }
  .bio-photo { margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .decision-box { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .header-logo img { height: 48px; min-width: 120px; width: auto; }
  .nav { display: none; }
  .menu-toggle { display: block; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 16px 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: var(--shadow-lg);
  }
  .nav.open a { padding: 12px 0; }
  .header-phone { display: block; font-size: 0.75rem; }
  .hero { padding: 60px 0 50px; }
  .hero h1 { font-size: 2rem; }
  .cta-grid { grid-template-columns: 1fr 1fr; }
  .trust-bar-inner { gap: 16px; }
  .trust-item { font-size: 0.78rem; }
  .section { padding: 50px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  h2 { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .cta-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.7rem; }
  .hero-sub { font-size: 1rem; }
  .ad-widget { padding: 24px 18px !important; }
  .ad-calc { padding: 18px 16px !important; }
}

/* ============================================
   HERO SOCIAL PROOF
   ============================================ */
.hero-proof {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 30px;
  padding: 8px 24px;
  margin-bottom: 28px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
}
.hero-proof-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-proof-item strong { color: #fff; }
.hero-proof-divider {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.25);
}
.hero-urgency {
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  font-style: italic;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .hero-proof { flex-direction: column; gap: 8px; border-radius: 12px; padding: 12px 20px; }
  .hero-proof-divider { display: none; }
}

/* ============================================
   COVERAGE GUIDE
   ============================================ */
.coverage-guide {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.coverage-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.coverage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.coverage-header {
  color: #fff;
  font-weight: 900;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 12px 20px;
  text-align: center;
}
.coverage-body { padding: 24px 20px; }
.coverage-range {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 8px;
}
.coverage-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 12px;
}
.coverage-who {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

@media (max-width: 768px) {
  .coverage-guide { grid-template-columns: 1fr; }
}

/* ============================================
   MODERN TOUCHES — scroll reveal + polish
   ============================================ */

/* Fade-in-up on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.5s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.6s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.7s; }

/* Soft glow on gold buttons */
.btn-gold {
  box-shadow: 0 2px 12px rgba(193,153,60,0.3);
}
.btn-gold:hover {
  box-shadow: 0 4px 20px rgba(193,153,60,0.45);
}

/* Subtle card lift on product cards */
.product-card {
  box-shadow: var(--shadow-sm);
}

/* Testimonial cards — left-aligned text */
.testimonial-card {
  text-align: left;
}

/* Trust bar items — subtle icon pulse on hover */
.trust-item:hover svg {
  transform: scale(1.15);
  transition: transform 0.2s ease;
}

/* Step number subtle pulse */
.step-number {
  animation: step-pulse 2.5s ease-in-out infinite;
}
@keyframes step-pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(193,153,60,0.25); }
  50% { box-shadow: 0 0 0 12px rgba(193,153,60,0.1); }
}

/* ============================================
   POLISH PASS — hover effects, transitions, fixes
   ============================================ */

/* Testimonial cards — lift + shadow on hover */
.testimonial-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* CTA cards — smooth hover glow */
.cta-card {
  transition: all 0.25s ease;
}

/* FAQ accordion items — subtle hover */
.faq-item {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item:hover {
  border-color: var(--gold);
  box-shadow: 0 2px 8px rgba(193,153,60,0.1);
}

/* Blog cards on homepage — lift on hover */
.blog-preview-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.blog-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Comparison table — highlight Legacy column */
.compare-table th:nth-child(2) {
  position: relative;
}
.compare-table td:nth-child(2) {
  background: rgba(193,153,60,0.04);
}

/* Steps circles — hover lift */
.step-number {
  transition: transform 0.2s ease;
}
.step-number:hover {
  transform: scale(1.1);
}

/* Footer bottom — fix bullet alignment and spacing */
.footer-bottom span {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.footer-bottom span a {
  display: inline;
  margin-bottom: 0;
}

/* Smooth section transitions for all interactive elements */
.product-card,
.cta-card,
.testimonial-card,
.blog-preview-card,
.faq-item {
  will-change: transform;
}

/* Carrier logo hover — subtle scale */
.carriers-scroll img:hover {
  transform: scale(1.08);
  transition: transform 0.25s ease;
}

/* Bio box image — subtle zoom on hover */
.bio-box img {
  transition: transform 0.4s ease;
}
.bio-box:hover img {
  transform: scale(1.02);
}

/* Children's WL parent/grandparent cards — hover lift */
.merge-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.merge-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
