/* H-Tenis y Pádel — home. Dirección: técnica y deportiva (método QX): grilla
   firme, mono para rótulos, el verde de la marca solo como relleno (botones,
   banda de cifras, contacto), nunca como color de texto. */
:root {
  --bg: #0b0b0c;
  --bg-2: #141417;
  --bg-3: #1d1e22;
  --paper: #f3f2ef;
  --paper-2: #e7e5e0;
  --ink: #0f0f11;
  --line-d: rgba(255, 255, 255, .12);
  --line-l: rgba(15, 15, 17, .14);
  --green: #076f32;
  --green-2: #055a28;
  --sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --hdr: 72px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: #fff;
  font-family: var(--sans); font-weight: 400; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.mono { font-family: var(--mono); letter-spacing: -.045em; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }

/* ── Logo: el ícono en vector y el nombre como máscara (toma el color del texto) ── */
.logo-lockup { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.logo-lockup img { flex-shrink: 0; }
.logo-word {
  display: block; height: 22px; aspect-ratio: 1350 / 287; background: currentColor;
  -webkit-mask: url(assets/logo-word.png) center / contain no-repeat; mask: url(assets/logo-word.png) center / contain no-repeat;
}

/* ── Botones ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 40px; padding: 0 16px;
  border-radius: 4px; font: 500 13px/1 var(--mono); letter-spacing: -.02em;
  border: 0; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease-out), background-color .25s, color .25s, box-shadow .25s;
}
.btn:active { transform: scale(.97); }
.btn .dot { width: 5px; height: 5px; background: currentColor; flex-shrink: 0; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-2); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #26272c; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--ink); color: #fff; }
.btn-outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); }
.btn-outline:hover { box-shadow: inset 0 0 0 1px #fff; background: rgba(255, 255, 255, .08); }
.btn.big { height: 52px; padding: 0 22px; font-size: 14.5px; }

.eyebrow { margin: 0 0 22px; font-size: 13px; color: #fff; }
.light .eyebrow, .clients .eyebrow { color: var(--ink); }

/* ═══ Header ═══ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--hdr);
  padding-top: env(safe-area-inset-top);
  transition: background-color .4s, box-shadow .4s;
}
.site-header.solid { background: var(--bg); box-shadow: 0 1px 0 var(--line-d); }   /* opaco: al 90% se transparentaba el texto de abajo */
.hdr-inner {
  max-width: 1320px; margin: 0 auto; height: 100%; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.hdr-logo { justify-self: start; }
.hdr-logo .logo-word { height: 19px; }
.hdr-nav { display: flex; gap: 2px; justify-self: center; }
.hdr-nav a { font-size: 14px; color: #fff; padding: 8px 10px; border-radius: 4px; transition: background-color .2s; }
.hdr-nav a:hover { background: rgba(255, 255, 255, .08); }
.hdr-actions { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.hdr-phone { font-size: 13px; color: #fff; }
.hdr-menu { display: none; width: 40px; height: 40px; border: 0; background: none; border-radius: 4px; cursor: pointer; padding: 0; }
.hdr-menu span { display: block; width: 16px; height: 1.5px; background: #fff; margin: 4px auto; transition: transform .3s var(--ease-out); }
.menu-open .hdr-menu span:first-child { transform: translateY(2.75px) rotate(45deg); }
.menu-open .hdr-menu span:last-child { transform: translateY(-2.75px) rotate(-45deg); }
.m-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--bg); padding: calc(var(--hdr) + 28px) var(--gutter) 32px;
  display: flex; flex-direction: column; gap: 4px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s;
}
.m-menu a:not(.btn) { font-size: 34px; letter-spacing: -.05em; padding: 8px 0; border-bottom: 1px solid var(--line-d); }
.m-menu .btn { margin-top: 28px; }
.menu-open .m-menu { opacity: 1; visibility: visible; transition: opacity .3s; }

/* ═══ Hero 3D: lenguaje de plano de obra ═══ */
.stage { position: relative; height: 100vh; height: 100svh; }
.stage-sticky { position: relative; height: 100vh; height: 100svh; overflow: hidden; touch-action: pan-x; }
.stage-sticky.can-grab { cursor: grab; }
.stage-sticky.grabbing { cursor: grabbing; }
.court-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(11, 11, 12, .35), transparent 20%, transparent 70%, rgba(11, 11, 12, .45));
  opacity: calc(1 - var(--daylight, 0) * .6);
}
/* Durante la obra el texto va a la izquierda, siempre blanco: un velo
   desde ese costado le da contraste a cualquier hora */
.build-scrim {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, rgba(8, 9, 11, .66) 0%, rgba(8, 9, 11, .38) 30%, rgba(8, 9, 11, 0) 54%);
}
.hero-chrome {
  position: absolute; inset: 0; pointer-events: none; will-change: opacity, transform;
  max-width: 1320px; margin: 0 auto; padding: calc(var(--hdr) + clamp(28px, 7vh, 80px)) var(--gutter) 0;
}
.hero-top { position: relative; z-index: 0; max-width: 760px; }
.hero-kicker { margin: 0 0 18px; font-family: var(--mono); font-size: 13px; letter-spacing: -.045em; color: #fff; }
.hero-title {
  margin: 0; font-weight: 500; letter-spacing: -.065em; line-height: .92;
  font-size: clamp(44px, min(7vw, 11vh), 120px); color: #fff;
}
.hero-title .ln { display: block; white-space: nowrap; }

/* De día el texto del hero y del header pasa a tinta (blanco o negro plenos;
   el cambio es un fundido de opacidad, nunca una transición de color) */
.sky-day .hero-title, .sky-day .hero-kicker { color: var(--ink); }
.sky-day .site-header.on-hero:not(.solid) .hdr-nav a, .sky-day .site-header.on-hero:not(.solid) .hdr-phone, .sky-day .site-header.on-hero:not(.solid) .hdr-logo { color: var(--ink); }
.sky-day .site-header.on-hero:not(.solid) .hdr-nav a:hover { background: rgba(15, 15, 17, .06); }
.sky-day .site-header.on-hero:not(.solid) .hdr-menu span { background: var(--ink); }
.hero-top::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; inset: -60px -100px -50px -80px;
  background: radial-gradient(closest-side, rgba(8, 9, 12, .34), rgba(8, 9, 12, 0)); opacity: var(--scrim, .5);
}
.sky-day .hero-top::before { background: radial-gradient(closest-side, rgba(250, 248, 244, .34), rgba(250, 248, 244, 0)); }
.hero-title, .hero-kicker { text-shadow: 0 0 40px rgba(0, 0, 0, calc(var(--tshadow, 0) * .32)); }
.sky-day .hero-title, .sky-day .hero-kicker { text-shadow: 0 0 40px rgba(255, 255, 255, calc(var(--tshadow, 0) * .36)); }
.hero-top, .hdr-nav, .hdr-phone, .hdr-logo { transition: opacity .14s ease; }
.ink-swapping .hero-top, .ink-swapping .site-header.on-hero:not(.solid) .hdr-nav, .ink-swapping .site-header.on-hero:not(.solid) .hdr-phone, .ink-swapping .site-header.on-hero:not(.solid) .hdr-logo { opacity: 0; }

/* Cotas y rótulos: trazo fino blanco, como un plano dibujado sobre la obra */
.cotas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.cotas line, .cotas path { stroke: #fff; stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.cotas text { fill: #fff; font: 500 12px var(--mono); letter-spacing: -.03em; paint-order: stroke; stroke: rgba(8, 9, 11, .45); stroke-width: 3px; stroke-linejoin: round; }
.cotas .dim { transition: opacity .35s ease; }
.cotas .dim text { text-anchor: middle; dominant-baseline: central; }
.cotas .co { opacity: 0; transition: opacity .25s ease; }
.cotas .co path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .55s cubic-bezier(.6, 0, .2, 1); }
.cotas .co circle { fill: #fff; stroke: none; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .3s var(--ease-out); }
.cotas .co text { opacity: 0; transition: opacity .3s ease .4s; dominant-baseline: central; }
.cotas .co.on { opacity: 1; }
.cotas .co.on path { stroke-dashoffset: 0; }
.cotas .co.on circle { transform: scale(1); }
.cotas .co.on text { opacity: 1; }

/* ── Pasos de obra ── */
.build {
  position: absolute; inset: 0; pointer-events: none;
  max-width: 1320px; margin: 0 auto; padding: calc(var(--hdr) + clamp(24px, 6vh, 64px)) var(--gutter) clamp(24px, 5vh, 48px);
  display: flex; flex-direction: column; justify-content: center;
}
.build-caps { position: relative; min-height: 320px; margin-top: -8vh; }
.cap { position: absolute; left: 0; top: 0; width: min(560px, 44vw); opacity: 0; visibility: hidden; transition: opacity .45s ease; }
.cap.on { opacity: 1; visibility: visible; }
.cap-title { margin: 0; font-weight: 500; letter-spacing: -.06em; line-height: .96; font-size: clamp(34px, min(4.1vw, 7.6vh), 64px); text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.cap-title .ln { display: block; white-space: nowrap; }
.cap-spec { display: grid; grid-template-columns: 64px 1fr; margin: 26px 0 0; font-size: 13px; line-height: 1.45; text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.cap-spec dt, .cap-spec dd { margin: 0; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .24); }
.cap-spec dt { opacity: .7; }
.cap-spec dd:last-of-type, .cap-spec dt:last-of-type { border-bottom: 1px solid rgba(255, 255, 255, .24); }
.cap.on .cap-turf { pointer-events: auto; }
.cap-turf { display: flex; align-items: center; gap: 14px; margin-top: 18px; font-size: 12.5px; }
.cap-turf .chips { display: flex; gap: 6px; }
.cap-turf button { width: 26px; height: 26px; border-radius: 0; border: 0; padding: 0; cursor: pointer; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); transition: transform .3s var(--ease-out), box-shadow .2s; }
.cap-turf button:hover { transform: translateY(-2px); }
.cap-turf button.on { box-shadow: 0 0 0 2px rgba(8, 9, 11, .6), 0 0 0 4px #fff; }

/* Rótulo del plano (la tabla de la esquina de una lámina): líneas finas,
   esquinas rectas, rótulos en mono */
.rotulo {
  position: absolute; right: var(--gutter); bottom: clamp(20px, 4vh, 40px); z-index: 2;
  width: min(480px, calc(100% - 2 * var(--gutter)));
  display: grid; grid-template-columns: repeat(12, 1fr);
  border: 1px solid rgba(255, 255, 255, .7); background: rgba(9, 11, 13, .7); color: #fff;
}
@media (min-width: 1321px) { .rotulo { right: calc((100vw - 1320px) / 2 + var(--gutter)); } }
.r-cell { padding: 10px 12px; border-right: 1px solid rgba(255, 255, 255, .28); border-bottom: 1px solid rgba(255, 255, 255, .28); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.r-lbl { font-size: 10.5px; opacity: .72; white-space: nowrap; }
.r-proj { grid-column: span 12; flex-direction: row; justify-content: space-between; align-items: baseline; border-right: 0; }
.r-val { font-size: 14px; letter-spacing: -.03em; }
.r-fig { grid-column: span 4; }
.r-fig:nth-child(4) { border-right: 0; }
.r-fig strong { font-weight: 400; font-size: 30px; letter-spacing: -.065em; line-height: 1; }
.r-sheet { grid-column: span 6; padding-bottom: 12px; }
.r-now { display: flex; align-items: baseline; gap: 10px; }
.r-now strong { font-weight: 400; font-size: 30px; letter-spacing: -.065em; line-height: 1; font-variant-numeric: tabular-nums; }
.r-now .mono { font-size: 12.5px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-steps { grid-column: span 6; flex-direction: row; gap: 0; padding: 0; border-right: 0; }
.r-steps button {
  flex: 1; border: 0; border-left: 1px solid rgba(255, 255, 255, .28); background: none; cursor: pointer; font-size: 12px; color: #fff;
  position: relative; transition: background-color .25s, color .25s;
}
.r-steps button:first-child { border-left: 0; }
.r-steps button:hover { background: rgba(255, 255, 255, .1); }
.r-steps button.done { background: rgba(255, 255, 255, .14); }
.r-steps button.on { background: #fff; color: var(--ink); }
/* En el terreno vacío, el primer paso late: invita a avanzar sin texto */
.r-steps.idle button:first-child::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px #fff; animation: sheetpulse 1.8s ease-out infinite; }
@keyframes sheetpulse { 0% { opacity: 1; } 100% { opacity: 0; } }
.r-cta { grid-column: span 12; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 12px; }
.r-cta > .mono { font-size: 12px; }

/* Reducir movimiento: cada paso entra con un fundido */
.rm-fade .court-canvas { animation: rmfade .5s ease; }
@keyframes rmfade { from { opacity: .2; } to { opacity: 1; } }

/* ═══ Secciones ═══ */
.sec { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.sec.dark { background: var(--bg); color: #fff; }
.sec.light { background: var(--paper); color: var(--ink); }
.sec-head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 820px; }
.sec-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; max-width: none; }
.sec-head.split .body { max-width: 40ch; margin: 0; }
.h2 { margin: 0; font-weight: 400; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.055em; text-wrap: balance; }
.body { font-size: 15.5px; line-height: 1.6; color: #fff; }
.light .body, .clients .body { color: var(--ink); }

/* Nosotros: frase que se enciende */
.statement-sec { padding-top: clamp(110px, 16vw, 200px); }
.statement {
  margin: 0; max-width: 22ch; font-size: clamp(32px, min(5.4vw, 9vh), 80px); line-height: 1.04; letter-spacing: -.058em; text-wrap: balance;
}
.hl-wrap { background: linear-gradient(var(--green), var(--green)) 0 100% / calc(var(--u, 0) * 100%) max(3px, .05em) no-repeat; padding-bottom: .04em; }
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: clamp(56px, 8vw, 96px); max-width: 860px; margin-left: auto; }
.about-cols .body { margin: 0; }

/* Cifras sobre el verde de la marca */
.figures { background: var(--green); color: #fff; padding: clamp(48px, 7vw, 88px) 0; }
.figures-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.fig { display: flex; flex-direction: column; gap: 24px; padding: 0 clamp(16px, 3vw, 40px); }
.fig + .fig { box-shadow: inset 1px 0 0 rgba(255, 255, 255, .28); }
.fig:first-child { padding-left: 0; }
.fig strong { font-weight: 400; font-size: clamp(64px, 9vw, 140px); letter-spacing: -.07em; line-height: .86; font-variant-numeric: tabular-nums; }
.fig .pre { font-weight: 300; margin-right: .02em; }
.fig > span { font-size: 13px; }

/* Servicios — lista con desenfoque (skiper44, como QX) */
.services { position: relative; height: calc(var(--n) * 32vh + 100vh); background: var(--bg); }
.services-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.services-grid { display: grid; grid-template-columns: 1fr 1.4fr 1.1fr; gap: 40px; align-items: center; width: 100%; }
.svc-side .h2 { font-size: clamp(30px, 3.4vw, 48px); }
.svc-count { margin-top: 28px; font-size: 13px; }
.svc-list {
  position: relative; height: min(64vh, 520px); margin: 0 -32px; padding: 0 32px;
  mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent);
  -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent);
}
.svc-track { position: absolute; left: 32px; right: 32px; top: 50%; }
.svc {
  height: 1.3em; display: flex; align-items: center;
  font-size: clamp(32px, 3.8vw, 58px); letter-spacing: -.05em; white-space: nowrap; color: #fff;
  transform-origin: left center; will-change: transform, filter, opacity;
}
.svc-card { margin: 0; border-radius: 8px; overflow: hidden; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-d); }
.svc-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity .3s, transform .6s var(--ease-out); }
.svc-card figcaption { padding: 22px 24px 26px; font-size: 18px; line-height: 1.4; letter-spacing: -.025em; min-height: 6.6em; transition: opacity .3s; }
.svc-card.swap img, .svc-card.swap figcaption { opacity: 0; }
.svc-card.swap img { transform: scale(1.03); }

/* Pádel: plano + tabla técnica */
.spec { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.plan { position: sticky; top: calc(var(--hdr) + 32px); color: var(--ink); }
.plan svg { width: 100%; height: auto; display: block; overflow: visible; }
.pl-turf { fill: var(--paper-2); stroke: var(--ink); stroke-width: 1.5; transition: fill .3s; }
.pl-lines line { stroke: var(--ink); stroke-width: 1; opacity: .55; }
.pl-net { stroke: var(--ink); stroke-width: 2; stroke-dasharray: 3 3; }
.pl-glass path { fill: none; stroke: var(--ink); stroke-width: 6; transition: stroke .3s; }
.pl-mesh path { fill: none; stroke: var(--ink); stroke-width: 6; stroke-dasharray: 1.5 2.5; transition: stroke .3s; }
.pl-posts rect { fill: var(--ink); transition: fill .3s; }
.pl-towers circle { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; transition: fill .3s; }
.pl-dim line { stroke: var(--ink); stroke-width: 1; }
.pl-dim text { font: 500 13px var(--mono); letter-spacing: -.04em; fill: var(--ink); text-anchor: middle; }
.pl-call circle { fill: var(--ink); transition: fill .3s, transform .3s; }
.pl-call text { font: 500 12px var(--mono); fill: #fff; text-anchor: middle; }
.plan [data-part].hot.pl-turf { fill: #d7e2d8; }
.plan .hot circle { fill: var(--green); }
.plan .pl-glass.hot path, .plan .pl-mesh.hot path { stroke: var(--green); }
.plan .pl-posts.hot rect { fill: var(--green); }
.plan .pl-towers.hot circle { fill: var(--green); stroke: var(--green); }
.plan .pl-net.hot { stroke: var(--green); stroke-width: 3; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-top: 1px solid var(--line-l); cursor: default; transition: background-color .25s; }
.spec-table tr:first-child { border-top: 0; }
.spec-table tr.hot { background: rgba(7, 111, 50, .07); }
.spec-table td, .spec-table th { padding: 18px 12px 18px 0; vertical-align: top; text-align: left; }
.spec-table td.mono { width: 44px; font-size: 12.5px; padding-top: 21px; }
.spec-table th { width: 118px; font-weight: 500; font-size: 17px; letter-spacing: -.035em; }
.spec-table td:last-child { font-size: 14.5px; line-height: 1.55; }

/* Tenis */
.tennis { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 110px); }
.tennis-intro { position: sticky; top: calc(var(--hdr) + 40px); align-self: start; }
.tennis-intro .body { max-width: 46ch; margin-top: 26px; }
.tennis-photo { margin-top: 36px; border-radius: 8px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.t-list { list-style: none; margin: 0; padding: 0; }
.t-list li { display: grid; grid-template-columns: 44px 1fr 132px; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line-d); align-items: start; }
.t-list li:last-child { border-bottom: 1px solid var(--line-d); }
.t-list .idx { font-size: 12.5px; padding-top: 8px; }
.t-list h3 { margin: 0 0 8px; font-weight: 400; font-size: 26px; letter-spacing: -.045em; }
.t-list p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #fff; }
.t-list img { width: 132px; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }

/* Obras: tira horizontal atada al scroll */
.works { position: relative; height: 320vh; background: var(--paper); color: var(--ink); }
.works-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(22px, 4vh, 40px); padding-top: var(--hdr); }
.works-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; width: 100%; }
.works-head .eyebrow { color: var(--ink); }
.works-head .body { color: var(--ink); max-width: 44ch; margin: 0; }
.works-strip { display: flex; gap: 14px; padding: 0 var(--gutter); width: max-content; }
.works-strip img { height: clamp(220px, 42vh, 420px); width: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.works-strip img.tall { aspect-ratio: 3 / 4; }
.works-lists { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; width: 100%; }
.w-lbl { font-size: 12.5px; margin: 0 0 10px; }
.works-lists ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
.works-lists div:last-child ul { columns: 1; }
.works-lists li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line-l); font-size: 14.5px; letter-spacing: -.02em; break-inside: avoid; }
.works-lists li .mono { font-size: 12px; white-space: nowrap; }

/* Limonta: muestras de césped */
.limonta { padding: clamp(72px, 9vw, 120px) 0; background: var(--paper-2); }
.lim { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.lim .body { max-width: 40ch; margin-top: 22px; }
.swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.sw { border: 0; padding: 0; background: none; cursor: pointer; text-align: left; color: var(--ink); }
.sw-chip {
  display: block; aspect-ratio: 3 / 4; border-radius: 8px; background-color: var(--c);
  /* fibras: grano fino que hace leer el color como césped */
  background-image:
    repeating-linear-gradient(92deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(88deg, rgba(0, 0, 0, .12) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(0, 0, 0, .18));
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); transition: transform .45s var(--ease-out), box-shadow .3s;
}
.sw:hover .sw-chip { transform: translateY(-6px); }
.sw.on .sw-chip { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 2px var(--paper-2), 0 0 0 4px var(--ink); }
.sw .mono { display: block; margin-top: 12px; font-size: 13px; }

/* Clientes */
.clients { background: #fff; color: var(--ink); padding: clamp(80px, 11vw, 150px) 0; }
.client-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-l); border-left: 1px solid var(--line-l); }
.client-grid li { display: flex; align-items: center; gap: 14px; padding: 20px; border-right: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); font-size: 14.5px; letter-spacing: -.025em; line-height: 1.25; }
.client-grid img { width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0; filter: grayscale(1) contrast(1.05); transition: filter .35s, transform .45s var(--ease-out); }
.client-grid li:hover img { filter: none; transform: scale(1.06); }
.client-grid em { display: block; font-style: normal; font-size: 12px; margin-top: 3px; }

/* Preguntas */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 7vw, 110px); }
.faq-intro { position: sticky; top: calc(var(--hdr) + 40px); align-self: start; }
.faq-intro .btn { margin-top: 32px; }
.faq details { border-top: 1px solid var(--line-l); }
.faq details:last-child { border-bottom: 1px solid var(--line-l); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative;
  font-size: clamp(19px, 1.7vw, 23px); letter-spacing: -.035em; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease-out); }
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0deg); }
.faq details > div { overflow: hidden; }
.faq details p { margin: 0 0 26px; max-width: 60ch; font-size: 15.5px; line-height: 1.6; }

/* Contacto */
.cta { background: var(--green); color: #fff; padding: clamp(80px, 11vw, 150px) 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.cta .h2 { max-width: 16ch; }
.cta-sub { margin: 22px 0 0; font-size: 17px; line-height: 1.5; max-width: 40ch; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }

/* Footer */
.footer { background: var(--bg); padding: 80px 0 28px; color: #fff; }
.f-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-bottom: 60px; border-bottom: 1px solid var(--line-d); }
.f-cols a, .f-cols p:not(.f-lbl) { display: block; font-size: 14px; color: #fff; margin: 0 0 10px; line-height: 1.5; }
.f-cols a:hover { text-decoration: underline; text-underline-offset: 3px; }
.f-cols a.mono { font-size: 13px; }
.f-lbl { font-size: 12px; margin: 0 0 18px; opacity: .6; }
.f-mark { padding: clamp(48px, 8vw, 110px) 0 clamp(24px, 4vw, 48px); }
.f-mark .logo-lockup { gap: clamp(14px, 2.2vw, 30px); width: 100%; }
.f-mark img { width: clamp(64px, 11vw, 150px); height: auto; }
.f-mark .logo-word { flex: 1; height: auto; max-height: 140px; }
.f-bottom { display: flex; justify-content: space-between; gap: 16px; font-size: 12px; flex-wrap: wrap; }

/* Aparición al entrar */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.reveal-words .rw { display: inline-block; opacity: 0; transform: translateY(.3em); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--i) * 45ms); }
.reveal-words.in .rw { opacity: 1; transform: none; }

/* Carga: tapa todo hasta que la cancha está lista */
.page-loader {
  position: fixed; inset: 0; z-index: 300; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  transition: opacity .7s var(--ease-out), visibility 0s linear .7s;
}
.page-loader .logo-word { height: 24px; }
.page-loader-bar { position: relative; width: 200px; height: 2px; overflow: hidden; background: rgba(255, 255, 255, .16); }
.page-loader-bar::after { content: ""; position: absolute; inset: 0; width: 40%; background: #fff; animation: road 1.1s linear infinite; }
@keyframes road { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
body:not(.is-loading) .page-loader { opacity: 0; visibility: hidden; }
body.is-loading { overflow: hidden; }


/* ═══ Responsive ═══ */
@media (max-width: 1180px) { .hdr-phone { display: none; } }
@media (max-width: 1080px) {
  .hdr-nav { display: none; }
  .hdr-menu { display: block; }
  .services-grid { grid-template-columns: 1fr; gap: 18px; align-content: center; }
  .svc-list { height: 30vh; }
  .svc-card { display: grid; grid-template-columns: 42% 1fr; }
  .svc-card img { height: 100%; aspect-ratio: auto; }
  .svc-card figcaption { min-height: 0; font-size: 16px; }
  .spec, .tennis, .faq-wrap, .lim { grid-template-columns: 1fr; }
  .plan, .tennis-intro, .faq-intro { position: static; }
  .client-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  :root { --hdr: 64px; }
  .hdr-inner { grid-template-columns: 1fr auto; gap: 12px; }
  .hdr-logo .logo-word { height: 15px; }
  .hdr-actions .btn { display: none; }
  .hero-chrome { padding-top: calc(var(--hdr) + 26px); }
  .hero-title { font-size: 13vw; }
  .rotulo { left: var(--gutter); right: var(--gutter); width: auto; bottom: calc(14px + env(safe-area-inset-bottom)); }
  .r-proj { display: none; }
  .r-cell { padding: 8px 10px; }
  .r-lbl { font-size: 9.5px; white-space: normal; line-height: 1.2; }
  .r-fig strong, .r-now strong { font-size: 24px; }
  .r-now .mono { font-size: 11px; }
  .r-cta > .mono { font-size: 11px; }
  .cotas text { font-size: 10.5px; }
  .rotulo.building .r-fig { display: none; }
  /* Obra en el teléfono: el texto arriba, la cancha abajo */
  .build { justify-content: flex-start; padding-top: calc(var(--hdr) + 18px); }
  .build-caps { margin-top: 0; }
  .cap { width: 100%; }
  .cap-title { font-size: 9.4vw; }
  .cap-spec { margin-top: 14px; font-size: 12px; }
  .cap-spec { grid-template-columns: 48px 1fr; }
  .cap-spec dt, .cap-spec dd { padding: 6px 0; }
  .build-scrim { background: linear-gradient(180deg, rgba(8, 9, 11, .74) 0%, rgba(8, 9, 11, .45) 42%, rgba(8, 9, 11, 0) 62%); }
  .sec-head.split, .cta-inner, .works-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .about-cols { grid-template-columns: 1fr; gap: 18px; }
  .figures-row { grid-template-columns: 1fr; gap: 28px; }
  .fig, .fig:first-child { padding: 0; }
  .fig + .fig { box-shadow: none; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .28); }
  .svc { font-size: clamp(28px, 9vw, 40px); }
  .svc-card { grid-template-columns: 1fr; }
  .svc-card img { aspect-ratio: 16 / 9; }
  .spec-table th { width: 92px; font-size: 15px; }
  .t-list li { grid-template-columns: 32px 1fr; }
  .t-list img { grid-column: 2; width: 100%; aspect-ratio: 16 / 9; margin-top: -6px; }   /* la foto de cada servicio va debajo del texto, no se oculta */
  .works { height: 300vh; }
  .works-strip img { height: 34vh; }
  .works-lists { grid-template-columns: 1fr; gap: 18px; }
  .works-lists ul { columns: 1; }
  .swatches { gap: 8px; }
  .client-grid { grid-template-columns: 1fr 1fr; }
  .client-grid li { padding: 14px 12px; gap: 10px; font-size: 13px; }
  .client-grid img { width: 40px; height: 40px; }
  .cta-actions { width: 100%; }
  .f-cols { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hl-wrap { --u: 1; }
  .reveal, .reveal-words .rw { opacity: 1; transform: none; transition: none; }
  .services { height: auto; }
  .services-sticky { position: relative; height: auto; padding: 100px 0; }
  .works { height: auto; }
  .works-sticky { position: relative; height: auto; padding: 100px 0; }
  .works-strip { width: auto; overflow-x: auto; }
}

/* ── Propuestas de hero (?hero=…) ── */
.hv-switch { position: fixed; left: 16px; bottom: 16px; z-index: 200; display: flex; flex-direction: column; gap: 4px; padding: 4px; background: #0b0b0c; border-radius: 8px; font: 500 12px/1 'Geist Mono', monospace; letter-spacing: -.03em; }
.hv-switch a { color: #fff; text-decoration: none; padding: 8px 10px; border-radius: 5px; white-space: nowrap; }
.hv-switch a.on { background: #fff; color: #0b0b0c; }
.hv-maqueta .cotas, .hv-macro .cotas { display: none; }
@media (max-width: 720px) { .hv-switch { left: 8px; right: 8px; bottom: 8px; overflow-x: auto; } }
.hv-switch > div { display: flex; gap: 4px; }

/* ── Tipografías a prueba (?font=…): solo los titulares cambian ── */
.ff-serif { --display: "Instrument Serif", serif; --d-w: 400; --d-ls: -.02em; --d-lh: .94; }
.ff-estadio { --display: "Big Shoulders Display", sans-serif; --d-w: 700; --d-ls: -.005em; --d-lh: .86; }
.ff-grotesk { --display: "Space Grotesk", sans-serif; --d-w: 500; --d-ls: -.055em; --d-lh: .94; }
.ff-ancha { --display: "Archivo", sans-serif; --d-w: 600; --d-ls: -.055em; --d-lh: .92; --d-st: 125%; }
:is(.ff-serif, .ff-estadio, .ff-grotesk, .ff-ancha) :is(.hero-title, .cap-title, .h2, .statement, .fig strong, .svc, .r-now strong) {
  font-family: var(--display); font-weight: var(--d-w); letter-spacing: var(--d-ls); font-stretch: var(--d-st, 100%);
}
:is(.ff-serif, .ff-estadio, .ff-grotesk, .ff-ancha) :is(.hero-title, .cap-title) { line-height: var(--d-lh); }
.ff-estadio .hero-title { font-size: clamp(56px, min(9vw, 14vh), 156px); }
.ff-estadio .cap-title { font-size: clamp(42px, min(5.2vw, 9.4vh), 80px); }
.ff-serif .hero-title { font-size: clamp(52px, min(8.2vw, 13vh), 140px); }
.ff-ancha .hero-title { font-size: clamp(38px, min(6vw, 9.4vh), 102px); }

/* ── Sin rectángulo: el paso en curso, cinco marcas y el botón, sueltos ── */
.rotulo {
  border: 0; background: none; display: flex; align-items: center; gap: 22px;
  width: auto; text-shadow: 0 1px 14px rgba(0, 0, 0, calc(.35 + .4 * var(--tshadow, 0)));
}
.rotulo .r-proj, .rotulo .r-fig, .rotulo .r-cta > .mono { display: none; }
.rotulo .r-cell { border: 0; padding: 0; }
.rotulo .r-sheet { padding: 0; }
.rotulo .r-sheet .r-lbl { display: none; }
.rotulo .r-now { gap: 12px; align-items: center; }
.rotulo .r-now strong { font-size: 40px; min-width: 1.4ch; }
.rotulo .r-now .mono { font-size: 13px; max-width: 18ch; white-space: normal; line-height: 1.25; overflow: visible; text-overflow: clip; }
.rotulo .r-steps { display: flex; gap: 6px; }
.rotulo .r-steps button { flex: none; width: 30px; height: 26px; border: 0; background: none; font-size: 0; padding: 0; }
.rotulo .r-steps button::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 2px; background: #fff; opacity: .38; transition: opacity .25s, height .25s, top .25s; box-shadow: 0 0 10px rgba(0,0,0,.35); }
.rotulo .r-steps button.done::before { opacity: .85; }
.rotulo .r-steps button.on::before { opacity: 1; height: 4px; top: 11px; }
.rotulo .r-steps button:hover, .rotulo .r-steps button.done, .rotulo .r-steps button.on { background: none; }
.rotulo .r-steps.idle button:first-child::after { inset: 10px 0; box-shadow: 0 0 0 1px #fff; }
.rotulo .r-cta { padding: 0; }
@media (max-width: 720px) {
  .rotulo { gap: 14px; justify-content: space-between; }
  .rotulo .r-now strong { font-size: 30px; }
  .rotulo .r-now .mono { display: none; }
  .rotulo .r-steps button { width: 22px; }
}
.rotulo.r-ink { color: var(--ink); text-shadow: none; }
.rotulo.r-ink .r-steps button::before { background: var(--ink); box-shadow: none; }
.rotulo.r-ink .r-steps.idle button:first-child::after { box-shadow: 0 0 0 1px var(--ink); }

/* ══ Hero estático "miti miti" (?hero=estatico&look=…) ══ */
.hv-estatico :is(.court-canvas, .stage-vignette, .build-scrim, .cotas, .build, .rotulo, .hero-chrome) { display: none !important; }
.hv-estatico .stage-sticky { background: var(--flat-bg); }
.flat { position: absolute; inset: 0; }
.flat-court { position: absolute; display: block; }
.flat-text { position: absolute; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.flat .hero-top { max-width: none; }
.flat .hero-top::before { display: none; }
.flat .hero-title .ln { display: block; }
.flat-side { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; text-align: right; }
.flat-figs { margin: 0; display: flex; flex-direction: column; gap: 4px; font-family: var(--mono); font-size: 12.5px; letter-spacing: -.045em; color: #fff; }
.flat-figs b { font-weight: 500; }
.flat-spec { margin: 0; font-size: 12.5px; color: #fff; }

/* Plana: la referencia. La cancha manda, el texto es chico y liviano */
.look-plana .flat-court { left: var(--gutter); right: var(--gutter); top: calc(var(--hdr) + 8px); bottom: 150px; width: calc(100% - 2 * var(--gutter)); height: calc(100% - var(--hdr) - 158px); }
.look-plana .flat-text { left: var(--gutter); right: var(--gutter); bottom: 36px; }
.look-plana .hero-title { font-weight: 300; font-size: clamp(34px, 3.6vw, 56px); letter-spacing: -.05em; line-height: 1; }
.look-plana .hero-kicker { margin-bottom: 12px; font-size: 12px; }

/* Editorial: papel, titular gigante en serif, la cancha como franja recortada abajo */
.look-editorial .flat-court { left: 0; right: 0; bottom: 0; width: 100%; height: 42%; }
.look-editorial .flat-text { left: var(--gutter); right: var(--gutter); top: calc(var(--hdr) + 20px); align-items: flex-start; }
.look-editorial .hero-title { font-family: "Instrument Serif", serif; font-weight: 400; font-size: clamp(64px, 11.5vw, 196px); letter-spacing: -.035em; line-height: .86; color: var(--ink); }
.look-editorial .hero-title .ln:last-child { font-style: italic; padding-left: .9em; }
.look-editorial .hero-kicker { color: var(--ink); margin-bottom: 22px; }
.look-editorial .flat-side { padding-top: 8px; }
.look-editorial .flat-figs { color: var(--ink); font-size: 13px; gap: 10px; }
.look-editorial .flat-figs b { font-family: "Instrument Serif", serif; font-weight: 400; font-size: 44px; letter-spacing: -.03em; margin-right: 6px; vertical-align: -6px; }

/* Pop: cancha en diagonal a sangre, titular condensado enorme encima */
.look-pop .flat-court { inset: 0; width: 100%; height: 100%; }
.look-pop .flat-text { left: var(--gutter); right: var(--gutter); bottom: 32px; }
.look-pop .hero-title { font-family: "Big Shoulders Display", sans-serif; font-weight: 700; font-size: clamp(72px, min(11vw, 19vh), 200px); letter-spacing: -.01em; line-height: .86; text-shadow: .045em .045em 0 #06140c; }
.look-pop .hero-kicker { display: inline-block; background: #f2f542; color: var(--ink); padding: 6px 9px; margin-bottom: 18px; text-shadow: none; }
.look-pop .flat-figs { font-size: 13px; text-shadow: 1px 1px 0 #06140c; }
.look-pop .flat-figs b { font-family: "Big Shoulders Display", sans-serif; font-weight: 700; font-size: 30px; letter-spacing: 0; vertical-align: -4px; margin-right: 4px; }

/* Noche: la cancha de luz al centro, el texto alrededor en mono */
.look-noche .flat-court { left: 18%; right: 0; top: var(--hdr); bottom: 0; width: 82%; height: calc(100% - var(--hdr)); }
.look-noche .flat-text { left: var(--gutter); right: var(--gutter); top: calc(var(--hdr) + 28px); bottom: 36px; flex-direction: column; align-items: flex-start; }
.look-noche .hero-title { font-family: "Space Grotesk", sans-serif; font-weight: 400; font-size: clamp(40px, 4.6vw, 76px); letter-spacing: -.055em; line-height: .98; }
.look-noche .flat-side { align-items: flex-start; text-align: left; }

@media (max-width: 720px) {
  .look-plana .flat-court { top: calc(var(--hdr) + 140px); bottom: 150px; height: calc(100% - var(--hdr) - 290px); }
  .look-plana .flat-text, .look-pop .flat-text { flex-direction: column; align-items: flex-start; }
  .look-plana .flat-text { top: calc(var(--hdr) + 16px); bottom: 20px; justify-content: space-between; }
  .flat-side { align-items: flex-start; text-align: left; }
  .look-editorial .flat-court { height: 38%; }
  .look-editorial .flat-text { flex-direction: column; gap: 22px; }
  .look-editorial .hero-title { font-size: 19vw; }
  .look-pop .hero-title { font-size: 21vw; }
  .look-noche .flat-court { left: 0; width: 100%; top: 36%; height: 64%; }
}

/* ══ Hero "capas" (el elegido): la obra se separa en capas y una regla las nombra ══ */
.hv-capas :is(.cotas, .build, .rotulo, .build-scrim) { display: none !important; }
.regla { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.regla-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.regla-svg line { stroke: #fff; stroke-width: 1; }
.regla-guia { stroke-dasharray: 2 4; }
.regla-lbl { position: absolute; left: 0; top: 0; opacity: 0; display: flex; align-items: baseline; gap: 10px; white-space: nowrap; color: #fff; font-size: 15px; letter-spacing: -.03em; text-shadow: 0 1px 16px rgba(0, 0, 0, .6); }
.regla-lbl .mono { font-family: var(--sans); font-size: 12px; letter-spacing: -.02em; }   /* sin mono en el hero */
@media (max-width: 720px) { .regla-lbl { font-size: 12px; gap: 6px; } }

/* Cifras debajo del título del hero (solo Geist, sin mono) */
.hv-capas .hero-kicker { font-family: var(--sans); font-size: clamp(16px, 1.3vw, 19px); letter-spacing: -.02em; margin: clamp(18px, 2.6vh, 28px) 0 0; }
.hero-figs { display: none; }
.hv-capas .hero-figs { display: flex; gap: clamp(32px, 4vw, 64px); margin: 0; padding: 0; position: absolute; left: var(--gutter); bottom: clamp(40px, 8vh, 88px); }
.hero-figs div { margin: 0; }
.hero-figs dt { font-weight: 500; font-size: clamp(30px, 2.6vw, 42px); letter-spacing: -.06em; line-height: 1; color: #fff; }
.hero-figs dd { margin: 8px 0 0; font-size: 14px; letter-spacing: -.02em; line-height: 1.2; color: #fff; }
@media (max-width: 720px) {
  .hv-capas .hero-figs { gap: 20px; bottom: calc(24px + env(safe-area-inset-bottom)); }
  .hero-figs dt { font-size: 26px; }
  .hero-figs dd { font-size: 12px; }
}

/* Header sin mono: teléfono y botón en Geist */
.site-header .hdr-phone, .site-header .btn { font-family: var(--sans); letter-spacing: -.02em; }
.site-header .btn { font-weight: 500; }
/* teléfono: en vez de la regla, un número sobre cada capa y los pasos en fila abajo */
.regla-num, .regla-pasos { display: none; }
@media (max-width: 720px) {
  .regla-svg, .regla-lbl { display: none; }
  .regla-num { display: flex; align-items: center; gap: 6px; position: absolute; left: 0; top: 0; margin: -6px 0 0 -3px; opacity: 0; color: #fff; font-size: 12px; letter-spacing: -.02em; text-shadow: 0 1px 12px rgba(0, 0, 0, .7); }
  .regla-num::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .22); }
  .regla-pasos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; position: absolute; left: var(--gutter); right: var(--gutter); bottom: calc(env(safe-area-inset-bottom) + 22px); margin: 0; padding: 0; list-style: none; }
  .regla-pasos li { opacity: 0; padding-top: 8px; border-top: 1px solid #fff; color: #fff; font-size: 11.5px; line-height: 1.2; letter-spacing: -.02em; text-shadow: 0 1px 12px rgba(0, 0, 0, .7); }
  .regla-pasos b { display: block; margin-bottom: 4px; font-weight: 500; font-size: 12px; }
}
/* Teléfono: el texto del hero va centrado */
@media (max-width: 720px) {
  .hv-capas .hero-top { text-align: center; margin: 0 auto; }
  .hv-capas .hero-title .ln { white-space: normal; }
  .hv-capas .hero-figs { left: var(--gutter); right: var(--gutter); justify-content: center; text-align: center; }
}

/* ── Nosotros: el cuadro entero sube y tapa el hero (main.js) ── */
.statement-sec { z-index: 5; min-height: 100vh; min-height: 100svh; overflow: hidden; }
.statement .hl-wrap { --u: 1; }

/* Limonta: maqueta de pádel con el césped elegido, y las muestras debajo */
@media (min-width: 1081px) { .lim { grid-template-columns: 1fr 1.35fr; } }
.mini-court { display: block; width: 100%; height: auto; overflow: visible; }
.lim-model .swatches { margin-top: clamp(20px, 3vw, 36px); }
.lim-model .sw-chip { aspect-ratio: 5 / 3; }


/* Mobile: las dos pantallas fijas (servicios y obras) arrancan debajo del header
   en vez de centrarse; si se centraban, el contenido alto se metía debajo */
@media (max-width: 720px) {
  .services-sticky { align-items: flex-start; padding-top: calc(var(--hdr) + 16px); }
  .services-grid { gap: 18px; }
  .svc-list { height: clamp(130px, 23svh, 240px); }
  .svc-card img { aspect-ratio: auto; height: clamp(120px, 26svh, 220px); }
  .svc-count { margin-top: 12px; }
  .svc-card figcaption { padding: 16px 18px 18px; font-size: 16px; min-height: 0; }
  .works-sticky { justify-content: center; gap: 22px; padding-top: calc(var(--hdr) + 16px); padding-bottom: 20px; }
  .works-lists li { padding: 5px 0; }
  /* alto fijo (no en %: Safari medía la tira más ancha y se pasaba del final): lo que sobra de la pantalla */
  .works-strip, .works-strip img { flex-shrink: 0; }
  .works-strip img { height: clamp(160px, calc(100svh - 300px), 46svh); }
}

/* Todo lo que va en monospace, en mayúsculas (pedido 04/10); la interletra se abre
   un poco porque en mayúsculas el -.045em quedaba apretado */
.mono, .btn, .hero-kicker, .flat-figs, .cotas text, .pl-dim text, .pl-call text { text-transform: uppercase; letter-spacing: .02em; }
/* donde la mono se reemplazó por Geist, sigue igual */
.regla-lbl .mono, .hv-capas .hero-kicker, .site-header .hdr-phone, .site-header .btn { text-transform: none; letter-spacing: -.02em; }
/* y sobre fondo claro, la mono va en el verde de la marca (pedido 04/10) */
:is(.light, .clients, .works, .works-after) .mono:not(.btn) { color: var(--green); }
:is(.light, .clients, .works) .pl-dim text { fill: var(--green); }

/* Obras: la ciudad en texto normal, medium y en gris, con un pin de ubicación */
.loc, .works-lists li .loc { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; font-size: 14px; font-weight: 500; letter-spacing: -.02em; color: #77767a; }
.loc::before {
  content: ""; width: 13px; height: 13px; flex-shrink: 0; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Navegación del header: funde a negro, salta y vuelve (main.js). El header queda arriba */
.nav-veil { position: fixed; inset: 0; z-index: 49; background: var(--bg); pointer-events: none; visibility: hidden; opacity: 0; transition: opacity .26s ease, visibility 0s .6s; }
.nav-veil.in { opacity: 1; visibility: visible; transition: opacity .26s ease; }
.nav-veil.out { opacity: 0; visibility: visible; transition: opacity .5s ease; }

/* Mobile: el plano de pádel se dibuja a la mitad, así que sus textos y círculos se agrandan
   para no quedar en 6–7px */
@media (max-width: 720px) {
  .pl-dim text { font-size: 20px; }
  .pl-call > g { transform-box: fill-box; transform-origin: center; transform: scale(1.5); }
  .pl-call text { font-size: 13px; }
}
/* Pie: los links tienen alto de dedo en el teléfono */
@media (max-width: 720px) {
  .footer a { display: inline-block; padding: 6px 0; margin: -6px 0; }   /* más área para el dedo sin cambiar el espaciado */
}

/* Mobile: la lista de obras va debajo de la tira (main.js la mueve), entera y con scroll normal */
.works-after { position: relative; background: var(--paper); color: var(--ink); margin-top: -40px; padding: 0 0 56px; }
/* Clientes: la ciudad debajo del nombre, en gris con pin (como en Obras) */
.client-grid em.loc { display: flex; align-items: flex-start; white-space: normal; font-size: 13px; line-height: 1.25; margin-top: 4px; }
.client-grid em.loc::before { margin-top: 2px; }
.client-grid em.loc::before { width: 12px; height: 12px; }
/* El email va en minúscula aunque esté en mono */
a[href^="mailto:"] { text-transform: none; }

/* Etiqueta de deporte: rectángulo de color con el texto en blanco encima.
   Tenis = naranja polvo de ladrillo, pádel = azul césped (los dos con contraste para blanco) */
.tag { display: inline-block; padding: 6px 10px 5px; border-radius: 3px; font-size: 13px; font-weight: 500; color: #fff !important; line-height: 1.2; vertical-align: baseline; }
.tag-padel { background: #1d55a3; }
.tag-tenis { background: #b5532b; }
.eyebrow .tag, .w-lbl .tag { margin-right: 8px; }

/* Día / noche del hero (main.js). Noche es el default */
.dn-toggle { display: flex; gap: 2px; padding: 3px; border-radius: 8px; background: rgba(8, 10, 16, .4); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); transition: opacity .3s; }
/* solo tiene sentido sobre el hero: al bajar se apaga */
html:not(.dn-on-hero) .dn-toggle { opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.dn-toggle button { display: flex; align-items: center; justify-content: center; width: 38px; height: 34px; padding: 0; border: 0; border-radius: 6px; background: none; color: #fff; font: 500 13px/1 var(--sans); letter-spacing: -.02em; cursor: pointer; transition: background-color .25s, color .25s; }
.dn-toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.dn-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dn-toggle [data-dn="noche"] svg { fill: currentColor; stroke: none; }
/* sombra negra sutil solo detrás del h1 del hero; de día un poco más presente */
.hero-title { text-shadow: 0 1px 2px rgba(0, 0, 0, .14), 0 4px 30px rgba(0, 0, 0, .22) !important; }
.es-dia .hero-title { text-shadow: 0 1px 3px rgba(0, 0, 0, .2), 0 6px 40px rgba(0, 0, 0, .38) !important; }
.dn-toggle button:focus { outline: none; }
.dn-toggle button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* logo del header un poco más grande (pedido 05/10) */
.hdr-logo img { width: 38px; height: 38px; }
.hdr-logo .logo-word { height: 24px; }
.hdr-logo { gap: 12px; }
@media (max-width: 720px) { .hdr-logo img { width: 34px; height: 34px; } .hdr-logo .logo-word { height: 21px; } }

/* ── Correcciones del cliente (05/10) ── */
/* el deporte de cada pregunta: aparece al abrirla, arriba de la respuesta */
.faq details .tags { display: flex; gap: 6px; margin: 0 0 14px; }
.faq details .tag { font-size: 12px; }
/* Preguntas: al abrir, primero la etiqueta y después la respuesta, subiendo un poco (elegida la B) */
.faq details.cerrando > div > * { opacity: 0; transition: opacity .18s; }
@keyframes faqUp { from { opacity: 0; transform: translateY(12px); } }
.faq details.abriendo > div > * { animation: faqUp .55s cubic-bezier(.22,1,.36,1) both; }
.faq details.abriendo > div > :nth-child(1) { animation-delay: .06s; }
.faq details.abriendo > div > :nth-child(2) { animation-delay: .16s; }
