
/*
Theme Name: Ongravity Climbing — Landing
Theme URI: https://ongravity.es/
Author: Ongravity / Nico
Description: Tema mínimo para una landing rápida (splash del logo, banner 25€, vídeo autoplay, ubicación, CTA WhatsApp).
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: ongravity-climbing
*/
:root{ --og-red:#c9281b; --ink:#222; --muted:#666; --line:#e9e6e4; --soft:#faf9f8 }
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0; font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Helvetica,Arial,sans-serif; color:var(--ink); background:#fff}
.container{width:min(1120px,92vw); margin-inline:auto}
a{color:inherit; text-decoration:none}
header{position:sticky; top:0; z-index:40; background:rgba(255,255,255,.9); backdrop-filter:saturate(1.05) blur(6px); border-bottom:1px solid var(--line)}
.topbar{display:flex; align-items:center; justify-content:space-between; padding:10px 0}
.brand img{height:72px; width:auto; display:block}
@media (max-width:640px){.brand img{height:58px}}
nav{display:flex; gap:18px; font-size:14px}
nav a.cta{padding:10px 14px; border-radius:12px; background:var(--og-red); color:#fff; font-weight:800}
body.lock{overflow:hidden}
.gate{position:fixed; inset:0; z-index:9999; display:grid; place-items:center; background:#fff; color:var(--ink)}
.gate.hide{opacity:0; pointer-events:none; transition:opacity .28s ease}
.gate .center{text-align:center; padding:20px}
.gate .logo{width:clamp(200px,28vw,420px); height:auto; cursor:pointer; filter:drop-shadow(0 8px 28px rgba(0,0,0,.12)); transition:transform .25s ease, filter .25s ease}
.gate .logo:hover{transform:scale(1.07) rotate(-1.5deg); filter:drop-shadow(0 16px 46px rgba(0,0,0,.18))}
.gate .cta{margin-top:14px; font-weight:900; letter-spacing:.2px}
.gate .hint{margin-top:6px; font-size:12px; color:#666}
@keyframes breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.03)}}
.gate .logo.pulse{animation:breathe 1.8s ease-in-out infinite}
@media (prefers-reduced-motion:reduce){ .gate .logo.pulse{animation:none} }
.promo-wrap{background:linear-gradient(90deg,#c9281b,#e74a3e); border-bottom:1px solid #e14a3d22}
.promo{display:flex; align-items:center; justify-content:space-between; gap:14px; color:#fff; padding:14px 0}
.promo .big{font-size:clamp(36px,9vw,88px); font-weight:900; line-height:1; letter-spacing:-1.5px}
.promo .tagline{font-weight:800; text-transform:uppercase; letter-spacing:.4px}
.promo .pill{display:inline-block; padding:6px 10px; border-radius:999px; background:#ffffff14; border:1px solid #ffffff40; font-size:12px}
.promo .btn{--pad:12px; display:inline-flex; align-items:center; gap:10px; padding:var(--pad) 16px; border-radius:14px; background:#fff; color:#c9281b; font-weight:900; border:0; cursor:pointer}
@media (max-width:760px){.promo{flex-direction:column; align-items:flex-start}}
.hero{padding:34px 0 22px}
.grid{display:grid; grid-template-columns:1.2fr 1fr; gap:22px}
@media (max-width:980px){.grid{grid-template-columns:1fr}}
.card{background:#fff; border:1px solid var(--line); border-radius:22px; padding:24px; box-shadow:0 14px 44px #0000000d}
.lead{margin:8px 0 0; color:var(--muted)}
.features{display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:12px}
@media (max-width:780px){.features{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.features{grid-template-columns:1fr}}
.feat{border:1px solid var(--line); border-radius:14px; padding:14px; background:#fff}
.feat b{display:block}
.feat span{color:var(--muted); font-size:13px}
.cta-row{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}
.btn{--pad:14px; display:inline-flex; align-items:center; gap:10px; padding:var(--pad) 18px; border-radius:14px; background:var(--og-red); color:#fff; font-weight:800; border:0; cursor:pointer; box-shadow:0 10px 26px rgba(201,40,27,.22)}
.btn.ghost{background:#fff; color:#111; border:1px solid var(--line)}
.video-wrap{position:relative; border-radius:18px; overflow:hidden; border:1px solid var(--line); background:#000; aspect-ratio:16/9}
.video-wrap #ytplayer{position:absolute; inset:0; width:100%; height:100%}
.unmute{position:absolute; right:12px; bottom:12px; z-index:2; border:0; border-radius:12px; padding:10px 12px; font-weight:800; background:#fff; color:#000; cursor:pointer; box-shadow:0 8px 24px rgba(0,0,0,.28)}
.unmute.hide{display:none}
.loc{margin:46px 0}
.loc-grid{display:grid; grid-template-columns:1fr 1.2fr; gap:16px}
@media (max-width:980px){.loc-grid{grid-template-columns:1fr}}
.map{border:1px solid var(--line); border-radius:16px; overflow:hidden; min-height:320px}
.map iframe{width:100%; height:100%; border:0}
.loc-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:10px}
.faq{margin:44px 0}
.faq details{background:#fff; border:1px solid var(--line); border-radius:16px; padding:16px 18px; margin-bottom:10px}
.faq summary{cursor:pointer; font-weight:800}
footer{color:#777; font-size:12px; padding:26px 0 72px; text-align:center; border-top:1px solid var(--line)}
.sticky-cta{position:fixed; left:0; right:0; bottom:0; background:#111; color:#fff; display:flex; gap:12px; justify-content:center; padding:10px 12px; transform:translateY(100%); transition:.24s ease; z-index:50}
.sticky-cta.show{transform:translateY(0)}
.sticky-cta .btn{background:#fff; color:#111; box-shadow:none}
