/* ==========================================================================
   Fenster Design — landing /cotiza/
   1. Tipografía   2. Tokens    3. Base        4. Botones
   5. Encabezado   6. Hero      7. Secciones   8. Proyectos
   9. Proceso     10. Comparación  11. Confianza / Zona
  12. CTA         13. Formulario   14. Pie      15. WhatsApp fijo
  16. Visor       17. Movimiento
   Mobile primero: lo que está sin @media es el teléfono.
   ========================================================================== */

/* 1. TIPOGRAFÍA ------------------------------------------------------------
   Los mismos archivos que usa el sitio principal: si el visitante ya lo vio,
   ya están en caché. Solo Inter: una familia, cero descargas extra. */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  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;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* 2. TOKENS ---------------------------------------------------------------- */
:root {
  --grafito: #121416;
  --grafito-2: #1c1f22;
  --blanco: #ffffff;
  --piedra: #f4f3f0;
  --piedra-2: #e9e7e2;
  --texto: #121416;
  --suave: #5a5f64;                       /* sobre blanco 6.5:1, sobre piedra 5.9:1 */
  --linea: rgba(18, 20, 22, 0.14);
  --linea-clara: rgba(255, 255, 255, 0.2);
  --sobre-oscuro: rgba(255, 255, 255, 0.74);
  --acento: #d93033;                      /* el rojo del logo. Solo detalles, nunca botones */
  --wa: #25d366;                          /* verde de WhatsApp: texto oscuro encima (9.3:1) o solo sobre grafito */
  --wa-fondo: #1da851;                    /* versión más honda: ícono blanco encima (3.1:1) o ícono sobre blanco */

  --fuente: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gut: clamp(20px, 5vw, 72px);
  --max: 1360px;
  --r: 2px;                               /* casi recto: se ve arquitectónico, no de app */
  --alto-top: 64px;
  --pad: clamp(72px, 11vw, 152px);
  --curva: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 3. BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--alto-top) + 12px);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--blanco);
  color: var(--texto);
  font-family: var(--fuente);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;                       /* 'clip' y no 'hidden': hidden rompe position:sticky */
  padding-bottom: calc(68px + env(safe-area-inset-bottom));   /* espacio para la barra inferior */
}

[hidden] { display: none !important; }   /* si no, un display:grid de abajo anula el atributo hidden */

h1, h2, h3, p, ul, ol, figure, dl { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
p { text-wrap: pretty; }
img, picture { display: block; max-width: 100%; }
.valor__foto picture, .mat__foto picture, .proy__foto picture { width: 100%; height: 100%; }   /* sin esto, la foto no llena su marco */
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--acento); outline-offset: 3px; }
::selection { background: var(--grafito); color: var(--blanco); }

.vh {                                     /* texto solo para lectores de pantalla */
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.salto {
  position: absolute; left: 16px; top: -80px; z-index: 300;
  background: var(--blanco); color: var(--grafito); padding: 12px 18px; font-weight: 500;
}
.salto:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* Tipografía de sección */
h2 {
  font-size: clamp(2rem, 1.2rem + 3.6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.032em;
}
h3 { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); line-height: 1.25; letter-spacing: -0.015em; }
.lead { font-size: clamp(1.05rem, 0.98rem + 0.45vw, 1.25rem); line-height: 1.55; color: var(--suave); }

.etiqueta {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--suave);
}
.etiqueta::before { content: ""; width: 20px; height: 2px; background: var(--acento); }

.seccion { padding-block: var(--pad); }
.cabecera { display: grid; gap: 20px; max-width: 46rem; margin-bottom: clamp(40px, 6vw, 80px); }
.cabecera .etiqueta { margin-bottom: 4px; }

/* 4. BOTONES ---------------------------------------------------------------
   Grafito o blanco: el botón se distingue por contraste, no por color chillón. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 28px;
  border: 1px solid transparent; border-radius: var(--r);
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.005em; line-height: 1.2; text-align: center;
  cursor: pointer;
  transition: background-color 0.25s var(--curva), color 0.25s var(--curva), border-color 0.25s var(--curva);
}
.btn .ico:last-child:not(:first-child) { transition: transform 0.3s var(--curva); width: 1em; height: 1em; }
.btn:hover .ico:last-child:not(:first-child) { transform: translateX(4px); }

.btn--claro   { background: var(--blanco); color: var(--grafito); }
.btn--claro:hover { background: var(--piedra-2); }
.btn--oscuro  { background: var(--grafito); color: var(--blanco); }
.btn--oscuro:hover { background: #000; }
.btn--linea   { background: transparent; color: var(--blanco); border-color: rgba(255, 255, 255, 0.55); }
.btn--linea:hover { background: var(--blanco); color: var(--grafito); border-color: var(--blanco); }

/* El ícono de WhatsApp lleva su verde: se reconoce al instante y el resto sigue en grafito y blanco. */
.btn--claro > .ico:first-child { color: var(--wa-fondo); }
.btn--oscuro > .ico:first-child { color: var(--wa); }

.btn--sm      { min-height: 40px; padding: 0 16px; font-size: 0.875rem; gap: 8px; }
.btn--grande  { min-height: 60px; padding: 0 32px; font-size: 1rem; }
.btn--enorme  { min-height: 64px; padding: 0 36px; font-size: 1.05rem; }
.btn--bloque  { width: 100%; }

.enlace {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 0.95rem; padding-block: 10px;
  border-bottom: 1px solid currentColor; align-self: flex-start;
}
.enlace .ico { width: 1em; height: 1em; transition: transform 0.3s var(--curva); }
.enlace:hover .ico { transform: translateX(4px); }

/* 5. ENCABEZADO ------------------------------------------------------------ */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--alto-top);
  color: var(--blanco);
  transition: background-color 0.3s var(--curva), backdrop-filter 0.3s var(--curva);
}
.top.solido { background: rgba(18, 20, 22, 0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.top__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top__logo img { width: 108px; height: auto; }
.top__nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 32px); }
.top__enlace { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.9rem; font-weight: 500; opacity: 0.9; }
.top__enlace:hover { opacity: 1; }

/* 6. HERO ------------------------------------------------------------------ */
.hero {
  /* Teléfono y tablet: la foto va arriba, completa, y se funde a grafito donde
     empieza el texto. Así se ve la fachada en lugar de un acercamiento tapado. */
  --foto: clamp(340px, 58svh, 640px);
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--grafito); color: var(--blanco);
  padding: calc(var(--foto) - 150px) 0 clamp(24px, 4vh, 40px);
}
.hero__foto, .hero__foto img, .hero__velo { position: absolute; left: 0; top: 0; width: 100%; height: var(--foto); }
.hero__foto { z-index: -2; }
.hero__foto img { object-fit: cover; object-position: 50% 30%; }
.hero__velo {
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(18, 20, 22, 0.55) 0%, rgba(18, 20, 22, 0) 24%),
    linear-gradient(to bottom, rgba(18, 20, 22, 0) 48%, var(--grafito) 100%);
}
.hero__cuerpo { display: grid; gap: 0; }

h1 { display: grid; gap: 18px; }
.h1__seo {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--sobre-oscuro); line-height: 1.5; max-width: 30ch;
}
.h1__claim {
  font-size: clamp(2.15rem, 1rem + 5.4vw, 5rem);
  font-weight: 500; line-height: 1.02; letter-spacing: -0.038em; text-wrap: balance;
  max-width: 14ch;
}
.h1__claim em { font-style: normal; color: rgba(255, 255, 255, 0.62); }

.hero__sub {
  margin-top: 24px; max-width: 34rem;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem); line-height: 1.55; color: var(--sobre-oscuro);
}
.hero__cta { margin-top: 32px; display: grid; gap: 12px; }
.hero__pie {
  margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--linea-clara);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px;
  font-size: 0.8125rem; letter-spacing: 0.03em; color: var(--sobre-oscuro);
}
.hero__lugar { display: flex; align-items: center; gap: 8px; }
.hero__lugar::before { content: ""; width: 6px; height: 6px; background: var(--acento); border-radius: 50%; }

/* 7. SECCIONES DE CONTENIDO ------------------------------------------------ */

/* 7a. Propuesta de valor */
.valor__rejilla { display: grid; gap: 40px; }
.valor__foto { overflow: hidden; border-radius: var(--r); background: var(--piedra-2); aspect-ratio: 5 / 4; }
.valor__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.valor__texto { display: grid; gap: 24px; align-content: start; }
.valor__texto h2 { max-width: 16ch; }
.valor__parrafos { display: grid; gap: 14px; max-width: 34rem; color: var(--suave); font-size: 1.0625rem; }

.beneficios { margin-top: 12px; }
.beneficio {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start;
  padding-block: 26px; border-top: 1px solid var(--linea);
}
.beneficio:last-child { border-bottom: 1px solid var(--linea); }
.dib { width: 56px; height: 56px; color: var(--grafito); }
.beneficio h3 { margin-bottom: 6px; }
.beneficio p { color: var(--suave); font-size: 0.975rem; max-width: 32rem; }

/* 7b. PVC vs aluminio */
.materiales { background: var(--piedra); }
.duo { display: grid; gap: clamp(48px, 7vw, 32px); }
.mat { display: flex; flex-direction: column; }
.mat__foto { position: relative; overflow: hidden; border-radius: var(--r); background: var(--piedra-2); aspect-ratio: 4 / 3; margin-bottom: 28px; }
.mat__foto img { width: 100%; height: 100%; object-fit: cover; }
.mat__foto figcaption {
  position: absolute; left: 0; bottom: 0; padding: 8px 14px;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em;
  background: rgba(18, 20, 22, 0.78); color: var(--blanco);
}
.mat__tipo {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--suave);
  margin-bottom: 8px;
}
.mat h3 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 24px; }
.mat__lista li { padding-block: 13px; border-top: 1px solid var(--linea); font-size: 1.0125rem; }
.mat__lista li:last-child { border-bottom: 1px solid var(--linea); }
.mat__ideal-t {
  margin-top: 26px; margin-bottom: 12px;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--suave);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chips li {
  padding: 7px 14px; border: 1px solid var(--linea); border-radius: 999px;
  font-size: 0.875rem; background: var(--blanco);
}
.asesoria {
  margin-top: clamp(56px, 8vw, 96px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--linea);
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
}
.asesoria p { font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem); font-weight: 500; letter-spacing: -0.02em; }

/* 8. PROYECTOS ------------------------------------------------------------- */
.galeria { display: grid; gap: 44px; }
.proy__foto {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  overflow: hidden; border-radius: var(--r); background: var(--piedra-2); text-align: left;
  aspect-ratio: 4 / 3;
}
.proy--b .proy__foto { aspect-ratio: 4 / 5; }
.proy__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--curva); }
.proy__foto:hover img { transform: scale(1.035); }
.proy__ver {
  position: absolute; right: 12px; bottom: 12px; padding: 8px 14px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em;
  background: var(--blanco); color: var(--grafito); border-radius: var(--r);
}
.proy__pie { padding-top: 18px; display: grid; gap: 2px; }
.proy__pie h3 { font-size: 1.3125rem; }
.proy__lugar { color: var(--suave); font-size: 0.9375rem; }
.proy__mat { font-size: 0.9375rem; font-weight: 500; margin-top: 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.proy__estado {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 500; color: var(--suave); letter-spacing: 0.04em;
}
.proy__estado::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--acento); }

/* 9. PROCESO --------------------------------------------------------------- */
.proceso { background: var(--grafito); color: var(--blanco); }
.cabecera--oscura .etiqueta { color: var(--sobre-oscuro); }
.pasos { display: grid; gap: 0; }
.paso { padding-block: 28px; border-top: 1px solid var(--linea-clara); position: relative; }
.paso::before { content: ""; position: absolute; top: -1px; left: 0; width: 32px; height: 2px; background: var(--acento); }
.paso__n { display: block; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.12em; color: var(--sobre-oscuro); margin-bottom: 20px; font-variant-numeric: tabular-nums; }
.paso h3 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.4rem); letter-spacing: -0.03em; margin-bottom: 12px; }
.paso p { color: var(--sobre-oscuro); max-width: 26ch; }
.proceso__cierre {
  margin-top: clamp(48px, 7vw, 96px);
  font-size: clamp(1.5rem, 1rem + 2.4vw, 2.75rem); line-height: 1.12; letter-spacing: -0.028em; font-weight: 500;
  max-width: 22ch;
}

/* 10. COMPARACIÓN ---------------------------------------------------------- */
.comp { width: 100%; border-collapse: separate; border-spacing: 0; }
.comp th, .comp td { text-align: left; vertical-align: top; }
.comp thead { display: none; }                         /* en teléfono, cada fila lleva sus propias etiquetas */
.comp tbody, .comp tr { display: block; }
.comp tr { padding-block: 24px; border-top: 1px solid var(--linea); }
.comp tbody th { display: block; font-size: 1.125rem; font-weight: 500; margin-bottom: 12px; letter-spacing: -0.01em; }
.comp td { display: block; padding: 0; color: var(--suave); font-size: 0.975rem; }
.comp td::before {
  content: attr(data-l); display: block; margin-bottom: 2px;
  font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85;
}
.comp td.fen {
  margin-top: 10px; padding: 14px 16px; border-radius: var(--r);
  background: var(--grafito); color: var(--blanco); font-weight: 500;
}
.comp td.fen::before { color: var(--sobre-oscuro); }

.config { margin-top: clamp(48px, 7vw, 88px); }
.config__t { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--suave); margin-bottom: 18px; }
.config__lista { display: grid; gap: 0; }
.config__lista li {
  display: flex; flex-direction: column; gap: 4px;
  padding-block: 18px; border-top: 1px solid var(--linea);
}
.config__lista li:last-child { border-bottom: 1px solid var(--linea); }
.config__lista span { color: var(--suave); font-size: 0.9375rem; }
.config__lista strong { font-weight: 500; font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem); letter-spacing: -0.015em; }

/* 11. CONFIANZA / ZONA ----------------------------------------------------- */
.prueba { background: var(--piedra); }
.cifras { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; margin-bottom: clamp(40px, 6vw, 72px); }
.cifras li { padding-top: 16px; border-top: 1px solid var(--linea); }
.cifras strong { display: block; font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem); font-weight: 500; letter-spacing: -0.035em; line-height: 1; }
.cifras span { display: block; margin-top: 8px; font-size: 0.875rem; color: var(--suave); }

.prueba__cuerpo { display: grid; gap: clamp(44px, 6vw, 72px); }
.prueba__bloque h3 {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--suave);
  margin-bottom: 22px;
}
.ciudades li {
  padding-block: 14px; border-top: 1px solid var(--linea);
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem); font-weight: 500; letter-spacing: -0.02em;
}
.ciudades li:last-child { border-bottom: 1px solid var(--linea); }
.logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--linea); border: 1px solid var(--linea); }
.logos li { background: var(--piedra); display: flex; align-items: center; justify-content: center; min-height: 96px; padding: 18px 20px; }
.logos img { max-width: 100%; max-height: 56px; width: auto; height: auto; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: 0.72; }
.logos__texto { font-weight: 600; letter-spacing: -0.01em; font-size: 1.125rem; color: var(--suave); }

.testimonios { margin-top: clamp(48px, 7vw, 88px); display: grid; gap: 32px; }
.testimonio { padding-top: 20px; border-top: 1px solid var(--linea); }
.testimonio blockquote { margin: 0; font-size: clamp(1.15rem, 1rem + 0.8vw, 1.5rem); line-height: 1.4; letter-spacing: -0.015em; font-weight: 500; }
.testimonio figcaption { margin-top: 14px; font-size: 0.875rem; color: var(--suave); }

.zonas { display: grid; grid-template-columns: 1fr; }
.zonas li {
  padding-block: 16px; border-top: 1px solid var(--linea);
  font-size: clamp(1.4rem, 1rem + 1.8vw, 2.4rem); font-weight: 500; letter-spacing: -0.028em; line-height: 1.15;
}
.zonas li:last-child { border-bottom: 1px solid var(--linea); }
.zona__pie { margin-top: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.zona__pie p { color: var(--suave); font-size: 1.0625rem; max-width: 34rem; }

/* 12. CTA PRINCIPAL -------------------------------------------------------- */
.cta {
  position: relative; isolation: isolate; overflow: hidden; color: var(--blanco);
  background: var(--grafito); padding-block: clamp(96px, 16vw, 220px);
}
.cta__foto, .cta__foto img { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta__foto { z-index: -2; }
.cta__foto img { object-fit: cover; object-position: 50% 45%; }
.cta__velo { position: absolute; inset: 0; z-index: -1; background: rgba(14, 16, 18, 0.72); }
.cta__cuerpo { display: grid; gap: 0; justify-items: start; }
.cta__medida { width: min(100%, 26rem); height: 24px; color: rgba(255, 255, 255, 0.6); margin-bottom: 36px; }
.cta h2 { font-size: clamp(2.4rem, 1.2rem + 6.4vw, 6.25rem); line-height: 1; letter-spacing: -0.04em; max-width: 13ch; }
.cta__texto { margin-top: 28px; max-width: 36rem; font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.25rem); line-height: 1.55; color: var(--sobre-oscuro); }
.cta__botones { margin-top: 40px; display: grid; gap: 12px; width: 100%; }
.cta__nota { margin-top: 24px; font-size: 0.9375rem; color: var(--sobre-oscuro); }

/* 13. FORMULARIO ----------------------------------------------------------- */
.formulario { background: var(--piedra); }
.formulario__rejilla { display: grid; gap: 40px; }
.formulario__intro { display: grid; gap: 20px; align-content: start; }
.formulario__intro h2 { max-width: 12ch; }
.formulario__intro .lead { max-width: 30rem; }
.formulario__caja { background: var(--blanco); padding: clamp(24px, 4vw, 48px); border-radius: var(--r); }

.form { display: grid; gap: 20px; }
.campo { display: grid; gap: 8px; }
.campo label { font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.02em; }
.opcional { color: var(--suave); font-weight: 400; }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: 54px; padding: 14px 16px;
  font: inherit; font-size: 1rem;              /* 16px mínimo: por debajo, iOS hace zoom al enfocar */
  color: var(--texto); background: var(--blanco);
  border: 1px solid #b9bcbf; border-radius: var(--r);
  transition: border-color 0.2s var(--curva), box-shadow 0.2s var(--curva);
  appearance: none; -webkit-appearance: none;
}
.campo select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23121416' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.campo textarea { resize: vertical; min-height: 96px; }
.campo input:hover, .campo select:hover, .campo textarea:hover { border-color: var(--grafito); }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--grafito); box-shadow: 0 0 0 3px rgba(18, 20, 22, 0.14); }
.campo input[aria-invalid="true"] { border-color: var(--acento); }
.campo__error { font-size: 0.8125rem; color: #b3201f; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__aviso { min-height: 1.2em; margin-top: 12px; font-size: 0.875rem; color: #b3201f; }
.form__legal { margin-top: 6px; font-size: 0.8125rem; color: var(--suave); line-height: 1.5; }
.hecho { display: grid; gap: 16px; justify-items: start; padding-block: 8px; }
.hecho h3 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.4rem); letter-spacing: -0.03em; }
.hecho p { color: var(--suave); max-width: 30rem; }
.hecho:focus { outline: none; }

/* 14. PIE ------------------------------------------------------------------ */
.pie { background: var(--grafito); color: var(--sobre-oscuro); padding-block: 48px 40px; font-size: 0.9375rem; }
.pie__in { display: grid; gap: 14px; justify-items: start; }
.pie__in img { width: 132px; height: auto; margin-bottom: 10px; }
.pie a { border-bottom: 1px solid rgba(255, 255, 255, 0.35); }
.pie a:hover { color: var(--blanco); border-color: var(--blanco); }
.pie__copy { margin-top: 10px; font-size: 0.8125rem; opacity: 0.7; }

/* 15. WHATSAPP SIEMPRE A LA MANO -------------------------------------------
   Teléfono: barra inferior "WhatsApp | Cotizar". Pantalla grande: botón flotante. */
.barra {
  position: fixed; inset: auto 0 0 0; z-index: 90;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(18, 20, 22, 0.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--linea-clara);
}
.barra a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; border-radius: var(--r); font-weight: 600; font-size: 0.975rem;
}
.barra__wa { background: var(--wa); color: var(--grafito); }
.barra__cotizar { color: var(--blanco); border: 1px solid rgba(255, 255, 255, 0.5); }
.flotante { display: none; }

/* 16. VISOR A PANTALLA COMPLETA -------------------------------------------- */
.visor {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: #0b0c0d; color: var(--blanco); overflow: hidden;
}
.visor[open] { display: grid; grid-template-rows: auto 1fr; }
.visor::backdrop { background: #0b0c0d; }
.visor__barra {
  display: flex; align-items: center; gap: 16px; padding: 12px 12px 12px 20px; z-index: 2;
}
.visor__titulo { flex: 1; font-weight: 500; font-size: 0.9375rem; }
.visor__cuenta { font-size: 0.8125rem; color: var(--sobre-oscuro); font-variant-numeric: tabular-nums; }
.visor__cerrar, .visor__nav {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.1); border: 0; border-radius: 50%; color: var(--blanco);
  transition: background-color 0.2s var(--curva);
}
.visor__cerrar:hover, .visor__nav:hover { background: rgba(255, 255, 255, 0.22); }
.visor svg { width: 22px; height: 22px; }
.visor__fig { display: grid; grid-template-rows: 1fr auto; place-items: center; min-height: 0; padding: 0 16px 16px; gap: 12px; }
.visor__fig img {
  max-width: 100%; max-height: 100%; min-height: 0; width: auto; height: auto; object-fit: contain;
  align-self: center;
}
.visor__fig figcaption { font-size: 0.875rem; color: var(--sobre-oscuro); text-align: center; max-width: 60ch; min-height: 1.4em; }
.visor__nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; background: rgba(0, 0, 0, 0.45); }
.visor__nav--izq { left: 10px; }
.visor__nav--der { right: 10px; }
html.visor-abierto { overflow: hidden; }

/* 17. MOVIMIENTO -----------------------------------------------------------
   Todo se ve sin JavaScript y sin animación. Solo si el visitante lo permite
   (clase 'anim', puesta en <head>) las secciones aparecen con un fundido corto. */
.anim .rv { opacity: 0; transform: translateY(14px); transition: opacity 0.8s var(--curva), transform 0.8s var(--curva); }
.anim .rv.in { opacity: 1; transform: none; }

/* ==========================================================================
   TABLET Y ESCRITORIO
   ========================================================================== */

@media (min-width: 700px) {
  .hero__cta { grid-template-columns: auto auto; justify-content: start; gap: 14px; }
  .cta__botones { grid-template-columns: auto auto; justify-content: start; gap: 14px; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .galeria { grid-template-columns: 1fr 1fr; gap: 48px 24px; }
  .proy--b .proy__foto { aspect-ratio: 4 / 3; }
  .pasos { grid-template-columns: repeat(2, 1fr); column-gap: 32px; }
  .zonas { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
  .zonas li:nth-last-child(2) { border-bottom: 1px solid var(--linea); }   /* cierra las dos columnas */
  .cifras { grid-template-columns: repeat(4, 1fr); }
  .config__lista { grid-template-columns: repeat(3, 1fr); column-gap: 32px; border-bottom: 1px solid var(--linea); }
  .config__lista li, .config__lista li:last-child { border-bottom: 0; }
  .testimonios { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}

@media (min-width: 900px) {
  :root { --alto-top: 76px; }
  body { padding-bottom: 0; }
  .barra { display: none; }
  .top__logo img { width: 132px; }

  /* Hero: foto a pantalla completa, texto a la izquierda sobre un velo lateral;
     la fachada respira a la derecha. */
  .hero {
    min-height: max(100svh, 620px);
    display: flex; align-items: flex-end;
    padding: calc(var(--alto-top) + 48px) 0 clamp(32px, 6vh, 64px);
  }
  .hero__foto, .hero__foto img, .hero__velo { height: 100%; }
  .hero__foto img { object-position: 60% 38%; }
  .hero__velo {
    background:
      linear-gradient(90deg, rgba(18, 20, 22, 0.78) 0%, rgba(18, 20, 22, 0.42) 46%, rgba(18, 20, 22, 0) 74%),
      linear-gradient(to top, rgba(18, 20, 22, 0.55) 0%, rgba(18, 20, 22, 0) 38%),
      linear-gradient(to bottom, rgba(18, 20, 22, 0.4) 0%, rgba(18, 20, 22, 0) 20%);
  }
  .hero__pie { margin-top: 56px; padding-right: 88px; }   /* deja libre el botón flotante de WhatsApp */

  .valor__rejilla { grid-template-columns: 5fr 6fr; gap: clamp(56px, 8vw, 128px); align-items: start; }
  .valor__foto { aspect-ratio: 4 / 5; position: sticky; top: calc(var(--alto-top) + 24px); }
  .valor__foto img { object-position: 50% 50%; }

  .duo { grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 64px); }
  .asesoria { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; }

  .galeria { grid-template-columns: repeat(12, 1fr); column-gap: clamp(24px, 3vw, 48px); row-gap: clamp(56px, 6vw, 96px); align-items: start; }
  .proy--a { grid-column: 1 / span 7; }
  .proy--b { grid-column: 8 / span 5; }
  .proy--c { grid-column: 1 / span 5; }
  .proy--d { grid-column: 6 / span 7; }
  .proy--e { grid-column: 1 / span 6; }
  .proy--f { grid-column: 7 / span 6; }
  /* Alturas parejas por fila: la foto vertical y la horizontal comparten la misma altura. */
  .proy--a .proy__foto { aspect-ratio: auto; height: clamp(320px, 38vw, 600px); }
  .proy--b .proy__foto { aspect-ratio: auto; height: clamp(320px, 38vw, 600px); }
  .proy--c .proy__foto, .proy--d .proy__foto { aspect-ratio: auto; height: clamp(300px, 30vw, 480px); }
  .proy--e .proy__foto, .proy--f .proy__foto { aspect-ratio: auto; height: clamp(300px, 30vw, 480px); }

  .pasos { grid-template-columns: repeat(4, 1fr); column-gap: clamp(20px, 3vw, 48px); }

  /* Comparación: tabla real de tres columnas, con la columna de Fenster destacada. */
  .comp thead { display: table-header-group; }
  .comp tbody { display: table-row-group; }
  .comp tr { display: table-row; padding: 0; border: 0; }
  .comp th, .comp td { display: table-cell; padding: 22px 28px; border-top: 1px solid var(--linea); }
  .comp thead th {
    font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--suave);
    border-top: 0; padding-bottom: 18px;
  }
  .comp thead th:first-child { width: 20%; }
  .comp tbody th { margin: 0; font-size: 1rem; }
  .comp td { font-size: 1rem; width: 36%; }
  .comp td::before { display: none; }
  .comp thead th.fen { background: var(--grafito); color: var(--blanco); border-radius: var(--r) var(--r) 0 0; padding-top: 22px; }
  .comp td.fen { margin: 0; padding: 22px 28px; border-radius: 0; background: var(--grafito); color: var(--blanco); border-top-color: rgba(255, 255, 255, 0.14); }
  .comp tbody tr:last-child td.fen { border-radius: 0 0 var(--r) var(--r); }

  .prueba__cuerpo { grid-template-columns: 4fr 7fr; gap: clamp(48px, 8vw, 128px); align-items: start; }
  .logos { grid-template-columns: repeat(3, 1fr); }

  .zonas { grid-template-columns: repeat(3, 1fr); }
  .zonas li:nth-last-child(2) { border-bottom: 0; }
  .zonas li:nth-last-child(-n+3) { border-bottom: 1px solid var(--linea); }
  .zona__pie { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; }

  .formulario__rejilla { grid-template-columns: 5fr 7fr; gap: clamp(48px, 8vw, 128px); align-items: start; }
  .form { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .campo--ancho { grid-column: 1 / -1; }

  .pie__in { grid-template-columns: 1fr auto auto; align-items: center; column-gap: 48px; }
  .pie__in img { margin: 0; }
  .pie__copy { margin: 0; }

  /* Pantalla grande: WhatsApp flotante, siempre a la vista. */
  .flotante {
    position: fixed; right: clamp(20px, 2.4vw, 36px); bottom: clamp(20px, 2.4vw, 36px); z-index: 90;
    display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
    background: var(--wa-fondo); color: var(--blanco);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.92), 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s var(--curva), background-color 0.3s var(--curva);
  }
  .flotante:hover { transform: translateY(-3px); background: #17963f; }
  .flotante .ico { width: 28px; height: 28px; }

  .visor__fig { padding: 0 72px 24px; }
  .visor__nav--izq { left: 20px; }
  .visor__nav--der { right: 20px; }
}

@media (min-width: 1400px) {
  .beneficio { grid-template-columns: 64px 1fr; }
  .dib { width: 64px; height: 64px; }
}

/* Teléfonos muy angostos */
@media (max-width: 359px) {
  .top__enlace { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

@media print {
  .top, .barra, .flotante, .visor { display: none !important; }
}
