/* The home page (descargas.html): a page to show the app off, livelier than the rest of the site.
   Everything here hangs from body.portada, so comunidad.css keeps ruling the other pages. */

@font-face { font-family: "Inter Display"; src: url(fuentes/InterDisplay-ExtraBold.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url(fuentes/Inter-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url(fuentes/Inter-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }

body.portada {
  --noche: #08240f;
  --verde: #0e3a1e;
  --verde-2: #165a30;
  --verde-claro: #e7f1e9;
  --crema: #f6f1e4;
  --papel: #fbfaf6;
  --tinta: #13221a;
  --gris: #4b5a51;
  --naranja: #c2410c;
  --naranja-oscuro: #a8380a;
  --turquesa: #00727c;
  --linea: rgba(19, 34, 26, .1);
  --radio-grande: 28px;
  --suave: cubic-bezier(.2, .7, .2, 1);
  font: 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--tinta);
  background: var(--papel);
  overflow-x: clip;
}
html:has(body.portada) { background: var(--papel); scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
.portada main { overflow-x: clip; }

.portada main { max-width: none; margin: 0; padding: 0; }
.portada h1, .portada h2, .portada h3 { font-family: "Inter Display", Inter, system-ui, sans-serif; font-weight: 800; letter-spacing: -.02em; color: inherit; }
.portada a { color: var(--turquesa); }
.portada :focus-visible { outline: 3px solid #f59e0b; outline-offset: 3px; border-radius: 8px; }

.saltar { position: absolute; left: -999px; top: 8px; z-index: 50; padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--tinta) !important; font-weight: 600; }
.saltar:focus { left: 12px; }

/* ---------------------------------------------------------------- the bar on top */

.portada #barra {
  position: fixed; left: 0; right: 0; top: 0; z-index: 30;
  margin: 12px auto 0; max-width: 1180px; width: calc(100% - 24px);
  background: rgba(8, 36, 15, .35); border-color: rgba(255, 255, 255, .14);
  box-shadow: none; backdrop-filter: blur(12px) saturate(140%);
  transition: background .35s, box-shadow .35s, border-color .35s;
}
.portada #barra .marca, .portada #barra nav a { color: #fff; }
.portada #barra .marca { white-space: nowrap; flex-shrink: 0; }
.portada #barra nav a:hover { background: rgba(255, 255, 255, .14); }
.portada #barra.solido { background: rgba(251, 250, 246, .9); border-color: var(--linea); box-shadow: 0 8px 30px rgba(8, 36, 15, .12); }
.portada #barra.solido .marca, .portada #barra.solido nav a { color: var(--tinta); }
.portada #barra.solido nav a:hover { background: var(--verde-claro); }
.portada #barra nav a.nav-descargar { background: var(--naranja); color: #fff; }
.portada #barra nav a.nav-descargar:hover { background: var(--naranja-oscuro); }
.portada #barra select { background: rgba(255, 255, 255, .9); }

/* The menu for narrow screens: the links that do not fit in the bar. */
.portada .menu-movil { display: none; position: static; }
.portada .menu-movil summary { list-style: none; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border-radius: 50%; color: #fff; cursor: pointer; }
.portada .menu-movil summary::-webkit-details-marker { display: none; }
.portada #barra.solido .menu-movil summary { color: var(--tinta); }
.portada .menu-movil summary:hover { background: rgba(255, 255, 255, .14); }
.portada .menu-movil-lista {
  position: absolute; right: 10px; top: calc(100% + 8px); z-index: 40; min-width: 190px; max-width: calc(100vw - 32px); padding: 8px;
  display: flex; flex-direction: column; border-radius: 18px; background: #fff; box-shadow: 0 18px 40px rgba(8, 36, 15, .2);
}
.portada #barra .menu-movil-lista a { color: var(--tinta); padding: 10px 14px; border-radius: 12px; }
.portada #barra .menu-movil-lista a:hover { background: var(--verde-claro); }

/* ---------------------------------------------------------------- hero */

.heroe {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; padding: 120px 24px 130px;
  color: #fff;
  background:
    radial-gradient(1200px 600px at 85% 15%, rgba(232, 89, 12, .28), transparent 60%),
    radial-gradient(900px 700px at 10% 100%, rgba(0, 131, 143, .35), transparent 60%),
    linear-gradient(160deg, #0b2e18 0%, #0e3a1e 45%, #123f24 100%);
}
.heroe-fondo {
  position: absolute; inset: -10%; z-index: -1; opacity: .16;
  background: url(img/curvas.svg) center / 900px auto repeat;
  animation: deriva 60s linear infinite;
}
@keyframes deriva { to { background-position: 900px 300px; } }

.heroe-dentro {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px;
  min-height: calc(100svh - 210px);
}
.antetitulo {
  display: inline-block; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2);
}
.heroe h1 { font-size: clamp(38px, 6vw, 72px); line-height: 1.02; margin: 0 0 20px; }
.resalte {
  background: linear-gradient(90deg, #ffb37a, #ff7a2f 50%, #ffd29e);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.heroe .entradilla { font-size: clamp(17px, 1.6vw, 20px); max-width: 34em; margin: 0 0 30px; color: rgba(255, 255, 255, .85); }

.descarga-rapida { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.boton-grande {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 26px 14px 16px; border-radius: 999px;
  background: linear-gradient(135deg, #c94a0c, #a8380a);
  color: #fff !important; text-decoration: none !important;
  box-shadow: 0 14px 34px rgba(194, 65, 12, .45), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .25s var(--suave), box-shadow .25s;
}
.boton-grande:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(194, 65, 12, .55), inset 0 1px 0 rgba(255, 255, 255, .25); }
.boton-icono { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.boton-textos { display: flex; flex-direction: column; line-height: 1.25; }
.boton-titulo { font-weight: 700; font-size: 18px; }
.boton-detalle { font-size: 14px; }
.otras-versiones { color: rgba(255, 255, 255, .85) !important; font-weight: 600; font-size: 15px; text-decoration: underline !important; text-underline-offset: 4px; }
.nota-heroe { margin: 16px 0 0; font-size: 14px; color: rgba(255, 255, 255, .75); }

/* The phone and the laptop, one behind the other. */
.heroe-aparatos { position: relative; height: min(620px, 70vh); perspective: 1400px; }
.heroe-aparatos .portatil { position: absolute; right: -40px; top: 12%; width: 108%; transform: rotateY(-14deg) rotateX(4deg); transform-origin: right center; }
.heroe-aparatos .movil-heroe { position: absolute; left: 4%; bottom: -2%; width: 38%; transform: rotate(-5deg); animation: flota 7s ease-in-out infinite; }
@keyframes flota { 50% { translate: 0 -14px; } }

.movil {
  position: relative; border-radius: 34px; padding: 9px; background: #0d0f0e;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .08) inset;
}
.movil img { display: block; width: 100%; height: auto; border-radius: 26px; }
.movil::before { content: ''; position: absolute; top: 18px; left: 50%; width: 9px; height: 9px; margin-left: -4px; border-radius: 50%; background: #000; z-index: 1; }

.portatil-pantalla {
  position: relative; overflow: hidden; border-radius: 14px 14px 4px 4px;
  border: 10px solid #121413; border-bottom-width: 14px; background: #121413;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
}
.portatil-pantalla img { display: block; width: 100%; height: auto; }
.portatil-base { height: 14px; margin: 0 -6%; border-radius: 0 0 16px 16px; background: linear-gradient(#cfd3d1, #9aa09d); box-shadow: 0 16px 30px rgba(0, 0, 0, .25); }

.bajar-flecha { position: absolute; left: 50%; bottom: 76px; margin-left: -20px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff !important; background: rgba(255, 255, 255, .1); animation: rebota 2.4s ease-in-out infinite; }
@keyframes rebota { 50% { translate: 0 6px; } }

/* ---------------------------------------------------------------- figures */

.pt-datos {
  position: relative; z-index: 2;
  max-width: 1100px; margin: -56px auto 0; padding: 0 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.pt-dato {
  padding: 22px 22px 20px; border-radius: 22px; background: #fff;
  border: 1px solid var(--linea); box-shadow: 0 18px 40px rgba(8, 36, 15, .1);
}
.pt-numero { display: block; font-family: "Inter Display", Inter, sans-serif; font-weight: 800; font-size: 40px; line-height: 1.1; color: var(--verde-2); }
.pt-dato span { display: block; margin-top: 6px; font-size: 15px; color: var(--gris); line-height: 1.4; }

/* ---------------------------------------------------------------- sections */

.cabecera-seccion { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.cabecera-seccion .antetitulo { color: var(--verde-2); background: var(--verde-claro); border-color: transparent; }
.cabecera-seccion h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; margin: 0 0 16px; }
.cabecera-seccion p:not(.antetitulo) { font-size: 19px; color: var(--gris); margin: 0; }
.cabecera-seccion.clara .antetitulo { color: #fff; background: rgba(255, 255, 255, .12); }
.cabecera-seccion.clara p:not(.antetitulo) { color: rgba(255, 255, 255, .8); }

.funciones { max-width: 1180px; margin: 0 auto; padding: 120px 24px 40px; }
.funcion { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 72px; padding: 50px 0; }
.funcion.al-reves .funcion-imagenes { order: 2; }
.funcion-imagenes { position: relative; display: flex; justify-content: center; align-items: flex-start; }
.funcion-imagenes::before {
  content: ''; position: absolute; inset: 8% 4%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 90, 48, .22), transparent 65%); filter: blur(10px);
}
.funcion-imagenes .movil { width: min(300px, 70%); }
.funcion-imagenes.dos .movil { width: min(270px, 52%); }
.funcion-imagenes.dos .movil.detras { margin-left: -12%; margin-top: 70px; transform: rotate(4deg); z-index: -1; }
.funcion-imagenes.dos .movil:first-child { transform: rotate(-3deg); }
.pt-etiqueta { display: inline-block; margin-bottom: 12px; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--naranja-oscuro); background: #fdebdc; }
.funcion-texto h3 { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; margin: 0 0 16px; }
.funcion-texto p { font-size: 18px; color: var(--gris); margin: 0 0 18px; }
.lista-ventajas { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lista-ventajas li { position: relative; padding-left: 34px; color: var(--tinta); }
.lista-ventajas li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--verde-claro) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23165a30' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* The community drawn in the page itself, with made-up groups: no real place nor person. */
.movil-html { width: min(300px, 70%); min-width: 0; container-type: inline-size; }
.pantalla-falsa {
  aspect-ratio: 540 / 1209; overflow: hidden; border-radius: 2.08em; padding: 2.72em 1.12em 1.12em;
  background: #eef5ef; color: #374151; font-size: 4.6cqw; line-height: 1.35;
}
.pf-cabecera { font-family: "Inter Display", Inter, sans-serif; font-weight: 800; font-size: 1.52em; color: var(--tinta); margin-bottom: 0.8em; }
.pf-intro { display: flex; align-items: center; gap: 0.64em; margin-bottom: 0.8em; color: #555c68; font-size: 0.92em; }
.pf-crear { flex: none; padding: 0.48em 0.96em; border-radius: 79.9em; background: #00838f; color: #fff; font-weight: 600; }
.pf-buscar { display: flex; align-items: center; gap: 0.64em; padding: 0.72em 0.96em; border-radius: 79.9em; background: #fff; color: #6b7280; margin-bottom: 0.64em; }
.pf-buscar svg { width: 1.2em; height: 1.2em; flex: none; }
.pf-filtros { display: flex; flex-wrap: wrap; gap: 0.4em; margin-bottom: 0.96em; }
.pf-filtros span { padding: 0.32em 0.72em; border-radius: 79.9em; background: #d9e6db; font-weight: 600; font-size: 0.92em; }
.pf-grupo { position: relative; display: flex; gap: 0.8em; align-items: flex-start; padding: 0.8em; margin-bottom: 0.64em; border-radius: 1.28em; background: #d9e6db; }
.pf-icono { flex: none; display: grid; place-items: center; width: 3.04em; height: 3.04em; border-radius: 0.96em; color: #fff; }
.pf-icono svg { width: 1.76em; height: 1.76em; }
.pf-icono.moto { background: #b45309; }
.pf-icono.bici { background: #00838f; }
.pf-icono.quad { background: #2e7d32; }
.pf-datos { display: flex; flex-direction: column; min-width: 0; }
.pf-datos strong { color: var(--tinta); font-size: 1.08em; }
.pf-desc { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-hechos { display: flex; flex-wrap: wrap; gap: 0 0.8em; }
.pf-hechos small { color: #555c68; font-size: 0.92em; }
.pf-dentro { position: absolute; right: 0.64em; top: 0.64em; padding: 0.16em 0.64em; border-radius: 79.9em; font-size: 0.84em; font-weight: 600; color: #2e7d32; background: rgba(46, 125, 50, .14); }
.pf-invitacion { margin-top: 0.96em; text-align: center; font-weight: 600; color: #006f79; }

.aviso-apk { font-size: 14px !important; padding: 8px 12px; border-radius: 12px; color: #1e3a8a; background: #e8eefc; }
.tu-aviso { display: inline-block; margin: 14px 0 0; padding: 8px 14px; border-radius: 12px; font-size: 15px; color: #1e3a8a; background: #e8eefc; }

/* ---------------------------------------------------------------- more */

.mas { padding: 100px 24px 120px; background: linear-gradient(180deg, var(--papel), var(--verde-claro)); }
.rejilla { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ficha {
  padding: 28px; border-radius: 24px; background: #fff; border: 1px solid var(--linea);
  box-shadow: 0 10px 30px rgba(8, 36, 15, .06);
  transition: transform .35s var(--suave), box-shadow .35s;
}
.ficha:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(8, 36, 15, .12); }
.ficha-icono { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, var(--verde-2), var(--turquesa)); }
.ficha-icono svg { width: 26px; height: 26px; }
.ficha h3 { font-size: 21px; margin: 0 0 8px; }
.ficha p { margin: 0; font-size: 16px; color: var(--gris); }

/* ---------------------------------------------------------------- the computer */

.ordenador {
  padding: 120px 24px 130px; color: #fff; overflow: hidden;
  background:
    radial-gradient(900px 500px at 50% 0%, rgba(0, 131, 143, .35), transparent 70%),
    linear-gradient(180deg, var(--noche), var(--verde));
}
.ordenador-dentro { max-width: 1060px; margin: 0 auto; }
.selector-capturas { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -24px 0 36px; }
.pestana-captura {
  padding: 10px 18px; border-radius: 999px; cursor: pointer;
  font: 600 15px Inter, system-ui, sans-serif; color: rgba(255, 255, 255, .85);
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  transition: background .25s, color .25s;
}
.pestana-captura:hover { background: rgba(255, 255, 255, .16); }
.pestana-captura[aria-selected="true"] { background: #fff; color: var(--verde); }
.portatil.grande { max-width: 1000px; margin: 0 auto; }
.portatil.grande .portatil-pantalla { aspect-ratio: 1400 / 900; }
.portatil.grande .captura { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.portatil.grande .captura.activa { opacity: 1; }
.portatil.grande .captura img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------------- download */

.descargar { padding: 120px 24px 60px; max-width: 1100px; margin: 0 auto; }
.tu-descarga {
  position: relative; max-width: 680px; margin: 0 auto; padding: 40px 36px 32px; text-align: center;
  border-radius: var(--radio-grande); border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--naranja), var(--turquesa), var(--verde-2)) border-box;
  box-shadow: 0 30px 70px rgba(8, 36, 15, .14);
}
.tu-sistema { margin: 0 0 20px; font-size: 18px; color: var(--gris); }
.tu-sistema strong { color: var(--tinta); }
.tu-botones { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.tu-botones .boton-grande { padding-right: 30px; }
.tu-botones .boton-secundario {
  display: inline-flex; align-items: center; padding: 14px 22px; border-radius: 999px; font-weight: 600;
  color: var(--verde-2) !important; background: var(--verde-claro); text-decoration: none !important;
}
.tu-botones .boton-secundario:hover { background: #d6e8da; }
.tu-nota { margin: 18px 0 0; font-size: 15px; color: var(--gris); }
.otras-boton {
  margin-top: 22px; padding: 8px 16px; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 15px Inter, system-ui, sans-serif; color: var(--turquesa); background: transparent;
}
.otras-boton::after { content: ' ▾'; font-size: 12px; display: inline-block; transition: transform .3s; }
.otras-boton[aria-expanded="true"]::after { transform: rotate(180deg); }
.otras-boton:hover { background: var(--verde-claro); }

.otras {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px;
  margin: 32px 0 0; animation: despliega .45s var(--suave);
}
@keyframes despliega { from { opacity: 0; transform: translateY(-10px); } }
.sistema { padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--linea); }
.sistema h3 { margin: 0 0 4px; font-size: 20px; }
.sistema p { margin: 0 0 8px; font-size: 15px; }
.sistema.suyo { border-color: var(--turquesa); box-shadow: 0 0 0 2px rgba(0, 131, 143, .2); }
.sistema details summary { cursor: pointer; color: var(--turquesa); font-weight: 600; font-size: 15px; }
.sistema details ul { padding-left: 18px; margin: 8px 0 0; font-size: 14px; }
.sistema details li { margin-bottom: 6px; }
.sistema code { background: var(--verde-claro); padding: 1px 6px; border-radius: 6px; font-size: 13px; word-break: break-all; }
.portada .apagado { color: var(--gris); }
.nota-programa { text-align: center; font-size: 15px; margin: 28px 0 0; }

.antes-de-salir { max-width: 760px; margin: 40px auto 100px; padding: 0 24px; text-align: center; color: var(--gris); }
.antes-de-salir h2 { font-size: 22px; color: var(--tinta); margin: 0 0 8px; }

/* ---------------------------------------------------------------- footer */

.pie-portada { padding: 50px 24px 40px; text-align: center; color: rgba(255, 255, 255, .78); background: var(--noche); }
.pie-marca { display: inline-flex; align-items: center; gap: 10px; font-family: "Inter Display", Inter, sans-serif; font-weight: 800; font-size: 22px; color: #fff; }
.pie-marca img { border-radius: 8px; }
.pie-enlaces { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 20px 0; }
.pie-enlaces a { color: #fff !important; font-weight: 600; font-size: 15px; }
.pie-creditos { margin: 0; font-size: 13px; }

/* ---------------------------------------------------------------- appearing as one scrolls */

.js .aparece, .js .aparece-lado { opacity: 0; transition: opacity .9s var(--suave), transform .9s var(--suave); transition-delay: var(--retardo, 0s); }
.js .aparece { transform: translateY(34px); }
.js .aparece-lado { transform: translateX(-50px) scale(.96); }
.js .al-reves .aparece-lado { transform: translateX(50px) scale(.96); }
.js .visto { opacity: 1; transform: none; }
.js .ficha.visto { transition: transform .35s var(--suave), box-shadow .35s; transition-delay: 0s; }
.paralaje { will-change: translate; translate: 0 var(--desplazado, 0px); }

/* ---------------------------------------------------------------- narrower screens */

@media (max-width: 980px) {
  .heroe-dentro { grid-template-columns: 1fr; text-align: center; min-height: 0; gap: 20px; }
  .heroe .entradilla { margin-left: auto; margin-right: auto; }
  .descarga-rapida { justify-content: center; }
  .heroe-aparatos { height: min(520px, 110vw); max-width: 620px; width: 100%; margin: 0 auto; }
  .heroe-aparatos .portatil { right: 0; width: 94%; top: 8%; }
  .heroe-aparatos .movil-heroe { width: 36%; }
  .pt-datos { grid-template-columns: repeat(2, 1fr); }
  .funcion, .funcion.al-reves { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 40px 0; }
  .funcion.al-reves .funcion-imagenes { order: 0; }
  .rejilla { grid-template-columns: repeat(2, 1fr); }
  .portada #barra nav > a:not(.nav-descargar) { display: none; }
  .portada .menu-movil { display: block; }
}
@media (max-width: 600px) {
  body.portada { font-size: 16px; }
  .heroe { padding: 104px 16px 80px; }
  .heroe-aparatos { height: 112vw; }
  .heroe-aparatos .portatil { width: 100%; }
  .heroe-aparatos .movil-heroe { width: 42%; left: 2%; }
  .boton-grande { padding: 12px 22px 12px 12px; }
  .pt-datos { padding: 0 16px; gap: 10px; }
  .pt-dato { padding: 16px; }
  .pt-numero { font-size: 30px; }
  .funciones, .mas, .ordenador, .descargar { padding-left: 16px; padding-right: 16px; }
  .funciones { padding-top: 90px; }
  .rejilla { grid-template-columns: 1fr; }
  .tu-descarga { padding: 30px 18px 24px; }
  .portada #barra { padding-left: 14px; }
  .portada #barra .marca { font-size: 16px; }
  .portada #barra { flex-direction: row; align-items: center; border-radius: 999px; padding: 8px 8px 8px 14px; }
  .portada #barra nav { flex-wrap: nowrap; justify-content: flex-end; }
  .portada #barra nav a.nav-descargar { padding: 7px 12px; }
  .portada #barra select { max-width: 92px; }
}
@media (max-width: 400px) {
  .portada #barra { padding: 6px 6px 6px 12px; gap: 6px; }
  /* Only the logo: the name does not fit beside the button, the menu and the languages. */
  .portada #barra .marca { font-size: 0; }
  .portada #barra .marca::before { width: 30px; height: 30px; margin-right: 0; }
  .portada #barra nav { gap: 4px; }
  .portada #barra nav a.nav-descargar { padding: 6px 10px; font-size: 13px; }
  .portada #barra select { max-width: 92px; padding: 6px 6px; font-size: 13px; }
}
/* Very narrow (under ~330 px): the bar keeps the logo, the menu and the languages; Descargar
   goes into the menu (the hero's big button is right below anyway). */
.portada .menu-movil-lista .solo-estrecho { display: none; }
@media (max-width: 330px) {
  .portada #barra nav a.nav-descargar { display: none; }
  .portada .menu-movil-lista .solo-estrecho { display: block; }
  .portada #barra select { max-width: 96px; }
}
@media (min-width: 1800px) {
  body.portada { font-size: 19px; }
  .heroe-dentro, .funciones, .rejilla { max-width: 1400px; }
  .heroe-dentro { max-width: 1400px; }
}

@media (prefers-reduced-motion: reduce) {
  html:has(body.portada) { scroll-behavior: auto; }
  .portada *, .portada *::before, .portada *::after { animation: none !important; transition: none !important; }
  .js .aparece, .js .aparece-lado { opacity: 1; transform: none; }
  .paralaje { translate: none; }
}

.tu-nota.enlace { cursor: pointer; color: var(--turquesa); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
