/* Hoja de la web de disertic.com
 * ===============================
 *
 * Va DESPUES de `estilo-landing.css`, que se lee tal cual de
 * `marca/landings/` al construir (una sola copia de la hoja de las tres
 * landings). Aqui va lo que la web anade encima:
 *
 *   - la tipografia servida desde casa (nada de Google Fonts: pedirsela a
 *     Google en cada visita le manda la IP del visitante, y la web no pone
 *     ni una galleta; ver LEEME);
 *   - la cabecera, el menu y el pie de verdad, que en las landings eran de
 *     mentira (`.demo-*`);
 *   - el acento de las paginas de Disertic (`.landing--disertic`), que es el
 *     azul pizarra: el naranja del logo (#EF7D00) da 2,8:1 y no vale ni para
 *     letra ni para boton (memoria `identidad-tres-plataformas`);
 *   - las piezas que las landings no tenian: formularios, textos legales,
 *     el historial de versiones de Agora y los videos y mapas que no se
 *     cargan hasta que se pulsan.
 *
 * La web va CLARA siempre, como las landings y como el WordPress que
 * sustituye.
 */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fuentes/inter-variable.woff2") format("woff2");
}

:root { color-scheme: light; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: #FFFFFF;
  color: #0F1C23;
  font-family: Roboto, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

:focus-visible { outline: 3px solid #2A6F8F; outline-offset: 2px; }

.saltar {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  color: #0F1C23;
  padding: .6rem 1rem;
  border-radius: 8px;
  font: 600 15px/1.2 Inter, Roboto, sans-serif;
}
.saltar:focus { left: 12px; top: 12px; }

.env-sitio { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* --- Barra de contacto ---------------------------------------------------- */

.barra-contacto {
  background: #2A4250;
  color: #C6D6DE;
  font: 400 13px/1.5 Roboto, system-ui, sans-serif;
}
.barra-contacto .env-sitio {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .3rem 1.4rem;
  padding-top: .45rem;
  padding-bottom: .45rem;
}
.barra-contacto a { color: #E3ECF0; text-decoration: none; }
.barra-contacto a:hover { text-decoration: underline; }
.barra-contacto .horario { margin-right: auto; }
.barra-contacto .acceso {
  font-weight: 500;
  padding-left: 1.4rem;
  border-left: 1px solid rgba(255, 255, 255, .22);
}

/* --- Cabecera y menu ------------------------------------------------------ */

.cabecera {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #FFFFFF;
  border-bottom: 1px solid #DCE7EC;
}
.cabecera-fila { display: flex; align-items: center; gap: 1.5rem; min-height: 74px; }
.logo { display: block; flex: none; }
.logo img { display: block; height: 42px; width: auto; }

.menu { margin-left: auto; }
.menu-lista { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.menu-lista > li > a,
.desplegable-boton {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .6rem .75rem;
  border: 0;
  border-radius: 8px;
  background: none;
  color: #365261;
  font: 500 15px/1.2 Inter, Roboto, system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.menu-lista > li > a:hover,
.desplegable-boton:hover { background: #EFF4F7; color: #0F1C23; }
.menu-lista > li > a[aria-current="page"],
.desplegable:has([aria-current="page"]) > .desplegable-boton {
  color: #0F1C23;
  box-shadow: inset 0 -2px 0 #365261;
  border-radius: 8px 8px 0 0;
}

.desplegable { position: relative; }
.desplegable-boton::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .15s;
}
.desplegable-boton[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-1px); }

.desplegable-lista {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 270px;
  margin: 0;
  padding: .4rem;
  list-style: none;
  background: #FFFFFF;
  border: 1px solid #DCE7EC;
  border-radius: 12px;
  box-shadow: 0 18px 40px -22px rgba(15, 28, 35, .45);
}
/* Puente invisible para que el raton no pierda el desplegable al bajar. */
.desplegable-lista::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.desplegable-boton[aria-expanded="true"] + .desplegable-lista { display: block; }
@media (hover: hover) and (min-width: 1041px) {
  .desplegable:hover > .desplegable-lista { display: block; }
}
.desplegable-lista a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem .75rem;
  border-radius: 8px;
  color: #0F1C23;
  font: 500 15px/1.35 Roboto, system-ui, sans-serif;
  text-decoration: none;
}
.desplegable-lista a:hover { background: #EFF4F7; }
.desplegable-lista a[aria-current="page"] { background: #EFF4F7; font-weight: 700; }
.desplegable-lista b { display: block; font: 600 15px/1.2 Inter, Roboto, sans-serif; letter-spacing: -.2px; }
.desplegable-lista small { display: block; color: #4A5D66; font-size: 13px; margin-top: .1rem; }
.desplegable-lista .aro { width: 30px; height: 30px; flex: none; color: var(--acento, #365261); }

.boton-cabecera {
  background: #365261 !important;
  color: #FFFFFF !important;
  padding: .65rem 1.15rem !important;
  margin-left: .5rem;
  font-weight: 600 !important;
}
.boton-cabecera:hover { background: #2A4250 !important; }
.boton-cabecera[aria-current="page"] { box-shadow: none !important; border-radius: 8px !important; }

.menu-boton {
  display: none;
  align-items: center;
  gap: .55rem;
  margin-left: auto;
  padding: .6rem .85rem;
  border: 1px solid #C3D4DC;
  border-radius: 8px;
  background: #FFFFFF;
  color: #365261;
  font: 600 15px/1 Inter, Roboto, sans-serif;
  cursor: pointer;
}
.menu-boton-rayas,
.menu-boton-rayas::before,
.menu-boton-rayas::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .15s, opacity .15s;
}
.menu-boton-rayas { position: relative; }
.menu-boton-rayas::before, .menu-boton-rayas::after { content: ""; position: absolute; left: 0; }
.menu-boton-rayas::before { top: -6px; }
.menu-boton-rayas::after { top: 6px; }
.menu-abierto .menu-boton-rayas { background: transparent; }
.menu-abierto .menu-boton-rayas::before { transform: translateY(6px) rotate(45deg); }
.menu-abierto .menu-boton-rayas::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1040px) {
  .menu-boton { display: inline-flex; }
  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
    background: #FFFFFF;
    border-bottom: 1px solid #DCE7EC;
    box-shadow: 0 24px 40px -30px rgba(15, 28, 35, .5);
  }
  .menu-abierto .menu { display: block; }
  .menu-lista { flex-direction: column; align-items: stretch; gap: 0; padding: .4rem 24px 1.4rem; }
  .menu-lista > li > a,
  .desplegable-boton {
    width: 100%;
    justify-content: space-between;
    padding: .95rem .25rem;
    border-radius: 0;
    border-bottom: 1px solid #EFF4F7;
    font-size: 16px;
  }
  .menu-lista > li > a[aria-current="page"],
  .desplegable:has([aria-current="page"]) > .desplegable-boton { box-shadow: inset 3px 0 0 #365261; padding-left: .75rem; border-radius: 0; }
  .desplegable-lista {
    position: static;
    min-width: 0;
    padding: .3rem 0 .6rem .4rem;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .desplegable-lista::before { display: none; }
  .boton-cabecera { justify-content: center !important; margin: 1rem 0 0; }
}
@media (max-width: 640px) {
  .barra-contacto .horario, .barra-contacto .correo { display: none; }
  .barra-contacto .acceso { margin-left: auto; }
  .logo img { height: 36px; }
  .cabecera-fila { min-height: 66px; }
}

/* --- Pie ------------------------------------------------------------------ */

.pie {
  background: #27424F;
  color: #C6D6DE;
  font: 400 14px/1.75 Roboto, system-ui, sans-serif;
  padding: 56px 0 28px;
}
.pie-rejilla { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 36px; }
.pie-logo { display: block; height: 42px; width: auto; margin-bottom: 1.1rem; }
.pie h2 { font: 600 15px/1.4 Inter, Roboto, sans-serif; color: #FFFFFF; margin: 0 0 .7rem; letter-spacing: 0; }
.pie p { margin: 0 0 .5rem; }
.pie ul { list-style: none; margin: 0; padding: 0; }
.pie a { color: #DCE7EC; text-decoration: none; }
.pie a:hover { color: #FFFFFF; text-decoration: underline; }
.pie-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .4rem 1.5rem;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: #A9BEC8;
  font-size: 13px;
}
@media (max-width: 900px) { .pie-rejilla { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pie-rejilla { grid-template-columns: 1fr; } }

/* --- El acento de las paginas de Disertic -------------------------------- */

.landing--disertic {
  --primario: #365261;
  --primario-vivo: #2A4250;
  --primario-tinte: #E6EEF2;
}
/* En las franjas oscuras el boton de relleno seria pizarra sobre pizarra. */
.landing--disertic .oscuro .boton:not(.fantasma) { background: #FFFFFF; color: #27424F; }
.landing--disertic .oscuro .boton:not(.fantasma):hover { background: #DCE7EC; }

/* Los acentos de producto, para cualquier pieza que no sea `.hermana`. */
.a-reservas { --acento: #B25600; }
.a-fichajes { --acento: #146A78; }
.a-colas    { --acento: #7C3577; }
.a-llama    { --acento: #2C6E49; }
.a-certificados { --acento: #3A3E8F; }
.landing .a-reservas { --primario: #B25600; --primario-vivo: #8E4500; --primario-tinte: #FBF0E6; }
.landing .a-fichajes { --primario: #146A78; --primario-vivo: #0F5460; --primario-tinte: #E7F1F3; }
.landing .a-colas    { --primario: #7C3577; --primario-vivo: #632A5F; --primario-tinte: #F3EAF2; }
.landing .a-llama    { --primario: #2C6E49; --primario-vivo: #225A3B; --primario-tinte: #EAF2ED; }
.landing.a-certificados, .landing .a-certificados { --primario: #3A3E8F; --primario-vivo: #2E3272; --primario-tinte: #ECECF6; }

/* --- Portadas ------------------------------------------------------------- */

.landing .portada-sola .env { grid-template-columns: minmax(0, 1fr); }
.landing .portada-sola h1 { margin-top: 0; }

.landing .portada-visual { position: relative; }
.landing .portada-visual .foto { display: block; width: 100%; max-width: 440px; height: auto; margin-left: auto; }
.landing .portada-visual .tpv {
  position: absolute;
  left: 0;
  bottom: -4%;
  width: 60%;
  height: auto;
  filter: drop-shadow(0 26px 30px rgba(15, 28, 35, .32));
}
.landing .portada .logo-marca { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; }
.landing .logo-socio { display: block; height: 72px; width: auto; margin-left: -10px; }
.landing .partido.arriba { align-items: start; }
.landing .portada .producto { display: block; width: 100%; max-width: 460px; height: auto; margin: 0 auto; }
.landing .novedad { margin-top: 1.4rem; font-size: .95rem; color: var(--suave); }
/* En las landings el h2 siempre va seguido de .entradilla, que trae su
   margen; en las paginas de Disertic a veces va un parrafo normal. */
.landing h2 + p:not(.entradilla), .landing h2 + ul { margin-top: 1rem; }
/* La chapa «Nuevo en Disertic» y el logo del producto, cada uno en su linea. */
.landing .portada .marca-grande { display: flex; width: fit-content; }
.landing .novedad a { font-weight: 600; }

/* La tira de partners. */
.landing .socios { padding: 26px 0; border-bottom: 1px solid var(--linea); }
.landing .socios .env { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 2.6rem; }
.landing .socios .ante { margin: 0; }
.landing .socios-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 2.4rem; }
.landing .socios-logos img { display: block; height: 66px; width: auto; }

/* --- Figuras ---------------------------------------------------------------- */

.landing .figura { margin: 0; }
.landing .figura img { display: block; width: 100%; height: auto; margin: 0 auto; }
.landing .figura.contenida img { max-width: 520px; }
.landing .figura.foto img { border-radius: 14px; box-shadow: 0 18px 40px -24px rgba(15, 28, 35, .45); }
.landing .lista-si + .botones { margin-top: 1.4rem; }

/* --- Historial de versiones de Agora ------------------------------------ */

.landing .changelog {
  background: var(--tarjeta);
  border: 1px solid var(--linea);
  border-radius: 12px;
  padding: clamp(1.2rem, 3vw, 1.8rem);
}
.landing .changelog label { display: block; margin-bottom: .4rem; font: 600 .92rem/1.3 Inter, Roboto, sans-serif; }
.landing .changelog select {
  min-width: min(100%, 300px);
  padding: .65rem .8rem;
  border: 1px solid #768F9C;
  border-radius: 8px;
  background: #FFFFFF;
  color: var(--tinta);
  font: inherit;
  font-size: 1rem;
}
.landing .changelog h3 { margin: 1.5rem 0 .6rem; }
.landing .changelog-lista ul { list-style: disc; padding-left: 1.25rem; }
.landing .changelog-lista li { margin: .35rem 0; color: #25343B; font-size: .96rem; }
.landing .changelog-lista p { color: var(--suave); }

/* --- Video y mapa: no se cargan hasta que se pulsan ------------------------
 *
 * Vimeo y Google Maps ponen sus galletas en cuanto se incrusta el iframe.
 * La web no pone ninguna, asi que el iframe solo entra cuando el visitante
 * lo pide. Hasta entonces no se hace ni una peticion a esos sitios.
 */
.landing .embebido {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  background: #1C2F38;
  box-shadow: 0 18px 40px -24px rgba(15, 28, 35, .45);
}
.landing .embebido > img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.landing .embebido iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.landing .embebido-boton {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: .7rem;
  padding: 1rem;
  border: 0;
  background: linear-gradient(0deg, rgba(15, 28, 35, .72), rgba(15, 28, 35, .25));
  color: #FFFFFF;
  font: 600 1.05rem/1.3 Inter, Roboto, sans-serif;
  text-align: center;
  cursor: pointer;
}
.landing .embebido-boton small { font: 400 .85rem/1.4 Roboto, system-ui, sans-serif; color: #E3ECF0; max-width: 34ch; }
.landing .embebido-boton .play {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #27424F;
  transition: transform .15s;
}
.landing .embebido-boton:hover .play { transform: scale(1.06); }
.landing .embebido-boton .play svg { width: 28px; height: 28px; }
.landing .embebido.mapa { aspect-ratio: auto; height: clamp(240px, 32vw, 380px); background: #DCE7EC; }
.landing .embebido.mapa .embebido-boton { background: #E6EEF2; color: #0F1C23; }
.landing .embebido.mapa .embebido-boton small { color: var(--suave); }
.landing .embebido.mapa .play { background: #365261; color: #FFFFFF; }
.landing .bajo-embebido { margin-top: .8rem; font-size: .92rem; color: var(--suave); }

/* --- Formularios ---------------------------------------------------------- */

.landing .formulario {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--tarjeta);
  border: 1px solid var(--linea);
  border-radius: 14px;
  box-shadow: 0 18px 40px -28px rgba(15, 28, 35, .35);
}
.landing .formulario .titular { font-size: 1.35rem; margin-bottom: .2rem; }
.landing .campo label { display: block; margin-bottom: .35rem; font: 600 .92rem/1.3 Inter, Roboto, sans-serif; }
.landing .campo input,
.landing .campo textarea,
.landing .campo select {
  width: 100%;
  padding: .75rem .85rem;
  border: 1px solid #768F9C;
  border-radius: 8px;
  background: #FFFFFF;
  color: var(--tinta);
  font: inherit;
  font-size: 1rem;
}
.landing .campo textarea { min-height: 140px; resize: vertical; }
.landing .campo input:focus,
.landing .campo textarea:focus,
.landing .campo select:focus { outline: 3px solid rgba(54, 82, 97, .3); outline-offset: 0; border-color: #365261; }
/* La trampa para robots: un campo que una persona no ve ni rellena. */
.landing .campo.trampa { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.landing .dos-campos { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.landing .info-rgpd { margin: 0; font-size: .82rem; line-height: 1.5; color: var(--suave); }
.landing .formulario .boton { justify-self: start; }
.landing .formulario .boton[disabled] { opacity: .6; cursor: wait; }
.landing .estado-formulario { margin: 0; font-size: .95rem; }
.landing .estado-formulario:empty { display: none; }
.landing .estado-formulario.error { color: #A12A2A; }
.landing .enviado {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: #EAF4EF;
  border: 1px solid #B7D8C8;
  border-radius: 14px;
  outline: none;
}
.landing .enviado-titulo { font: 600 1.25rem/1.3 Inter, Roboto, sans-serif; color: var(--exito); margin: 0 0 .4rem; }
@media (max-width: 560px) { .landing .dos-campos { grid-template-columns: 1fr; } }

/* --- Contacto ------------------------------------------------------------- */

.landing .telefono-grande {
  display: inline-block;
  margin: .2rem 0 1.4rem;
  font: 700 clamp(1.8rem, 1.3rem + 2vw, 2.6rem)/1.1 Inter, Roboto, sans-serif;
  letter-spacing: -.02em;
  color: var(--tinta);
  text-decoration: none;
}
.landing .telefono-grande:hover { color: var(--primario); }
.landing .formas-contacto li { display: flex; gap: .8rem; align-items: flex-start; padding: .55rem 0; }
.landing .formas-contacto svg { width: 22px; height: 22px; flex: none; margin-top: .15rem; color: var(--primario); }

/* --- Textos largos (legales) ---------------------------------------------- */

.landing .texto-largo { max-width: 780px; }
.landing .texto-largo h2 { font-size: 1.35rem; margin: 2.3rem 0 .8rem; }
.landing .texto-largo p, .landing .texto-largo li { color: #25343B; font-size: 1rem; }
.landing .texto-largo ul { list-style: disc; padding-left: 1.3rem; margin: 0 0 1rem; }
.landing .texto-largo li { margin: .4rem 0; }
.landing .texto-largo a { overflow-wrap: anywhere; }

/* --- Kit Consulting ------------------------------------------------------- */

.landing .banda-financiacion { padding: 16px 0; background: #FFFFFF; border-bottom: 1px solid var(--linea); }
.landing .banda-financiacion.al-pie { border-top: 1px solid var(--linea); border-bottom: 0; }
.landing .banda-financiacion img { display: block; width: 100%; max-width: 1060px; height: auto; margin: 0 auto; }
.landing .kit-logo { display: block; width: 100%; max-width: 300px; height: auto; margin-bottom: 1.2rem; }
.landing .segmentos { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 1.6rem; }
.landing .segmento { padding: 1.2rem 1.3rem; background: var(--tarjeta); border: 1px solid var(--linea); border-radius: 12px; }
.landing .segmento .letra { font: 600 .78rem/1 Inter, Roboto, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--primario); }
.landing .segmento .cuantia { display: block; margin: .45rem 0 .25rem; font: 700 1.7rem/1.1 Inter, Roboto, sans-serif; color: var(--tinta); }
.landing .segmento span { color: var(--suave); font-size: .94rem; }
.landing .soluciones-kit { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: .6rem 1.4rem; margin-top: 1.4rem; }
.landing .servicios { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(16px, 2vw, 24px); }
.landing .servicio {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--tarjeta);
  border: 1px solid var(--linea);
  border-radius: 12px;
}
.landing .servicio h3 { margin-bottom: .6rem; }
.landing .servicio > p { color: var(--suave); font-size: .96rem; }
.landing .servicio details { margin: .4rem 0 1rem; }
.landing .servicio summary { cursor: pointer; color: var(--primario); font: 600 .95rem/1.4 Inter, Roboto, sans-serif; padding: .3rem 0; }
.landing .servicio details ul { list-style: disc; padding-left: 1.2rem; margin-top: .4rem; }
.landing .servicio details li { margin: .4rem 0; color: #25343B; font-size: .94rem; }
.landing .servicio .precio {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--linea);
  font: 500 .95rem/1.4 Inter, Roboto, sans-serif;
  color: var(--suave);
}
.landing .servicio .precio b { color: var(--tinta); font-size: 1.2rem; font-weight: 700; }

/* --- Acceso de clientes ------------------------------------------------- */

.landing .accesos { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: clamp(16px, 2vw, 24px); }
.landing .acceso-tarjeta {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  padding: 1.6rem 1.5rem;
  background: var(--tarjeta);
  border: 1px solid var(--linea);
  border-top: 4px solid var(--primario);
  border-radius: 12px;
}
.landing .acceso-tarjeta p { margin: 0; color: var(--suave); font-size: .96rem; }
.landing .acceso-tarjeta .botones { margin-top: auto; padding-top: .4rem; flex-direction: column; align-items: stretch; }
.landing .acceso-tarjeta .boton { width: 100%; }

/* --- El escaparate de videos de la portada ---------------------------------
 *
 * Un reproductor y una pestaña por plataforma, cada una con su acento. El
 * marco y el reparto apaisado/vertical son los de estilo-landing.css
 * (.video-marco), los mismos de las landings.
 */
.landing .escaparate { margin-top: clamp(40px, 5vw, 64px); text-align: center; }
.landing .escaparate-titulo { margin-bottom: 1.1rem; }
.landing .escaparate-pestanas {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem;
  margin-bottom: 1.4rem;
}
.landing .escaparate-pestanas button {
  font: 600 1rem/1 Inter, Roboto, sans-serif;
  padding: .7rem 1.2rem;
  min-height: 44px;
  border-radius: 999px;
  border: 2px solid var(--primario);
  background: var(--tarjeta);
  color: var(--primario);
  cursor: pointer;
}
.landing .escaparate-pestanas button:hover { background: var(--primario-tinte); }
.landing .escaparate-pestanas button[aria-pressed="true"] { background: var(--primario); color: var(--primario-tinta); }
.landing .escaparate-pestanas button:focus-visible { outline: 3px solid var(--pizarra); outline-offset: 2px; }

/* --- La tienda -------------------------------------------------------------
 *
 * Dos fichas de producto (cada una con su acento, por .a-reservas y
 * .a-fichajes) y el carrito al lado, pegado al hacer scroll. En el movil, el
 * carrito va debajo. Todo el carrito es el <form>: ver sitio.js, apartado 8.
 */
.landing .tienda { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(20px, 3vw, 32px); align-items: start; }
.landing .tienda-productos { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(16px, 2vw, 24px); }
.landing .producto {
  display: flex; flex-direction: column; gap: .5rem;
  background: var(--tarjeta); border: 1px solid var(--linea); border-top: 5px solid var(--primario);
  border-radius: 12px; padding: 1.5rem;
}
.landing .producto-plan { font: 600 1.15rem/1.2 Inter, Roboto, sans-serif; margin: .4rem 0 0; }
.landing .producto-precio { margin: 0; color: var(--primario); }
.landing .producto-precio b { font: 700 2.4rem/1 Inter, Roboto, sans-serif; }
.landing .producto-precio small { color: var(--suave); font-size: .9rem; }
.landing .producto-alta { margin: 0 0 .4rem; color: var(--suave); font-size: .93rem; }
.landing .producto .lista-si { margin: .2rem 0 .4rem; }
.landing .producto-nota { font-size: .88rem; color: var(--suave); margin: 0 0 .6rem; }
.landing .producto .boton { margin-top: auto; }
.landing .cantidad { display: flex; align-items: center; gap: .5rem; margin: .2rem 0 .6rem; }
.landing .cantidad label { margin-right: auto; font-weight: 600; }
.landing .cantidad input {
  width: 3.4rem; min-height: 44px; text-align: center; font: 600 1.05rem Inter, Roboto, sans-serif;
  border: 1px solid #B9CCD6; border-radius: 8px; background: var(--tarjeta); color: var(--tinta);
}
.landing .cantidad-boton {
  width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--primario);
  background: var(--tarjeta); color: var(--primario); font: 700 1.3rem/1 Inter, Roboto, sans-serif; cursor: pointer;
}
.landing .cantidad-boton:hover { background: var(--primario-tinte); }
/* Sin sticky: con los datos de factura es mas alto que la pantalla y el
   boton de pagar se quedaba fuera de la vista. */
.landing .carrito {
  background: var(--fondo); border: 1px solid var(--linea); border-radius: 12px; padding: 1.4rem;
}
.landing .carrito h2 { font-size: 1.35rem; margin-bottom: .8rem; }
.landing .carrito-vacio { color: var(--suave); }
.landing .carrito-lineas { margin: 0 0 .8rem; padding: 0; list-style: none; font-size: .95rem; }
.landing .carrito-lineas li { padding: .35rem 0; border-bottom: 1px solid var(--linea); }
.landing .carrito-cuentas { margin: 0 0 1rem; font-size: .95rem; }
.landing .carrito-cuentas div { display: flex; justify-content: space-between; gap: 1rem; padding: .2rem 0; }
.landing .carrito-cuentas dt { color: var(--suave); }
.landing .carrito-cuentas dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.landing .carrito-hoy { border-top: 2px solid var(--pizarra); margin-top: .4rem; padding-top: .5rem !important; }
.landing .carrito-hoy dt, .landing .carrito-hoy dd { color: var(--tinta); font: 700 1.15rem Inter, Roboto, sans-serif; }
.landing .carrito-datos { border: 0; padding: 0; margin: 1.2rem 0 1rem; display: grid; gap: .8rem; min-width: 0; }
.landing .carrito-datos legend { padding: 0; margin-bottom: .6rem; font: 700 1.05rem Inter, Roboto, sans-serif; color: var(--tinta); }
.landing .carrito-acepto { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; margin: .4rem 0 1rem; }
.landing .carrito-acepto input { width: 20px; height: 20px; margin-top: .15rem; flex: none; }
.landing .carrito-pagar { width: 100%; }
.landing .carrito-pagar:disabled { opacity: .45; cursor: not-allowed; }
.landing .carrito-letra { font-size: .82rem; color: var(--suave); margin: .8rem 0 0; }
.landing .tienda-aviso {
  background: #FFF6E5; border: 1px solid #E8C08A; color: #5C4012;
  border-radius: 10px; padding: .8rem 1rem; margin: 0 0 1.4rem;
}
@media (max-width: 900px) {
  .landing .tienda { grid-template-columns: 1fr; }
}
