@font-face {
  font-family: Manrope;
  src: url("manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  font-family: Manrope, Arial, sans-serif;
  color: #102e45;
  background: #fcfdff;
  font-synthesis: none;
  --tinta: #102e45;
  --secundario: #466174;
  --accion: #076887;
  --accion-hover: #045773;
  --linea: #d4e5ef;
  --hielo: #eef7fc;
  --radio: 26px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #0077a6; outline-offset: 4px; }
main:focus { outline: none; }
#equipos, #como-funciona { scroll-margin-top: 105px; }

.contenedor { width: min(100% - 96px, 1240px); margin-inline: auto; }
.solo-lectores, .saltar:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.saltar:focus {
  position: fixed;
  inset: 10px auto auto 10px;
  z-index: 3;
  padding: 12px 20px;
  border-radius: 8px;
  background: white;
}

.cabecera {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgb(252 253 255 / 96%);
  border-bottom: 1px solid #e4eef4;
  backdrop-filter: blur(12px);
}
.barra {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.marca { width: fit-content; display: block; }
.marca img { height: auto; }
.barra nav { display: flex; align-items: center; gap: clamp(24px, 4.2vw, 62px); }
.barra nav a { color: var(--tinta); font-size: 14px; font-weight: 750; padding-block: 12px; }
.barra nav a:hover { color: var(--accion); }
.barra > .boton { justify-self: end; }

.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 47px;
  gap: 10px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.3;
  white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease;
}
.boton svg { flex: none; }
.boton-principal { color: #fff; background: var(--accion); }
.boton-principal:hover { background: var(--accion-hover); }
.boton-contorno { color: var(--accion); border-color: #9bc7d9; min-height: 42px; padding-inline: 15px; }
.boton-contorno:hover { background: #e8f5fb; }
.boton-claro { color: #104b64; background: #f3fbff; }
.boton-claro:hover { background: #d6effb; }

.portada {
  position: relative;
  display: grid;
  align-items: center;
  isolation: isolate;
  min-height: 446px;
  margin-top: 23px;
  overflow: hidden;
  border-radius: 30px;
  background: #e0f2fb;
}
.portada-foto { position: absolute; inset: 0 0 0 29%; z-index: -1; }
.portada-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 59% 52%; }
.portada-foto::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, #e0f2fb 0%, rgb(224 242 251 / 95%) 12%, rgb(224 242 251 / 42%) 39%, transparent 64%);
}
.portada-texto { padding: clamp(34px, 5vw, 72px); }
.portada h1 {
  font-size: clamp(44px, 5.1vw, 74px);
  font-weight: 800;
  line-height: 1.025;
  letter-spacing: -.063em;
}
.portada p {
  color: #2e5067;
  max-width: 33ch;
  margin: 20px 0 26px;
  font-size: clamp(16px, 1.6vw, 22px);
  line-height: 1.52;
  font-weight: 650;
}

h2 {
  font-size: clamp(30px, 3.65vw, 52px);
  font-weight: 800;
  line-height: 1.09;
  letter-spacing: -.052em;
}
.equipos { margin-top: 52px; }
.encabezado-seccion { display: flex; gap: 28px; align-items: center; }
.encabezado-seccion::after { content: ""; height: 1px; background: #bcdbe9; flex: 1; }
.encabezado-seccion p { color: var(--secundario); margin-top: 8px; font-size: 17px; }
.filtros { display: flex; gap: 8px; flex-wrap: wrap; margin: 22px 0 20px; }
.filtros button {
  border: 1px solid transparent;
  border-radius: 999px;
  min-height: 42px;
  padding: 8px 17px;
  cursor: pointer;
  color: #26526b;
  background: #eaf5fc;
  font-weight: 750;
  font-size: 13px;
  transition: background-color .18s ease, border-color .18s ease;
}
.filtros button:hover { border-color: #83b9d0; }
.filtros [aria-pressed="true"] { color: #fff; background: var(--accion); }
.grilla { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.tarjeta { min-width: 0; }
.tarjeta-enlace {
  display: block;
  height: 100%;
  padding: 7px;
  border: 1px solid #dcecf5;
  border-radius: var(--radio);
  background: #f3f9fd;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.tarjeta-enlace:hover { border-color: #a3cbdd; box-shadow: 0 13px 34px #164c6920; }
.foto-equipo {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 47% 43%, #f6fbfe 9%, #e5f2fa 67%, #daeaf5 100%);
}
.tarjeta .foto-equipo {
  height: clamp(195px, 18.2vw, 248px);
  padding: 17px 21px;
  border-radius: 19px;
}
.foto-equipo img {
  width: 100%;
  height: 100%;
  min-height: 0;
  min-width: 0;
  object-fit: contain;
  transition: transform .24s ease;
}
.tarjeta-enlace:hover img { transform: scale(1.035); }
.tarjeta-texto { padding: 15px 15px 14px; }
.tarjeta h3 { font-weight: 800; font-size: 29px; line-height: 1.15; letter-spacing: -.047em; }
.tarjeta p { color: var(--secundario); font-size: 15px; font-weight: 650; margin-top: 3px; }
.indicadores { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-variant-numeric: tabular-nums; }
.tarjeta .indicadores { margin: 17px 0 14px; }
.indicadores > div + div { border-left: 1px solid #bfd8e7; padding-left: 12px; }
.indicadores dt { color: var(--secundario); font-size: 12px; font-weight: 700; line-height: 1.35; }
.indicadores dd { font-weight: 800; font-size: 17px; line-height: 1.4; white-space: nowrap; letter-spacing: -.024em; }
.indicadores dd span { font-size: .78em; font-weight: 750; }
.tarjeta-accion { display: inline-flex; align-items: center; gap: 7px; color: var(--accion); font-size: 14px; font-weight: 800; }
.tarjeta-accion svg { width: 17px; height: 17px; transition: transform .2s ease; }
.tarjeta-enlace:hover .tarjeta-accion svg { transform: translateX(4px); }

.funcionamiento {
  margin-top: 88px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
  background: var(--hielo);
  border-radius: var(--radio);
  padding: 16px;
}
.funcionamiento-texto { padding: clamp(15px, 3vw, 45px); }
.funcionamiento h2 { font-size: clamp(29px, 3.15vw, 43px); max-width: 18ch; }
.funcionamiento p { color: var(--secundario); margin-top: 14px; line-height: 1.65; max-width: 52ch; }
.funcionamiento img { width: 100%; height: 100%; min-height: 290px; object-fit: cover; border-radius: 18px; }
.contacto {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 30px 0 70px;
  padding: clamp(26px, 4vw, 52px);
  border-radius: var(--radio);
  color: #f5fbff;
  background: #103e57;
}
.contacto h2 { font-size: clamp(27px, 3vw, 42px); }
.contacto p { color: #dfedf6; margin-top: 12px; max-width: 51ch; line-height: 1.55; }
.contacto a:focus-visible { outline-color: white; }

.pie { background: #f2f8fc; border-top: 1px solid var(--linea); }
.pie-interior { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.pie-interior span { color: var(--secundario); font-size: 13px; }
.pie-interior a:last-child { font-weight: 800; color: var(--accion); font-size: 14px; white-space: nowrap; }
.pie-interior a:last-child:hover { text-decoration: underline; }

.ficha { padding-block: 29px 72px; }
.volver {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accion);
  font-weight: 800;
  font-size: 14px;
  min-height: 36px;
  margin-bottom: 15px;
}
.volver:hover { text-decoration: underline; }
.detalle-portada { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 4.3vw, 68px); }
.detalle-foto { height: clamp(340px, 32vw, 444px); padding: 22px 28px; border-radius: var(--radio); }
.detalle-tipo { color: var(--accion); font-size: 15px; font-weight: 800; }
.detalle-texto h1 { font-size: clamp(50px, 6.5vw, 82px); line-height: 1.06; letter-spacing: -.067em; font-weight: 800; margin: 4px 0 2px; }
.detalle-subtitulo { font-size: clamp(20px, 2.2vw, 30px); font-weight: 800; line-height: 1.2; letter-spacing: -.035em; }
.detalle-descripcion { color: var(--secundario); font-size: 16px; line-height: 1.64; margin: 15px 0 23px; max-width: 58ch; }
.detalle-texto .indicadores {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 13px 0;
  margin-bottom: 23px;
  border-block: 1px solid var(--linea);
}
.detalle-texto .indicadores dd { font-size: clamp(16px, 2.03vw, 28px); }
.detalle-texto .indicadores > div { display: flex; flex-direction: column; justify-content: space-between; }
.detalle-informacion {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(30px, 4.3vw, 68px);
  border-top: 1px solid var(--linea);
  margin-top: 39px;
  padding-top: 29px;
}
.detalle-informacion h2 { font-size: clamp(23px, 2.6vw, 36px); margin-bottom: 17px; }
.especificaciones { border: 1px solid var(--linea); border-radius: 15px; overflow: hidden; }
.especificaciones > div { display: grid; grid-template-columns: 1.05fr 1fr; gap: 10px; padding: 10px 13px; font-size: 13px; line-height: 1.45; }
.especificaciones > div:nth-child(odd) { background: #eef6fb; }
.especificaciones dt { font-weight: 800; }
.especificaciones dd { color: #36586d; font-variant-numeric: tabular-nums; }
.nota, .foto-uso figcaption { color: var(--secundario); font-size: 12px; margin-top: 10px; line-height: 1.55; }
.usos { display: grid; gap: 9px; padding-left: 20px; margin: 0 0 20px; color: #35596f; line-height: 1.5; }
.usos li::marker { color: var(--accion); }
.foto-uso img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; }
.variante { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; gap: 15px; padding: 13px 16px; border-radius: 13px; background: #eaf5fb; font-size: 13px; color: var(--accion); }
.variante strong { display: block; margin-top: 2px; font-size: 17px; color: var(--tinta); }
.variante:hover { background: #dcedf7; }
.pagina-error { display: grid; gap: 20px; align-content: center; min-height: 55vh; }

@media (max-width: 1000px) {
  .contenedor { width: calc(100% - 56px); }
  .portada { min-height: 412px; }
  .grilla { gap: 12px; }
  .tarjeta-texto { padding-inline: 11px; }
  .indicadores { gap: 7px; }
  .indicadores > div + div { padding-left: 8px; }
  .funcionamiento { gap: 18px; }
}

@media (max-width: 760px) {
  .contenedor { width: calc(100% - 36px); }
  .barra { min-height: 66px; gap: 10px; }
  .barra .marca img { width: 96px; }
  .barra nav { gap: 15px; }
  .barra nav a { font-size: 13px; }
  .portada { min-height: 375px; margin-top: 16px; }
  .portada-texto { padding-inline: 27px; }
  .portada-foto { left: 25%; }
  .portada-foto::after { background: linear-gradient(90deg, #e0f2fb 0%, rgb(224 242 251 / 84%) 29%, transparent 78%); }
  .equipos { margin-top: 44px; }
  .grilla { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .funcionamiento { margin-top: 55px; }
  .funcionamiento img { min-height: 230px; }
  .contacto { margin-bottom: 46px; }
  .detalle-foto { height: 295px; padding: 16px; }
  .detalle-informacion { grid-template-columns: 1fr; }
  .ficha { padding-bottom: 44px; }
}

@media (max-width: 560px) {
  .barra { grid-template-columns: 1fr auto; gap: 2px 12px; padding-block: 7px 1px; }
  .barra nav { grid-row: 2; grid-column: 1 / -1; gap: 24px; }
  .barra nav a { padding-block: 7px 8px; }
  .barra > .boton { grid-column: 2; grid-row: 1; }
  .barra .boton { min-height: 37px; padding: 7px 11px; font-size: 12px; }
  .barra .boton svg { width: 17px; height: 17px; }
  .portada { min-height: 0; border-radius: 23px; }
  .portada-texto { padding: 29px 21px 23px; }
  .portada h1 { font-size: clamp(35px, 8.2vw, 49px); line-height: 1.08; }
  .portada h1 br { display: none; }
  .portada p { margin: 13px 0 17px; }
  .portada-foto { grid-row: 2; position: relative; inset: auto; height: clamp(178px, 50vw, 250px); }
  .portada-foto img { object-position: 61% 56%; }
  .portada-foto::after { background: linear-gradient(#e0f2fb, transparent 36%); }
  .filtros { gap: 6px; }
  .filtros button { font-size: 12px; min-height: 38px; padding-inline: 9px; }
  .encabezado-seccion::after { display: none; }
  .tarjeta-enlace { border-radius: 19px; padding: 5px; }
  .tarjeta .foto-equipo { height: clamp(135px, 36vw, 180px); padding: 9px 12px; border-radius: 14px; }
  .tarjeta h3 { font-size: 22px; }
  .tarjeta p { font-size: 12px; line-height: 1.3; }
  .tarjeta-texto { padding: 11px 7px 9px; }
  .tarjeta .indicadores { grid-template-columns: 1fr; gap: 5px; margin: 11px 0 9px; }
  .tarjeta .indicadores > div + div { border-left: 0; padding-left: 0; }
  .tarjeta .indicadores dt { font-size: 11px; }
  .tarjeta .indicadores dd { font-size: 15px; }
  .tarjeta-accion { gap: 4px; font-size: 12px; }
  .tarjeta-accion svg { width: 14px; }
  .funcionamiento { grid-template-columns: 1fr; gap: 8px; padding: 10px; }
  .funcionamiento img { height: 205px; min-height: 0; }
  .contacto { align-items: flex-start; flex-direction: column; gap: 19px; }
  .pie-interior { flex-wrap: wrap; justify-content: flex-start; gap: 10px 20px; padding-block: 18px; }
  .pie-interior span { flex-basis: 100%; order: 1; }
  .detalle-portada { grid-template-columns: 1fr; gap: 22px; }
  .detalle-foto { height: clamp(245px, 72vw, 365px); }
  .detalle-texto .indicadores dd { font-size: clamp(16px, 5vw, 24px); }
  .ficha { padding-top: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
