/* Montserrat y Noto Sans, licencia OFL. Archivos en /fuentes/. */
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fuentes/montserrat-latin-ext-600.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fuentes/montserrat-latin-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fuentes/montserrat-latin-ext-700.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fuentes/montserrat-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fuentes/notosans-latin-ext-400.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fuentes/notosans-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fuentes/notosans-latin-ext-600.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fuentes/notosans-latin-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html { color-scheme: light; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: #fff;
  color: #1a1a1a;
  font-family: 'Noto Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

#solo-telefono { display: block; }
#aplicacion { display: none; }
body.telefono #solo-telefono { display: none; }
body.telefono #aplicacion { display: block; }

.contenedor {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.barra-utilidad {
  background: #10312b;
  color: #f8f5ee;
}
.barra-utilidad .contenedor {
  padding: 8px 0;
}
.fila {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  align-items: baseline;
  justify-content: space-between;
}
.marca, .correo, .sitio {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
}
.marca, .correo {
  color: #f8f5ee;
  font-size: 0.875rem;
  line-height: 1.4;
}
.correo:empty { display: none; }

.barra-principal {
  background: #691c32;
  color: #fff;
  border-bottom: 4px solid #bc955c;
}
.barra-principal .contenedor { padding: 10px 0; }
.sitio {
  display: block;
  width: 165px;
  height: 56px;
}

.hero {
  background: #691c32;
  color: #fff;
}
.hero .contenedor { padding: 32px 0 36px; }
.hero h1 {
  margin: 0;
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.3;
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 2px solid #bc955c;
}
.paso {
  margin: 0 0 10px;
  display: inline-block;
  padding: 2px 8px;
  background: #9f2241;
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  line-height: 1.4;
  border: 1px solid #ddc9a3;
}
.paso:empty { display: none; }
.hero .adelanto,
.hero .adelanto p,
.hero > .contenedor > p {
  margin: 16px 0 0;
  max-width: 42rem;
  color: #f8f5ee;
}

.zona {
  background: #f5f5f5;
  padding: 48px 0 64px;
}

#contenido {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-top: 4px solid #9f2241;
  box-shadow: 0 1px 2px rgba(26, 26, 26, 0.08);
  padding: 24px 20px 8px;
}

h2 {
  margin: 20px 0 8px;
  color: #1a1a1a;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.3;
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 2px solid #691c32;
}
p { margin: 0 0 12px; color: #333; }
#contenido > p:first-child,
#contenido > form > p:first-child { color: #1a1a1a; }
.nota, .ayuda { margin: 0 0 12px; color: #333; }
#cargando { margin: 0; padding: 24px 16px; }

label, legend {
  display: block;
  margin: 12px 0 4px;
  color: #1a1a1a;
  font-family: 'Noto Sans', sans-serif;
  font-weight: 600;
}
fieldset {
  margin: 0 0 16px;
  padding: 8px 12px 12px;
  border: 1px solid #e0e0e0;
  border-top: 3px solid #bc955c;
  background: #f8f9fa;
}

input, select, button, textarea {
  box-sizing: border-box;
  width: 100%;
  max-width: 28rem;
  min-height: 48px;
  margin: 0 0 8px;
  padding: 10px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #fff;
  color: #1a1a1a;
  font: inherit;
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #691c32;
  outline-offset: 2px;
  border-color: #691c32;
}
input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  min-height: 1.25rem;
  max-width: none;
  margin: 14px 8px 12px 0;
  accent-color: #691c32;
  vertical-align: middle;
}
button {
  width: 100%;
  max-width: 22rem;
  border: 1px solid #10312b;
  border-radius: 4px;
  background: #fff;
  color: #1a1a1a;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  cursor: pointer;
}
button:hover { border-color: #bc955c; background: #f8f5ee; }
button:focus-visible {
  outline: 2px solid #691c32;
  outline-offset: 2px;
}
button.primario {
  border-color: #691c32;
  background: #691c32;
  color: #fff;
}
button.primario:hover { background: #9f2241; border-color: #9f2241; }
button:disabled, button.primario:disabled {
  border-color: #e0e0e0;
  background: #e0e0e0;
  color: #333;
  cursor: default;
}

.aviso {
  margin: 0 0 16px;
  padding: 12px 16px;
  border: 1px solid #9f2241;
  border-left: 4px solid #691c32;
  background: #fff;
  color: #1a1a1a;
}
.elegible {
  margin: 20px 0 0;
  font-weight: 700;
  text-align: center;
}
.compartir-nota {
  margin-top: 16px;
  text-align: center;
}
a.compartir {
  display: block;
  width: min(100%, 20.5rem);
  margin: 4px auto 12px;
  line-height: 0;
  text-decoration: none;
}
a.compartir img {
  display: block;
  width: 100%;
  height: auto;
}
a.compartir:focus-visible {
  outline: 2px solid #691c32;
  outline-offset: 4px;
  border-radius: 12px;
}
.referencia {
  margin: 0 0 12px;
  padding: 12px;
  border: 1px solid #bc955c;
  background: #f8f9fa;
  color: #1a1a1a;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-align: center;
}
.indicacion {
  margin: 0 0 12px;
  padding: 12px;
  border: 1px solid #ddc9a3;
  border-left: 4px solid #9f2241;
  background: #fff;
  color: #1a1a1a;
  font-weight: 600;
}

.marco {
  position: relative;
  width: 100%;
  max-width: 42rem;
  background: #000;
  overflow: hidden;
  margin: 0 0 12px;
}
.marco video, .marco img {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
.marco.retrato {
  width: min(100%, calc(68vh * 9 / 16));
  aspect-ratio: 9 / 16;
  margin-left: auto;
  margin-right: auto;
}
.marco.retrato video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.recuadro {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 86%;
  aspect-ratio: 1.586 / 1;
  transform: translate(-50%, -50%);
  border: 3px solid #fff;
  box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}
.recuadro.legible { border-color: #178a32; }
.desajuste {
  position: absolute;
  z-index: 2;
  left: 8%;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  padding: 12px;
  background: #000;
  color: #fff;
  text-align: center;
  font-weight: 600;
}
.ovalo {
  position: absolute;
  left: 50%;
  top: 40%;
  width: 46%;
  height: 32%;
  transform: translate(-50%, -50%);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}
video.reproduccion {
  display: block;
  width: min(100%, calc(68vh * 9 / 16));
  aspect-ratio: 9 / 16;
  margin: 0 auto 12px;
  background: #000;
  object-fit: contain;
}

.lista { list-style: none; padding: 0; margin: 0; }
.lista li { margin: 0 0 12px; }
.ficha {
  margin: 0 0 16px;
  padding: 16px;
  border: 1px solid #e0e0e0;
  border-left: 4px solid #bc955c;
  background: #fff;
  box-shadow: 0 1px 2px rgba(26, 26, 26, 0.08);
}
.largo { overflow-wrap: anywhere; }
dl { margin: 0 0 12px; }
dt { margin-top: 8px; color: #1a1a1a; font-weight: 600; }
textarea.amplio {
  max-width: none;
  min-height: 8rem;
  resize: vertical;
  white-space: pre-wrap;
}
dd { margin: 0 0 8px; color: #333; white-space: pre-wrap; overflow-wrap: anywhere; }
img, video { max-width: 100%; height: auto; }
.archivo {
  display: block;
  max-width: 22rem;
  margin: 0 0 8px;
  padding: 12px;
  border: 1px solid #10312b;
  border-radius: 4px;
  color: #1a1a1a;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}
.archivo input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.pantalla-oculta {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #fff;
}
body.protegido .pantalla-oculta { display: block; }

footer { background: #10312b; color: #f8f5ee; }
.pie { padding: 32px 0 24px; }
footer p { margin: 0 0 12px; color: #f8f5ee; }
footer button {
  max-width: 16rem;
  border-color: #ddc9a3;
  background: transparent;
  color: #fff;
}
footer button:hover { background: #235b4e; border-color: #bc955c; }
footer button:focus-visible { outline-color: #ddc9a3; }
.franja {
  background: #0b221e;
  color: #f8f5ee;
}
.franja .contenedor { padding: 12px 0; }
.franja p {
  margin: 0;
  color: #f8f5ee;
  font-family: Montserrat, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
}

.bloque {
  width: min(40rem, calc(100% - 32px));
  margin: 32px auto;
  padding: 16px;
  border: 1px solid #e0e0e0;
  border-top: 4px solid #9f2241;
  background: #fff;
  color: #1a1a1a;
}

.barra-utilidad :focus-visible,
.hero :focus-visible,
footer :focus-visible {
  outline-color: #ddc9a3;
}
