/* Padel del Lago — portada profesional (secciones lp-*). Usa los tokens de la portada (--gold, --cream, --text, --muted, --line, --card-bg).
   Sistema: un solo radio (--lp-r) y un solo borde (--lp-bd) para todas las tarjetas, un ritmo vertical fijo (.lp-sec), botón primario dorado y secundario con contorno. */
.lp-hero, .lp-sec, .lp-wrap { max-width: 100%; }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.25em; }
body.ai { overflow-x: clip; --lp-r: 18px; --lp-r-sm: 14px; --lp-bd: 1px solid var(--line); --lp-focus: var(--gold-hi); }
/* Foco visible y parejo en toda la portada */
.lp-btn:focus-visible, .lp-link:focus-visible, .lp-quick a:focus-visible, .lp-faq summary:focus-visible, .mbtn:focus-visible, .lp-spons a:focus-visible, .lp-contact a:focus-visible,
.lp-card:focus-within { outline: 3px solid var(--lp-focus); outline-offset: 3px; }
.lp-card:focus-within { outline-offset: 2px; }
.lp-card:focus-within .lp-link:focus-visible { outline: 0; }
:root[data-theme="light"] body.ai { --lp-focus: #7d5c10; }

/* ── Hero ── */
.lp-hero { min-height: 0; padding: 92px var(--pad) 40px; align-items: center; }
.lp-hero .hero-vignette { background: linear-gradient(180deg, rgba(3,16,10,.55) 0%, rgba(3,16,10,.72) 55%, rgba(3,16,10,.9) 100%); }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; max-width: 1180px; }
.lp-hero-col { min-width: 0; }
.lp-hero .hero-eyebrow { font-size: .66rem; letter-spacing: .16em; line-height: 1.5; flex-wrap: wrap; }
.lp-hero .hero-title { font-size: clamp(2.6rem, 11vw, 4.6rem); margin: 16px 0 10px; }
.lp-hero .hero-title .lp-h1-kw { display: block; margin-top: 12px; font-size: clamp(1.05rem, 3.4vw, 1.6rem); font-weight: 600; letter-spacing: 0; line-height: 1.25; text-transform: none; color: var(--cream); }
.lp-hero .hero-slogan { min-height: 0; margin: 0 0 10px; }
.lp-lead { max-width: 34rem; margin: 0 0 22px; color: #f5f3ee; font-size: 1.1rem; line-height: 1.5; text-shadow: 0 1px 10px rgba(2,10,6,.7); }
.lp-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: var(--lp-r-sm); border: 1px solid transparent; font: 800 1rem/1.1 var(--display); text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .2s, filter .15s, border-color .15s, background .15s; }
.lp-btn .ic { width: 22px; height: 22px; }
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn:active { transform: translateY(0); filter: brightness(.96); }
.lp-btn-gold { background: linear-gradient(135deg, #f0c060, #d8a848); color: #1a1300; box-shadow: 0 8px 24px rgba(216,168,72,.28); }
.lp-btn-gold:hover { filter: brightness(1.06); color: #1a1300; }
.lp-btn-wa { background: #25d366; color: #05220f; box-shadow: 0 8px 24px rgba(37,211,102,.25); }
.lp-btn-wa:hover { filter: brightness(1.05); color: #05220f; }
.lp-btn-line { background: transparent; color: var(--gold-hi); border-color: var(--gold-soft); }
.lp-btn-line:hover { border-color: var(--gold); color: var(--cream); background: rgba(216,168,72,.08); }
.lp-btn-block { width: 100%; }
/* Sobre la foto del hero el botón de contorno va siempre en crema (el tema claro no cambia la foto) */
.lp-hero .lp-btn-line { color: #f5f3ee; border-color: rgba(245,243,238,.55); background: rgba(3,16,10,.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lp-hero .lp-btn-line:hover { border-color: #f0c060; color: #fff; background: rgba(3,16,10,.55); }
.lp-hero .lp-btn { flex: 1 1 210px; }
.lp-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 0; color: #f5f3ee; font-size: .9rem; font-weight: 600; text-shadow: 0 1px 8px rgba(2,10,6,.7); }
.lp-trust .ic { color: #f0c060; }
.lp-hero-card { display: none; }
.lp-hero-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.lp-hero-card li { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid rgba(240,192,96,.18); color: #f5f3ee; }
.lp-hero-card li:last-child { border-bottom: 0; }
.lp-hero-card .ic { width: 28px; height: 28px; color: #f0c060; }
.lp-hero-card b { display: block; font-size: 1.05rem; }
.lp-hero-card small { display: block; color: #c5d3ca; font-size: .85rem; }
@media (max-width: 899px) { .lp-hero-col .hero-title { overflow-wrap: anywhere; } }
@media (min-width: 900px) {
  .lp-hero { padding: 120px var(--pad) 96px; }
  .lp-hero .hero-vignette { background: linear-gradient(90deg, rgba(3,16,10,.9) 0%, rgba(3,16,10,.68) 45%, rgba(3,16,10,.3) 100%); }
  .lp-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 56px; }
  .lp-hero .hero-title { font-size: clamp(3.4rem, 6vw, 5.4rem); }
  .lp-hero .lp-btn { flex: 0 0 auto; }
  .lp-hero-card { display: block; padding: 8px 24px; border-radius: 22px; background: rgba(3,16,10,.62); border: 1px solid rgba(240,192,96,.32); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 24px 60px rgba(0,0,0,.45); }
}

/* ── Accesos rápidos: una franja de 4 (2 × 2 en el celular; en escritorio asoma sobre el borde del hero) ── */
.lp-quick { position: relative; z-index: 2; padding: 14px var(--pad) 0; }
.lp-quick-in { list-style: none; margin: 0 auto; padding: 0; max-width: 1180px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lp-quick a { display: flex; align-items: center; gap: 12px; min-height: 64px; height: 100%; padding: 10px 12px; border-radius: var(--lp-r-sm); background: var(--bg-2); border: var(--lp-bd); color: var(--cream); text-decoration: none; box-shadow: 0 6px 18px rgba(0,0,0,.18); transition: border-color .15s, transform .15s; }
.lp-quick a:hover { border-color: var(--gold-soft); transform: translateY(-1px); }
.lp-quick-ic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(145deg, rgba(31,138,91,.22), rgba(216,168,72,.1)); border: 1px solid rgba(216,168,72,.3); color: var(--gold-hi); }
.lp-quick-ic .ic { width: 22px; height: 22px; }
.lp-quick-wa .lp-quick-ic { background: #25d366; border-color: #25d366; color: #05220f; }
.lp-quick-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lp-quick-tx b { font-size: .92rem; line-height: 1.2; font-weight: 700; overflow-wrap: anywhere; }
.lp-quick-tx small { color: var(--muted); font-size: .78rem; line-height: 1.25; }
@media (max-width: 599px) { .lp-quick a { gap: 10px; padding: 8px 10px; } .lp-quick-tx small { display: none; } .lp-quick-tx b { font-size: .9rem; } }
@media (min-width: 900px) {
  .lp-quick { margin-top: -44px; padding-top: 0; }
  .lp-quick-in { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .lp-quick a { padding: 14px 18px; box-shadow: var(--shadow-card); }
}

/* ── Secciones: mismo ritmo vertical y mismo encabezado en todas ── */
.lp-sec { padding: 44px var(--pad); }
.lp-sec-tight { padding-top: 32px; padding-bottom: 32px; }
.lp-sec-alt { background: linear-gradient(180deg, transparent, rgba(11,58,40,.22), transparent); }
[data-theme=light] .lp-sec-alt { background: linear-gradient(180deg, transparent, rgba(18,105,74,.07), transparent); }
.lp-wrap { max-width: 1180px; margin: 0 auto; min-width: 0; }
.lp-head { max-width: 640px; margin: 0 auto 26px; text-align: center; }
.lp-head-left { margin: 0 0 18px; text-align: left; }
.lp-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 20px; max-width: none; margin: 0 0 20px; text-align: left; }
.lp-head-row > div { min-width: 0; flex: 1 1 320px; }
.lp-kicker { display: inline-block; font: 600 .72rem/1 var(--mono); letter-spacing: .2em; color: var(--gold); margin-bottom: 10px; }
.lp-head h2 { font-family: var(--display); font-weight: 700; font-size: clamp(1.55rem, 4.2vw, 2.3rem); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 8px; color: var(--cream); text-transform: none; }
.lp-head p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.55; }
.lp-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--gold-hi); font-weight: 700; text-decoration: none; }
.lp-link:hover { color: var(--cream); }
.lp-hrs { color: var(--muted); font-size: .85rem; }
@media (min-width: 900px) { .lp-sec { padding: 72px var(--pad); } .lp-sec-tight { padding-top: 40px; padding-bottom: 40px; } .lp-head { margin-bottom: 36px; } .lp-head-row { margin-bottom: 26px; } }

/* ── Esta semana: americanos con cupo (tarjetas vivas) ── */
.lp-matches { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.lp-matches .mcard { display: flex; flex-direction: column; background: var(--card-bg); border: var(--lp-bd); border-radius: var(--lp-r); padding: 16px; box-shadow: var(--shadow-card); color: var(--text); }
.lp-matches .mday { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 800; margin: 0 0 4px; }
.lp-matches .row { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; }
.lp-matches .hour { font-size: 1.7rem; font-weight: 800; color: var(--gold-hi); line-height: 1.1; }
.lp-matches .hour small { font-size: .85rem; color: var(--muted); font-weight: 600; margin-left: .3rem; }
.lp-matches .price { font-weight: 800; text-align: right; color: var(--cream); }
.lp-matches .price small { display: block; color: var(--muted); font-weight: 500; font-size: .72rem; }
.lp-matches .court { margin: 4px 0 0; color: var(--cream); font-weight: 600; font-size: .92rem; }
.lp-matches .court span { color: var(--muted); font-weight: 500; }
.lp-matches .mcat { align-self: flex-start; margin: 6px 0 0; }
.lp-matches .mlevel { align-self: flex-start; margin: 6px 0 0; padding: 1px 10px; border-radius: 999px; border: 1px solid var(--gold); color: var(--gold-hi); font-size: .78rem; font-weight: 700; }
.lp-matches .left { margin: 6px 0 12px; font-size: .92rem; color: var(--cream); }
.lp-matches .mbtn { margin-top: auto; display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 12px; background: var(--gold); color: #1a1300; font-weight: 800; text-decoration: none; transition: filter .15s, transform .15s; }
.lp-matches .mbtn:hover { filter: brightness(1.07); transform: translateY(-1px); }
.lp-matches .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lp-more { display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; margin: 18px auto 0; }
.lp-empty { max-width: 560px; margin: 0 auto; text-align: center; color: var(--muted); }

/* ── El club: tarjetas uniformes (2 columnas en el celular, 4 en escritorio) ── */
.lp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lp-card { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: var(--lp-r); background: var(--card-bg); border: var(--lp-bd); min-width: 0; transition: border-color .2s, transform .2s; }
.lp-card:hover { border-color: var(--gold-soft); transform: translateY(-2px); }
.lp-card h3 { margin: 0; font-family: var(--display); font-size: 1.05rem; font-weight: 700; color: var(--cream); line-height: 1.2; }
.lp-card p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.45; flex: 1; overflow-wrap: anywhere; }
.lp-card p b { color: var(--cream); }
.lp-card .lp-link { margin-top: 2px; font-size: .92rem; gap: 6px; }
.lp-card .lp-link .ic { width: 1.1em; height: 1.1em; }
.lp-card-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(145deg, rgba(31,138,91,.22), rgba(216,168,72,.1)); border: 1px solid rgba(216,168,72,.3); color: var(--gold-hi); }
.lp-card-ic .ic { width: 24px; height: 24px; }
@media (max-width: 599px) { .lp-card { padding: 14px; } .lp-card .lp-link .ic { display: none; } .lp-card .lp-link { font-size: .88rem; } }
@media (min-width: 1000px) { .lp-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } .lp-card { padding: 22px; gap: 10px; } .lp-card h3 { font-size: 1.15rem; } .lp-card p { font-size: .93rem; } }

/* Sponsors: franja de logos (el detalle vive en /sponsors) */
.lp-spons { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 18px; padding-top: 18px; border-top: var(--lp-bd); }
.lp-spons-k { font: 600 .7rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.lp-spons ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lp-spons a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--card-bg); border: var(--lp-bd); color: var(--cream); font-size: .88rem; font-weight: 700; text-decoration: none; transition: border-color .15s; }
.lp-spons a:not(:has(img)) { padding-left: 14px; }
.lp-spons a:hover { border-color: var(--gold-soft); }
.lp-spons img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: #fff; }

/* ── Instalaciones: dos tarjetas con foto ── */
.lp-courts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.lp-court { margin: 0; overflow: hidden; border-radius: var(--lp-r); background: var(--card-bg); border: var(--lp-bd); box-shadow: var(--shadow-card); }
.lp-court img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 48%; }
.lp-court figcaption { display: grid; gap: 6px; padding: 16px 18px 20px; }
.lp-court-tag { font: 600 .7rem/1 var(--mono); letter-spacing: .16em; color: var(--gold); }
.lp-court h3 { margin: 0; font-family: var(--display); font-size: 1.2rem; color: var(--cream); }
.lp-court p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.5; }
@media (min-width: 760px) { .lp-courts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }

/* ── Cifras: una franja delgada ── */
.lp-stats-sec { padding: 8px var(--pad) 0; }
.lp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0; }
.lp-stats > div { display: flex; flex-direction: column-reverse; gap: 6px; padding: 14px 12px; border-radius: var(--lp-r-sm); background: var(--card-bg); border: var(--lp-bd); text-align: center; align-items: center; }
.lp-stats dd { margin: 0; font: 700 clamp(1.4rem, 5vw, 1.9rem)/1 var(--display); color: var(--cream); letter-spacing: -.02em; }
.lp-stats dt { display: inline-flex; align-items: center; gap: 8px; font: 600 .7rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lp-stats dt .ic { color: var(--gold); width: 18px; height: 18px; }
@media (min-width: 900px) { .lp-stats { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 16px; } }
/* Con una cifra suelta al final (3 o 5 tarjetas en 2 columnas) ocupa todo el ancho: antes quedaba una tarjeta huérfana a medias. */
@media (max-width: 899px) { .lp-stats > div:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* ── Ubicación ── */
.lp-loc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.lp-contact { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 14px; }
.lp-contact li { display: flex; gap: 14px; align-items: flex-start; color: var(--text); }
.lp-contact .ic { width: 24px; height: 24px; color: var(--gold-hi); margin-top: 2px; }
.lp-contact b { display: block; color: var(--muted); font: 600 .7rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.lp-contact a { color: var(--cream); font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold-soft); text-underline-offset: 3px; }
.lp-hours { padding: 18px 20px; border-radius: var(--lp-r); background: var(--card-bg); border: var(--lp-bd); align-self: start; }
.lp-hours h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; color: var(--cream); font-family: var(--display); font-size: 1.1rem; }
.lp-hours .ic { color: var(--gold-hi); }
.lp-hours table { width: 100%; border-collapse: collapse; }
.lp-hours th, .lp-hours td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; color: var(--text); font-weight: 500; }
.lp-hours td { text-align: right; color: var(--cream); font-weight: 700; font-variant-numeric: tabular-nums; }
.lp-hours tr:last-child th, .lp-hours tr:last-child td { border-bottom: 0; }
.lp-hours tr.closed td { color: var(--muted); }
@media (min-width: 900px) { .lp-loc { grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; } }

/* ── Los dos WhatsApp (chatbot y turno): las tarjetas son de public.css; aquí se les dan los colores de la portada y se compactan ── */
.lp-wa .wa2 { --ink: var(--cream); --sub: var(--muted); --label: var(--gold-hi); --accent: var(--gold-hi); --surface: var(--card-bg); --surface-2: var(--card-bg); --shadow-sm: none; margin: 0; }
.lp-wa .wa2-lead { display: none; }
.lp-wa .wa2-h { margin: 0 0 14px; font-family: var(--display); font-size: 1.25rem; color: var(--cream); }
.lp-wa .wa2-card { padding: 16px 18px; border-radius: var(--lp-r); border-color: var(--line); gap: 4px; }
.lp-wa .wa2-card h3 { font-family: var(--display); font-size: 1.1rem; color: var(--cream); }
.lp-wa .wa2-tx { font-size: .9rem; line-height: 1.45; margin-bottom: 6px; color: var(--muted); }
.lp-wa .wa2-num { font-size: 1.15rem; color: var(--cream); }
.lp-wa .wa2-btn { border-radius: var(--lp-r-sm); }
.lp-wa .wa2-kicker { color: var(--muted); }

/* ── FAQ: plegable ── */
.lp-faq-wrap { max-width: 820px; }
.lp-faq { display: grid; gap: 10px; }
.lp-faq details { border-radius: var(--lp-r-sm); background: var(--card-bg); border: var(--lp-bd); }
.lp-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 6px 18px; cursor: pointer; list-style: none; color: var(--cream); font-weight: 700; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary .ic { color: var(--gold); transition: transform .2s; }
.lp-faq details[open] summary .ic { transform: rotate(180deg); }
.lp-faq details[open] { border-color: var(--gold-soft); }
.lp-faq details p { margin: 0; padding: 0 18px 18px; color: var(--text); line-height: 1.6; }
.lp-faq details a { color: var(--gold-hi); text-decoration: underline; }

/* Botón flotante de WhatsApp: etiqueta completa en escritorio */
@media (min-width: 721px) { .wa-float { padding: 0 1.2rem 0 .6rem; background: #25d366; color: #05220f; border-color: #1fbf5a; } .wa-float:hover { color: #05220f; } .wa-float-ic { background: #05220f; color: #25d366; } }
.lp-cta .lp-btn { flex: 1 1 200px; }
@media (min-width: 900px) { .lp-cta .lp-btn { flex: 0 0 auto; } }

/* Enlaces de las tarjetas de sponsors («Sitio web →», «WhatsApp →»): área de toque de 44 px. */
.svc-link { display: inline-flex; align-items: center; min-height: 44px; }

/* Tema claro: el dorado de los rótulos (#a87d22 sobre crema = 3,4:1) pasa al dorado oscuro (≥ 5:1). */
:root[data-theme="light"] .lp-kicker, :root[data-theme="light"] .lp-matches .mday { color: #7d5c10; }
:root[data-theme="light"] .lp-court-tag, :root[data-theme="light"] .lp-stats dt .ic { color: #7d5c10; }
:root[data-theme="light"] .lp-quick a { box-shadow: 0 6px 18px rgba(20,20,15,.08); }
:root[data-theme="light"] .lp-quick-ic, :root[data-theme="light"] .lp-card-ic { color: #7d5c10; }
:root[data-theme="light"] .lp-quick-wa .lp-quick-ic { color: #05220f; }

/* Apertura escalonada de reservas (reservations/apertura.ts): una línea bajo los botones de reservar. */
.lp-gate { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0 0; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(241, 199, 91, .7); background: rgba(8, 22, 16, .82); color: #fff; max-width: 36rem; box-shadow: 0 6px 22px rgba(0, 0, 0, .35); }
.lp-gate .lp-gate-ic { line-height: 1; flex: none; color: #f1c75b; }
.lp-gate .lp-gate-ic .ic { width: 26px; height: 26px; }
.lp-gate > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lp-gate b { font-size: 1.05rem; line-height: 1.3; font-weight: 800; color: #f1c75b; }
.lp-gate span { font-size: .95rem; line-height: 1.45; color: #f3f4f1; }
.lp-gate a { color: #f1c75b; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) { .lp-btn, .lp-card, .lp-quick a, .lp-matches .mbtn, .lp-faq summary .ic { transition: none; } .lp-btn:hover, .lp-card:hover, .lp-quick a:hover { transform: none; } }
