/* ==========================================================================
   LANDING PAGE: ASESORÍA SEGUROS BUPA CUIDADO TOTAL
   Design System, Modern UI/UX, Animations & Responsive Layout
   ========================================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Brand Colors */
  --bupa-navy-dark: #002244;
  --bupa-navy: #003B71;
  --bupa-blue: #005696;
  --bupa-cyan: #00A3FF;
  --bupa-cyan-light: #E0F2FE;
  --bupa-cyan-glow: rgba(0, 163, 255, 0.25);
  
  /* Conversion & Contrast Colors */
  --cta-orange: #FF5A1F;
  --cta-orange-hover: #E04810;
  --cta-orange-light: #FFF0EB;
  --cta-orange-glow: rgba(255, 90, 31, 0.35);
  
  --whatsapp-green: #25D366;
  --whatsapp-hover: #1EBE5D;
  --whatsapp-light: #E8FBF0;
  --whatsapp-glow: rgba(37, 211, 102, 0.35);
  
  /* Neutral Palette */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --bg-pure: #FFFFFF;
  --bg-light: #F8FAFC;
  --bg-subtle: #F1F5F9;
  --bg-card: #FFFFFF;
  --border-light: #E2E8F0;
  --border-subtle: #EDF2F7;

  /* Glassmorphism Tokens */
  --glass-bg: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(255, 255, 255, 0.7);
  --glass-shadow: 0 12px 36px -8px rgba(0, 34, 68, 0.12);
  --glass-nav: rgba(255, 255, 255, 0.94);
  
  /* Elevation Shadows */
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 6px 18px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.1);
  --shadow-xl: 0 24px 48px -12px rgba(0, 59, 113, 0.16);
  --shadow-hover: 0 20px 40px -10px rgba(0, 59, 113, 0.2);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout & Transitions */
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* --- Container Utility --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* --- Typography Utilities --- */
h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
  color: var(--bupa-navy-dark);
  line-height: 1.25;
  font-weight: 700;
}

.highlight-gradient {
  background: linear-gradient(135deg, #003B71 0%, #0077B6 50%, #00A3FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-orange {
  color: var(--cta-orange);
}

.text-cyan {
  color: var(--bupa-cyan);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  background: var(--bupa-cyan-light);
  color: var(--bupa-navy);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.section-tag.orange {
  background: var(--cta-orange-light);
  color: var(--cta-orange);
}

.section-tag svg {
  width: 16px;
  height: 16px;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-header h2 {
  font-size: 2.35rem;
  margin-bottom: 1rem;
}

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

/* --- Interactive Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.9rem 1.85rem;
  min-height: 52px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-fast);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cta-orange) 0%, #FF7A3D 100%);
  color: var(--bg-pure);
  box-shadow: 0 8px 24px var(--cta-orange-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--cta-orange-hover) 0%, var(--cta-orange) 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px var(--cta-orange-glow);
}

.btn-whatsapp {
  background: linear-gradient(135deg, var(--whatsapp-green) 0%, #2AE873 100%);
  color: var(--bg-pure);
  box-shadow: 0 8px 24px var(--whatsapp-glow);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, var(--whatsapp-hover) 0%, var(--whatsapp-green) 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px var(--whatsapp-glow);
}

.btn-secondary {
  background: var(--bg-pure);
  color: var(--bupa-navy);
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--bupa-cyan);
  color: var(--bupa-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  color: var(--bg-pure);
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: var(--bg-pure);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  min-height: 42px;
  font-size: 0.9rem;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Pulse Animation for Primary CTA */
.pulse-glow {
  animation: subtlePulse 2.8s infinite ease-in-out;
}

@keyframes subtlePulse {
  0%, 100% {
    box-shadow: 0 8px 24px var(--cta-orange-glow);
  }
  50% {
    box-shadow: 0 12px 34px rgba(255, 90, 31, 0.65);
  }
}

/* --- Header & Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--glass-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--transition-fast);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  padding: 0.2rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  transition: height var(--transition-fast);
}

.site-header.scrolled .nav-container {
  height: 74px;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform var(--transition-fast);
}

.brand-logo-link:hover {
  transform: scale(1.02);
}

.site-logo-img {
  height: 70px;
  width: auto;
  max-width: 270px;
  object-fit: contain;
  display: block;
  transition: all var(--transition-fast);
}

.site-header.scrolled .site-logo-img {
  height: 58px;
  max-width: 240px;
}

.logo-bupa-pill {
  background: linear-gradient(135deg, var(--bupa-navy) 0%, var(--bupa-blue) 100%);
  color: var(--bg-pure);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-sm);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.logo-bupa-pill span {
  color: var(--bupa-cyan);
}

.brand-subtext {
  font-size: 0.78rem;
  line-height: 1.2;
  color: var(--text-muted);
  border-left: 2px solid var(--border-light);
  padding-left: 0.75rem;
}

.brand-subtext strong {
  display: block;
  color: var(--bupa-navy);
  font-weight: 700;
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 0.35rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--bupa-cyan);
  transition: width var(--transition-fast);
}

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--bupa-navy);
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  padding-top: 140px;
  padding-bottom: 90px;
  background: radial-gradient(circle at 80% 20%, #E2F1FE 0%, #F8FAFC 55%, #FFFFFF 100%);
  overflow: hidden;
}

.hero-glow-blob {
  position: absolute;
  top: 10%;
  right: 5%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 163, 255, 0.18) 0%, rgba(224, 242, 254, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 2.9rem;
  line-height: 1.18;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-content .hero-lead {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 1.85rem;
  max-width: 580px;
}

.hero-usps {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2.25rem;
}

.hero-usp-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--bupa-navy-dark);
}

.hero-usp-item .check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #E0F2FE;
  color: var(--bupa-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero-trust-proof {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.rating-stars {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #F59E0B;
}

.hero-trust-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.hero-trust-text strong {
  color: var(--bupa-navy-dark);
}

/* Hero Advisor Showcase (Visual Column) */
.hero-visual-wrapper {
  position: relative;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--bg-pure);
  border: 4px solid var(--bg-pure);
}

.hero-image-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center 20%;
  transition: transform var(--transition-smooth);
}

.hero-image-frame:hover img {
  transform: scale(1.02);
}

/* Floating Badges on Hero Image */
.floating-badge {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 4;
  animation: floatAnim 4s ease-in-out infinite;
}

.floating-badge.badge-top-left {
  top: 6%;
  left: -8%;
  animation-delay: 0s;
}

.floating-badge.badge-bottom-right {
  bottom: 8%;
  right: -6%;
  animation-delay: 2s;
}

@keyframes floatAnim {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.badge-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.badge-icon-wrap.blue {
  background: var(--bupa-cyan-light);
  color: var(--bupa-blue);
}

.badge-icon-wrap.orange {
  background: var(--cta-orange-light);
  color: var(--cta-orange);
}

.badge-text-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bupa-navy-dark);
  line-height: 1.2;
}

.badge-text-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --- Trust & Partner Strip --- */
.partners-strip {
  background: var(--bg-pure);
  padding: 2.25rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.partners-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.partners-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.75rem;
}

.partner-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: #334155;
  opacity: 0.85;
  transition: opacity var(--transition-fast);
}

.partner-item:hover {
  opacity: 1;
}

.partner-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bupa-blue);
}

/* --- Section: Propuesta de Valor (Beneficios Clave) --- */
.benefits-section {
  padding: 6.5rem 0;
  background: var(--bg-light);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.65rem;
}

.benefit-card {
  background: var(--bg-pure);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.65rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  transition: background var(--transition-fast);
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: #BAE6FD;
}

.benefit-card:hover::before {
  background: linear-gradient(90deg, var(--bupa-blue), var(--bupa-cyan));
}

.benefit-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--bupa-cyan-light);
  color: var(--bupa-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  transition: all var(--transition-smooth);
}

.benefit-card:hover .benefit-icon-box {
  background: var(--bupa-blue);
  color: var(--bg-pure);
  transform: scale(1.08);
}

.benefit-icon-box svg {
  width: 28px;
  height: 28px;
}

.benefit-card h3 {
  font-size: 1.22rem;
  margin-bottom: 0.75rem;
  color: var(--bupa-navy-dark);
}

.benefit-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.benefit-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--bupa-navy);
  background: var(--bg-subtle);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
}

/* --- Section: Planes de Salud (Catálogo y Comparativa) --- */
.plans-section {
  padding: 6.5rem 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F7FF 100%);
  position: relative;
}

.plans-section .container {
  max-width: 1480px;
}

/* Category Filter Tabs */
.plans-filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 3rem;
}

.plan-filter-btn {
  background: var(--bg-pure);
  border: 1.5px solid var(--border-light);
  color: var(--text-secondary);
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
}

.plan-filter-btn:hover {
  border-color: var(--bupa-cyan);
  color: var(--bupa-navy);
  transform: translateY(-1px);
}

.plan-filter-btn.active {
  background: var(--bupa-navy);
  border-color: var(--bupa-navy);
  color: var(--bg-pure);
  box-shadow: 0 4px 14px rgba(0, 59, 113, 0.25);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 1480px;
  margin: 0 auto 3.5rem auto;
  align-items: stretch;
}

.plan-card {
  background: var(--bg-pure);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.plan-card:hover,
.plan-card:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--bupa-blue);
}

.plan-card.recommended {
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.plan-card.recommended:hover,
.plan-card.recommended:focus-within {
  border-color: var(--bupa-blue);
  box-shadow: 0 16px 36px -8px rgba(0, 86, 150, 0.22);
}

.plan-card.is-hidden {
  display: none !important;
}

.plan-badge-top {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #0077B6 0%, var(--bupa-cyan) 100%);
  color: var(--bg-pure);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.32rem 1.1rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(0, 163, 255, 0.35);
  z-index: 2;
}

.plan-badge-top.orange-badge {
  background: linear-gradient(135deg, var(--cta-orange) 0%, #FF8A50 100%);
  box-shadow: 0 3px 10px var(--cta-orange-glow);
}

.plan-badge-top.green-badge {
  background: linear-gradient(135deg, #059669 0%, #10B981 100%);
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.3);
}

.plan-badge-top.purple-badge {
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  box-shadow: 0 3px 10px rgba(124, 58, 237, 0.3);
}

.plan-header {
  text-align: center;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1.35rem;
}

.plan-title {
  font-size: 1.45rem;
  color: var(--bupa-navy-dark);
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.plan-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  min-height: 2.6rem;
  line-height: 1.45;
}

.plan-coverage-headline {
  margin: 1.1rem 0 0.35rem 0;
}

.plan-coverage-num {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--bupa-navy);
  line-height: 1;
}

.plan-coverage-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.25rem;
}

.plan-target-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--bupa-navy);
  background: var(--bg-subtle);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-top: 0.75rem;
  border: 1px solid var(--border-subtle);
}

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.85rem;
  flex-grow: 1;
}

.plan-feature-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

.plan-feature-row .feat-icon {
  width: 18px;
  height: 18px;
  color: var(--bupa-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-feature-row strong {
  color: var(--bupa-navy-dark);
}

.plan-footer {
  margin-top: auto;
}

.plan-footer .btn {
  width: 100%;
}

/* Plan Comparison Table */
.comparison-table-wrap {
  max-width: 1480px;
  margin: 3.5rem auto 0 auto;
  background: var(--bg-pure);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.comparison-table-wrap h3 {
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 1.75rem;
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 680px;
}

.comp-table th, .comp-table td {
  padding: 1rem 0.9rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.92rem;
}

.comp-table th {
  background: var(--bg-subtle);
  font-family: var(--font-heading);
  color: var(--bupa-navy);
  font-size: 0.95rem;
  font-weight: 700;
}

.comp-table td:nth-child(3), .comp-table td:nth-child(4),
.comp-table th:nth-child(3), .comp-table th:nth-child(4) {
  text-align: center;
}

.comp-table .tag-zero {
  display: inline-block;
  background: #DCFCE7;
  color: #15803D;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
}

.comp-table .tag-vitalicio {
  display: inline-block;
  background: #E0F2FE;
  color: #0284C7;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  white-space: nowrap;
  margin: 0.2rem 0;
}

/* --- Interactive Simulator Card --- */
.simulator-box {
  max-width: 980px;
  margin: 4.5rem auto 0 auto;
  background: linear-gradient(135deg, #002B52 0%, #004B8D 100%);
  border-radius: var(--radius-xl);
  padding: 3rem;
  color: var(--bg-pure);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.simulator-box::after {
  content: '';
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0, 163, 255, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.simulator-header {
  text-align: center;
  margin-bottom: 2.25rem;
}

.simulator-header h3 {
  color: var(--bg-pure);
  font-size: 1.85rem;
  margin-bottom: 0.5rem;
}

.simulator-header p {
  color: #BAE6FD;
  font-size: 1.05rem;
}

.simulator-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.sim-input-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
  color: #E0F2FE;
}

.sim-pill-selector {
  display: flex;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.35rem;
  border-radius: var(--radius-full);
}

.sim-pill-btn {
  flex: 1;
  background: transparent;
  color: #E2E8F0;
  border: none;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sim-pill-btn.active {
  background: var(--bupa-cyan);
  color: var(--bupa-navy-dark);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 163, 255, 0.4);
}

.sim-slider-wrap input[type="range"] {
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.25);
  outline: none;
  accent-color: var(--bupa-cyan);
  cursor: pointer;
}

.sim-slider-val {
  display: flex;
  justify-content: space-between;
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: #BAE6FD;
}

.sim-result-box {
  text-align: center;
  background: rgba(255, 255, 255, 0.12);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.sim-result-label {
  font-size: 0.88rem;
  color: #BAE6FD;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.sim-result-val {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.15;
  margin: 0.35rem 0;
}

.sim-result-sub {
  font-size: 0.9rem;
  color: #7DD3FC;
}

.sim-cta-wrap {
  margin-top: 1.85rem;
  text-align: center;
}

/* --- Section: Beneficios Adicionales Exclusivos (Salcobrand & Dental) --- */
.extras-section {
  padding: 6.5rem 0;
  background: var(--bg-pure);
}

.extras-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.extra-card {
  background: var(--bg-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.extra-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.extra-card-media {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.extra-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.extra-card:hover .extra-card-media img {
  transform: scale(1.04);
}

.extra-card-badge {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--bupa-navy);
  box-shadow: var(--shadow-sm);
}

.extra-card-body {
  padding: 2.25rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.extra-card-body h3 {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
}

.extra-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.25rem 0 1.85rem 0;
  flex-grow: 1;
}

.extra-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.96rem;
  color: var(--text-secondary);
}

.extra-bullets svg {
  width: 18px;
  height: 18px;
  color: var(--bupa-blue);
  flex-shrink: 0;
  margin-top: 3px;
}

.extra-bullets strong {
  color: var(--bupa-navy-dark);
}

/* Feature Showcase Split: Telemedicina & Red Preferente */
.feature-split-banner {
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  border: 1px solid #BAE6FD;
}

.feature-split-content h3 {
  font-size: 1.95rem;
  margin-bottom: 1rem;
}

.feature-split-content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

.feature-split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.feature-split-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* --- Section: Condiciones de Ingreso --- */
.requirements-section {
  padding: 6.5rem 0;
  background: var(--bg-light);
}

.req-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.req-card {
  background: var(--bg-pure);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition-smooth);
}

.req-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--bupa-cyan);
}

.req-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bupa-cyan-light);
  color: var(--bupa-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.35rem auto;
}

.req-icon-circle svg {
  width: 32px;
  height: 32px;
}

.req-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.req-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* --- Section: Sobre Tu Asesora (Trust & Human Touch) --- */
.advisor-section {
  padding: 6.5rem 0;
  background: var(--bg-pure);
  position: relative;
}

.advisor-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: center;
}

.advisor-photo-container {
  position: relative;
}

.advisor-photo-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--bg-pure);
  background: var(--bg-light);
}

.advisor-photo-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center top;
}

.advisor-verified-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-md);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--bupa-navy);
}

.advisor-verified-tag svg {
  width: 18px;
  height: 18px;
  color: var(--whatsapp-green);
}

.advisor-details h2 {
  font-size: 2.35rem;
  margin-bottom: 0.5rem;
}

.advisor-role {
  font-size: 1.1rem;
  color: var(--bupa-blue);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.advisor-quote {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-secondary);
  background: var(--bg-light);
  border-left: 4px solid var(--bupa-cyan);
  padding: 1.35rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 1.85rem;
  font-style: italic;
}

.advisor-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.85rem;
}

.adv-stat-box {
  background: var(--bg-subtle);
  padding: 1rem 0.75rem;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--border-light);
}

.adv-stat-num {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--bupa-navy);
  line-height: 1.1;
}

.adv-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  font-weight: 600;
}

.advisor-cmf-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(0, 163, 255, 0.08);
  border: 1px solid rgba(0, 163, 255, 0.25);
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.advisor-cmf-card svg {
  width: 26px;
  height: 26px;
  color: var(--bupa-blue);
  flex-shrink: 0;
}

.advisor-cmf-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--bupa-navy);
}

.advisor-cmf-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.advisor-specialties-wrap {
  margin-bottom: 1.85rem;
}

.advisor-specialties-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--bupa-navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
}

.advisor-specialties-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.specialty-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-subtle);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
}

.specialty-tag svg {
  width: 14px;
  height: 14px;
  color: var(--bupa-blue);
}

/* --- Section: Testimonios / Social Proof --- */
.testimonials-section {
  padding: 6.5rem 0;
  background: var(--bg-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-pure);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.test-stars {
  display: flex;
  gap: 0.25rem;
  color: #F59E0B;
  margin-bottom: 1.15rem;
}

.testimonial-text {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-light);
}

.author-avatar-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bupa-navy) 0%, var(--bupa-cyan) 100%);
  color: var(--bg-pure);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
}

.author-name {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--bupa-navy-dark);
}

.author-location {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Section: Formulario CRO de Captación (Lead Gen) --- */
.lead-section {
  padding: 6.5rem 0;
  background: linear-gradient(180deg, #F8FAFC 0%, #E6EFF8 100%);
  position: relative;
}

.lead-wrapper {
  max-width: 820px;
  margin: 0 auto;
  background: var(--bg-pure);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  position: relative;
}

.lead-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.lead-header h2 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.lead-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--bupa-navy-dark);
}

.form-control-wrap {
  position: relative;
}

.form-control-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}

.form-input, .form-select {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-light);
  background: var(--bg-pure);
  font-size: 1rem;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus {
  outline: none;
  border-color: var(--bupa-cyan);
  box-shadow: 0 0 0 3px rgba(0, 163, 255, 0.18);
}

.form-input.error {
  border-color: #EF4444;
  background-color: #FEF2F2;
}

.error-text {
  font-size: 0.78rem;
  color: #DC2626;
  display: none;
  margin-top: 0.2rem;
}

.form-input.error + .error-text {
  display: block;
}

/* Radio Pill Group for Previsión */
.prevision-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.radio-pill-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-light);
  background: var(--bg-light);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  color: var(--text-secondary);
}

.radio-pill-label input[type="radio"] {
  display: none;
}

.radio-pill-label:hover {
  border-color: var(--bupa-blue);
  background: var(--bg-pure);
}

.radio-pill-label.active,
.radio-pill-label:has(input[type="radio"]:checked) {
  border-color: var(--bupa-blue);
  background: var(--bupa-cyan-light);
  color: var(--bupa-navy);
  font-weight: 700;
}

.form-privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  text-align: center;
}

.form-privacy-note svg {
  width: 16px;
  height: 16px;
  color: #10B981;
}

/* --- Section: FAQ Accordion --- */
.faq-section {
  padding: 6.5rem 0;
  background: var(--bg-pure);
}

.faq-accordion-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-light);
  transition: all var(--transition-fast);
  overflow: hidden;
}

.faq-item.active {
  border-color: var(--bupa-cyan);
  background: var(--bg-pure);
  box-shadow: var(--shadow-sm);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.65rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--bupa-navy-dark);
}

.faq-icon-arrow {
  width: 22px;
  height: 22px;
  transition: transform var(--transition-fast);
  color: var(--bupa-blue);
  flex-shrink: 0;
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth);
  padding: 0 1.65rem;
}

.faq-item.active .faq-answer-panel {
  padding-bottom: 1.45rem;
}

.faq-answer-panel p {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Section: Final CTA Banner --- */
.cta-banner-section {
  padding: 4.5rem 0;
  background: linear-gradient(135deg, var(--bupa-navy-dark) 0%, var(--bupa-navy) 100%);
  color: var(--bg-pure);
  text-align: center;
  position: relative;
}

.cta-banner-content {
  max-width: 720px;
  margin: 0 auto;
}

.cta-banner-content h2 {
  color: var(--bg-pure);
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.cta-banner-content p {
  color: #BAE6FD;
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

.cta-banner-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --- Footer --- */
.site-footer {
  background: #021124;
  color: #94A3B8;
  padding: 4.5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-logo-wrapper {
  background: #ffffff;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.footer-logo-img {
  height: 64px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  display: block;
}

.footer-brand h4 {
  color: var(--bg-pure);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-col h5 {
  color: var(--bg-pure);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.15rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: #94A3B8;
  transition: color var(--transition-fast);
}

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

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--bupa-cyan);
  flex-shrink: 0;
}

.footer-legal-notice {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #64748B;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
}

.footer-bottom-sub {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.4rem;
  color: #94A3B8;
  text-align: left;
  line-height: 1.6;
}

.footer-project-whatsapp {
  color: #BAE6FD;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast), text-decoration-color var(--transition-fast);
  text-decoration: underline;
  text-decoration-color: rgba(186, 230, 253, 0.5);
}

.footer-project-whatsapp:hover,
.footer-project-whatsapp:focus-visible {
  color: #E0F2FE;
  text-decoration-color: rgba(224, 242, 254, 0.9);
  opacity: 0.96;
}

/* --- Floating WhatsApp Widget --- */
.floating-whatsapp-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.whatsapp-chat-bubble {
  background: var(--bg-pure);
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  animation: fadeInBubble 0.6s ease-out;
  cursor: pointer;
}

@keyframes fadeInBubble {
  from { opacity: 0; transform: translateX(15px); }
  to { opacity: 1; transform: translateX(0); }
}

.bubble-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.bubble-text-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--bupa-navy);
  line-height: 1.1;
}

.bubble-text-sub {
  font-size: 0.72rem;
  color: #10B981;
  font-weight: 600;
}

.whatsapp-circle-btn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--whatsapp-green);
  color: var(--bg-pure);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px var(--whatsapp-glow);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.whatsapp-circle-btn:hover {
  transform: scale(1.08);
  background: var(--whatsapp-hover);
}

.whatsapp-circle-btn svg {
  width: 32px;
  height: 32px;
}

.whatsapp-badge-ping {
  position: absolute;
  top: 0;
  right: 0;
  width: 16px;
  height: 16px;
  background: #EF4444;
  border: 2px solid var(--bg-pure);
  border-radius: 50%;
}

/* --- Sticky Bottom Bar for Mobile --- */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--glass-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.65rem 1rem;
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

.mobile-sticky-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.mobile-sticky-inner .btn {
  padding: 0.65rem 0.85rem;
  min-height: 48px;
  font-size: 0.9rem;
}

/* --- Success / Thank You Modal --- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 25, 47, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-pure);
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 100%;
  padding: 2.75rem;
  text-align: center;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition-smooth);
}

.modal-backdrop.active .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--bg-light);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
}

.modal-icon-success {
  width: 72px;
  height: 72px;
  background: #DCFCE7;
  color: #16A34A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.35rem auto;
}

.modal-icon-success svg {
  width: 36px;
  height: 36px;
}

.modal-card h3 {
  font-size: 1.75rem;
  margin-bottom: 0.65rem;
}

.modal-card p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  margin-bottom: 1.85rem;
  line-height: 1.55;
}

.modal-lead-summary {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.75rem;
  text-align: left;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* --- Scroll Entrance Animations --- */
.fade-up-element {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up-element.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Tablets and Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-content .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-usps {
    align-items: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-trust-proof {
    justify-content: center;
  }

  .hero-visual-wrapper {
    max-width: 520px;
    margin: 0 auto;
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .comparison-table-wrap {
    padding: 1.75rem 1.25rem;
  }
  
  .extras-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-split-banner {
    grid-template-columns: 1fr;
  }

  .advisor-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .advisor-photo-container {
    max-width: 440px;
    margin: 0 auto;
  }
  
  .advisor-quote {
    border-left: none;
    border-top: 3px solid var(--bupa-cyan);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Tablets and Small Devices (max-width: 768px) */
@media (max-width: 768px) {
  .hero-section {
    padding-top: 110px;
    padding-bottom: 60px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .plans-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .plan-card,
  .plan-card.recommended {
    transform: none;
  }

  .plan-card:hover,
  .plan-card:focus-within,
  .plan-card.recommended:hover,
  .plan-card.recommended:focus-within {
    transform: none;
  }

  .simulator-controls {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .req-cards-grid {
    grid-template-columns: 1fr;
  }

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

  .lead-wrapper {
    padding: 2.25rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .site-logo-img {
    height: 56px;
    max-width: 220px;
  }

  .advisor-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .advisor-specialties-tags {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .site-footer {
    padding-bottom: calc(2rem + 82px + env(safe-area-inset-bottom, 0px));
  }

  .footer-bottom-sub {
    display: flex;
    width: 100%;
    min-width: 0;
    justify-content: center;
    overflow-wrap: anywhere;
  }

  .footer-project-whatsapp {
    overflow-wrap: anywhere;
  }

  /* Navigation for Mobile */
  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg-pure);
    flex-direction: column;
    padding: 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    transition: transform var(--transition-smooth);
  }

  .nav-links.mobile-open {
    transform: translateY(0);
  }

  .mobile-toggle {
    display: block;
  }

  .header-actions .btn {
    display: none;
  }

  /* Show Sticky Mobile Bar */
  .mobile-sticky-bar {
    display: block;
    padding-bottom: calc(0.65rem + env(safe-area-inset-bottom, 0px));
  }

  /* Adjust WhatsApp Bubble on Mobile */
  .whatsapp-chat-bubble {
    display: none;
  }

  .floating-whatsapp-widget {
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    right: 18px;
  }

  .floating-badge.badge-top-left {
    left: 0;
    top: 2%;
  }

  .floating-badge.badge-bottom-right {
    right: 0;
    bottom: 2%;
  }
}

/* Small Smartphone adjustments (max-width: 480px) */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.85rem;
  }

  .section-header h2 {
    font-size: 1.85rem;
  }

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

  .hero-actions .btn {
    width: 100%;
  }

  .advisor-stats-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .simulator-box {
    padding: 1.75rem 1.25rem;
  }

  .feature-split-banner {
    padding: 1.75rem 1.25rem;
  }
}

/* ==========================================================================
   PLAN DENTAL INTEGRAMEDICA — Sección Detallada
   ========================================================================== */

.dental-plan-highlight {
  background: linear-gradient(145deg, #F0F7FF 0%, #E8F4FF 50%, #F5FBFF 100%);
  border: 1px solid rgba(0, 86, 150, 0.12);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  margin-top: 2.5rem;
  box-shadow: 0 8px 32px rgba(0, 59, 113, 0.08);
}

/* --- Hero Row --- */
.dental-plan-hero {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.75rem;
  align-items: start;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 86, 150, 0.12);
}

.dental-plan-hero-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--bupa-navy) 0%, var(--bupa-blue) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0, 59, 113, 0.25);
}

.dental-plan-hero-icon svg {
  width: 32px;
  height: 32px;
  stroke: white;
}

.dental-plan-hero-text .dental-plan-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--bupa-navy) 0%, var(--bupa-blue) 100%);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 0.65rem;
}

.dental-plan-hero-text h3 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--bupa-navy-dark);
  margin-bottom: 0.6rem;
  line-height: 1.25;
}

.dental-plan-hero-text p {
  color: var(--text-secondary);
  font-size: 0.97rem;
  line-height: 1.65;
}

.dental-plan-price-box {
  background: white;
  border: 1.5px solid rgba(0, 86, 150, 0.15);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  text-align: center;
  min-width: 160px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.dental-price-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}

.dental-price-amount {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--bupa-navy);
  line-height: 1.1;
  margin-bottom: 0.15rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.dental-price-clp {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.dental-price-divider {
  height: 1px;
  background: var(--border-light);
  margin: 0.75rem 0;
}

/* --- Coverage Grid (4 cards) --- */
.dental-coverage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.dental-cov-card {
  background: white;
  border-radius: 14px;
  padding: 1.25rem;
  text-align: center;
  border: 1.5px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.dental-cov-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.dental-cov-card.zero-cost {
  border-color: rgba(0, 163, 255, 0.2);
  background: linear-gradient(145deg, #fff 0%, #F0FBFF 100%);
}

.dental-cov-card.discount-featured {
  border-color: rgba(0, 86, 150, 0.25);
  background: linear-gradient(145deg, #fff 0%, #EFF5FF 100%);
}

.dental-cov-card.pharma-featured {
  border-color: rgba(37, 211, 102, 0.2);
  background: linear-gradient(145deg, #fff 0%, #F0FFF6 100%);
}

.dental-cov-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}

.zero-cost .dental-cov-icon {
  background: rgba(0, 163, 255, 0.1);
}
.zero-cost .dental-cov-icon svg { stroke: var(--bupa-cyan); }

.discount-featured .dental-cov-icon {
  background: rgba(0, 59, 113, 0.1);
}
.discount-featured .dental-cov-icon svg { stroke: var(--bupa-navy); }

.pharma-featured .dental-cov-icon {
  background: rgba(37, 211, 102, 0.12);
}
.pharma-featured .dental-cov-icon svg { stroke: var(--whatsapp-green); }

.dental-cov-label-zero {
  display: inline-block;
  background: linear-gradient(135deg, #00B4D8, #0077B6);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}

.dental-cov-label-pct {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--bupa-navy);
  line-height: 1;
  margin-bottom: 0.4rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.dental-cov-label-pharma {
  display: inline-block;
  background: rgba(37, 211, 102, 0.15);
  color: #1a9e50;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  margin-bottom: 0.5rem;
}

.dental-cov-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.dental-cov-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.dental-cov-freq {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--bupa-blue);
  background: var(--bupa-cyan-light);
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
}

/* --- Prestaciones Table --- */
.dental-prestaciones-wrap {
  background: white;
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.dental-prestaciones-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--bupa-navy);
  margin-bottom: 1rem;
}

.dental-prestaciones-title svg {
  stroke: var(--bupa-cyan);
}

.dental-presta-table {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.dental-presta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
  gap: 1rem;
}

.dental-presta-row:last-child {
  border-bottom: none;
}

.dental-presta-row.header-row {
  background: linear-gradient(135deg, var(--bupa-navy) 0%, var(--bupa-blue) 100%);
  color: white;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dental-presta-row:not(.header-row):nth-child(even) {
  background: var(--bg-subtle);
}

.presta-freq {
  font-weight: 700;
  color: var(--bupa-cyan);
  white-space: nowrap;
  background: var(--bupa-cyan-light);
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  font-size: 0.8rem;
}

.header-row .presta-freq {
  background: transparent;
  color: white;
}

/* --- Ventajas Grid --- */
.dental-ventajas-wrap {
  margin-bottom: 1.75rem;
}

.dental-ventajas-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--bupa-navy);
  margin-bottom: 1rem;
}

.dental-ventajas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.dental-ventaja-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  background: white;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-light);
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  box-shadow: var(--shadow-sm);
}

.dental-ventaja-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: var(--bupa-cyan);
  margin-top: 1px;
}

.dental-ventaja-item strong {
  color: var(--text-primary);
}

/* --- Footer Row: Legal + CTA --- */
.dental-footer-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

.dental-legal-note {
  flex: 1;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.55;
  font-style: italic;
}

/* --- Responsive Dental Section --- */
@media (max-width: 1024px) {
  .dental-coverage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .dental-plan-highlight {
    padding: 1.5rem;
  }

  .dental-plan-hero {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .dental-plan-price-box {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    align-items: center;
  }

  .dental-price-divider { display: none; }

  .dental-plan-hero-text h3 {
    font-size: 1.35rem;
  }

  .dental-ventajas-grid {
    grid-template-columns: 1fr;
  }

  .dental-footer-row {
    flex-direction: column;
    align-items: stretch;
  }

  .dental-footer-row .btn {
    width: 100%;
    justify-content: center;
  }
}

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

  .dental-presta-row {
    font-size: 0.82rem;
    padding: 0.65rem 0.75rem;
  }
}

