/* ========== Variables ========== */
:root {
  --vsr-bg-dark: #1a1a2e;
  --vsr-bg-darker: #16162a;
  --vsr-green: #009145;
  --vsr-green-hover: #009145;
  --vsr-card-bg: #2d2d2d;
  --vsr-card-bg-light: #3d3d3d;
  --vsr-text: #e0e0e0;
  --vsr-text-muted: #9e9e9e;
}

/* ========== Base ========== */
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: #f5f5f5;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body.page-transition {
  opacity: 0;
  transition: opacity 220ms ease-in-out;
}

body.page-transition.page-ready {
  opacity: 1;
}

@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.28s;
  animation-timing-function: ease-in-out;
}

/* ========== HEADER CON LOGO ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.header-line {
  
  background-color: #5dade2;
  width: 100%;
}

/* ========== HEADER + HERO DESKTOP (solo PC, no toca mobile) ========== */
@media (min-width: 992px) {
  .header-line {
    background-color: black;
  }

  /* Barra superior: logo a la izquierda, enlaces repartidos en el resto del ancho */
  .site-header-inner {
    justify-content: flex-start;
    gap: 0;
  }

  .header-nav {
    flex: 1 1 auto;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 0.5rem;
    column-gap: clamp(0.5rem, 1.5vw, 1.25rem);
    min-width: 0;
    margin-left: clamp(1.5rem, 4vw, 3.5rem);
    padding: 0;
  }

  .header-nav-link {
    color: black;
    font-size: 0.95rem;
    font-weight: 400;
    text-decoration: none;
    text-align: center;
    line-height: 1.25;
  }

  .header-nav-link:hover {
    color: #20244c;
    text-decoration: underline;
  }

  .hero-desktop {
    background-color: #fafafa;
    padding: 3rem 0 0;
  }

  .hero-desktop-arrow-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top:6rem;
    padding-bottom: 4rem;
  }

  .hero-desktop-arrow-link {
    display: inline-flex;
    line-height: 0;
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .hero-desktop-arrow-link:hover,
  .hero-desktop-arrow-link:focus-visible {
    opacity: 1;
    transform: translateY(2px);
  }

  .hero-desktop-arrow-link:focus-visible {
    outline: 2px solid #009145;
    outline-offset: 4px;
    border-radius: 4px;
  }

  .hero-desktop-left {
    padding-right: 2rem;
  }

  .hero-desktop-left .intro-title {
    text-align: left;
    font-size: 3.6rem;
  }

  .hero-desktop-right {
    position: relative;
    display: flex;
  }

  .hero-desktop-img-wrap {
    position: relative;
    flex: 1;
    width: 100%;
    min-height: 0;
    border-radius: 8px;
    overflow: hidden;
    cursor: default;
    /* Proporción del diseño Figma: 632×596 para que no se estire */
  }

  .hero-desktop-bg {
    position: absolute;
    inset: 0;
    background-image: url("../assets/img/Imagen-principal-pc.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .hero-desktop-overlay {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(calc(-50% - 40px));
    background-color: rgba(54, 54, 54, 1);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    max-width: 450px;
    width: max-content;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease;
  }

  .hero-desktop-img-wrap:hover .hero-desktop-overlay,
  .hero-desktop-img-wrap:focus-within .hero-desktop-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%);
  }

  .hero-desktop-overlay-text {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
  }

  .hero-desktop-overlay .text-vsr {
    color: #D3FA57;
  }

  .hero-desktop .intro-buttons .btn {
    width: auto;
    min-width: 200px;
  }

  /* ¿Qué es el VSR? - versión PC (pisar .py-5 de Bootstrap, que usa !important) */
  .section-que-es.py-5 {
    padding-top: 6.25rem !important; /* 100px @ 16px */
    padding-bottom: 6.25rem !important;
  }

  .que-es-label {
    font-size: 1rem; /* 16px @ 16px — mismo criterio que reconocer / evaluar riesgo */
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #009145;
    margin: 0;
    text-align: left;
  }

  .section-que-es .tabs-title {
    text-align: left;
    font-size: 3rem;
    color:#000000
  }

  .section-que-es .que-es-content-wrap {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .section-que-es .tabs-text,
  .section-que-es .que-es-intro-text {
    text-align: left;
    max-width: 100%;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    font-size: 1.38rem;
  }

  .section-que-es .que-es-intro-text {
    font-size: 1.5rem;
  }

  .section-que-es .que-es-cards {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 6rem;
  }

  .section-que-es .que-es-card {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(0, 145, 69, 0.35);
    border-bottom: 1px solid rgba(0, 145, 69, 0.35);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
    min-height: 160px;
    height: auto;
    padding: 40px 24px;
  }

  .section-que-es .que-es-card-icon,
  .section-que-es .que-es-card-icon img {
    width: 4rem;
    height: 4rem;
  }

  .section-que-es .que-es-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
  }

  .section-que-es .que-es-card-desc {
    font-size: 1.5rem;
    font-weight: 400;
  }

  /* Orden en grid: fila1 = Mayor riesgo, Se transmite | fila2 = Más frecuente, Afecta */
  .section-que-es .que-es-card:nth-child(1) { grid-column: 2; grid-row: 2; }
  .section-que-es .que-es-card:nth-child(2) { grid-column: 2; grid-row: 1; }
  .section-que-es .que-es-card:nth-child(3) { grid-column: 1; grid-row: 1; }
  .section-que-es .que-es-card:nth-child(4) { grid-column: 1; grid-row: 2; }
}

/* ========== BANNER CON FOTO DE FONDO ========== */
.banner-main {
  position: relative;
  min-height: 388px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.banner-bg {
  position: absolute;
  inset: 0;
  background-color: #2c3e50;
  background-image: url("../assets/img/banner-principal.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.banner-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  width: 100%;
}

.banner-box {
  background-color: #363636;
  color: #fff;
  text-align: center;
  padding: 1rem 1.5rem;
  width: 100%;
  max-width: 100%;
  opacity: 0;
  transform: translateX(-40px);
  animation: banner-box-enter 0.6s ease 2s forwards;
  margin-bottom:20px ;
}

@keyframes banner-box-enter {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.banner-box-line {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.banner-box-vsr {
  font-size: 1.5rem;
  font-weight: 700;
  color: #D3FA57 !important;
  line-height: 1.2;
}

/* ========== SECCIÓN DEBAJO DEL BANNER ========== */
.section-below-banner {
  background-color: #fff;
  color: #212529;
}

.intro-title {
  font-size: 2.3rem;
  font-weight: 400;
  color: black;
  line-height: 1.3;
  margin: 0;
}

.intro-title .intro-icon {
  display: inline-flex;
  align-items: center;
  color: #3498db;
  font-size: 1.3rem;
  vertical-align: middle;
}

.intro-subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: #212529;
  margin: 0;
}

.intro-buttons .btn {
  width: 100%;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 1.3rem;
}

.btn-cta-primary {
  background-color: var(--vsr-green) !important;
  color: #fff !important;
  border: none;
}

.btn-cta-primary:hover {
  background-color: var(--vsr-green-hover) !important;
  color: #fff !important;
}

.btn-cta-outline {
  background-color: #E6F4EC;
  color: #009145;
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.btn-cta-outline:hover {
  background-color: #d8efe3;
  color: #009145;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.link-learn {
  font-size: 0.9rem;
  color: var(--vsr-green);
  text-decoration: none;
}

.link-learn:hover {
  color: var(--vsr-green-hover);
  text-decoration: underline;
}

/* ========== TABS (¿Qué es? / Síntomas / Prevención / etc.) ========== */
.section-tabs {
  background-color: #f8f9fa;
  color: #212529;
  box-shadow: 10px 4px 20px rgba(0, 0, 0, 0.08), 10px 2px 8px rgba(0, 0, 0, 0.04);
  
}

.tabs-nav {
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 0.5rem 1rem;
  min-height: 56px;
  background-color: #ffffff;
  box-shadow: 0 -2px 4px 0 rgba(0, 0, 0, 0.15);
  -webkit-overflow-scrolling: touch;
  border-radius: 0;
  width: 100%;
}

.tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
  min-width: 0;
  padding: 0.5rem 0.25rem;
  border: none;
  background: transparent;
  color: #20244C;
  font-size: 0.7rem;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.tab-btn-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.tab-btn:hover {
  color: #212529;
  background-color: rgba(0, 0, 0, 0.05);
}

.tab-btn.active {
  color: var(--vsr-green);
  background-color: rgba(46, 204, 113, 0.12);
}

/* ========== Bloque ¿Qué es el VSR? (solo contenido) ========== */
.section-que-es {
  background-color: #f8f9fa;
  color: #212529;
}

.section-que-es .container {
  text-align: left;
}

.que-es-content-wrap {
  width: 100%;
  max-width: 100%;
}

.que-es-intro-text {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.que-es-text-green {
  color: #009145;
  font-weight: 700;
}

.que-es-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.que-es-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 8px;
  border: none;
  border-bottom: 1px solid #009145;
  background-color: #FFFFFF;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.15);
}

.que-es-card-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.que-es-card-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.que-es-card-body {
  flex: 1;
  min-width: 0;
}

.que-es-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #212529;
  margin: 0;
}

.que-es-card-desc {
  font-size: 0.9rem;
  font-weight: 400;
  color: #5D5B5C;
  line-height: 1.4;
  margin: 0;
}

.que-es-card-desc sup {
  font-size: 0.6em;
}

/* ========== Bloque neumonía VSR (debajo de ¿Qué es el VSR?) ========== */
.section-neumonia-vsr {
  background-color: #20244C;
  color: #fff;
  padding: 3rem 0rem;
}

.neumonia-vsr-destacado {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  margin: 0;
}

.neumonia-vsr-highlight {
  color: #D3FA57;
  font-weight: 700;
}

.neumonia-vsr-highlight sup {
  color: inherit;
  font-size: 0.6em;
}

.neumonia-vsr-texto {
  font-size: 1rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.5;
  margin: 0;
}

.neumonia-vsr-texto sup {
  font-size: 0.6em;
}

@media (min-width: 992px) {
  .neumonia-vsr-destacado {
    font-size: 3rem;
    
  }
  .neumonia-vsr-highlight{
    font-weight: 600;
  }

  .neumonia-vsr-texto {
    font-size: 1.5rem;
  }
}

/* ========== Navegación inferior (como app) ========== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #ffffff;
  padding: 0.5rem 0.25rem;
  padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  min-height: 56px;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  flex: 1;
  padding: 0.35rem 0.25rem;
  color: #6c757d;
  font-size: 0.65rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.2s, color 0.2s;
}

.bottom-nav-item:hover {
  color: #212529;
  background-color: rgba(0, 0, 0, 0.04);
}

.bottom-nav-item.active {
  color: var(--vsr-green);
  background-color: rgba(46, 204, 113, 0.12);
}

.bottom-nav-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.bottom-nav-item-btn {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
}

/* ========== Menú móvil (desplegable de abajo hacia arriba) ========== */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1040;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-panel {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 85vh;
  overflow-y: auto;
  background-color: #fff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.mobile-menu-overlay.open .mobile-menu-panel {
  transform: translateY(0);
}

.mobile-menu-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-menu-logo-img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

.mobile-menu-logo-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #20244C;
  display: block;
}

.mobile-menu-logo-text .text-vsr,
.mobile-menu-logo .vsr-verde {
  color: var(--vsr-green);
}

.mobile-menu-logo-site {
  font-size: 0.7rem;
  color: #6c757d;
  margin-top: 0.15rem;
}

.mobile-menu-close {
  font-size: 1.5rem;
  color: #495057;
  line-height: 1;
}

.mobile-menu-close:hover {
  color: #212529;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  padding-top: 0.5rem;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0.75rem;
  color: #212529;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 8px;
  transition: background-color 0.2s, color 0.2s;
}

.mobile-menu-link:hover {
  background-color: rgba(0, 0, 0, 0.04);
  color: #20244C;
}

.mobile-menu-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.mobile-menu-icon-bi {
  font-size: 1.4rem;
  color: #20244C;
  width: auto;
  height: auto;
}

body {
  padding-bottom: 72px;
}

.tab-panel {
  display: none;
  animation: fadeIn 0.25s ease;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.tabs-title {
  font-size: 2.1rem;
  font-weight: 400;
  color: #20244C;
  margin: 0;
  text-align: left;
}

.tabs-text {
  font-size: 1rem;
  color: black;
  line-height: 1.5;
  margin: 0;
  text-align: left;
}



.tab-card {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: box-shadow 0.2s;
}

.tab-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tab-card-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vsr-green);
  font-size: 3.25rem;
}

.tab-card-label {
  font-size: 1.2rem;
  font-weight: 600;
  color: #20244C;
  line-height: 1.3;
}

/* ========== Botones CTA ========== */
.btn-cta {
  background-color: var(--vsr-green);
  color: #fff;
  border: none;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.2s;
}

.btn-cta:hover {
  background-color: var(--vsr-green-hover);
  color: #fff;
}

/* ========== Evaluá tu riesgo ========== */
#evaluar-riesgo {
  scroll-margin-top: 5.5rem; /* ancla bajo header sticky */
}

.section-evaluar-riesgo {
  background-color: #E8EDE9;
  color: #212529;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.section-evaluar-riesgo .container {
  text-align: left;
}

.evaluar-riesgo-label {
  font-size: 1rem; /* 16px @ 16px — mismo criterio que .reconocer-label */
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--vsr-green);
  margin: 0 0 0.5rem 0;
  text-align: left;
}

.evaluar-riesgo-title {
  font-size: 2.1rem;
  font-weight: 400;
  color: black;
  line-height: 1.25;
  margin: 0;
  text-align: left;
}

.evaluar-riesgo-text {
  font-size: 1rem;
  font-weight: 400;
  color: #212529;
  line-height: 1.5;
  margin: 0;
  text-align: left;
}

.btn-evaluar-test {
  padding: 0.75rem 1rem;
  display: block;
  width: 100%;
  border-radius: 99px;
}

/* Botón primario Figma — «Comenzar el test» (Evaluá tu riesgo) */
#btnAbrirAutotest.btn-cta.btn-evaluar-test {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  max-width: min(100%, 228px);
  height: 56px;
  min-height: 56px;
  padding: 16px 32px;
  box-sizing: border-box;
  background-color: #408945;
  color: #fff;
  border: none;
  border-radius: 99px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.2;
  text-align: center;
  transition: background-color 0.2s, box-shadow 0.2s;
}

#btnAbrirAutotest.btn-cta.btn-evaluar-test:hover {
  background-color: #009145;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

#btnAbrirAutotest.btn-cta.btn-evaluar-test:focus-visible {
  outline: 2px solid #2d5c2e;
  outline-offset: 2px;
}

@media (min-width: 992px) {
  .section-evaluar-riesgo {
    padding-top: 100px;
    padding-bottom: 100px;
  }
  .section-evaluar-riesgo .container {
    text-align: left;
  }

  .section-evaluar-riesgo .evaluar-riesgo-label,
  .section-evaluar-riesgo .evaluar-riesgo-title,
  .section-evaluar-riesgo .evaluar-riesgo-text {
    text-align: left;
  }

  .section-evaluar-riesgo .evaluar-riesgo-title {
    font-size: 3rem;
  }

  .section-evaluar-riesgo .evaluar-riesgo-text {
    font-size: 1.5rem;
  }

  .section-evaluar-riesgo .btn-evaluar-test {
    max-width: 320px;
    margin-left: 0;
    margin-right: auto;
    font-size: 1.1rem;
  }

  .section-evaluar-riesgo #btnAbrirAutotest.btn-evaluar-test {
    max-width: min(100%, 300px);
    width: fit-content;
    font-size: 1.5rem;
  }
}

/* ========== Autotest (pop-up) — tarjeta Test ========== */
.autotest-overlay {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background-color: rgba(45, 45, 45, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.autotest-overlay.open {
  opacity: 1;
  visibility: visible;
}

.autotest-modal {
  background-color: #fff;
  border-radius: 16px;
  max-width: 420px;
  width: 100%;
  max-height: min(90vh, 720px);
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  position: relative;
  overflow: hidden;
}

.autotest-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  background: none;
  border: none;
  font-size: 1.35rem;
  color: #5d5b5c;
  cursor: pointer;
  padding: 0.35rem;
  line-height: 1;
}

.autotest-close:hover {
  color: #212529;
}

.autotest-step.hidden {
  display: none !important;
}

.autotest-step:not(.hidden) {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.autotest-card-head {
  flex-shrink: 0;
  padding: 2.5rem 1.25rem 0.75rem;
  padding-right: 3rem;
}

.autotest-topbar {
  min-height: 2rem;
  display: flex;
  align-items: center;
  margin-bottom: 0.25rem;
}

.autotest-topbar-spacer {
  display: inline-block;
  width: 2rem;
  height: 2rem;
}

.autotest-back {
  background: none;
  border: none;
  font-size: 1.35rem;
  color: #5d5b5c;
  cursor: pointer;
  padding: 0.2rem;
  margin: -0.2rem 0 0 -0.2rem;
  line-height: 1;
}

.autotest-back:hover {
  color: #212529;
}

.autotest-kicker {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6c757d;
  margin: 0 0 0.35rem;
}

.autotest-card-title {
  font-size: 1.125rem;
  font-weight: 500;
  color: #212529;
  line-height: 1.3;
  margin: 0;
}

.autotest-step-text {
  font-size: 0.9375rem;
  color: #495057;
  line-height: 1.55;
  margin: 0;
}

.autotest-card-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0.5rem 1.25rem 1rem;
  -webkit-overflow-scrolling: touch;
}

.autotest-card-footer {
  flex-shrink: 0;
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid #e9ecef;
  background-color: #fff;
}

.autotest-btn-footer {
  width: 100%;
  padding: 0.85rem 1rem;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  display: block;
  background-color: #009145;
  color: #fff !important;
  transition: background-color 0.2s, color 0.2s;
}

.autotest-btn-footer:hover:not(:disabled) {
  background-color: #007a3a;
  color: #fff !important;
}

.autotest-btn-footer:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.autotest-btn-footer--outline {
  margin-top: 0.65rem;
  background-color: #fff;
  color: #495057 !important;
  border: 1px solid #ced4da;
}

.autotest-btn-footer--outline:hover {
  background-color: #f8f9fa;
  color: #212529 !important;
}

.autotest-final-footer {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.autotest-final-footer .autotest-btn-footer {
  flex: 1 1 0;
  margin-top: 0;
}

.autotest-progressbar-wrap {
  margin-bottom: 1rem;
}

.autotest-progressbar {
  height: 4px;
  background-color: #dee2e6;
  border-radius: 4px;
  overflow: hidden;
}

.autotest-progressbar-fill {
  height: 100%;
  background-color: #009145;
  border-radius: 4px;
  transition: width 0.35s ease;
}

.autotest-progress-label {
  font-size: 0.8125rem;
  color: #6c757d;
  margin: 0.5rem 0 0;
}

.autotest-q-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #212529;
  margin: 0 0 0.75rem;
  line-height: 1.35;
}

.autotest-q-hint {
  font-size: 0.8125rem;
  color: #6c757d;
  margin: -0.35rem 0 0.65rem;
}

.autotest-options {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.autotest-option {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.9375rem;
  color: #212529;
  background-color: #f8f9fa;
  border: 1px solid transparent;
  transition: background-color 0.2s, border-color 0.2s;
}

.autotest-option:hover {
  background-color: #eef0f2;
}

.autotest-option:has(input:checked) {
  font-weight: 600;
  background-color: rgba(0, 145, 69, 0.1);
  border-color: rgba(0, 145, 69, 0.35);
}

/* Opciones tipo radio: círculo nativo unificado (también check P2 con misma forma) */
.autotest-option input[type="radio"],
.autotest-options-check .autotest-option input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  border: 2px solid #adb5bd;
  border-radius: 50%;
  background-color: #fff;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.autotest-option input[type="radio"]:checked,
.autotest-options-check .autotest-option input[type="checkbox"]:checked {
  border-color: #009145;
  box-shadow: inset 0 0 0 4px #009145;
}

.autotest-option input[type="radio"]:focus-visible,
.autotest-options-check .autotest-option input[type="checkbox"]:focus-visible {
  outline: 2px solid #009145;
  outline-offset: 2px;
}

.autotest-options-check .autotest-option {
  font-size: 0.9rem;
}

/* Pantalla final — compartir */
.autotest-final-body {
  padding-top: 2.75rem;
}

.autotest-final-tagline {
  font-size: 0.875rem;
  color: #6c757d;
  margin: 0 0 0.5rem;
  font-weight: 400;
  line-height: 1.35;
}

.autotest-final-rule {
  height: 2px;
  width: 100%;
  background-color: #009145;
  margin: 0 0 1.25rem;
  border-radius: 1px;
}

.autotest-final-heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: #212529;
  margin: 0 0 1rem;
  line-height: 1.3;
}

.autotest-final-lead {
  font-size: 1.05rem;
  font-weight: 700;
  color: #212529;
  margin: 0 0 0.65rem;
  line-height: 1.4;
}

.autotest-final-text {
  font-size: 0.9375rem;
  font-weight: 400;
  color: #212529;
  margin: 0;
  line-height: 1.5;
}

/* —— Resultado por nivel (sin cabecera TEST / título del flujo) —— */
.autotest-result {
  position: relative;
}

.autotest-result-back {
  position: absolute;
  top: 0.6rem;
  left: 0.5rem;
  z-index: 3;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  color: #5d5b5c;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.autotest-result-back:hover {
  color: #212529;
  background-color: #fff;
}

.autotest-result-body {
  padding-top: 0rem;
}

.autotest-result-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
  margin: 0 -1.25rem 1rem;
  padding: 1.25rem 1.25rem 1rem;
  border-radius: 0;
} 

.autotest-result-icon-ring {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.autotest-result-icon-img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.autotest-result-badge {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  color: #212529;
}

.autotest-result-section-label {
  display: none;
  font-size: 0.875rem;
  color: #5d5b5c;
  font-weight: 400;
  margin: 0 0 0.65rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #009145;
  width:100%;
  max-width: 100%;
  line-height: 1.3;
}

.autotest-result-copy {
  min-width: 0;
}

.autotest-result-title {
  font-size: 1rem;
  font-weight: 700;
  color: #212529;
  margin: 0 0 0.85rem;
  line-height: 1.35;
}

.autotest-result-text {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
  color: #212529;
}

.autotest-result-text p {
  margin: 0 0 0.75rem;
  font-size: inherit;
}

.autotest-result-text sup {
  font-size: 0.6em;
  font-weight: 600;
}

.autotest-result-text p:last-child {
  margin-bottom: 0;
}

.autotest-result-footer {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.autotest-result--lvl-bajo .autotest-result-hero {
  background-color: #8acca9;
}

.autotest-result--lvl-bajo .autotest-result-icon-ring {
  background-color: #00843f;
}

.autotest-result--lvl-bajo .autotest-result-badge {
  text-transform: none;
  letter-spacing: 0.02em;
  color: #00843f;
  font-size: 1rem;
  font-weight: 700;
}

.autotest-result--lvl-moderado .autotest-result-hero {
  background-color: rgba(229, 160, 0, 0.302);
}

.autotest-result--lvl-moderado .autotest-result-icon-ring {
  background-color: #e5a000;
}

.autotest-result--lvl-aumentado .autotest-result-hero {
  background-color: rgba(191, 106, 2, 0.302);
}

.autotest-result--lvl-aumentado .autotest-result-icon-ring {
  background-color: #bf6a02;
}

.autotest-result--lvl-moderado .autotest-result-badge {
  text-transform: none;
  letter-spacing: 0.02em;
  color: #e5a000;
  font-size: 1rem;
  font-weight: 700;
}

.autotest-result--lvl-aumentado .autotest-result-badge {
  text-transform: none;
  letter-spacing: 0.02em;
  color: #bf6a02;
  font-size: 1rem;
  font-weight: 700;
}

@media (min-width: 992px) {
  .autotest-overlay {
    padding: 2rem;
  }

  .autotest-modal {
    max-width: 520px;
    max-height: min(96vh, 920px);
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 20px;
  }

  .autotest-step:not(.hidden) {
    flex: 0 0 auto;
    min-height: 0;
  }

  .autotest-card-head {
    padding-left: 1.75rem;
    padding-right: 3.5rem;
  }

  .autotest-card-body {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
    overflow-y: visible;
    flex: 0 0 auto;
    min-height: 0;
  }

  .autotest-card-footer {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }

  .autotest-result-hero {
    margin-left: -1.75rem;
    margin-right: -1.75rem;
    padding-left: 1.75rem;
    padding-right: 1.75rem;
    border-radius: 12px;
    height: auto;
    min-height: 0;
  }

  .autotest-card-title {
    font-size: 1.25rem;
  }

  .autotest-q-title {
    font-size: 1.125rem;
  }

  .autotest-result-footer {
    flex-direction: column;
  }

  .autotest-result-footer .autotest-btn-footer {
    width: 100%;
  }

  .autotest-result .autotest-result-section-label {
    display: block;
  }

  /* Resultado bajo riesgo — layout tipo diseño PC */
  .autotest-result--lvl-bajo .autotest-result-hero {
    border-radius: 12px 12px 0 0;
    margin-bottom: 0;
    padding-top: 1.75rem;
    padding-bottom: 1.5rem;
    
  }
  .autotest-result-hero {
    align-items: center;
    justify-content: center;
  }
  .autotest-result--lvl-bajo .autotest-result-icon-ring {
    width: 80px;
    height: 80px;
  }

  .autotest-result--lvl-bajo .autotest-result-icon-img {
    width: 80px;
    height: 80px;
  }
  .autotest-result-icon-img{
    width: 64px;
    height: 64px;
  }
  .autotest-result--lvl-bajo .autotest-result-badge {
    font-size: 1.5rem;
    line-height: 1.25;
  }

  .autotest-result--lvl-bajo .autotest-result-copy {
    padding-top: 1.35rem;
  }

  .autotest-result--lvl-bajo .autotest-result-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 1rem;
  }

  .autotest-result--lvl-bajo .autotest-result-text {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.55;
  }

  .autotest-result--lvl-bajo .autotest-result-text p {
    font-size: inherit;
    font-weight: 400;
  }

  .autotest-result--lvl-moderado .autotest-result-hero,
  .autotest-result--lvl-aumentado .autotest-result-hero {
    border-radius: 12px 12px 0 0;
    margin-bottom: 0;
    padding-top: 1.75rem;
    padding-bottom: 1.5rem;
  }

  .autotest-result--lvl-moderado .autotest-result-icon-ring,
  .autotest-result--lvl-aumentado .autotest-result-icon-ring {
    width: 120px;
    height: 120px;
  }

  .autotest-result--lvl-moderado .autotest-result-icon-img,
  .autotest-result--lvl-aumentado .autotest-result-icon-img {
    width: 80px;
    height: 80px;
  }

  .autotest-result--lvl-moderado .autotest-result-badge {
    font-size: 1.5rem;
    line-height: 1.25;
    color: #e5a000;
  }

  .autotest-result--lvl-aumentado .autotest-result-badge {
    font-size: 1.5rem;
    line-height: 1.25;
    color: #bf6a02;
  }

  .autotest-result--lvl-moderado .autotest-result-copy,
  .autotest-result--lvl-aumentado .autotest-result-copy {
    padding-top: 1.35rem;
  }

  .autotest-result--lvl-moderado .autotest-result-title,
  .autotest-result--lvl-aumentado .autotest-result-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 1rem;
  }

  .autotest-result--lvl-moderado .autotest-result-text,
  .autotest-result--lvl-aumentado .autotest-result-text {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.55;
  }

  .autotest-result--lvl-moderado .autotest-result-text p,
  .autotest-result--lvl-aumentado .autotest-result-text p {
    font-size: inherit;
    font-weight: 400;
  }

  .autotest-final-heading {
    font-size: 1.5rem;
  }

  .autotest-final-lead {
    font-size: 1.125rem;
  }

  .autotest-final-text {
    font-size: 1.05rem;
  }
}

/* ========== Reconocé las señales / Síntomas del VSR ========== */
.section-reconocer {
  background-color: #20244C;
  color: #fff;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.section-reconocer .container {
  text-align: left;
}

.reconocer-label {
  font-size: 1rem; /* 16px @ 16px */
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #D3FA57;
  margin: 0 0 0.25rem 0;
  text-align: left;
}

.reconocer-title {
  font-size: 2.1rem;
  font-weight: 400;
  color: #fff;
  margin: 0;
  text-align: left;
}

.reconocer-intro {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  margin: 0;
  text-align: left;
}

.reconocer-sintoma-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.reconocer-card {
  background-color: #fff;
  color: #212529;
}

.reconocer-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 992px) {
  .reconocer-icon {
    width: 80px;
    height: 80px;
  }
}

.reconocer-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.reconocer-sintoma {
  font-size: 1.1rem;
  font-weight: 700;
  color: black;
}

.reconocer-aviso {
  
  background: transparent;
}

.reconocer-aviso-titulo {
  font-size: 1.1rem;
  font-weight: 700;
  color: #D3FA57;
  margin: 0;
  display: inline;
}

.reconocer-aviso-texto {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  margin: 0;
  display: inline;
}

/* Reconocé las señales - versión PC */
@media (min-width: 992px) {
  .section-reconocer {
    padding-top: 100px;
    padding-bottom: 100px;
  }
  .section-reconocer .reconocer-label,
  .section-reconocer .reconocer-title,
  .section-reconocer .reconocer-intro {
    text-align: left;
  }
  .section-reconocer .reconocer-title {
    font-size: 3rem;
  }
  .reconocer-intro {
    font-size: 1.5rem; /* 24px @ 16px */
  }
  .section-reconocer .reconocer-card {
    background-color: transparent;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
  }

  .section-reconocer .reconocer-sintomas-row {
    justify-content: center;
    flex-wrap: nowrap;
    gap: 20px;
    width: 100%;
  }

  .section-reconocer .reconocer-sintomas-row .col-lg-2.reconocer-sintoma-item {
    flex: 0 0 auto;
    min-width: 0;
    max-width: none;
    background-color: #d4edda;
    border-radius: 8px;
    padding: 1.25rem 1rem;
    width: 188px;
    height: 144px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
  }

  .section-reconocer .reconocer-aviso {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem;
    justify-content: flex-start;
  }

  .section-reconocer .reconocer-aviso-titulo {
    color: #D3FA57;
    margin: 0;
    flex-shrink: 0;
    font-size: 1.5rem;
  }

  .section-reconocer .reconocer-aviso-texto {
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-size: 1.5rem !important;
  }
}

/* Síntomas: 3 arriba + 3 abajo entre 992px y 1250px */
@media (min-width: 992px) and (max-width: 1250px) {
  .section-reconocer .reconocer-sintomas-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .section-reconocer .reconocer-sintomas-row > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
  }

  .section-reconocer .reconocer-sintomas-row .col-lg-2.reconocer-sintoma-item {
    flex: unset;
    width: 100%;
    max-width: none;
    height: 144px;
  }
}

/* ========== Video (Conocé más) ========== */
.section-video-contagio {
  background-color: #fafafa;
  color: #212529;
}

.section-video-label {
  font-size: 1rem; /* 16px @ 16px */
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #009145;
  margin: 0 0 0.5rem 0;
}

.section-video-title {
  font-size: 2.1rem;
  font-weight: 500;
  color: #20244C;
  line-height: 1.3;
  margin: 0;
}

.video-section-wrap {
  display: block;
}

.video-section-text {
  margin-bottom: 1.5rem;
}

@media (min-width: 992px) {
  .video-section-wrap {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 2rem;
   
  }

  .video-section-text {
    margin-bottom: 0;
  }

  .section-video-contagio .section-video-label {
    color: var(--vsr-green);
  }

  .section-video-contagio .section-video-title {
    color: #000;
    font-size: 2.9375rem; /* 47px @ 16px */
    font-weight: 500;
  }
}

.btn-link-video {
  color: var(--vsr-green);
  font-weight: 600;
  text-decoration: none;
}

.btn-link-video:hover {
  color: var(--vsr-green-hover);
  text-decoration: underline;
}

/* ========== Contagio y reinfecciones ========== */
.section-contagio {
  background-color: #20244C;
  color: rgba(255, 255, 255, 0.95);
}

.section-contagio-label {
  font-size: 1rem; /* 16px @ 16px */
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #D3FA57;
  margin: 0 0 0.5rem 0;
}

.section-contagio-title {
  font-size: 2.1rem;
  font-weight: 400;
  color: #fff;
  margin: 0;
}

.section-contagio-intro {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  margin: 0;
}

.contagio-card {
  background-color: #20244C;
  box-shadow: none;
}

.contagio-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contagio-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contagio-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
}

.contagio-card-text {
  font-size: 0.9rem;
  color: #495057;
  line-height: 1.5;
  margin: 0;
}

.contagio-arrow-img {
  width: 68px;
  height: 68px;
  display: inline-block;
  object-fit: contain;
}

/* Contagio: 3 tarjetas en flujo (chapa centrada, frente blanco, reverso menta) */
.contagio-flow {
  margin: 0;
}

.contagio-flow-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 0;
}

.contagio-flow-item .contagio-flow-card {
  width: 100%;
}

.contagio-flow-card {
  background-color: transparent;
  box-shadow: none;
  text-align: left;
  border: none;
}

/* Chapa verde centrada sobre la card (mitad inferior sobresale del borde superior) */
.contagio-flow-badge-outside {
  position: relative;
  z-index: 2;
  margin-bottom: 24px;
}

/* Flip card: frente y dorso */
.contagio-card-front {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 24px 16px;
  min-height: 168px;
  background-color: #fff;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(27, 73, 39, 0.15);
}

.contagio-card-back {
  display: none;
  position: relative;
  padding: 42px 20px 22px;
  min-height: 168px;
  background-color: #e6f4ec;
  border: none;
  border-radius: 8px;
  border-bottom: 1px solid #009145;
  box-shadow: 0 2px 4px rgba(27, 73, 39, 0.15);
  text-align: left;
  align-items: center;
  justify-content: center;
}

/* Móvil: flip al tocar "Ver más" (clase .flipped en la card) */
.contagio-flow-card.flipped .contagio-card-front {
  display: none;
}
.contagio-flow-card.flipped .contagio-card-back {
  display: flex;
}

.contagio-card-back-text {
  font-size: 1rem;
  font-weight: 400;
  color: #1b4927;
  line-height: 1.5;
  max-width: 95%;
  margin: 0 auto;
}

.contagio-card-back-text strong {
  color: #1b4927;
  font-weight: 700;
}

.section-contagio .contagio-card-back-text sup {
  color: rgba(27, 73, 39, 0.85);
  font-size: 0.6em;
}

/* Esfera numerada */
.contagio-flow-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #009145;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.contagio-flow-link {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.85rem;
  color: #009145;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-weight: 600;
  z-index: 3;
}

.contagio-flow-link:hover {
  color: #007038;
  text-decoration: underline;
}

.contagio-flow-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}

.contagio-card-front .contagio-flow-icon img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  filter: brightness(0);
  opacity: 0.85;
}

.contagio-flow-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #20244c;
  margin: 0;
  text-align: center;
  line-height: 1.35;
  max-width: 100%;
}

/* Flechas entre tarjetas (móvil): fondo azul, flecha verde en el SVG */
.contagio-arrow {
  background-color: #20244C;
  width: 100%;
}

/* Contagio y reinfecciones - versión PC (3 tarjetas en fila, más cuadradas) */
@media (min-width: 992px) {
  .section-contagio .section-contagio-label,
  .section-contagio .section-contagio-title,
  .section-contagio .section-contagio-intro {
    text-align: left;
  }

  .section-contagio .section-contagio-title {
    font-size: 2.5rem;
    color: #fff;
  }

  .section-contagio .section-contagio-intro {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
  }

  .contagio-flow {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
  }

  .contagio-flow .contagio-arrow {
    display: none;
  }

  .contagio-flow .contagio-flow-item:nth-child(1) { grid-column: 1; grid-row: 1; }
  .contagio-flow .contagio-flow-item:nth-child(3) { grid-column: 2; grid-row: 1; }
  .contagio-flow .contagio-flow-item:nth-child(5) { grid-column: 3; grid-row: 1; }

  .contagio-flow-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .contagio-flow-item .contagio-flow-card {
    flex: 1;
    width: 100%;
    min-height: 0;
  }

  .contagio-flow-badge-outside {
    flex-shrink: 0;
    width: 82px;
    height: 82px;
    font-size: 1.75rem;
    margin-bottom: 24px;
  }

  .contagio-flow-card.contagio-card-flip {
    perspective: 1000px;
    cursor: pointer;
  }

  /* El hover va en el contenedor fijo; la rotación en el hijo evita perder :hover al moverse en 3D */
  .contagio-flow-card.contagio-card-flip .contagio-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
  }

  .contagio-flow-card.contagio-card-flip:hover .contagio-flip-inner {
    transform: rotateY(180deg);
  }

  .contagio-flow-card .contagio-card-front,
  .contagio-flow-card .contagio-card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(27, 73, 39, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-height: 168px;
  }

  .contagio-flow-card .contagio-card-front {
    align-items: center;
    text-align: center;
    padding: 24px 10px;
    background-color: #fff;
    border: none;
  }

  .contagio-flow-card .contagio-card-back {
    display: flex;
    align-items: flex-start;
    text-align: left;
    padding: 24px 16px;
    background-color: #e6f4ec;
    border: none;
    border-bottom: 1px solid #009145;
    transform: rotateY(180deg);
    overflow-y: auto;
  }

  .contagio-flow-card .contagio-card-back-text {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
    color: black;
  }

  .contagio-flow-card .contagio-card-back-text strong {
    color: black;
  }

  .section-contagio .contagio-flow-card .contagio-card-back-text sup {
    color: rgba(27, 73, 39, 0.85);
  }

  .contagio-flow-card {
    position: relative;
    width: 100%;
    min-height: 168px;
    height: 200px;
    padding: 0;
    display: block;
    border-radius: 8px;
  }

  .contagio-flow-card .contagio-flow-icon {
    margin: 0;
    justify-content: center;
  }

  .contagio-flow-card .contagio-card-front .contagio-flow-icon img {
    width: 64px;
    height: 64px;
    filter: brightness(0);
    opacity: 0.85;
  }

  .contagio-flow-card .contagio-flow-title {
    font-size: 1.4rem;
    text-align: center;
    font-weight: 700;
    color: #20244c;
    max-width: 100%;
  }

  .contagio-flow-link {
    display: none;
  }
}

/* ========== Entender cómo circula ========== */
.section-entender-circula {
  background-color: #20244C;
}

.section-entender-foto {
  position: relative;
  width: 100%;
  height: auto;
  min-height: auto;
  overflow: hidden;
}

.section-entender-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.section-entender-texto {
  background-color: #20244C;
  color: #fff;
  padding: 2rem 1.5rem;
}

.section-entender-frase {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
}

.entender-highlight {
  color: #D3FA57;
}

/* Mobile: mostrar el mismo recuadro sin romper el layout */
.section-entender-overlay {
  position: absolute;
  top: 62%;
  bottom: auto;
  left: 50%;
  right: auto;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(50, 52, 72, 1);
  color: #fff;
  padding: 1rem 0.95rem;
  border-radius: 0;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  width: 78%;
  max-width: 78%;
  z-index: 2;
  opacity: 1;
  visibility: visible;
  pointer-events: none;
}

.section-entender-overlay .entender-overlay-vsr {
  color: #D3FA57;
  font-weight: 700;
}

@media (max-width: 991px) {
  .section-entender-overlay {
    transition: opacity 220ms ease, transform 220ms ease;
    will-change: opacity, transform;
  }

  body.mobile-overlay-scroll .section-entender-overlay.overlay-scroll-hidden {
    opacity: 0;
    transform: translate(-50%, -42%) scale(0.98);
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-entender-overlay {
    transition: none !important;
  }
}

/* En desktop, mantener comportamiento hover actual */
@media (min-width: 992px) {
  .section-entender-foto {
    cursor: default;
  }

  .section-entender-overlay {
    left: 50%;
    right: auto;
    bottom: auto;
    top: 80%;
    transform: translate(-50%, -50%);
    background-color: rgba(50, 52, 72, 1);
    padding: 2.25rem 2rem;
    border-radius: 0px;
    font-size: 2.25rem;
    font-weight: 400;
    line-height: 1.4;
    width: auto;
    max-width: 90%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
  }

  .section-entender-foto:hover .section-entender-overlay,
  .section-entender-foto:focus-within .section-entender-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .section-entender-frase{
    font-size: 3rem;
  }
  .section-entender-texto{
    padding: 5rem 0rem;
  }
}

/* ========== Prevención del VSR ========== */
.section-prevencion {
  background-color: #fff;
  color: #212529;
  padding: 2rem 0rem;
}

.prevencion-label {
  font-size: 1rem;
  font-weight: 500;
 
  letter-spacing: 0.08em;
  color: #009145;
  margin: 0 0 0.5rem 0;
}

.prevencion-title {
  font-size: 2.1rem;
  font-weight: 400;
  color: #0D0A0B;
  margin: 0;
}

.prevencion-intro {
  font-size: 1rem;
  color: black ;
  line-height: 1.5;
  margin: 0;
}

.btn-prevencion-vacuno {
  padding: 0.75rem 1.5rem;
}

.prevencion-habitos-intro {
  font-size: 1rem;
  font-weight: 400;
  color: black;
  line-height: 1.5;
  margin: 0;
  text-align: center;
}

.prevencion-habitos-block {
  background-color: #FFFFFF;
  border-radius: 8px;
  border-bottom: 1px solid #009145;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.15);
  padding: 16px;
}

.prevencion-habitos-block .row {
  --bs-gutter-x: 8px;
  --bs-gutter-y: 16px;
}

.prevencion-habito-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prevencion-habito-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.prevencion-habito-text {
  font-size: 1rem;
  font-weight: 700;
  color: #5d5b5c;
  line-height: 1.35;
  margin: 0;
}

.prevencion-separator {
  border-color: #dee2e6;
  opacity: 1;
}

.prevencion-preguntas-title {
  font-size: 1.8rem;
  font-weight: 400;
  color: #212529;
  margin: 0;
  text-align: left;
}

/* Preguntas consulta: intro + acordeones */
.prevencion-preguntas-intro {
  font-size: 1rem;
  color: #5D5B5C;
  line-height: 1.5;
  margin: 0;
}

/* Próxima consulta: mismo encabezado y acordeón que la sección FAQ */
.prevencion-consulta-proxima-bloque .faq-title,
.prevencion-consulta-proxima-bloque .faq-intro {
  text-align: start;
}

.prevencion-preguntas-aviso {
  min-height: 1.5em;
}

.prevencion-card {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
}

.prevencion-card-title {
  font-size: 1.2rem;
  font-weight: 500;
  color: black;
  margin: 0;
}

.prevencion-list {
  font-size: 0.9rem;
  color: #5D5B5C;
  line-height: 1.5;
  padding-left: 1.25rem;
  margin: 0;
}

.prevencion-list li {
  margin-bottom: 0.35rem;
}

.prevencion-list li:last-child {
  margin-bottom: 0;
}

/* Acordeón de preguntas en Prevención */
.accordion-prevencion .accordion-item {
  border-bottom: 1px solid #e9ecef;
}

.accordion-prevencion .accordion-item:last-child {
  border-bottom: 0;
}

.prevencion-accordion-btn {
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  color: #212529 !important;
  background-color: transparent !important;
  padding: 0.6rem 0 !important;
  box-shadow: none !important;
  padding-left: 0 !important;
}

.prevencion-accordion-btn::before {
  content: "+";
  font-size: 1.1rem;
  font-weight: 700;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.prevencion-accordion-btn:not(.collapsed)::before {
  content: "−";
  font-size: 1.25rem;
  font-weight: 700;
}

.prevencion-accordion-btn:not(.collapsed) {
  background-color: transparent !important;
  color: #2c3e50 !important;
}

.prevencion-accordion-btn::after {
  display: none;
}

.prevencion-accordion-body {
  font-size: 0.9rem;
  color: #5D5B5C;
  line-height: 1.5;
  padding-top: 0;
  padding-bottom: 0.75rem;
}

.prevencion-link {
  color: #009145;
  font-weight: 600;
  text-decoration: none;
}

.prevencion-link:hover {
  color: #007a38;
  text-decoration: underline;
}

/* Contenedor: botones Compartir y Descargar uno al lado del otro */
.prevencion-consulta-btns {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
}

/* Botones Compartir / Descargar preguntas (estilo captura: fondo verde claro, texto verde) */
.btn-prevencion-consulta {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.25rem;
  background-color: #E0FFEE;
  color: #009145;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid rgba(0, 145, 69, 0.2);
  transition: background-color 0.2s, color 0.2s;
  font-size: 13px;
  cursor: pointer;
}

.btn-prevencion-consulta:hover {
  background-color: #c8f5dc;
  color: #007a38;
  text-decoration: none;
}

/* Prevención del VSR - versión PC */
@media (min-width: 992px) {
  .section-prevencion {
    padding-top: 100px;
    padding-bottom: 200px;
  }
  .section-prevencion .prevencion-label,
  .section-prevencion .prevencion-title,
  .section-prevencion .prevencion-intro,
  .section-prevencion .prevencion-habitos-intro,
  .section-prevencion .prevencion-preguntas-title {
    text-align: center;
  }
  .prevencion-habitos-intro {
    font-size: 1.5rem;
    color:black ;
    text-align: center;
  }
  .prevencion-preguntas-title{
    text-align: left !important;
  }

  .prevencion-consulta-btns {
    gap: 50px !important;
    justify-content: center;
    margin-top: 50px !important;
  }

  .btn-prevencion-consulta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 298px;
    height: 56px;
    padding: 16px 32px;
    border-radius: 99px;
    background: #E6F4EC;
    color: #009145;
    border: 1px solid rgba(0, 145, 69, 0.14);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
  }

  .btn-prevencion-consulta:hover {
    background: #d8efe2;
    color: #007a38;
    border-color: rgba(0, 145, 69, 0.2);
  }

  .prevencion-title{
    font-size: 3rem;
  }
  .prevencion-intro{
    font-size: 1.5rem;
  }

  .section-prevencion .prevencion-btn-wrap {
    display: flex;
    justify-content: center;
  }

  .section-prevencion .prevencion-btn-wrap .btn {
    width: auto;
    min-width: 200px;
    max-width: 280px;
  }

  .section-prevencion .prevencion-habitos-block {
    padding: 0;
    background-color: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .section-prevencion .prevencion-habitos-block .row {
    --bs-gutter-x: 30px;
    --bs-gutter-y: 30px;
  }

  /* Cada hábito como card individual (estilo tipo Primer contacto / Contagio) */
  .section-prevencion .prevencion-habitos-block .col-lg-4 {
    display: flex;
  }

  .section-prevencion .prevencion-habitos-block .prevencion-habito {
    width: 100%;
    background-color: #fff;
    border-radius: 8px;
    
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.15);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .section-prevencion .prevencion-habitos-block .prevencion-habito-icon {
    margin-bottom: 1rem;
  }

  .section-prevencion .prevencion-habitos-block .prevencion-habito-icon img {
    width: 56px;
    height: 56px;
  }
  .section-prevencion .prevencion-habito-text {
    font-size: 1.25rem;
    color: #5d5b5c;
  }
  
}

/* ========== ¿Dónde me vacuno? (diseño: fondo púrpura, barra verde/blanco) ========== */
.section-donde-vacuno {
  background-color: #20244C;
  color: #fff;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.donde-vacuno-label {
  font-size: 0.75rem;
  font-weight: 400;
  
  letter-spacing: 0.08em;
  color: #B8E986; /* verde lima como en el diseño */
  margin: 0 0 0.5rem 0;
}

.donde-vacuno-title {
  font-size: 2.1rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.25;
  margin: 0;
}

.donde-vacuno-intro {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  margin: 0;
}

/* Barra de progreso: primer tramo verde, resto blanco */
.donde-vacuno-progress {
  height: 6px;
  background-color: #fff;
  border-radius: 3px;
  overflow: hidden;
}

.donde-vacuno-progress-bar {
  height: 100%;
  background-color: #2ECC71;
  border-radius: 3px;
  transition: width 0.3s ease;
}

.donde-vacuno-paso {
  font-size: 1rem;
  color: #fff;
  margin: 0;
}

/* ¿Dónde me vacuno? - tamaños de texto y padding en PC */
@media (min-width: 992px) {
  .section-donde-vacuno {
    padding-top: 100px;
    padding-bottom: 100px;
  }
  .section-donde-vacuno .donde-vacuno-label {
    font-size: 1rem;
  }
  .section-donde-vacuno .donde-vacuno-title {
    font-size: 3rem;
    font-weight: 400;
  }
  .section-donde-vacuno .donde-vacuno-intro {
    font-size: 1.5rem;
  }
  .section-donde-vacuno .donde-vacuno-paso {
    font-size: 1.2rem;
  }
}

.donde-vacuno-select-wrapper {
  width: 100%;
}

.donde-vacuno-select {
  width: 100%;
  padding: 12px 36px 12px 16px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  background-color: #fff;
  color: #212529;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.donde-vacuno-select option:first-child {
  color: #6c757d;
}

.donde-vacuno-select:focus {
  border-bottom-color: #009145;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.15);
  outline: none;
}

/* Filtros 4 pasos (mapa) - paso a paso como en las capturas */
.donde-vacuno-filtros {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.donde-vacuno-grupo-filtro {
  transition: opacity 0.25s ease;
}

.donde-vacuno-grupo-filtro label.donde-vacuno-paso {
  display: block;
  margin-bottom: 0.35rem;
}

/* Pasos 2, 3 y 4 ocultos hasta completar el anterior (mobile y PC: igual, se abren a medida que elegís) */
.donde-vacuno-grupo-filtro.donde-vacuno-paso-oculto {
  display: none;
}

.donde-vacuno-select:disabled {
  opacity: 0.85;
  cursor: not-allowed;
  background-color: #f0f0f0;
}

.donde-vacuno-contenedor {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 1.5rem;
}

.donde-vacuno-panel-resultados {
  background-color: #20244C;
  padding: 1rem;
}

.donde-vacuno-resultados-titulo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem 0;
}

.donde-vacuno-lista-resultados {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: visible;
}

.donde-vacuno-panel-mapa {
  min-height: 350px;
  background: #e9ecef;
}

.donde-vacuno-mapa {
  width: 100%;
  height: 100%;
  min-height: 350px;
}

/* Móvil: mapa oculto por defecto, se muestra con "Mostrar mapa"; sin recortar cards ni botón verde */
@media (max-width: 991px) {
  .donde-vacuno-panel-mapa {
    display: none;
    min-height: 400px;
  }
  .donde-vacuno-panel-mapa.donde-vacuno-mapa-visible {
    display: block;
  }
  .donde-vacuno-lista-resultados {
    max-height: none;
  }
  .section-donde-vacuno .donde-vacuno-contenedor {
    margin-bottom: 0;
  }
}

@media (min-width: 992px) {
  /* Misma disposición que mobile: filtros en una columna, paso a paso; mismo ancho que el resto del sitio */
  .donde-vacuno-filtros {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  /* En PC igual que mobile: primero resultados, abajo el mapa (se abre con Mostrar mapa) */
  .donde-vacuno-contenedor {
    grid-template-columns: 1fr;
    margin-top: 2rem;
  }
  .donde-vacuno-panel-resultados {
    padding: 1rem 0rem;
  }
  .donde-vacuno-lista-resultados {
    max-height: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .donde-vacuno-panel-mapa {
    min-height: 400px;
    display: none;
  }
  .donde-vacuno-panel-mapa.donde-vacuno-mapa-visible {
    display: block;
  }
  .donde-vacuno-mapa {
    min-height: 400px;
  }
}

/* PC monitores más grandes: 3 columnas de cards */
@media (min-width: 1200px) {
  .donde-vacuno-lista-resultados {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Cards de resultados (generadas por vacunatorios-map.js) */
.section-donde-vacuno .loading,
.section-donde-vacuno .sin-resultados {
  text-align: center;
  padding: 1.5rem 1rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin: 0.5rem 0;
  display: none;
}

.section-donde-vacuno .sin-resultados h4 {
  color: #D3FA57;
  font-size: 1rem;
  margin: 0 0 0.5rem 0;
}

.section-donde-vacuno .sin-resultados p {
  margin: 0;
  font-size: 0.9rem;
}

.section-donde-vacuno .resultados-counter {
  margin-bottom: 0.75rem;
}

@media (min-width: 992px) {
  .section-donde-vacuno .donde-vacuno-lista-resultados .resultados-counter,
  .section-donde-vacuno .donde-vacuno-lista-resultados .more-results {
    grid-column: 1 / -1;
  }
}

.section-donde-vacuno .counter-content {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  background: rgba(0, 145, 69, 0.2);
  border-radius: 8px;
  color: #fff;
  font-size: 0.95rem;
}

.section-donde-vacuno .counter-number {
  font-weight: 700;
  color: #D3FA57;
}

/* Card de resultado: diseño limpio (título, categoría, dirección, teléfono, web, Ver en el mapa) */
.section-donde-vacuno .card-vacunatorio {
  background: #fff;
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.section-donde-vacuno .card-vacunatorio:hover,
.section-donde-vacuno .card-vacunatorio.selected {
  border-color: #009145;
  box-shadow: 0 2px 12px rgba(0, 145, 69, 0.15);
}

.section-donde-vacuno .card-vacunatorio .card-vacunatorio-body {
  padding: 1.25rem 1rem;
}

.section-donde-vacuno .card-vacunatorio .card-titulo {
  font-size: 1.15rem;
  font-weight: 700;
  color: #212529;
  margin: 0 0 0.35rem 0;
  line-height: 1.3;
}

.section-donde-vacuno .card-vacunatorio .card-tipo {
  font-size: 0.875rem;
  color: #6c757d;
  display: block;
  margin-bottom: 1rem;
}

.section-donde-vacuno .card-vacunatorio .info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #212529;
  margin-bottom: 0.6rem;
}

.section-donde-vacuno .card-vacunatorio .info-item:last-child {
  margin-bottom: 0;
}

.section-donde-vacuno .card-vacunatorio .info-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.section-donde-vacuno .card-vacunatorio .info-icon-pin {
  color: #6c757d;
}

.section-donde-vacuno .card-vacunatorio .info-icon-phone {
  color: #6c757d;
}

.section-donde-vacuno .card-vacunatorio .info-icon-globe {
  color: #0d6efd;
}

.section-donde-vacuno .card-vacunatorio .info-icon-pin-red {
  color: #dc3545;
}

.section-donde-vacuno .card-vacunatorio .info-text {
  font-weight: 400;
}

.section-donde-vacuno .card-vacunatorio .card-link-ver-mapa {
  cursor: pointer;
}

.section-donde-vacuno .card-vacunatorio .card-link-ver-mapa .info-text {
  color: #212529;
}

.section-donde-vacuno .more-results p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.btn-donde-vacuno-mapa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.5rem;
}

.btn-donde-vacuno-mapa:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* Disclaimer debajo del mapa: texto tipo aviso legal, chico en celu y PC */
.donde-vacuno-disclaimer {
  font-size: 0.7rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.7) !important;
  max-width: 100%;
  margin: 0;
}

.donde-vacuno-disclaimer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}

@media (min-width: 992px) {
  .donde-vacuno-disclaimer {
    font-size: 0.75rem;
    
  }
}

/* ========== Ponete a prueba (test VSR) ========== */
.section-ponete-prueba {
  background-color: #fff;
  color: #212529;
  padding-top: 72px;
  padding-bottom: 72px;
  margin: 0;
}

.section-ponete-prueba .ponete-prueba-label,
.section-ponete-prueba .ponete-prueba-title,
.section-ponete-prueba .ponete-prueba-intro {
  text-align: center;
}

.ponete-prueba-label {
  font-size: 1rem;
  font-weight: 400;
  
  letter-spacing: 0.08em;
  color: var(--vsr-green);
  margin: 0 0 0.5rem 0;
}

.ponete-prueba-title {
  font-size: 2rem;
  font-weight: 500;
  color: black;
  margin: 0;
}

.ponete-prueba-intro {
  font-size: 1.1rem;
  color: #212529;
  line-height: 1.5;
  margin: 0;
  font-weight: 400;
}

.ponete-prueba-card-wrap {
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

.ponete-prueba-card {
  width: 100%;
  max-width: 720px;
  background-color: #f2f2f2;
  border-radius: 0.5rem;
  padding: 1.75rem 1.5rem 1.625rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

.ponete-prueba-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background-color: #009145;
}

.ponete-prueba-card > * {
  margin-bottom: 0;
}

.ponete-prueba-step-body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  flex: 1;
  min-height: 0;
}

.ponete-prueba-progress {
  height: 4px;
  background-color: #e5e5e5;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
}

.ponete-prueba-progress-bar {
  height: 100%;
  background-color: #009145;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.ponete-prueba-contador {
  font-size: 0.875rem;
  color: #6c757d;
  margin: 0;
  text-align: left;
}

.ponete-prueba-pregunta {
  font-size: 1.25rem;
  font-weight: 700;
  color: #000;
  line-height: 1.35;
  margin: 0;
  text-align: left;
}

.ponete-prueba-vf {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 20rem;
  margin: 0.25rem auto 0;
}

.ponete-prueba-vf.hidden {
  display: none !important;
}

.ponete-prueba-feedback.hidden {
  display: none !important;
}

.btn-ponete-si-no {
  flex: 1 1 0;
  min-width: 0;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 0.5rem;
  transition: background-color 0.2s, color 0.2s, opacity 0.2s;
}

.btn-ponete-no {
  color: #20244c;
  background-color: #e4e4e4;
}

.btn-ponete-no:hover:not(:disabled) {
  background-color: #d8d8d8;
  color: #20244c;
}

.btn-ponete-si {
  color: #0d5c2f;
  background-color: #d4edda;
}

.btn-ponete-si:hover:not(:disabled) {
  background-color: #c3e6cb;
  color: #0a4a26;
}

.btn-ponete-si-no:disabled {
  opacity: 0.65;
  cursor: default;
}

.ponete-prueba-feedback {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  margin-top: 0.25rem;
}

.ponete-prueba-feedback-main {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
}

.ponete-prueba-feedback-icon {
  flex-shrink: 0;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
  margin-top: 0.1rem;
  padding: 10px;
}

.ponete-prueba-feedback-icon--ok {
  border: 1px solid #009145;
  color: #009145;
}

.ponete-prueba-feedback-icon--wrong {
  
  color: #B3261E;
  border: 1px solid #B3261E;
}

.ponete-prueba-feedback-text {
  font-size: 1rem;
  font-weight: 400;
  color: #212529;
  line-height: 1.5;
  flex: 1;
  min-width: 0;
}

.ponete-prueba-feedback-text sup {
  font-size: 0.65em;
  font-weight: 600;
}

.ponete-prueba-link-siguiente {
  display: inline-block;
  padding: 0;
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #20244c;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

.ponete-prueba-link-siguiente:hover {
  color: #161a3a;
  text-decoration: underline;
}

/* Pasos del quiz: solo uno visible */
.ponete-prueba-step.hidden {
  display: none !important;
}

.ponete-prueba-step-inner {
  min-height: 120px;
}

/* Pantalla final del quiz (misma tarjeta gris; tipografía y CTA según diseño) */
.ponete-prueba-complete-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  min-height: 221px;
  box-sizing: border-box;
}

.ponete-prueba-complete-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #000;
  line-height: 1.25;
  margin: 0;
  max-width: 100%;
}

.ponete-prueba-complete-text {
  font-size: 1.25rem; /* 20px @ 16px */
  font-weight: 400;
  color: #5d5b5c;
  line-height: 1.5;
  margin: 0;
  max-width: 32rem;
}

.btn-ponete-reintentar {
  margin-top: 0.5rem;
  padding: 0.85rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #009145;
  background-color: #e6f4ec;
  border: none;
  border-radius: 9999px;
  transition: background-color 0.2s, color 0.2s;
}

.btn-ponete-reintentar:hover {
  background-color: #d4ebe0;
  color: #007038;
}

.ponete-prueba-step-text {
  font-size: 1rem;
  color: #495057;
  line-height: 1.5;
  margin: 0;
}

.btn-ponete-comenzar {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background-color: #009145;
  border: none;
  border-radius: 8px;
  transition: background-color 0.2s, transform 0.15s;
}

.btn-ponete-comenzar:hover {
  background-color: #007a38;
  color: #fff;
}

.ponete-prueba-opciones {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ponete-prueba-opciones-multi {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.btn-ponete-opcion {
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #20244C;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  text-align: left;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.btn-ponete-opcion:hover,
.btn-ponete-opcion:focus {
  border-color: #009145;
  background-color: rgba(0, 145, 69, 0.08);
  color: #20244C;
}

.btn-ponete-opcion.selected {
  border-color: #009145;
  background-color: rgba(0, 145, 69, 0.12);
  color: #009145;
}

.btn-ponete-opcion-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #20244C;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  cursor: pointer;
  margin: 0;
  transition: border-color 0.2s, background-color 0.2s;
}

.btn-ponete-opcion-check input {
  margin: 0;
  accent-color: #009145;
}

.btn-ponete-opcion-check:has(input:checked) {
  border-color: #009145;
  background-color: rgba(0, 145, 69, 0.12);
}

.btn-ponete-siguiente {
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background-color: #009145;
  border: none;
  border-radius: 8px;
  transition: background-color 0.2s;
}

.btn-ponete-siguiente:hover:not(:disabled) {
  background-color: #007a38;
}

.btn-ponete-siguiente:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ponete-prueba-subtitulo {
  color: #6c757d !important;
}

/* Resultados */
.ponete-prueba-resultado .ponete-prueba-pregunta {
  font-size: 1.15rem;
}

.ponete-prueba-resultado-badge {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.riesgo-bajo { color: #198754; }
.riesgo-moderado { color: #fd7e14; }
.riesgo-aumentado { color: #dc3545; }

.btn-ponete-compartir {
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background-color: #009145;
  border: none;
  border-radius: 8px;
  transition: background-color 0.2s;
}

.btn-ponete-compartir:hover {
  background-color: #007a38;
  color: #fff;
}

/* ========== Preguntas frecuentes (FAQ) ========== */
.section-faq {
  background-color: #fff;
  color: #212529;
}

.faq-label,
.faq-main-label {
  font-size: 1rem;
  font-weight: 400;
  
  letter-spacing: 0.08em;
  color: var(--vsr-green);
  margin: 0 0 0.5rem 0;
}

.evaluar-riesgo-label,
.reconocer-label,
.section-video-label,
.section-contagio-label,
.prevencion-label,
.donde-vacuno-label,
.ponete-prueba-label,
.faq-label,
.faq-main-label,
.que-es-label {
  font-size: 1rem;
  font-weight: 600;
}

.que-es-label {
  color: #009145;
}

.faq-title,
.faq-main-title {
  font-size: 2.1rem;
  font-weight: 400;
  color: black;
  margin: 40px 0 40px 0;
  text-align: left;
}

.faq-main-title {
  margin: 0;
}

.faq-intro,
.faq-main-intro {
  font-size: 1.3rem;
  color: #495057;
  line-height: 1.5;
  margin: 0;
}

.faq-main-intro {
  font-size: 1rem;
  color: #000;
  margin-top: 24px !important;
  margin-bottom: 40px !important;
}

.faq-opcion-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: #20244C;
  margin: 0;
}

.accordion-faq .accordion-item,
.accordion-faq-main .accordion-item {
  background-color: #fff;
  border: none;
  border-bottom: 1px solid #009145;
  border-radius: 8px;
  margin-bottom: 32px;
  overflow: hidden;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.15);
}

.accordion-faq .accordion-item:last-child,
.accordion-faq-main .accordion-item:last-child {
  margin-bottom: 0;
}

.accordion-faq .accordion-button,
.accordion-faq-main .accordion-button {
  background-color: #fff !important;
  color: #20244C !important;
  border: none;
  font-weight: 500;
  padding: 16px 1.25rem;
  box-shadow: none !important;
}

/* Títulos de categoría FAQ (padres: VSR, VSR y enfermedades..., Prevención...) */
.accordion-faq .faq-category-btn,
.accordion-faq-main .faq-main-category-btn {
  font-size: 1.3rem;
  color: #20244C !important;
}

@media (max-width: 991.98px) {
  .accordion-faq-main .accordion-header .accordion-button.faq-main-category-btn {
    font-size: 1rem;
  }

  .accordion-faq-main-inner .accordion-button {
    font-size: 1rem;
    line-height: 1.35;
  }
}

.accordion-faq .accordion-button::after,
.accordion-faq-main .accordion-button::after {
  filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(86deg) brightness(98%) contrast(92%);
}

.accordion-faq .accordion-button:not(.collapsed),
.accordion-faq-main .accordion-button:not(.collapsed) {
  background-color: #fff !important;
  color: #20244C !important;
  box-shadow: none !important;
}

.accordion-faq .accordion-button:hover,
.accordion-faq-main .accordion-button:hover {
  background-color: #f8f9fa !important;
}

.accordion-faq .accordion-body,
.accordion-faq-main .accordion-body {
  background-color: #fff;
  color: #495057;
  padding: 16px 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* FAQ interno: preguntas dentro de cada categoría (cada una en su propia caja con sombra) */


.accordion-faq-inner .accordion-item,
.accordion-faq-main-inner .accordion-item {
  background-color: #FAFAFA;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.15);
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion-faq-inner .accordion-item:last-child,
.accordion-faq-main-inner .accordion-item:last-child {
  margin-bottom: 0;
}

/* Preguntas hijas de cada categoría FAQ */
.accordion-faq-inner .accordion-button,
.accordion-faq-main-inner .accordion-button {
  background-color: #FAFAFA !important;
  color: #3D3B3C !important;
  font-size: 1.5rem; /* 24px */
  font-weight: 400;
  padding: 16px;
}

.accordion-faq-inner .accordion-button::after,
.accordion-faq-main-inner .accordion-button::after {
  filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(86deg) brightness(98%) contrast(92%);
}

/* FAQ principal + Próxima consulta: flechas assets/flecha-faq-*.svg (no chevron Bootstrap) */
#accordionFaq.accordion-faq-main .accordion-button::after,
#accordionConsultaProxima.accordion-faq .accordion-button::after {
  filter: none;
  background-image: url("../assets/flecha-faq-abierta.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 8px;
  width: 1.25rem;
  height: 0.625rem;
  transform: none !important;
  transition: opacity 0.2s ease;
}

#accordionFaq.accordion-faq-main .accordion-button.collapsed::after,
#accordionConsultaProxima.accordion-faq .accordion-button.collapsed::after {
  background-image: url("../assets/flecha-faq-cerrada.svg");
}

.accordion-faq-inner .accordion-button:not(.collapsed),
.accordion-faq-main-inner .accordion-button:not(.collapsed) {
  
  color: #3D3B3C !important;
}

.accordion-faq-inner .accordion-button:not(.collapsed):hover,
.accordion-faq-main-inner .accordion-button:not(.collapsed):hover {
 
  color: #3D3B3C !important;
}

/* Ítem interno abierto: toda la caja (pregunta + respuesta) en verde menta, alineado a botones secundarios */
.accordion-faq-inner .accordion-item:has(.accordion-collapse.show),
.accordion-faq-main-inner .accordion-item:has(.accordion-collapse.show) {
 
}

/* Texto de respuestas en todos los tabs de FAQ */
.accordion-faq .accordion-body,
.accordion-faq-main .accordion-body,
.accordion-faq-inner .accordion-body,
.accordion-faq-main-inner .accordion-body {
  font-size: 0.8rem;
  line-height: 1.5;
  color: black;
}

.accordion-faq-inner .accordion-body,
.accordion-faq-main-inner .accordion-body {
  padding: 0 16px 16px;
  border-top: none;
  background-color: #FAFAFA;
}

.accordion-faq-inner .accordion-collapse.show .accordion-body,
.accordion-faq-main-inner .accordion-collapse.show .accordion-body {
  
}

.faq-prevencion-lista {
  padding-left: 1.25rem;
  margin-bottom: 0;
}

/* Lista con numeración explícita en el texto (FAQ Prevención) */
.faq-prevencion-lista--enumerada {
  list-style: none;
  padding-left: 0;
}

.faq-prevencion-lista li {
  margin-bottom: 0.5rem;
}

.faq-prevencion-lista li:last-child {
  margin-bottom: 0;
}

/* ========== Referencias ========== */
.section-referencias {
  background-color: #f5f5f5;
  color: #212529;
}

.referencias-card {
  background-color: transparent;
  padding: 16px 1.25rem;
  border-radius: 8px;
  box-shadow: none;
  border: 0;
}

@media (min-width: 992px) {
  .referencias-card {
    padding: 0;
  }
}

.referencias-title {
  font-size: 2rem;
  font-weight: 400;
  color: #20244C;
  margin: 0;
}

.referencias-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: transparent;
  border: 0;
  padding: 0 0 0.6rem 0;
  text-align: left;
  border-bottom: 1px solid #d9d9d9;
  margin-bottom: 0.9rem;
  cursor: pointer;
}

.referencias-toggle .referencias-title {
  font-size: 1rem;
  font-weight: 500;
  color: #20244C;
}

.referencias-toggle-icon {
  color: #6b6b6b;
  font-size: 2.1rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

@media (max-width: 991px) {
  .referencias-toggle-icon {
    font-size: 1.7rem;
  }
}

.referencias-card.is-collapsed .referencias-toggle-icon {
  transform: rotate(-90deg);
}

.referencias-list {
  margin: 0;
  padding-left: 1.5rem;
  list-style: decimal;
  max-height: 2800px;
  opacity: 1;
  overflow: hidden;
  transition: max-height 320ms ease, opacity 220ms ease;
}

.referencias-card.is-collapsed .referencias-list {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}

.referencias-item {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #5D5B5C;
  margin-bottom: 1rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

.referencias-item sup {
  display: none;
}

.referencias-item:last-child {
  margin-bottom: 0;
}

.referencias-item a {
  color: #009145;
  text-decoration: underline;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

.referencias-item a:hover {
  color: #007a38;
}

/* ========== Secciones alternas ========== */
.section-light {
  background-color: #fff;
  color: #212529;
}

.section-dark {
  background-color: var(--vsr-bg-dark);
  color: #fff;
}

.section-divider {
  width: 60px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  opacity: 1;
}

/* ========== Features (iconos verdes) ========== */
.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(46, 204, 113, 0.15);
  color: var(--vsr-green);
  border-radius: 12px;
  font-size: 1.5rem;
}

/* ========== Pasos / proceso ========== */
.step-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(46, 204, 113, 0.15);
  color: var(--vsr-green);
  border-radius: 12px;
  font-size: 1.25rem;
}

/* ========== Video placeholder ========== */
.video-placeholder {
  max-width: 560px;
}

.video-placeholder .rounded {
  min-height: 200px;
}

/* ========== FAQ: filtros ========== */
.btn-filter {
  background-color: #e9ecef;
  color: #495057;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-weight: 500;
  font-size: 0.9rem;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.btn-filter:hover {
  background-color: #dee2e6;
  color: #212529;
  border-color: #ced4da;
}

.btn-filter.active {
  background-color: var(--vsr-green);
  border-color: var(--vsr-green);
  color: #fff;
}

.btn-filter.active:hover {
  background-color: var(--vsr-green-hover);
  border-color: var(--vsr-green-hover);
  color: #fff;
}

/* ========== FAQ: secciones y acordeón (en sección clara) ========== */
.faq-section {
  transition: opacity 0.25s ease;
}

.faq-section.hidden {
  display: none !important;
}

.accordion-vsr .accordion-item {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.accordion-vsr .accordion-item:last-child {
  margin-bottom: 0;
}

.accordion-vsr .accordion-button {
  background-color: #f8f9fa !important;
  color: #212529 !important;
  border: none;
  font-weight: 500;
  padding: 1rem 1.25rem;
  box-shadow: none !important;
}

.accordion-vsr .accordion-button::after {
  filter: none;
  opacity: 0.7;
}

.accordion-vsr .accordion-button:not(.collapsed) {
  background-color: #e9ecef !important;
  color: #212529 !important;
}

.accordion-vsr .accordion-button:hover {
  background-color: #e9ecef !important;
  color: #212529 !important;
}

.accordion-vsr .accordion-body {
  background-color: #fff;
  color: #495057;
  padding: 1rem 1.25rem;
  border-top: 1px solid #e9ecef;
}

/* ========== Footer GSK ========== */
.site-footer {
  background-color: #f3f3f3;
  padding: 1.5rem 0 1.25rem;
  margin-top: 0;
}

.site-footer-inner {
  max-width: 100%;
}

.site-footer-legal {
  text-align: left;
  margin-bottom: 1.25rem;
}

.site-footer-line {
  font-size: 0.6875rem;
  line-height: 1.45;
  color: #212529;
  margin-bottom: 0.35rem;
}

.site-footer-line:last-child {
  margin-bottom: 0;
}

.site-footer-line a {
  color: inherit;
  text-decoration: underline;
}

.site-footer-line a:hover {
  opacity: 0.85;
}

.site-footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.site-footer-logo {
  display: block;
  height: auto;
  max-height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem 1.25rem;
}

.site-footer-link {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6c757d;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.site-footer-link:hover {
  color: #495057;
  text-decoration: underline;
}

@media (max-width: 575.98px) {
  .site-footer-nav {
    justify-content: flex-start;
    width: 100%;
  }
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }

  .site-footer {
    padding: 2rem 0 1.75rem;
  }

  .site-footer-line {
    font-size: 1.1rem;
  }

  .site-footer-link {
    font-size: 0.8125rem;
  }
}

/* ========== Mobile / contenedor ========== */
@media (min-width: 412px) {
  .container {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }

  .hero-overlay {
    min-height: 280px;
  }

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

@media (min-width: 992px) {
  .container {
    max-width: min(100%, 1240px);
  }

  /* Tipografía PC: textos 1.3rem, títulos 2.5rem */
  body,
  p,
  .tabs-text,
  .section-reconocer .reconocer-aviso-texto,
  .faq-intro,
  .faq-main-intro,
  .referencias-item,
  .prevencion-list,
  .prevencion-qa-pregunta,
  .prevencion-qa-respuesta,
  .ponete-prueba-contador,
  .reconocer-sintoma {
    font-size: 1.1rem;
  }

  h1, h2, h3, h4,
  .tabs-title,
  .intro-title,
  .prevencion-preguntas-title,
  .donde-vacuno-title,
  .ponete-prueba-title,
  .ponete-prueba-pregunta,
  .faq-title,
  .faq-main-title,
  .referencias-title,
  .prevencion-card-title {
    font-size: 2.2rem;
  }

  .section-ponete-prueba {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
  .section-ponete-prueba .ponete-prueba-title {
    font-size: 3rem;
    font-weight: 400;
  }
  .section-ponete-prueba .ponete-prueba-intro {
    font-size: 1.3rem;
  }
  .section-ponete-prueba .ponete-prueba-pregunta {
    font-size: 1.3rem;
  }
  .section-ponete-prueba .ponete-prueba-contador {
    font-size: 1rem;
  }

  .section-ponete-prueba .ponete-prueba-complete-title {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
  }

  .section-ponete-prueba .ponete-prueba-complete-text {
    font-size: 1.25rem;
    color: #5d5b5c;
  }
  .section-faq .faq-main-title {
    font-size: 3rem;
    
  }
  .section-faq .faq-main-label {
    font-size: 1rem;
  }
  .section-faq .faq-main-intro {
    font-size: 1.5rem;
    color:black;
  }
  
  
  .prevencion-consulta-proxima-bloque{
    margin-top: 100px;
  }
 .faq-main-title{
  text-align: left;
 }

  .section-prevencion .prevencion-consulta-proxima-bloque .faq-title {
    font-size: 3rem;
    margin-bottom: 40px;
  }

  .section-prevencion .prevencion-consulta-proxima-bloque .faq-intro {
    font-size: 1.3rem;
    color: black;
  }

  #accordionConsultaProxima .faq-prevencion-lista,
  #accordionConsultaProxima .faq-prevencion-lista li {
    font-size: 1.5rem;
    line-height: 1.5;
  }

  .accordion-faq .accordion-item,
  .accordion-faq-main .accordion-item {
    margin-bottom: 32px;
  }

  .accordion-faq .faq-category-btn,
  .accordion-faq-main .faq-main-category-btn {
    font-size: 2.1rem;
  }

  .accordion-faq-main-inner .accordion-button {
    font-size: 1.5rem;
  }

  .accordion-faq-main-inner .accordion-body {
    font-size: 1rem;
    line-height: 1.5;
  }

  .section-referencias .referencias-title {
    font-size: 3rem;
    font-weight: 400;
  }
}

@media (max-width: 991.98px) {
  .accordion-faq-main-inner .accordion-button,
  .accordion-faq-inner .accordion-button {
    font-size: 1rem !important;
    line-height: 1.35;
  }
}
