/* ================================================================
   BREAKFAST CLUB — estilos base
   Variables globales: cambia paleta y tipografía desde este bloque.
   ================================================================ */
@font-face {
  font-family: League;
  src: url("recursos/fuentes/league-gothic.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: Sometype;
  src: url("recursos/fuentes/sometype-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Sometype;
  src: url("recursos/fuentes/sometype-mono-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
:root {
  --paper: #fffef5;
  --ink: #171611;
  --gold: #c9b447;
  --line: #d6d1bd;
  --blue: #637392;
  --red: #e91c22;
  --header: 70px;
  --side: clamp(20px, 4vw, 72px);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-soft: 320ms;
  font-synthesis: none;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  /* Evita que la cabecera se desplace al ocultar la barra durante el menú. */
  scrollbar-gutter: stable;
}

/* Transición progresiva entre páginas internas; los navegadores sin soporte la ignoran. */
@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation: page-out 120ms ease both;
}
::view-transition-new(root) {
  animation: page-in 180ms ease both;
}
@keyframes page-out {
  to { opacity: 0.96; }
}
@keyframes page-in {
  from { opacity: 0.96; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Sometype, "Courier New", monospace;
  font-size: 0.9375rem;
  line-height: 1.6;
  overflow-x: hidden;
}
body.menu-open {
  overflow: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
::selection {
  background: var(--gold);
  color: var(--ink);
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 0.95;
}
h1,
h2,
.display {
  font-family: League, Impact, "Arial Narrow", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}
.eyebrow {
  font-size: clamp(0.625rem, 1vw, 0.875rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  min-height: 52px;
  padding: 11px 23px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  transition:
    background 0.25s ease,
    transform 0.25s ease,
    color 0.25s ease;
}
.btn:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}

/* La cabecera conserva su espacio en el flujo y se pega al borde superior.
   JavaScript la oculta al bajar y la recupera al detectar desplazamiento ascendente. */
.site-header {
  height: var(--header);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 100;
  opacity: 1;
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.24s ease;
}
.site-header.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, -105%, 0);
}
/* Si se llega con teclado, la cabecera reaparece aunque estuviera oculta. */
.site-header:focus-within {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.header-inner {
  height: 100%;
  max-width: 2200px;
  margin: auto;
  padding: 0 var(--side);
  display: flex;
  align-items: center;
  gap: clamp(13px, 1.6vw, 30px);
}
.brand {
  flex: none;
  width: clamp(150px, 17vw, 215px);
  display: block;
}
.brand-img {
  width: 100%;
  height: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(11px, 1.35vw, 24px);
  white-space: nowrap;
}
.main-nav a {
  font-family: League, Impact, sans-serif;
  font-size: clamp(1rem, 1.36vw, 1.25rem);
  line-height: 1;
  border-bottom: 1px solid transparent;
  padding: 7px 0 5px;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.main-nav a:hover,
.main-nav a[aria-current] {
  border-color: currentColor;
}
.header-social {
  margin-left: auto;
}
.social-menu {
  display: flex;
  gap: 8px;
}
.social {
  appearance: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
.social:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}
.social-pending {
  opacity: 1;
}
.social svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.social svg .dot {
  fill: currentColor;
  stroke: none;
}
/* Facebook y TikTok usan su silueta sólida; el resto conserva trazo uniforme. */
.social[aria-label^="Facebook"] svg,
.social[aria-label^="TikTok"] svg,
.social[aria-label^="Tiktok"] svg {
  fill: currentColor;
  stroke: none;
}
.social:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.social-small {
  width: 37px;
  height: 37px;
}
.social-small svg {
  width: 18px;
  height: 18px;
}
.menu-toggle {
  display: none;
}

/* Solo el héroe de la portada llena el alto visible bajo el encabezado.
   100svh mantiene estable su tamaño cuando aparece la barra del móvil. */
.home-hero.first-screen {
  height: calc(100vh - var(--header));
  height: calc(100svh - var(--header));
  min-height: 0;
  overflow: hidden;
}

/* Portada. El tamaño del título depende del ancho Y del alto disponible. */
.home-hero {
  background: linear-gradient(90deg, rgba(0,0,0,.25), rgba(0,0,0,.03)), url("recursos/inicio-01.png") center 52% / cover no-repeat var(--ink);
  color: var(--paper);
  padding: clamp(20px, 4vh, 48px) var(--side) clamp(22px, 4vh, 48px);
}
.home-hero-inner {
  width: 100%;
  max-width: 1190px;
  height: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--gold);
  font-size: clamp(0.6875rem, 1.02vw, 0.875rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.hero-meta span:last-child {
  text-align: right;
  color: var(--paper);
}
.home-hero h1 {
  margin: 0;
  max-width: 100%;
  font-size: min(19vw, 34vh, 17.8125rem);
  line-height: 0.76;
  letter-spacing: -0.015em;
  white-space: nowrap;
}
.home-hero-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid rgba(255,255,255,.8);
  padding-top: 25px;
}
.home-hero-bottom p {
  font-size: clamp(0.6875rem, 1.15vw, 1.0625rem);
  line-height: 1.5;
  text-transform: uppercase;
  margin: 0;
}

/* Marcas y secciones editoriales de la portada. */
.partners {
  padding: clamp(65px, 8vw, 130px) var(--side);
  text-align: center;
}
.partners h2,
.section-head h2 {
  font-size: clamp(3.625rem, 8vw, 8.75rem);
  margin: 12px 0 35px;
}
.partner-grid {
  max-width: 1150px;
  margin: 45px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 55px 70px;
}
.partner-grid img {
  max-width: 180px;
  max-height: 75px;
  width: 100%;
  height: 100%;
  object-fit: contain;
  margin: auto;
  mix-blend-mode: multiply;
}
.club-feature {
  background: var(--gold);
}
.ride-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.join-banner {
  position: relative;
  background: var(--gold);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.join-banner h2 {
  z-index: 1;
  font-size: clamp(5rem, 15vw, 15.625rem);
  text-align: center;
  line-height: 0.8;
  margin: 0;
}
.join-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}
.insta-block {
  padding: 80px var(--side);
  text-align: center;
}
.insta-block > a {
  font-family: League, sans-serif;
  font-size: clamp(1.875rem, 4vw, 4.375rem);
}
/* Encabezados centrados usados por preguntas frecuentes y módulos editoriales. */
.section-head {
  text-align: center;
}

/* Rutas: fotografía principal y lista interactiva. */
.routes-intro {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--paper);
  color: var(--ink);
}
.routes-intro .eyebrow,
.routes-intro h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.routes-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 130px);
  padding: 80px var(--side) 130px;
  max-width: 1800px;
  margin: auto;
}
.routes-image img {
  width: 100%;
  height: 100%;
  min-height: 700px;
  object-fit: cover;
}
.routes-list {
  align-self: start;
}
.route-card {
  border-bottom: 1px solid var(--ink);
}
.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  cursor: pointer;
  padding: 13px 0;
  font-size: clamp(0.8125rem, 1.15vw, 1.0625rem);
  text-transform: uppercase;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary span {
  font-size: 1.625rem;
  line-height: 1;
  transition: transform 0.25s;
}
.faq details[open] summary span {
  transform: rotate(180deg);
}
.route-variants {
  padding: 0 0 18px;
}
.route-variants p {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 9px 0;
  font-size: 0.75rem;
}
.route-variants a {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
}
.route-variants span {
  text-align: right;
}

/* Preguntas frecuentes: details conserva funcionamiento incluso sin JavaScript. */
.faq {
  max-width: 1200px;
  margin: auto;
  padding: 90px var(--side) 120px;
}
.faq details {
  border-bottom: 1px solid var(--ink);
}
.faq summary {
  font-weight: 700;
  font-size: clamp(0.875rem, 1.35vw, 1.1875rem);
  padding: 22px 0;
}
.faq details p {
  max-width: 800px;
  line-height: 1.8;
  padding: 0 0 25px;
}
.faq-answer {
  overflow: hidden;
}
/* Tienda visual: bases compartidas por galería y catálogo. */
.shop-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 8px;
}
.shop-gallery img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.product-grid {
  max-width: 1500px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: #efede6;
}
.product > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 0;
  border-bottom: 1px solid var(--ink);
}
.product h3 {
  font-family: League, sans-serif;
  font-size: 1.6875rem;
  font-weight: 400;
  margin: 0;
}
.product span {
  white-space: nowrap;
}
/* Pie de página. */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 80px var(--side) 35px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 10vw;
  max-width: 1500px;
  margin: 0 auto 80px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  align-items: center;
  gap: 16px 25px;
  text-transform: uppercase;
  font-weight: 700;
}
.social-row {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}
.footer-links > a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.newsletter h2 {
  font-size: clamp(3.4375rem, 6vw, 6.5625rem);
  margin: 0 0 15px;
}
.newsletter p {
  max-width: 560px;
}
.newsletter form {
  display: flex;
  max-width: 630px;
  border-bottom: 1px solid var(--paper);
  margin-top: 30px;
}
.newsletter input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  color: var(--paper);
  padding: 14px 0;
  outline: 0;
}
.newsletter input::placeholder {
  color: #c5c1b9;
}
.newsletter button {
  background: transparent;
  border: 0;
  color: var(--gold);
  padding: 12px 0 12px 18px;
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
}
.newsletter button svg {
  width: 17px;
  height: 17px;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.form-note {
  min-height: 1.5em;
  color: var(--gold);
  font-size: 0.75rem;
}
.footer-bottom {
  max-width: 1500px;
  margin: auto;
  border-top: 1px solid #5a574e;
  padding-top: 30px;
  display: flex;
  gap: 35px;
  justify-content: space-between;
  font-size: 0.75rem;
  line-height: 1.8;
}
.footer-bottom p {
  max-width: 1000px;
  margin: 0;
}
.footer-bottom span {
  white-space: nowrap;
}

/* Pantallas medianas: navegación plegable y rejillas menos densas. */
@media (max-width: 980px) {
  :root {
    --header: 64px;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    margin-left: auto;
    padding: 6px;
    border: 0;
    background: transparent;
  }
  .menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ink);
    transition:
      transform 0.25s,
      opacity 0.25s;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }
  .main-nav {
    display: flex;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header));
    height: calc(100svh - var(--header));
    background: var(--paper);
    /* El espacio también responde a la altura y reserva el pie para las redes. */
    padding: clamp(0.5rem, 2.5vh, 2.1875rem) var(--side) clamp(4rem, 14vh, 6.5625rem);
    overflow-y: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(0.125rem, 0.75vh, 0.625rem);
    text-align: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-0.5rem);
    transition:
      opacity 0.28s ease,
      transform var(--motion-soft) var(--ease-soft),
      visibility 0s linear var(--motion-soft);
  }
  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition-delay: 0s;
  }
  .main-nav a {
    /* El menor de ambos cálculos evita saltos y solapes en viewports bajos. */
    font-size: clamp(1.625rem, min(calc(7vw + 0.875rem), 8vh), 4.375rem);
    padding: clamp(0.0625rem, 0.35vh, 0.3125rem) 0;
  }
  .header-social {
    position: fixed;
    z-index: 102;
    right: 0;
    bottom: max(24px, env(safe-area-inset-bottom));
    left: 0;
    display: block;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(0.45rem);
    transition:
      opacity 0.25s ease,
      transform var(--motion-soft) var(--ease-soft),
      visibility 0s linear var(--motion-soft);
  }
  /* Las redes forman parte del menú abierto y quedan ancladas abajo. */
  .menu-open .header-social {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition-delay: 0s;
  }
  .menu-open .social-menu {
    justify-content: center;
  }
  .home-hero h1 {
    font-size: min(24vw, 29vh);
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Teléfonos: las primeras secciones siguen dentro del viewport visible.
   Las demás secciones fluyen verticalmente para preservar legibilidad. */
@media (max-width: 640px) {
  :root {
    --header: 60px;
    --side: 20px;
  }
  .brand {
    width: 160px;
  }
  .header-social .social {
    width: 35px;
    height: 35px;
  }
  .home-hero {
    padding: 19px var(--side) 24px;
  }
  .hero-meta {
    font-size: clamp(0.6875rem, 2.2vw, 0.8125rem);
    line-height: 1.35;
  }
  .hero-meta span {
    max-width: 47%;
  }
  .home-hero h1 {
    font-size: min(23vw, 25vh);
    line-height: 0.8;
  }
  .home-hero-bottom {
    display: block;
  }
  .home-hero-bottom p {
    font-size: 0.75rem;
    margin-bottom: 16px;
  }
  .home-hero-bottom .btn {
    min-height: 42px;
    padding: 10px 16px;
    font-size: 0.75rem;
  }
  .ride-pair {
    grid-template-columns: 1fr;
  }
  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }
  .routes-content {
    grid-template-columns: 1fr;
    padding: 60px var(--side);
    gap: 35px;
  }
  .routes-list {
    order: 1;
  }
  .routes-image {
    order: 2;
  }
  .routes-image img {
    min-height: 0;
    height: auto;
    object-fit: contain;
  }
  .faq {
    padding: 65px var(--side);
  }
  .shop-gallery {
    gap: 4px;
    padding: 4px;
  }
  .shop-gallery img {
    aspect-ratio: 3/4;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 45px;
    margin-bottom: 50px;
  }
  .footer-bottom {
    display: block;
  }
  .footer-bottom span {
    display: block;
    margin-top: 25px;
  }
}

/* iPhone 5 (320 × 568) y móviles estrechos: ningún título desborda. */
@media (max-width: 360px) {
  .brand {
    width: 142px;
  }
  .header-inner {
    gap: 8px;
  }
  .header-social .social {
    width: 32px;
    height: 32px;
  }
  .header-social .social svg {
    width: 16px;
    height: 16px;
  }
  .hero-meta {
    font-size: 0.6875rem;
  }
  .home-hero h1 {
    font-size: min(22.5vw, 24vh);
  }
  .route-variants p {
    font-size: 0.75rem;
  }
  .newsletter form {
    flex-wrap: wrap;
  }
  .newsletter input {
    flex-basis: 100%;
  }
  .newsletter button {
    padding-left: 0;
  }
}

/* Pantallas muy grandes: el ancho de lectura se mantiene y el héroe escala. */
@media (min-width: 1800px) {
  :root {
    --header: 90px;
  }
  .home-hero h1 {
    font-size: min(21vw, 31vh, 31.25rem);
  }
  .hero-meta {
    font-size: 1rem;
  }
  .home-hero-bottom p {
    font-size: 1.25rem;
  }
}

/* Reduce animaciones cuando el sistema así lo solicita. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Rutas conserva una portada amplia; las demás páginas fluyen por contenido. */
.routes-intro.first-screen {
  min-height: 650px;
}
@media (max-width: 640px) {
  .routes-intro.first-screen {
    min-height: 480px;
  }
}

/* ================================================================
   PORTADA Y RUTAS — composición de la referencia.
   Cada bloque tiene una sola función visual y puede sustituirse
   sin cambiar los estilos generales del resto del sitio.
   ================================================================ */

/* El hero es la única sección cuya altura sigue al viewport. */
.home-hero h1 { font-size: min(19vw, 34vh, 17.8125rem); }

/* Colaboración: fotografía panorámica arriba, mensaje en dos columnas abajo. */
.home-collab {
  background: var(--ink);
  color: var(--paper);
  padding: 105px var(--side) 95px;
}
.collab-media, .collab-copy { max-width: 1190px; margin-inline: auto; }
.collab-media img { width: 100%; height: min(36vw, 540px); min-height: 300px; object-fit: cover; }
.collab-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; padding-top: 75px; align-items: end; }
.collab-copy h2 { font-size: clamp(3.4375rem, 7vw, 7.5rem); margin: 15px 0 0; }
.collab-copy p:not(.eyebrow) { max-width: 470px; line-height: 1.8; margin-bottom: 28px; }

/* Marcas: los recursos originales son PNG transparentes. */
.partners { max-width: 1390px; margin: auto; padding: 45px var(--side) 95px; }
.partners h2 { font-size: clamp(3.625rem, 7vw, 7.1875rem); margin-bottom: 25px; }
.partner-grid { max-width: 1190px; grid-template-columns: repeat(3, 1fr); gap: 55px 70px; margin-top: 40px; }
.partner-grid img { max-width: 225px; max-height: 90px; }

/* Sección del club: texto a la izquierda y pelotón a la derecha. */
.club-feature { max-width: 1190px; margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 6%; align-items: center; background: var(--paper); padding: 55px 0 100px; }
.club-copy h2 { font-size: clamp(4.6875rem, 9vw, 9.6875rem); margin: 20px 0 25px; }
.club-copy > p:not(.eyebrow) { max-width: 450px; line-height: 1.85; margin-bottom: 30px; }
.club-media img { width: 100%; height: min(42vw, 640px); min-height: 450px; object-fit: cover; }
.more-partners { max-width: 1190px; margin: auto; padding: 22px 0 45px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); text-align: center; }
.more-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 38px 32px; margin-top: 30px; align-items: center; }
.more-grid img { width: 100%; max-width: 140px; max-height: 53px; object-fit: contain; margin: auto; }

/* Mapas interactivos de Google por sede. */
.home-rides { max-width: 1190px; margin: auto; padding: 65px 0 0; }
.home-rides > h2 { font-size: clamp(5rem, 11vw, 10.9375rem); margin: 1.5rem 0 45px; text-align: center; }
.home-rides > .eyebrow { text-align: center; }
.ride-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8%; }
.ride-place { min-width: 0; }
.ride-map { display: block; position: relative; width: 100%; height: 370px; overflow: hidden; background: #e7e7e3; }
/* El iframe empieza en gris y recupera su color al usar ratón o teclado. */
.ride-map > iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(.96); transition: filter .45s ease; }
.ride-map:hover > iframe,
.ride-map:focus-within > iframe { filter: grayscale(0) contrast(1); }
/* Enlace independiente: permite abrir la aplicación completa sin bloquear el mapa. */
.map-credit { position: absolute; z-index: 2; left: 7px; bottom: 7px; background: #fffdf2e8; padding: 5px 7px; font: 700 0.625rem/1.2 Sometype, monospace; transition: background .2s ease, color .2s ease; }
.map-credit:hover,
.map-credit:focus-visible { background: var(--ink); color: var(--paper); }
.ride-place h3 { font-family: League, Impact, sans-serif; font-size: clamp(2.625rem, 4vw, 4.375rem); font-weight: 400; margin: 34px 0 25px; padding-bottom: 22px; border-bottom: 1px solid var(--ink); }
.ride-place p { max-width: 460px; margin: 0 0 18px; line-height: 1.6; }
.ride-place p strong { font-weight: 700; }
.ride-facts { color: var(--red); }
.ride-address strong { color: var(--ink); }
.ride-place .btn { margin-top: 12px; }
.ride-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 75px; }
.ride-photos img { width: 100%; height: min(55vw, 870px); min-height: 420px; object-fit: cover; }
.ride-stamp { display: flex; justify-content: center; padding: 45px 0 90px; }
.ride-stamp img { width: clamp(200px, 25vw, 390px); height: auto; }

/* Franja de cierre y secuencia fotográfica de Instagram. */
.join-banner { min-height: 535px; background: var(--ink); color: var(--gold); justify-content: space-between; padding: 40px max(var(--side), calc((100vw - 1190px)/2)); }
.join-banner h2 { font-size: clamp(6.5625rem, 14vw, 14.375rem); max-width: 720px; text-align: left; }
.join-banner img { position: static; width: clamp(180px, 23vw, 350px); height: auto; object-fit: contain; opacity: 1; }
.insta-block { padding: 65px var(--side) 42px; }
.insta-block > a { font-family: Sometype, monospace; font-size: 0.875rem; text-decoration: underline; font-weight: 700; }
/* Pie: símbolo, enlaces apilados y formulario de entrada claro. */
.site-footer { padding: 65px var(--side) 75px; }
.footer-top { max-width: 1190px; grid-template-columns: 1fr 1fr; gap: 7vw; margin-bottom: 80px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; text-transform: none; font-weight: 400; }
.footer-mark { width: 200px; height: auto; margin-bottom: 45px; }
.footer-links .social-row { order: 2; margin-top: 20px; }
.footer-links > a { font-size: 1rem; }
.newsletter h2 { font-size: clamp(3.75rem, 6vw, 6.25rem); }
.newsletter p { font-size: 0.9375rem; max-width: 460px; }
.newsletter form { gap: 8px; border: 0; max-width: 440px; }
.newsletter input {
  flex: 1;
  min-width: 0;
  min-height: 60px;
  padding: 15px 20px;
  border: 1px solid transparent;
  outline: 2px solid transparent;
  outline-offset: 2px;
  color: var(--ink);
  background: white;
  transition: border-color 0.2s ease, outline-color 0.2s ease;
}
.newsletter input:focus {
  border-color: var(--paper);
  outline-color: var(--paper);
}
.newsletter input::placeholder { color: #999; }
.newsletter button { color: var(--ink); background: var(--gold); padding: 12px 25px; }
.newsletter button:hover { background: var(--paper); }
.footer-bottom { max-width: 1190px; border-top: 1px solid var(--paper); border-bottom: 1px solid var(--paper); padding: 15px 0; color: #ad765c; font-size: 0.75rem; font-style: italic; }
.footer-bottom p { max-width: none; }

/* Rutas: foto a sangre y acordeón con transición de altura. */
.routes-intro { background: url("recursos/rutas-01.jpg") center 52% / cover no-repeat var(--ink); }
.routes-intro.first-screen { min-height: 730px; }
.routes-intro .btn { min-width: 285px; min-height: 62px; }
.routes-content { max-width: 1290px; grid-template-columns: 1fr 1fr; gap: 90px; padding: 80px 0 130px; }
.routes-image img { min-height: 900px; }
.route-card { border-bottom: 1px solid var(--ink); }
.route-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 13px 0; border: 0; background: transparent; color: var(--ink); text-align: left; text-transform: uppercase; font-style: italic; font-size: 0.9375rem; }
.route-chevron { flex: none; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform var(--motion-soft) var(--ease-soft); }
.route-card.is-open .route-chevron { transform: rotate(225deg); }
.route-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--motion-soft) var(--ease-soft); }
.route-card.is-open .route-panel { grid-template-rows: 1fr; }
.route-variants { min-height: 0; overflow: hidden; padding: 0; opacity: 0; transform: translateY(-.15rem); transition: padding-bottom var(--motion-soft) var(--ease-soft), opacity .2s ease, transform var(--motion-soft) var(--ease-soft); }
.route-card.is-open .route-variants { padding-bottom: 18px; opacity: 1; transform: none; }
.route-variants p { display: block; margin: 7px 0; font-size: 0.75rem; font-style: italic; }
.route-variants a { text-decoration: underline; text-underline-offset: 2px; }

/* Teléfonos y tabletas: ningún contenido desborda desde 320 px. */
@media (max-width: 1320px) {
  .club-feature, .more-partners, .home-rides, .routes-content { margin-inline: var(--side); }
}
@media (max-width: 980px) {
  .collab-copy { gap: 35px; }
  .home-rides > h2 { margin-bottom: 30px; }
  .routes-content { gap: 40px; }
}
@media (max-width: 640px) {
  .home-hero { background-position: 53% center; }
  .home-hero h1 { font-size: min(23vw, 25vh); }
  .home-hero-bottom { padding-top: 12px; }
  .home-collab { padding: 60px var(--side); }
  .collab-media img { min-height: 0; height: 270px; }
  .collab-copy { grid-template-columns: 1fr; gap: 20px; padding-top: 38px; }
  .collab-copy h2 { font-size: clamp(3.4375rem, 15vw, 5.5rem); }
  .partners { padding: 55px var(--side); }
  .partner-grid { gap: 35px 22px; }
  .partner-grid img { max-height: 65px; }
  .club-feature { grid-template-columns: 1fr; padding: 20px 0 60px; gap: 30px; }
  .club-copy h2 { font-size: clamp(4.25rem, 17vw, 6.875rem); }
  .club-media img { min-height: 0; height: 400px; }
  .more-grid { grid-template-columns: repeat(3, 1fr); gap: 28px 18px; }
  .home-rides { padding-top: 60px; }
  .ride-pair { grid-template-columns: 1fr; gap: 70px; }
  .ride-map { height: 300px; }
  .ride-photos { gap: 8px; margin-top: 65px; }
  .ride-photos img { min-height: 0; height: 310px; }
  .ride-stamp { padding-bottom: 65px; }
  .join-banner { min-height: 400px; gap: 20px; padding: 45px var(--side); }
  .join-banner h2 { font-size: clamp(4.6875rem, 20vw, 7.5rem); }
  .join-banner img { width: 27vw; }
  .footer-top { grid-template-columns: 1fr; gap: 45px; margin-bottom: 45px; }
  .footer-mark { width: 150px; margin-bottom: 22px; }
  .newsletter form { flex-wrap: nowrap; }
  .newsletter input { flex-basis: auto; width: 100%; }
  .newsletter button { padding-inline: 12px; font-size: 0.6875rem; }
  .routes-intro.first-screen { min-height: 480px; }
  .routes-intro .btn { min-width: 0; min-height: 52px; }
  .routes-content { grid-template-columns: 1fr; margin-inline: 0; padding: 55px var(--side); }
  /* En móvil la fotografía conserva su encuadre completo después del listado. */
  .routes-image img { min-height: 0; height: auto; object-fit: contain; }
}
@media (max-width: 370px) {
  .home-hero h1 { font-size: min(22vw, 25vh); }
  .join-banner h2 { font-size: 20vw; }
  .newsletter h2 { font-size: 18vw; }
}

/* Carrusel infinito y extensible: tres imágenes 3:4 en escritorio y una en móvil. */
.insta-carousel { position: relative; max-width: 990px; margin: 25px auto 0; }
.insta-window { overflow: hidden; aspect-ratio: 9 / 4; }
.insta-grid { height: 100%; margin: 0; display: flex; gap: 0; overflow: visible; will-change: transform; }
.insta-grid.is-moving { transition: transform .5s cubic-bezier(.66,0,.34,1); }
.insta-grid img {
  display: block;
  width: 33.3333%;
  height: 100%;
  min-width: 0;
  flex: 0 0 33.3333%;
  object-fit: contain;
  background: var(--slide-bg, var(--paper));
}
/* Extiende el color del arte 4:5 hasta los límites de la celda 3:4. */
.insta-grid .insta-art--gold { --slide-bg: #e6b51c; }
.insta-prev, .insta-next { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); border: 0; background: rgba(255,254,245,.8); color: var(--ink); width: 34px; height: 52px; font-size: 2rem; line-height: 1; }
.insta-prev { left: 0; }
.insta-next { right: 0; }
@media (max-width: 640px) {
  .insta-window { aspect-ratio: 3 / 4; }
  .insta-grid img { width: 100%; flex-basis: 100%; }
}

/* Fondos recortados y comprimidos para la primera descarga móvil. */
@media (max-width: 640px) {
  .home-hero { background-image: linear-gradient(90deg, rgba(0,0,0,.25), rgba(0,0,0,.03)), url("recursos/variantes/inicio-01-640.jpg"); }
  .routes-intro { background-image: url("recursos/variantes/rutas-01-640.jpg"); }
}

/* Revisión: los botones originales conservan su tono dorado en hover. */
.btn:hover { background: #d7c257; color: var(--ink); transform: none; }
.btn:active { background: var(--gold); transform: none; }

/* Texto de la colaboración alineado arriba, como el bloque original. */
.collab-copy { grid-template-columns: 1.08fr 1fr; gap: 50px; align-items: start; padding-top: 48px; }
.collab-copy h2 { font-size: clamp(3.375rem, 5.8vw, 5.125rem); line-height: 1.02; }
.collab-copy p:not(.eyebrow) { margin-top: 0; }
.club-feature { border-top: 1px solid var(--ink); padding-top: 50px; }

/* Galería: la altura nace de la proporción del viewport del carrusel. */
.insta-block { padding-block: 58px 40px; }
@media (max-width: 640px) {
  .collab-copy { grid-template-columns: 1fr; gap: 18px; }
  .collab-copy h2 { font-size: clamp(3.125rem, 14vw, 4.875rem); }
  .club-feature { padding-top: 40px; }
}

/* Página Cómo funciona: encabezado editorial y pasos en dos columnas. */
.how-hero { max-width: 1180px; min-height: 764px; margin: auto; padding: 42px 0 50px; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; align-items: center; }
.how-intro { text-align: right; padding: 130px 0 0 20px; }
.how-intro h1 { font-family: Impact, 'Arial Black', sans-serif; font-size: clamp(2.75rem, 4.6vw, 4rem); letter-spacing: .08em; white-space: nowrap; margin: 0 0 30px; }
.how-intro p { font-size: 0.9375rem; line-height: 1.55; letter-spacing: .02em; }
.how-intro p:last-child { margin-top: 18px; }
.how-intro strong { color: #a86a52; }
.how-intro p:last-child strong { color: var(--ink); }
.how-photo img { width: 100%; height: 670px; object-fit: cover; object-position: center 48%; }
.how-steps { max-width: 1180px; margin: auto; padding-bottom: 35px; }
.how-step { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding: 28px 0; border-top: 1px solid var(--ink); }
.how-step:first-child { border-top: 0; }
.how-label { display: grid; grid-template-columns: 70px 1fr; align-items: start; }
.how-label span, .how-label h2 { font-family: League, Impact, sans-serif; font-size: 1.875rem; font-weight: 400; line-height: 1.1; margin: 0; }
.how-body { font-size: 0.9375rem; line-height: 1.6; }
.how-body p { margin: 0 0 16px; }
.how-body ul { margin: 4px 0 0; padding-left: 37px; }
.how-body li { padding-left: 3px; margin: 0 0 8px; }
.how-body h3 { font: bold italic 0.875rem/1.5 Sometype, monospace; text-decoration: underline; margin: 20px 0 12px; }
.how-end { display: flex; justify-content: space-between; align-items: center; padding: 60px 0 5px; }
.how-end .btn { min-width: 230px; min-height: 60px; }
.how-end img { width: 60px; height: 60px; object-fit: contain; }

/* El chevrón de FAQ gira en su centro sin desplazar la línea. */
.faq .faq-chevron { display: block; flex: none; width: 9px; height: 9px; margin: 0 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; font-size: 0; transform: rotate(45deg); transform-origin: center; transition: transform var(--motion-soft) var(--ease-soft); }
.faq details[open] .faq-chevron { transform: rotate(225deg); }

@media (max-width: 1320px) {
  .how-hero, .how-steps { margin-inline: var(--side); }
}
@media (max-width: 767px) {
  .how-hero { display: flex; flex-direction: column; min-height: 0; gap: 35px; padding-block: 70px 45px; }
  .how-intro { padding: 0; text-align: center; }
  .how-intro h1 { font-size: clamp(2.0625rem, 8vw, 3.625rem); white-space: normal; }
  .how-photo { width: 100%; }
  .how-photo img { height: min(120vw, 600px); }
  .how-step { display: block; padding: 30px 0; }
  .how-label { grid-template-columns: 40px 1fr; margin-bottom: 20px; }
  .how-label span, .how-label h2 { font-size: 1.6875rem; }
  .how-body { font-size: 0.875rem; }
  .how-end { padding-top: 35px; }
  .how-end .btn { min-width: 0; }
}

/* Tienda: fotografía a sangre, relato, catálogo visual y cierre editorial. */
.shop-hero { height: clamp(410px, 47vw, 607px); overflow: hidden; }
.shop-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.shop-editorial { max-width: 1180px; margin: auto; padding: 43px 0 40px; }
.shop-editorial h1 { font-size: clamp(4.0625rem, 8.1vw, 7.75rem); margin: 0 0 50px; line-height: .95; white-space: nowrap; }
.shop-editorial > p { font-size: 1rem; line-height: 1.7; margin: 0 0 18px; }
.shop-editorial > p:nth-of-type(2) { margin-bottom: 60px; }
.shop-gallery { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; padding: 0; }
.shop-gallery img { width: 100%; height: 530px; object-fit: cover; }
.shop-collection { max-width: 1180px; margin: auto; padding: 0 0 70px; }
.shop-collection h2 { font-size: 2.375rem; text-align: center; margin: 0 0 42px; }
.shop-collection .product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; max-width: none; }
.shop-collection .product img { width: 100%; height: 330px; object-fit: cover; }
.shop-collection .product > div { display: block; padding: 15px 0 0; }
.shop-collection .product h3 { font-size: 1.8125rem; margin: 0 0 4px; }
.shop-collection .product span { font-size: 0.9375rem; }
.shop-detail { display: grid; grid-template-columns: 2fr 1fr; align-items: stretch; gap: 50px; min-height: 950px; }
.shop-detail > img { width: 100%; height: 100%; object-fit: cover; }
.shop-detail > div { padding: 75px var(--side) 50px 0; display: flex; flex-direction: column; }
.shop-detail p { font-size: 0.9375rem; line-height: 1.6; margin-bottom: 18px; }
.shop-detail .shop-sign { width: 190px; height: auto; max-height: 70px; object-fit: contain; align-self: center; margin-top: auto; }
.shop-question { background: var(--gold); text-align: center; font-weight: 700; font-size: 0.9375rem; padding: 18px; text-transform: uppercase; }
.shop-question a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1250px) {
  .shop-editorial, .shop-collection { margin-inline: var(--side); }
  .shop-editorial h1 { font-size: min(8vw, 6.5625rem); }
}
@media (max-width: 767px) {
  .shop-hero { height: 52vh; min-height: 310px; }
  .shop-editorial { padding-block: 45px; }
  .shop-editorial h1 { font-size: clamp(3.1875rem, 14vw, 5.9375rem); white-space: normal; margin-bottom: 25px; }
  .shop-editorial > p { font-size: 0.875rem; }
  .shop-editorial > p:nth-of-type(2) { margin-bottom: 35px; }
  .shop-gallery { gap: 5px; }
  .shop-gallery img { height: 42vw; }
  .shop-collection h2 { font-size: 2.1875rem; }
  .shop-collection .product-grid { grid-template-columns: repeat(2,1fr); gap: 24px 12px; }
  .shop-collection .product img { height: 50vw; }
  .shop-collection .product h3 { font-size: 1.625rem; }
  .shop-detail { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .shop-detail > img { height: 110vw; max-height: 700px; }
  .shop-detail > div { padding: 40px var(--side) 60px; }
  .shop-detail .shop-sign { margin-top: 30px; }
}

/* Calendario: una sola superficie fotográfica, con nueve fechas en tres columnas. */
.schedule-board { min-height: 1380px; background: url("recursos/calendario-01.png") center center / cover no-repeat var(--ink); color: var(--paper); padding: 105px var(--side) 110px; text-align: center; }
.schedule-mark { width: clamp(250px, 36vw, 450px); height: auto; margin: 0 auto 115px; }
.schedule-dates { max-width: 1100px; margin: auto; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 100px 55px; }
.date-card h2 { font: 900 clamp(2.6875rem,5.5vw,4.5rem)/1 Impact,'Arial Black',sans-serif; letter-spacing: .08em; margin: 0 0 36px; white-space: nowrap; }
.date-card p { min-height: 60px; color: #efc5b4; text-shadow: 0 1px 2px #111b; line-height: 1.45; margin-bottom: 12px; }
.date-card a { font-size: 0.9375rem; font-style: italic; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 640px) {
  /* Esta variante aparece después del fondo base para impedir la descarga del PNG grande. */
  .schedule-board { min-height: 0; padding-block: 65px; background-image: url("recursos/variantes/calendario-01-640.jpg"); background-position: center; }
  .schedule-mark { margin-bottom: 60px; }
  .schedule-dates { grid-template-columns: 1fr 1fr; gap: 60px 12px; }
  .date-card h2 { font-size: clamp(1.75rem,9vw,3.25rem); margin-bottom: 20px; }
  .date-card p, .date-card a { font-size: 0.75rem; }
}
@media (max-width: 370px) { .date-card h2 { font-size: 8vw; } }

/* Babes: manifiesto y foto a ancho completo; sede en una franja oscura. */
.babes-open { max-width: 1180px; margin: auto; padding: 50px 0 65px; }
.babes-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; min-height: 210px; }
.babes-heading h1 { margin: 0; }
.babes-heading h1 img { width: min(100%,380px); height: auto; }
.babes-heading p { font-size: 0.9375rem; line-height: 1.7; color: var(--blue); margin-bottom: 14px; }
.babes-heading strong { color: var(--blue); }
.babes-photo { width: 100%; height: 650px; object-fit: cover; object-position: center 48%; }
.babes-info { background: var(--ink); color: var(--paper); padding: 45px max(var(--side),calc((100vw - 1180px)/2)); display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: stretch; }
.babes-side-photo img { width: 100%; height: 100%; max-height: 900px; object-fit: cover; }
.babes-info-copy h2 { font-size: clamp(3.75rem, 6vw, 5.3125rem); margin: 10px 0 28px; }
.babes-info-copy p, .babes-info-copy li { font-size: 0.9375rem; line-height: 1.65; }
.babes-info-copy strong { color: #8997b6; }
.babes-info-copy ul { padding-left: 36px; margin-bottom: 50px; }
.babes-info-copy li { padding-bottom: 10px; }
.babes-info-copy > p:nth-of-type(2) { margin-bottom: 58px; }
.babes-info-copy a { text-decoration: underline; text-underline-offset: 3px; }
.babes-info-copy .ride-map { width: 75%; height: 245px; margin: 18px auto 8px; }
.babes-info-copy .babes-address { text-align: center; font-size: 0.8125rem; margin: 0; }
.faq { max-width: 680px; padding: 80px 0 95px; }
.faq-heading { display: inline-flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 60px; }
.faq-heading img { width: 60px; height: auto; }
.faq-heading h2 { font-size: 4.6875rem; margin: 0; }
.faq summary { font-size: 0.875rem; font-weight: 400; padding: 15px 0; }
.faq details:last-child { border: 0; }
.faq details p { font-size: 0.875rem; padding-bottom: 18px; }
@media (max-width: 1220px) { .babes-open { margin-inline: var(--side); } }
@media (max-width: 767px) {
  .babes-open { padding-top: 55px; }
  .babes-heading { grid-template-columns: 1fr; gap: 20px; }
  .babes-heading h1 img { width: 250px; }
  .babes-photo { height: 95vw; max-height: 550px; }
  .babes-info { grid-template-columns: 1fr; gap: 40px; padding-block: 45px; }
  .babes-side-photo img { height: 85vw; max-height: 600px; }
  .babes-info-copy .ride-map { width: 100%; }
  .faq { margin-inline: var(--side); padding-block: 60px; }
  .faq-heading { gap: 10px; margin-bottom: 30px; }
  .faq-heading img { width: 45px; }
  .faq-heading h2 { font-size: 3.75rem; }
}

/* Club: presentación a la izquierda y beneficios desplegables a la derecha. */
.club-layout { max-width: 1180px; margin: auto; padding: 90px 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.club-overview h1 { margin: 0 0 45px; }
.club-overview h1 img { width: 280px; height: auto; }
.club-photo { width: 100%; height: 390px; object-fit: cover; }
.club-overview p { font-size: 0.9375rem; line-height: 1.6; margin: 22px 0 25px; }
.club-overview .btn { min-width: 280px; min-height: 62px; }
.club-perks { padding-top: 0; }
.perk-card { border-bottom: 1px solid var(--ink); }
.perk-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; border: 0; background: transparent; color: var(--ink); text-align: left; font-size: 0.875rem; }
.perk-chevron { width: 10px; height: 10px; flex: none; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform var(--motion-soft) var(--ease-soft); }
.perk-card.is-open .perk-chevron { transform: rotate(225deg); }
.perk-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--motion-soft) var(--ease-soft); }
.perk-card.is-open .perk-panel { grid-template-rows: 1fr; }
.perk-panel p { min-height: 0; overflow: hidden; margin: 0; padding-bottom: 0; font-size: 0.875rem; opacity: 0; transform: translateY(-.15rem); transition: padding-bottom var(--motion-soft) var(--ease-soft), opacity .2s ease, transform var(--motion-soft) var(--ease-soft); }
.perk-card.is-open .perk-panel p { padding-bottom: 18px; opacity: 1; transform: none; }
.club-end { max-width: 1180px; margin: auto; padding: 40px 0 70px; text-align: center; }
.club-end > img { width: 90px; height: 90px; object-fit: contain; margin: auto auto 95px; }
.club-legal { display: flex; justify-content: center; gap: 12px; }
.club-legal a { min-width: 180px; border: 2px solid var(--ink); padding: 3px 12px; font-size: 0.75rem; font-weight: 700; }
.club-legal a:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 1220px) { .club-layout, .club-end { margin-inline: var(--side); } }
@media (max-width: 767px) {
  .club-layout { grid-template-columns: 1fr; gap: 50px; padding-top: 60px; }
  .club-photo { height: 65vw; }
  .club-end { padding-bottom: 55px; }
  .club-end > img { margin-bottom: 50px; }
  .club-legal a { min-width: 0; }
}

/* Soporte: bloque breve sobre blanco, alineado al margen del sitio. */
.support-page { min-height: 634px; padding: 105px var(--side); background: var(--paper); }
.support-page h1 { font-size: clamp(2.5rem,5vw,4.125rem); margin: 0 0 30px; }
.support-page p { font-size: 1.0625rem; margin-bottom: 25px; }
.support-page a { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8125rem; text-decoration: underline; }
.support-page a svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2px; }
@media (max-width: 640px) { .support-page { min-height: 500px; padding-block: 70px; } .support-page h1 { font-size: 2.5rem; } }

/* Página de error: composición simple, legible y centrada en cualquier pantalla. */
.pagina-error {
  min-height: 100svh;
  display: grid;
  place-content: center;
  justify-items: start;
  gap: 1.25rem;
  padding: clamp(1.25rem, 6vw, 5rem);
  background: var(--paper);
}
.pagina-error .brand { position: static; width: min(13.5rem, 70vw); }
.pagina-error h1 { max-width: 10ch; margin: 0; font-size: clamp(4rem, 13vw, 10rem); }
.pagina-error p { max-width: 38rem; margin: 0; }

/* Documentos: jerarquía de títulos y ancho de lectura de las páginas originales. */
.legal-doc { max-width: 1180px; margin: auto; padding: 85px 0 100px; }
.legal-doc h1 { font-size: clamp(2.25rem,4vw,3rem); margin: 0 0 45px; }
.legal-doc article { margin-bottom: 28px; }
.legal-doc h2 { font-size: clamp(1.6875rem,3vw,2.125rem); margin: 0 0 8px; }
.legal-doc p, .legal-doc li { font-size: 1rem; line-height: 1.65; }
.legal-doc p { margin: 0 0 12px; }
.legal-doc ul { margin: 12px 0 0; padding-left: 35px; }
.legal-doc .legal-source { margin-top: 45px; font-size: 0.8125rem; }
.legal-source a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1220px) { .legal-doc { margin-inline: var(--side); } }
@media (max-width: 640px) {
  .legal-doc { padding-block: 60px 75px; }
  .legal-doc h1 { font-size: 2.375rem; }
  .legal-doc h2 { font-size: 1.75rem; }
  .legal-doc p, .legal-doc li { font-size: 0.9375rem; }
}

/* --------------------------------------------------------------------------
   Aparición progresiva

   El desplazamiento es deliberadamente corto para no distraer. Las reglas
   solo ocultan un bloque después de que sitio.js confirma que puede observarlo;
   sin JavaScript todo permanece visible y utilizable.
   -------------------------------------------------------------------------- */
.has-js.reveal-ready [data-reveal] {
  opacity: 0.92;
  transform: translateY(5px);
  transition:
    opacity 0.5s ease,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.has-js.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Las imágenes siguen usando lazy loading nativo. El flujo de cada sección se
   calcula desde el inicio para impedir saltos de altura o áreas sin pintar. */

/* Mensajes breves de estado para la única carga dinámica del sitio: las rutas. */
.routes-loading {
  margin: 28px 0;
  font-size: 0.8125rem;
  font-style: italic;
}

/* La preferencia del sistema elimina tanto transiciones como desplazamientos. */
@media (prefers-reduced-motion: reduce) {
  .has-js.reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
