/* RC Césped Sintético · estilos de la web. Paleta del logo: lima #A8CE3D, verde profundo, negro y blanco. */
:root {
  --lima: #A8CE3D; --lima-h: #bde04f; --negro: #0B0D0B; --profundo: #0F1E12; --musgo: #1a2a17; --blanco: #fff;
  --bg: #F5F6F1; --surface: #FFFFFF; --surface2: #ECEEE5; --tint: #EEF3DE; --tint2: #F0F2EA;
  --ink: #0B0D0B; --muted: #4D554C; --muted2: #6B7368; --line: #DCDFD5; --line2: #C9CDC0; --field: #8A9285;
  --accent: #3d5410; --btn: #0B0D0B; --btn-t: #FFFFFF; --btn-h: #1d2a19; --hd-bg: rgba(245,246,241,.94);
  --logo-f: none; --claro2: #B9C0B5;
  --gutter: clamp(16px, 3vw, 40px); --max: 1400px; --hd-h: 72px;
  --f: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif; --f2: "Mona Sans", "Archivo", system-ui, sans-serif; --mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #121612; --surface: #171C17; --surface2: #1E251E; --tint: #1F2B15; --tint2: #1A211A;
  --ink: #EEF1EA; --muted: #A9B1A5; --muted2: #8F978B; --line: #2A3229; --line2: #343D32; --field: #5A6357;
  --accent: #A8CE3D; --btn: #A8CE3D; --btn-t: #0B0D0B; --btn-h: #bde04f; --hd-bg: rgba(18,22,18,.92); --logo-f: invert(1);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121612; --surface: #171C17; --surface2: #1E251E; --tint: #1F2B15; --tint2: #1A211A;
    --ink: #EEF1EA; --muted: #A9B1A5; --muted2: #8F978B; --line: #2A3229; --line2: #343D32; --field: #5A6357;
    --accent: #A8CE3D; --btn: #A8CE3D; --btn-t: #0B0D0B; --btn-h: #bde04f; --hd-bg: rgba(18,22,18,.92); --logo-f: invert(1);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hd-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; transition: background .4s ease, color .4s ease; overflow-x: hidden; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lima); outline-offset: 3px; }
h1, h2, h3, p, figure, dl, dd, ul { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); }
.saltar { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--lima); color: var(--negro); padding: 10px 14px; font-weight: 700; }
.saltar:focus { top: 12px; }
@media (max-width: 1179px) { .solo-ancho { display: none; } }
@media (min-width: 1180px) { .solo-angosto { display: none; } }

/* Tipografía */
.t-xl, .t-lg, .t-md, .t-sm { font-family: var(--f); font-weight: 800; letter-spacing: -0.025em; text-wrap: balance; }
.t-xl { font-size: clamp(36px, 5.4vw, 84px); line-height: .95; font-stretch: 118%; max-width: 1040px; }
.t-lg { font-size: clamp(32px, 4.8vw, 74px); line-height: .97; font-stretch: 115%; max-width: 900px; }
.t-md { font-size: clamp(28px, 3.6vw, 54px); line-height: 1; font-stretch: 115%; }
.t-sm { font-size: 22px; line-height: 1.1; font-stretch: 112%; margin-bottom: 18px; }
.lead { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; color: var(--muted); max-width: 560px; margin-top: 22px; text-wrap: pretty; }
.lead.claro { color: #C9CFC4; }
.sec-p { font-size: 17px; line-height: 1.5; color: var(--muted); max-width: 420px; text-wrap: pretty; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; margin-bottom: 18px; color: var(--accent); text-transform: uppercase; }
.eyebrow.lima { color: var(--lima); }
.eyebrow-chip { display: inline-block; background: var(--lima); color: var(--negro); padding: 6px 10px; }
.eti { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--muted2); text-transform: uppercase; margin: 0 0 6px; }
.nota { margin-top: 20px; font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 460px; }
.tenue { color: var(--muted2) !important; }
.vacio { padding: 40px 0; color: var(--claro2); font-size: 17px; }
.pt { width: 8px; height: 8px; background: var(--lima); display: inline-block; flex-shrink: 0; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 13px 20px; font-weight: 700; font-size: 15px; border: 1px solid transparent; cursor: pointer; text-align: center; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { min-height: 54px; padding: 15px 22px; }
.btn-lima { background: var(--lima); color: var(--negro); }
.btn-lima:hover { background: var(--lima-h); }
.btn-ink { background: var(--btn); color: var(--btn-t); }
.btn-ink:hover { background: var(--btn-h); color: var(--btn-t); }
.btn-borde { border-color: var(--ink); background: transparent; font-weight: 600; }
.btn-borde:hover { background: var(--lima); border-color: var(--lima); color: var(--negro); }
.btn-borde-claro { border-color: rgba(255,255,255,.45); color: #fff; font-weight: 600; }
.btn-borde-claro:hover { background: var(--lima); border-color: var(--lima); color: var(--negro); }
.btn .ic { width: 18px; height: 18px; fill: currentColor; }
.acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.enlace-sub { font-size: 16px; font-weight: 700; border-bottom: 1px solid var(--lima); padding-bottom: 4px; white-space: nowrap; }
.enlace-sub:hover { color: var(--lima); }
.ic { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

/* Costura: la línea verde que recorre la sección como la unión de dos paños */
.costura { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--lima); transform-origin: left; }
.costura-corta { position: static; width: 64px; margin-bottom: 20px; }
.costura-tinta { position: static; height: 1px; background: var(--ink); margin-bottom: clamp(24px, 3vw, 40px); }
.js-anim [data-costura] { transform: scaleX(0); transition: transform 1.4s var(--ease); }
.js-anim [data-costura].visto { transform: scaleX(1); }
.js-anim [data-revela] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.js-anim [data-revela].visto { opacity: 1; transform: none; }

/* ── Header ── */
.hd { position: sticky; top: 0; z-index: 40; background: var(--hd-bg); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .35s ease, background .4s ease; }
.hd.scroll { box-shadow: 0 8px 30px rgba(0,0,0,.12); }
.hd-in { height: var(--hd-h); display: flex; align-items: center; gap: 24px; transition: height .35s var(--ease); }
.hd.scroll .hd-in { height: 60px; }
.hd-logo { display: flex; align-items: center; flex-shrink: 0; }
.hd-logo img { height: 42px; width: auto; display: block; filter: var(--logo-f); transition: height .35s var(--ease), transform .5s cubic-bezier(.3,1.6,.5,1); }
.hd.scroll .hd-logo img { height: 34px; }
.hd-logo:hover img { transform: rotate(-6deg) scale(1.08); }
.hd-nav { display: none; flex: 1; justify-content: center; gap: clamp(14px, 1.6vw, 26px); font-size: 14px; font-weight: 500; }
.hd-nav a { position: relative; padding: 8px 0; transition: color .25s, transform .3s var(--ease); }
.hd-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--lima); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.hd-nav a:hover { color: var(--accent); transform: translateY(-2px); }
.hd-nav a:hover::after, .hd-nav a[aria-current="page"]::after { transform: scaleX(1); }
.hd-nav a[aria-current="page"] { font-weight: 700; }
.hd-act { display: flex; align-items: center; gap: 12px; margin-left: auto; flex-shrink: 0; }
.hd-wa { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; font-weight: 700; min-height: 44px; min-width: 32px; }
.hd-wa .ic { width: 22px; height: 22px; color: #5E8E22; }
:root[data-theme="dark"] .hd-wa .ic { color: var(--lima); }
.hd-wa span { display: none; }
.hd-cta { min-height: 44px; padding: 10px 14px; font-size: 13px; }
.hd-menu { width: 44px; height: 44px; border: 1px solid var(--ink); background: transparent; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; padding: 0; }
.hd-menu span { width: 18px; height: 2px; background: var(--ink); display: block; transition: transform .3s var(--ease); }
.hd-menu[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.hd-menu[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.hd-mob { background: var(--negro); color: #fff; padding: 12px var(--gutter) 24px; display: grid; }
.hd-mob[hidden] { display: none; }
.hd-mob a { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 20px; font-weight: 700; font-stretch: 112%; }
.hd-mob a[aria-current="page"] { color: var(--lima); }
@media (min-width: 520px) { .hd-wa span { display: inline; } .hd-wa .ic { width: 16px; height: 16px; } }
@media (min-width: 1180px) {
  .hd-nav { display: flex; }
  .hd-menu, .hd-mob { display: none !important; }
  .hd-act { gap: 18px; margin-left: 0; }
  .hd-cta { padding: 12px 18px; font-size: 14px; }
}

/* Interruptor claro / oscuro: una cancha con la pelota */
.tema { position: relative; width: 64px; height: 34px; border-radius: 999px; border: 2px solid #fff; background: #5E9A25; box-shadow: 0 0 0 1px var(--line2), inset 0 2px 6px rgba(0,0,0,.25); cursor: pointer; padding: 0; flex-shrink: 0; transition: background .5s ease; }
.tema-cancha { position: absolute; inset: 0; border-radius: 999px; overflow: hidden; background: repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 9px, transparent 9px 18px); }
.tema-cancha i { position: absolute; display: block; border: 1.5px solid rgba(255,255,255,.7); }
.tema-cancha i:nth-child(1) { left: 50%; top: 0; bottom: 0; width: 0; border-width: 0 0 0 1.5px; border-style: dashed; border-color: rgba(255,255,255,.85); }
.tema-cancha i:nth-child(2) { left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; }
.tema-cancha i:nth-child(3) { left: 0; top: 8px; bottom: 8px; width: 6px; border-left: none; }
.tema-cancha i:nth-child(4) { right: 0; top: 8px; bottom: 8px; width: 6px; border-right: none; }
.tema-pelota { position: absolute; top: 50%; left: 2px; width: 26px; height: 26px; margin-top: -13px; transition: transform .7s cubic-bezier(.5,1.6,.4,1); filter: drop-shadow(0 4px 4px rgba(0,0,0,.35)); }
.tema-pelota svg { display: block; width: 100%; height: 100%; transition: transform .7s cubic-bezier(.3,1.2,.4,1); }
/* La posición sale del tema (que se fija antes de pintar), así la pelota no rueda al cambiar de página */
:root[data-theme="dark"] .tema { background: #1E3A12; }
:root[data-theme="dark"] .tema .tema-pelota { transform: translateX(30px); }
:root[data-theme="dark"] .tema .tema-pelota svg { transform: rotate(360deg); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tema { background: #1E3A12; }
  :root:not([data-theme="light"]) .tema .tema-pelota { transform: translateX(30px); }
  :root:not([data-theme="light"]) .tema .tema-pelota svg { transform: rotate(360deg); }
}
@media (max-width: 400px) { .tema { display: none; } }

/* ── Secciones ── */
.sec { position: relative; padding: clamp(64px, 9vw, 128px) 0; }
.sec-pegada { padding-top: 0; }
.sec-sup { background: var(--surface); }
.oscuro, .sec-verde { color: #fff; }
.oscuro { background: var(--negro); }
.sec-verde { background: var(--profundo); overflow: hidden; }
.oscuro .sec-p, .sec-verde .sec-p { color: var(--claro2); }
.sec-cab { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 48px; margin-bottom: clamp(32px, 4vw, 56px); }
.dos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 5vw, 80px); align-items: start; }
.dos-abajo { align-items: end; }
.dos-form { gap: clamp(40px, 5vw, 88px); }
.pila { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); align-items: flex-start; }
.pila > .lead { margin-top: 0; }
.sec-cab .t-lg { max-width: 820px; }
.foto { background: var(--musgo); width: 100%; }
.foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }

/* Encabezado de páginas internas */
.intro { padding: clamp(40px, 6vw, 96px) 0 clamp(40px, 5vw, 64px); }
.intro.oscuro { background: var(--negro); padding-bottom: clamp(24px, 3vw, 40px); }
.migas ol { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 13px; color: var(--muted2); }
.oscuro .migas ol { color: var(--claro2); }
.migas li:not(:last-child)::after { content: "/"; margin: 0 8px; opacity: .6; }
.migas a:hover { color: var(--accent); }
.oscuro .migas a:hover { color: var(--lima); }
.saltos { display: flex; flex-wrap: wrap; gap: 8px 28px; border-top: 1px solid var(--ink); padding-top: 18px; }
.saltos a { font-size: 17px; font-weight: 700; padding: 6px 0; }
.saltos a:hover { color: var(--accent); }

/* ── Hero: antes / después ── */
.hero { position: relative; background: var(--negro); color: #fff; }
.ba { position: relative; overflow: hidden; touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; background: var(--musgo); }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; display: block; pointer-events: none; }
.ba-top { clip-path: inset(0 0 0 var(--pos)); }
.ba-linea { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--lima); pointer-events: none; }
.ba-mango { position: absolute; top: 50%; left: var(--pos); transform: translate(-50%, -50%); width: 52px; height: 52px; background: var(--lima); border: none; color: var(--negro); font-size: 20px; font-weight: 800; letter-spacing: 2px; cursor: ew-resize; display: flex; align-items: center; justify-content: center; z-index: 2; }
.ba-eti, .ba-nota { position: absolute; top: 20px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; pointer-events: none; z-index: 2; }
.ba-eti-a { left: var(--gutter); background: var(--negro); color: #fff; }
.ba-eti-d { right: var(--gutter); background: var(--lima); color: var(--negro); }
.ba-nota { top: 62px; right: var(--gutter); text-transform: none; letter-spacing: 0; background: rgba(11,13,11,.6); color: #fff; display: none; }
.hero-ba { height: 64svh; min-height: 380px; }
.ba-ancho { aspect-ratio: 3 / 4; max-height: 82vh; width: 100%; }
.ba-proy { aspect-ratio: 4 / 5; max-height: 80vh; margin-bottom: 12px; }
.hero-panel { position: relative; background: var(--negro); padding: 32px 20px 40px; }
.hero-t { font-family: var(--f2); font-size: clamp(36px, 4.3vw, 64px); line-height: .98; font-weight: 800; font-stretch: 112%; letter-spacing: -0.025em; text-wrap: balance; }
.hero-p { margin-top: 20px; font-family: var(--f2); font-size: clamp(16px, 1.25vw, 18px); line-height: 1.5; max-width: 480px; text-wrap: pretty; }
.enlace-wa { display: inline-flex; margin-top: 22px; font-size: 15px; font-weight: 600; border-bottom: 1px solid var(--lima); padding-bottom: 4px; }
.enlace-wa:hover { color: var(--lima); }
@media (min-width: 860px) {
  .hero-ba { height: clamp(600px, calc(100vh - var(--hd-h)), 940px); }
  .hero-ba::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(11,13,11,.85) 0%, rgba(11,13,11,.55) 40%, rgba(11,13,11,0) 75%), linear-gradient(to right, rgba(11,13,11,.55) 0%, rgba(11,13,11,.25) 40%, rgba(11,13,11,0) 60%); }
  .hero-ba .ba-mango { top: 28%; }
  .ba-nota { display: block; }
  .hero-panel { position: absolute; left: var(--gutter); bottom: clamp(28px, 4vw, 56px); width: min(560px, 44%); background: none; padding: 0; z-index: 3; pointer-events: none; }
  .hero-panel a { pointer-events: auto; }
  .hero-t, .hero-p { text-shadow: 0 2px 24px rgba(0,0,0,.35); }
  .ba-ancho { aspect-ratio: 16 / 9; }
}

/* ── Aplicaciones: composición editorial ── */
.apps-fotos { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
.apps-fotos::-webkit-scrollbar { display: none; }
.app { position: relative; overflow: hidden; display: block; background: var(--musgo); flex: 0 0 78%; aspect-ratio: 3 / 4; scroll-snap-align: start; }
.app img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.app:hover img { transform: scale(1.03); }
.app-txt { position: absolute; left: 0; bottom: 0; right: 24px; background: var(--negro); color: #fff; padding: 14px 16px 16px; max-width: 360px; }
.app-t { display: block; font-size: 19px; font-weight: 800; font-stretch: 112%; }
.app-s { display: block; margin-top: 4px; font-size: 14px; color: var(--claro2); }
.app-a img { object-position: 50% 70%; } .app-b img { object-position: 50% 55%; } .app-c img { object-position: 50% 80%; } .app-d img { object-position: 50% 75%; }
.apps-mas { position: relative; margin-top: 20px; }
.apps-mas .costura, .apps-mas .eyebrow, .apps-mas .btn { display: none; }
.lista-flecha { border-top: 1px solid var(--ink); }
.lista-flecha a { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--line2); transition: padding .3s; }
.lf-t { font-size: 18px; font-weight: 800; font-stretch: 112%; }
.lf-f { font-size: 20px; color: var(--accent); }
.lf-s { font-size: 14px; color: var(--muted); }
@media (min-width: 860px) {
  .apps { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(44px, 5.4vw, 80px); gap: clamp(12px, 1.4vw, 20px); }
  .apps-fotos { display: contents; }
  .app { aspect-ratio: auto; }
  .app-txt { right: auto; padding: 18px 22px 20px; }
  .app-t { font-size: 22px; }
  .app-a { grid-column: 1 / 8; grid-row: 1 / 9; }
  .app-b { grid-column: 8 / 13; grid-row: 1 / 11; }
  .app-c { grid-column: 1 / 5; grid-row: 9 / 15; }
  .app-d { grid-column: 5 / 8; grid-row: 9 / 15; }
  .app-c .app-t, .app-d .app-t { font-size: 20px; }
  .apps-mas { grid-column: 8 / 13; grid-row: 11 / 15; margin: 0; background: var(--profundo); color: #fff; padding: clamp(22px, 2.4vw, 36px); display: flex; flex-direction: column; justify-content: space-between; gap: 16px; overflow: hidden; }
  .apps-mas .costura, .apps-mas .eyebrow { display: block; }
  .apps-mas .eyebrow { margin: 0; }
  .apps-mas .btn { display: inline-flex; align-self: flex-start; }
  .apps-mas .lista-flecha { border-top-color: rgba(255,255,255,.16); }
  .apps-mas .lista-flecha a { border-bottom-color: rgba(255,255,255,.16); }
  .apps-mas .lista-flecha a:hover { padding-left: 10px; color: var(--lima); }
  .apps-mas .lf-t { font-size: clamp(17px, 1.5vw, 21px); }
  .apps-mas .lf-f { color: var(--lima); }
  .apps-mas .lf-s { color: var(--claro2); }
}

/* ── Canchas y precio ── */
.cancha-grid { display: grid; grid-template-columns: 1fr; gap: clamp(16px, 2vw, 28px); margin-top: clamp(36px, 5vw, 64px); }
.cancha-foto { position: relative; min-height: 300px; background: var(--musgo); overflow: hidden; }
.cancha-foto img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform 1s var(--ease); }
.cancha-foto:hover img { transform: scale(1.04); }
.cancha-foto figcaption { position: absolute; left: 16px; bottom: 16px; font-size: 12px; background: var(--negro); color: #fff; padding: 6px 10px; }
@media (min-width: 1000px) { .cancha-grid { grid-template-columns: 2fr 1fr; } }
.precio { position: relative; background: var(--negro); color: #fff; padding: clamp(24px, 2.6vw, 40px); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; outline: 1px solid transparent; transition: box-shadow .4s, outline-color .4s; }
.precio:hover { box-shadow: 0 24px 60px rgba(0,0,0,.45); outline-color: rgba(168,206,61,.5); }
.precio .acciones { margin-top: 0; }
.precio-n { font-size: 15px; color: var(--claro2); }
.precio-alt { margin-top: 6px; font-size: clamp(32px, 3vw, 44px); font-weight: 500; color: var(--lima); letter-spacing: -0.02em; line-height: 1.1; }
.precio-v { border-top: 1px solid rgba(255,255,255,.14); padding-top: 24px; }
.precio-desde { font-size: 14px; color: var(--claro2); }
.precio-gs { margin-top: 4px; font-size: clamp(34px, 3.4vw, 52px); font-weight: 800; font-stretch: 112%; letter-spacing: -0.02em; line-height: 1; }
.precio-gs span { font-size: .45em; font-weight: 600; margin-left: 8px; letter-spacing: 0; }
.precio-inc { margin-top: 14px; display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.precio-nota { margin-top: 12px; font-size: 13px; color: #8F978B; line-height: 1.5; }
.precio-consultar { font-size: clamp(26px, 2.4vw, 36px); font-weight: 800; font-stretch: 112%; line-height: 1.05; }

/* Franja técnica: beneficios separados por líneas, sin cards */
.franja { list-style: none; margin: clamp(40px, 5vw, 72px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); border-top: 1px solid rgba(255,255,255,.18); }
.franja li { position: relative; padding: 22px 20px 22px 16px; border-right: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.08); font-size: 17px; font-weight: 600; line-height: 1.25; transition: background .35s ease, color .35s ease; }
.franja-l { display: block; height: 2px; width: 22px; background: var(--lima); margin-bottom: 14px; transform: rotate(-24deg); transform-origin: left; transition: width .5s var(--ease), transform .5s var(--ease), background .35s; }
.franja-t { display: block; transition: transform .45s var(--ease); }
.franja li:hover { background: var(--lima); color: var(--negro); }
.franja li:hover .franja-l { width: 56px; transform: none; background: var(--negro); }
.franja li:hover .franja-t { transform: translateX(6px); }

/* ── Residencial y piscinas ── */
.piscina { position: relative; background: var(--musgo); margin: 0; }
.piscina img { width: 100%; aspect-ratio: 3 / 4.4; object-fit: cover; display: block; }
.piscina figcaption { position: absolute; left: 0; right: clamp(0px, 6vw, 80px); bottom: 0; background: var(--negro); color: #fff; padding: clamp(20px, 2.4vw, 32px); }
.piscina .eyebrow { margin-bottom: 10px; }
.piscina-t { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.05; font-weight: 800; font-stretch: 112%; text-wrap: balance; }

/* ── Comercial ── */
.segmentos { list-style: none; padding: 0; border-top: 1px solid rgba(255,255,255,.18); }
.segmentos li { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: clamp(20px, 2vw, 28px); font-weight: 700; font-stretch: 110%; display: flex; justify-content: space-between; gap: 16px; }
.segmentos li span:last-child { color: var(--lima); }
#comercial .lead { margin-bottom: 28px; }

/* ── Proyectos ── */
.proy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.proy { display: block; color: #fff; cursor: zoom-in; }
.proy-foto { position: relative; display: block; overflow: hidden; background: var(--musgo); }
.proy-foto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.proy:hover .proy-foto img { transform: scale(1.04); }
.proy-pie { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; align-items: baseline; }
.proy-t { font-size: 18px; font-weight: 700; font-stretch: 108%; }
.proy-c { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--lima); text-align: right; }
.chip-ba { position: absolute; top: 12px; left: 12px; background: var(--lima); color: var(--negro); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; padding: 5px 8px; text-transform: uppercase; }
.filtros { display: flex; gap: 6px 26px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 36px); border-bottom: 1px solid rgba(255,255,255,.16); }
.filtros button { background: transparent; border: none; border-bottom: 3px solid transparent; margin-bottom: -1px; padding: 12px 0; font-size: 16px; font-weight: 600; color: #9AA295; cursor: pointer; min-height: 48px; }
.filtros button:hover { color: #fff; }
.filtros button[aria-pressed="true"] { color: #fff; border-bottom-color: var(--lima); }
/* Galería editorial: una foto alta cada cinco, así la grilla queda llena y sin huecos */
.masonry { display: grid; grid-template-columns: 1fr; gap: clamp(20px, 2vw, 32px) clamp(12px, 1.6vw, 24px); }
.masonry .proy[hidden] { display: none; }
.masonry .proy-foto { aspect-ratio: 4 / 3 !important; }
@media (min-width: 640px) {
  .masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(260px, 30vw, 360px); grid-auto-flow: dense; }
  .masonry .proy { display: flex; flex-direction: column; min-height: 0; }
  .masonry .proy-foto { aspect-ratio: auto !important; flex: 1; min-height: 0; }
  .masonry .proy:nth-child(5n + 1) { grid-row: span 2; }
}
@media (min-width: 1000px) {
  .masonry { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(280px, 24vw, 380px); }
}
@media (max-width: 639px) {
  /* En el celu los destacados se deslizan */
  #trabajos .proy-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
  #trabajos .proy { flex: 0 0 82%; scroll-snap-align: start; }
}

/* Detalle de proyecto */
.proy-det { padding-top: clamp(32px, 5vw, 64px); }
.proy-det-grid { display: grid; grid-template-columns: 1fr; gap: clamp(24px, 4vw, 56px); margin-top: clamp(28px, 4vw, 48px); align-items: start; }
@media (min-width: 1000px) { .proy-det-grid { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); } .proy-det-info { position: sticky; top: 100px; } }
.galeria { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gal-i { position: relative; display: block; overflow: hidden; background: var(--musgo); aspect-ratio: 4 / 3; cursor: zoom-in; }
.gal-i img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.gal-i:hover img { transform: scale(1.04); }
.gal-grande { grid-column: 1 / -1; aspect-ratio: 4 / 5; max-height: 85vh; }
@media (min-width: 640px) { .gal-grande { aspect-ratio: 4 / 3; } }
.proy-det-info { display: flex; flex-direction: column; gap: 16px; }
.proy-det-info .lead { margin-top: 0; }
.proy-det-info .btn { width: 100%; }

/* ── Visor de muestras ── */
.visor-tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--ink); margin-bottom: clamp(24px, 3vw, 40px); }
.visor-tabs button { background: transparent; border: none; border-bottom: 4px solid transparent; margin: 0 22px -1px 0; padding: 14px 0 12px; font-size: clamp(18px, 1.6vw, 22px); font-weight: 800; font-stretch: 112%; color: var(--muted2); cursor: pointer; min-height: 48px; }
.visor-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--lima); }
.visor-panel { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(24px, 4vw, 64px); align-items: start; }
.visor-panel[hidden] { display: none; }
.visor-grande { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--musgo); }
.visor-grande img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.visor-grande img.oculta { display: none; }
.visor-grande:hover img { transform: scale(1.18); }
.visor-eti { position: absolute; left: 0; top: 0; background: var(--negro); color: #fff; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 8px 12px; }
.visor-minis { display: flex; gap: 10px; margin-top: 12px; }
.visor-minis button { width: 72px; height: 72px; padding: 0; border: 2px solid transparent; background: var(--surface2); cursor: pointer; overflow: hidden; }
.visor-minis button[aria-pressed="true"] { border-color: var(--ink); }
.visor-minis img { width: 100%; height: 100%; object-fit: cover; display: block; }
.visor-n { font-size: clamp(26px, 2.6vw, 38px); font-weight: 800; font-stretch: 112%; line-height: 1.05; }
.visor-d { margin-top: 12px; color: var(--muted); font-size: 17px; }
.specs { margin-top: 18px; }
.specs > div { display: grid; grid-template-columns: minmax(120px, .8fr) 1.2fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.specs dd { font-size: 17px; font-weight: 600; }
.specs-osc { margin-top: 0; border-top: 1px solid rgba(255,255,255,.14); }
.specs-osc > div { border-bottom-color: rgba(255,255,255,.1); padding: 12px 0; }
.specs-osc dt { color: #8F978B; }
.specs-osc dd { font-size: 15px; }

/* Lista de productos */
.prod-lista { display: grid; }
.prod { padding: 26px 0; border-bottom: 1px solid var(--line2); display: grid; gap: 10px; scroll-margin-top: 100px; }
.prod-cab { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; align-items: baseline; }
.prod h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 800; font-stretch: 112%; }
.prod-precio { font-size: 16px; color: var(--muted); }
.prod-precio b { color: var(--ink); font-size: 20px; }
.prod-d { color: var(--muted); max-width: 680px; }
.prod-specs { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.prod-specs div { display: flex; gap: 8px; align-items: baseline; }
.prod-specs dt { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted2); }
.prod-specs dd { font-weight: 600; }
.prod-car { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 15px; }
.prod-car li { display: flex; align-items: center; gap: 8px; }
.prod-car li::before { content: ""; width: 8px; height: 8px; background: var(--lima); }

/* ── Recorrido de cotización (sin números) ── */
.recorrido { position: relative; margin-top: clamp(32px, 4vw, 52px); padding-left: 28px; }
.recorrido::before { content: ""; position: absolute; left: 6px; top: 10px; bottom: 34px; width: 2px; background: var(--lima); }
.rec-i { position: relative; padding-bottom: 26px; }
.rec-i::before { content: ""; position: absolute; left: -28px; top: 6px; width: 14px; height: 14px; background: var(--negro); border: 3px solid var(--lima); }
.rec-t { font-size: 20px; font-weight: 800; font-stretch: 112%; }
.rec-d { margin-top: 4px; font-size: 15px; color: var(--muted); line-height: 1.45; }
.lineas { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 24px; }
.lineas > div { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.lineas a { font-size: 16px; font-weight: 500; padding: 6px 0; border-bottom: 1px solid var(--line2); }
.lineas a.principal { border-bottom-color: var(--lima); }
.lineas a:hover { color: var(--accent); }

/* ── Cotizador ── */
.form-caja { position: relative; background: var(--bg); padding: clamp(20px, 3vw, 44px); }
.form { display: grid; gap: 20px; }
.campos2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; }
.form label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.form input:not([type="radio"]):not([type="file"]), .form textarea { min-height: 56px; border: 1px solid var(--field); background: var(--surface); padding: 0 16px; font-size: 17px; border-radius: 0; width: 100%; }
.form textarea { padding: 14px 16px; resize: vertical; line-height: 1.5; }
.form input:focus, .form textarea:focus { border-color: var(--ink); outline: 2px solid var(--lima); outline-offset: 0; }
.form [aria-invalid="true"] { border-color: #b42318 !important; }
.tipos { border: none; margin: 0; padding: 0; }
.tipos legend { font-size: 14px; font-weight: 600; margin-bottom: 10px; padding: 0; }
.tipos > div { display: flex; flex-wrap: wrap; gap: 8px; }
.form .tipo { display: block; position: relative; }
.tipo input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tipo span { display: flex; align-items: center; min-height: 46px; padding: 0 16px; border: 1px solid var(--field); background: var(--surface); font-size: 15px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.tipo input:checked + span { background: var(--btn); border-color: var(--btn); color: var(--btn-t); }
.tipo input:focus-visible + span { outline: 2px solid var(--lima); outline-offset: 2px; }
.form .subir { position: relative; display: grid; justify-items: center; gap: 4px; min-height: 84px; border: 1px dashed var(--ink); background: var(--surface); cursor: pointer; font-size: 15px; padding: 14px; text-align: center; place-content: center; }
.subir:hover { background: var(--tint); }
.subir input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.subir small { font-weight: 400; color: var(--muted); font-size: 13px; }
.subir:focus-within { outline: 2px solid var(--lima); outline-offset: 2px; }
.adjuntos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.adjuntos > div { position: relative; width: 76px; height: 76px; background: var(--line); overflow: hidden; display: grid; place-items: center; font-family: var(--mono); font-size: 11px; text-align: center; padding: 4px; word-break: break-all; }
.adjuntos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.adjuntos button { position: absolute; top: 0; right: 0; width: 28px; height: 28px; border: none; background: var(--negro); color: #fff; cursor: pointer; font-size: 15px; z-index: 1; }
.trampa { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { font-size: 14px; color: #b42318; font-weight: 600; }
:root[data-theme="dark"] .form-error { color: #ff8a7a; }
.form .acciones { margin-top: 0; }
.gracias { padding: 12px 0; }
.gracias-t { margin-top: 12px; font-size: clamp(26px, 2.6vw, 38px); font-weight: 800; font-stretch: 112%; line-height: 1.05; }
.gracias .sec-p { margin-top: 16px; max-width: 520px; }
.datos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px; }
.datos a, .datos p:not(.eti) { font-size: 17px; font-weight: 600; }
.datos .ft-red { margin-top: 8px; }

/* ── FAQ ── */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } .faq-lado { position: sticky; top: 112px; } }
.faq-lado .sec-p { margin: 20px 0 28px; }
.faq { border-top: 2px solid var(--ink); min-width: 0; }
.faq-i { position: relative; border-bottom: 1px solid var(--line2); transition: background .4s ease; }
.faq-i::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--lima); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.faq-i:hover { background: var(--tint2); }
.faq-i:hover::after { transform: scaleX(.25); }
.faq-i[open] { background: var(--tint); }
.faq-i[open]::after { transform: scaleX(1); }
.faq-i summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; font-size: clamp(17px, 1.4vw, 21px); font-weight: 700; min-height: 64px; list-style: none; }
.faq-i summary::-webkit-details-marker { display: none; }
.faq-q { display: flex; align-items: center; }
/* El punto no ocupa lugar cerrado: así las preguntas quedan alineadas con la línea de arriba */
.faq-pt { width: 0; height: 10px; margin-right: 0; background: var(--lima); flex-shrink: 0; transform: scale(0); transition: transform .4s var(--ease), width .4s var(--ease), margin .4s var(--ease); }
.faq-i:hover .faq-pt { width: 10px; margin-right: 14px; transform: scale(.6); }
.faq-i[open] .faq-pt { width: 10px; margin-right: 14px; transform: scale(1); }
.faq-ic { width: 44px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 400; border: 1px solid var(--ink); transition: background .3s, border-color .3s, color .3s; }
.faq-ic span { display: block; line-height: 1; transition: transform .45s var(--ease); }
.faq-i:hover .faq-ic { background: var(--btn); border-color: var(--btn); color: var(--btn-t); }
.faq-i:hover .faq-ic span { transform: rotate(90deg); }
.faq-i[open] .faq-ic { background: var(--lima); border-color: var(--lima); color: var(--negro); }
.faq-i[open] .faq-ic span { transform: rotate(45deg); }
/* Página de preguntas: ocupa todo el ancho; en pantallas grandes, dos columnas */
@media (min-width: 1100px) {
  .faq-sola .faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(40px, 5vw, 88px); align-items: start; }
}
.faq-pie { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }
.faq-pie .sec-p { max-width: none; }
.faq-a { padding: 0 64px 26px 24px; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 720px; }
.faq-a p + p { margin-top: 10px; }
@media (max-width: 600px) { .faq-a { padding-right: 8px; } }

/* ── CTA final ── */
.cta { position: relative; background: var(--negro); color: #fff; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.cta-txt { position: relative; padding: clamp(56px, 8vw, 120px) var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.cta-txt .t-lg { font-stretch: 118%; max-width: 700px; }
.cta-redes { margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid rgba(255,255,255,.16); padding-top: 22px; }
.cta-redes p { font-size: 15px; color: var(--claro2); margin-bottom: 12px; }
.cta-redes div { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.cta-redes a { font-size: 18px; font-weight: 700; padding: 6px 0; border-bottom: 1px solid var(--lima); }
.cta-redes a:hover { color: var(--lima); }
.cta-foto { min-height: 360px; background: var(--musgo); position: relative; }
.cta-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; display: block; }

/* ── Pie ── */
.pasto { height: clamp(64px, 8vw, 110px); overflow: hidden; line-height: 0; margin-bottom: -1px; background: var(--bg); }
.pasto svg { display: block; width: 100%; height: 100%; }
.pasto-osc { background: var(--negro); }
@keyframes rcSway { 0% { transform: rotate(-3deg); } 100% { transform: rotate(4deg); } }
@keyframes rcGrow { 0% { transform: scaleY(0); } 70% { transform: scaleY(1.06); } 100% { transform: scaleY(1); } }
.ft { background: var(--surface); padding: clamp(48px, 6vw, 80px) 0 96px; }
@media (min-width: 860px) { .ft { padding-bottom: 40px; } }
.ft-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 40px; }
.ft-logo { height: 64px; width: auto; display: block; filter: var(--logo-f); }
.ft-txt { margin-top: 20px; font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 280px; }
.ft-col { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.ft-col a:hover { color: var(--accent); }
.ft-col .mono { font-size: 15px; }
.ft-dato { color: var(--muted); }
.ft-red { display: flex; align-items: center; gap: 12px; min-height: 36px; }
.ft-red .ic { opacity: .85; }
.ft-legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.ft-legal a { color: var(--ink); font-weight: 600; }
.ft-legal a:hover { color: var(--accent); }

/* WhatsApp flotante (escritorio): una barra chica, no el círculo gigante */
.wa-flot { position: fixed; right: 24px; bottom: 24px; z-index: 45; display: none; align-items: stretch; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: opacity .3s, transform .3s var(--ease); }
.wa-flot.oculto { opacity: 0; transform: translateY(16px); pointer-events: none; }
.wa-btn { display: flex; align-items: center; gap: 10px; background: var(--negro); color: #fff; padding: 0 16px 0 14px; min-height: 50px; font-weight: 700; font-size: 14px; border-left: 4px solid var(--lima); transition: background .25s; }
.wa-btn .ic { color: var(--lima); }
.wa-btn:hover { background: #1d2a19; }
.wa-mas { width: 44px; border: none; border-left: 1px solid rgba(255,255,255,.15); background: var(--negro); color: var(--lima); cursor: pointer; font-size: 14px; }
.wa-mas:hover { background: #1d2a19; }
.wa-mas[aria-expanded="true"] { background: var(--lima); color: var(--negro); }
.wa-menu { position: absolute; right: 0; bottom: calc(100% + 10px); width: 270px; background: var(--surface); color: var(--ink); box-shadow: 0 12px 40px rgba(0,0,0,.25); border-top: 3px solid var(--lima); }
.wa-menu[hidden] { display: none; }
.wa-menu p { padding: 12px 18px; font-size: 14px; font-weight: 700; border-bottom: 1px solid var(--surface2); }
.wa-menu a { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--surface2); font-size: 16px; min-height: 50px; }
.wa-menu a:hover { background: var(--tint); }
.wa-menu .ic { width: 18px; height: 18px; opacity: .7; }
@media (min-width: 860px) { .wa-flot { display: flex; } }

/* Barra inferior (celu): WhatsApp + Cotizar */
.barra { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr; background: var(--negro); border-top: 1px solid rgba(255,255,255,.14); padding-bottom: env(safe-area-inset-bottom); transition: transform .3s var(--ease); }
.barra a { min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; font-weight: 700; font-size: 15px; }
.barra .ic { width: 18px; height: 18px; color: var(--lima); }
.barra .barra-cot { background: var(--lima); color: var(--negro); }
.barra.oculto { transform: translateY(110%); }
@media (min-width: 860px) { .barra { display: none; } }

/* ── Lightbox ── */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(6,8,6,.97); color: #fff; display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.lb[hidden] { display: none; }
.lb-escena { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; min-height: 0; padding: clamp(12px, 3vw, 48px); touch-action: pan-y pinch-zoom; }
.lb-escena img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; transition: transform .35s var(--ease), opacity .2s; cursor: zoom-in; }
.lb-escena img.zoom { transform: scale(1.6); cursor: zoom-out; }
.lb-eti { position: absolute; top: 20px; left: 20px; background: var(--lima); color: var(--negro); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; }
.lb-flecha { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border: none; background: var(--negro); color: #fff; font-size: 24px; cursor: pointer; }
.lb-flecha:hover { background: var(--lima); color: var(--negro); }
.lb-ant { left: 12px; } .lb-sig { right: 12px; }
.lb-puntos { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.lb-puntos span { width: 24px; height: 3px; background: rgba(255,255,255,.35); display: block; }
.lb-puntos span.on { background: var(--lima); }
.lb-info { background: var(--negro); padding: clamp(20px, 2.6vw, 36px); overflow: auto; display: flex; flex-direction: column; gap: 16px; border-top: 1px solid rgba(255,255,255,.1); max-height: 46vh; }
.lb-cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.lb-cab p { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--lima); text-transform: uppercase; }
.lb-cerrar { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; font-size: 20px; cursor: pointer; flex-shrink: 0; }
.lb-cerrar:hover { border-color: var(--lima); color: var(--lima); }
.lb-t { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.05; font-weight: 800; font-stretch: 112%; }
.lb-d { font-size: 16px; line-height: 1.55; color: #C9CFC4; }
.lb-info .acciones { margin-top: auto; padding-top: 8px; }
.lb-info .btn { flex: 1 1 200px; }
@media (min-width: 860px) {
  .lb { grid-template-columns: minmax(0, 1fr) 380px; grid-template-rows: 1fr; }
  .lb-info { max-height: none; border-top: none; border-left: 1px solid rgba(255,255,255,.1); }
}

/* Movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js-anim [data-revela], .js-anim [data-costura] { opacity: 1 !important; transform: none !important; }
}
.con-lb .wa-flot, .con-lb .barra { display: none; }

/* Visor de muestras en escritorio: foto, miniaturas y datos entran en una sola pantalla */
@media (min-width: 900px) {
  #muestras { scroll-margin-top: calc(var(--hd-h) + 8px); }
  .visor-tabs { margin-bottom: 24px; }
  .visor-panel { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); }
  .visor-grande { aspect-ratio: auto; height: min(calc(100vh - var(--hd-h) - 210px), 600px); min-height: 340px; }
  .visor-minis button { width: 60px; height: 60px; }
  .visor-n { font-size: clamp(26px, 2.2vw, 32px); }
  .visor-datos .specs { margin-top: 10px; }
  .visor-datos .specs > div { padding: 11px 0; }
  .visor-datos .specs dd { font-size: 16px; }
  .visor-datos .nota { margin-top: 14px; font-size: 14px; }
  .visor-datos .acciones { margin-top: 18px; }
}

/* ───────────── Celular: menos verticalidad ───────────── */
@media (max-width: 639px) {
  .sec { padding: 44px 0; }
  .sec-pegada { padding-top: 0; }
  .sec-cab { margin-bottom: 22px; gap: 10px; }
  .t-xl { font-size: 34px; line-height: .98; }
  .t-lg { font-size: 30px; line-height: 1; }
  .t-md { font-size: 26px; }
  .lead { font-size: 16px; margin-top: 12px; }
  .sec-p { font-size: 15px; }
  .eyebrow { margin-bottom: 10px; font-size: 11px; }
  .acciones { margin-top: 18px; gap: 10px; }
  .btn-lg { min-height: 48px; padding: 12px 18px; }
  .costura-tinta { margin-bottom: 18px; }
  .intro { padding: 24px 0 22px; }
  .intro.oscuro { padding-bottom: 16px; }
  .migas ol { margin-bottom: 14px; }
  .saltos { padding-top: 10px; gap: 0 18px; }
  .saltos a { font-size: 15px; }
  .dos, .pila { gap: 22px; }

  /* Hero */
  .hero-ba { height: 54svh; min-height: 320px; }
  .ba-eti { top: 12px; font-size: 11px; padding: 5px 8px; }
  .ba-mango { width: 44px; height: 44px; }
  .hero-panel { padding: 22px 16px 28px; }
  .costura-corta { margin-bottom: 14px; }
  .hero-t { font-size: 32px; }
  .hero-p { font-size: 15px; margin-top: 12px; }
  .hero .acciones { display: grid; grid-template-columns: 1fr 1fr; }
  .hero .acciones .btn { padding: 12px 10px; font-size: 14px; }
  .enlace-wa { margin-top: 16px; font-size: 14px; }

  /* Aplicaciones y destacados: carrusel más bajo */
  .app { flex-basis: 72%; aspect-ratio: 4 / 5; }
  .app-txt { padding: 10px 12px 12px; }
  .app-t { font-size: 17px; }
  .apps-mas { margin-top: 14px; }
  .lista-flecha a { padding: 12px 0; }
  .lf-t { font-size: 16px; }
  #trabajos .proy { flex-basis: 74%; }
  #trabajos .proy-foto { aspect-ratio: 4 / 3 !important; }
  .proy-pie { padding-top: 10px; gap: 10px; }
  .proy-t { font-size: 15px; }
  .proy-c { font-size: 10px; }

  /* Canchas */
  .cancha-grid { margin-top: 22px; gap: 12px; }
  .cancha-foto { min-height: 0; }
  .cancha-foto img { aspect-ratio: 16 / 10; }
  .cancha-foto figcaption { left: 8px; bottom: 8px; font-size: 10px; }
  .precio { padding: 20px 16px; gap: 16px; }
  .precio-alt { font-size: 26px; }
  .precio-v { padding-top: 14px; }
  .precio-gs { font-size: 32px; }
  .precio .acciones { display: grid; grid-template-columns: 1fr 1fr; }
  .franja { margin-top: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .franja li { padding: 12px 10px; font-size: 14px; }
  .franja-l { margin-bottom: 8px; }

  /* Residencial y piscinas: una sola foto grande, la otra sale */
  #residencial .pila .foto { display: none; }
  .piscina img { aspect-ratio: 4 / 5; }
  .piscina figcaption { right: 0; padding: 14px 16px; }
  .piscina-t { font-size: 20px; }
  .foto img { aspect-ratio: 16 / 10; }

  /* Comercial */
  .segmentos { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .segmentos li { padding: 10px 0; font-size: 16px; }
  .segmentos li span:last-child { display: none; }
  #comercial .lead { margin-bottom: 16px; }

  /* Proyectos: dos columnas, la primera de ancho completo */
  .filtros { gap: 0 16px; margin-bottom: 16px; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .filtros button { white-space: nowrap; font-size: 15px; min-height: 44px; }
  .masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
  .masonry .proy-foto { aspect-ratio: 1 / 1 !important; }
  .masonry .proy:first-child { grid-column: 1 / -1; }
  .masonry .proy:first-child .proy-foto { aspect-ratio: 16 / 10 !important; }
  .masonry .proy-pie { flex-direction: column; gap: 2px; }
  .masonry .proy-c { text-align: left; }
  .proy-det { padding-top: 20px; }
  .proy-det-grid { margin-top: 18px; }
  .ba-proy { aspect-ratio: 1 / 1; }
  .galeria { gap: 8px; }
  .gal-grande { aspect-ratio: 4 / 3; }

  /* Muestras */
  .visor-tabs { margin-bottom: 14px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .visor-tabs button { font-size: 16px; white-space: nowrap; margin-right: 18px; }
  .visor-panel { gap: 18px; }
  .visor-grande { aspect-ratio: 1 / 1; }
  .visor-minis button { width: 56px; height: 56px; }
  .visor-n { font-size: 24px; }
  .specs { margin-top: 8px; }
  .specs > div { padding: 10px 0; grid-template-columns: 112px 1fr; gap: 10px; }
  .specs dd { font-size: 15px; }
  .nota { font-size: 13px; margin-top: 12px; }
  .prod { padding: 16px 0; gap: 6px; }

  /* Cotizador */
  .recorrido { margin-top: 20px; }
  .rec-i { padding-bottom: 14px; }
  .rec-t { font-size: 17px; }
  .rec-d { font-size: 14px; }
  .lineas { padding-top: 14px; }
  .lineas > div { gap: 4px 18px; }
  .form-caja { padding: 18px 14px; margin: 0 -2px; }
  .form, .campos2 { gap: 14px; }
  .form input:not([type="radio"]):not([type="file"]) { min-height: 50px; }
  .tipo span { min-height: 42px; padding: 0 12px; font-size: 14px; }
  .form .subir { min-height: 70px; }
  .gracias-t { font-size: 24px; }
  .datos { gap: 18px; grid-template-columns: 1fr 1fr; }

  /* FAQ */
  .faq-grid { gap: 18px; }
  .faq-lado .sec-p { margin: 12px 0 16px; }
  .faq-i summary { padding: 14px 0; min-height: 56px; font-size: 16px; gap: 12px; }
  .faq-ic { width: 36px; height: 36px; font-size: 20px; }
  .faq-a { padding: 0 8px 16px 24px; font-size: 15px; }
  .faq-pie { margin-top: 20px; }

  /* CTA y pie */
  .cta-txt { padding: 40px 16px; }
  .cta-txt .t-lg { font-size: 30px; }
  .cta-redes { margin-top: 24px; padding-top: 14px; }
  .cta-redes a { font-size: 16px; }
  .cta-foto { min-height: 0; aspect-ratio: 16 / 9; }
  .pasto { height: 48px; }
  .ft { padding-top: 32px; }
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .ft-grid > div:first-child { grid-column: 1 / -1; }
  .ft-logo { height: 48px; }
  .ft-txt { margin-top: 10px; }
  .ft-col { gap: 6px; font-size: 14px; }
  .ft-col .mono { font-size: 14px; }
  .ft-legal { margin-top: 24px; }
}
/* Carruseles: que el snap respete el margen lateral */
.apps-fotos { scroll-padding-inline: var(--gutter); }
@media (max-width: 639px) { #trabajos .proy-grid { scroll-padding-inline: var(--gutter); } }
@media (max-width: 639px) {
  .cta .acciones, .proy-det-info .acciones { display: grid; grid-template-columns: 1fr 1fr; }
  .cta .acciones .btn, .precio .acciones .btn, .hero .acciones .btn { padding: 12px 8px; font-size: 14px; }
  .ft-grid > .ft-col:last-child:has(.ft-red) { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 22px; align-items: center; }
  .ft-grid > .ft-col:last-child:has(.ft-red) .eti { width: 100%; }
}
/* Celular: en contacto, el formulario va primero (después del título) */
@media (max-width: 639px) {
  .dos-form { display: flex; flex-direction: column; gap: 0; }
  .dos-form > div:first-child { display: contents; }
  .dos-form > div:first-child > .t-lg { order: 1; }
  .dos-form > div:first-child > .lead { order: 2; margin-bottom: 18px; }
  .dos-form > .form-caja { order: 3; }
  .dos-form > div:first-child > .recorrido { order: 4; margin-top: 28px; }
  .dos-form > div:first-child > .lineas { order: 5; }
}

/* ── Galería ── */
.galeria-web { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
@media (min-width: 760px) { .galeria-web { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; } }
@media (min-width: 1200px) { .galeria-web { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gw-i { display: block; cursor: zoom-in; }
.gw-i[hidden] { display: none; }
.gw-foto { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--musgo); }
.gw-foto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.gw-i:hover .gw-foto img { transform: scale(1.04); }
.gw-t { display: block; padding-top: 10px; font-size: 15px; font-weight: 700; font-stretch: 108%; line-height: 1.25; }
.gw-video { cursor: pointer; }
.gw-play { position: absolute; left: 12px; bottom: 12px; width: 44px; height: 44px; background: var(--lima); display: grid; place-items: center; }
.gw-play::before { content: ""; border-left: 14px solid var(--negro); border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.gw-video .gw-foto:not(:has(img))::after { content: "Video"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.filtros-claro { border-bottom-color: var(--line2); }
.filtros-claro button { color: var(--muted2); }
.filtros-claro button:hover, .filtros-claro button[aria-pressed="true"] { color: var(--ink); }
.vacio-claro { color: var(--muted); }
@media (max-width: 639px) { .gw-t { font-size: 14px; padding-top: 8px; } .gw-play { width: 36px; height: 36px; left: 8px; bottom: 8px; } }

/* Videos en el visor de muestras y en el lightbox */
.visor-grande video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.visor-grande video.oculta { display: none; }
.visor-minis .mini-video { position: relative; }
.visor-minis .mini-video::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-40%, -50%); border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; filter: drop-shadow(0 1px 3px rgba(0,0,0,.6)); }
.lb-escena video { max-width: 100%; max-height: 100%; display: block; background: #000; }
.lb-escena video[hidden], .lb-escena img[hidden] { display: none; }
