:root {
      --fi-yellow-main: #ffc107;
      --fi-yellow-deep: #ffb300;
      --fi-yellow-soft: #fff8e1;
      --fi-ink: #111827;
      --fi-bg-dark: #020617;
      --fi-bg-card: #ffffff;
      --fi-border-soft: rgba(248, 180, 0, 0.65);
    }

    body.body-yellow-theme {
      /* color: var(--fi-ink); */
    }

    /* HERO */
    .hero-fiebre-amarilla {
      position: relative;
      background-color: var(--fi-bg-dark);
      color: #f9fafb;
    }

    .hero-fiebre-amarilla::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at top left, rgba(255, 193, 7, 0.38), transparent 55%),
        radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.22), transparent 55%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.88));
      mix-blend-mode: normal;
      pointer-events: none;
    }
    .hero-logo {
        max-width: 50%;
        height: auto;
      }

      @media (min-width: 768px) {
        .hero-logo {
          max-width: 100%;
        }
      }

    .hero-fiebre-amarilla .hero-glass-card {
      /* background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.50)); */
      background: linear-gradient(135deg, rgb(83 3 103 / 85%), rgba(15, 23, 42, 0.50));
      border-radius: 1.5rem;
      border: 1px solid rgba(148, 163, 184, 0.35);
      box-shadow:
        0 18px 45px rgba(15, 23, 42, 0.55),
        0 0 0 1px rgba(15, 23, 42, 0.85);
      padding: 2.5rem 2.75rem;
      backdrop-filter: blur(14px);
    }

    .hero-fiebre-amarilla .hero-pill-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      border-radius: 999px;
      padding: 0.35rem 0.8rem;
      /* font-size: 0.8rem; */
      font-weight: 600;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      background: linear-gradient(135deg, #facc15, #facc15);
      color: #111827;
      /* box-shadow: 0 8px 18px rgba(250, 204, 21, 0.45); */
    }

    .hero-fiebre-amarilla h1 span.highlight {
      background: linear-gradient(135deg, #facc15, #facc15);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .hero-fiebre-amarilla .hero-subtitle {
      max-width: 44rem;
      margin-inline: auto;
      line-height: 1.7;
      font-size: 1.05rem;
      color: #e5e7eb;
    }

    .hero-fiebre-amarilla .hero-badges-row {
      gap: 0.75rem;
      flex-wrap: wrap;
    }

    .hero-fiebre-amarilla .hero-badge-secondary {
      border-radius: 999px;
      padding: 0.4rem 1rem;
      font-size: 0.8rem;
      font-weight: 500;
      background: rgba(15, 23, 42, 0.7);
      border: 1px solid rgba(148, 163, 184, 0.45);
      color: #e5e7eb;
    }

    .hero-fiebre-amarilla .hero-scroll-indicator {
      width: 2.6rem;
      height: 2.6rem;
      border-radius: 999px;
      border: 1px solid rgba(248, 250, 252, 0.45);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: radial-gradient(circle, rgba(248, 250, 252, 0.08), transparent 60%);
      color: #fbbf24;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .hero-fiebre-amarilla .hero-scroll-indicator:hover {
      transform: translateY(3px);
      box-shadow: 0 12px 28px rgba(15, 23, 42, 0.8);
    }

    /* ENCABEZADO SECCIÓN PRINCIPAL */
    .fi-section-header {
      display: flex;
      flex-wrap: wrap;
      gap: 1.25rem;
      align-items: flex-start;
      justify-content: space-between;
    }

    .fi-section-header-icon {
      width: 3rem;
      height: 3rem;
      min-width: 3rem;
      border-radius: 999px;
      border: 2px solid #c656ff;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      /* background: radial-gradient(circle, rgba(250, 204, 21, 0.25), transparent 65%); */
      color: #c656ff;
    }


    .fi-section-header-text h2 {
      letter-spacing: 0.12em;
      text-transform: uppercase;
      font-size: 0.85rem;
      font-weight: 700;
      /* color: #6b7280; */
      margin-bottom: 0.35rem;
    }

    .fi-section-header-text h3 {
      font-size: 1.45rem;
      font-weight: 700;
      /* color: #111827; */
      margin-bottom: 0.25rem;
    }

    .fi-section-header-text p {
      margin-bottom: 0;
      font-size: 0.94rem;
      /* color: #4b5563; */
      line-height: 1.7;
    }

    .fi-section-header-alert .alert {
      border-radius: 1rem;
      border: 1px solid #d696f7;
      /* background: radial-gradient(
        circle at top left,
        #f5f3ff 0%,   
        #e9d5ff 40%,  
        #d8b4fe 100%  
      ); */
      background-color: #e9d5ff; /* fallback */
      color: #111827;  
    }

    /* TARJETAS INFORMATIVAS */
    .fi-info-card {
      border-radius: 1.1rem;
      border: 1px solid #d696f7;
      /* background: radial-gradient(
        circle at top left,
        #f5f3ff 0%,   
        #e9d5ff 40%,  
        #d8b4fe 100%  
      ); */
      background-color: #e9d5ff; /* fallback */
      color: #111827;           /* texto casi negro */
      box-shadow:
        0 14px 38px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(15, 23, 42, 0.02);
      padding: 1.5rem 1.7rem;
      height: 100%;
      display: flex;
      flex-direction: column;
      gap: 0.65rem;
      color: var(--fi-ink);
    }

    .fi-info-card-header {
      display: flex;
      align-items: center;
      gap: 0.85rem;
      margin-bottom: 0.35rem;
    }

    .fi-info-card-icon {
      width: 2.6rem;
      height: 2.6rem;
      min-width: 2.6rem;
      border-radius: 999px;
      background: #dfccff;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #550090;
      /* box-shadow: 0 0 0 1px rgba(248, 180, 0, 0.3); */
    }

    .fi-info-card-title {
      font-size: 1rem;
      font-weight: 700;
      /* color: #1f2937; */
    }

    .fi-info-card p,
    .fi-info-card ul {
      font-size: 1rem;
      line-height: 1.75;
      /* color: #4b5563; */
    }

    .fi-info-card ul {
      padding-left: 1.1rem;
      margin-bottom: 0;
    }

    /* LAYOUT CENTROS + CONTENIDO */
    .fi-centros-card,
    .fi-centros-content-card {
      border-radius: 1.1rem;
      border: 1px solid var(--fi-border-soft);
      /* background-color: var(--fi-bg-card); */
      box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.06),
        0 0 0 1px rgba(15, 23, 42, 0.02);
    }

    .fi-centros-card .card-header,
    .fi-centros-content-card .card-header {
      padding: 1.2rem 1.4rem 0.8rem;
    }

    .fi-centros-card .card-body,
    .fi-centros-content-card .card-body {
      padding: 1.2rem 1.4rem 1.3rem;
    }

    /* NAV PILLS LATERALES */
    .fi-centros-nav .nav-link {
      border-radius: 1rem;
      padding: 0.85rem 1rem;
      background: #f9fafb;
      border: 1px solid transparent;
      font-size: 1rem;
      /* color: #4b5563; */
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 0.65rem;
      transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    }

    .fi-centros-nav .nav-link span:first-child {
      flex: 1;
    }

    .fi-centros-nav .nav-link .title {
      font-weight: 600;
      color: #111827;
    }

    .fi-centros-nav .nav-link .subtitle {
      /* font-size: 0.82rem; */
      color: #6b7280;
    }

    .fi-centros-nav .nav-link i.bi-chevron-right {
      opacity: 0.6;
      margin-top: 0.15rem;
    }

    .fi-centros-nav .nav-link:hover {
      background: #fffbeb;
      border-color: rgba(250, 204, 21, 0.7);
      box-shadow: 0 10px 24px rgba(250, 204, 21, 0.16);
      transform: translateY(-1px);
    }

    .fi-centros-nav .nav-link.active {
      background: linear-gradient(135deg, #fbbf24, #fbbf24);
      border-color: transparent;
      box-shadow: 0 14px 32px rgba(245, 158, 11, 0.6);
      color: #111827;
    }

    .fi-centros-nav .nav-link.active .title,
    .fi-centros-nav .nav-link.active .subtitle {
      color: #111827;
    }

    .fi-centros-nav .nav-link.active i.bi-chevron-right {
      opacity: 1;
    }

    /* CONTENIDO CENTRO DETALLES */
    .fi-centro-text h4 {
      font-size: 1.05rem;
      font-weight: 700;
      color: #111827;
      margin-bottom: 0.4rem;
    }

    .fi-centro-text p {
      font-size: 1rem;
      /* color: #4b5563; */
      line-height: 1.8;
      margin-bottom: 0.4rem;
    }

    .fi-centro-text ul {
      font-size: 1rem;
      line-height: 1.7;
      padding-left: 1.1rem;
      margin-bottom: 0;
      /* color: #4b5563; */
    }

    .fi-centro-horario {
      border-radius: 1rem;
      border: 1px solid rgba(148, 163, 184, 0.45);
      /* background: linear-gradient(135deg, #f9fafb, #eff6ff); */
    }

    .fi-centro-horario h5 {
      font-size: 0.95rem;
      font-weight: 700;
      margin-bottom: 0.75rem;
      /* color: #111827; */
    }

    .fi-centro-horario table {
      font-size: 0.85rem;
    }

    .fi-centro-horario p {
      font-size: 0.85rem;
      line-height: 1.6;
    }

    /* FAQS */
    .faqs .border-icono {
      width: 2.8rem;
      height: 2.8rem;
      min-width: 2.8rem;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 2px solid rgba(234, 179, 8, 0.85);
      color: #f59e0b;
      background: radial-gradient(circle, rgba(250, 204, 21, 0.18), transparent 65%);
    }

    .faqs h2 {
      letter-spacing: 0.08em;
      font-size: 0.95rem;
      font-weight: 700;
      /* color: #4b5563; */
    }

    .faqs .card {
      border-radius: 1.1rem;
      border: 1px solid rgba(148, 163, 184, 0.4);
      box-shadow:
        0 18px 38px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(15, 23, 42, 0.04);
    }

    .faqs .nav-tabs .nav-link {
      font-size: 0.85rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      font-weight: 600;
    }

    .faqs .nav-tabs .nav-link.active {
      /* color: #111827; */
      border-color: #facc15 #facc15 #ffffff;
    }

    .modal-header.bg-warning {
      background: linear-gradient(135deg, #facc15, #facc15) !important;
      color: #111827;
    }

    /* BOTÓN CONSULTA LATERAL */
    .fi-consulta-button {
      border-radius: 1rem;
      background: linear-gradient(135deg, #facc14, #facc14);
      color: #111827 !important;
      /* box-shadow: 0 16px 34px rgba(245, 158, 11, 0.6); */
      border: none;
      transition: transform 0.18s ease, box-shadow 0.18s ease;
    }

    .fi-consulta-button:hover {
      /* transform: translateY(-1px); */
      box-shadow: 0 20px 44px rgba(245, 158, 11, 0.75);
    }

    .fi-consulta-button h3 {
      font-weight: 700;
      letter-spacing: 0.08em;
    }

    .fi-consulta-button span {
      /* font-size: 0.82rem; */
    }

    /* ESPACIADOS GLOBALES */
    section.py-11 {
      padding-top: 4.5rem !important;
      padding-bottom: 4.5rem !important;
    }

    .lead {
      line-height: 1.8;
    }

    p {
      line-height: 1.7;
    }

    @media (max-width: 767.98px) {
      .hero-fiebre-amarilla .hero-glass-card {
        padding: 1.8rem 1.6rem;
      }

      .fi-section-header {
        gap: 1rem;
      }
    }

  /* =======================
     Mapa de centros (BEM)
     ======================= */
  .fi-mapa-centros {
    position: relative;
    background: radial-gradient(circle at top left, #fef9c3, #fff7ed);
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    box-shadow:
      0 20px 45px rgba(15, 23, 42, 0.10),
      0 0 0 1px rgba(15, 23, 42, 0.04);
    overflow: hidden;
  }

  .fi-mapa-centros::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at top right, rgba(251, 191, 36, 0.35), transparent 55%),
      radial-gradient(circle at bottom left, rgba(56, 189, 248, 0.15), transparent 55%);
    opacity: 0.7;
    pointer-events: none;
  }

  .fi-mapa-centros__inner {
    position: relative;
    z-index: 1;
  }

  .fi-mapa-centros__header-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border-radius: 999px;
    padding: .35rem .9rem;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #facc15, #facc15);
    color: #111827;
    /* box-shadow: 0 12px 30px rgba(245, 158, 11, 0.6); */
  }

  .fi-mapa-centros__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: .8rem;
    margin-bottom: .35rem;
    color: #111827;
  }

  .fi-mapa-centros__subtitle {
    font-size: .95rem;
    /* max-width: 32rem; */
    color: #111827;
  }

  /* Tarjeta del mapa (desktop) */
  .fi-mapa-centros__mapa-card {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    background: radial-gradient(circle at top, #0f172a, #020617);
    border: 1px solid rgba(15, 23, 42, 0.7);
    min-height: 320px;
    box-shadow:
      0 22px 55px rgba(15, 23, 42, 0.85),
      0 0 0 1px rgba(15, 23, 42, 0.7);
  }

  .fi-mapa-centros__mapa-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .55;
    background:
      radial-gradient(circle at 20% 0, rgba(251, 191, 36, 0.55), transparent 55%),
      radial-gradient(circle at 80% 100%, rgba(59, 130, 246, 0.5), transparent 55%);
    mix-blend-mode: screen;
  }

  .fi-mapa-centros__mapa-base {
    position: relative;
    width: 110%;
    height: 100%;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .fi-mapa-centros__mapa-img {
    max-width: 100%;
    max-height: 100%;
    opacity: .85;
    filter: drop-shadow(0 18px 30px rgba(15, 23, 42, 0.7));
  }

  .fi-mapa-centros__mapa-grid {
    position: absolute;
    inset: 1.25rem;
    pointer-events: none;
    opacity: .18;
    background-image: linear-gradient(rgba(148, 163, 184, .4) 1px, transparent 1px),
      linear-gradient(to right, rgba(148, 163, 184, .4) 1px, transparent 1px);
    background-size: 32px 32px;
  }

  /* Marcadores sobre el mapa */
  .fi-mapa-centros__marker {
    position: absolute;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    border: 2px solid rgba(248, 250, 252, 0.95);
    background: radial-gradient(circle, #fbbf24, #f97316);
    box-shadow:
      0 0 0 3px rgba(248, 250, 252, 0.18),
      0 14px 28px rgba(15, 23, 42, 0.9);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
    transition:
      transform .18s ease,
      box-shadow .18s ease,
      background .18s ease;
  }

  .fi-mapa-centros__marker:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow:
      0 0 0 4px rgba(248, 250, 252, 0.22),
      0 18px 35px rgba(15, 23, 42, 1);
  }

  .fi-mapa-centros__marker--active {
    background: radial-gradient(circle, #fefce8, #facc15);
  }

  /* Lista desktop */
  .fi-mapa-centros__lista-card {
    border-radius: 1.2rem;
    background-color: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow:
      0 18px 40px rgba(15, 23, 42, 0.10),
      0 0 0 1px rgba(15, 23, 42, 0.04);
  }

  .fi-mapa-centros__lista-header {
    padding: 1.1rem 1.3rem .5rem;
  }

  .fi-mapa-centros__lista-body {
    padding: .8rem 1.3rem 1.1rem;
    max-height: 600px;
    overflow-y: auto;
  }

  .fi-mapa-centros__item-btn {
    width: 100%;
    text-align: left;
    border-radius: .9rem;
    padding: .65rem .9rem;
    border: 1px solid transparent;
    background-color: #f9fafb;
    font-size: .9rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .65rem;
    transition:
      background .18s ease,
      border-color .18s ease,
      box-shadow .18s ease,
      transform .18s ease;
  }

  .fi-mapa-centros__item-btn:hover {
    background-color: #fffbeb;
    border-color: #facc15;
    box-shadow: 0 10px 26px rgba(250, 204, 21, 0.22);
    transform: translateY(-1px);
  }

  .fi-mapa-centros__item-btn-title {
    font-weight: 600;
    color: #111827;
  }

  .fi-mapa-centros__item-btn-sub {
    font-size: 1rem;
    color: #6b7280;
  }

  .fi-mapa-centros__item-badge {
    font-size: .9rem;
  }

  /* Vista mobile: tarjetas simples */
  .fi-mapa-centros__mobile-card {
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background-color: #ffffff;
    box-shadow:
      0 14px 32px rgba(15, 23, 42, 0.08),
      0 0 0 1px rgba(15, 23, 42, 0.03);
    padding: 1rem 1.1rem;
  }

  .fi-mapa-centros__mobile-title {
    font-size: .95rem;
    font-weight: 700;
  }

  .fi-mapa-centros__mobile-meta {
    font-size: .8rem;
  }

  .fi-mapa-centros__mobile-btn {
    border-radius: 999px;
    font-size: .8rem;
    padding-inline: 1.1rem;
  }

  .fi-mapa-centros__mobile-hint {
    font-size: .8rem;
  }

  @media (max-width: 767.98px) {
    .fi-mapa-centros {
      padding: 2rem 1.3rem;
      border-radius: 1.25rem;
    }

    .fi-mapa-centros__title {
      font-size: 1.25rem;
    }

      .fi-mapa-centros__marker {
      position: absolute;
      width: 1.5rem;
      height: 1.5rem;
      border-radius: 999px;
      border: 2px solid rgba(248, 250, 252, 0.95);
      background: radial-gradient(circle, #fbbf24, #f97316);
      box-shadow:
        0 0 0 3px rgba(248, 250, 252, 0.18),
        0 14px 28px rgba(15, 23, 42, 0.9);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #111827;
      font-size: .6rem;
      font-weight: 700;
      cursor: pointer;
      transition:
        transform .18s ease,
        box-shadow .18s ease,
        background .18s ease;
    }

    .fi-mapa-centros {
    position: relative;
    background: radial-gradient(circle at top left, #fef9c3, #fff7ed);
    border-radius: 0;
    padding: 4.5rem 2rem;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.10), 0 0 0 1px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}
  }

  .btn-warning {
    --bs-btn-color: #0B1A3A;
    --bs-btn-bg: #facc14;
    --bs-btn-border-color: #facc14;
    --bs-btn-hover-color: #0B1A3A;
    --bs-btn-hover-bg: #fab546;
    --bs-btn-hover-border-color: #fab13b;
    --bs-btn-focus-shadow-rgb: 213, 147, 40;
    --bs-btn-active-color: #0B1A3A;
    --bs-btn-active-bg: #fab951;
    --bs-btn-active-border-color: #fab13b;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(11, 26, 58, 0.125);
    --bs-btn-disabled-color: #0B1A3A;
    --bs-btn-disabled-bg: #facc14;
    --bs-btn-disabled-border-color: #facc14;
}