/* 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) * 20vh + 100vh);   /* 20vh por servicio: con 32 se sentía lento (Isa, 15/10) */ 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; transition: transform .45s var(--ease-out); }   /* a color (Isa, 15/10) */
.client-grid li:hover img { 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; } }

/* Bajada 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; }

/* 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; }
}

/* ── 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 0 40px rgba(0, 0, 0, .34), 0 0 100px rgba(0, 0, 0, .26) !important; }   /* de día: sombra amplia y difusa, sin borde marcado (Isa, 15/10) */
.es-dia .hero-kicker { text-shadow: 0 0 20px rgba(0, 0, 0, .45), 0 0 50px rgba(0, 0, 0, .3); }
/* y detrás de todo el bloque, un halo oscuro muy difuminado (sin borde) */
.es-dia .hero-top::before { inset: -120px -220px -110px -220px; opacity: 1; background: radial-gradient(closest-side, rgba(10, 14, 28, .42), rgba(10, 14, 28, .18) 55%, rgba(10, 14, 28, 0)); }
.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; }

/* Hero centrado (elegido 15/10): título y bajada al centro; las cifras salieron del hero (siguen en su sección) */
@media (min-width: 721px) {
  .hv-capas .hero-top { margin: 0 auto; text-align: center; }
}
}

/* Header como el de Cultura (el publicado; elegido 15/10, una sola píldora): una píldora de vidrio que flota arriba,
   centrada, siempre del mismo ancho */
.hdr-cultura { --hdr: 56px; }
.hdr-cultura .site-header { padding-top: 10px; background: none; box-shadow: none; pointer-events: none; }
.hdr-cultura .site-header.solid { background: none; box-shadow: none; }
/* el vidrio, en variables: así cada armado (?art=) se lo pone a la pieza que corresponda */
.hdr-cultura .site-header {
  --g-bg: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
  --g-bd: rgba(255, 255, 255, .22);
  --g-sh: 0 8px 28px -14px rgba(0, 0, 0, .45);   /* sin brillo interno: arriba se sumaba al borde y la línea se veía doble */
}
.hdr-cultura .site-header.sobre-claro {
  --g-bg: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .3));
  --g-bd: rgba(15, 15, 17, .1);
  --g-sh: 0 8px 28px -16px rgba(0, 0, 0, .25);
}
.hdr-cultura .hdr-inner {
  pointer-events: auto; width: min(1000px, 100% - 2 * var(--gutter)); max-width: none; height: 46px; margin: 0 auto; padding: 0 5px 0 18px; gap: 16px;
  border-radius: 999px; border: 1px solid var(--g-bd); background: var(--g-bg); box-shadow: var(--g-sh);
  -webkit-backdrop-filter: blur(18px) saturate(1.8); backdrop-filter: blur(18px) saturate(1.8);
  transition: border-color .3s;
}
.hdr-cultura .hdr-nav a, .hdr-cultura .hdr-logo { text-shadow: 0 1px 10px rgba(0, 0, 0, .25); }
.hdr-cultura .site-header.sobre-claro :is(.hdr-nav a, .hdr-logo) { color: var(--ink); text-shadow: none; }
.hdr-cultura .site-header.sobre-claro .hdr-nav a:hover { background: rgba(15, 15, 17, .06); }
.hdr-cultura .site-header.sobre-claro .hdr-menu span { background: var(--ink); }
.hdr-cultura .hdr-nav { gap: 2px; }
.hdr-cultura .hdr-nav a { font-size: 13px; padding: 7px 13px; border-radius: 999px; color: #fff; transition: background-color .25s; }
.hdr-cultura .hdr-nav a:hover { background: rgba(255, 255, 255, .08); }
.hdr-cultura .hdr-actions { gap: 8px; }
.hdr-cultura .site-header .btn { height: 36px; padding: 0 18px; border-radius: 999px; }
.hdr-cultura .hdr-logo img { width: 26px; height: 26px; }
.hdr-cultura .hdr-logo .logo-word { height: 16px; }
.hdr-cultura .hdr-logo { gap: 9px; }
.hdr-cultura .dn-toggle { border-radius: 999px; padding: 2px; background: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.hdr-cultura .dn-toggle button { width: 32px; height: 32px; border-radius: 999px; }
.hdr-cultura .dn-toggle svg { width: 14px; height: 14px; }
/* fuera del hero se va el botón de día/noche; la píldora mantiene su ancho (Isa, 15/10) */
.hdr-cultura:not(.dn-on-hero) .dn-toggle { display: none; }
/* la píldora es siempre oscura: el texto no cambia a tinta de día */
.hdr-cultura.sky-day .site-header.on-hero:not(.solid) :is(.hdr-nav a, .hdr-phone, .hdr-logo) { color: #fff; }
.hdr-cultura.sky-day .site-header.on-hero:not(.solid) .hdr-menu span { background: #fff; }
.hdr-cultura.ink-swapping .site-header.on-hero:not(.solid) :is(.hdr-nav, .hdr-phone, .hdr-logo) { opacity: 1; }
@media (max-width: 720px) {
  .hdr-cultura .hdr-inner, .hdr-cultura .site-header.solid .hdr-inner { width: calc(100% - 2 * 12px); padding: 0 4px 0 14px; }
  .hdr-cultura .hdr-logo .logo-word { height: 15px; }
}

/* ── Recursos técnicos, cada uno en UN solo lugar (?tec=a|b|c), sobre las refes de Isa ── */
/* A · Servicios: filetes finos que enmarcan las columnas, cruces en los encuentros y rayado diagonal detrás de la foto */
.marco { display: none; }
@media (max-width: 1080px) { .tec-a .marco { display: none !important; } }
.tec-a .marco { display: block; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.tec-a .services-sticky > .wrap { position: relative; z-index: 1; }
/* tres columnas iguales, como las cifras, para que los filetes del marco sigan las divisiones de arriba */
@media (min-width: 1081px) {
  .tec-a .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 0; }
  .tec-a .svc-list { margin-left: 0; }   /* la lista arranca en el filete y su texto 32px adentro */
  .tec-a .svc-detail { padding-left: 40px; }
}
.marco .m-fil { stroke: rgba(255, 255, 255, .16); stroke-width: 1; fill: none; }
.marco .m-cruz { stroke: rgba(255, 255, 255, .7); stroke-width: 1; fill: none; }
.marco pattern line { stroke: rgba(255, 255, 255, .09); stroke-width: 1; }

/* B · Preguntas: despiece isométrico de una cancha de pádel (platea, césped con la red, cerramiento de cristal y reja)
   sobre rayado; termina alineado con el final de las preguntas */
.despiece { display: none; margin: 0; }
@media (min-width: 721px) {
  .tec-b .faq-intro { position: static; align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; }
  .tec-b .despiece { margin-top: auto; }
}
.tec-b .despiece { display: block; width: min(100%, 400px); max-width: 100%; }
.despiece svg { display: block; width: 100%; height: auto; }
.despiece pattern line { stroke: rgba(15, 15, 17, .16); stroke-width: .5; }
.despiece .dp-marco { fill: none; stroke: rgba(15, 15, 17, .22); stroke-width: .6; }
.despiece path, .despiece line { stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.despiece .l-top { fill: var(--paper); stroke: var(--ink); stroke-width: .9; }
.despiece .l-side { fill: #dedbd4; stroke: var(--ink); stroke-width: .9; }
.despiece .l-side2 { fill: #cbc8c0; stroke: var(--ink); stroke-width: .9; }
.despiece .ex-lineas line { stroke: var(--ink); stroke-width: .7; }
.despiece .red { fill: rgba(243, 242, 239, .6); stroke: var(--ink); stroke-width: .8; }
.despiece .red-m { stroke: var(--ink); stroke-width: .35; }
.despiece .cristal { fill: rgba(243, 242, 239, .55); stroke: var(--ink); stroke-width: .9; }
.despiece .reja { fill: none; stroke: var(--ink); stroke-width: .7; }
.despiece .poste { stroke: var(--ink); stroke-width: .5; }
.despiece .ex-guides line { stroke: rgba(15, 15, 17, .4); stroke-width: .7; stroke-dasharray: 2 3; }
/* armado → despiece: el césped baja 22 unidades hasta la platea y el cerramiento 48 hasta el césped */
.despiece :is(.ex-cesped, .ex-cerr) { transition: transform 1.3s cubic-bezier(.65, 0, .25, 1); }
.despiece .ex-cerr { transition-delay: .12s; }
.despiece .ex-guides { opacity: 0; transition: opacity .6s ease .9s; }
.despiece:not(.abierto) .ex-cesped { transform: translateY(22.2px); }
.despiece:not(.abierto) .ex-cerr { transform: translateY(47.7px); }
.despiece.abierto .ex-guides { opacity: 1; }

/* C · Cifras: editorial, las tres una al lado de la otra en celdas de filetes finos;
   el nombre chico arriba y el número grande y fino abajo */
.tec-c .figures { padding: clamp(48px, 7vw, 88px) 0; }
.tec-c .fig { justify-content: space-between; gap: clamp(56px, 10vh, 110px); padding: 16px clamp(16px, 2vw, 28px) 14px; box-shadow: none; border-top: 1px solid rgba(255, 255, 255, .45); border-bottom: 1px solid rgba(255, 255, 255, .45); }
.tec-c .fig:first-child { padding-left: 0; }
.tec-c .fig + .fig { box-shadow: inset 1px 0 0 rgba(255, 255, 255, .45); }
.tec-c .fig > span { order: -1; }
.tec-c .fig strong { font-weight: 300; font-size: clamp(84px, 11.5vw, 190px); letter-spacing: -.075em; line-height: .8; }
.tec-c .fig .pre { font-weight: 200; }
@media (max-width: 720px) {
  .tec-c .figures-row { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .tec-c .fig { gap: 36px; padding: 12px 8px 10px; }
  .tec-c .fig strong { font-size: 15vw; }
  .tec-c .fig > span { font-size: 11px; }
}

/* Contacto: textura de dibujos técnicos (cancha de tenis, de pádel y un círculo rayado) en blanco muy tenue */
.cta { position: relative; overflow: hidden; }
.cta > .wrap { position: relative; z-index: 1; }
.cta-textura { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cta-textura :is(rect, line, circle, path) { fill: none; stroke: rgba(255, 255, 255, .13); stroke-width: 1; vector-effect: non-scaling-stroke; }
.cta-textura .fino { stroke: rgba(255, 255, 255, .08); }
.cta-textura .cruz { stroke: rgba(255, 255, 255, .3); }
.cta-textura .cerr { stroke-dasharray: 3 3; }
.cta-textura pattern line { stroke: rgba(255, 255, 255, .09); }
.cta-textura .raya { stroke: none; }

/* ── Header cuadrado con marcas (elegido 15/10): el mismo vidrio con esquinas rectas y una cruz en cada esquina ── */
.hm { display: none; }
.hf-marcas.hdr-cultura { --hdr: 66px; }
.hf-marcas.hdr-cultura .site-header { padding-top: 18px; }   /* más aire arriba: pegado se sentía apretado */
.hf-marcas.hdr-cultura .hdr-inner { border-radius: 0; padding: 0 5px 0 16px; position: relative; overflow: visible; }
.hf-marcas.hdr-cultura :is(.site-header .btn, .hdr-nav a, .dn-toggle, .dn-toggle button) { border-radius: 0; }
.hf-marcas .hm { display: block; position: absolute; width: 11px; height: 11px; pointer-events: none;
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat; color: rgba(255, 255, 255, .8); }
.hf-marcas .site-header.sobre-claro .hm { color: rgba(15, 15, 17, .7); }
.hf-marcas .hm-1 { left: -6px; top: -6px; } .hf-marcas .hm-2 { right: -6px; top: -6px; }
.hf-marcas .hm-3 { left: -6px; bottom: -6px; } .hf-marcas .hm-4 { right: -6px; bottom: -6px; }

/* Nosotros: la misma textura de dibujos técnicos que contacto, con otra composición, en la parte libre de la derecha */
.statement-sec > .wrap { position: relative; z-index: 1; }
.sec-textura { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.sec-textura :is(rect, line, circle, path) { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 1; vector-effect: non-scaling-stroke; }
.sec-textura .fino { stroke: rgba(255, 255, 255, .06); }
.sec-textura .cruz { stroke: rgba(255, 255, 255, .26); }
.sec-textura pattern line { stroke: rgba(255, 255, 255, .07); }
.sec-textura .raya { stroke: none; }

/* ── Hero: título más fino y marcas de corte con el número de cada renglón (elegidos 15/10) ── */
.hero-title { font-weight: 300; letter-spacing: -.055em; }
.ht-box { position: relative; display: inline-block; }
.ht-deco { position: absolute; inset: 0; pointer-events: none; color: #fff; }
.ht-deco > * { display: none; position: absolute; }
.ht-deco .hd-n { font: 500 11px/1 var(--mono); letter-spacing: -.02em; text-transform: none; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
/* A · Marcas de corte en las cuatro esquinas del título y el número de cada renglón */
.ht-a .hd-m { display: block; width: 12px; height: 12px; border: 0 solid rgba(255, 255, 255, .75); }
.ht-a .hd-m1 { left: -22px; top: -14px; border-width: 1px 0 0 1px; } .ht-a .hd-m2 { right: -22px; top: -14px; border-width: 1px 1px 0 0; }
.ht-a .hd-m3 { left: -22px; bottom: -10px; border-width: 0 0 1px 1px; } .ht-a .hd-m4 { right: -22px; bottom: -10px; border-width: 0 1px 1px 0; }
.ht-a .hd-n { display: block; left: -40px; opacity: .8; }
.ht-a .hd-n1 { top: 14%; } .ht-a .hd-n2 { top: 62%; }
@media (max-width: 720px) {
  .ht-a .hd-n { left: -26px; } .ht-a :is(.hd-m1, .hd-m3) { left: -12px; } .ht-a :is(.hd-m2, .hd-m4) { right: -12px; }
}


/* La bajada del hero lleva la línea de cota debajo, con sus dos topes (15/10) */
.hv-capas .hero-kicker { position: relative; display: inline-block; padding-bottom: 16px; }
.hv-capas .hero-kicker::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9px;
  background: linear-gradient(#fff, #fff) center / 100% 1px no-repeat, linear-gradient(#fff, #fff) left / 1px 100% no-repeat, linear-gradient(#fff, #fff) right / 1px 100% no-repeat;
  opacity: .85; pointer-events: none; }

/* ── Ajustes del teléfono (taller iPhone 16 Pro, 16/10) ── */
@media (max-width: 720px) {
  /* header y texto del hero un poco más abajo */
  .hf-marcas.hdr-cultura { --hdr: 78px; }
  .hf-marcas.hdr-cultura .site-header { padding-top: calc(28px + env(safe-area-inset-top)); }
  .hv-capas .hero-chrome { padding-top: calc(var(--hdr) + 64px); }   /* y más separado del header */
}
.solo-m, .sec-textura-m { display: none; }
@media (max-width: 720px) {
  .solo-d, .sec-textura-d { display: none !important; }
  .solo-m { display: block; }
  .sec-textura-m { display: block; }
  /* Nosotros: centrado y con el bloque al medio del cuadro (sin el hueco negro abajo) */
  .statement-sec { display: flex; flex-direction: column; justify-content: center; }
  .statement-sec .statement { text-align: center; margin: 0 auto; }
  .statement-sec .about-cols { text-align: center; margin: 40px auto 0; max-width: 32ch; }
  /* Cifras: el número arriba y su nombre abajo, centrados en cada celda */
  .tec-c .fig { align-items: center; text-align: center; gap: 12px; padding: 18px 4px 16px; }
  .tec-c .fig:first-child { padding-left: 4px; }
  .tec-c .fig > span { order: 1; font-size: 10.5px; line-height: 1.3; }
  .tec-c .fig strong { font-size: 13.5vw; }
}
@media (max-width: 720px) { .spec-table .solo-m { display: inline; } }
@media (max-width: 720px) { #tenis .solo-m { display: inline; } }

/* ── Footer (elegido 16/10: B · rótulo de plano). Quedan las reglas de A y C por si se vuelve a probar ── */
.f-visual { display: none; }
.f-visual > *, .f-plano { display: none; }
.f-horizonte :is(path, line, rect) { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 1; vector-effect: non-scaling-stroke; }
.f-horizonte .hz { stroke: rgba(255, 255, 255, .22); }
.f-horizonte .torre { stroke: rgba(255, 255, 255, .3); }
.f-horizonte .lampara { fill: rgba(255, 255, 255, .6); stroke: none; }
.f-horizonte .cancha { stroke: rgba(255, 255, 255, .55); stroke-width: 2; }
.f-friso :is(rect, line) { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1; vector-effect: non-scaling-stroke; }
.f-plano :is(rect, line, path) { fill: none; stroke: rgba(255, 255, 255, .35); stroke-width: 1; vector-effect: non-scaling-stroke; }
.f-plano .red { stroke-dasharray: 3 3; stroke: rgba(255, 255, 255, .5); }
.f-plano .cristal { stroke: rgba(255, 255, 255, .6); stroke-width: 1.5; }
.f-plano .cota line { stroke: rgba(255, 255, 255, .45); }
:is(.ft-a, .ft-b, .ft-c) .f-mark { padding: 0; }
:is(.ft-a, .ft-b, .ft-c) .f-mark .logo-lockup { width: auto; gap: 12px; }
:is(.ft-a, .ft-b, .ft-c) .f-mark img { width: 44px; }
:is(.ft-a, .ft-b, .ft-c) .f-mark .logo-word { flex: none; width: 170px; height: 28px; max-height: none; }

/* A · Compacto con horizonte: logo a la izquierda, las columnas a la derecha y el horizonte fino al pie */
.ft-a .footer { padding-bottom: 0; }
.ft-a .footer .wrap { display: grid; grid-template-columns: minmax(220px, 1fr) 3fr; column-gap: 48px; row-gap: 40px; }
.ft-a .f-mark { grid-column: 1; grid-row: 1; }
.ft-a .f-cols { grid-column: 2; grid-row: 1; grid-template-columns: repeat(4, 1fr); padding-bottom: 0; border-bottom: 0; }
.ft-a .f-bottom { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line-d); }
.ft-a .f-visual { display: block; margin-top: 8px; }
.ft-a .f-horizonte { display: block; width: 100%; height: clamp(80px, 8vw, 120px); }

/* B · Rótulo de plano: todo dentro de una grilla de filetes, con un plano chico de la cancha en una celda */
.ft-b .footer .wrap { position: relative; }
.ft-b .f-cols { gap: 0; padding: 0; border: 1px solid rgba(255, 255, 255, .22); border-bottom: 0; }
.ft-b .f-cols > div { padding: 22px 22px 18px; }
.ft-b .f-cols > div + div { border-left: 1px solid rgba(255, 255, 255, .22); }
.ft-b .f-mark { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px; border: 1px solid rgba(255, 255, 255, .22); }
.ft-b .f-plano { display: block; height: 92px; width: auto; }
.ft-b .f-bottom { padding: 14px 22px; border: 1px solid rgba(255, 255, 255, .22); border-top: 0; }
.ft-b .footer .wrap::before, .ft-b .footer .wrap::after { content: ""; position: absolute; width: 13px; height: 13px; pointer-events: none;
  background: linear-gradient(#fff, #fff) center / 100% 1px no-repeat, linear-gradient(#fff, #fff) center / 1px 100% no-repeat; opacity: .8; }
.ft-b .footer .wrap::before { left: calc(var(--gutter) - 6px); top: -6px; }
.ft-b .footer .wrap::after { right: calc(var(--gutter) - 6px); bottom: -6px; }

/* C · Centrado mínimo: el logo chico al centro, los grupos en fila y el friso de planos al pie */
.ft-c .footer { padding-bottom: 0; }
.ft-c .footer .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ft-c .f-mark { order: -1; margin-bottom: 44px; }
.ft-c .f-cols { width: 100%; padding-bottom: 40px; }
.ft-c .f-cols .tag { margin: 0 auto; }
.ft-c .f-bottom { justify-content: center; padding: 26px 0 22px; }
.ft-c .f-visual { display: block; }
.ft-c .f-friso { display: block; width: 100%; height: 56px; border-top: 1px solid var(--line-d); }

@media (max-width: 720px) {
  .ft-a .footer .wrap { grid-template-columns: 1fr; }
  .ft-a .f-cols { grid-column: 1; grid-row: 2; grid-template-columns: 1fr 1fr; }
  .ft-a .f-horizonte { height: 72px; }
  .ft-b .f-cols { grid-template-columns: 1fr 1fr; }
  .ft-b .f-cols > div:nth-child(3) { border-left: 0; }
  .ft-b .f-cols > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .22); }
  .ft-b .f-plano { height: 64px; }
  .ft-c .f-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  /* footer en el teléfono: un link por renglón, contacto a todo el ancho (los mails no entran en media columna) */
  :is(.ft-a, .ft-b, .ft-c) .f-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :is(.ft-a, .ft-b, .ft-c) .f-cols a { display: block; width: max-content; max-width: 100%; }
  :is(.ft-a, .ft-b, .ft-c) .f-cols > div:nth-child(3) { grid-column: 1 / -1; }
  .ft-c .f-cols a { margin-left: auto; margin-right: auto; }
  .ft-b .f-cols > div:nth-child(3) { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .22); }
  .ft-b .f-cols > div:nth-child(4) { grid-column: 1 / -1; border-left: 0; }
  .ft-b .f-cols > div:nth-child(2) { border-left: 1px solid rgba(255, 255, 255, .22); }
}

/* ── Obras: el "Ver más" de cada deporte, junto al rótulo de su lista (lleva a /obras/padel y /obras/tenis) ── */
.w-lbl { display: flex; align-items: center; gap: 10px; }
.w-mas { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: -.02em; text-transform: none; color: var(--ink) !important; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.w-mas span { transition: transform .3s var(--ease-out); }
.w-mas:hover span { transform: translateX(4px); }

/* ── Página de galería de obras (/obras/padel, /obras/tenis): mosaico completo (19/10) ── */
.galeria body { background: var(--paper); }
.gal { background: var(--paper); color: var(--ink); }
/* header: en vez del menú, volver a obras y el cambio de deporte */
.gal-nav { align-items: center; gap: 4px; }
.gal-nav .gal-volver { font-weight: 500; }
.gal-sep { width: 1px; height: 16px; background: var(--line-l); margin: 0 8px; }
.gal-nav a.on { text-decoration: underline; text-underline-offset: 5px; }
/* cabecera centrada, con el plano de pádel muy tenue detrás */
.gal-head { position: relative; overflow: hidden; padding: calc(var(--hdr) + clamp(56px, 8vw, 104px)) 0 clamp(36px, 5vw, 56px); text-align: center; }
.gal-head .wrap { position: relative; z-index: 1; }
.gal-titulo { margin: 0; font-weight: 300; font-size: clamp(40px, 4.6vw, 68px); letter-spacing: -.055em; line-height: .95; }
.gal-bajada { max-width: 48ch; margin: 18px auto 0; font-size: 17px; line-height: 1.5; text-wrap: balance; }
/* mosaico dentro de un marco con cruces en las esquinas */
.gal-fotos { padding-bottom: clamp(64px, 9vw, 120px); }
.gal-marco { position: relative; padding: 14px; }
.gm { position: absolute; width: 13px; height: 13px; pointer-events: none;
  background: linear-gradient(var(--ink), var(--ink)) center / 100% 1px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1px 100% no-repeat; opacity: .55; }
.gm1 { left: -6px; top: -6px; } .gm2 { right: -6px; top: -6px; } .gm3 { left: -6px; bottom: -6px; } .gm4 { right: -6px; bottom: -6px; }
.gal-cuenta { margin: 18px 0 0; text-align: center; font-size: 12px; opacity: .6; }
.gal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(200px, 19vw, 290px); gap: 10px; }
.gal-grid figure { position: relative; margin: 0; overflow: hidden; border-radius: 4px; cursor: zoom-in; background: var(--paper-2); }
.gal-grid :is(img, video) { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s cubic-bezier(.22, 1, .36, 1); }
.gal-grid figure:hover :is(img, video) { transform: scale(1.04); }
.gal-grid figcaption { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; padding: 22px; text-align: center; text-wrap: balance;
  color: #fff; font-weight: 500; font-size: clamp(17px, 1.4vw, 21px); letter-spacing: -.035em; line-height: 1.2; background: rgba(8, 9, 12, .55); opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.gal-grid figure:hover figcaption, .gal-grid figure:focus-visible figcaption { opacity: 1; }
/* entrada: cada foto aparece con un fundido corto */
.gal-grid figure { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .9s cubic-bezier(.22, 1, .36, 1); }
.gal-grid figure.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .gal-grid figure { opacity: 1; transform: none; } }
/* visor a pantalla completa */
.visor { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; background: rgba(8, 9, 12, .94); opacity: 0; transition: opacity .3s; }
.visor.on { opacity: 1; }
.visor button { position: absolute; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); color: #fff; font: 400 20px/1 var(--sans); width: 48px; height: 48px; cursor: pointer; }
.visor button:hover { background: rgba(255, 255, 255, .16); }
.visor-x { top: 20px; right: 20px; font-size: 26px; }
.visor-ant { left: 20px; top: 50%; transform: translateY(-50%); } .visor-sig { right: 20px; top: 50%; transform: translateY(-50%); }
.visor-cuenta { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #fff; font-size: 12px; margin: 0; }
@media (max-width: 720px) {
  .gal-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: 8px; }
  /* en el teléfono no hay hover: el texto va siempre, abajo, sobre una sombra */
  .gal-grid figcaption { opacity: 1; align-items: flex-end; justify-content: flex-start; text-align: left; font-size: 13.5px; padding: 12px; background: linear-gradient(rgba(8, 9, 12, 0) 45%, rgba(8, 9, 12, .72)); }
  .visor-txt { bottom: 74px; padding: 0 20px; font-size: 14px; }
  .visor-ant, .visor-sig { top: auto; bottom: 14px; transform: none; }
  .visor-cuenta { bottom: 30px; }
}

/* ── Obras: cada foto de la tira muestra su club y lugar al pasar (19/10) ── */
.works-strip .wf { position: relative; margin: 0; flex-shrink: 0; height: clamp(220px, 42vh, 420px); aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; }
.works-strip .wf.tall { aspect-ratio: 3 / 4; }
.works-strip .wf img { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; transition: transform .9s cubic-bezier(.22, 1, .36, 1); }
.works-strip .wf:hover img { transform: scale(1.04); }
.wf figcaption { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 20px; text-align: center; text-wrap: balance;
  color: #fff; background: rgba(8, 9, 12, .55); opacity: 0; transition: opacity .35s ease; }
.wf:hover figcaption { opacity: 1; }
.wf figcaption b { font-weight: 500; font-size: clamp(19px, 1.6vw, 24px); letter-spacing: -.04em; line-height: 1.1; }
.wf figcaption span { display: inline-flex; align-items: center; gap: 5px; font: 500 12px var(--mono); letter-spacing: -.02em; }
.wf .pin { width: 10px; height: 12px; fill: currentColor; }
/* debajo de la tira: el párrafo a la izquierda y los accesos de cada deporte a la derecha (opción C del taller, sin filete) */
.works-mas { width: 100%; display: grid; grid-template-columns: minmax(0, 46ch) auto; justify-content: space-between; align-items: start; gap: 40px; margin-top: 28px; }
.works-mas .body { margin: 0; color: var(--ink); }
.w-accesos { display: flex; gap: 28px; }
.w-accesos .w-mas { margin: 0; gap: 10px; border: 0; padding: 0; }
.w-accesos .w-mas .tag { font-size: 11.5px; }
@media (max-width: 720px) {
  .works-strip .wf { height: clamp(160px, calc(100svh - 300px), 46svh); }
  /* en el teléfono no hay hover: el club va siempre, abajo, sobre una sombra */
  .wf figcaption { opacity: 1; justify-content: flex-end; align-items: flex-start; text-align: left; background: linear-gradient(rgba(8, 9, 12, 0) 45%, rgba(8, 9, 12, .7)); padding: 14px; }
  .wf figcaption b { font-size: 17px; }
  .works-mas { grid-template-columns: 1fr; gap: 20px; }
  .w-accesos { flex-direction: column; gap: 14px; }
}
/* header: el mismo aire de 5px arriba, abajo, a la derecha y entre día/noche y "Contáctenos" */
.hf-marcas.hdr-cultura .hdr-inner { padding-right: 4px; }   /* 4 + 1 de borde = 5 */
.hdr-cultura .hdr-actions { gap: 5px; }
/* Obras: el párrafo de abajo en dos renglones */
.works-mas { grid-template-columns: minmax(0, 64ch) auto; }
/* contacto: los botones en Geist, sin mayúsculas (la mono no gustó acá) */
.cta-actions .btn { font-family: var(--sans); text-transform: none; letter-spacing: -.02em; font-weight: 500; font-size: 16px; }
@media (max-width: 720px) { br.solo-desk { display: none; } }
.limonta .sw .mono { color: var(--ink) !important; }   /* nombres de los colores en negro */
.visor[hidden] { display: none; }   /* cerrado no puede quedar invisible encima: tapaba el hover y los clics */
.hdr-nav.gal-nav { display: flex !important; }   /* en la galería el "Volver" se ve en todos los anchos */
@media (max-width: 720px) { .gal-nav .gal-volver { font-size: 14px; } .galeria .hdr-menu { display: none; } }
.hdr-nav.gal-nav { display: flex !important; }   /* en la galería el "Volver" se ve en todos los anchos */
@media (max-width: 720px) { .gal-nav .gal-volver { font-size: 14px; } .galeria .hdr-menu { display: none; } }
/* galería en el teléfono: 2 columnas, la primera a todo el ancho y el resto de a dos (con 11 y con 5 queda completo) */
@media (max-width: 720px) {
  .gal-grid { grid-template-columns: 1fr 1fr !important; grid-template-areas: none !important; grid-auto-rows: 150px; gap: 8px; }
  .gal-grid figure { grid-area: auto !important; }
  .gal-grid figure:first-child { grid-column: 1 / -1 !important; grid-row: span 2 !important; }
  .gal-grid figcaption { opacity: 1; align-items: flex-end; justify-content: flex-start; text-align: left; font-size: 13px; padding: 10px; background: linear-gradient(rgba(8, 9, 12, 0) 40%, rgba(8, 9, 12, .72)); }
  .gal-marco { padding: 10px; }
  .gal-nav a:not(.gal-volver), .gal-sep { display: none !important; }
  .gal-nav .gal-volver { white-space: nowrap; }
}

/* ── Galería: hoja de plano en toda la página (elegida la B, 19/10) ──
   papel cuadriculado que se apaga hacia abajo y canchas con sus cotas repartidas a distintas alturas, cortadas por los bordes */
.gal { position: relative; overflow: hidden; }
.gal > section { position: relative; z-index: 1; }
.gal-fondo { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(rgba(15, 15, 17, .065) 1px, transparent 1px) 0 0 / 120px 120px, linear-gradient(90deg, rgba(15, 15, 17, .065) 1px, transparent 1px) 0 0 / 120px 120px,
    linear-gradient(rgba(15, 15, 17, .03) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, rgba(15, 15, 17, .03) 1px, transparent 1px) 0 0 / 24px 24px;
  -webkit-mask: linear-gradient(#000 0, #000 55%, rgba(0, 0, 0, .35) 100%); mask: linear-gradient(#000 0, #000 55%, rgba(0, 0, 0, .35) 100%); }
.gp { position: absolute; overflow: visible; }
.gp :is(rect, line) { fill: none; vector-effect: non-scaling-stroke; }
.gp .pl :is(rect, line) { stroke: rgba(15, 15, 17, .26); stroke-width: 1.2; }
.gp .pl .r { stroke-dasharray: 4 4; }
.gp .cota line { stroke: rgba(15, 15, 17, .4); stroke-width: 1; }
.gp .cota text { fill: rgba(15, 15, 17, .55); font: 500 1.35px var(--mono); text-anchor: middle; letter-spacing: -.02em; }
/* repartidas: arriba a la derecha, al costado del mosaico a la izquierda, a media página a la derecha y abajo a la izquierda */
.gp1 { width: 34vw; right: -9vw; top: 40px; }
.gp2 { width: 26vw; left: -11vw; top: 420px; transform: rotate(90deg); }
.gp3 { width: 24vw; right: -12vw; top: 1080px; }
.gp4 { width: 30vw; left: -8vw; top: 1640px; }
.gx { position: absolute; width: 13px; height: 13px; background: linear-gradient(rgba(15, 15, 17, .5), rgba(15, 15, 17, .5)) center / 100% 1px no-repeat, linear-gradient(rgba(15, 15, 17, .5), rgba(15, 15, 17, .5)) center / 1px 100% no-repeat; }
.gx2 { right: 21%; top: 640px; } .gx3 { left: 4%; top: 980px; } .gx4 { right: 5%; top: 1420px; } .gx5 { left: 46%; top: 1900px; }
@media (max-width: 720px) {
  .gp1 { width: 70vw; right: -30vw; } .gp2 { width: 60vw; left: -34vw; } .gp3 { width: 56vw; right: -32vw; } .gp4 { width: 66vw; left: -30vw; }
}

/* cabecera de la galería más compacta (19/10) */
.gal-head { padding: calc(var(--hdr) + clamp(36px, 5vw, 64px)) 0 clamp(32px, 4vw, 52px); }
.gal-bajada { margin-top: 12px; }

/* ── Galería: el mosaico con el ancho del header y la cuadrícula del fondo atada al mosaico (19/10) ──
   U = (ancho + gap) / 12. Columnas de 4U, filas de 3U: las líneas mayores caen en los bordes de cada celda */
.gal { --W: min(1000px, 100vw - 2 * var(--gutter)); --gap: 10px; --U: calc((var(--W) + var(--gap)) / 12); }
.gal-fotos .wrap { max-width: none; padding: 0; }
.gal-marco { width: var(--W); margin: 0 auto; padding: 0; }
.gal-grid { gap: var(--gap); grid-auto-rows: calc(var(--U) * 3 - var(--gap)); }
.gal-fondo { background:
    linear-gradient(rgba(15, 15, 17, 0) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 15, 17, 0) 1px, transparent 1px),
    linear-gradient(rgba(15, 15, 17, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 15, 17, .06) 1px, transparent 1px);   /* la mayor encima de la fina sumaba: más suaves las dos */
  background-size: calc(var(--U) * 4) calc(var(--U) * 3), calc(var(--U) * 4) calc(var(--U) * 3), calc(var(--U) / 2) calc(var(--U) / 2), calc(var(--U) / 2) calc(var(--U) / 2);
  /* x: el borde izquierdo del mosaico (y del header); y: el borde de arriba del mosaico (lo mide main) */
  background-position: var(--gx, 0px) var(--gy, 0px); background-repeat: repeat; }
@media (max-width: 720px) {
  .gal { --W: calc(100vw - 2 * var(--gutter)); --gap: 8px; }
  .gal-grid { grid-auto-rows: calc(var(--U) * 4 - var(--gap)) !important; }
}
@media (max-width: 720px) { .gal-grid.par figure:last-child { grid-column: 1 / -1 !important; } }
/* Tenis: el plano de la cancha en vez de la foto, igual que el de pádel pero en blanco sobre el fondo oscuro (20/10) */
.plan-tenis { position: static; margin-top: 44px; color: #fff; }
.plan-tenis .pl-turf { fill: rgba(255, 255, 255, .05); stroke: #fff; }
.plan-tenis .pl-lines line, .plan-tenis .pl-dim line, .plan-tenis .pl-net { stroke: #fff; }
.plan-tenis .pl-dim text { fill: #fff; }
.plan-tenis .pl-turf { stroke-width: 3; }   /* el borde con el mismo peso que el cerramiento del plano de pádel */
/* cruces del header más suaves (20/10): estaban muy marcadas sobre fondo claro y oscuro */
.hf-marcas .hm { color: rgba(255, 255, 255, .42); }
.hf-marcas .site-header.sobre-claro .hm, .hf-marcas.es-dia .site-header.on-hero .hm { color: rgba(15, 15, 17, .3); }
/* la cancha de arriba a la derecha, por debajo del header (antes se chocaba con "Contáctenos") */
.gp1 { top: 110px; width: 30vw; right: -12vw; }
@media (max-width: 720px) { .gp1 { top: 120px; width: 64vw; right: -36vw; } }
/* Obras en el teléfono (23/10): igual que en computadora, la sección queda fija y al bajar la tira corre de costado;
   título arriba, fotos al medio y el pie abajo, todo dentro de la pantalla */
@media (max-width: 720px) {
  .works { height: 320vh; }
  .works .works-sticky { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 18px;
    padding: calc(var(--hdr) + 8px) 0 16px; overflow: hidden; }
  .works .works-head { margin: 0; }
  .works-strip { width: max-content; overflow: visible; gap: 10px; }
  .works-strip .wf, .works-strip .wf.tall { height: clamp(220px, 38svh, 340px); aspect-ratio: auto; width: 74vw; }
  .works-strip .wf.tall { width: 56vw; }
  .works-mas { grid-template-columns: 1fr !important; gap: 14px; margin-top: 0; }
  .works-mas .body { font-size: 15px; }
  .w-accesos { flex-direction: row; gap: 24px; }
}
}
/* "Ver más": al pasar solo se corre la flecha (la regla vieja movía también la etiqueta y el texto quedaba quieto) */
.w-mas span, .w-mas:hover span { transform: none; }
.w-mas span[aria-hidden] { transition: transform .3s var(--ease-out); }
.w-mas:hover span[aria-hidden] { transform: translateX(4px); }
/* galería en el teléfono: el fondo mucho más suave y sin la cancha de arriba, que se metía en el texto (20/10) */
@media (max-width: 720px) {
  .gal-fondo { opacity: .75; }
  .gp1 { display: none; }
}
/* galería: texto largo al pasar en computadora; en el teléfono, texto corto debajo de cada foto (20/10) */
.gal-grid .cap-c { display: none; }
@media (max-width: 720px) {
  .gal-grid { grid-auto-rows: auto !important; row-gap: 16px; }
  .gal-grid figure { display: flex; flex-direction: column; overflow: visible; border-radius: 0; background: none; }
  .gal-grid figure :is(img, video) { height: 150px; border-radius: 4px; }
  .gal-grid figure:first-child :is(img, video), .gal-grid.par figure:last-child :is(img, video) { height: 230px; }
  .gal-grid figure:hover :is(img, video) { transform: none; }
  .gal-grid figcaption { position: static; inset: auto; display: block; opacity: 1; background: none !important; color: var(--ink); padding: 8px 0 0; text-align: left;
    font-size: 13.5px; font-weight: 400; line-height: 1.3; letter-spacing: -.02em; }
  .gal-grid .cap-l { display: none; } .gal-grid .cap-c { display: inline; }
}
/* la cuadrícula con UNA sola intensidad: todas las líneas iguales (la fina cae también donde iba la mayor) */
/* galería en el teléfono: sin el botón de la derecha, la barra lleva el mismo aire a los dos lados */
@media (max-width: 720px) { .galeria.hf-marcas.hdr-cultura .hdr-inner { padding: 0 18px; } }
/* galería en el teléfono: el bloque de acciones (vacío ahí) caía en una segunda fila y subía todo; fuera */
@media (max-width: 720px) { .galeria .hdr-actions { display: none; } }
/* textos de la galería en el teléfono: el corto va adentro de la foto, abajo, sobre un degradé para que se lea */
@media (max-width: 720px) {
  .gal-grid { grid-auto-rows: 150px !important; row-gap: 8px; }
  .gal-grid figure { display: block; overflow: hidden; border-radius: 4px; }
  .gal-grid figure :is(img, video), .gal-grid figure:first-child :is(img, video), .gal-grid.par figure:last-child :is(img, video) { height: 100%; border-radius: 0; }
  .gal-grid figcaption { position: absolute; inset: auto 0 0 0; padding: 32px 10px 9px; color: #fff; font-weight: 500; font-size: 13px;
    background: linear-gradient(rgba(8, 9, 12, 0), rgba(8, 9, 12, .7)) !important; }
}
.gal-grid figcaption { line-height: 1.08; }   /* interlínea más cerrada en los textos de las fotos */
@media (max-width: 720px) { .gal-grid figcaption { line-height: 1.12; } }
.gal-nav .gal-volver { letter-spacing: -.04em; }   /* interletra más cerrada */
@media (max-width: 720px) { .gal-grid figcaption { background: linear-gradient(rgba(8, 9, 12, 0), rgba(8, 9, 12, .55) 45%, rgba(8, 9, 12, .85)) !important; padding-top: 40px; } }   /* degradé más oscuro */
.gal-grid figcaption { background: rgba(8, 9, 12, .65); }
/* la bajada siempre debajo del título y centrada (como inline-block se ponía al lado en pantallas de ~1200px) */
.hv-capas .hero-kicker { display: table; margin-left: auto; margin-right: auto; }
/* Obras con pocas fotos (p. ej. /tenis): sin scroll horizontal, la tira centrada y la sección de alto normal */
.works.tira-quieta { height: auto; }
.works.tira-quieta .works-sticky { position: relative; height: auto; padding: clamp(80px, 11vw, 150px) 0 clamp(60px, 8vw, 110px); }
.works.tira-quieta .works-strip { width: 100%; justify-content: center; transform: none !important; }
