/* ==========================================================================
   LANDING PAGE: ASISTENCIA Y URGENCIAS FUNERARIAS SANTA FE
   Arquitectura Mobile-First & Cumplimiento Estricto WCAG 2.2 AAA
   ========================================================================== */

:root {
  /* Paleta de Colores Principal con Ratio de Contraste WCAG AAA (>= 7.0:1) */
  --color-primary-dark: #091a2f;    /* Contraste con blanco: 16.8:1 */
  --color-primary: #0f243d;         /* Contraste con blanco: 14.8:1 */
  --color-primary-light: #16375c;   /* Contraste con blanco: 10.5:1 */
  --color-focus: #026aa7;           /* Anillo de enfoque accesible */
  
  /* Verde Accesible WhatsApp (WCAG AAA >= 7.0:1) */
  --color-whatsapp-aaa: #0b6630;      /* Contraste con blanco: 7.3:1 */
  --color-whatsapp-hover: #074b23;    /* Contraste con blanco: 9.8:1 */
  --color-whatsapp-bg: #f0fdf4;       /* Fondo suave accesible */
  --color-whatsapp-border: #15803d;   /* Contraste borde/fondo: 4.8:1 */

  /* Textos de Alto Contraste */
  --text-main: #09131f;             /* Contraste: 18.5:1 (AAA) */
  --text-muted: #1e293b;            /* Contraste: 12.6:1 (AAA) */
  --text-body: #334155;             /* Contraste: 8.9:1 (AAA) */
  --text-white: #ffffff;

  /* Fondos y Superficies */
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  --bg-navy: #06101d;

  /* Bordes de Alto Contraste */
  --border-light: #cbd5e1;
  --border-card: #94a3b8;
  --border-strong: #475569;

  /* Radio de bordes */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  /* Sombras */
  --shadow-sm: 0 1px 3px rgba(9, 26, 47, 0.1);
  --shadow-md: 0 4px 12px rgba(9, 26, 47, 0.12), 0 2px 4px rgba(9, 26, 47, 0.06);
  --shadow-lg: 0 10px 25px -5px rgba(9, 26, 47, 0.18), 0 8px 10px -6px rgba(9, 26, 47, 0.1);

  /* Transiciones */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset y Base */
*, *::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: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-muted);
  background-color: var(--bg-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

/* Enlace Accesible para Saltar al Contenido (WCAG 2.4.1) */
.skip-to-content {
  position: absolute;
  top: -60px;
  left: 16px;
  background: var(--color-primary-dark);
  color: #ffffff;
  padding: 10px 16px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  z-index: 9999;
  text-decoration: underline;
  transition: top var(--transition-fast);
}

.skip-to-content:focus {
  top: 12px;
  outline: 3px solid #fef08a;
  outline-offset: 3px;
}

/* Enfoque Accesible Global (WCAG AAA) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
.faq-question:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

/* ==========================================================================
   TOP BAR: GUARDIA 24HS (Mobile First)
   ========================================================================== */
.top-guardia-bar {
  background: #06101d;
  color: #ffffff;
  padding: 10px 0;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  z-index: 50;
}

.top-guardia-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}

.guardia-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #450a0a;
  color: #fecaca;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  border: 1px solid #dc2626;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.top-phones {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-phone-label {
  display: none; /* Oculto en móvil para ahorrar espacio */
}

.top-phone-link {
  color: #ffffff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.phone-separator {
  color: #64748b;
}

.top-wa-link {
  color: #86efac;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ==========================================================================
   HEADER / NAVBAR (Mobile First)
   ========================================================================== */
.site-header {
  background-color: #ffffff;
  border-bottom: 1.5px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

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

/* Logotipo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-shrink: 0;
}

.logo-icon-wrap {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.logo-svg {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(9, 26, 47, 0.15);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  letter-spacing: -0.2px;
  line-height: 1.15;
  white-space: nowrap;
}

.brand-location {
  font-size: 0.68rem;
  font-weight: 800;
  color: #854d0e;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* Navegación Móvil (Desplegable) */
.main-nav {
  display: none;
  position: absolute;
  top: 66px;
  left: 0;
  right: 0;
  background: #ffffff;
  padding: 20px;
  box-shadow: 0 16px 30px rgba(9, 26, 47, 0.2);
  border-bottom: 2px solid var(--border-light);
  z-index: 101;
}

.main-nav.active {
  display: block;
}

.main-nav .nav-list {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 14px;
}

.nav-link {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-muted);
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}

.nav-link:hover {
  color: var(--color-primary-dark);
}

/* Botones de Acción en Header en Móvil */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.action-svg {
  flex-shrink: 0;
}

/* En móvil ocultamos los botones redundantes del header para no apretar el logo */
.btn-guardia-header,
.btn-wa-header {
  display: none;
}

/* Menú Móvil Toggle */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  background: #f1f5f9;
  border: 1.5px solid var(--border-light);
}

.mobile-toggle span {
  width: 22px;
  height: 2.5px;
  background-color: var(--color-primary-dark);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION (Mobile First)
   ========================================================================== */
.hero-section {
  position: relative;
  background-image: url('../assets/images/hero-hands.jpg');
  background-size: cover;
  background-position: center 30%;
  padding: 32px 0 44px 0;
  color: var(--text-main);
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.94);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

.hero-content-card {
  width: 100%;
  background: #ffffff;
  padding: 28px 22px;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(9, 26, 47, 0.1);
  border: 1.5px solid var(--border-light);
  box-sizing: border-box;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #f1f5f9;
  border: 1.5px solid #94a3b8;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 14px;
}

.hero-title {
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
}

.hero-trust-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
  padding: 14px 14px;
  background-color: #f8fafc;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-primary-dark);
  border-top: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.4;
}

.trust-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
  line-height: 1.2;
}

.hero-cta-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.btn-cta-hero,
.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  min-height: 48px;
  text-align: center;
  transition: var(--transition-normal);
}

.btn-cta-hero {
  background: var(--color-primary-dark);
  color: #ffffff;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(9, 26, 47, 0.25);
}

.btn-cta-outline {
  background: #ffffff;
  color: var(--color-primary-dark);
  border: 2px solid var(--color-primary-dark);
}

/* ==========================================================================
   LÍNEAS DIRECTAS / TELÉFONOS HUB (Mobile First & WCAG AAA)
   ========================================================================== */
.phones-strip-section {
  background-color: #ffffff;
  padding: 40px 0;
  border-bottom: 1.5px solid var(--border-light);
}

.phones-strip-header {
  text-align: center;
  margin-bottom: 26px;
}

.phones-badge-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #854d0e;
  background: #fefce8;
  border: 1px solid #ca8a04;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.section-title-sm {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.section-desc-sm {
  font-size: 0.95rem;
  color: var(--text-body);
  max-width: 680px;
  margin: 0 auto;
}

.phones-hub-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.phone-hub-card {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.phone-hub-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.wa-hub {
  background: var(--color-whatsapp-bg);
  border-color: var(--color-whatsapp-border);
}

.info-hub {
  background: #f8fafc;
}

.hub-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.hub-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.landline-icon-wrap {
  background: var(--color-primary-dark);
}

.wa-icon-wrap {
  background: var(--color-whatsapp-aaa);
}

.info-icon-wrap {
  background: #0284c7;
}

.hub-tag {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: var(--color-primary-dark);
}

.wa-tag {
  color: #064e3b;
}

.info-tag {
  color: #0369a1;
}

.hub-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.hub-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 16px;
}

/* Grilla de números fijos */
.hub-numbers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.hub-num-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: #ffffff;
  border: 1.5px solid var(--color-primary-dark);
  color: var(--color-primary-dark);
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 800;
  min-height: 44px;
  transition: var(--transition-fast);
  text-align: center;
}

.hub-num-chip:hover {
  background-color: var(--color-primary-dark);
  color: #ffffff;
}

/* Botones de WhatsApp */
.hub-wa-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.hub-wa-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--color-whatsapp-aaa);
  border: 1.5px solid var(--color-whatsapp-hover);
  color: #ffffff;
  padding: 11px 16px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  min-height: 46px;
  transition: var(--transition-fast);
}

.hub-wa-btn:hover {
  background-color: var(--color-whatsapp-hover);
}

.hub-wa-status {
  font-size: 0.85rem;
}

.hub-btn-arrow {
  font-size: 1.1rem;
}

/* Lista de Beneficios */
.hub-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.hub-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.hub-features-list svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.hub-card-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
}

.hub-footer-hint {
  font-size: 0.8rem;
  color: var(--text-body);
  font-weight: 600;
}

/* ==========================================================================
   SECCIONES GENERALES (Mobile First)
   ========================================================================== */
.section-que-hacer,
.section-coberturas,
.section-faqs {
  padding: 45px 0;
}

.section-header {
  margin-bottom: 30px;
}

.text-center {
  text-align: center;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}

.title-divider {
  width: 50px;
  height: 4px;
  background: #854d0e;
  border-radius: var(--radius-full);
  margin: 0 auto 12px auto;
}

.section-subtitle {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.55;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ==========================================================================
   PASOS: ¿QUÉ HACER ANTE UN FALLECIMIENTO?
   ========================================================================== */
.steps-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 30px;
}

.step-card {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-card-featured {
  border-top: 5px solid #854d0e;
}

.step-number-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-primary-dark);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #eff6ff;
  border: 1.5px solid #93c5fd;
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.step-text {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 18px;
}

.btn-step-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 20px;
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  background: var(--color-primary-dark);
  color: #ffffff;
  min-height: 44px;
}

.btn-step-secondary {
  background: #ffffff;
  color: var(--color-primary-dark);
  border: 2px solid var(--color-primary-dark);
}

/* Guía Detallada y Documentación */
.detailed-guide-wrapper {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  box-shadow: var(--shadow-sm);
}

.guide-box-title,
.docs-box-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  line-height: 1.3;
}

.guide-box-intro,
.docs-intro {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 18px;
}

.locations-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.location-item {
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1.5px solid var(--border-light);
}

.location-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.location-icon {
  font-size: 1.3rem;
}

.location-item h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-primary-dark);
}

.location-item p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* Documentación */
.docs-box {
  border-top: 1.5px solid var(--border-light);
  padding-top: 24px;
}

.docs-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 18px;
}

.docs-column {
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1.5px solid var(--border-light);
}

.doc-badge-type {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.essential-badge {
  background: #fee2e2;
  border: 1px solid #ef4444;
  color: #7f1d1d;
}

.optional-badge {
  background: #e0f2fe;
  border: 1px solid #38bdf8;
  color: #0c4a6e;
}

.docs-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.docs-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.92rem;
}

.check-icon {
  font-weight: 800;
  color: #15803d;
  margin-top: 1px;
}

.docs-checklist strong {
  display: block;
  color: var(--text-main);
  font-size: 0.95rem;
}

.docs-checklist small {
  color: var(--text-body);
  font-size: 0.82rem;
}

.docs-note {
  background: #fefce8;
  border: 1.5px solid #ca8a04;
  border-left: 4px solid #854d0e;
  padding: 14px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: #713f12;
}

.note-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
}

/* ==========================================================================
   SECCIÓN COBERTURAS Y OBRAS SOCIALES
   ========================================================================== */
.section-coberturas {
  background-color: var(--bg-alt);
}

.coberturas-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.cobertura-highlight-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  border-left: 4px solid var(--color-primary);
  border-top: 1.5px solid var(--border-light);
  border-right: 1.5px solid var(--border-light);
  border-bottom: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.cobertura-highlight-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 0;
}

.cobertura-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.cobertura-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.cobertura-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1;
}

.cobertura-card h3 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
}

.cobertura-card p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 16px;
}

.cobertura-card p:last-child {
  margin-bottom: 0;
}

.entity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  background: #f1f5f9;
  color: var(--color-primary-dark);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
}

.coberturas-cta-box {
  background: var(--color-primary-dark);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.coberturas-cta-content h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: #ffffff;
}

.coberturas-cta-content p {
  color: #e2e8f0;
  font-size: 0.92rem;
}

.btn-cta-light {
  background: #ffffff;
  color: var(--color-primary-dark);
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 800;
  min-height: 48px;
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   ACORDEÓN FAQS (Mobile First)
   ========================================================================== */
.faq-accordion {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 16px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  text-align: left;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-main);
  background: #ffffff;
  min-height: 48px;
}

.faq-q-text {
  line-height: 1.35;
}

.faq-q-icon {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  transition: transform var(--transition-normal);
  line-height: 1;
  flex-shrink: 0;
}

.faq-item.active .faq-question {
  background-color: #f1f5f9;
}

.faq-item.active .faq-q-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
  background-color: #ffffff;
}

.faq-answer-inner {
  padding: 14px 14px 18px 14px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  border-top: 1.5px solid var(--border-light);
}

/* ==========================================================================
   FOOTER (Mobile First)
   ========================================================================== */
.site-footer {
  background-color: #06101d;
  color: #e2e8f0;
  border-top: 4px solid var(--color-primary-light);
}

.footer-top {
  padding: 40px 0 30px 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-logo-title {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
}

.footer-logo-sub {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fde047;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 14px;
}

.footer-badges {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.f-badge {
  font-size: 0.8rem;
  color: #7dd3fc;
  font-weight: 700;
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 6px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2.5px;
  background-color: #fde047;
}

.footer-contact-list,
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-list a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: underline;
}

.footer-bottom {
  background-color: #02060c;
  padding: 16px 0;
  font-size: 0.8rem;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-flex {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 6px;
}

/* ==========================================================================
   BOTONES FLOTANTES (Mobile First)
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  border: 2px solid #ffffff;
}

.float-phone {
  background: var(--color-primary-dark);
}

.float-wa {
  background: var(--color-whatsapp-aaa);
}

.float-tooltip {
  display: none; /* En móvil no hay hover tooltip */
}

/* ==========================================================================
   MODAL RÁPIDO DE GUARDIA (Mobile First)
   ========================================================================== */
.guardia-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6, 16, 29, 0.85);
  backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  background: #ffffff;
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
  border: 2px solid var(--border-light);
  overflow: hidden;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  background: var(--color-primary-dark);
  color: #ffffff;
  padding: 18px 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.modal-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  background: #450a0a;
  border: 1.5px solid #dc2626;
  color: #fecaca;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-bottom: 6px;
}

.modal-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
}

.modal-close {
  color: #ffffff;
  font-size: 1.8rem;
  line-height: 1;
  padding: 2px 6px;
  min-width: 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-body {
  padding: 20px 18px;
}

.modal-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  margin-bottom: 18px;
}

.modal-actions-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.modal-action-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.group-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-main);
  text-transform: uppercase;
}

.modal-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 700;
  min-height: 48px;
}

.modal-btn-wa {
  background: var(--color-whatsapp-bg);
  color: #064e3b;
  border: 1.5px solid var(--color-whatsapp-border);
}

.modal-phones-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.modal-phone-btn {
  background: #f1f5f9;
  color: var(--color-primary-dark);
  border: 1.5px solid var(--border-light);
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-footer {
  background: #f8fafc;
  padding: 12px 18px;
  border-top: 1.5px solid var(--border-light);
  text-align: center;
  color: var(--text-body);
  font-size: 0.82rem;
  font-weight: 600;
}

/* ==========================================================================
   PREFERENCIAS DE REDUCCIÓN DE MOVIMIENTO (WCAG AAA)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   MEDIA QUERIES: TABLET (>= 768px)
   ========================================================================== */
@media (min-width: 768px) {
  .top-guardia-content {
    flex-direction: row;
    justify-content: space-between;
  }

  .top-phone-label {
    display: inline;
    color: #e2e8f0;
    font-size: 0.85rem;
    font-weight: 500;
  }

  .header-content {
    height: 76px;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .brand-location {
    font-size: 0.72rem;
  }

  .btn-guardia-header,
  .btn-wa-header {
    display: inline-flex;
    padding: 8px 14px;
    font-size: 0.88rem;
    min-height: 42px;
    white-space: nowrap;
  }

  .hero-section {
    padding: 50px 0;
    min-height: 520px;
    background-position: center 35%;
  }

  .hero-content-card {
    max-width: 620px;
    padding: 34px 36px;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-cta-wrapper {
    flex-direction: row;
    width: auto;
  }

  .btn-cta-hero,
  .btn-cta-outline {
    width: auto;
    padding: 14px 28px;
  }

  .phones-hub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .phone-hub-card.info-hub {
    grid-column: span 2;
  }

  .steps-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .docs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .coberturas-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .coberturas-cta-box {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 28px 36px;
  }

  .btn-cta-light {
    width: auto;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }

  .footer-about {
    grid-column: span 2;
  }

  .footer-bottom-flex {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .float-btn {
    width: 56px;
    height: 56px;
  }

  .float-tooltip {
    display: block;
    position: absolute;
    right: 68px;
    background: #000000;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    border: 1px solid #ffffff;
    transition: opacity var(--transition-fast);
  }

  .float-btn:hover .float-tooltip {
    opacity: 1;
  }

  .modal-phones-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   MEDIA QUERIES: DESKTOP (>= 1024px) - UI/UX PRO MAX POLISH
   ========================================================================== */
@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }

  .main-nav {
    display: block;
    position: static;
    background: transparent;
    padding: 0;
    box-shadow: none;
    border-bottom: none;
    margin-left: auto;
  }

  .main-nav .nav-list {
    flex-direction: row;
    gap: 32px;
    align-items: center;
  }

  .nav-link {
    font-size: 0.98rem;
    padding: 8px 0;
    border-bottom: none;
    position: relative;
    white-space: nowrap;
    letter-spacing: -0.1px;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--color-primary-dark);
    transition: width var(--transition-fast);
  }

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

  /* Separación clara y elegante entre Contacto y los botones de acción */
  .header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 16px;
    padding-left: 28px;
    border-left: 1.5px solid var(--border-light);
  }

  .btn-guardia-header,
  .btn-wa-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    min-height: 44px;
    white-space: nowrap;
  }

  .btn-guardia-header {
    background: var(--color-primary-dark);
    color: #ffffff;
  }

  .btn-wa-header {
    background: var(--color-whatsapp-aaa);
    color: #ffffff;
    border: 1px solid var(--color-whatsapp-hover);
  }

  /* Hero Desktop Refinado */
  .hero-section {
    min-height: 580px;
    padding: 70px 0;
  }

  .hero-bg-overlay {
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.95) 46%,
      rgba(255, 255, 255, 0.65) 78%,
      rgba(255, 255, 255, 0.35) 100%
    );
  }

  .hero-content-card {
    max-width: 650px;
    padding: 44px 46px;
    box-shadow: 0 20px 40px -10px rgba(9, 26, 47, 0.12);
  }

  .hero-title {
    font-size: 2.45rem;
    line-height: 1.2;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 26px;
  }

  .hero-trust-points {
    padding: 18px 22px;
    gap: 14px;
    margin-bottom: 30px;
  }

  .trust-item {
    font-size: 1rem;
  }

  /* Secciones Generales con Espaciado Generoso (Breathability) */
  .section-que-hacer,
  .section-coberturas,
  .section-faqs {
    padding: 90px 0;
  }

  .section-header {
    margin-bottom: 55px;
  }

  .section-title {
    font-size: 2.25rem;
    margin-bottom: 14px;
  }

  .section-subtitle {
    font-size: 1.15rem;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  /* Teléfonos Desktop */
  .phones-strip-section {
    padding: 65px 0;
  }

  .phones-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .phone-hub-card.info-hub {
    grid-column: span 1;
  }

  .phone-hub-card {
    padding: 30px 24px;
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(9, 26, 47, 0.06);
  }

  /* Pasos 1 y 2 */
  .steps-container {
    gap: 32px;
    margin-bottom: 55px;
  }

  .step-card {
    padding: 44px 38px;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(9, 26, 47, 0.06);
  }

  .step-icon-circle {
    width: 78px;
    height: 78px;
    margin-bottom: 22px;
  }

  .step-title {
    font-size: 1.35rem;
  }

  .step-text {
    font-size: 1.02rem;
    line-height: 1.65;
    margin-bottom: 26px;
  }

  /* Guía Detallada */
  .detailed-guide-wrapper {
    padding: 48px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(9, 26, 47, 0.05);
  }

  .guide-box-title,
  .docs-box-title {
    font-size: 1.45rem;
  }

  .locations-grid {
    gap: 24px;
    margin-bottom: 45px;
  }

  .location-item {
    padding: 26px 24px;
    border-radius: 14px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(9, 26, 47, 0.04);
  }

  .location-icon-badge {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .docs-grid {
    gap: 28px;
    margin-bottom: 28px;
  }

  .docs-column {
    padding: 30px 28px;
    border-radius: 16px;
  }

  /* Coberturas Desktop */
  .coberturas-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 45px;
  }

  .cobertura-card {
    padding: 34px 30px;
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(9, 26, 47, 0.06);
  }

  .cobertura-icon-badge {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .cobertura-card h3 {
    font-size: 1.25rem;
  }

  .cobertura-card p {
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 24px;
  }

  .entity-tags {
    gap: 8px;
  }

  .tag {
    padding: 6px 14px;
    font-size: 0.82rem;
    border-radius: 9999px;
  }

  .coberturas-cta-box {
    padding: 36px 48px;
    border-radius: 20px;
  }

  .coberturas-cta-content h3 {
    font-size: 1.4rem;
  }

  .coberturas-cta-content p {
    font-size: 1.05rem;
  }

  /* Acordeón FAQ */
  .faq-accordion {
    max-width: 900px;
    margin: 0 auto;
    gap: 14px;
  }

  .faq-item {
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(9, 26, 47, 0.04);
  }

  .faq-question {
    padding: 22px 28px;
    font-size: 1.12rem;
  }

  .faq-answer-inner {
    padding: 20px 28px 26px 28px;
    font-size: 1.02rem;
    line-height: 1.7;
  }

  /* Footer Desktop */
  .footer-top {
    padding: 70px 0 50px 0;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1.2fr 0.9fr;
    gap: 48px;
  }

  .footer-about {
    grid-column: span 1;
  }
}
