/* ════════════════════════════════════════════════════════════
   Reformas Hoy · v2 minimalista
   Blanco, gris claro y negro; un solo acento terracota (el
   ladrillo visto de sus baños). Sin iconos decorativos.
   ════════════════════════════════════════════════════════════ */

@font-face {
  font-family: Inter; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fuentes/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --negro: #1d1d1f;
  --gris: #6e6e73;
  --gris2: #86868b;
  --linea: #d2d2d7;
  --linea2: #e8e8ed;
  --fondo: #f5f5f7;
  --blanco: #fff;
  --acento: #b4502b;
  --wa: #25d366;
  --wa-boton: #128c4a;
  --estrella: #f2a516;
  --error: #c62828;
  --e: cubic-bezier(.2, .7, .1, 1);
  --e2: cubic-bezier(.65, 0, .35, 1);
  --cab: 52px;
  --env: 1200px;
  --gut: clamp(20px, 5vw, 44px);
  --lado: max(var(--gut), calc((100vw - var(--env)) / 2));
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--cab) + 8px); }
body {
  margin: 0; background: var(--blanco); color: var(--negro);
  font: 400 17px/1.47 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -.022em; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, figure, blockquote, fieldset, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 700; color: var(--negro); text-wrap: balance; }
p { text-wrap: pretty; }
b, strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--acento); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--negro); color: #fff; }

.env { width: 100%; max-width: calc(var(--env) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.oculto { position: absolute; left: -9999px; }
.saltar { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--negro); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.saltar:focus { top: 12px; }

/* dato pendiente de confirmar por el cliente */
.pend { display: inline; padding: 1px 6px; border-radius: 6px; background: #fff4d6; color: #7a5200; font-size: .72em; font-weight: 600; letter-spacing: 0; box-shadow: inset 0 0 0 1px #f0d48a; -webkit-box-decoration-break: clone; box-decoration-break: clone; vertical-align: .1em; }

/* ─────────── Botones ─────────── */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border-radius: 999px;
  font-size: 16px; font-weight: 500; line-height: 1.1; letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
  transition: background-color .3s, color .3s, transform .3s var(--e);
}
.pill:active { transform: scale(.97); }
.pill-gr { min-height: 50px; padding: 0 26px; font-size: 17px; }
.pill-peq { min-height: 34px; padding: 0 15px; font-size: 14px; }
.pill-negro { background: var(--negro); color: #fff; }
.pill-negro:hover { background: #3a3a3c; }
.pill-gris { background: var(--linea2); color: var(--negro); }
.pill-gris:hover { background: #dcdce1; }
.pill-blanco { background: #fff; color: var(--negro); }
.pill-blanco:hover { background: #e8e8ed; }
.pill-wa { background: var(--wa-boton); color: #fff; }
.pill-wa:hover { background: #0e7a40; }
.wa-logo { width: 18px; height: 18px; flex: none; }
.pill-peq .wa-logo { width: 15px; height: 15px; }

.enlace { color: var(--acento); text-decoration: none; font-weight: 400; background: none; cursor: pointer; }
.enlace::after { content: "›"; display: inline-block; margin-left: .28em; transition: transform .3s var(--e); }
.enlace:hover { text-decoration: underline; text-underline-offset: 3px; }
.enlace:hover::after { transform: translateX(2px); }
.enlace-claro { color: #fff; }

.estrellas { display: inline-flex; gap: 2px; color: var(--estrella); }
.estrellas svg { width: 13px; height: 13px; }
.estrellas-gr svg { width: 22px; height: 22px; }

/* ─────────── Cabecera ─────────── */
.cab {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--cab);
  background: rgba(255, 255, 255, .97); transition: box-shadow .3s, transform .5s var(--e);
}
.cab.con-borde { box-shadow: 0 1px 0 rgba(0, 0, 0, .08); }
.cab.oculta { transform: translateY(-100%); }
.cab-in { height: 100%; display: flex; align-items: center; gap: 18px; max-width: calc(var(--env) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.marca { font-size: 18px; font-weight: 700; letter-spacing: -.035em; color: var(--negro); text-decoration: none; margin-right: auto; white-space: nowrap; }
.nav { display: none; }
.cab-acc { display: flex; align-items: center; gap: 14px; }
.cab-tel { font-size: 14px; text-decoration: none; color: var(--negro); }
.cab-tel:hover { color: var(--acento); }
.cab-acc .pill span { display: none; }
.cab-acc .pill { padding: 0 10px; }
.hamb { position: relative; width: 36px; height: 36px; margin-right: -8px; }
.hamb i { position: absolute; left: 9px; width: 18px; height: 1.5px; border-radius: 2px; background: var(--negro); transition: transform .4s var(--e), top .4s var(--e); }
.hamb i:first-child { top: 13px; } .hamb i:last-child { top: 21px; }
.hamb.abierta i:first-child { top: 17px; transform: rotate(45deg); }
.hamb.abierta i:last-child { top: 17px; transform: rotate(-45deg); }
@media (min-width: 420px) { .cab-acc .pill span { display: inline; } .cab-acc .pill { padding: 0 14px; } }
@media (min-width: 1100px) {
  .cab { background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px); }
  .marca { margin-right: 0; }
  .nav { display: flex; gap: 26px; margin: 0 auto; }
  .nav a { font-size: 13px; color: var(--negro); opacity: .8; text-decoration: none; transition: opacity .2s; }
  .nav a:hover, .nav a.activo { opacity: 1; }
  .nav a.activo { color: var(--acento); }
  #abrir-menu { display: none; }
}

.menu-movil { position: fixed; inset: 0; z-index: 60; background: #fff; display: flex; flex-direction: column; padding: 0 var(--gut) calc(24px + env(safe-area-inset-bottom)); animation: aparece .35s var(--e); }
@keyframes aparece { from { opacity: 0; } }
.menu-movil-cab { height: var(--cab); display: flex; align-items: center; justify-content: space-between; flex: none; }
.menu-movil-nav { display: flex; flex-direction: column; margin-top: 18px; overflow-y: auto; }
.menu-movil-nav a { font-size: 30px; font-weight: 600; letter-spacing: -.035em; color: var(--negro); text-decoration: none; padding: 8px 0; animation: subeMenu .55s var(--e) backwards; }
.menu-movil-nav a:nth-child(2) { animation-delay: .03s; } .menu-movil-nav a:nth-child(3) { animation-delay: .06s; }
.menu-movil-nav a:nth-child(4) { animation-delay: .09s; } .menu-movil-nav a:nth-child(5) { animation-delay: .12s; }
.menu-movil-nav a:nth-child(6) { animation-delay: .15s; } .menu-movil-nav a:nth-child(7) { animation-delay: .18s; }
@keyframes subeMenu { from { opacity: 0; transform: translateY(10px); } }
.menu-movil-pie { margin-top: auto; padding-top: 20px; display: grid; gap: 10px; }

/* ─────────── Hero: boceto a pantalla completa → reforma con el scroll ───────────
   Solo se animan opacidad y escala (van por GPU: fluido también en móvil).
   --r (0→1) funde el boceto con la obra terminada; --c (0→1) trae el contacto. Los pone main.js. */
.hero { position: relative; height: 230vh; --r: 0; --c: 0; }
.hero-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #fff; }
.hero-escena { position: absolute; inset: 0; transform: scale(calc(1.05 - .05 * var(--r))); transform-origin: 50% 55%; will-change: transform; }
.hero-escena img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 55%; }
.escena-real { opacity: var(--r); will-change: opacity; }
.js .escena-boceto { animation: bocetoEntra 1.2s var(--e) backwards .1s; }
@keyframes bocetoEntra { from { opacity: 0; transform: scale(1.035); } }
.hero-velo { position: absolute; inset: 0; pointer-events: none; }
.hero-velo::before, .hero-velo::after { content: ""; position: absolute; inset: 0; will-change: opacity; }
.hero-velo::before { opacity: calc(.85 + .15 * var(--r)); background: linear-gradient(180deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .7) 22%, rgba(255, 255, 255, 0) 38%); }
.hero-velo::after { opacity: var(--c); background: linear-gradient(180deg, rgba(255, 255, 255, 0) 44%, rgba(255, 255, 255, .82) 66%, #fff 86%); }
.hero-cab { position: absolute; left: 0; right: 0; top: calc(var(--cab) + clamp(16px, 5vh, 56px)); text-align: center; padding-inline: var(--gut);
  transform: translateY(calc(var(--c) * -12px)) scale(calc(1 - .16 * var(--c))); transform-origin: 50% 0; will-change: transform; }
.hero-nombre { display: block; font-size: clamp(2.9rem, .2rem + 12.6vw, 10rem); line-height: .92; letter-spacing: -.058em; white-space: nowrap; }
.js .hero-nombre { animation: ent 1.1s var(--e) backwards .25s; }
.hero-desliza { position: absolute; left: 50%; bottom: max(28px, env(safe-area-inset-bottom)); margin-left: -1px; opacity: calc(1 - var(--r) * 5); pointer-events: none; }
.hero-desliza i { position: relative; display: block; width: 2px; height: 44px; background: rgba(29, 29, 31, .12); overflow: hidden; border-radius: 2px; }
.hero-desliza i::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 45%; border-radius: 2px; background: var(--negro); animation: desliza 1.6s var(--e2) infinite; }
@keyframes desliza { from { transform: translateY(-100%); } to { transform: translateY(240%); } }
.hero-cta { position: absolute; left: 50%; bottom: max(clamp(22px, 5vh, 56px), env(safe-area-inset-bottom)); width: min(100% - var(--gut) * 2, 780px); text-align: center;
  display: grid; justify-items: center; opacity: var(--c); transform: translate(-50%, calc((1 - var(--c)) * 36px)); pointer-events: none; visibility: hidden; will-change: opacity, transform; }
.hero.cta-activo .hero-cta { pointer-events: auto; }
.hero.cta-visible .hero-cta { visibility: visible; }
.sello { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gris); text-decoration: none; }
.sello b { color: var(--negro); }
.hero-claim { margin-top: 12px; max-width: 21em; font-size: clamp(1.45rem, 1.05rem + 1.6vw, 2.5rem); line-height: 1.1; letter-spacing: -.035em; font-weight: 700; text-wrap: balance; }
.hero-sub { margin-top: 12px; max-width: 34em; color: var(--gris); font-size: clamp(1rem, .96rem + .3vw, 1.2rem); }
.hero-btns { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 559px) {
  .hero-btns { display: grid; grid-template-columns: 1fr 1fr; width: 100%; gap: 10px; }
  .hero-btns .pill-negro { grid-column: 1 / -1; }
  .hero-btns .pill { padding: 0 12px; font-size: 16px; }
  .hero-sub { display: none; }
  .hero-escena img { object-position: 47% 55%; }
  body.en-hero .wa-flotante { opacity: 0; transform: scale(.6); pointer-events: none; }
  .wa-flotante { transition: transform .4s var(--e), opacity .3s; }
}
@media (max-height: 700px) and (min-width: 560px) { .hero-sub { display: none; } }
/* cabecera discreta sobre el hero: sin fondo y sin repetir el nombre */
.cab.sobre-hero { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.cab .marca { transition: opacity .4s; }
.cab.sobre-hero .marca, .cab.sobre-hero .nav { opacity: 0; pointer-events: none; }
.cab .nav { transition: opacity .4s; }
/* sin animaciones: la reforma terminada y el contacto se ven desde el principio */
.hero.quieto { height: auto; --r: 1; --c: 1; }
.hero.quieto .hero-cta { visibility: visible; pointer-events: auto; }
.js .ent { animation: ent 1.1s var(--e) backwards; animation-delay: calc(.1s + var(--d, 0) * .1s); }
@keyframes ent { from { opacity: 0; transform: translateY(24px); } }

/* control segmentado */
.segmento { position: relative; display: inline-flex; padding: 3px; border-radius: 999px; background: var(--linea2); }
.segmento button { position: relative; z-index: 1; min-width: 104px; height: 34px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--gris); transition: color .3s; }
.segmento button[aria-pressed="true"] { color: var(--negro); }
.segmento > i { position: absolute; top: 3px; left: 3px; height: 34px; width: var(--w, 104px); border-radius: 999px; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); transform: translateX(var(--x, 0)); transition: transform .5s var(--e), width .5s var(--e); }

/* ─────────── Secciones ─────────── */
.sec { padding-block: clamp(88px, 12vw, 160px); }
.sec-cab { margin-bottom: clamp(40px, 6vw, 72px); max-width: 860px; }
.sec-cab h2, .proceso h2, .incluye h2, .chat-sec h2, .faq h2 { font-size: clamp(2.5rem, 1.5rem + 3.9vw, 4.6rem); line-height: 1.03; letter-spacing: -.048em; }
.sec-cab p { margin-top: 18px; color: var(--gris); font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); line-height: 1.42; max-width: 36em; }
.sec-cab-centro { text-align: center; margin-inline: auto; }
.sec-cab-centro p { margin-inline: auto; }

.js .rv { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--e), transform 1.1s var(--e); transition-delay: calc(var(--d, 0) * 90ms); }
.js .rv.visto { opacity: 1; transform: none; }
.js .rv-img { opacity: 0; transform: scale(.96); transition: opacity 1s var(--e), transform 1.4s var(--e); }
.js .rv-img.visto { opacity: 1; transform: none; }

/* rejillas de una columna: que nunca crezcan más que la pantalla */
.incluye-in, .chat-in, .proceso-in, .zonas-in, .contacto-in, .razones, .tiles { grid-template-columns: minmax(0, 1fr); }
.incluye-pie .pill { white-space: normal; text-align: center; padding-block: 10px; }

/* ─────────── Opiniones ─────────── */
.opiniones { background: var(--fondo); overflow: hidden; }
.opi-cab { text-align: center; display: grid; justify-items: center; }
.opi-num { display: block; font-size: clamp(6rem, 3rem + 12vw, 11rem); font-weight: 700; line-height: .9; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.opiniones .estrellas-gr { margin-top: 18px; }
.opi-cab h2 { margin-top: 22px; font-size: clamp(1.8rem, 1.3rem + 2vw, 3rem); letter-spacing: -.04em; line-height: 1.08; }
.opi-sub { margin-top: 10px; color: var(--gris); font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); }
.opi-acc { margin-top: 28px; display: flex; gap: 24px; align-items: center; justify-content: center; flex-wrap: wrap; }
.resenas-caja { margin-top: clamp(48px, 7vw, 80px); }
.resenas {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(84vw, 460px); gap: 20px; align-items: stretch;
  padding: 4px var(--lado) 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--lado);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.resenas::-webkit-scrollbar { display: none; }
.resena {
  scroll-snap-align: start; background: #fff; border-radius: 28px; padding: clamp(28px, 4vw, 40px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 340px;
}
.resena-txt { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); line-height: 1.38; font-weight: 600; letter-spacing: -.025em; }
.resena footer { display: flex; gap: 12px; align-items: center; }
.avatar { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--negro); color: #fff; font-size: 15px; font-weight: 600; }
.resena b { display: block; font-size: 15px; }
.origen { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gris); }
.origen svg { width: 13px; height: 13px; }
.carril-ctrl { margin-top: 28px; display: flex; justify-content: center; align-items: center; gap: 12px; }
.puntos { display: flex; gap: 10px; align-items: center; padding: 13px 18px; border-radius: 999px; background: var(--linea2); }
.puntos button { width: 8px; height: 8px; border-radius: 99px; background: var(--gris2); opacity: .55; transition: width .5s var(--e), opacity .3s, background .3s; position: relative; }
.puntos button::before { content: ""; position: absolute; inset: -10px -5px; }
.puntos button[aria-current="true"] { width: 30px; opacity: 1; background: var(--negro); }
.reproducir { position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--linea2); transition: background .25s; }
.reproducir:hover { background: #dcdce1; }
.reproducir i, .reproducir i::after { position: absolute; top: 12px; width: 3px; height: 12px; border-radius: 2px; background: var(--negro); }
.reproducir i { left: 13px; }
.reproducir i::after { content: ""; top: 0; left: 6px; }
.reproducir[aria-pressed="true"] i { left: 14px; top: 11px; width: 0; height: 0; border-radius: 0; background: none; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent var(--negro); }
.reproducir[aria-pressed="true"] i::after { display: none; }

/* ─────────── Servicios (mosaico) ─────────── */
.tiles { display: grid; gap: 14px; }
.tile { position: relative; overflow: hidden; border-radius: 28px; min-height: 440px; background: var(--fondo); isolation: isolate; }
.tile-xl { min-height: 520px; }
.tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(var(--s, 1)); transition: transform 1.6s var(--e); }
.tile:hover > img { transform: scale(calc(var(--s, 1) * 1.035)); }
.tile:has(> img)::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .64) 0%, rgba(0, 0, 0, .3) 36%, rgba(0, 0, 0, 0) 62%); }
.tile-txt { padding: clamp(26px, 3.4vw, 40px); color: rgba(255, 255, 255, .86); display: grid; gap: 8px; justify-items: start; }
.tile h3 { color: #fff; font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.2rem); line-height: 1.08; letter-spacing: -.035em; max-width: 14em; }
.tile-xl h3 { font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); }
.tile p { font-size: 17px; max-width: 28em; }
.tile .enlace { margin-top: 6px; font-size: 17px; }
.tile-claro, .tile-oscuro { display: flex; align-items: flex-end; min-height: 300px; }
.tile-claro .tile-txt { color: var(--gris); }
.tile-claro h3 { color: var(--negro); }
.tile-oscuro { background: var(--negro); }
.tile-oscuro .tile-txt { color: #a1a1a6; }
.tile-oscuro .pend { background: rgba(255, 214, 102, .14); color: #ffd98a; box-shadow: inset 0 0 0 1px rgba(255, 214, 102, .4); }
@media (min-width: 900px) {
  .tiles { grid-template-columns: repeat(6, 1fr); gap: 16px; }
  .tile { grid-column: span 2; min-height: 460px; }
  .tile-xl { grid-column: span 4; min-height: 600px; }
  .tiles > .tile:nth-child(2) { min-height: 600px; }
  .tile-claro, .tile-oscuro { grid-column: span 3; min-height: 300px; }
}

/* ─────────── Qué incluye ─────────── */
.incluye { padding-top: 0; }
.incluye-in { display: grid; gap: 40px; }
.incluye-txt p { margin-top: 18px; color: var(--gris); font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); line-height: 1.42; max-width: 30em; }
.incluye-txt .incluye-ayuda { font-size: 17px; color: var(--negro); }
.incluye-panel { background: var(--fondo); border-radius: 28px; padding: clamp(14px, 2.4vw, 26px); }
.acabados { display: grid; gap: 2px; }
.acabados button {
  width: 100%; display: flex; align-items: center; gap: 16px; padding: 10px 12px; border-radius: 16px; text-align: left;
  font-size: 17px; font-weight: 500; transition: background .25s, color .3s;
}
.acabados button:hover { background: rgba(0, 0, 0, .04); }
.disco { width: 44px; height: 44px; flex: none; border-radius: 50%; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08), 0 0 0 3px var(--fondo), 0 0 0 4px var(--negro); transition: filter .4s, opacity .4s, box-shadow .4s; }
.acabados button::after {
  content: ""; margin-left: auto; width: 22px; height: 22px; flex: none; border-radius: 50%; background-color: var(--negro);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 12.5 3.5 3.5 7.5-8'/%3E%3C/svg%3E");
  background-size: 15px; background-position: center; background-repeat: no-repeat; transition: background-color .3s, box-shadow .3s, transform .4s var(--e);
}
.acabados button[aria-pressed="false"] { color: var(--gris2); }
.acabados button[aria-pressed="false"] .disco { filter: grayscale(1); opacity: .4; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08), 0 0 0 3px transparent, 0 0 0 4px transparent; }
.acabados button[aria-pressed="false"]::after { background-color: transparent; background-image: none; box-shadow: inset 0 0 0 1.5px var(--linea); transform: scale(.92); }
.incluye-pie { margin-top: 16px; padding: 18px 12px 6px; border-top: 1px solid var(--linea); display: grid; gap: 14px; }
.incluye-pie > p { color: var(--gris); }
.incluye-pie b { color: var(--negro); }
.incluye-pie div { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
@media (min-width: 960px) {
  .incluye-in { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 72px; align-items: center; }
}

/* ─────────── Cómo trabajamos (oscuro, el paso activo se ilumina) ─────────── */
.proceso { background: #000; color: #f5f5f7; }
.proceso h2 { color: #f5f5f7; }
.proceso-in { display: grid; gap: 40px; }
.proceso-cab > p:not(.proceso-cuenta) { margin-top: 18px; color: #86868b; font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); max-width: 22em; }
.proceso-cuenta { display: none; }
.paso { padding: 26px 0; border-top: 1px solid #2c2c2e; opacity: .32; transition: opacity .6s var(--e); }
.paso.activo { opacity: 1; }
.paso h3 { color: #f5f5f7; font-size: clamp(1.7rem, 1.2rem + 2vw, 2.9rem); letter-spacing: -.042em; line-height: 1.06; }
.paso p { margin-top: 10px; color: #a1a1a6; font-size: clamp(1.02rem, .98rem + .3vw, 1.2rem); max-width: 30em; }
.paso .pend { background: rgba(255, 214, 102, .14); color: #ffd98a; box-shadow: inset 0 0 0 1px rgba(255, 214, 102, .4); }
@media (min-width: 960px) {
  .proceso-in { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; align-items: start; }
  .proceso-cab { position: sticky; top: calc(var(--cab) + 64px); }
  .proceso-cuenta { display: block; margin-top: 56px; font-size: 15px; color: #6e6e73; font-variant-numeric: tabular-nums; }
  .proceso-cuenta span { display: inline-block; font-size: 120px; line-height: .9; font-weight: 700; letter-spacing: -.06em; color: #f5f5f7; margin-right: 6px; vertical-align: -6px; }
  .paso { padding: 52px 0; }
}

/* ─────────── WhatsApp ─────────── */
.chat-sec { background: var(--fondo); overflow: hidden; }
.chat-in { display: grid; gap: 52px; }
.chat-txt > p { margin-top: 18px; color: var(--gris); font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); max-width: 26em; }
.chat-op { margin-top: 34px; display: grid; gap: 12px; justify-items: start; }
.chat-etq { font-size: 14px; color: var(--gris); }
.chat-op .chat-etq:not(:first-child) { margin-top: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { height: 40px; padding: 0 18px; border-radius: 999px; background: #fff; font-size: 15px; box-shadow: inset 0 0 0 1px var(--linea); transition: background .25s, color .25s, box-shadow .25s; }
.chips button:hover { box-shadow: inset 0 0 0 1px var(--negro); }
.chips button[aria-pressed="true"] { background: var(--negro); color: #fff; box-shadow: none; }
.selector { position: relative; width: min(100%, 340px); }
.selector select {
  width: 100%; height: 46px; padding: 0 44px 0 18px; border-radius: 999px; border: 0; background-color: #fff; box-shadow: inset 0 0 0 1px var(--linea);
  font-size: 16px; appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 18px;
}

.telefono {
  justify-self: center; width: min(100%, 340px); height: 600px; border-radius: 54px; padding: 12px;
  background: #1d1d1f; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .45);
  display: flex; flex-direction: column;
}
.tel-cab { display: flex; align-items: center; gap: 10px; padding: 34px 18px 14px; background: #f7f7f7; border-radius: 42px 42px 0 0; font-size: 13px; color: var(--gris); }
.tel-cab b { display: block; font-size: 15px; color: var(--negro); }
.tel-av { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--negro); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0; }
.tel-chat { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 16px 14px; background: #ece5dd; }
.tel-dia { align-self: center; padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, .85); font-size: 12px; color: var(--gris); }
.burbuja { align-self: flex-end; max-width: 88%; padding: 10px 14px; border-radius: 18px 18px 4px 18px; background: #d9fdd3; font-size: 16px; line-height: 1.38; color: #111; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); min-height: 44px; }
.cursor { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: #111; animation: parpadea 1s steps(1) infinite; }
.pausado .cursor { animation-play-state: paused; }
@keyframes parpadea { 50% { opacity: 0; } }
.tel-enviar {
  display: flex; align-items: center; justify-content: center; gap: 10px; height: 64px; padding-bottom: 6px;
  background: #f7f7f7; border-radius: 0 0 42px 42px; color: var(--wa-boton); font-weight: 600; font-size: 17px; text-decoration: none;
}
.tel-enviar .wa-logo { width: 22px; height: 22px; transition: transform .4s var(--e); }
.tel-enviar:hover .wa-logo { transform: scale(1.12) rotate(-8deg); }
@media (min-width: 960px) {
  .chat-in { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 80px; align-items: center; }
  .telefono { height: 640px; }
}

/* ─────────── Por qué ─────────── */
.razones { display: grid; gap: 14px; }
.razon { border-radius: 28px; background: var(--fondo); padding: clamp(28px, 3.4vw, 40px); display: flex; flex-direction: column; justify-content: flex-end; }
@media (min-width: 900px) { .razon { min-height: 230px; } }
.razon h3 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2.1rem); letter-spacing: -.038em; line-height: 1.08; }
.razon p { margin-top: 10px; color: var(--gris); font-size: 17px; }
.razon-foto { padding: 0; overflow: hidden; justify-content: flex-start; }
.razon-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 62%; }
.razon-foto > div { padding: clamp(26px, 3.2vw, 38px); }
.razon-oscura { background: var(--negro); }
.razon-oscura h3 { color: #fff; }
.razon-oscura .pend { background: rgba(255, 214, 102, .14); color: #ffd98a; box-shadow: inset 0 0 0 1px rgba(255, 214, 102, .4); }
.anos { margin-top: clamp(40px, 6vw, 64px); text-align: center; font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); color: var(--gris); letter-spacing: -.025em; }
.anos b { color: var(--negro); }
@media (min-width: 900px) {
  .razones { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .razon-foto { grid-row: span 2; }
  .razon-oscura { grid-column: 1 / -1; min-height: 200px; }
  .razon-foto img { aspect-ratio: auto; flex: 1; min-height: 0; }
}

/* ─────────── Trabajos (galería horizontal) ─────────── */
.trabajos { overflow: hidden; }
.segmento-filtros { max-width: 100%; overflow-x: auto; scrollbar-width: none; margin-bottom: 30px; }
.segmento-filtros::-webkit-scrollbar { display: none; }
.segmento-filtros button { min-width: 0; flex: none; transition: color .3s, background .3s, box-shadow .3s; }
.segmento-filtros button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.galeria {
  --alto: clamp(300px, 56vw, 540px);
  display: flex; gap: 16px; padding: 4px var(--lado) 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--lado);
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.galeria::-webkit-scrollbar { display: none; }
.obra { flex: none; width: min(86vw, calc(var(--alto) * 1.42)); scroll-snap-align: start; }
.obra-alta { width: min(66vw, calc(var(--alto) * .76)); }
.obra-abrir, .obra .comparar, .obra > .hueco { display: block; width: 100%; height: var(--alto); border-radius: 24px; overflow: hidden; cursor: zoom-in; background: var(--fondo); }
.obra-abrir img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--e); }
.obra-abrir:hover img { transform: scale(1.03); }
.obra figcaption { padding: 14px 4px 0; display: flex; justify-content: space-between; gap: 14px; font-size: 15px; }
.obra figcaption span { color: var(--gris); text-align: right; }
.hueco { display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 8px; cursor: default !important; color: var(--gris); text-align: center; padding: 20px; }
.hueco b { font-size: 24px; letter-spacing: -.03em; color: var(--negro); }
.carril-flechas { margin-top: 26px; display: flex; justify-content: flex-end; gap: 10px; }
.flecha { position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--linea2); transition: background .25s, opacity .25s; }
.flecha:hover { background: #dcdce1; }
.flecha::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border: solid var(--negro); border-width: 0 0 2px 2px; transform: translate(-30%, -50%) rotate(45deg); }
.flecha-sig::before { transform: translate(-70%, -50%) rotate(-135deg); }
.flecha[aria-disabled="true"] { opacity: .4; cursor: default; }

/* comparador antes / después */
.comparar { position: relative; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize !important; }
.comparar-a, .comparar-b { position: absolute; inset: 0; }
.comparar-b { clip-path: inset(0 0 0 var(--p)); }
.comparar .hueco { width: 100%; height: 100%; border-radius: 0; }
.hueco-antes { background: #ececf0; align-items: flex-start !important; padding-left: 8% !important; }
.hueco-despues { background: #fff; align-items: flex-end !important; padding-right: 8% !important; }
.comparar-linea { position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); pointer-events: none; }
.comparar-tirador { position: absolute; top: 50%; left: var(--p); width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; box-shadow: 0 4px 16px rgba(0, 0, 0, .18); cursor: grab; }
.comparar-tirador::before, .comparar-tirador::after { content: ""; position: absolute; top: 50%; margin-top: -5px; border: 5px solid transparent; }
.comparar-tirador::before { left: 9px; border-right: 6px solid var(--negro); border-left: 0; }
.comparar-tirador::after { right: 9px; border-left: 6px solid var(--negro); border-right: 0; }

/* ─────────── Zonas ─────────── */
.zonas { background: var(--fondo); }
.zonas-in { display: grid; gap: 28px; }
.mapa-caja { border-radius: 28px; overflow: hidden; background: #fff; }
.mapa { display: block; width: 100%; height: auto; }
.mapa-rej { stroke: transparent; }
.mapa-anillo { fill: none; stroke: #b0b0b5; stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; }
.mapa-anillo-15 { opacity: .6; }
.mapa-km { font: 500 21px Inter, sans-serif; fill: var(--gris2); }
.zona-d { fill: #ececf0; stroke: #fff; stroke-width: 2.2; cursor: pointer; transition: fill .25s; outline: none; }
.zona-d:hover, .zona-d:focus-visible { fill: #dcdce1; }
.zona-d.sel { fill: var(--negro); }
.zona-m { cursor: pointer; outline: none; }
.zona-m-area { fill: transparent; }
.zona-m circle:not(.zona-m-area) { fill: var(--negro); transition: fill .25s; }
.zona-m text { font: 500 23px Inter, sans-serif; fill: var(--negro); paint-order: stroke; stroke: #fff; stroke-width: 7px; stroke-linejoin: round; }
.zona-m:hover circle:not(.zona-m-area), .zona-m:focus-visible circle:not(.zona-m-area), .zona-m.sel circle:not(.zona-m-area) { fill: var(--acento); }
.zona-m.sel text { fill: var(--acento); font-weight: 700; }
.mapa-ofi circle { fill: var(--acento); }
.mapa-ofi .mapa-ofi-c { fill: #fff; }
.mapa-ofi-pulso { fill: var(--acento) !important; opacity: .18; transform-box: fill-box; transform-origin: center; animation: pulso 2.8s var(--e) infinite; }
.pausado .mapa-ofi-pulso { animation-play-state: paused; }
@keyframes pulso { from { transform: scale(.5); opacity: .35; } to { transform: scale(1.7); opacity: 0; } }
.mapa-ofi text { font: 600 22px Inter, sans-serif; fill: var(--negro); paint-order: stroke; stroke: #fff; stroke-width: 7px; }
.mapa-ruta { fill: none; stroke: var(--acento); stroke-width: 3; stroke-dasharray: 2 8; stroke-linecap: round; animation: ruta 1.2s linear infinite; }
.pausado .mapa-ruta { animation-play-state: paused; }
@keyframes ruta { to { stroke-dashoffset: -20; } }
.mapa-sel, .mapa-ofi, .mapa-ruta, .mapa-km, .mapa-anillo { pointer-events: none; }
.mapa-sel rect:not(.sel-fondo) { display: none; }
.mapa-sel .sel-fondo { fill: var(--negro); }
.mapa-sel text { font: 600 21px Inter, sans-serif; fill: #fff; }
.zona-elegida { padding-bottom: 26px; margin-bottom: 6px; border-bottom: 1px solid var(--linea); display: grid; gap: 6px; justify-items: start; }
.zona-nombre { font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.05; }
.zona-dist { color: var(--gris); margin-bottom: 12px; }
.zonas-der h3 { font-size: 14px; font-weight: 600; color: var(--gris); margin: 22px 0 8px; letter-spacing: -.01em; }
.lista-zonas { display: flex; flex-wrap: wrap; gap: 2px; margin-left: -10px; }
.lista-zonas button { padding: 6px 10px; border-radius: 10px; font-size: 16px; transition: background .2s, color .2s; }
.lista-zonas button:hover { background: var(--linea2); }
.lista-zonas button[aria-pressed="true"] { background: var(--negro); color: #fff; }
.lista-suave button { font-size: 15px; color: var(--gris); }
@media (min-width: 960px) {
  .zonas-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: start; }
  .mapa-caja { position: sticky; top: calc(var(--cab) + 32px); }
}

/* ─────────── Preguntas ─────────── */
.faq-env { max-width: calc(880px + var(--gut) * 2); }
.faq h2 { text-align: center; margin-bottom: clamp(36px, 5vw, 56px); }
.faq-lista { border-top: 1px solid var(--linea); }
.preg { border-bottom: 1px solid var(--linea); }
.preg summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; }
.preg summary::-webkit-details-marker { display: none; }
.preg summary h3 { font-size: clamp(1.12rem, 1.02rem + .5vw, 1.45rem); font-weight: 600; letter-spacing: -.028em; }
.preg-ic { position: relative; width: 16px; height: 16px; flex: none; }
.preg-ic::before, .preg-ic::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 1.6px; border-radius: 2px; background: var(--negro); transition: transform .45s var(--e); }
.preg-ic::after { transform: rotate(90deg); }
.preg[open] .preg-ic::after { transform: rotate(0); }
.resp { overflow: hidden; }
.resp p { padding: 0 40px 28px 0; color: var(--gris); font-size: 17px; }
.faq-mas { margin-top: 36px; text-align: center; color: var(--gris); }

/* ─────────── Contacto ─────────── */
.contacto { background: var(--fondo); }
.contacto-in { display: grid; gap: 16px; }
.form-caja { border-radius: 28px; background: #fff; padding: clamp(24px, 4vw, 44px); }
.form-tit { font-size: 28px; letter-spacing: -.035em; margin-bottom: 22px; }
.campos { display: grid; gap: 18px; }
.campo { display: grid; gap: 8px; min-width: 0; border: 0; padding: 0; }
.campo label, .campo legend, .etiqueta { font-size: 14px; font-weight: 500; color: var(--negro); padding: 0; }
.opc { font-weight: 400; color: var(--gris2); }
.campo input[type="text"], .campo input[type="tel"], .campo input[type="email"], .campo textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--linea); background: #fff;
  font-size: 17px; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.campo textarea { resize: vertical; min-height: 128px; line-height: 1.45; }
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--negro); box-shadow: 0 0 0 4px rgba(29, 29, 31, .08); }
.campo [aria-invalid="true"] { border-color: var(--error) !important; }
.error { font-size: 13px; color: var(--error); }
.error:empty { display: none; }
.tipos-op { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tipos-op label { position: relative; font-weight: 400; }
.tipos-op input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tipos-op span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--linea); font-size: 15px; transition: background .2s, color .2s, box-shadow .2s; cursor: pointer; }
.tipos-op label:hover span { box-shadow: inset 0 0 0 1px var(--negro); }
.tipos-op input:checked + span { background: var(--negro); color: #fff; box-shadow: none; }
.tipos-op input:focus-visible + span { outline: 2px solid var(--acento); outline-offset: 2px; }
.tipos.invalido .tipos-op span { box-shadow: inset 0 0 0 1px rgba(198, 40, 40, .5); }
.subida { position: relative; display: flex; align-items: center; justify-content: center; min-height: 70px; padding: 16px; border-radius: 14px; border: 1.5px dashed var(--linea); color: var(--gris); font-size: 15px; cursor: pointer; text-align: center; transition: background .2s, border-color .2s; }
.subida b { color: var(--acento); font-weight: 500; }
.subida:hover, .subida.encima { background: var(--fondo); border-color: var(--gris2); }
.subida input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.subida:focus-within { outline: 2px solid var(--acento); outline-offset: 2px; }
.miniaturas { display: flex; flex-wrap: wrap; gap: 8px; }
.miniaturas:empty { display: none; }
.miniaturas li { position: relative; width: 70px; height: 70px; border-radius: 12px; overflow: hidden; background: var(--fondo); animation: aparece .4s var(--e); }
.miniaturas img { width: 100%; height: 100%; object-fit: cover; }
.miniaturas button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; background: rgba(0, 0, 0, .6); }
.miniaturas button::before, .miniaturas button::after { content: ""; position: absolute; left: 6px; top: 10px; width: 10px; height: 1.6px; background: #fff; transform: rotate(45deg); }
.miniaturas button::after { transform: rotate(-45deg); }
.acepto { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--gris); cursor: pointer; font-weight: 400 !important; }
.acepto input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; flex: none; margin: 0; border-radius: 7px; border: 1.5px solid var(--linea); background: #fff center / 14px no-repeat; cursor: pointer; transition: background-color .2s, border-color .2s; }
.acepto input:checked { background-color: var(--negro); border-color: var(--negro); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.acepto input[aria-invalid="true"] { border-color: var(--error); }
.acepto a { color: var(--negro); }
.form-enviar { width: 100%; margin-top: 26px; }
.enviando { pointer-events: none; opacity: .6; }
.enviando span::after { content: "…"; }
.form-fallo { margin-top: 12px; font-size: 14px; color: var(--error); }
.form-ok { text-align: center; padding: 40px 10px; display: grid; justify-items: center; gap: 10px; outline: none; animation: aparece .6s var(--e); }
.ok-marca svg { width: 64px; height: 64px; fill: none; stroke: var(--wa-boton); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ok-marca circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: traza .8s var(--e) forwards; }
.ok-marca path { stroke-dasharray: 36; stroke-dashoffset: 36; animation: traza .5s .55s var(--e) forwards; }
@keyframes traza { to { stroke-dashoffset: 0; } }
.form-ok h3 { font-size: 30px; letter-spacing: -.035em; }
.form-ok p { color: var(--gris); max-width: 28em; }
.form-ok-acc { margin-top: 12px; display: grid; gap: 14px; justify-items: center; }

.llamada { border-radius: 28px; padding: clamp(24px, 3.4vw, 36px); background: var(--negro); color: #a1a1a6; }
.llamada .form-tit { color: #fff; margin-bottom: 6px; }
.llamada-txt { margin-bottom: 18px; }
.llamada-fila { display: flex; gap: 8px; }
.llamada-fila input { flex: 1; min-width: 0; border-color: transparent !important; }
.llamada-fila .pill { flex: none; min-height: 52px; }
.llamada .acepto { margin-top: 16px; color: #a1a1a6; }
.llamada .acepto a { color: #fff; }
.llamada .acepto input { border-color: #48484a; background-color: transparent; }
.llamada .acepto input:checked { background-color: #fff; border-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.llamada .error, .llamada .form-fallo { color: #ff8a80; }
.llamada .form-fallo a { color: #fff; }
.form-ok-peq { display: flex; text-align: left; align-items: center; gap: 18px; padding: 4px 0; }
.form-ok-peq h3 { color: #fff; font-size: 24px; }
.form-ok-peq p { color: #a1a1a6; }
.form-ok-peq .ok-marca svg { width: 52px; height: 52px; stroke: var(--wa); }

.datos { background: #fff; border-radius: 28px; padding: 8px clamp(24px, 3.4vw, 36px); }
.datos > div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--linea2); }
.datos > div:last-child { border-bottom: 0; }
.datos dt { font-size: 14px; color: var(--gris); padding-top: 2px; }
.datos dd { font-size: 16px; }
.datos a { color: var(--negro); text-decoration: none; word-break: break-word; }
.datos a:hover { color: var(--acento); }
.abierto { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 14px; color: var(--gris); }
.abierto:empty { display: none; }
.abierto::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--gris2); }
.abierto.si::before { background: #1fa855; box-shadow: 0 0 0 3px rgba(31, 168, 85, .18); }
.mapa-g { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 10; background: #fff; }
.mapa-g-tapa { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 16px; font-size: 15px; color: var(--gris); }
.mapa-g-tapa div { display: flex; gap: 18px; align-items: center; }
.mapa-g iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.contacto-der { display: grid; gap: 16px; }
@media (min-width: 700px) {
  .campos { grid-template-columns: 1fr 1fr; }
  .campo-ancho { grid-column: 1 / -1; }
  .form-enviar { width: auto; }
}
@media (min-width: 1024px) {
  .contacto-in { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; }
}

/* resaltado al llegar a un formulario desde un botón */
.destacado { animation: destaca 1.6s .4s var(--e); }
@keyframes destaca { 30% { box-shadow: 0 0 0 4px rgba(180, 80, 43, .35); } }

/* ─────────── Pie ─────────── */
.pie { background: var(--fondo); border-top: 1px solid var(--linea); color: var(--gris); font-size: 13px; padding: 48px 0 calc(100px + env(safe-area-inset-bottom)); }
.pie-in { display: grid; gap: 30px; grid-template-columns: 1fr 1fr; }
.pie-marca { grid-column: 1 / -1; }
.pie-marca .marca { display: block; margin-bottom: 8px; }
.pie-marca p:not(.marca) { max-width: 26em; }
.pie h2 { font-size: 13px; font-weight: 600; color: var(--negro); margin-bottom: 10px; letter-spacing: -.01em; }
.pie-col ul { display: grid; gap: 8px; }
.pie-col a { text-decoration: none; }
.pie-col a:hover { color: var(--negro); text-decoration: underline; }
.pie-zonas { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--linea); line-height: 1.6; }
.pie-base { margin-top: 20px; display: flex; justify-content: space-between; gap: 16px; }
.enlace-pie { text-decoration: none; }
.enlace-pie:hover { color: var(--negro); }
@media (min-width: 800px) { .pie-in { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .pie-marca { grid-column: auto; } .pie { padding-bottom: 48px; } }

/* ─────────── WhatsApp flotante ─────────── */
.wa-flotante {
  position: fixed; z-index: 45; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom));
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--wa); color: #fff;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, .3); transition: transform .4s var(--e); animation: waEntra .8s 1.2s var(--e) backwards;
}
.wa-flotante .wa-logo { width: 28px; height: 28px; }
.wa-flotante:hover { transform: scale(1.07); }
@keyframes waEntra { from { transform: scale(.3); opacity: 0; } }

/* ─────────── Visor ─────────── */
.visor { position: fixed; inset: 0; z-index: 70; background: rgba(0, 0, 0, .94); display: grid; place-items: center; animation: aparece .35s var(--e); }
.visor figure { max-width: min(1200px, 92vw); display: grid; gap: 14px; }
.visor img { max-width: 100%; max-height: 80vh; border-radius: 14px; object-fit: contain; margin: 0 auto; }
.visor figcaption { color: #a1a1a6; font-size: 14px; text-align: center; }
.visor-cerrar, .visor-flecha { position: absolute; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .12); transition: background .2s; }
.visor-cerrar:hover, .visor-flecha:hover { background: rgba(255, 255, 255, .22); }
.visor-cerrar { top: 16px; right: 16px; }
.visor-cerrar::before, .visor-cerrar::after { content: ""; position: absolute; left: 14px; top: 21px; width: 16px; height: 1.8px; background: #fff; transform: rotate(45deg); }
.visor-cerrar::after { transform: rotate(-45deg); }
.visor-flecha { top: 50%; margin-top: -22px; }
.visor-flecha::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border: solid #fff; border-width: 0 0 2px 2px; transform: translate(-30%, -50%) rotate(45deg); }
.visor-sig::before { transform: translate(-70%, -50%) rotate(-135deg); }
.visor-ant { left: 14px; } .visor-sig { right: 14px; }
@media (max-width: 699px) { .visor-flecha { top: auto; bottom: 24px; } .visor-ant { left: calc(50% - 56px); } .visor-sig { right: calc(50% - 56px); } }

/* ─────────── Página legal ─────────── */
.legal { padding: calc(var(--cab) + 48px) 0 96px; }
.legal .env { max-width: 820px; }
.legal h1 { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); letter-spacing: -.045em; }
.legal h2 { font-size: 1.7rem; letter-spacing: -.035em; margin: 52px 0 14px; padding-top: 12px; }
.legal p, .legal li { color: var(--gris); margin-top: 10px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal-volver { margin-top: 20px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .rv, .js .rv-img { opacity: 1; transform: none; }
}
