/* =========================================================
   PALMARE PADEL CLUB · Web
   Identidad: Verde Palmare #122D20 · Beige Palmare #E4E3D0
   Tipografías: Gilda Display (títulos) · Montserrat (textos)
                Cormorant Garamond cursiva (tagline)
   ========================================================= */

:root {
  --verde: #122D20;
  --verde-2: #1A3A2A;          /* verde un punto más claro para capas */
  --beige: #E4E3D0;
  --beige-claro: #ECEBDD;      /* fondo de tarjetas sobre beige */
  --verde-70: rgba(18, 45, 32, .72);
  --verde-50: rgba(18, 45, 32, .5);
  --verde-15: rgba(18, 45, 32, .15);
  --beige-70: rgba(228, 227, 208, .72);
  --beige-40: rgba(228, 227, 208, .4);
  --beige-20: rgba(228, 227, 208, .2);

  --f-titulo: "Gilda Display", "Times New Roman", serif;
  --f-texto: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --f-tagline: "Cormorant Garamond", Georgia, serif;

  --gutter: 16px;
  --radius: 10px;
  --header-h: 64px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 101;
  background: var(--beige);
}
body {
  margin: 0;
  background: var(--beige);
  color: var(--verde);
  font-family: var(--f-texto);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--verde); color: var(--beige); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--verde); color: var(--beige); padding: 10px 16px; border-radius: 999px;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* Grano editorial (fotos con un poco de grano, como pide el manual) */
.grano::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  opacity: .18; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Tipografía ---------- */
.titulo-xl {
  font-family: var(--f-titulo);
  font-size: clamp(34px, 3.5vw, 52px);
  line-height: 1.02;
  letter-spacing: -.01em;
}
.titulo-l {
  font-family: var(--f-titulo);
  font-size: clamp(32px, 3.6vw, 50px);
  line-height: 1.05;
}
.titulo-caps {
  font-family: var(--f-titulo);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.05;
}
.antetitulo {
  display: inline-block;
  font-size: 11px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  margin-bottom: 18px;
}
.tagline {
  font-family: var(--f-tagline);
  font-style: italic;
  font-weight: 400;
}
.texto-s { font-size: 13.5px; line-height: 1.7; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 10px 26px; border-radius: 999px;
  font-size: 14px; font-weight: 500; letter-spacing: .01em;
  border: 1px solid transparent; background: none;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn--outline { border-color: var(--verde); color: var(--verde); }
.btn--outline:hover { background: var(--verde); color: var(--beige); }
.btn--outline-beige { border-color: var(--beige-70); color: var(--beige); }
.btn--outline-beige:hover { background: var(--beige); color: var(--verde); }
.btn--verde { background: var(--verde); color: var(--beige); }
.btn--verde:hover { background: var(--verde-2); }
.btn--beige { background: var(--beige); color: var(--verde); }
.btn--beige:hover { background: #fff; }
.btn--cristal {
  background: rgba(18, 45, 32, .78); color: var(--beige);
  border-color: var(--beige-40);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  min-height: 50px; padding: 12px 36px; font-size: 15px;
}
.btn--cristal:hover { background: var(--beige); color: var(--verde); }

/* Botón con anillo exterior (doble contorno) */
.anillo {
  display: inline-flex; padding: 6px; border-radius: 999px;
  border: 1px solid currentColor;
}
.anillo--beige { border-color: var(--beige-70); }
.anillo--verde { border-color: var(--verde-50); }

.enlace-flecha {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: border-color .3s var(--ease), gap .3s var(--ease);
}
.enlace-flecha:hover { border-color: currentColor; gap: 12px; }
.enlace-flecha svg { width: 12px; height: 12px; }

/* ---------- Cabecera ---------- */
.cabecera {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100;
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 calc(var(--gutter) + 4px);
  background: var(--beige);
  transition: box-shadow .4s var(--ease);
}
.cabecera.con-sombra { box-shadow: 0 1px 0 var(--verde-15); }
.cabecera__logo { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.cabecera__logo svg { width: 40px; height: auto; color: var(--verde); }
.cabecera__logo span {
  font-family: var(--f-titulo); font-size: 19px; letter-spacing: .08em;
  opacity: 0; transform: translateX(-6px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.cabecera.con-sombra .cabecera__logo span { opacity: 1; transform: none; }
.nav { display: flex; gap: 34px; }
.nav a {
  position: relative; font-size: 14px; font-weight: 500; color: var(--verde-70);
  transition: color .3s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--verde); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.cabecera__cta { justify-self: end; display: flex; align-items: center; gap: 10px; }
.cabecera__cta .btn { min-height: 38px; padding: 7px 20px; }

.menu-btn {
  display: none; width: 44px; height: 44px; border: 0; background: none; padding: 0;
  position: relative;
}
.menu-btn span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--verde);
  transition: transform .35s var(--ease), opacity .2s;
}
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 26px; }
.menu-abierto .menu-btn span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-abierto .menu-btn span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

.menu-movil {
  position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0; z-index: 99;
  background: var(--beige);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 32px var(--gutter) 40px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.menu-abierto .menu-movil { opacity: 1; visibility: visible; transform: none; }
.menu-movil nav { display: flex; flex-direction: column; }
.menu-movil nav a {
  font-family: var(--f-titulo); font-size: 34px; line-height: 1.1;
  padding: 12px 0; border-bottom: 1px solid var(--verde-15);
}
.menu-movil .tagline { font-size: 22px; opacity: .8; }

/* ---------- Hero (inicio) ---------- */
.hero {
  position: relative; margin: 0 var(--gutter);
  height: clamp(460px, 74vh, 760px);
  border-radius: var(--radius); overflow: hidden;
  background: var(--verde);
  display: grid; place-items: center; text-align: center;
  color: var(--beige);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.75) contrast(1.05) brightness(.82);
  transform: scale(1.08);
  animation: lento 22s var(--ease) infinite alternate;
}
.hero__media::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at center, rgba(18,45,32,.05) 0%, rgba(18,45,32,.45) 100%),
    linear-gradient(180deg, rgba(18,45,32,.1) 40%, rgba(18,45,32,.55) 100%);
}
@keyframes lento {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to   { transform: scale(1.16) translate3d(-1.5%, -1%, 0); }
}
.hero__contenido { position: relative; z-index: 2; padding: 0 var(--gutter); }
.hero__marca {
  font-family: var(--f-titulo);
  font-size: clamp(44px, 14.5vw, 232px);
  white-space: nowrap;
  line-height: .9; letter-spacing: .03em;
  color: var(--beige);
  text-shadow: 0 2px 40px rgba(18,45,32,.25);
}
.hero__marca span { display: inline-block; }
.hero__sub {
  margin: 18px 0 0;
  font-size: clamp(11px, 1.1vw, 14px); font-weight: 600;
  letter-spacing: .5em; text-transform: uppercase;
  padding-left: .5em;
}
.hero__tagline { margin: 10px 0 34px; font-size: clamp(20px, 2vw, 26px); opacity: .92; }

/* Entrada del hero */
.hero__marca span, .hero__sub, .hero__tagline, .hero .btn {
  animation: subir 1.1s var(--ease) both;
}
.hero__marca span { animation-delay: calc(var(--i) * 70ms + 150ms); }
.hero__sub { animation-delay: .75s; }
.hero__tagline { animation-delay: .9s; }
.hero .btn { animation-delay: 1.05s; }
@keyframes subir { from { opacity: .35; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Intro dos columnas ---------- */
.intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center;
  padding: clamp(80px, 11vw, 150px) var(--gutter) clamp(80px, 9vw, 130px);
}
.intro__texto { max-width: 560px; justify-self: center; padding-left: 2vw; }
.intro__texto .titulo-xl { margin-bottom: 28px; }
.intro__texto p { font-size: 14.5px; color: var(--verde-70); max-width: 480px; }
.intro__texto .tagline { display: block; font-size: 24px; color: var(--verde); margin-top: 26px; }
.foto {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--verde);
}
.foto img { width: 100%; height: 100%; object-fit: cover; }
.intro .foto { aspect-ratio: 5 / 4; }
.intro .foto img { object-position: 50% 12%; }

/* ---------- Banda oscura + carrusel horizontal ---------- */
.banda {
  background: var(--verde); color: var(--beige); text-align: center;
  padding: clamp(48px, 5vw, 64px) var(--gutter) clamp(36px, 4vw, 48px);
}
.banda p { max-width: 640px; margin: 14px auto 0; font-size: 13px; color: var(--beige-70); }

.tira { background: var(--verde); overflow: hidden; }
.tira__pista {
  display: flex; will-change: transform;
}
.tarjeta {
  position: relative; flex: 0 0 calc(100vw / 3); aspect-ratio: 478 / 680;
  overflow: hidden; color: var(--beige);
  border-right: 1px solid var(--verde);
}
.tarjeta img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease), filter .6s var(--ease);
  filter: brightness(.86);
}
.tarjeta::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 55%, rgba(18,45,32,.75) 100%);
}
.tarjeta:hover img { transform: scale(1.05); filter: brightness(.95); }
.tarjeta__pie {
  position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
}
.tarjeta__pie small { display: block; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.tarjeta__pie strong { display: block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.tarjeta__pie .flecha {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--beige-40);
  display: grid; place-items: center; flex: none;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.tarjeta:hover .flecha { background: var(--beige); color: var(--verde); }
.flecha svg { width: 12px; height: 12px; }

/* ---------- "Hazte socio" con tarjeta superpuesta ---------- */
.socio {
  position: relative; text-align: center;
  padding: clamp(90px, 10vw, 140px) var(--gutter) clamp(110px, 12vw, 170px);
}
.socio__grande {
  position: sticky; top: calc(var(--header-h) + 8vh);
  font-family: var(--f-titulo);
  font-size: clamp(76px, 13.5vw, 210px);
  line-height: .9; letter-spacing: -.01em;
  color: var(--verde);
  transition: opacity .2s linear;
}
.socio__tarjeta {
  position: relative; z-index: 2;
  width: min(380px, 100%); margin: 22vh auto 0;
  background: var(--verde); color: var(--beige);
  border-radius: var(--radius);
  padding: 46px 34px 40px;
  box-shadow: 0 30px 60px -30px rgba(18,45,32,.5);
}
.socio__tarjeta h3 {
  font-family: var(--f-titulo); text-transform: uppercase; letter-spacing: .03em;
  font-size: 30px; line-height: 1.05; margin-bottom: 18px;
}
.socio__tarjeta p { font-size: 13.5px; color: var(--beige-70); margin-bottom: 28px; }

/* ---------- Pie ---------- */
.pie { background: var(--verde); color: var(--beige); padding: clamp(60px, 7vw, 96px) calc(var(--gutter) + 16px) 36px; }
.pie__news { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: start; padding-bottom: 72px; border-bottom: 1px solid var(--beige-20); }
.pie__news h2 { font-family: var(--f-titulo); font-size: clamp(30px, 3vw, 44px); line-height: 1.1; max-width: 520px; }
.form-news label { display: block; font-size: 12px; margin-bottom: 8px; }
.form-news input[type="email"] {
  width: 100%; height: 46px; padding: 0 14px;
  background: transparent; color: var(--beige);
  border: 1px solid var(--beige-40); border-radius: 6px;
  font: inherit; font-size: 15px;
  transition: border-color .3s;
}
.form-news input[type="email"]:focus { outline: none; border-color: var(--beige); }
.form-news__fila { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 16px; flex-wrap: wrap; }
.check { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; color: var(--beige-70); cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--beige); margin: 0; }
.form-news__ok { margin-top: 14px; font-size: 13px; color: var(--beige); min-height: 1.4em; }

.pie__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding: 56px 0 64px; }
.pie__grid h3 { font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 20px; color: var(--beige-70); }
.pie__grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pie__grid a, .pie__grid li { font-size: 14px; }
.pie__grid a { opacity: .9; transition: opacity .2s; }
.pie__grid a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.pie__club { display: flex; gap: 22px; align-items: flex-start; }
.pie__club svg { width: 64px; flex: none; color: var(--beige); }
.pie__club address { font-style: normal; font-size: 14px; line-height: 1.75; }
.pie__club strong { font-family: var(--f-titulo); font-weight: 400; font-size: 20px; letter-spacing: .06em; display: block; margin-bottom: 4px; }
.pie__base { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.redes { display: flex; gap: 10px; }
.redes a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--beige); color: var(--verde); transition: transform .3s var(--ease);
}
.redes a:hover { transform: translateY(-2px); }
.redes svg { width: 18px; height: 18px; }
.pie__base .tagline { font-size: 21px; color: var(--beige-70); }
.pie__base small { font-size: 12px; letter-spacing: .06em; color: var(--beige-70); }

/* ---------- Revelado al hacer scroll ---------- */
.revela { transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .revela:not(.visible) { opacity: 0; transform: translateY(28px); transition: none; }
.revela-d1 { transition-delay: .12s; }
.revela-d2 { transition-delay: .24s; }
.revela-d3 { transition-delay: .36s; }

/* =========================================================
   PÁGINAS INTERIORES
   ========================================================= */
.cabecera-pagina {
  background: var(--verde); color: var(--beige); text-align: center;
  padding: clamp(90px, 10vw, 130px) var(--gutter) clamp(80px, 9vw, 110px);
}
.cabecera-pagina h1 {
  font-family: var(--f-titulo); text-transform: uppercase; letter-spacing: .04em;
  font-size: clamp(36px, 4.6vw, 64px); line-height: 1.02;
}
.cabecera-pagina p { max-width: 620px; margin: 18px auto 34px; font-size: 14.5px; color: var(--beige-70); }
.cabecera-pagina .tagline { display: block; font-size: 24px; color: var(--beige); margin: 14px 0 0; }

.foto-grande {
  margin: var(--gutter); height: clamp(360px, 62vw, 760px);
}
.foto-grande__marca {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 6%;
  text-align: center; color: var(--beige);
  font-family: var(--f-titulo); font-size: clamp(60px, 14vw, 210px); line-height: .9; letter-spacing: .03em;
}

.seccion { padding: clamp(70px, 9vw, 130px) calc(var(--gutter) + 2vw); }
.seccion--estrecha { max-width: 1240px; margin: 0 auto; }
.dos-col { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: start; }
.dos-col--centro { align-items: center; }
.bloque-texto .titulo-caps, .bloque-texto .titulo-l { margin-bottom: 22px; }
.bloque-texto p { color: var(--verde-70); font-size: 14.5px; max-width: 520px; }
.bloque-texto .enlace-flecha { margin-top: 18px; }

/* Acordeón de ventajas */
.acordeon { border-top: 1px solid var(--verde-15); }
.acordeon details { border-bottom: 1px solid var(--verde-15); }
.acordeon summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0;
  font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}
.acordeon summary::-webkit-details-marker { display: none; }
.acordeon summary .mas { position: relative; width: 12px; height: 12px; flex: none; }
.acordeon summary .mas::before, .acordeon summary .mas::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor;
  transition: transform .35s var(--ease);
}
.acordeon summary .mas::after { transform: rotate(90deg); }
.acordeon details[open] summary .mas::after { transform: rotate(0deg); }
.acordeon details p { margin: -6px 0 22px; padding-right: 40px; font-size: 14px; color: var(--verde-70); }

/* Planes de membresía */
.planes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--beige-claro); border: 1px solid var(--verde-15);
  border-radius: var(--radius); padding: 36px 30px 32px;
}
.plan--destacado { background: var(--verde); color: var(--beige); border-color: var(--verde); }
.plan__etiqueta {
  position: absolute; top: 18px; right: 18px;
  font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  border: 1px solid currentColor; border-radius: 999px; padding: 4px 10px; opacity: .85;
}
.plan h3 { font-family: var(--f-titulo); font-size: 36px; line-height: 1; margin-bottom: 8px; }
.plan__para { font-size: 13px; opacity: .75; min-height: 42px; }
.plan__precio { display: flex; align-items: baseline; gap: 6px; margin: 22px 0 4px; }
.plan__precio strong { font-family: var(--f-titulo); font-weight: 400; font-size: 52px; line-height: 1; }
.plan__precio span { font-size: 13px; opacity: .75; }
.plan__nota { font-size: 12px; opacity: .7; min-height: 20px; }
.plan ul { list-style: none; margin: 24px 0 30px; padding: 22px 0 0; border-top: 1px solid currentColor; border-top-color: var(--verde-15); display: grid; gap: 10px; flex: 1; }
.plan--destacado ul { border-top-color: var(--beige-20); }
.plan li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; font-size: 13.5px; line-height: 1.5; }
.plan li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; margin-top: 7px; opacity: .8;
}
.plan .btn { width: 100%; }
.garantia {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px;
  margin-top: 34px; font-size: 13px; color: var(--verde-70); text-align: center;
}
.garantia span::before { content: "—  "; }

.aviso-fundador {
  margin-top: 16px; padding: 22px 28px; border-radius: var(--radius);
  border: 1px dashed var(--verde-50);
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.aviso-fundador p { margin: 0; font-size: 14px; }
.aviso-fundador strong { font-family: var(--f-titulo); font-weight: 400; font-size: 22px; }

/* Rejilla de servicios / instalaciones */
.rejilla { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.celda {
  background: var(--beige-claro); border: 1px solid var(--verde-15); border-radius: var(--radius);
  padding: 30px 28px; min-height: 210px; display: flex; flex-direction: column;
}
.celda__num { font-family: var(--f-titulo); font-size: 15px; opacity: .55; margin-bottom: auto; padding-bottom: 30px; }
.celda h3 { font-family: var(--f-titulo); font-size: 26px; line-height: 1.1; margin-bottom: 10px; }
.celda p { font-size: 13.5px; color: var(--verde-70); }
.celda--verde { background: var(--verde); color: var(--beige); border-color: var(--verde); }
.celda--verde p { color: var(--beige-70); }

/* Tabla de precios de pista */
.precios { border-top: 1px solid var(--verde-15); }
.precio-fila {
  display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: baseline;
  padding: 20px 0; border-bottom: 1px solid var(--verde-15);
}
.precio-fila h3 { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.precio-fila small { display: block; font-size: 13px; color: var(--verde-70); margin-top: 4px; letter-spacing: 0; text-transform: none; font-weight: 400; }
.precio-fila strong { font-family: var(--f-titulo); font-weight: 400; font-size: 34px; white-space: nowrap; }
.precio-fila strong span { font-family: var(--f-texto); font-size: 13px; color: var(--verde-70); margin-left: 4px; }

/* Frase grande centrada */
.frase {
  text-align: center; padding: clamp(80px, 10vw, 150px) var(--gutter);
}
.frase .tagline { font-size: clamp(34px, 5vw, 74px); line-height: 1.1; display: block; }
.frase small { display: block; margin-top: 22px; font-size: 11px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--verde-70); }
.frase--verde { background: var(--verde); color: var(--beige); }
.frase--verde small { color: var(--beige-70); }

/* Lista de valores */
.valores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--verde-15); }
.valor { padding: 34px 28px 40px 0; border-bottom: 1px solid var(--verde-15); }
.valor:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--verde-15); }
.valor h3 { font-family: var(--f-titulo); font-size: 28px; margin-bottom: 10px; }
.valor p { font-size: 13.5px; color: var(--verde-70); margin: 0; }

/* Pasos (timeline sencillo) */
.pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: paso; }
.paso { border-top: 1px solid currentColor; padding-top: 22px; }
.paso::before {
  counter-increment: paso; content: "0" counter(paso);
  display: block; font-family: var(--f-titulo); font-size: 15px; opacity: .55; margin-bottom: 26px;
}
.paso h3 { font-family: var(--f-titulo); font-size: 28px; line-height: 1.1; margin-bottom: 10px; }
.paso p { font-size: 13.5px; opacity: .78; }

.foto--alta { aspect-ratio: 4 / 5; }
.foto--ancha { aspect-ratio: 16 / 11; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 22px; }
  .planes, .rejilla { grid-template-columns: 1fr 1fr; }
  .planes .plan:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  :root { --header-h: 60px; }
  .cabecera { grid-template-columns: 1fr auto; }
  .nav, .cabecera__cta .btn { display: none; }
  .menu-btn { display: block; }
  .intro, .dos-col, .pie__news { grid-template-columns: 1fr; }
  .intro { gap: 44px; }
  .intro__texto { justify-self: start; padding-left: 0; }
  .tira { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .tira::-webkit-scrollbar { display: none; }
  .tira__pista { transform: none !important; }
  .tarjeta { flex-basis: 72vw; scroll-snap-align: start; }
  .pie__grid { grid-template-columns: 1fr 1fr; }
  .pie__grid > :first-child { grid-column: 1 / -1; }
  .valores, .pasos { grid-template-columns: 1fr; }
  .valor:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .socio__tarjeta { margin-top: 16vh; }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .planes, .rejilla { grid-template-columns: 1fr; }
  .hero { height: clamp(460px, 78vh, 640px); }
  .hero__sub { letter-spacing: .32em; }
  .pie { padding-left: var(--gutter); padding-right: var(--gutter); }
  .pie__grid { grid-template-columns: 1fr; gap: 36px; }
  .pie__base { flex-direction: column; align-items: flex-start; }
  .precio-fila strong { font-size: 28px; }
  .aviso-fundador { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .revela:not(.visible) { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Cabecera de páginas interiores: entra al cargar, sin esperar al scroll */
.cabecera-pagina .revela { animation: entra 1s var(--ease) .1s both; }
@keyframes entra { from { opacity: .35; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.cabecera-pagina .revela-d1 { animation-delay: .25s; }
.cabecera-pagina .revela-d2 { animation-delay: .4s; }
.cabecera-pagina .revela-d3 { animation-delay: .55s; }

/* =========================================================
   RESERVAS · banner, simulador y matchmaking
   ========================================================= */
.banner-reserva { background: var(--verde); padding: var(--gutter) var(--gutter) var(--gutter); }
.banner-reserva__caja {
  position: relative; overflow: hidden; border-radius: var(--radius);
  height: clamp(380px, 62vh, 620px); background: var(--verde-2);
}
.banner-reserva__caja img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  filter: blur(3px) grayscale(.35) brightness(.72); transform: scale(1.08);
  animation: lento 24s var(--ease) infinite alternate;
}
.banner-reserva__caja::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(18,45,32,.05) 30%, rgba(18,45,32,.6) 100%);
}
.banner-reserva__texto { position: absolute; left: clamp(22px, 3.5vw, 56px); bottom: clamp(24px, 4vw, 56px); z-index: 2; color: var(--beige); }
.banner-reserva h1 {
  font-family: var(--f-titulo); text-transform: uppercase; letter-spacing: .01em;
  font-size: clamp(54px, 8.4vw, 130px); line-height: .92;
  animation: subir 1.1s var(--ease) .15s both;
}
.banner-reserva .tagline { font-size: clamp(20px, 2vw, 28px); margin: 14px 0 0; animation: subir 1.1s var(--ease) .45s both; }

.opciones { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.opcion {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 16 / 11; color: var(--beige); background: var(--verde);
}
.opcion::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(18,45,32,0) 35%, rgba(18,45,32,.78) 100%); pointer-events: none; }
.opcion img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.62) saturate(.8); transition: transform 1.2s var(--ease), filter .6s var(--ease); }
.opcion:hover img { transform: scale(1.05); filter: brightness(.6) saturate(.85); }
.opcion__titulo {
  position: absolute; left: 26px; bottom: 24px; z-index: 2;
  font-family: var(--f-titulo); text-transform: uppercase; font-size: clamp(34px, 4vw, 58px); line-height: .95;
}
.opcion__btn {
  position: absolute; right: 22px; bottom: 26px; z-index: 2;
  font-size: 12px; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--beige-70);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.opcion:hover .opcion__btn { background: var(--beige); color: var(--verde); }

.reserva { position: relative; scroll-margin-top: calc(var(--header-h) + 10px); }
.ancla { position: absolute; top: 0; scroll-margin-top: calc(var(--header-h) + 10px); }
.reserva__cab { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.reserva__cab .antetitulo { margin-bottom: 10px; }

.tabs { display: inline-flex; padding: 5px; border-radius: 999px; border: 1px solid var(--verde-15); background: var(--beige-claro); }
.tab {
  border: 0; background: none; padding: 10px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--verde-70);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.tab[aria-selected="true"] { background: var(--verde); color: var(--beige); }

.dias { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-bottom: 18px; }
.dia {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 12px 6px; border-radius: 10px; border: 1px solid var(--verde-15); background: var(--beige-claro);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s;
}
.dia small { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.dia strong { font-family: var(--f-titulo); font-weight: 400; font-size: 28px; line-height: 1.1; }
.dia span { font-size: 12px; opacity: .7; }
.dia:hover { border-color: var(--verde); }
.dia[aria-pressed="true"] { background: var(--verde); color: var(--beige); border-color: var(--verde); }

.barra-filtros { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--verde-15); background: transparent;
  font-size: 13px; font-weight: 500; transition: background .25s, color .25s, border-color .25s;
}
.chip:hover { border-color: var(--verde); }
.chip[aria-pressed="true"] { background: var(--verde); color: var(--beige); border-color: var(--verde); }
.leyenda { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; font-size: 12px; color: var(--verde-70); }
.leyenda li { display: inline-flex; align-items: center; gap: 7px; }
.leyenda i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.l-libre { background: var(--beige-claro); border: 1px solid var(--verde-50); }
.l-ocupada { background: repeating-linear-gradient(135deg, var(--verde-15) 0 3px, transparent 3px 6px); border: 1px solid var(--verde-15); }
.l-abierto { background: var(--verde-2); }
.l-punta { width: 7px !important; height: 7px !important; border-radius: 50% !important; background: var(--verde); }

.horario {
  overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--verde-15); background: var(--beige-claro);
  -webkit-overflow-scrolling: touch;
}
.tabla-horas { width: 100%; min-width: 880px; border-collapse: separate; border-spacing: 0; }
.tabla-horas th, .tabla-horas td { padding: 5px; text-align: center; }
.tabla-horas thead th {
  font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 14px 4px 8px; color: var(--verde-70);
  border-bottom: 1px solid var(--verde-15);
}
.tabla-horas thead th.es-punta { color: var(--verde); }
.tabla-horas thead th.es-punta::after { content: ""; display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--verde); margin: 5px auto 0; }
.tabla-horas tbody th {
  position: sticky; left: 0; z-index: 1; background: var(--beige-claro);
  text-align: left; padding: 8px 14px; white-space: nowrap; border-right: 1px solid var(--verde-15);
}
.tabla-horas tbody th strong { display: block; font-family: var(--f-titulo); font-weight: 400; font-size: 19px; }
.tabla-horas tbody th small { font-size: 11px; color: var(--verde-70); letter-spacing: .06em; text-transform: uppercase; }
.tabla-horas tbody tr + tr th, .tabla-horas tbody tr + tr td { border-top: 1px solid var(--verde-15); }

.slot {
  width: 100%; min-height: 54px; border-radius: 8px; padding: 6px 4px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  border: 1px solid transparent; background: transparent; line-height: 1.15;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s, transform .2s var(--ease);
}
.slot b { font-size: 14px; font-weight: 700; }
.slot small { font-size: 10.5px; letter-spacing: .04em; opacity: .75; }
.slot--libre { background: var(--beige); border-color: var(--verde-50); color: var(--verde); }
.slot--libre:hover, .slot--libre:focus-visible { background: var(--verde); color: var(--beige); transform: translateY(-1px); }
.slot--elegida { background: var(--verde) !important; color: var(--beige) !important; box-shadow: 0 0 0 2px var(--beige), 0 0 0 4px var(--verde); }
.slot--ocupada { background: repeating-linear-gradient(135deg, var(--verde-15) 0 3px, transparent 3px 7px); color: var(--verde-50); cursor: not-allowed; }
.slot--pasada { color: var(--verde-50); cursor: not-allowed; }
.slot--actividad { background: rgba(18,45,32,.08); color: var(--verde-70); cursor: not-allowed; }
.slot--abierto { background: var(--verde-2); color: var(--beige); }
.slot--abierto:hover { background: var(--verde); }
.slot--mia { background: var(--verde); color: var(--beige); box-shadow: inset 0 0 0 2px var(--beige-40); }
.aviso-sim { font-size: 12px; color: var(--verde-70); margin-top: 12px; }

.panel-reserva {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; margin-top: 28px;
  scroll-margin-top: calc(var(--header-h) + 16px);
  animation: subir .6s var(--ease);
}
.panel-reserva[hidden] { display: none; }
.panel-reserva__form { background: var(--beige-claro); border: 1px solid var(--verde-15); border-radius: var(--radius); padding: 30px; }
.jugadores { display: grid; gap: 10px; margin: 22px 0 20px; }
.jugador { display: grid; grid-template-columns: 38px 1fr 1fr; gap: 10px; align-items: center; }
.jugador input, .jugador select, .abrir-opciones select {
  height: 44px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--verde-15); background: var(--beige);
  color: var(--verde); font: inherit; font-size: 14px; width: 100%;
}
.jugador input:focus, .jugador select:focus, .abrir-opciones select:focus { outline: none; border-color: var(--verde); }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; flex: none;
  background: var(--verde); color: var(--beige); font-family: var(--f-titulo); font-size: 17px; position: relative;
}
.jugador__libre { display: none; grid-column: 2 / -1; height: 44px; align-items: center; padding: 0 14px; border-radius: 8px; border: 1px dashed var(--verde-50); font-size: 13px; color: var(--verde-70); }
.jugador--libre input, .jugador--libre select { display: none; }
.jugador--libre .jugador__libre { display: flex; }
.jugador--libre .avatar { background: transparent; color: var(--verde); border: 1px dashed var(--verde-50); }

.check-verde { display: flex; align-items: center; gap: 10px; font-size: 13.5px; cursor: pointer; }
.check-verde input { width: 18px; height: 18px; accent-color: var(--verde); margin: 0; flex: none; }
.abrir-opciones { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.abrir-opciones[hidden] { display: none; }
.abrir-opciones label { font-size: 12px; font-weight: 600; letter-spacing: .06em; display: grid; gap: 6px; }
.pago { border: 0; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.pago legend { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 10px; padding: 0; }
.pago label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.pago input { accent-color: var(--verde); width: 17px; height: 17px; margin: 0; }

.ticket {
  background: var(--verde); color: var(--beige); border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; align-self: start; position: sticky; top: calc(var(--header-h) + 16px);
}
.ticket__cab { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--beige-70); margin-bottom: 18px; }
.ticket__cab svg { width: 34px; color: var(--beige); }
.ticket__pista {
  background: var(--beige); color: var(--verde); border-radius: 10px; padding: 16px 18px;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
}
.ticket__pista strong { display: block; font-family: var(--f-titulo); font-weight: 400; font-size: 26px; line-height: 1.1; }
.ticket__pista small { font-size: 12.5px; color: var(--verde-70); }
.ticket__franja { font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; padding-top: 6px; }
.ticket__lineas { list-style: none; margin: 16px 0 0; padding: 0; }
.ticket__lineas li { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--beige-20); }
.ticket__lineas .avatar { width: 34px; height: 34px; font-size: 15px; background: rgba(228,227,208,.14); color: var(--beige); }
.ticket__lineas b { display: block; font-size: 14px; font-weight: 600; }
.ticket__lineas small { font-size: 11.5px; color: var(--beige-70); }
.ticket__lineas strong { font-size: 14px; font-weight: 600; }
.ticket__lineas .libre { opacity: .7; }
.ticket__total { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 20px; }
.ticket__total span { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--beige-70); }
.ticket__total strong { font-family: var(--f-titulo); font-weight: 400; font-size: 34px; }
.ticket__btn { width: 100%; min-height: 50px; font-size: 15px; font-weight: 600; }
.ticket__cambiar { margin-top: 12px; background: none; border: 0; color: var(--beige-70); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }

.mis-reservas { margin-top: 28px; }
.mis-reservas[hidden] { display: none; }
.mis-reservas ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--verde-15); }
.mis-reservas li { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 0; border-bottom: 1px solid var(--verde-15); font-size: 14px; }
.mis-reservas em { color: var(--verde-70); }
.mis-reservas__acc { display: inline-flex; gap: 16px; align-items: center; }
.mis-reservas__acc small { font-size: 12px; letter-spacing: .08em; color: var(--verde-70); }
.enlace-mini { background: none; border: 0; padding: 0; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Matchmaking */
.match-filtros {
  display: grid; grid-template-columns: minmax(260px, .8fr) 1.2fr; gap: 28px; align-items: start;
  background: var(--beige-claro); border: 1px solid var(--verde-15); border-radius: var(--radius); padding: 24px 26px; margin-bottom: 18px;
}
.nivel { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 6px 12px; }
.nivel label { font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.nivel output { font-family: var(--f-titulo); font-size: 34px; line-height: 1; }
.nivel input[type="range"] { grid-column: 1 / -1; width: 100%; accent-color: var(--verde); margin: 8px 0 0; }
.nivel__escala { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: 10.5px; color: var(--verde-70); letter-spacing: .04em; }

.partidos { display: grid; gap: 10px; }
.partido {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 22px; align-items: center;
  background: var(--beige-claro); border: 1px solid var(--verde-15); border-radius: var(--radius); padding: 18px 22px;
  animation: subir .5s var(--ease);
}
.partido--propio { border-style: dashed; border-color: var(--verde-50); }
.partido--dentro { background: var(--verde); color: var(--beige); border-color: var(--verde); }
.partido__cuando { text-align: center; border-right: 1px solid var(--verde-15); padding-right: 18px; }
.partido--dentro .partido__cuando { border-color: var(--beige-20); }
.partido__cuando small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.partido__cuando strong { display: block; font-family: var(--f-titulo); font-weight: 400; font-size: 30px; line-height: 1.1; }
.partido__cuando span { font-size: 12px; opacity: .7; }
.partido__info h3 { font-family: var(--f-titulo); font-size: 22px; line-height: 1.15; }
.partido__info p { font-size: 13px; opacity: .75; margin: 2px 0 10px; }
.partido__jugadores { display: flex; gap: 8px; flex-wrap: wrap; }
.partido__jugadores .avatar { width: 40px; height: 40px; }
.partido__jugadores .avatar i {
  position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%);
  font-style: normal; font-family: var(--f-texto); font-size: 9.5px; font-weight: 700;
  background: var(--beige); color: var(--verde); border: 1px solid var(--verde-15); border-radius: 999px; padding: 0 5px; line-height: 14px;
}
.avatar--vacio { background: transparent !important; color: var(--verde-70) !important; border: 1px dashed var(--verde-50); font-family: var(--f-texto) !important; }
.partido--dentro .avatar--vacio { color: var(--beige-70) !important; border-color: var(--beige-40); }
.partido--dentro .partido__jugadores .avatar:not(.avatar--vacio) { background: var(--beige); color: var(--verde); }
.avatar--tu { box-shadow: 0 0 0 2px var(--verde), 0 0 0 3px var(--beige); }
.partido__accion { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; min-width: 150px; }
.partido__accion strong { font-family: var(--f-titulo); font-weight: 400; font-size: 24px; }
.partido__accion strong small { font-family: var(--f-texto); font-size: 12px; opacity: .7; }
.partido__accion > small { font-size: 12px; opacity: .75; }
.partido__accion .btn { min-height: 40px; padding: 8px 26px; margin-top: 4px; }
.partido__estado { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; }
.partidos-vacio { text-align: center; padding: 40px 20px; border: 1px dashed var(--verde-50); border-radius: var(--radius); }
.partidos-vacio[hidden] { display: none; }

/* Modal */
.modal {
  width: min(460px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto;
  border: 0; border-radius: 14px; padding: 0; background: var(--verde); color: var(--beige);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,.5);
}
.modal[open] { animation: modal-in .45s var(--ease); }
.modal::backdrop { background: rgba(18,45,32,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
.modal__cerrar {
  position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--beige-40); background: transparent; color: var(--beige); font-size: 22px; line-height: 1;
}
.modal__ticket { padding: 38px 32px 30px; text-align: center; }
.modal__logo { width: 64px; color: var(--beige); margin: 0 auto 16px; display: block; }
.modal__ticket .antetitulo { color: var(--beige-70); margin-bottom: 8px; }
.modal__ticket h2 { font-family: var(--f-titulo); font-size: 40px; line-height: 1.05; }
.modal__ticket > p { font-size: 14px; color: var(--beige-70); margin: 8px 0 0; }
.modal__ticket .ticket__lineas { text-align: left; margin-top: 18px; border-top: 1px solid var(--beige-20); }
.modal__ticket .ticket__total { padding-bottom: 6px; }
.modal__nota { font-size: 13px !important; text-align: left; margin-top: 10px !important; }
.modal__nota--destacada { background: rgba(228,227,208,.1); border-radius: 8px; padding: 12px 14px; color: var(--beige) !important; }
.modal__codigo { font-size: 12px !important; letter-spacing: .16em; text-transform: uppercase; margin-top: 16px !important; }
.modal__codigo b { color: var(--beige); }
.modal__acciones { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.modal .btn--verde { background: var(--beige); color: var(--verde); }
.modal .btn--verde:hover { background: #fff; }
.modal .btn--outline { border-color: var(--beige-70); color: var(--beige); }
.modal .btn--outline:hover { background: var(--beige); color: var(--verde); }
.modal__tagline { font-size: 19px; color: var(--beige-70); margin-top: 18px; }
.chat { text-align: left; margin-top: 18px; display: grid; gap: 8px; }
.chat__msg { margin: 0; max-width: 85%; padding: 10px 14px; border-radius: 14px 14px 14px 4px; background: rgba(228,227,208,.12); font-size: 13.5px; }
.chat__msg b { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--beige-70); margin-bottom: 2px; }
.chat__msg--tu { justify-self: end; border-radius: 14px 14px 4px 14px; background: var(--beige); color: var(--verde); }
.chat__msg--tu b { color: var(--verde-70); }

/* Bloque final "Hazte socio" */
.socio-final { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; padding: 0 var(--gutter) var(--gutter); }
.socio-final__texto { padding: 0 2vw 4vw; display: grid; gap: 14px; justify-items: start; }
.socio-final__texto .titulo-caps { margin-bottom: 10px; }
.socio-final__texto p { font-size: 14px; color: var(--verde-70); max-width: 420px; margin-top: 10px; }
.socio-final .foto { aspect-ratio: 4 / 3; }

/* Matchmaking en la portada */
.mock-app { background: var(--verde); color: var(--beige); border-radius: 16px; padding: 22px; box-shadow: 0 30px 60px -30px rgba(18,45,32,.55); }
.mock-app__cab { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--beige-70); margin-bottom: 16px; }
.mock-app__cab svg { width: 32px; color: var(--beige); }
.mock-partido { display: grid; grid-template-columns: 70px 1fr auto; gap: 14px; align-items: center; background: var(--beige); color: var(--verde); border-radius: 12px; padding: 14px 16px; }
.mock-partido + .mock-partido { margin-top: 8px; }
.mock-partido__cuando { text-align: center; border-right: 1px solid var(--verde-15); padding-right: 10px; }
.mock-partido__cuando strong { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.mock-partido__cuando span { font-family: var(--f-titulo); font-size: 22px; }
.mock-partido__info b { display: block; font-family: var(--f-titulo); font-weight: 400; font-size: 18px; }
.mock-partido__info small { font-size: 12px; color: var(--verde-70); }
.avatares { display: flex; gap: 5px; margin-top: 8px; }
.avatares i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 12px; background: var(--verde); color: var(--beige); }
.avatares i.vacio { background: transparent; color: var(--verde-70); border: 1px dashed var(--verde-50); }
.mock-partido__falta { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--verde); color: var(--beige); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }

/* Botón flotante "Reserva tu pista" */
.flotante {
  position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 22px 8px 8px; border-radius: 999px;
  background: var(--verde); color: var(--beige); font-size: 14px; font-weight: 600;
  box-shadow: 0 18px 40px -14px rgba(18,45,32,.6), 0 0 0 1px var(--beige-20);
  opacity: 0; transform: translateY(20px) scale(.96); pointer-events: none;
  transition: opacity .45s var(--ease), transform .45s var(--ease), background .3s;
}
.flotante.visible { opacity: 1; transform: none; pointer-events: auto; }
.flotante:hover { background: var(--verde-2); }
.flotante__icono { width: 38px; height: 38px; border-radius: 50%; background: var(--beige); color: var(--verde); display: grid; place-items: center; }
.flotante__icono svg { width: 24px; }
.menu-abierto .flotante { opacity: 0; pointer-events: none; }

@media (max-width: 900px) {
  .opciones, .socio-final { grid-template-columns: 1fr; }
  .panel-reserva { grid-template-columns: 1fr; }
  .ticket { position: static; }
  .match-filtros { grid-template-columns: 1fr; }
  .partido { grid-template-columns: 78px 1fr; }
  .partido__accion { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; min-width: 0; flex-wrap: wrap; text-align: left; border-top: 1px solid var(--verde-15); padding-top: 12px; }
  .partido--dentro .partido__accion { border-color: var(--beige-20); }
  .socio-final__texto { padding: 40px 0 20px; }
}
@media (max-width: 640px) {
  .dias { grid-template-columns: repeat(7, minmax(64px, 1fr)); overflow-x: auto; scrollbar-width: none; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .dias::-webkit-scrollbar { display: none; }
  .tabs { width: 100%; }
  .tab { flex: 1; padding: 10px 12px; }
  .jugador { grid-template-columns: 38px 1fr; }
  .jugador select { grid-column: 2; }
  .abrir-opciones { grid-template-columns: 1fr; }
  .panel-reserva__form, .ticket { padding: 22px; }
  .partido { padding: 16px; gap: 14px; }
  .partido__cuando { padding-right: 12px; }
  .flotante { left: calc(16px + env(safe-area-inset-left, 0px)); right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); justify-content: center; }
  .opcion { aspect-ratio: 4 / 3; }
  .mock-partido { grid-template-columns: 58px 1fr; }
  .mock-partido__falta { grid-column: 2; justify-self: start; }
}
