/* ═══════════════════════════════════════════════════════════
   SALAS INSURANCE GROUP — style.css
   Palette: Navy #0D1F3C + Gold #D4A017 — Branding v2
   ═══════════════════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  /* Brand v2 */
  --navy: #0D1F3C;
  --navy-dark: #080E18;
  --navy-light: #162D55;
  --gold: #D4A017;
  --gold-light: #F0C040;
  --gold-dark: #A07810;
  --white: #ffffff;
  --off-white: #F7F5F0;

  /* Text */
  --color-text: #1a1a2e;
  --color-text-muted: #5a6070;
  --color-text-faint: #9aa0b0;
  --color-text-inverse: #ffffff;

  /* Surfaces */
  --color-bg: #f8f7f4;
  --color-surface: #ffffff;
  --color-surface-soft: #f0efec;
  --color-border: #e2e0dc;

  /* Type */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  /* Scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-hero: clamp(2.5rem, 1rem + 4vw, 4.5rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Other */
  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
  --transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 1px 3px rgba(13,31,60,0.10);
  --shadow-md: 0 4px 16px rgba(13,31,60,0.15);
  --shadow-lg: 0 12px 40px rgba(13,31,60,0.22);
  --content-max: 1160px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
}
img, svg { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; background: none; border: none; font: inherit; }
input, select, textarea { font: inherit; color: inherit; }
h1,h2,h3,h4 { line-height: 1.2; text-wrap: balance; font-family: var(--font-display); }
p, li { text-wrap: pretty; max-width: 70ch; }
em { font-style: italic; color: var(--gold); }

/* ── LAYOUT ── */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: clamp(var(--space-5), 5vw, var(--space-10));
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.65em 1.4em;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
  transition: all var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn-sm { padding: 0.5em 1.1em; font-size: var(--text-xs); }
.btn-lg { padding: 0.85em 1.8em; font-size: var(--text-sm); }
.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover { background: var(--navy-dark); border-color: var(--navy-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  font-weight: 700;
}
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(201,168,76,0.35); }
.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
}
.btn-whatsapp:hover { background: #128C7E; border-color: #128C7E; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(37,211,102,0.35); }
.mt-auto { margin-top: auto; }

/* ── HEADER ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248,247,244,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}
.header--scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-4);
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--navy);
  letter-spacing: 0.1em;
}
.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}
.nav {
  display: flex;
  gap: var(--space-6);
  align-items: center;
}
.nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition);
}
.nav a:hover { color: var(--navy); }
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── HERO ── */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
}
.shape-1 {
  width: 600px; height: 600px;
  background: var(--gold);
  top: -200px; right: -100px;
}
.shape-2 {
  width: 400px; height: 400px;
  background: var(--white);
  bottom: -150px; left: -100px;
}
.shape-3 {
  width: 200px; height: 200px;
  background: var(--gold);
  top: 40%; left: 40%;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-12);
  align-items: center;
  padding-block: clamp(var(--space-12), 8vw, var(--space-20));
  flex: 1;
  position: relative;
  z-index: 1;
}
.hero-content { max-width: 600px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(201,168,76,0.15);
  color: var(--gold-light);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius-full);
  padding: 0.35em 1em;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}
.hero-title {
  font-size: var(--text-hero);
  color: var(--white);
  margin-bottom: var(--space-5);
  font-weight: 800;
  line-height: 1.1;
}
.hero-desc {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.78);
  margin-bottom: var(--space-8);
  max-width: 56ch;
}
.hero-ctas {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.65);
  margin-top: var(--space-1);
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.2);
}

/* Agent card */
.hero-agent { flex-shrink: 0; }
.agent-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  width: 260px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.agent-photo-wrap {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--space-4);
  border-radius: 50%;
  background: rgba(201,168,76,0.2);
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.agent-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 50%;
}
.agent-verified {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  color: var(--gold);
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.agent-name {
  font-size: var(--text-lg);
  color: var(--white);
  font-weight: 800;
  margin-bottom: var(--space-1);
  font-family: var(--font-display);
}
.agent-title {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-2);
}
.agent-tagline {
  font-size: var(--text-xs);
  color: var(--gold-light);
  font-style: italic;
  margin-bottom: var(--space-4);
}
.agent-phone {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--gold);
  color: var(--navy);
  padding: 0.5em 1em;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  transition: all var(--transition);
}
.agent-phone:hover { background: var(--gold-light); transform: translateY(-1px); }

/* Ticker */
.ticker-wrap {
  background: rgba(0,0,0,0.2);
  padding: var(--space-3) 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.08);
  position: relative;
  z-index: 1;
}
.ticker {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  width: max-content;
}
.ticker span {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.ticker .sep { color: var(--gold); font-size: 0.6rem; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── SECTIONS ── */
.section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-20));
}
.section--navy {
  background: var(--navy);
}
.section--soft {
  background: var(--color-surface-soft, #f0efec);
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-12);
}
.section-header--light .section-title,
.section-header--light .section-desc {
  color: var(--white);
}
.section-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-3);
}
.section-title {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: var(--space-4);
  font-family: var(--font-display);
}
.section-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
}

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
}
.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: all var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy);
}
.service-card--featured {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  grid-row: span 1;
}
.service-card--featured h3 { color: var(--white); }
.service-card--featured p { color: rgba(255,255,255,0.75); }
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(201,168,76,0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-card--featured .service-icon {
  background: rgba(201,168,76,0.2);
}
.service-card h3 {
  font-size: var(--text-lg);
  color: var(--navy);
  font-weight: 700;
  font-family: var(--font-display);
}
.service-card p { font-size: var(--text-sm); color: var(--color-text-muted); }
.service-card--featured p { color: rgba(255,255,255,0.75); }
.service-benefits {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-2);
}
.service-benefits li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--gold-light);
  font-weight: 500;
}
.service-benefits li::before {
  content: "✓";
  flex-shrink: 0;
  font-weight: 700;
}

/* ── STEPS ── */
.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
  margin-bottom: var(--space-12);
}
.step {
  text-align: center;
  max-width: 260px;
  padding: var(--space-8);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  flex: 1;
  min-width: 220px;
}
.step-number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--gold);
  margin-bottom: var(--space-3);
  line-height: 1;
}
.step h3 {
  font-size: var(--text-base);
  color: var(--white);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.step p { font-size: var(--text-sm); color: rgba(255,255,255,0.65); max-width: none; }
.step-arrow { color: rgba(255,255,255,0.3); flex-shrink: 0; }
.cta-center { text-align: center; }

/* ── WHY US ── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}
/* Photo column */
.why-photo-col { position: relative; }
.why-photo-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 3/4;
  max-height: 560px;
  background: var(--navy);
}
.why-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}
.why-photo-wrap:hover .why-photo { transform: scale(1.03); }
.why-photo-badge {
  position: absolute;
  bottom: var(--space-5);
  left: var(--space-5);
  right: var(--space-5);
}
.why-photo-badge-inner {
  background: rgba(27,42,74,0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  color: var(--white);
}
.why-photo-badge-inner strong {
  display: block;
  color: var(--gold);
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--space-1);
}
.why-photo-badge-inner span { font-size: var(--text-xs); color: rgba(255,255,255,0.7); }
.why-features { display: flex; flex-direction: column; gap: var(--space-5); margin-top: var(--space-6); }
.why-feature {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.why-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.why-feature strong { display: block; color: var(--navy); font-size: var(--text-sm); margin-bottom: var(--space-1); }
.why-feature p { font-size: var(--text-xs); color: var(--color-text-muted); max-width: none; margin: 0; }
.why-content .section-title { text-align: left; }
.why-content > p { margin-bottom: var(--space-4); color: var(--color-text-muted); }

/* ── CARRIERS ── */
.carriers-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  align-items: center;
}
.carrier-logo {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-8);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--navy);
  text-align: center;
  transition: all var(--transition);
}
.carrier-logo small { display: block; font-size: 0.65em; font-weight: 500; opacity: 0.7; }
.carrier-logo:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.testimonial-card--featured {
  background: var(--navy);
  border-color: var(--navy);
  transform: scale(1.03);
}
.testimonial-card--featured blockquote { color: rgba(255,255,255,0.85); }
.testimonial-card--featured strong { color: var(--white); }
.testimonial-card--featured span { color: rgba(255,255,255,0.5); }
.stars { color: var(--gold); font-size: var(--text-base); letter-spacing: 2px; }
.testimonial-card blockquote {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  font-style: italic;
  max-width: none;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: auto;
}
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-xs);
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: var(--text-sm); color: var(--navy); }
.testimonial-card--featured .testimonial-author strong { color: var(--white); }
.testimonial-author span { font-size: var(--text-xs); color: var(--color-text-faint); }

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}
.contact-method:hover { background: rgba(255,255,255,0.1); border-color: rgba(201,168,76,0.4); }
.contact-method-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(201,168,76,0.15);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-method-icon--green { background: rgba(37,211,102,0.15); color: #25D366; }
.contact-method strong { display: block; font-size: var(--text-sm); color: var(--white); }
.contact-method span { font-size: var(--text-xs); color: rgba(255,255,255,0.5); }

/* Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-lg);
}
.contact-form h3 {
  font-size: var(--text-lg);
  color: var(--navy);
  margin-bottom: var(--space-2);
  font-family: var(--font-display);
}
.form-subtitle { font-size: var(--text-xs); color: var(--color-text-muted); margin-bottom: var(--space-6); }
.form-group { display: flex; flex-direction: column; gap: var(--space-2); }
.contact-form { display: flex; flex-direction: column; gap: var(--space-5); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
label { font-size: var(--text-xs); font-weight: 600; color: var(--navy); letter-spacing: 0.02em; }
input, select, textarea {
  width: 100%;
  padding: 0.75em 1em;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  background: var(--color-bg);
  transition: all var(--transition);
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(27,42,74,0.08);
}
textarea { resize: vertical; min-height: 80px; }
.form-submit { width: 100%; justify-content: center; margin-top: var(--space-2); }
.form-disclaimer {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-align: center;
  justify-content: center;
  max-width: none;
}
.form-success {
  text-align: center;
  padding: var(--space-8);
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-lg);
}
.form-success svg { margin: 0 auto var(--space-3); }
.form-success strong { display: block; color: #16a34a; margin-bottom: var(--space-2); }
.form-success p { color: var(--color-text-muted); font-size: var(--text-sm); max-width: none; }

/* ── FOOTER ── */
.footer {
  background: var(--navy-dark);
  padding-block: var(--space-12) 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: var(--space-10);
  padding-bottom: var(--space-10);
}
.footer-brand .logo-name { color: var(--white); }
.footer-brand .logo-sub { color: rgba(255,255,255,0.4); }
.footer-tagline {
  font-style: italic;
  color: var(--gold);
  font-size: var(--text-sm);
  margin-top: var(--space-4);
}
.footer-tagline-es {
  color: rgba(255,255,255,0.5);
  font-size: var(--text-xs);
  margin-top: var(--space-1);
  max-width: none;
}
.footer-links h4 {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-4);
  font-family: var(--font-body);
}
.footer-links ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-links li, .footer-links a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
  max-width: none;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-block: var(--space-5);
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  max-width: none;
}

/* ── WHATSAPP FAB ── */
.whatsapp-fab {
  position: fixed;
  bottom: calc(var(--space-8) + 20px);
  right: var(--space-6);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: #25D366;
  color: var(--white);
  border-radius: var(--radius-full);
  padding: var(--space-4) var(--space-5);
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: all var(--transition);
  text-decoration: none;
  font-size: var(--text-xs);
  font-weight: 700;
}
.whatsapp-fab:hover {
  background: #128C7E;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(37,211,102,0.5);
}
.whatsapp-fab-label { white-space: nowrap; }

/* ── DOCTOR FINDER ── */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}
.doctor-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-decoration: none;
  color: var(--color-text);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.doctor-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--navy);
  border-radius: 4px 0 0 4px;
  transform: scaleY(0);
  transition: transform var(--transition);
  transform-origin: bottom;
}
.doctor-card:hover {
  border-color: var(--navy);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.doctor-card:hover::before { transform: scaleY(1); }
.doctor-card:hover .doctor-card-arrow { color: var(--navy); transform: translateX(4px); }
.doctor-card-logo {
  min-width: 80px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-align: center;
  flex-shrink: 0;
  line-height: 1.2;
}
.doctor-card-logo--oscar  { background: #ff6b35; }
.doctor-card-logo--anthem { background: #00427e; }
.doctor-card-logo--aetna  { background: #7b1fa2; }
.doctor-card-logo--humana { background: #00833e; }
.doctor-card-logo--molina { background: #d32f2f; }
.doctor-card-logo--cigna  { background: #004b7f; }
.doctor-card-body { flex: 1; min-width: 0; }
.doctor-card-body h3 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-1);
  font-family: var(--font-body);
  line-height: 1.3;
}
.doctor-card-body p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
  max-width: none;
  margin: 0;
}
.doctor-card-arrow {
  color: var(--color-text-faint);
  flex-shrink: 0;
  transition: all var(--transition);
}
.doctors-note {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: rgba(27,42,74,0.05);
  border: 1px solid rgba(27,42,74,0.12);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto;
}
.doctors-note svg { flex-shrink: 0; color: var(--gold); }
.doctors-note a { color: var(--navy); font-weight: 600; text-decoration: underline; }

/* ══════════════════════════════════════════════
   OPEN ENROLLMENT BANNER
   ══════════════════════════════════════════════ */
.oe-banner {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 2px solid var(--gold);
  animation: oeBannerSlideDown 0.4s ease;
}
@keyframes oeBannerSlideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
.oe-banner-inner {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-3) var(--space-6);
  min-height: 56px;
  flex-wrap: nowrap;
}
.oe-mode {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex: 1;
  flex-wrap: wrap;
}

/* Modo PRE — antes de Open Enrollment */
.oe-mode--pre { }
.oe-icon {
  color: var(--gold);
  flex-shrink: 0;
  display: flex;
}
.oe-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.oe-text strong {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}
.oe-text span {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Countdown */
.oe-countdown {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-4);
}
.oe-countdown--urgent {
  background: rgba(201,168,76,0.15);
  border-color: rgba(201,168,76,0.4);
}
.oe-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 32px;
}
.oe-num {
  font-size: var(--text-base);
  font-weight: 800;
  color: var(--white);
  font-family: var(--font-display);
  line-height: 1;
}
.oe-countdown--urgent .oe-num { color: var(--gold-light); }
.oe-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
  line-height: 1;
  margin-top: 2px;
}
.oe-sep {
  font-size: var(--text-base);
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  margin-bottom: 10px;
}

/* Modo ACTIVE — durante Open Enrollment */
.oe-mode--active { position: relative; }
.oe-pulse {
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: oePulse 1.5s ease-in-out infinite;
}
@keyframes oePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,76,0.7); }
  50%       { box-shadow: 0 0 0 8px rgba(201,168,76,0); }
}

/* CTA button */
.oe-cta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--gold);
  color: var(--navy-dark);
  border: none;
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
  flex-shrink: 0;
  text-decoration: none;
}
.oe-cta:hover { background: var(--gold-light); transform: translateY(-1px); }
.oe-cta--urgent {
  background: var(--white);
  color: var(--navy);
  animation: oePulseBtn 2s ease-in-out infinite;
}
.oe-cta--urgent:hover { background: var(--off-white); transform: translateY(-1px); }
@keyframes oePulseBtn {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.3); }
  50%       { box-shadow: 0 0 0 6px rgba(255,255,255,0); }
}

/* Close button */
.oe-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: color var(--transition);
  display: flex;
  align-items: center;
}
.oe-close:hover { color: var(--white); }

@media (max-width: 768px) {
  .oe-banner-inner { padding: var(--space-3) var(--space-4); gap: var(--space-3); }
  .oe-text span { display: none; }
  .oe-text strong { white-space: normal; font-size: var(--text-xs); }
  .oe-countdown { padding: var(--space-2) var(--space-3); }
  .oe-num { font-size: var(--text-sm); }
}
@media (max-width: 480px) {
  .oe-mode { gap: var(--space-2); }
  .oe-icon { display: none; }
}

/* ══════════════════════════════════════════════
   GALERÍA DE COBERTURAS
   ══════════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}
.gallery-card--large {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}
.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--navy-dark);
  cursor: pointer;
}
.gallery-card--large {
  aspect-ratio: unset;
}
.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  filter: brightness(0.88);
}
.gallery-card:hover .gallery-img {
  transform: scale(1.04);
  filter: brightness(0.7);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6);
  background: linear-gradient(to top, rgba(15,29,53,0.9) 0%, rgba(15,29,53,0.3) 50%, transparent 100%);
  color: var(--white);
  transition: background 0.3s ease;
}
.gallery-card:hover .gallery-overlay {
  background: linear-gradient(to top, rgba(15,29,53,0.95) 0%, rgba(15,29,53,0.5) 60%, transparent 100%);
}
.gallery-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25em 0.75em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-2);
  align-self: flex-start;
}
.gallery-overlay h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-1);
  line-height: 1.2;
}
.gallery-overlay p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.75);
  margin: 0;
  max-width: none;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease 0.05s, transform 0.3s ease 0.05s;
}
.gallery-card:hover .gallery-overlay p {
  opacity: 1;
  transform: translateY(0);
}
.gallery-cta {
  text-align: center;
  padding-top: var(--space-4);
}

/* ══════════════════════════════════════════════
   REFERIDOS — Rediseño con formulario
   ══════════════════════════════════════════════ */

/* Pasos horizontales */
.ref-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
  flex-wrap: wrap;
}
.ref-step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  max-width: 240px;
  flex: 1;
  min-width: 160px;
}
.ref-step-arrow {
  color: var(--gold);
  flex-shrink: 0;
  padding-top: var(--space-3);
  opacity: 0.5;
}
.ref-step-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ref-step-icon--gold {
  background: var(--gold);
  color: var(--navy-dark);
}
.ref-step strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-1);
}
.ref-step p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
  max-width: none;
}

/* Contenedor del formulario */
.ref-form-wrap {
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: 0 4px 32px rgba(27,42,74,0.07);
  max-width: 900px;
  margin: 0 auto;
}
.ref-form {}
.ref-cols {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}
.ref-col-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--color-border);
}
.ref-col-header h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}
.ref-divider {
  width: 1px;
  background: var(--color-border);
  align-self: stretch;
  margin: var(--space-2) 0;
}
.ref-form-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  border-top: 1.5px solid var(--color-border);
  padding-top: var(--space-8);
}
.ref-submit {
  min-width: 280px;
}
.ref-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
  padding: var(--space-10);
}
.ref-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(27,42,74,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ref-success strong {
  font-size: var(--text-lg);
  color: var(--navy);
}
.ref-success p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 420px;
}

/* Legacy grid (ya no se usa pero no rompe nada) */
.referral-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.referral-content {
  color: var(--white);
}
.referral-content .section-title { color: var(--white); }
.referral-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-top: var(--space-8);
}
.referral-step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  color: rgba(255,255,255,0.85);
}
.referral-step strong {
  display: block;
  color: var(--white);
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}
.referral-step p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
  margin: 0;
  max-width: none;
}
.referral-step-num {
  min-width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: var(--text-sm);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-display);
}
.referral-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.referral-card {
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(201,168,76,0.35);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  text-align: center;
  max-width: 340px;
  width: 100%;
  backdrop-filter: blur(8px);
}
.referral-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(201,168,76,0.12);
  border: 1.5px solid rgba(201,168,76,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
}
.referral-card-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-display);
  margin-bottom: var(--space-3);
}
.referral-card-desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin-bottom: var(--space-8);
  max-width: none;
}
.referral-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  border-top: 1px solid rgba(201,168,76,0.2);
  padding-top: var(--space-6);
}
.referral-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
}
.referral-stat-num {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--gold);
  font-family: var(--font-display);
  line-height: 1;
}

/* ══════════════════════════════════════════════
   FAQ — Accordion Section
   ══════════════════════════════════════════════ */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 820px;
  margin: 0 auto var(--space-12);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq-item {
  border-bottom: 1.5px solid var(--color-border);
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-6) var(--space-7);
  background: var(--color-surface);
  border: none;
  cursor: pointer;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--navy);
  font-family: var(--font-body);
  text-align: left;
  transition: background var(--transition), color var(--transition);
}
.faq-question:hover { background: var(--color-surface-soft); }
.faq-question[aria-expanded="true"] {
  background: var(--navy);
  color: var(--white);
}
.faq-question[aria-expanded="true"] .faq-chevron {
  stroke: var(--gold);
  transform: rotate(180deg);
}
.faq-chevron {
  flex-shrink: 0;
  stroke: var(--color-text-muted);
  transition: transform 0.3s ease, stroke var(--transition);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  background: var(--color-surface);
}
.faq-answer.faq-answer--open {
  max-height: 300px;
  padding: var(--space-5) var(--space-7) var(--space-6);
}
.faq-answer p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
  max-width: none;
}
.faq-cta {
  text-align: center;
  padding: var(--space-8) 0 0;
}
.faq-cta > p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
  max-width: none;
}

/* ── LANGUAGE TOGGLE ── */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 0.3em 0.5em;
  font-size: var(--text-xs);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  overflow: hidden;
}
.lang-toggle:hover { border-color: var(--navy); }
.lang-option {
  padding: 0.2em 0.55em;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: all var(--transition);
  white-space: nowrap;
}
.lang-option.active {
  background: var(--navy);
  color: var(--white);
}
.lang-sep { color: var(--color-text-faint); margin: 0 1px; font-size: 0.7em; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .testimonials-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .testimonial-card--featured { transform: none; }
  .why-grid { grid-template-columns: 1fr; }
  .why-photo-wrap { max-height: 380px; aspect-ratio: 4/3; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .referral-grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .referral-visual { display: none; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-card--large { grid-column: 1 / 3; grid-row: 1 / 2; }
}

@media (max-width: 768px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-surface); border-bottom: 1px solid var(--color-border); flex-direction: column; padding: var(--space-6); gap: var(--space-4); box-shadow: var(--shadow-md); }
  .nav.nav--open { display: flex; }
  .hamburger { display: flex; }
  .btn.btn-outline.btn-sm { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .hero-agent { display: none; }
  .hero-stats { gap: var(--space-4); }
  .steps-grid { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6) var(--space-5);
  }
  .footer-inner .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-links--carriers {
    grid-column: 1 / -1;
  }
  .footer-links ul { gap: var(--space-2); }
  .footer-links h4 { margin-bottom: var(--space-3); }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .whatsapp-fab-label { display: none; }
  .whatsapp-fab { padding: var(--space-4); border-radius: 50%; width: 60px; height: 60px; justify-content: center; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: var(--space-3); }
  .service-card { padding: var(--space-5) var(--space-4); gap: var(--space-3); }
  .service-icon { width: 38px; height: 38px; }
  .service-icon svg { width: 18px; height: 18px; }
  .service-card h3 { font-size: var(--text-base); }
  .service-card p { font-size: var(--text-xs); }
  .service-card .btn { font-size: var(--text-xs); padding: var(--space-2) var(--space-3); }
  .service-benefits { display: none; }
  .service-card--featured { grid-column: span 2; }
  .contact-form-wrap { padding: var(--space-6); }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-card--large { grid-column: 1; grid-row: auto; }
  .ref-cols { grid-template-columns: 1fr; }
  .ref-divider { width: auto; height: 1px; margin: 0; }
  .ref-steps { flex-direction: row; align-items: flex-start; flex-wrap: nowrap; gap: var(--space-2); margin-bottom: var(--space-8); }
  .ref-step { flex-direction: column; align-items: center; text-align: center; min-width: 0; max-width: none; gap: var(--space-2); }
  .ref-step-icon { width: 36px; height: 36px; flex-shrink: 0; }
  .ref-step-icon svg { width: 16px; height: 16px; }
  .ref-step strong { font-size: 11px; }
  .ref-step p { font-size: 10px; }
  .ref-step-arrow { padding-top: 0; margin-top: var(--space-5); transform: none; opacity: 0.4; }
  .ref-step-arrow svg { width: 14px; height: 14px; }
  .ref-form-wrap { padding: var(--space-6); }
  .ref-submit { min-width: 0; width: 100%; }
}

/* ── MÉDICOS CTA BANNER ── */
.medicos-cta-banner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: var(--space-8) var(--space-10);
  box-shadow: var(--shadow-lg);
}
.medicos-cta-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  background: rgba(212,160,23,0.15);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.medicos-cta-text { flex: 1; }
.medicos-cta-text h2 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-2);
}
.medicos-cta-text p {
  color: rgba(255,255,255,0.7);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin: 0;
}
.medicos-cta-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  white-space: nowrap;
}
@media (max-width: 680px) {
  .medicos-cta-banner {
    flex-direction: column;
    text-align: center;
    padding: var(--space-8) var(--space-6);
  }
  .medicos-cta-btn { width: 100%; justify-content: center; }
}

/* ══════════════════════════════════════════════
   MAPA SVG — LICENCIAS
   ══════════════════════════════════════════════ */
#licencias { background: var(--color-bg); }

.map-wrap {
  max-width: 780px;
  margin: 0 auto;
}

.usa-map {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 24px rgba(13,31,60,0.10));
}

/* Non-licensed states */
.state {
  fill: var(--navy-light);
  stroke: var(--navy-dark);
  stroke-width: 1;
  transition: fill var(--transition);
}

/* Licensed states */
.state--licensed {
  fill: var(--gold);
  stroke: var(--gold-dark);
  stroke-width: 1.5;
  cursor: pointer;
  filter: drop-shadow(0 2px 6px rgba(212,160,23,0.35));
  transition: fill var(--transition), filter var(--transition);
}
.state--licensed:hover {
  fill: var(--gold-light);
  filter: drop-shadow(0 4px 14px rgba(212,160,23,0.55));
}

/* Labels */
.map-label {
  fill: var(--navy-dark);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-anchor: middle;
  pointer-events: none;
  user-select: none;
}

/* Tooltip */
.map-tooltip-bg { fill: var(--navy); rx: 6; }
.map-tooltip-text {
  fill: #fff;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-anchor: middle;
  pointer-events: none;
}

/* Legend */
.map-legend {
  display: flex;
  justify-content: center;
  gap: var(--space-6);
  margin-top: var(--space-6);
}
.map-legend-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.map-legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  flex-shrink: 0;
}
.map-legend-dot--gold { background: var(--gold); }
.map-legend-dot--navy { background: var(--navy-light); }

/* State pills */
.map-states-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
}
.state-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  background: rgba(212,160,23,0.12);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-full);
  color: var(--navy);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: background var(--transition);
}
.state-pill::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.state-pill:hover { background: rgba(212,160,23,0.22); }

/* Map CTA */
.map-cta {
  text-align: center;
  margin-top: var(--space-10);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}
.map-cta p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* ══════════════════════════════════════════════
   STICKY MOBILE BAR
   ══════════════════════════════════════════════ */
.sticky-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: 64px;
  background: var(--navy);
  border-top: 2px solid var(--gold);
  box-shadow: 0 -4px 20px rgba(13,31,60,0.25);
  padding-bottom: env(safe-area-inset-bottom);
}
.sticky-mobile-btn {
  display: flex;
  flex: 1;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition);
}
.sticky-mobile-bar {
  display: none;
  flex-direction: row;
}
.sticky-mobile-btn--call {
  color: #fff;
  background: transparent;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.sticky-mobile-btn--call:hover { background: rgba(255,255,255,0.08); }
.sticky-mobile-btn--whatsapp {
  color: var(--gold);
  background: transparent;
}
.sticky-mobile-btn--whatsapp:hover { background: rgba(212,160,23,0.1); }

@media (max-width: 768px) {
  .sticky-mobile-bar { display: flex; }
  /* Add bottom padding to body so content isn't hidden behind bar */
  body { padding-bottom: 64px; }
  /* Hide WhatsApp FAB on mobile — sticky bar replaces it */
  .whatsapp-fab { display: none !important; }
}

/* ══════════════════════════════════════════════
   EXIT INTENT POPUP
   ══════════════════════════════════════════════ */
.exit-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8,14,24,0.75);
  backdrop-filter: blur(4px);
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}
.exit-popup-overlay.is-visible {
  opacity: 1;
  pointer-events: all;
}
.exit-popup-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8);
  max-width: 420px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 64px rgba(13,31,60,0.30);
  transform: translateY(20px);
  transition: transform 300ms ease;
  text-align: center;
}
.exit-popup-overlay.is-visible .exit-popup-card {
  transform: translateY(0);
}
.exit-popup-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: var(--color-surface-soft);
  border: none;
  border-radius: var(--radius-full);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: background var(--transition), color var(--transition);
}
.exit-popup-close:hover { background: var(--navy); color: #fff; }
.exit-popup-icon {
  width: 64px;
  height: 64px;
  background: rgba(13,31,60,0.07);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  color: var(--navy);
}
.exit-popup-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}
.exit-popup-sub {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-6);
  line-height: 1.6;
}
.exit-popup-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.exit-popup-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--transition);
  outline: none;
}
.exit-popup-input:focus { border-color: var(--navy); }
.exit-popup-btn { width: 100%; justify-content: center; margin-top: var(--space-2); }
.exit-popup-disclaimer {
  margin-top: var(--space-4);
  font-size: 11px;
  color: var(--color-text-faint);
}

/* ══════════════════════════════════════════════
   GALERÍA 2 COLUMNAS
   ══════════════════════════════════════════════ */
.gallery-grid--2col {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
}
.gallery-grid--2col .gallery-card--large {
  grid-column: span 1;
  grid-row: span 1;
  height: 340px;
}
@media (max-width: 600px) {
  .gallery-grid--2col { grid-template-columns: 1fr; }
  .gallery-grid--2col .gallery-card--large { height: 240px; }
}

/* ══════════════════════════════════════════════
   STEPS COMPACT — inside why-us
   ══════════════════════════════════════════════ */
.steps-compact {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  padding: var(--space-6);
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--gold);
}
.step-compact {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}
.step-compact-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--navy);
  color: var(--gold);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.step-compact strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}
.step-compact p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ══════════════════════════════════════════════
   FOOTER CARRIERS
   ══════════════════════════════════════════════ */
/* footer carrier pills — compact inline tags */
.footer-carrier-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.footer-carrier-pills span {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* ══════════════════════════════════════════════
   FAQ SHOW MORE
   ══════════════════════════════════════════════ */
.faq-item--hidden { display: none; }
.faq-item--hidden.is-visible { display: block; }

.faq-show-more-wrap {
  text-align: center;
  margin-top: var(--space-6);
}
.faq-show-more {
  min-width: 200px;
}

/* ══════════════════════════════════════════════
   HERO CANVAS — animated particle background
   ══════════════════════════════════════════════ */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.35;
  z-index: 0;
}

/* ══════════════════════════════════════════════
   CÓMO FUNCIONA — 3 pasos visuales
   ══════════════════════════════════════════════ */
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  position: relative;
  margin-top: var(--space-12);
}

.how-step {
  text-align: center;
  position: relative;
  padding: var(--space-8) var(--space-6);
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(13,31,60,0.06);
  box-shadow: 0 2px 16px rgba(13,31,60,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.how-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(13,31,60,0.12);
}

.how-step-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  box-shadow: 0 4px 20px rgba(13,31,60,0.2);
  transition: transform 0.3s ease;
}
.how-step:hover .how-step-icon {
  transform: scale(1.08);
}

.how-step-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--space-3);
  opacity: 0.3;
  position: absolute;
  top: var(--space-4);
  right: var(--space-5);
}

.how-step h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-3);
}
.how-step p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
}

/* Connector line between steps */
.how-step-connector {
  display: none;
}
@media (min-width: 768px) {
  .how-step-connector {
    display: block;
    position: absolute;
    top: 36px;
    right: -28px;
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold) 0%, rgba(212,160,23,0.3) 100%);
    z-index: 1;
    pointer-events: none;
  }
  .how-step:last-child .how-step-connector { display: none; }
}

@media (max-width: 767px) {
  .how-steps {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .how-step { padding: var(--space-6); text-align: left; display: flex; gap: var(--space-4); align-items: flex-start; }
  .how-step-icon { width: 52px; height: 52px; flex-shrink: 0; margin: 0; }
  .how-step-num { position: static; font-size: var(--text-xl); opacity: 0.25; margin-bottom: 0; }
  .how-step h3 { margin-bottom: var(--space-1); }
}

/* ══════════════════════════════════════════════
   MICRO-ANIMACIONES — reveal on scroll
   ══════════════════════════════════════════════ */
.reveal-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s cubic-bezier(0.22,1,0.36,1), transform 0.55s cubic-bezier(0.22,1,0.36,1);
}
.reveal-item.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
.section-header.reveal-header {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.section-header.reveal-header.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════
   EXIT POPUP v2 — mejorado
   ══════════════════════════════════════════════ */
.exit-popup-card--v2 {
  padding: var(--space-8);
  max-width: 460px;
}
.exit-popup-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}
.exit-popup-hero {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  margin-bottom: var(--space-6);
}
.exit-popup-shield {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(13,31,60,0.2);
}
.exit-popup-card--v2 .exit-popup-title {
  font-size: var(--text-xl);
  line-height: 1.3;
  margin-bottom: var(--space-2);
}
.exit-popup-card--v2 .exit-popup-sub {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: 0;
}
.exit-popup-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.exit-popup-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-base);
}
.exit-popup-or {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: var(--space-4) 0 var(--space-3);
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.exit-popup-or::before, .exit-popup-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.exit-popup-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--navy);
  border-radius: var(--radius-lg);
  color: var(--navy);
  font-weight: 600;
  font-size: var(--text-base);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  margin-bottom: var(--space-4);
}
.exit-popup-call:hover {
  background: var(--navy);
  color: var(--white);
}
@media (max-width: 480px) {
  .exit-popup-inputs { grid-template-columns: 1fr; }
  .exit-popup-hero { flex-direction: column; align-items: center; text-align: center; }
  .exit-popup-card--v2 { padding: var(--space-6); }
}
