/* =========================================================
   REQUISITOS (Bootstrap 3) - Modern UI (camelCase)
   - Full width real
   - Tabs modernos
   - Responsive 768px y 320px
========================================================= */

:root {
  --requisitosRed: #e10e20;
  --requisitosInk: rgba(17, 24, 39, 0.92);
  --requisitosMuted: rgba(17, 24, 39, 0.72);
  --requisitosBg: #f2f4f8;
  --requisitosCard: #ffffff;
  --requisitosBorder: rgba(17, 24, 39, 0.1);
  --requisitosBorder2: rgba(225, 14, 32, 0.18);
  --requisitosShadow: 0 18px 44px rgba(0, 0, 0, 0.12);
  --requisitosShadow2: 0 12px 26px rgba(0, 0, 0, 0.08);
  --requisitosRadius: 16px;
}

/* Fondo (solo scope de la página) */
.requisitosPage {
  background: var(--requisitosBg);
}

/* Evita contenedores limitados del template en ESTA vista */
.requisitosPage .ultraContainer {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding-left: clamp(14px, 3.5vw, 56px) !important;
  padding-right: clamp(14px, 3.5vw, 56px) !important;
  padding-top: 26px !important;
  padding-bottom: 44px !important;
  background: transparent !important;
}

.requisitosPage .insiderF4 {
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
  float: none !important;
  display: block !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Hero (solo refinamos tipografía/espaciado sin romper bgred) */
.requisitosPage .requisitosHeroInner {
  padding-top: 16px;
  padding-bottom: 16px;
}

.requisitosPage .requisitosHeroTitle span {
  font-weight: 900;
}

.requisitosPage .requisitosSection {
  width: 100%;
}

/* ============ TABS ============ */
.requisitosPage .requisitosTabsNav {
  width: 100%;
  display: block;
  margin-bottom: 16px;
  overflow: hidden;
}

.requisitosPage .requisitosTabs {
  border-bottom: none !important;
  width: 100%;
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 !important;
  padding: 0 !important;
}

/* Bootstrap 3: nav-tabs > li */
.requisitosPage .requisitosTabs > li {
  float: none !important;
  margin: 0 !important;
  list-style: none !important;
}

/* Bootstrap 3: nav-tabs > li > a */
.requisitosPage .requisitosTabs > li > a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 220px;
  padding: 12px 14px;
  border-radius: 14px !important;

  background: rgba(17, 24, 39, 0.06) !important;
  border: 1px solid rgba(17, 24, 39, 0.1) !important;

  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: rgba(17, 24, 39, 0.86) !important;
  text-decoration: none !important;

  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    border-color 0.18s ease;
  white-space: normal;
  text-align: center;
  line-height: 1.15;
}

.requisitosPage .requisitosTabs > li > a:hover {
  transform: translateY(-1px);
  background: rgba(17, 24, 39, 0.09) !important;
  border-color: rgba(17, 24, 39, 0.14) !important;
}

/* Active */
.requisitosPage .requisitosTabs > li.active > a,
.requisitosPage .requisitosTabs > li.active > a:hover,
.requisitosPage .requisitosTabs > li.active > a:focus {
  background: #fff !important;
  color: var(--requisitosRed) !important;
  border-color: var(--requisitosBorder2) !important;
  box-shadow: var(--requisitosShadow2) !important;
}

/* Content */
.requisitosPage .requisitosTabsContent {
  width: 100%;
  display: block;
  margin-top: 6px;
}

.requisitosPage .requisitosTabPane {
  width: 100%;
}

/* Caja del contenido (moderna) */
.requisitosPage .requisitosPaneShell {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;

  background: var(--requisitosCard);
  border-radius: var(--requisitosRadius);
  border: 1px solid var(--requisitosBorder);
  box-shadow: var(--requisitosShadow2);
  padding: 26px;

  position: relative;
  overflow: hidden;
}

/* Línea roja lateral */
.requisitosPage .requisitosPaneShell::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, #ff2a3a 0%, #b80b18 100%);
  opacity: 0.95;
}

/* ====== OVERRIDES para tu HTML de tabs (titulo/bajante/tab-wrapper/tab-content-box) ====== */
.requisitosPage .tab-wrapper {
  width: 100% !important;
  display: block !important;
}

.requisitosPage .tab-content-box {
  width: 100% !important;
  max-width: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.requisitosPage h3.titulo {
  margin: 0 0 14px 0 !important;
  color: var(--requisitosRed) !important;
  font-weight: 900 !important;
  font-size: 20px !important;
}

.requisitosPage .requisitosSubTitle {
  margin: 22px 0 12px 0;
  color: var(--requisitosRed);
  font-weight: 900;
  font-size: 18px;
}

.requisitosPage p.bajante,
.requisitosPage .bajante {
  color: rgba(17, 24, 39, 0.82) !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
}

/* Lista bonita */
.requisitosPage .requisitosList {
  margin: 12px 0 0 0;
  padding-left: 18px;
}

.requisitosPage .requisitosList li {
  margin: 8px 0;
  color: rgba(17, 24, 39, 0.84);
}

/* Links */
.requisitosPage .requisitosLink {
  font-weight: 800;
  color: #0b57d0;
  text-decoration: underline;
}

/* Nota */
.requisitosPage .requisitosNote {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px dashed rgba(225, 14, 32, 0.28);
  background: rgba(225, 14, 32, 0.06);
  color: rgba(17, 24, 39, 0.82);
}

.requisitosPage .requisitosNote strong {
  color: rgba(17, 24, 39, 0.88);
}

/* Botón */
.requisitosPage .requisitosBtn {
  margin-top: 18px;
  border-radius: 12px !important;
  padding: 10px 14px !important;
  font-weight: 900 !important;
}

/* ✅ Garantiza que Bootstrap muestre solo el tab activo */
.requisitosPage .tab-content > .tab-pane {
  display: none;
}
.requisitosPage .tab-content > .active {
  display: block;
}
/* ===============================
   WhatsApp flotante
================================ */
.whatsappFloat {
  position: fixed;
  width: 56px;
  height: 56px;
  bottom: 22px;
  right: 22px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  line-height: 56px;
  z-index: 9999;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsappFloat:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  color: #fff;
  text-decoration: none;
}

.whatsappFloat i {
  vertical-align: middle;
}
/* ============ Responsive 768px ============ */
@media (max-width: 768px) {
  .requisitosPage .requisitosTabs {
    gap: 8px;
  }

  .requisitosPage .requisitosTabs > li {
    width: calc(50% - 8px);
  }

  .requisitosPage .requisitosTabs > li > a {
    width: 100%;
    min-width: 0;
    font-size: 12.5px;
    padding: 10px 10px;
  }

  .requisitosPage .requisitosPaneShell {
    padding: 18px;
  }

  .requisitosPage h3.titulo {
    font-size: 18px !important;
  }
  .whatsappFloat {
    width: 50px;
    height: 50px;
    font-size: 26px;
    line-height: 50px;
    bottom: 18px;
    right: 18px;
  }
}

/* ============ Responsive 320px ============ */
@media (max-width: 320px) {
  .requisitosPage .requisitosTabs > li {
    width: 100%;
  }

  .requisitosPage .requisitosTabs > li > a {
    font-size: 12px;
    padding: 10px 10px;
  }

  .requisitosPage .requisitosPaneShell {
    padding: 16px;
  }
}
