/* ==========================================================
   Reforzara — estilos de la web
   Línea gráfica: minimalismo tipo Apple (la misma que mwo.es)
   con los colores del logo de Reforzara. Sin dependencias.
   ========================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(/assets/fonts/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 {
  /* Colores del logo de Reforzara */
  --brand: #a15a2e;
  --brand-dark: #8c451b;
  --brand-soft: #f6ece4;
  --brand-tint: #fbf4ee;
  --grad: linear-gradient(90deg, #c8773d 0%, #a15a2e 50%, #7a3a14 100%);

  --bg: #fbfaf8;
  --bg-alt: #f4f1ed;
  --white: #fff;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --line: #e3ddd6;
  --dark: #17120f;
  --dark-2: #231b16;
  --dark-ink: #f5f2ee;

  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max: 1080px;
  --wide: 1260px;
  --gutter: 22px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.28, .11, .32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
section[id] { scroll-margin-top: 48px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.muted { color: var(--ink-3); }
.eyebrow {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.eyebrow-brand { color: var(--brand); }

/* ---------- Botones y enlaces ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 980px;
  font: inherit;
  font-size: 17px;
  font-weight: 500;
  padding: 12px 24px;
  cursor: pointer;
  transition: background .2s, transform .2s var(--ease), box-shadow .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-primary:active { transform: scale(.97); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--brand-soft); }
.btn-sm { font-size: 15px; padding: 8px 18px; }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1ebe5b; }
.btn-wa:active { transform: scale(.97); }
.btn-wa svg { flex: none; }
.btn-lg { font-size: 19px; padding: 15px 32px; }

.link-arrow { color: var(--brand); font-size: 17px; white-space: nowrap; }
.link-arrow::after {
  content: "›";
  display: inline-block;
  margin-left: 4px;
  font-size: 1.15em;
  line-height: 1;
  transition: transform .25s var(--ease);
}
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover::after { transform: translateX(3px); }
.link-light { color: #e5a57a; }

/* ---------- Navegación ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 52px;
  background: rgba(251, 250, 248, .74);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: rgba(0, 0, 0, .08); }
.nav-inner {
  max-width: var(--max);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 9px; color: var(--ink); }
.brand-mark { width: auto; height: 26px; }
.brand-word {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--brand);
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  color: var(--ink);
  opacity: .8;
  font-size: 13px;
  letter-spacing: -0.01em;
  transition: opacity .2s;
}
.nav-links a:hover { opacity: 1; }
.nav-links .nav-cta {
  opacity: 1;
  background: var(--brand);
  color: #fff;
  padding: 6px 14px;
  border-radius: 980px;
  font-weight: 500;
  transition: background .2s;
}
.nav-links .nav-cta:hover { background: var(--brand-dark); }
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  margin-right: -10px;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 23px; }
.nav.open .nav-toggle span:first-child { top: 19.5px; transform: rotate(45deg); }
.nav.open .nav-toggle span:last-child { top: 19.5px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: 140px var(--gutter) 0;
  overflow-x: clip;
}
.hero-glow, .cta-glow {
  position: absolute;
  left: 50%;
  top: 40px;
  width: 900px;
  max-width: 140vw;
  height: 600px;
  transform: translateX(-50%);
  background:
    radial-gradient(closest-side, rgba(200, 119, 61, .16), transparent 70%) 20% 30% / 60% 70% no-repeat,
    radial-gradient(closest-side, rgba(140, 69, 27, .10), transparent 70%) 75% 25% / 55% 70% no-repeat,
    radial-gradient(closest-side, rgba(230, 170, 110, .12), transparent 70%) 55% 75% / 50% 60% no-repeat;
  filter: blur(20px);
  pointer-events: none;
  animation: float 14s ease-in-out infinite alternate;
}
@keyframes float { to { transform: translateX(-50%) translateY(30px) scale(1.06); } }
.hero > *:not(.hero-glow) { position: relative; }
.hero-aviso {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 6px 14px 6px 6px;
  border-radius: 980px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .07), 0 6px 18px -10px rgba(161, 90, 46, .45);
  color: var(--ink);
  font-size: 14px;
}
.hero-aviso b {
  background: var(--brand);
  color: #fff;
  padding: 3px 10px;
  border-radius: 980px;
  font-size: 12px;
  font-weight: 600;
}
.hero-title {
  font-size: clamp(46px, 9vw, 96px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 700;
}
.hero-sub {
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.35;
  color: var(--ink-2);
  max-width: 680px;
  margin: 22px auto 0;
}
.hero-ctas {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}

/* Foto principal con tarjetas flotantes */
.hero-foto {
  position: relative;
  width: min(1100px, 100%);
  margin: 72px auto 0;
}
.hero-foto-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: 0 40px 90px -40px rgba(80, 40, 15, .45);
}
.hero-foto-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
  transform: scale(1.06);
  transition: transform 1.6s var(--ease);
}
.hero-foto.in .hero-foto-img img { transform: scale(1); }
.chip-flota {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 18px 40px -18px rgba(60, 30, 10, .45);
  text-align: left;
  font-size: 14px;
  line-height: 1.3;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.hero-foto.in .chip-flota { opacity: 1; transform: none; }
.hero-foto.in .chip-flota.c2 { transition-delay: .2s; }
.hero-foto.in .chip-flota.c3 { transition-delay: .4s; }
.chip-flota strong { display: block; font-size: 15px; }
.chip-flota span { color: var(--ink-2); }
.chip-flota i {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
}
.chip-flota.c1 { left: -28px; top: 14%; }
.chip-flota.c2 { right: -28px; top: 40%; }
.chip-flota.c3 { left: 8%; bottom: -26px; }

/* ---------- Valores ---------- */
.valores {
  max-width: var(--max);
  margin: 0 auto;
  padding: 110px var(--gutter) 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.valor i {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 18px;
}
.valor h3 { font-size: 21px; letter-spacing: -0.025em; margin-bottom: 6px; }
.valor p { color: var(--ink-2); font-size: 16px; }

/* ---------- Manifiesto ---------- */
.statement { height: 220vh; position: relative; }
.statement-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--gutter);
}
.statement-text {
  max-width: 900px;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.statement-text .w { opacity: .15; transition: opacity .25s linear; }
.statement-text .w.on { opacity: 1; }
.statement-text .w.b { color: var(--brand); }

/* ---------- Secciones ---------- */
.section { padding: 120px var(--gutter); }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: var(--dark-ink); }
.section-dark .eyebrow, .section-dark .muted { color: #9d948c; }
.section-head { text-align: center; max-width: 900px; margin: 0 auto 64px; }
.section-head h2 {
  font-size: clamp(36px, 5.6vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 700;
}
.section-head .lead {
  font-size: clamp(19px, 2vw, 21px);
  line-height: 1.4;
  color: var(--ink-2);
  max-width: 640px;
  margin: 20px auto 0;
}

/* ---------- Tiles de servicios ---------- */
.tiles {
  max-width: var(--wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.tile {
  position: relative;
  border-radius: var(--radius-xl);
  min-height: 580px;
  padding: 56px 40px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.tile-wide { grid-column: 1 / -1; min-height: 620px; }
.tile-dark { background: var(--dark); color: var(--dark-ink); }
.tile-light { background: #fff; }
.tile-soft { background: linear-gradient(180deg, #f8f3ee, #efe6dd); }
.tile h3 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
}
.tile-tag { font-size: clamp(18px, 2.2vw, 23px); margin-top: 8px; opacity: .85; }
.tile-text { max-width: 520px; margin: 14px auto 0; color: var(--ink-2); font-size: 17px; }
.tile-dark .tile-text { color: #b5aca4; }
.tile-links { display: flex; gap: 24px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 22px; }
.tile-visual { flex: 1; display: flex; align-items: flex-end; justify-content: center; margin-top: 40px; }

/* Plano que se dibuja (reforma integral) */
.plano { width: min(760px, 100%); margin-bottom: -2px; }
.plano svg { width: 100%; height: auto; }
.plano .muro { fill: none; stroke: #e7d6c8; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 2.4s var(--ease); }
.plano .tabique { fill: none; stroke: #8f7b6c; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.6s var(--ease) .9s; }
.plano .zona { opacity: 0; transition: opacity .9s var(--ease); }
.plano .etq { fill: #c9b9ab; font: 600 13px var(--font); letter-spacing: .02em; opacity: 0; transition: opacity .8s var(--ease) 1.6s; }
.plano .puerta { fill: none; stroke: #c8773d; stroke-width: 2; opacity: 0; transition: opacity .8s var(--ease) 1.8s; }
.reveal.in .plano .muro, .reveal.in .plano .tabique { stroke-dashoffset: 0; }
.reveal.in .plano .zona { opacity: 1; }
.reveal.in .plano .zona:nth-of-type(2) { transition-delay: 1.3s; }
.reveal.in .plano .zona:nth-of-type(3) { transition-delay: 1.5s; }
.reveal.in .plano .zona:nth-of-type(4) { transition-delay: 1.7s; }
.reveal.in .plano .etq, .reveal.in .plano .puerta { opacity: 1; }

/* Foto en tile (cocinas) */
.tile-foto { margin: 40px -40px 0; flex: 1; min-height: 280px; position: relative; overflow: hidden; }
.tile-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; transition: transform 1.4s var(--ease); }
.tile:hover .tile-foto img { transform: scale(1.04); }

/* Azulejos (baños) */
.azulejos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  width: min(380px, 100%);
  margin-bottom: 48px;
}
.azulejos i {
  aspect-ratio: 1;
  border-radius: 7px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .04), 0 2px 6px -3px rgba(80, 40, 15, .25);
  transform: scale(.4);
  opacity: 0;
  transition: transform .6s var(--ease), opacity .6s var(--ease);
  transition-delay: calc(var(--i) * 28ms);
}
.azulejos i.b { background: linear-gradient(135deg, #d99a6c, #a15a2e); }
.azulejos i.c { background: #e9ddd2; }
.reveal.in .azulejos i { transform: none; opacity: 1; }

/* Muestras de pintura */
.muestras { display: flex; gap: 14px; margin-bottom: 0; align-items: flex-end; height: 300px; width: 100%; max-width: 450px; justify-content: center; }
.muestra {
  flex: 0 1 78px;
  min-width: 0;
  border-radius: 14px 14px 0 0;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: rgba(255, 255, 255, .9);
  font-size: 11px;
  font-weight: 600;
  text-align: left;
  height: 40%;
  transition: height 1.2s var(--ease);
  transition-delay: calc(var(--i) * 90ms);
  box-shadow: 0 -10px 30px -18px rgba(0, 0, 0, .35);
}
.reveal.in .muestra { height: var(--h); }

/* Suelo en espiga */
.espiga {
  width: 100%;
  height: 300px;
  margin: 0 -40px;
  width: calc(100% + 80px);
  background-color: #c79367;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,.12) 25%, transparent 25%, transparent 75%, rgba(0,0,0,.08) 75%),
    linear-gradient(-45deg, rgba(0,0,0,.10) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.10) 75%);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(transparent, #000 45%);
  mask-image: linear-gradient(transparent, #000 45%);
}

/* Oficios (albañilería, fontanería, electricidad) */
.oficios { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; padding-bottom: 64px; }
.oficio {
  width: 190px;
  padding: 26px 18px;
  border-radius: 22px;
  background: var(--dark-2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.oficio:nth-child(2) { transition-delay: .12s; }
.oficio:nth-child(3) { transition-delay: .24s; }
.reveal.in .oficio { opacity: 1; transform: none; }
.oficio i {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #c8773d, #8c451b);
  color: #fff;
}
.oficio strong { display: block; font-size: 17px; }
.oficio span { display: block; font-size: 14px; color: #a39a92; margin-top: 4px; }

/* ---------- Cómo trabajamos ---------- */
.obra-wrap {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: center;
}
.pasos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  counter-reset: paso;
}

/* Móvil con el seguimiento de la obra */
.obra-phone {
  width: 300px;
  margin: 0 auto;
  aspect-ratio: 9 / 18.5;
  border-radius: 46px;
  border: 11px solid #1d1d1f;
  background: #fff;
  box-shadow: 0 40px 80px -36px rgba(60, 30, 10, .5), inset 0 0 0 1px rgba(0, 0, 0, .05);
  position: relative;
  overflow: hidden;
}
.obra-phone::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  width: 84px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 20px;
  background: #1d1d1f;
  z-index: 3;
}
.op-screen { position: absolute; inset: 0; padding: 46px 18px 18px; display: flex; flex-direction: column; font-size: 13px; }
.op-top { display: flex; align-items: center; gap: 7px; }
.op-top img { height: 18px; width: auto; }
.op-top b { font-size: 14px; }
.op-estado {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 980px;
  background: var(--brand-soft);
  color: var(--brand);
  transition: background .4s, color .4s;
}
.obra-phone.fin .op-estado { background: #e3f4e8; color: #1e8e3e; }
.op-titulo { font-size: 20px; font-weight: 700; letter-spacing: -0.03em; margin-top: 18px; }
.op-dir { color: var(--ink-3); font-size: 12.5px; }
.op-barra { height: 8px; border-radius: 8px; background: var(--bg-alt); margin-top: 16px; overflow: hidden; }
.op-barra i { display: block; height: 100%; width: var(--pct, 0%); border-radius: 8px; background: var(--grad); transition: width .8s var(--ease); }
.op-pct { margin-top: 7px; color: var(--ink-2); font-size: 12px; }
.op-pct b { color: var(--ink); font-size: 14px; }
.op-lista { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; }
.op-lista li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink-3);
  transition: background .4s, color .4s;
}
.op-lista li i {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--line);
  position: relative;
  transition: background .3s, box-shadow .3s;
}
.op-lista li.curso { background: var(--brand-tint); color: var(--ink); }
.op-lista li.curso i { box-shadow: inset 0 0 0 2px var(--brand); }
.op-lista li.curso i::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--brand);
  animation: latido 1s ease-in-out infinite;
}
@keyframes latido { 50% { transform: scale(.55); opacity: .6; } }
.op-lista li.hecho { color: var(--ink); }
.op-lista li.hecho i { background: var(--brand); box-shadow: none; }
.op-lista li.hecho i::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 5px;
  width: 7px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.op-aviso {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(23, 18, 15, .92);
  color: #fff;
  font-size: 12.5px;
  line-height: 1.3;
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .5);
  transform: translateY(140%);
  transition: transform .6s var(--ease);
}
.op-aviso img { height: 20px; width: auto; flex: none; }
.op-aviso b { display: block; font-size: 13.5px; }
.obra-phone.fin .op-aviso { transform: none; }
.paso {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 26px 32px;
  position: relative;
}
.paso::before {
  counter-increment: paso;
  content: counter(paso);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 20px;
}
.paso h3 { font-size: 21px; letter-spacing: -0.025em; margin-bottom: 8px; }
.paso p { color: var(--ink-2); font-size: 16px; }

/* ---------- Nosotros ---------- */
.nosotros {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.nosotros-logo {
  border-radius: var(--radius-xl);
  background: #fff;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 12%;
  box-shadow: 0 30px 70px -40px rgba(80, 40, 15, .35);
}
.nosotros-logo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.nosotros-copy h2 {
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.07;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
}
.nosotros-copy p { color: var(--ink-2); font-size: 18px; margin-bottom: 16px; }
.nosotros-datos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.nosotros-datos div { background: var(--bg-alt); border-radius: var(--radius-md); padding: 16px; }
.nosotros-datos strong { display: block; font-size: 22px; letter-spacing: -0.03em; color: var(--brand); }
.nosotros-datos div > span { font-size: 13.5px; color: var(--ink-2); line-height: 1.3; display: block; margin-top: 2px; }

/* ---------- Zona de trabajo ---------- */
.zonas { max-width: 860px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.zonas span {
  padding: 10px 18px;
  border-radius: 980px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 15px;
}
.zonas span.principal { background: var(--brand); color: #fff; box-shadow: none; font-weight: 600; }

/* ---------- Preguntas frecuentes ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 40px 24px 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink-3);
  border-bottom: 2px solid var(--ink-3);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 40px 26px 0; color: var(--ink-2); font-size: 17px; }

/* ---------- CTA final ---------- */
.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 140px var(--gutter);
  background: var(--dark);
  color: var(--dark-ink);
}
.cta .cta-glow { top: 50%; transform: translate(-50%, -50%); animation: none; opacity: .9; }
.cta > *:not(.cta-glow) { position: relative; }
.cta h2 {
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  max-width: 900px;
  margin: 0 auto;
}
.cta p { color: #b5aca4; font-size: clamp(18px, 2vw, 21px); max-width: 600px; margin: 22px auto 0; }
.cta .hero-ctas { margin-top: 38px; }
.cta-contacto { margin-top: 40px; display: flex; gap: 12px 30px; justify-content: center; flex-wrap: wrap; font-size: 15px; color: #b5aca4; }
.cta-contacto a { color: var(--dark-ink); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); color: var(--ink-2); font-size: 12px; line-height: 1.4; letter-spacing: -0.01em; }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 44px var(--gutter) 22px; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; padding-bottom: 28px; }
.footer-marca { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.footer-marca img { height: 26px; width: auto; }
.footer-marca span { font-weight: 800; letter-spacing: .06em; color: var(--brand); font-size: 15px; }
.footer h4 { color: var(--ink); font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.footer-cols a { display: block; color: var(--ink-2); margin-bottom: 8px; }
.footer-cols a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.footer-ver { color: var(--ink-3); }

/* ---------- Páginas de servicio ---------- */
.migas { font-size: 13px; color: var(--ink-3); margin-bottom: 20px; }
.migas a { color: var(--ink-2); }
.migas span { margin: 0 4px; }
.hero-title-s { font-size: clamp(38px, 7vw, 76px); max-width: 1000px; margin: 0 auto; }
.servicio-visual { padding-top: 72px; padding-bottom: 0; }
.servicio-tile { max-width: var(--wide); margin: 0 auto; min-height: 420px; padding-top: 40px; }
.servicio-tile .tile-foto { margin: -40px -40px 0; min-height: 460px; }
.incluye {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.incluye-item { background: #fff; border-radius: var(--radius-lg); padding: 26px; display: flex; gap: 14px; }
.incluye-item i {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
}
.incluye-item h3 { font-size: 18px; letter-spacing: -0.02em; margin-bottom: 4px; }
.incluye-item p { color: var(--ink-2); font-size: 15.5px; }
.pasos-4 { max-width: var(--max); margin: 0 auto; grid-template-columns: repeat(4, 1fr); }
.otros-servicios { padding-top: 80px; padding-bottom: 80px; }
.otros { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.otro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  color: var(--ink);
  font-weight: 600;
  transition: background .2s;
}
.otro span { color: var(--brand); font-size: 20px; }
.otro:hover { background: var(--brand-soft); }

/* ---------- Páginas legales ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 130px var(--gutter) 100px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.04em; line-height: 1.06; margin-bottom: 36px; }
.legal-texto h2 { font-size: 22px; letter-spacing: -0.02em; margin: 34px 0 10px; }
.legal-texto p, .legal-texto li { color: var(--ink-2); }
.legal-texto ul { padding-left: 20px; display: grid; gap: 6px; }
.legal-texto .muted { margin-top: 40px; font-size: 14px; }

/* WhatsApp flotante (todas las páginas menos el presupuesto) */
.wa-flota {
  position: fixed;
  right: calc(22px + env(safe-area-inset-right, 0px));
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  z-index: 41;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(18, 140, 70, .65);
  transition: transform .25s var(--ease), background .2s;
}
.wa-flota:hover { background: #1ebe5b; transform: scale(1.06); }
.wa-flota:active { transform: scale(.95); }

/* Botón flotante de presupuesto (móvil) */
.fab {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 40;
  display: none;
  box-shadow: 0 14px 34px -12px rgba(140, 69, 27, .6);
  transform: translateY(120%);
  transition: transform .4s var(--ease);
}
.fab.visible { transform: none; }

/* ---------- Animación de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1068px) {
  .valores { grid-template-columns: repeat(2, 1fr); }
  .obra-wrap { grid-template-columns: 1fr; gap: 56px; }
  .incluye { grid-template-columns: repeat(2, 1fr); }
  .pasos-4 { grid-template-columns: repeat(2, 1fr); }
  .obra-phone { width: min(290px, 100%); }
  .chip-flota.c1 { left: 12px; }
  .chip-flota.c2 { right: 12px; }
}
@media (max-width: 834px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 52px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 28px 28px;
    background: rgba(251, 250, 248, .98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav.open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { font-size: 22px; font-weight: 600; opacity: 1; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links .nav-cta { margin-top: 20px; text-align: center; font-size: 17px; padding: 14px; border: 0; }
  .tiles { grid-template-columns: 1fr; }
  .tile, .tile-wide { min-height: 0; padding: 48px 26px 0; }
  .tile-foto { margin: 34px -26px 0; min-height: 300px; }
  .espiga { margin: 0 -26px; width: calc(100% + 52px); height: 220px; }
  .muestras { height: 240px; gap: 10px; }
  .nosotros { grid-template-columns: 1fr; gap: 40px; }
  .nosotros-logo { max-width: 420px; width: 100%; margin: 0 auto; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-cols > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .hero { padding-top: 112px; }
  .hero-foto { margin-top: 48px; }
  .hero-foto-img { aspect-ratio: 4 / 5; border-radius: 22px; }
  .hero-foto-img img { object-position: 40% 60%; }
  .chip-flota { font-size: 12.5px; padding: 9px 13px 9px 9px; gap: 9px; border-radius: 14px; }
  .chip-flota strong { font-size: 13.5px; }
  .chip-flota i { width: 32px; height: 32px; border-radius: 9px; }
  .chip-flota.c1 { left: 10px; top: 16px; }
  .chip-flota.c2 { right: 10px; top: auto; bottom: 86px; }
  .chip-flota.c3 { left: 10px; bottom: 16px; }
  .valores { grid-template-columns: 1fr; gap: 28px; padding-top: 80px; }
  .valor { display: grid; grid-template-columns: 44px 1fr; gap: 0 16px; }
  .valor i { grid-row: span 2; margin: 0; }
  .section { padding: 84px var(--gutter); }
  .section-head { margin-bottom: 44px; }
  .pasos, .pasos-4, .incluye { grid-template-columns: 1fr; }
  .servicio-visual { padding-top: 48px; }
  .servicio-tile { min-height: 300px; padding-top: 30px; }
  .servicio-tile .tile-foto { margin: -30px -26px 0; min-height: 360px; }
  .legal { padding-top: 100px; }
  .statement { height: 180vh; }
  .azulejos { gap: 4px; }
  .oficios { gap: 10px; padding-bottom: 40px; }
  .oficio { width: 100%; display: grid; grid-template-columns: 52px 1fr; gap: 0 14px; text-align: left; align-items: center; padding: 16px; }
  .oficio i { margin: 0; grid-row: span 2; }
  .nosotros-datos { grid-template-columns: 1fr; }
  .nosotros-datos div { display: flex; align-items: baseline; gap: 10px; }
  .faq summary { font-size: 18px; padding: 20px 34px 20px 0; }
  .cta { padding: 100px var(--gutter) 120px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .fab { display: flex; }
  .fab { right: 80px; }
  .wa-flota { width: 52px; height: 52px; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  .wa-flota svg { width: 26px; height: 26px; }
  .btn-lg { white-space: normal; text-align: center; max-width: 100%; }
  .footer { padding-bottom: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .statement { height: auto; }
  .statement-sticky { position: static; height: auto; padding: 120px var(--gutter); }
  .statement-text .w { opacity: 1; }
}
