@charset "utf-8";
/* CSS Document */

:root {
  --bca-indigo: #233161;
  --bca-verde: #1FAD4E;
  --bca-carbon: #374151;
  --bca-platino: #F3F4F6;
  --bca-naranja: #FFA400;
  --bca-gris: #6B7280;
  --bca-linea: #ECEEF2;
}

.bca-modal[hidden] { display: none !important; }
.bca-modal {
  /* El sitio llega a z-index 1000000 (el #popupOverlay que hoy esta comentado en
     el index) y el widget del Sello CCS usa 99999: hay que quedar por encima. */
  position: fixed; inset: 0; z-index: 1000001;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  font-family: 'Montserrat', sans-serif;
}

.bca-fondo {
  position: absolute; inset: 0;
  background: rgba(20, 28, 56, .66);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  animation: bca-aparece .18s ease-out;
}

.bca-caja {
  position: relative;
  width: 100%; max-width: 560px;
  max-height: calc(100vh - 48px); overflow-y: auto;
  background: #fff; border-radius: 16px;
  padding: 38px 38px 32px;
  box-shadow: 0 24px 60px rgba(20, 28, 56, .34);
  animation: bca-sube .22s cubic-bezier(.2, .8, .3, 1);
}
/* hilo de marca: índigo el 86%, naranja de alerta el 14% final */
.bca-caja::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 5px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg,
    var(--bca-indigo) 0%, var(--bca-indigo) 86%,
    var(--bca-naranja) 86%, var(--bca-naranja) 100%);
}

@keyframes bca-aparece { from { opacity: 0 } to { opacity: 1 } }
@keyframes bca-sube {
  from { opacity: 0; transform: translateY(14px) }
  to   { opacity: 1; transform: none }
}
@media (prefers-reduced-motion: reduce) {
  .bca-fondo, .bca-caja { animation: none; }
}

.bca-x {
  position: absolute; top: 15px; right: 15px;
  width: 34px; height: 34px; padding: 0;
  border: 0; border-radius: 50%;
  background: var(--bca-platino); color: var(--bca-carbon);
  font-size: 22px; line-height: 32px; cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.bca-x:hover { background: var(--bca-indigo); color: #fff; }

/* --------------------------------------------------------------- cabecera */
.bca-eyebrow {
  display: flex; align-items: center; gap: 9px;
  margin: 0 0 12px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--bca-naranja);
}
.bca-eyebrow svg { flex: none; }

.bca-titulo {
  font-family: 'Montserrat', sans-serif;
  font-size: 29px; line-height: 1.16; text-transform: none;
  color: var(--bca-indigo); margin: 0 0 14px;
  font-weight: 300;                    /* línea 1 en Light */
}
.bca-titulo b { font-weight: 800; display: block; }   /* línea 2 en ExtraBold */
.bca-titulo i { font-style: normal; color: var(--bca-naranja); }

.bca-bajada {
  font-size: 14.5px; font-weight: 500; line-height: 1.6;
  color: var(--bca-carbon); margin: 0 0 20px;
}

/* ------------------------------------------------------------ regla clave */
.bca-regla {
  position: relative;
  background: var(--bca-platino); border-radius: 12px;
  padding: 16px 18px 16px 22px; margin: 0 0 22px;
  font-size: 14.5px; font-weight: 500; line-height: 1.55;
  color: var(--bca-indigo);
}
.bca-regla::before {
  content: ""; position: absolute; left: 0; top: 12px; bottom: 12px;
  width: 6px; border-radius: 3px; background: var(--bca-naranja);
}
.bca-regla b { font-weight: 800; }

/* --------------------------------------------------------------- señales */
.bca-senales { list-style: none; margin: 0 0 22px; padding: 0; }
.bca-senales li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 11px 0; border-top: 1px solid var(--bca-linea);
  font-size: 14px; font-weight: 500; line-height: 1.5;
  color: var(--bca-carbon);
}
.bca-senales li:first-child { border-top: 0; padding-top: 0; }
.bca-senales svg { flex: none; margin-top: 2px; }
.bca-senales b { font-weight: 700; color: var(--bca-indigo); }

/* ------------------------------------------------------------------- CTA */
.bca-cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--bca-verde); color: #fff !important;
  border-radius: 40px; padding: 15px 22px; margin: 0 0 8px;
  font-size: 17px; font-weight: 800; text-decoration: none; text-align: center;
  transition: background .2s ease, transform .2s ease;
}
.bca-cta:hover { background: #17903f; color: #fff !important; transform: translateY(-1px); }
.bca-cta svg { flex: none; }

.bca-cta-nota {
  margin: 0 0 18px; text-align: center;
  font-size: 12.5px; font-weight: 500; color: var(--bca-gris);
}

/* -------------------------------------------------------------- pie/legal */
.bca-pie {
  padding-top: 16px; border-top: 1px solid var(--bca-linea);
  font-size: 12.5px; font-weight: 500; line-height: 1.6; color: var(--bca-gris);
  margin: 0;
}
.bca-pie b { font-weight: 700; color: var(--bca-indigo); }
.bca-pie a {
  color: var(--bca-indigo); font-weight: 700; text-decoration: none;
  border-bottom: 1px solid rgba(35, 49, 97, .28);
}
.bca-pie a:hover { color: var(--bca-verde); border-bottom-color: var(--bca-verde); }

/* --------------------------------------------------- barra de aviso fija */
.bca-aviso {
  background: #FFF6E3;
  border-bottom: 1px solid #F3DCA9;
  font-family: 'Montserrat', sans-serif;
}
.bca-aviso-in {
  max-width: 1265px; margin: 0 auto; padding: 11px 24px;
  font-size: 14px; font-weight: 500; line-height: 1.45; color: #7A4B00;
  display: flex; align-items: flex-start; gap: 9px;
}
.bca-aviso-in svg { flex: none; margin-top: 2px; }
.bca-aviso b { font-weight: 700; }
.bca-aviso a {
  color: #7A4B00; font-weight: 700; text-decoration: none;
  border-bottom: 1px solid rgba(122, 75, 0, .4); white-space: nowrap;
}
.bca-aviso a:hover { color: var(--bca-indigo); border-bottom-color: var(--bca-indigo); }

/* ----------------------------------------------------------------- móvil */
@media (max-width: 600px) {
  .bca-modal { padding: 14px; }
  .bca-caja { padding: 30px 22px 26px; border-radius: 14px; }
  .bca-titulo { font-size: 24px; }
  .bca-bajada, .bca-regla { font-size: 14px; }
  .bca-cta { font-size: 15.5px; padding: 14px 16px; }
  .bca-aviso-in { padding: 10px 16px; font-size: 13px; }
}
