/* JAGS Reformas · Barcelona
   Paleta con sentido, sacada de su marca y de sus propias obras:
   · Verde salvia #A3B596: el verde de su cartel de presentación, suavizado y neutro (lo pidió el usuario); es el color de las acciones.
   · Grafito #1C2124: el gris oscuro de las carpinterías que ponen en sus fachadas (Altafulla); textos y fondos oscuros.
   · Cal #F5F4F0 y piedra #E7E4DD: las paredes recién pintadas y el porcelánico efecto piedra del baño de Park Güell.
   · Roble #B98552: la encimera de la cocina de República Argentina; detalle cálido (números, cinta).
   Tipografía: Archivo ancha (wdth 125) para los titulares, rotunda como un rótulo de obra, y Geist para el texto. */
@font-face { font-family: 'Archivo'; src: url(../fonts/archivo-var.woff2) format('woff2'); font-weight: 500 900; font-stretch: 100% 125%; font-display: swap; }
@font-face { font-family: 'Geist'; src: url(../fonts/geist-var.woff2) format('woff2'); font-weight: 400 700; font-display: swap; }

:root {
  --grafito: #1C2124; --grafito-2: #262D31; --grafito-3: #343C41;
  --cal: #F5F4F0; --blanco: #fff; --piedra: #E7E4DD; --linea: rgba(28, 33, 36, .12); --linea-clara: rgba(255, 255, 255, .16);
  --verde: #A3B596; --verde-2: #BFCCB4; --verde-txt: #4C6542; --roble: #B98552; --roble-txt: #8A5B2E;
  --texto: #1C2124; --gris: #535B60; --gris-claro: #AEB6BA;
  --disp: 'Archivo', 'Arial Black', sans-serif; --txt: 'Geist', system-ui, -apple-system, sans-serif;
  --margen: clamp(16px, 4.5vw, 44px); --r: 20px;
  --sombra: 0 1px 2px rgba(28, 33, 36, .06), 0 14px 34px -14px rgba(28, 33, 36, .28);
  --curva: cubic-bezier(.6, .05, .25, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { font: 400 17px/1.6 var(--txt); color: var(--texto); background: var(--cal); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
.env { width: min(1240px, 100% - 2 * var(--margen)); margin-inline: auto; }
.saltar { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--verde); color: var(--grafito); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.saltar:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--verde); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--disp); font-stretch: 125%; font-weight: 850; line-height: .98; letter-spacing: -.025em; }
h2 { font-size: clamp(36px, 5vw, 68px); }
h3 { font-size: clamp(24px, 2.4vw, 32px); }

/* ---------- piezas ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 24px; border-radius: 14px; font-weight: 600; font-size: 16.5px; line-height: 1; border: 0; cursor: pointer; transition: transform .25s var(--curva), background-color .25s; white-space: nowrap; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--verde { background: var(--verde); color: var(--grafito); box-shadow: 0 10px 26px -12px rgba(110, 130, 98, .55); }
.btn--verde:hover { background: var(--verde-2); }
.btn--cristal { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.btn--linea { background: transparent; color: var(--grafito); box-shadow: inset 0 0 0 1.5px var(--grafito); }
.btn--linea-clara { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4); }
.btn--mini { min-height: 44px; padding: 0 16px; font-size: 15px; border-radius: 12px; }
.btn--mini svg { width: 18px; height: 18px; }
.btn--ancho { width: 100%; }
.enlace { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--grafito); border-bottom: 2px solid var(--verde); padding-bottom: 3px; }
.enlace svg { width: 18px; height: 18px; transition: transform .25s var(--curva); }
.enlace:hover svg { transform: translateX(4px); }
.eti { display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1 var(--txt); letter-spacing: .16em; text-transform: uppercase; color: var(--verde-txt); }
.eti::before { content: ''; width: 18px; height: 3px; border-radius: 2px; background: var(--verde); }
.eti--clara { color: var(--verde-2); }
.sec-cab { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(32px, 4.5vw, 56px); }
.sec-cab > p:not(.eti) { font-size: clamp(17px, 1.4vw, 19px); color: var(--gris); max-width: 600px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; font-weight: 600; padding: 7px 12px; border-radius: 99px; background: var(--blanco); box-shadow: inset 0 0 0 1px var(--linea); }

/* ---------- cabecera ---------- */
.cab { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 24px; height: 76px; padding: 0 var(--margen); transition: background-color .35s, box-shadow .35s, height .35s; }
.cab__logo svg { height: 44px; width: auto; }
.cab__logo--oscuro { display: none; }
.cab__nav { display: flex; gap: 30px; margin-left: auto; font-weight: 600; font-size: 15px; }
.cab__nav a { position: relative; padding: 6px 0; }
.cab__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--verde); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--curva); }
.cab__nav a:hover::after { transform: scaleX(1); }
.cab__acc { display: flex; align-items: center; gap: 12px; }
.cab__menu { display: none; width: 46px; height: 46px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); cursor: pointer; position: relative; }
.cab__menu span { position: absolute; left: 14px; right: 14px; height: 2px; background: currentColor; transition: transform .3s var(--curva); }
.cab__menu span:first-child { top: 18px; } .cab__menu span:last-child { top: 26px; }
.cab__menu[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.cab__menu[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.cab--hero:not(.cab--solida) { color: #fff; }
.cab--hero:not(.cab--solida)::before { content: ''; position: absolute; inset: 0 0 -40px; z-index: -1; background: linear-gradient(rgba(28, 33, 36, .6), rgba(28, 33, 36, 0)); pointer-events: none; }
.cab:not(.cab--hero), .cab--solida { background: rgba(245, 244, 240, .9); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 1px 0 var(--linea); color: var(--grafito); height: 68px; }
.cab:not(.cab--hero) .cab__logo--blanco, .cab--solida .cab__logo--blanco { display: none; }
.cab:not(.cab--hero) .cab__logo--oscuro, .cab--solida .cab__logo--oscuro { display: block; }
.cab:not(.cab--hero) .cab__menu, .cab--solida .cab__menu { background: var(--blanco); box-shadow: inset 0 0 0 1px var(--linea); }
.cab--solida .cab__logo svg, .cab:not(.cab--hero) .cab__logo svg { height: 38px; }
.menu { position: fixed; inset: 0; z-index: 45; background: var(--grafito); color: #fff; padding: 110px var(--margen) 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu nav { display: grid; }
.menu nav a { display: flex; align-items: baseline; gap: 16px; font: 850 clamp(36px, 10vw, 56px)/1.1 var(--disp); font-stretch: 125%; padding: 8px 0; border-bottom: 1px solid var(--linea-clara); }
.menu nav a i { font: 600 14px/1 var(--txt); font-style: normal; color: var(--verde); }
.menu__pie { display: grid; gap: 12px; }
body.menu-abierto { overflow: hidden; }
body.menu-abierto .cab { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: #fff; }
body.menu-abierto .cab__logo--blanco { display: block; } body.menu-abierto .cab__logo--oscuro { display: none; }

/* ---------- hero: la obra se «dibuja» con un nivel láser ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; background: var(--grafito); }
.hero__foto { position: absolute; inset: 0; }
.hero__foto picture, .hero__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__img { object-fit: cover; object-position: 50% 45%; }
.js .hero__img { clip-path: inset(0 0 100% 0); animation: dibuja 1.6s .15s var(--curva) forwards; }
@keyframes dibuja { to { clip-path: inset(0 0 0 0); } }
.hero__laser { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--verde-2); box-shadow: 0 0 16px 3px rgba(191, 204, 180, .8), 0 0 60px 8px rgba(191, 204, 180, .3); opacity: 0; pointer-events: none; }
.js .hero__laser { animation: laser 1.6s .15s var(--curva) forwards; }
@keyframes laser { 0% { top: 0; opacity: 1; } 92% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.hero__velo { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28, 33, 36, .86) 0%, rgba(28, 33, 36, .55) 42%, rgba(28, 33, 36, .05) 75%), linear-gradient(0deg, rgba(28, 33, 36, .7) 0%, rgba(28, 33, 36, 0) 40%); }
.hero__env { position: relative; padding: 140px 0 clamp(30px, 5vh, 56px); display: grid; gap: 22px; justify-items: start; }
.hero__t { display: grid; gap: 4px; font-size: clamp(46px, 7.4vw, 112px); line-height: .92; max-width: 15ch; }
.hero__pre { font: 600 clamp(13px, 1.1vw, 15px)/1.3 var(--txt); font-stretch: 100%; letter-spacing: .16em; text-transform: uppercase; color: var(--verde-2); margin-bottom: 14px; }
.hero__l--verde { color: var(--verde-2); }
.js .hero__t > span, .js .hero__txt, .js .hero__acc { animation: sube .8s var(--curva) both; }
.js .hero__t > span:nth-child(2) { animation-delay: .9s; } .js .hero__t > span:nth-child(3) { animation-delay: 1.05s; }
.js .hero__pre { animation-delay: .8s !important; } .js .hero__txt { animation-delay: 1.2s; } .js .hero__acc { animation-delay: 1.32s; }
@keyframes sube { from { opacity: 0; transform: translateY(24px); } }
.hero__txt { font-size: clamp(17px, 1.45vw, 20px); max-width: 520px; color: rgba(255, 255, 255, .9); }
.hero__acc { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__tira { position: relative; z-index: 1; display: flex; gap: 10px; justify-content: flex-end; padding: 0 var(--margen) clamp(22px, 4vh, 40px); margin-top: -82px; pointer-events: auto; }
.hero__mini { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 14px; background: rgba(28, 33, 36, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: background-color .25s; }
.hero__mini:hover { background: rgba(28, 33, 36, .8); }
.hero__mini img { width: 44px; height: 44px; object-fit: cover; border-radius: 9px; }
.hero__mini b { font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.js .hero__mini { animation: sube .7s var(--curva) both; } .js .hero__mini:nth-child(1) { animation-delay: 1.5s; } .js .hero__mini:nth-child(2) { animation-delay: 1.58s; } .js .hero__mini:nth-child(3) { animation-delay: 1.66s; } .js .hero__mini:nth-child(4) { animation-delay: 1.74s; }

/* ---------- cifras ---------- */
.cifras { background: var(--grafito); color: #fff; }
.cifras__env { display: grid; grid-template-columns: repeat(4, 1fr); }
.cifras__env > div { padding: 30px 24px; border-left: 1px solid var(--linea-clara); display: grid; gap: 6px; }
.cifras__env > div:first-child { border-left: 0; padding-left: 0; }
.cifras b { font: 850 clamp(40px, 4.4vw, 60px)/1 var(--disp); font-stretch: 125%; color: var(--verde-2); font-variant-numeric: tabular-nums; }
.cifras span { color: var(--gris-claro); font-size: 15px; line-height: 1.35; max-width: 22ch; }

/* ---------- servicios ---------- */
.srv { padding: clamp(80px, 10vw, 140px) 0; }
.srv__rejilla { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 24px); }
.srv__tarjeta { background: var(--blanco); border-radius: var(--r); overflow: hidden; box-shadow: var(--sombra); display: grid; grid-template-rows: auto 1fr; }
.srv__tarjeta--grande { grid-column: 1 / -1; grid-template-columns: 1.3fr 1fr; grid-template-rows: none; }
.srv__foto { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--piedra); }
.srv__tarjeta--grande .srv__foto { aspect-ratio: auto; min-height: 420px; }
.srv__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--curva); }
.srv__tarjeta:hover .srv__foto img { transform: scale(1.05); }
.js [data-revela] .srv__foto { clip-path: inset(12% 12% 12% 12% round 20px); transition: clip-path 1.1s var(--curva) calc(var(--i, 0) % 2 * .1s); }
.js [data-revela].visto .srv__foto { clip-path: inset(0 0 0 0 round 0); }
.srv__txt { display: grid; align-content: start; gap: 12px; padding: clamp(22px, 2.8vw, 34px); }
.srv__tarjeta--grande .srv__txt { align-content: center; }
.srv__n { font: 800 15px/1 var(--txt); color: var(--roble-txt); letter-spacing: .1em; }
.srv__txt p { color: var(--gris); }
.srv__txt .enlace { justify-self: start; margin-top: 4px; }
.srv__tarjeta--grande h3 { font-size: clamp(30px, 3.4vw, 46px); }

/* ---------- obras: la cinta métrica avanza con la obra ---------- */
.obras { background: var(--piedra); padding-top: clamp(80px, 10vw, 140px); }
.obras__cab .sec-cab { margin-bottom: 0; }
.obra { position: relative; height: 210vh; }
.obra__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding: 84px 0 24px; }
.obra__env { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.obra__txt { display: grid; gap: 16px; justify-items: start; }
.obra__txt h3 { font-size: clamp(30px, 3.6vw, 52px); }
.obra__txt > p:not(.eti):not(.obra__lugar) { color: var(--gris); font-size: 17.5px; }
.eti__n { color: var(--roble-txt); font-weight: 800; letter-spacing: .04em; }
.obra__lugar { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.obra__lugar svg { width: 20px; height: 20px; color: var(--verde-txt); }
.obra__visor { position: relative; }
.obra__fotos { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(28, 33, 36, .55); background: var(--grafito); }
.obra__foto { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.obra__foto.activa { opacity: 1; }
.obra__foto img { width: 100%; height: 100%; object-fit: cover; }
.obra__foto figcaption { position: absolute; left: 16px; top: 16px; padding: 9px 14px 8px; border-radius: 10px; background: rgba(28, 33, 36, .72); color: #fff; font: 600 13px/1 var(--txt); letter-spacing: .12em; text-transform: uppercase; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.obra__foto:last-child figcaption { background: var(--verde); color: var(--grafito); }
/* la cinta: regla con marcas y una hoja verde que se estira con el scroll */
.cinta { position: relative; height: 44px; margin-top: 18px; border-radius: 8px; background: var(--blanco); box-shadow: inset 0 0 0 1px var(--linea); overflow: hidden; }
.cinta__regla { position: absolute; inset: 0; }
.cinta__regla i { position: absolute; top: 0; width: 1px; height: 9px; background: rgba(28, 33, 36, .35); }
.cinta__regla i.larga { height: 16px; background: rgba(28, 33, 36, .6); }
.cinta__regla b { position: absolute; top: 18px; left: 3px; font: 700 10.5px/1 var(--txt); color: var(--gris); }
.cinta__hoja { position: absolute; inset: 0 auto 0 0; width: var(--avance, 0%); background: repeating-linear-gradient(90deg, rgba(28, 33, 36, .28) 0 1px, transparent 1px 2%), linear-gradient(180deg, var(--verde-2), var(--verde)); mix-blend-mode: multiply; transition: width .12s linear; }
.cinta__gancho { position: absolute; right: -4px; top: -3px; bottom: -3px; width: 10px; border-radius: 3px; background: linear-gradient(90deg, #8b9399, #d9dee1 50%, #8b9399); box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.obra__fases { position: relative; height: 26px; margin-top: 10px; }
.obra__fases li { position: absolute; top: 0; transform: translateX(-50%); font: 600 13px/1.2 var(--txt); letter-spacing: .08em; text-transform: uppercase; color: var(--gris); transition: color .3s; white-space: nowrap; }
.obra__fases li:first-child { transform: none; } .obra__fases li:last-child { transform: translateX(-100%); }
.obra__fases li.activa { color: var(--grafito); }
.obra__fases li.activa::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--verde); vertical-align: 1px; }

/* ---------- galería ---------- */
.galeria { padding: clamp(80px, 10vw, 140px) 0; }
.galeria__rejilla { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 12px; }
.galeria__item { position: relative; overflow: hidden; border-radius: 14px; border: 0; padding: 0; cursor: zoom-in; background: var(--piedra); }
.galeria__item:nth-child(1), .galeria__item:nth-child(6) { grid-column: span 2; grid-row: span 2; }
.galeria__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--curva); }
.galeria__item:hover img { transform: scale(1.06); }
.visor { position: fixed; inset: 0; z-index: 80; background: rgba(15, 18, 20, .92); display: grid; place-items: center; padding: 60px var(--margen); }
.visor[hidden] { display: none; }
.visor img { max-height: 100%; width: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.visor__cerrar { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.visor__cerrar svg { width: 22px; height: 22px; }

/* ---------- zona: mapa de la costa ---------- */
.zona { padding: clamp(80px, 10vw, 140px) 0; background: var(--grafito); color: #fff; overflow: hidden; }
.zona .sec-cab > p:not(.eti) { color: var(--gris-claro); }
.zona .eti { color: var(--verde-2); }
.zona__env { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.zona__lista { display: grid; gap: 14px; margin-top: 10px; }
.zona__lista li { display: flex; gap: 12px; align-items: flex-start; }
.zona__lista svg { width: 22px; height: 22px; color: var(--verde-2); flex: none; margin-top: 2px; }
.zona__lista span { display: grid; color: var(--gris-claro); font-size: 15px; }
.zona__lista b { color: #fff; font-size: 17px; }
.mapa { width: 100%; height: auto; overflow: visible; }
.mapa__tierra { fill: url(#tierra); }
.mapa__mar { fill: url(#olas); }
.mapa__rotulo { fill: rgba(191, 204, 180, .55); font: italic 500 22px var(--txt); letter-spacing: .14em; text-transform: uppercase; }
.mapa__costa { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 2.2s var(--curva); }
.zona.visto .mapa__costa { stroke-dashoffset: 0; }
.mapa__nucleo { fill: var(--verde-2); stroke: var(--grafito); stroke-width: 3; }
.mapa__onda { fill: none; stroke: var(--verde-2); stroke-width: 2; opacity: 0; }
.zona.visto .mapa__onda { animation: onda 2.4s calc(1s + var(--i) * .3s) infinite; }
@keyframes onda { 0% { r: 8; opacity: .9; } 100% { r: 30; opacity: 0; } }
.mapa__punto text { fill: #fff; font: 600 17px var(--txt); }
.js .mapa__punto { opacity: 0; transition: opacity .5s calc(.9s + var(--i) * .25s); }
.zona.visto .mapa__punto { opacity: 1; }

/* ---------- preguntas ---------- */
.faq { padding: clamp(80px, 10vw, 140px) 0; }
.faq__env { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.faq__lista { border-top: 2px solid var(--grafito); }
.faq__item { border-bottom: 1px solid var(--linea); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; font: 800 clamp(19px, 1.7vw, 22px)/1.2 var(--disp); font-stretch: 112%; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary span { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--blanco); box-shadow: inset 0 0 0 1px var(--linea); transition: transform .3s var(--curva), background-color .3s; }
.faq__item summary span svg { width: 20px; height: 20px; }
.faq__item[open] summary span { transform: rotate(45deg); background: var(--verde); }
.faq__item p { padding: 0 56px 24px 0; color: var(--gris); }

/* ---------- contacto ---------- */
.contacto { padding: 0 0 clamp(80px, 10vw, 140px); }
.contacto__env { display: grid; grid-template-columns: 1fr 1fr; border-radius: calc(var(--r) + 6px); overflow: hidden; box-shadow: var(--sombra); }
.contacto__info { background: var(--grafito); color: #fff; padding: clamp(30px, 5vw, 60px); display: grid; align-content: start; justify-items: start; gap: 20px; }
.contacto__info p:not(.eti) { color: rgba(255, 255, 255, .8); max-width: 420px; }
.contacto__tel { font: 850 clamp(40px, 5vw, 70px)/1 var(--disp); font-stretch: 125%; color: var(--verde-2); white-space: nowrap; }
.contacto__redes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.contacto__redes a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--linea-clara); font-weight: 600; font-size: 15px; transition: background-color .25s; }
.contacto__redes a:hover { background: var(--grafito-2); }
.contacto__redes svg { width: 20px; height: 20px; color: var(--verde-2); }
.form { background: var(--blanco); padding: clamp(30px, 5vw, 60px); display: grid; gap: 16px; align-content: start; }
.campo { display: grid; gap: 7px; }
.campo span { font-size: 14px; font-weight: 600; }
.campo input, .campo select, .campo textarea { width: 100%; border: 0; border-radius: 12px; padding: 15px 16px; background: var(--cal); box-shadow: inset 0 0 0 1.5px var(--linea); font-size: 17px; }
.campo textarea { resize: vertical; min-height: 120px; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--grafito); }
.campo .mal { box-shadow: inset 0 0 0 2px #C2410C; }
.form__nota { font-size: 14px; color: var(--gris); }
.form__error { font-size: 14px; font-weight: 700; color: #B33A0B; }

/* ---------- pie ---------- */
.pie { background: var(--grafito); color: #fff; padding: clamp(60px, 8vw, 96px) 0 0; }
.pie__arriba { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.pie__marca { display: grid; gap: 18px; justify-items: start; }
.pie__logo svg { height: 56px; width: auto; }
.pie__marca p { color: var(--gris-claro); max-width: 380px; }
.pie__redes { display: flex; gap: 10px; }
.pie__redes a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--linea-clara); }
.pie__redes svg { width: 22px; height: 22px; color: var(--verde-2); }
.pie__col { display: grid; align-content: start; gap: 10px; color: var(--gris-claro); }
.pie__col b { font: 700 13px/1 var(--txt); letter-spacing: .14em; text-transform: uppercase; color: var(--verde-2); margin-bottom: 6px; }
.pie__col a:hover { color: #fff; }
.pie__tel { font: 850 30px/1 var(--disp); font-stretch: 125%; color: #fff; }
.pie__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding: 22px 0 28px; border-top: 1px solid var(--linea-clara); font-size: 14px; color: var(--gris-claro); }
.pie__legal nav { display: flex; gap: 22px; }

.barra { display: none; }
.pagina main { padding-top: 130px; }
.legal { max-width: 780px; padding-bottom: 90px; display: grid; gap: 34px; }
.legal h1 { font-size: clamp(40px, 6vw, 72px); }
.legal h2 { font-size: 30px; margin-bottom: 10px; }
.legal p { color: var(--gris); margin-bottom: 10px; }
.legal p a { text-decoration: underline; }
.e404 { min-height: 70vh; display: grid; align-content: center; justify-items: start; gap: 22px; padding-bottom: 80px; }
.e404 h1 { font-size: clamp(44px, 7vw, 100px); max-width: 14ch; }
.e404 p:not(.eti) { color: var(--gris); max-width: 520px; font-size: 19px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .cab__nav { display: none; }
  .cab__acc { margin-left: auto; }
  .cab__menu { display: block; }
  .faq__env, .zona__env { grid-template-columns: 1fr; }
  .pie__arriba { grid-template-columns: 1fr 1fr; }
  .pie__marca { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .obra { height: 200vh; }
  .obra__pin { align-items: flex-start; padding: 78px 0 16px; }
  .obra__env { grid-template-columns: 1fr; gap: 16px; }
  .obra__visor { order: -1; }
  .obra__txt { gap: 10px; }
  .obra__txt h3 { font-size: clamp(24px, 6.4vw, 34px); }
  .obra__txt > p:not(.eti):not(.obra__lugar) { font-size: 15.5px; }
  .cinta { height: 38px; margin-top: 12px; }
}
/* la tira solo cabe al lado de los botones en pantallas anchas; si no, va debajo */
@media (max-width: 1320px) { .hero__tira { margin-top: 0; justify-content: flex-start; } }
@media (max-width: 760px) {
  .hero__tira { justify-content: flex-start; overflow-x: auto; margin-top: 0; scrollbar-width: none; }
  .hero__tira::-webkit-scrollbar { display: none; }
  .hero__env { padding-bottom: 18px; }
  .hero__velo { background: linear-gradient(0deg, rgba(28, 33, 36, .92) 0%, rgba(28, 33, 36, .62) 50%, rgba(28, 33, 36, .25) 100%); }
  .cifras__env { grid-template-columns: 1fr 1fr; }
  .cifras__env > div { padding: 22px 16px; border-left: 0; border-top: 1px solid var(--linea-clara); }
  .cifras__env > div:nth-child(-n+2) { border-top: 0; }
  .cifras__env > div:nth-child(odd) { padding-left: 0; }
  .srv__rejilla { grid-template-columns: 1fr; }
  .srv__tarjeta--grande { grid-template-columns: 1fr; }
  .srv__tarjeta--grande .srv__foto { min-height: 0; aspect-ratio: 4 / 3; }
  .galeria__rejilla { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .mapa__punto text { font-size: 30px; }
  .mapa__rotulo { font-size: 30px; }
  .mapa__nucleo { r: 11; }
  .contacto__env { grid-template-columns: 1fr; }
  .faq__item p { padding-right: 0; }
  .barra { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; padding: 8px; border-radius: 18px; background: rgba(28, 33, 36, .86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 14px 34px -12px rgba(28, 33, 36, .6), inset 0 0 0 1px rgba(255, 255, 255, .14); transform: translateY(140%); transition: transform .45s var(--curva); }
  .barra.ver { transform: none; }
  .barra a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 12px; font-weight: 600; }
  .barra svg { width: 20px; height: 20px; }
  .barra__wa { background: var(--verde); color: var(--grafito); }
  .barra__tel { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
  .pie { padding-bottom: 86px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .cab { height: 68px; }
  .cab__logo svg { height: 36px; }
  .cab--solida .cab__logo svg, .cab:not(.cab--hero) .cab__logo svg { height: 32px; }
  .cab__wa span { display: none; }
  .cab__wa { padding: 0 12px; }
  .hero__t { font-size: clamp(40px, 12vw, 56px); }
  .hero__acc .btn { flex: 1 1 100%; }
  .pie__arriba { grid-template-columns: 1fr; }
  .contacto__tel { font-size: clamp(36px, 11vw, 52px); }
  .obra__fases li { font-size: 11.5px; letter-spacing: .04em; }
}
@media (max-width: 900px) and (max-height: 700px) {
  .obra__txt > p:not(.eti):not(.obra__lugar) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .hero__img { clip-path: none; }
  .hero__laser { display: none; }
  .js [data-revela] .srv__foto { clip-path: none; }
  .obra { height: auto; }
  .obra__pin { position: relative; height: auto; padding: 40px 0; }
  .mapa__costa { stroke-dashoffset: 0; }
  .js .mapa__punto { opacity: 1; }
}
