/* ==========================================================================
   EMMA SEGUROS URUGUAY — Diseño de Asesoría Contemporánea, Clara y Humana
   Funciones de Color Consistentes:
   - Azul Marino (#0B192C): Títulos, estructura e institucionalidad
   - Azul Eléctrico (#0052CC): Concentrado en la acción principal ("Quiero cotizar")
   - Verde Azulado (#0D9488 / #059669): Acento de acompañamiento, asistencia y WhatsApp
   - Blanco y Fondos Claros (#FFFFFF / #F8FAFC): Protagonismo, orden, aire y transparencia
   ========================================================================== */

:root {
  --navy-950: #07111E;
  --navy-900: #0B192C;
  --navy-800: #152943;
  --navy-700: #1E3A5F;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --pearl-50:  #F8FAFC;

  --royal-700: #003E99;
  --royal-600: #0052CC;
  --royal-500: #1D4ED8;
  --royal-100: #DBEAFE;
  --royal-50:  #EFF6FF;

  --teal-700:  #0F766E;
  --teal-600:  #0D9488;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10B981;
  --emerald-100: #D1FAE5;
  --emerald-50:  #ECFDF5;
}

body.theme-seguros {
  background-color: #FFFFFF;
  color: var(--navy-900);
}

/* 1. FRANJA SUPERIOR: ATENCIÓN 24 HS Y ASISTENCIA EN SINIESTROS */
body.theme-seguros .top-strip {
  background: var(--navy-900);
  color: #F1F5F9;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  padding: 8px 0;
}

body.theme-seguros .top-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
}

body.theme-seguros .top-strip-fact {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

body.theme-seguros .top-strip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-500);
  display: inline-block;
  flex-shrink: 0;
}

.top-strip-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.top-strip-24h-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #D1FAE5;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.top-strip-link {
  color: #A7F3D0;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease;
}

.top-strip-link:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.show-on-mobile-inline {
  display: none;
}

@media (max-width: 640px) {
  body.theme-seguros .top-strip {
    padding: 6px 0;
    font-size: 0.74rem;
  }

  /* Evitamos el truncamiento agresivo heredado de styles.css */
  body.theme-seguros .top-strip-fact span:last-child {
    max-width: none;
    overflow: visible;
    text-overflow: clip;
  }

  body.theme-seguros .top-strip-main-text {
    display: none;
  }

  body.theme-seguros .top-strip-fact::after {
    content: 'Atención 24 hs';
    font-weight: 700;
    color: #F8FAFC;
    font-size: 0.75rem;
  }

  .top-strip-24h-badge {
    display: none;
  }

  .show-on-mobile-inline {
    display: inline;
  }
}

/* 2. ENCABEZADO PRINCIPAL PERFECTAMENTE ALINEADO Y RESPONSIVO */
body.theme-seguros .site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow 200ms ease;
}

body.theme-seguros .site-header.scrolled {
  box-shadow: 0 8px 24px -8px rgba(11, 25, 44, 0.08);
}

body.theme-seguros .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  gap: 12px;
}

@media (min-width: 960px) {
  body.theme-seguros .header-inner {
    height: 74px;
    gap: 16px;
  }
}

body.theme-seguros .brand-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

@media (min-width: 960px) {
  body.theme-seguros .main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pearl-50);
    border: 1px solid var(--slate-200);
    border-radius: 999px;
    padding: 4px 6px;
    gap: 2px;
    flex-shrink: 0;
  }
}

body.theme-seguros .nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-700);
  font-weight: 600;
  font-size: 0.86rem;
  line-height: 1;
  height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  white-space: nowrap !important;
  transition: color 160ms ease, background-color 160ms ease;
}

@media (min-width: 960px) and (max-width: 1140px) {
  body.theme-seguros .nav-link {
    font-size: 0.81rem;
    padding: 0 9px;
  }
}

body.theme-seguros .nav-link:hover,
body.theme-seguros .nav-link.active {
  color: var(--navy-900);
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(11, 25, 44, 0.06);
}

body.theme-seguros .header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Alineación milimétrica de todos los botones del Header */
body.theme-seguros .header-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  border-radius: 10px;
  border-width: 1.5px;
  border-style: solid;
  white-space: nowrap;
  box-sizing: border-box;
  margin: 0;
  vertical-align: middle;
}

/* Botones con jerarquía clara: Azul eléctrico = Acción principal, Verde azulado = Acompañamiento */
body.theme-seguros .btn-primary {
  background: var(--royal-600);
  border: 1.5px solid var(--royal-600);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 82, 204, 0.2);
}

body.theme-seguros .btn-primary:hover {
  background: var(--royal-700);
  border-color: var(--royal-700);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 82, 204, 0.26);
}

.btn-whatsapp {
  background: var(--teal-600);
  color: #FFFFFF !important;
  border: 1.5px solid var(--teal-600);
  font-weight: 700;
  transition: all 180ms ease;
}

.btn-whatsapp:hover {
  background: var(--teal-700);
  border-color: var(--teal-700);
  transform: translateY(-1px);
}

.btn-whatsapp-outline {
  background: #FFFFFF;
  color: var(--teal-700) !important;
  border: 1.5px solid #5EEAD4;
  font-weight: 700;
  transition: all 180ms ease;
}

.btn-whatsapp-outline:hover {
  background: var(--emerald-50);
  border-color: var(--teal-600);
  color: var(--teal-700) !important;
}

body.theme-seguros .mobile-menu-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1.5px solid var(--slate-300);
  background: #FFFFFF;
  color: var(--navy-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

@media (min-width: 960px) {
  body.theme-seguros .mobile-menu-btn {
    display: none;
  }
}

@media (max-width: 640px) {
  body.theme-seguros .header-actions {
    gap: 8px;
  }

  body.theme-seguros .header-actions .btn {
    height: 38px;
    min-height: 38px;
    padding: 0 13px;
    font-size: 0.81rem;
    border-radius: 10px;
  }
}

@media (max-width: 959px) {
  body.theme-seguros .main-nav.mobile-open {
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid var(--slate-200);
    box-shadow: 0 20px 40px -10px rgba(11, 25, 44, 0.16);
    padding: 12px 14px 16px;
    top: 64px;
  }

  body.theme-seguros .main-nav.mobile-open .nav-link {
    justify-content: flex-start;
    color: var(--navy-900);
    border-radius: 10px;
    height: auto;
    padding: 13px 14px;
    font-size: 0.94rem;
    border-bottom: 1px solid var(--slate-100);
  }
}

/* 3. PRIMERA PANTALLA (HERO): AIRE, CLARIDAD Y ACCESO RÁPIDO AL COTIZADOR */
body.theme-seguros .hero-graphite {
  position: relative;
  padding: 48px 0 64px;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  color: var(--navy-900);
  border-bottom: 1px solid var(--slate-200);
}

body.theme-seguros .hero-graphite::before,
body.theme-seguros .hero-graphite::after {
  display: none;
}

body.theme-seguros .hero-grid {
  align-items: start;
  gap: 44px;
}

.hero-brand-motto {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--teal-700);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

body.theme-seguros .hero-title {
  color: var(--navy-900);
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.028em;
  font-weight: 800;
  margin-bottom: 16px;
}

.hero-highlight {
  color: var(--royal-600);
}

body.theme-seguros .hero-subtitle {
  color: var(--slate-700);
  font-weight: 450;
  font-size: clamp(1rem, 1.15vw, 1.12rem);
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 24px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-clarity-list {
  list-style: none;
  padding: 20px 0 0;
  margin: 0;
  border-top: 1px solid var(--slate-200);
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .hero-clarity-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

.hero-clarity-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--slate-700);
}

.hero-clarity-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--emerald-50);
  color: var(--teal-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* 4. COTIZADOR PRINCIPAL UNIFICADO (#cotizar): SIMPLE, LUMINOSO Y SIN SALTOS */
body.theme-seguros .quoter-box {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 18px 40px -14px rgba(11, 25, 44, 0.1);
  color: var(--navy-900);
  scroll-margin-top: 90px;
}

.quoter-clean-header {
  margin-bottom: 16px;
}

.quoter-question-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal-700);
  margin-bottom: 4px;
}

.quoter-main-heading {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}

/* Pestañas del Cotizador con altura fija (0px de salto al cambiar) */
body.theme-seguros .quoter-tabs {
  background: var(--slate-100);
  padding: 5px;
  border-radius: 14px;
  gap: 5px;
  border: 1px solid var(--slate-200);
  align-items: stretch;
  margin-bottom: 18px;
}

body.theme-seguros .quoter-tab-btn {
  border: 1px solid transparent;
  background: transparent;
  color: var(--slate-700);
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 6px;
  height: 62px;
  min-height: 62px;
  max-height: 62px;
  margin: 0;
  white-space: nowrap;
  transform: none !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.q-tab-icon {
  width: 24px;
  height: 24px;
  color: var(--slate-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.q-tab-icon svg {
  width: 18px;
  height: 18px;
}

body.theme-seguros .quoter-tab-btn:hover {
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: none;
}

body.theme-seguros .quoter-tab-btn.active {
  background: #FFFFFF;
  color: var(--navy-900);
  border-color: var(--slate-200);
  box-shadow: 0 2px 8px rgba(11, 25, 44, 0.08);
}

body.theme-seguros .quoter-tab-btn.active .q-tab-icon {
  color: var(--royal-600);
}

body.theme-seguros [data-quoter-panel] {
  min-height: 316px;
}

body.theme-seguros .dark-label {
  color: var(--navy-900);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 5px;
}

body.theme-seguros .dark-input {
  background: var(--pearl-50);
  border: 1px solid var(--slate-300);
  color: var(--navy-900);
  font-weight: 500;
  height: 44px;
  transition: border-color 160ms ease, background-color 160ms ease;
}

body.theme-seguros .dark-input::placeholder {
  color: var(--slate-500);
}

body.theme-seguros .dark-input:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--royal-600);
  box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.12);
}

body.theme-seguros .dark-input option {
  background: #FFFFFF;
  color: var(--navy-900);
}

body.theme-seguros .rent-calc-box {
  background: var(--pearl-50);
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 8px 12px;
  height: 69px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quoter-next-step-note {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--slate-100);
  font-size: 0.78rem;
  color: var(--slate-600);
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* 5. BARRA DE ASEGURADORAS */
body.theme-seguros .marquee-section {
  background: #FFFFFF;
  border-bottom: 1px solid var(--slate-200);
  padding: 20px 0;
}

body.theme-seguros .marquee-label {
  color: var(--slate-600);
  font-size: 0.78rem;
}

body.theme-seguros .brand-pill-item {
  background: var(--pearl-50);
  border: 1px solid var(--slate-200);
  color: var(--navy-900);
  box-shadow: none;
}

body.theme-seguros .brand-pill-dot {
  background: var(--teal-600);
}

/* 6. SECCIÓN EQUIPO HUMANO, ROL DE EMMA Y PRUEBAS DE CONFIANZA (#equipo) */
.role-explainer-banner {
  background: var(--pearl-50);
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  padding: 28px 32px;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}

@media (min-width: 860px) {
  .role-explainer-banner {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
  }
}

.team-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 44px;
}

@media (min-width: 920px) {
  .team-showcase-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.team-photo-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--slate-200);
  background: var(--pearl-50);
  display: flex;
}

.team-photo-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 420px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.team-members-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.team-directors-card {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: 18px;
  padding: 16px 20px;
}

.team-directors-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal-700);
  margin-bottom: 10px;
}

.team-directors-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 480px) {
  .team-directors-pair {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.team-director-pill {
  background: var(--pearl-50);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.team-member-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.96rem;
  color: var(--navy-900);
}

.team-member-role {
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--teal-700);
  background: var(--emerald-50);
  border: 1px solid #A7F3D0;
  padding: 2px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.team-collaborators-card {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: 18px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.team-collab-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.25;
  margin: 0;
}

.team-collab-lead {
  font-size: 0.88rem;
  color: var(--slate-600);
  line-height: 1.45;
  margin: 0;
}

.team-concept-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.team-concept-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--slate-700);
  line-height: 1.45;
}

.team-concept-list li strong {
  color: var(--navy-900);
}

.team-concept-dot {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--pearl-50);
  border: 1px solid var(--slate-200);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.team-concept-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--slate-100);
}

.team-concept-tag {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--navy-900);
  background: var(--pearl-50);
  border: 1px solid var(--slate-200);
  padding: 4px 10px;
  border-radius: 999px;
}

/* Ejemplo real de comparación entregada a un cliente — Diseño Dossier Ejecutivo Desplegable */
.sample-comparison-box {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 1.5px solid var(--slate-200);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 44px -14px rgba(11, 25, 44, 0.08);
}

.case-dossier-top {
  background: var(--navy-900);
  color: #FFFFFF;
  padding: 26px 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.case-vehicle-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.case-vehicle-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #F1F5F9;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}

.case-dossier-body {
  padding: 26px 28px;
}

.case-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}

@media (min-width: 960px) {
  .case-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

.case-option-card {
  background: #FFFFFF;
  border: 1.5px solid var(--slate-200);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.case-option-card.is-winner {
  border: 2px solid var(--teal-600);
  background: linear-gradient(180deg, #F0FDF4 0%, #FFFFFF 36%);
  box-shadow: 0 14px 32px -10px rgba(13, 148, 136, 0.15);
}

/* Fila 1: Ribbon de altura fija en 1 sola línea para alinear las 3 tarjetas */
.case-winner-ribbon,
.case-secondary-ribbon {
  display: inline-flex;
  align-items: center;
  height: 26px;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  line-height: 1;
  white-space: nowrap;
  margin-bottom: 12px;
  align-self: flex-start;
}

.case-winner-ribbon {
  font-weight: 800;
  color: var(--teal-700);
  background: #CCFBF1;
  border: 1px solid #99F6E4;
}

.case-secondary-ribbon {
  font-weight: 700;
  color: var(--slate-600);
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
}

/* Fila 2: Encabezado de Compañía + Cobertura en el mismo renglón */
.case-option-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  margin-bottom: 14px;
}

.case-insurer-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy-900);
  line-height: 1.2;
}

.case-insurer-sub {
  font-size: 0.75rem;
  color: var(--slate-500);
  line-height: 1.25;
  margin-top: 2px;
}

.case-coverage-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  color: var(--navy-900);
  font-size: 0.73rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.case-option-card.is-winner .case-coverage-tag {
  background: #ECFDF5;
  border-color: #A7F3D0;
  color: var(--teal-700);
}

/* Fila 3: KPI Split (Cuota vs Deducible) con renglones idénticos */
.case-kpi-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 14px 0;
}

.case-kpi-box {
  background: var(--pearl-50);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 10px 11px;
  min-height: 82px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-kpi-box.highlight-deductible {
  background: #ECFDF5;
  border-color: #6EE7B7;
}

.case-kpi-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  height: 15px;
  line-height: 15px;
  white-space: nowrap;
  margin-bottom: 3px;
}

.case-kpi-box.highlight-deductible .case-kpi-label {
  color: var(--teal-700);
}

.case-kpi-val {
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 800;
  color: var(--navy-900);
  height: 25px;
  line-height: 25px;
  display: flex;
  align-items: baseline;
  gap: 3px;
  white-space: nowrap;
  margin-bottom: 2px;
}

.case-kpi-val small {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--slate-600);
}

.case-kpi-val.is-text-val {
  font-size: 0.88rem;
}

.case-kpi-sub {
  font-size: 0.72rem;
  color: var(--slate-600);
  height: 15px;
  line-height: 15px;
  white-space: nowrap;
}

.case-kpi-box.highlight-deductible .case-kpi-sub {
  color: var(--teal-700);
  font-weight: 700;
}

/* Fila 4: Texto de conclusión alineado a la misma altura inicial */
.case-verdict-text {
  font-size: 0.84rem;
  line-height: 1.52;
  color: var(--slate-700);
  margin: 0;
}

.case-toggle-bar {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--slate-200);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.case-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1.5px solid var(--navy-900);
  color: var(--navy-900);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 180ms ease;
}

.case-toggle-btn:hover {
  background: var(--navy-900);
  color: #FFFFFF;
}

.case-toggle-chevron {
  display: inline-block;
  transition: transform 220ms ease;
}

.case-toggle-btn[aria-expanded="true"] .case-toggle-chevron {
  transform: rotate(180deg);
}

.case-collapsible-drawer {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--slate-300);
}

.mobile-table-scroll-hint {
  display: none;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal-700);
  background: var(--emerald-50);
  border: 1px solid #A7F3D0;
  border-radius: 8px;
  padding: 6px 10px;
  margin-bottom: 10px;
  text-align: center;
}

@media (max-width: 767px) {
  .mobile-table-scroll-hint {
    display: block;
  }
}

@media (max-width: 640px) {
  .case-dossier-top {
    padding: 18px 16px;
  }

  .case-dossier-top .btn {
    width: 100%;
    justify-content: center;
  }

  .case-dossier-body {
    padding: 16px 14px;
  }

  .case-vehicle-pills {
    gap: 6px;
    margin-top: 10px;
  }

  .case-vehicle-pill {
    font-size: 0.74rem;
    padding: 4px 10px;
    width: 100%;
  }

  .case-option-card {
    padding: 15px 14px;
  }

  .case-kpi-split {
    gap: 6px;
  }

  .case-kpi-box {
    padding: 9px 10px;
  }

  .case-kpi-val {
    font-size: 0.94rem;
  }

  .case-toggle-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .case-toggle-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
  }
}

.comparison-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 16px;
}

.clean-comp-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.86rem;
  text-align: left;
  background: #FFFFFF;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--slate-200);
}

.clean-comp-table th {
  background: var(--pearl-50);
  color: var(--navy-900);
  font-weight: 700;
  padding: 12px 14px;
  border-bottom: 1px solid var(--slate-200);
}

.clean-comp-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--slate-100);
  color: var(--slate-700);
  vertical-align: top;
}

.clean-comp-table tr.recommended-row {
  background: #F0FDF4;
}

/* 7. TARJETAS DE SEGUROS (#ramos) */
body.theme-seguros .feature-card {
  border: 1px solid var(--slate-200);
  border-radius: 18px;
  padding: 24px 22px;
  background: #FFFFFF;
  box-shadow: 0 4px 14px -4px rgba(11, 25, 44, 0.04);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

body.theme-seguros .feature-card:hover {
  border-color: var(--slate-300);
  box-shadow: 0 12px 28px -8px rgba(11, 25, 44, 0.08);
  transform: none;
}

.card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

body.theme-seguros .feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--pearl-50);
  border: 1px solid var(--slate-200);
  color: var(--navy-900);
  margin-bottom: 0;
  flex-shrink: 0;
}

body.theme-seguros .feature-badge {
  background: var(--pearl-50);
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
  font-weight: 600;
  margin-bottom: 0;
}

.ramo-perks-list {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--pearl-50);
  border: 1px solid var(--slate-100);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.84rem;
  color: var(--slate-700);
}

.ramo-perks-list li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.ramo-perks-list li span.perk-check {
  color: var(--teal-600);
  font-weight: 800;
}

.card-cta-pair {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.btn-wa-icon-only {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid var(--slate-300);
  color: var(--teal-700);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.84rem;
  transition: all 160ms ease;
}

.btn-wa-icon-only:hover {
  background: var(--emerald-50);
  border-color: var(--teal-600);
}

/* 8. GUÍA Y COMPARATIVA DE COBERTURAS (#comparador) — CLARA Y LUMINOSA */
.comparator-light-section {
  background: var(--pearl-50);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.comparator-card-light {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 4px 16px -6px rgba(11, 25, 44, 0.05);
}

.cov-tabs-light {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  background: var(--slate-100);
  padding: 5px;
  border-radius: 12px;
}

.cov-tab-light-btn {
  flex: 1 1 auto;
  padding: 9px 12px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--slate-700);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  transition: all 160ms ease;
  text-align: center;
}

.cov-tab-light-btn.active {
  background: #FFFFFF;
  color: var(--navy-900);
  border-color: var(--slate-200);
  box-shadow: 0 2px 6px rgba(11, 25, 44, 0.06);
}

.guide-question-btn {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--slate-200);
  background: var(--pearl-50);
  color: var(--navy-900);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 160ms ease;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.guide-question-btn:hover,
.guide-question-btn.active {
  background: var(--royal-50);
  border-color: #93C5FD;
  color: var(--royal-700);
}

/* 9. ASISTENCIA EN SINIESTROS SEPARADA DE CONTRATACIÓN (#siniestros) */
.claims-support-box {
  background: #FFFFFF;
  border: 1.5px solid var(--slate-200);
  border-radius: 22px;
  padding: 32px;
  box-shadow: 0 12px 32px -12px rgba(11, 25, 44, 0.07);
}

.insurer-hotlines-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}

@media (min-width: 640px) {
  .insurer-hotlines-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hotline-chip {
  background: var(--pearl-50);
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.8rem;
}

.hotline-chip strong {
  display: block;
  color: var(--navy-900);
  font-size: 0.85rem;
}

/* 10. TESTIMONIOS Y CASO REAL */
.testimonial-card {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

/* 11. WHATSAPP FLOTANTE Y BARRA MÓVIL SIN SUPERPOSICIÓN */
.floating-wa-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--navy-900);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 24px rgba(11, 25, 44, 0.22);
  transition: opacity 200ms ease, transform 200ms ease;
}

.floating-wa-btn.hidden-near-form {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.floating-wa-btn:hover {
  background: var(--teal-700);
  color: #FFFFFF;
}

@media (min-width: 1024px) {
  .floating-wa-btn {
    display: inline-flex;
  }
}

body.theme-seguros .mobile-bottom-bar {
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--slate-200);
  box-shadow: 0 -4px 16px rgba(11, 25, 44, 0.08);
  padding: 10px 14px;
  gap: 10px;
}

body.theme-seguros .mobile-bottom-bar .btn {
  height: 42px;
  min-height: 42px;
  padding: 0 12px;
  font-size: 0.84rem;
  line-height: 1;
  border-radius: 10px;
  border-width: 1.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.hero-cta-group .btn {
  min-height: 46px;
  border-width: 1.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

@media (max-width: 959px) {
  /* Espacio adicional en móvil para que la barra fija inferior jamás tape botones ni contenido */
  body.theme-seguros {
    padding-bottom: 76px;
  }

  body.theme-seguros .hero-graphite {
    padding: 22px 0 34px;
  }

  body.theme-seguros .hero-title {
    font-size: 1.82rem;
    margin-bottom: 12px;
  }

  body.theme-seguros .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 16px;
  }

  .hero-cta-group {
    margin-bottom: 18px;
  }

  body.theme-seguros .quoter-box {
    padding: 18px 15px;
    border-radius: 18px;
  }

  .claims-support-box,
  .role-explainer-banner {
    padding: 20px 16px;
  }

  .sample-comparison-box {
    padding: 0;
  }
}

@media (max-width: 480px) {
  .hero-cta-group .btn {
    flex: 1 1 calc(50% - 6px);
    padding: 12px 10px;
    font-size: 0.86rem;
    text-align: center;
  }

  .insurer-hotlines-grid {
    grid-template-columns: 1fr;
  }
}
