/* Cuenta regresiva al inicio de clases (cuenta-regresiva.js). Los cuatro
   colores de la marca, como la de la web original, sobre las variables de
   marca.css. */
.cr { display: grid; gap: clamp(16px, 2vw, 24px); max-width: 980px; margin-inline: auto; }
.cr__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.cr__tab { min-height: 44px; padding: 10px 18px; border: 0; border-radius: 999px; font: inherit; font-weight: 700; font-size: 15px; color: var(--navy); background: #fff; box-shadow: inset 0 0 0 2px rgba(11, 37, 120, 0.16); cursor: pointer; transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }
.cr__tab:hover { box-shadow: inset 0 0 0 2px var(--navy); }
.cr__tab[aria-selected="true"] { color: #fff; background: var(--navy); box-shadow: none; }
.cr__tab:focus-visible { outline: 3px solid var(--oro); outline-offset: 2px; }

.cr__reloj { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 16px); }
.cr__u { display: grid; justify-items: center; gap: 2px; padding: clamp(14px, 2.2vw, 26px) 6px; border-radius: 4px; color: #fff; box-shadow: 0 10px 24px rgba(11, 37, 120, 0.14); }
.cr__u b { font-size: clamp(30px, 5.4vw, 64px); font-weight: 800; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.cr__u span { font-size: clamp(11px, 1.1vw, 14px); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.95; }
.cr__u--dias { background: var(--verde); }
.cr__u--horas { background: var(--oro); color: #241a00; }
.cr__u--minutos { background: var(--azul); }
.cr__u--segundos { background: var(--rojo); }

.cr__frase { text-align: center; font-weight: 700; font-size: clamp(16px, 1.5vw, 19px); color: var(--navy); }

.cr__fechas { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 6px; }
.cr__fecha { display: grid; justify-items: center; text-align: center; gap: 2px; padding: 18px 14px 20px; border-radius: 4px; background: #fff; box-shadow: var(--sombra); border-bottom: 6px solid var(--magenta); color: var(--navy); }
.cr__fecha svg { width: 34px; height: 34px; color: var(--magenta); margin-bottom: 4px; }
.cr__fecha b { font-size: 34px; font-weight: 800; line-height: 1; }
.cr__mes { font-weight: 700; font-size: 15px; }
.cr__que { margin-top: 6px; font-size: 13.5px; line-height: 1.35; color: var(--texto); }
.cr__fecha--dcto { border-bottom-color: var(--oro); }
.cr__fecha--dcto svg { color: var(--rojo); }

@media (max-width: 520px) {
  .cr__u { padding-inline: 2px; }
  .cr__u span { letter-spacing: 0.02em; }
  .cr__fechas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
