:root {
  --bg: #0C2B30;
  --bg-soft: #133A40;
  --card-bg: #103238;
  --border: #1D4A50;
  --accent: #E2B08D;
  --accent-strong: #C07A4A;
  --accent-hover: #A8623A;
  --text-main: #FFFFFF;
  --text-soft: #C9D9D7;
  --text-muted: #A9C2C0;
  --danger: #F0B3AC;
  --papel: #F4F2EE;
  --papel-texto: #1B2426;
  --papel-suave: #525D5E;
  --papel-titulo: #0C2B30;
  --papel-enlace: #1D6468;
  --papel-borde: #E3DED5;
  --font-sans: 'IBM Plex Sans', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'IBM Plex Serif', Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  background-image: radial-gradient(1100px 520px at 50% -10%, var(--bg-soft), var(--bg) 70%);
  color: var(--text-soft);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1 0 auto;
  width: 100%;
}

.seccion {
  padding: 2.5rem 1.25rem;
}

.seccion--papel {
  --card-bg: #FFFFFF;
  --border: var(--papel-borde);
  --accent: var(--papel-enlace);
  --accent-strong: var(--papel-enlace);
  --accent-hover: var(--papel-titulo);
  --text-main: var(--papel-titulo);
  --text-soft: var(--papel-texto);
  --text-muted: var(--papel-suave);

  background-color: var(--papel);
  color: var(--papel-texto);
}

.container {
  width: 100%;
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
}

.container--ancho {
  max-width: 1040px;
}

.captura {
  margin: 2rem 0 0;
}

.captura__imagen {
  display: block;
  width: 100%;
  height: clamp(400px, 112vw, 520px);
  object-fit: cover;
  object-position: top center;
  background-color: #fff;
  border: 1px solid var(--papel-borde);
  border-radius: 10px;
  -webkit-mask-image: linear-gradient(to bottom, #000 84%, transparent);
  mask-image: linear-gradient(to bottom, #000 84%, transparent);
}

@media (min-width: 48rem) {
  .captura__imagen {
    height: clamp(380px, 46vw, 560px);
    -webkit-mask-image: none;
    mask-image: none;
  }
}

.barra {
  width: 100%;
  border-bottom: 1px solid var(--border);
}

.barra__interior {
  max-width: 1040px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.plegable__boton {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  cursor: pointer;
  list-style: none;
}

.plegable__boton::-webkit-details-marker {
  display: none;
}

.plegable__boton:hover,
.plegable__boton:focus-visible {
  color: var(--text-main);
}

.plegable__icono,
.plegable__icono::before,
.plegable__icono::after {
  display: block;
  width: 20px;
  height: 2px;
  background-color: currentcolor;
  border-radius: 2px;
}

.plegable__icono {
  position: relative;
  transition: background-color 0.15s ease;
}

.plegable__icono::before,
.plegable__icono::after {
  content: "";
  position: absolute;
  left: 0;
  transition: transform 0.15s ease;
}

.plegable__icono::before {
  top: -6px;
}

.plegable__icono::after {
  top: 6px;
}

.plegable[open] .plegable__icono {
  background-color: transparent;
}

.plegable[open] .plegable__icono::before {
  transform: translateY(6px) rotate(45deg);
}

.plegable[open] .plegable__icono::after {
  transform: translateY(-6px) rotate(-45deg);
}

.menu {
  display: none;
  flex-basis: 100%;
  flex-direction: column;
  margin-top: 0.25rem;
}

.plegable[open]~.menu {
  display: flex;
}

.menu__enlace {
  padding: 0.75rem 0;
  color: var(--text-muted);
  text-decoration: none;
  border-top: 1px solid var(--border);
}

.menu__enlace:hover,
.menu__enlace:focus-visible {
  color: var(--text-main);
}

.menu__enlace[aria-current="page"] {
  color: var(--text-main);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

@media (min-width: 48rem) {
  .plegable {
    display: none;
  }

  .menu {
    display: flex;
    flex-basis: auto;
    flex-direction: row;
    gap: 1.1rem;
    margin-top: 0;
    font-size: 0.92rem;
  }

  .menu__enlace {
    padding: 0.35rem 0;
    border-top: 0;
  }
}

.marca {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.marca__monograma {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  background-color: var(--accent-strong);
  border-radius: 8px;
}

.marca__nombre {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.01em;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.8rem;
  background-color: rgb(255 255 255 / 6%);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}

h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 7vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.tagline {
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.description {
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.description strong {
  color: var(--text-soft);
  font-weight: 600;
}

.portada__accion {
  margin-bottom: 0.9rem;
}

.enlaces {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  font-size: 0.95rem;
}

.enlaces a {
  color: var(--accent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  text-align: left;
}

.feature-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
}

.feature-card h3 {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.contacto {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  text-align: left;
}

.contacto__titulo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.contacto__intro {
  font-size: 0.93rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.contacto__intro a,
.description a {
  color: var(--accent);
}

.formulario {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.campo {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.campo--ancho {
  grid-column: 1 / -1;
}

.campo__etiqueta {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-soft);
}

.campo__opcional {
  color: var(--text-muted);
  font-weight: 400;
}

.campo__entrada {
  width: 100%;
  padding: 0.6rem 0.7rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  background-color: rgb(0 0 0 / 18%);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.campo__entrada::placeholder {
  color: rgb(169 194 192 / 55%);
}

.campo__entrada:focus-visible {
  border-color: var(--accent);
  outline: 2px solid rgb(226 176 141 / 25%);
  outline-offset: 1px;
}

textarea.campo__entrada {
  min-height: 6.5rem;
  resize: vertical;
}

.campo--extra {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.formulario__acciones {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.boton {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.7rem 1.4rem;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  color: #fff;
  background-color: var(--accent-strong);
  border: 0;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 120ms ease;
}

.boton:hover,
.boton:focus-visible {
  background-color: var(--accent-hover);
}

@media (min-width: 48rem) {
  .boton {
    display: inline-block;
    width: auto;
  }
}

.notas {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.nota {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.nota a {
  color: var(--accent);
}

.alerta {
  grid-column: 1 / -1;
  padding: 0.7rem 0.9rem;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  color: var(--danger);
  background-color: rgb(161 53 43 / 22%);
  border: 1px solid rgb(240 179 172 / 35%);
  border-radius: 8px;
}

.acceso {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.acceso a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgb(226 176 141 / 35%);
  padding-bottom: 1px;
}

.acceso a:hover,
.acceso a:focus-visible {
  color: var(--text-main);
  border-bottom-color: currentColor;
}

.prosa {
  text-align: left;
}

.prosa>h1 {
  text-align: center;
  margin-bottom: 1rem;
}

.prosa__entrada {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 620px;
  margin: 0 auto 2rem;
}

.prosa h2 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 2.25rem 0 0.7rem;
}

.prosa>h2:first-child {
  margin-top: 0;
}

.indice {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2rem 1.2rem;
  margin: 0 0 2.25rem;
  font-size: 0.92rem;
  text-align: center;
}

.indice a {
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  text-underline-offset: 3px;
  padding: 0.5rem 0;
}

.indice a:hover,
.indice a:focus-visible {
  color: var(--text-main);
}

.prosa h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 1.75rem 0 0.5rem;
}

.prosa p {
  margin-bottom: 0.9rem;
}

.prosa strong {
  color: var(--text-soft);
  font-weight: 600;
}

.prosa ul {
  margin: 0 0 0.9rem 1.15rem;
}

.prosa li {
  margin-bottom: 0.45rem;
}

.prosa a {
  color: var(--accent);
}

.prosa a.boton {
  color: #fff;
}

.aparte {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-strong);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  margin: 1.25rem 0;
  font-size: 0.95rem;
}

.aparte p:last-child {
  margin-bottom: 0;
}

.tabla {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  font-size: 0.92rem;
}

.tabla th,
.tabla td {
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.tabla th {
  color: var(--text-main);
  font-weight: 600;
}

.cierre {
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.mas {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, currentColor 32%, transparent);
  padding-bottom: 2px;
}

.mas::after {
  content: "\2192";
  font-size: 1.05em;
  line-height: 1;
  transition: transform 120ms ease;
}

.mas:hover,
.mas:focus-visible {
  color: var(--text-main);
  border-bottom-color: currentColor;
}

.mas:hover::after {
  transform: translateX(3px);
}

.mas--descarga::after {
  content: "\2193";
}

.mas--descarga:hover::after {
  transform: translateY(3px);
}

.hechos {
  margin: 0 0 1.5rem;
}

.hechos__fila {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.5rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--border);
}

.hechos__fila:last-child {
  border-bottom: 1px solid var(--border);
}

.hechos dt {
  flex: 0 0 12rem;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.45;
}

.hechos dd {
  flex: 1 1 20rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.bloques {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.bloque {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.15rem;
}

.bloque--hoy {
  border-top-color: var(--accent);
}

.bloque--prueba {
  border-top-color: var(--accent-strong);
}

.bloque h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.bloque p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.pregunta {
  border-top: 1px solid var(--border);
}

.pregunta:last-of-type {
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
}

.pregunta summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
}

.pregunta summary::-webkit-details-marker {
  display: none;
}

.pregunta summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--accent);
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1;
}

.pregunta[open] summary::after {
  content: "\2212";
}

.pregunta p {
  padding-bottom: 1rem;
  margin-bottom: 0;
  font-size: 0.95rem;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  color: var(--text-soft);
  background-color: rgb(0 0 0 / 22%);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.footer {
  font-size: 0.82rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  width: 100%;
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.footer__interior {
  max-width: 740px;
  margin: 0 auto;
}

.footer a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mas,
.acceso a,
.footer a,
.nota a {
  position: relative;
}

.mas::before,
.acceso a::before,
.footer a::before,
.nota a::before {
  content: "";
  position: absolute;
  inset: -0.6rem -0.3rem;
}

.acceso a::before {
  inset: -0.7rem -0.35rem;
}

.footer a::before {
  inset: -0.25rem -0.3rem -1.4rem;
}

.nota a::before {
  inset: -0.45rem -0.3rem -1.1rem;
}

@media (min-width: 48rem) {

  .mas::before,
  .acceso a::before,
  .footer a::before,
  .nota a::before {
    content: none;
  }
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}