/* play.<domain>: Jungle Padel one-page padel landing, built to the 8-screen mobile reference.
   Phone first (the reference is 390 px wide); on a computer the same column is centred and larger. */
:root{
  --cream:#f1f1ec;--card:#e9e5da;--ink:#141a15;--muted:#3d413b;--line:#d8d3c5;
  --lime:#d1ff79;--lime-soft:#f1f7d9;--green:#263e2b;--maroon:#6e1a17;
  --head:"Archivo",system-ui,sans-serif;--body:"Montserrat",system-ui,sans-serif;
  --pad:26px;--r:18px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
/* Safari paints the strips under its top and bottom bars with the page background: it is the hero's colour
   while the hero is on screen (html.in-hero, switched by play.js) and cream below it, so no band shows anywhere. */
html,body{background:var(--cream)}
html.in-hero,html.in-hero body{background:var(--maroon)}
body{margin:0;color:var(--ink);font:400 16px/1.5 var(--body);-webkit-font-smoothing:antialiased}
main{background:var(--cream)}
img{display:block;max-width:100%}
a{color:inherit}
/* with JS each heading keeps the reference's line breaks and is sized to the reference's width (data-fit) */
.fit h1[data-fit],.fit h2[data-fit]{white-space:nowrap}
h1,h2,h3{font-family:var(--head);font-stretch:125%;font-weight:900;text-transform:uppercase;margin:0;line-height:.95;letter-spacing:-.005em}
.ic{width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}

/* not confirmed by the club yet: impossible to miss, impossible to mistake for real content */
.tbc{display:inline-block;font:600 12px/1.3 var(--body);letter-spacing:.02em;text-transform:none;color:#8a5a00;background:#fff3cd;border:1.5px dashed #d9a400;border-radius:6px;padding:3px 7px;vertical-align:middle}
.is-tbc{opacity:.55;cursor:not-allowed}

/* ---------- header ---------- */
.top{position:fixed;inset:0 0 auto;z-index:40;display:flex;align-items:center;justify-content:space-between;padding:calc(14px + env(safe-area-inset-top)) var(--pad) 12px;transition:background .25s,box-shadow .25s,transform .3s}
.top .logo img{height:36px;width:auto;filter:brightness(0) invert(1)}
.top.solid{background:var(--cream);box-shadow:0 1px 0 var(--line)}
.top.solid .logo img{filter:brightness(0)}
.top.away{transform:translateY(-100%)}
.burger{width:40px;height:40px;margin-right:-8px;border:0;background:none;display:grid;place-content:center;gap:5px;cursor:pointer}
.burger span{display:block;width:24px;height:2.4px;border-radius:2px;background:#fff;transition:transform .25s,opacity .2s}
.top.solid .burger span,.top.open .burger span{background:var(--ink)}
.top.open{background:var(--cream)}
.top.open .logo img{filter:brightness(0)}
.top.open .burger span:nth-child(1){transform:translateY(7.4px) rotate(45deg)}
.top.open .burger span:nth-child(2){opacity:0}
.top.open .burger span:nth-child(3){transform:translateY(-7.4px) rotate(-45deg)}
.menu{position:fixed;inset:0;z-index:39;background:var(--cream);padding:calc(96px + env(safe-area-inset-top)) var(--pad) 40px;display:flex;flex-direction:column;gap:4px;overflow:auto}
.menu[hidden]{display:none}
.menu a{font:900 30px/1.25 var(--head);font-stretch:125%;text-transform:uppercase;text-decoration:none;padding:6px 0}
.menu a.menu-main{margin-top:18px;font:600 16px/1.4 var(--body);text-transform:none;text-decoration:underline;text-underline-offset:3px}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:56px;padding:0 22px;border-radius:999px;font:800 15px/1.1 var(--body);text-transform:uppercase;letter-spacing:.01em;text-decoration:none;border:2px solid transparent;cursor:pointer;transition:transform .15s,background .2s,color .2s}
.btn:active{transform:scale(.98)}
.btn .ic{width:22px;height:22px;stroke-width:2}
.btn-lime{background:var(--lime);color:var(--ink)}
.btn-ink{background:var(--ink);color:#fff}
.btn-line{background:transparent;border-color:var(--ink);color:var(--ink)}
.btn-line-light{background:transparent;border-color:rgba(255,255,255,.85);color:#fff}
.btn-wide{display:flex;width:100%;margin-top:14px}
.btn-sm{height:46px;font-size:13px}
.btn-center{display:flex;margin:22px auto 0;width:max-content;padding:0 30px}
@media(hover:hover){.btn-lime:hover{background:#c3f55e}.btn-ink:hover{background:var(--green)}.btn-line:hover{background:var(--ink);color:#fff}.btn-line-light:hover{background:#fff;color:var(--maroon)}}

/* ---------- 01 hero ----------
   Phone: everything down to the icons fits the visible part of the screen with the browser's bars shown
   (100svh); the arrow sits lower, in the strip that Safari's bottom bar covers until the bars fold away. */
.hero{position:relative;min-height:100vh;min-height:100lvh;color:#fff;background:var(--maroon);overflow:hidden;display:flex;flex-direction:column}
.hero-bg{position:absolute;left:0;right:0;top:0;width:100%;height:58%;object-fit:cover;object-position:50% 50%}
.hero-video{opacity:0;transition:opacity .6s ease}
.hero-video.on{opacity:1}
.hero-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(110,26,23,.25) 0%,rgba(110,26,23,.12) 20%,rgba(110,26,23,.75) 40%,var(--maroon) 55%,#5c1513 100%)}
.hero-in{position:relative;flex:1;display:flex;flex-direction:column;justify-content:flex-end;padding:calc(76px + env(safe-area-inset-top)) var(--pad) max(14px,calc(100lvh - 100svh + 8px))}
.hero h1{font-size:min(9.4vw,40px);line-height:.98}
.hero h1 .script{display:block;margin-top:0;font:400 1.4em/1.05 "Meow Script",cursive;text-transform:none;letter-spacing:0;color:var(--lime);transform:rotate(-4deg);transform-origin:left;white-space:nowrap}
.hero-lead{margin:12px 0 16px;font-size:15px;line-height:1.4;max-width:300px}
.hero-ctas{display:grid;gap:10px}
.hero-ctas .btn{width:100%;height:50px;font-size:14px}
/* equal gaps between the five icons (not equal columns), with wider margins at the screen edges */
.hero-icons{list-style:none;margin:18px 0 0;padding:0 12px;display:flex;justify-content:space-between;align-items:flex-start}
.hero-icons li{flex:none;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;white-space:nowrap;font:700 9.5px/1.2 var(--body);text-transform:uppercase;letter-spacing:.02em}
.hero-icons .ic{width:26px;height:26px;stroke-width:1.4}
.hero-down{align-self:center;margin-top:14px;color:#fff;line-height:0;animation:bob 1.8s ease-in-out infinite}
.hero-down .ic{width:30px;height:30px;stroke-width:1.8}
@keyframes bob{50%{transform:translateY(5px)}}
@media(prefers-reduced-motion:reduce){.hero-down{animation:none}}

/* ---------- sections 02–08 ---------- */
.sec{padding:56px var(--pad) 8px;scroll-margin-top:64px}
.sec h2{font-size:min(11.4vw,48px)}
.sec h2.h-about{font-size:min(13.6vw,56px)}
.sec h2.h-prices{font-size:min(10.8vw,44px)}
.sec h2.h-fac{font-size:min(10.4vw,42px)}
.sec h2.h-beg{font-size:min(9.3vw,38px)}
.sec h2.h-games{font-size:min(14vw,58px)}
.sec h2.h-faq{font-size:min(11.6vw,48px)}
.sec h2.h-loc{font-size:min(10.2vw,42px)}
.lead{margin:18px 0 0;font-size:17px;line-height:1.5;color:var(--muted)}
.photo{width:100%;aspect-ratio:1/.86;object-fit:cover;border-radius:var(--r);margin-top:22px}
.photo-wide{aspect-ratio:1.5/1}

/* 02 about */
.place{display:flex;align-items:center;gap:10px;margin:20px 0 0;font:800 15px/1 var(--body);text-transform:uppercase;letter-spacing:.02em}
.place .ic{width:22px;height:22px;stroke-width:1.8}
.feats{list-style:none;margin:22px 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:20px 12px}
.feats li{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;font-size:15px;line-height:1.25}
.feats .ic{width:36px;height:36px;stroke-width:1.4}

/* 03 prices */
.price-card{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:22px;padding:24px 26px;border-radius:22px;background:var(--card)}
.price-card+.price-card{margin-top:14px}
.price-card.dark{background:var(--green);color:#fff;min-height:166px}
.pc-label{margin:0;font:800 16px/1.2 var(--body);text-transform:uppercase;letter-spacing:.01em}
.pc-price{margin:10px 0 6px;font:900 27px/1 var(--head);font-stretch:125%;white-space:nowrap}
.price-card.dark .pc-price{font-size:33px;color:var(--lime)}
.pc-unit{margin:0;font:600 14px/1.2 var(--body);text-transform:uppercase}
.pc-ic{width:74px;height:74px;stroke-width:1.5;margin-right:-4px}
.pc-court{position:absolute;right:-20px;top:-26px;width:170px;height:153px;fill:none;stroke:#fff;stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round;opacity:.95}
.price-card.dark>div{position:relative;z-index:1}
.note-card{margin:14px 0 8px;padding:20px 22px 22px;border-radius:22px;background:var(--lime-soft)}
.note-top{display:flex;align-items:center;gap:14px}
.note-top p{margin:0;font-size:16px;line-height:1.3}
.note-ic{display:grid;place-items:center;width:52px;height:52px;flex:none;border-radius:12px;background:var(--lime)}
.note-ic .ic{width:32px;height:32px;stroke-width:1.9}
.note-card>p{margin:14px 0 0;font-size:15px;line-height:1.45;color:var(--muted)}

/* 04 facilities: two columns of photos with different heights */
.mosaic{columns:2;column-gap:10px;margin-top:22px}
.mosaic button{display:block;width:100%;padding:0;border:0;background:#ddd;border-radius:14px;overflow:hidden;margin:0 0 10px;break-inside:avoid;cursor:zoom-in}
.mosaic img{width:100%;height:100%;object-fit:cover}
.mosaic .m1{height:196px}.mosaic .m2{height:204px}.mosaic .m3{height:210px}
.mosaic .m4{height:214px}.mosaic .m5{height:214px}.mosaic .m6{height:180px}

/* 05 beginners */
.pill-price{display:flex;justify-content:center;align-items:center;min-height:58px;margin:22px 0 0;padding:8px 18px;border-radius:999px;background:var(--lime);font:900 30px/1 var(--head);font-stretch:125%}
.pill-price small{font:800 17px/1 var(--body);margin-left:8px;text-transform:uppercase}
.inc-title{margin:26px 0 12px;font:800 16px/1.2 var(--body);text-transform:uppercase}
.inc{list-style:none;margin:0;padding:0 0 16px;display:grid;gap:10px;border-bottom:1.5px solid var(--line)}
.inc li{display:flex;align-items:center;gap:12px;font-size:16px}
.inc .ic{width:22px;height:22px;padding:3px;border-radius:4px;background:var(--lime);stroke-width:2.6}
.min{display:flex;align-items:center;gap:12px;margin:16px 0 0;font-size:16px;font-weight:600}
.min .ic{width:26px;height:26px}
.small{margin:14px 0 0;font-size:14px;line-height:1.45;color:var(--muted)}

/* 06 games */
.game-cards{display:grid;gap:12px;margin:20px 0 6px}
.gcard{display:flex;gap:16px;align-items:flex-start;padding:16px 18px;border-radius:16px;background:var(--card)}
.gcard .ic{width:34px;height:34px;margin-top:2px;stroke-width:1.5}
.gcard h3{font:800 16px/1.2 var(--body);text-transform:uppercase}
.gcard p{margin:4px 0 0;font-size:14px;line-height:1.4;color:var(--muted)}

/* 07 FAQ */
.faq{display:grid;gap:12px;margin-top:26px}
.faq details{border:1.5px solid var(--line);border-radius:16px;background:#fff;overflow:hidden}
.faq summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 18px;font:700 16px/1.3 var(--body);cursor:pointer}
.faq summary::-webkit-details-marker{display:none}
.faq .pm .ic{width:24px;height:24px;stroke-width:2;transition:transform .2s}
.faq details[open] .pm .ic{transform:rotate(45deg)}
.faq details[open]{background:var(--lime-soft)}
.faq .ans{padding:0 18px 18px}
.faq .ans p{margin:0;font-size:15px;line-height:1.5;color:var(--muted)}

/* 08 location */
.map{position:relative;display:block;height:118px;margin-top:14px;border-radius:16px;overflow:hidden;background:#e6e8e1;text-decoration:none}
/* a drawn map, as in the reference; the whole card opens the route in Google Maps */
.map-art{position:absolute;inset:0;width:100%;height:100%}
.map-label{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:12px;font:800 16px/1 var(--body);text-transform:uppercase;color:var(--ink)}
.map-pin{width:30px;height:40px;flex:none}
.links{list-style:none;margin:14px 0 4px;padding:0}
.links li{border-bottom:1.5px solid var(--line)}
.links a,.links .row{display:flex;align-items:center;gap:14px;padding:14px 2px;text-decoration:none;font-weight:700;font-size:16px}
.links a>span,.links .row>span{flex:1;display:flex;flex-direction:column;gap:1px}
.links small{font-weight:500;font-size:13px;color:var(--muted)}
.links .go{width:20px;height:20px;stroke-width:2}
.foot{margin:34px 0 0;font-size:12px;line-height:1.6;color:var(--muted);text-align:center}

/* ---------- fixed bar ---------- */
.bar{position:fixed;left:0;right:0;bottom:0;z-index:30;display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:12px 14px calc(12px + env(safe-area-inset-bottom));background:linear-gradient(180deg,rgba(242,239,231,0),var(--cream) 30%);transform:translateY(110%);transition:transform .3s}
.bar.on{transform:none}
.bar .btn{height:54px;padding:0 12px;font-size:13px;line-height:1.1;text-align:left}
.bar .btn .ic{width:22px;height:22px}
main{padding-bottom:88px}
main::after{content:"";display:block;height:env(safe-area-inset-bottom)}

/* ---------- photo viewer ---------- */
.lb{position:fixed;inset:0;z-index:60;background:rgba(10,12,10,.94);display:flex;align-items:center;justify-content:center}
.lb[hidden]{display:none}
.lb img{max-width:94vw;max-height:84vh;border-radius:10px}
.lb button{position:absolute;border:0;background:rgba(255,255,255,.12);color:#fff;width:46px;height:46px;border-radius:50%;font-size:28px;line-height:1;cursor:pointer}
.lb-x{top:calc(14px + env(safe-area-inset-top));right:14px}
.lb-prev{left:10px}.lb-next{right:10px}

/* ---------- computer: the same column, centred; hero text on the left over a wide photo ---------- */
@media(min-width:900px){
  :root{--pad:40px}
  .top{padding-left:max(40px,calc(50% - 560px));padding-right:max(40px,calc(50% - 560px))}
  .hero-bg{height:100%;object-position:50% 50%}
  .hero-shade{background:linear-gradient(90deg,var(--maroon) 0%,rgba(110,26,23,.92) 38%,rgba(110,26,23,.25) 70%,rgba(110,26,23,.1) 100%)}
  .hero-in{justify-content:center;padding:130px max(40px,calc(50% - 560px)) 80px}
  .hero h1{font-size:64px}
  .hero-lead,.hero-ctas{max-width:420px}
  .hero-icons{max-width:560px;margin-left:0}
  .sec{max-width:760px;margin:0 auto;padding-top:96px}
  .sec h2{font-size:56px!important}
  .sec h2.h-about,.sec h2.h-games{font-size:72px!important}
  .feats{grid-template-columns:repeat(4,1fr)}
  .mosaic{columns:3}
  .bar{left:auto;right:24px;bottom:24px;width:440px;padding:0;background:none;transform:translateY(calc(100% + 40px))}
  main{padding-bottom:40px}
}
