/* Grupo Level Construcciones: slate and gold from their logo, Montserrat like their posts. */
:root {
  --slate: #2b2f37;
  --slate-2: #353a44;
  --ink: #1d2026;
  --gold: #f7af03;
  --gold-dark: #d99700;
  --paper: #f3f1ec;
  --white: #ffffff;
  --text: #23262c;
  --muted: #646a74;
  --line: #dfdbd2;
  --line-dark: rgba(255, 255, 255, .12);
  --wa: #1fa855;
  --display: "Montserrat", system-ui, sans-serif;
  --body: "DM Sans", system-ui, sans-serif;
  --pad: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; font-family: var(--display); color: inherit; }
p { margin: 0; }
.wrap { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }

.demo-bar { margin: 0; padding: 8px var(--pad); background: #111317; color: #b9bcc3; font: 500 12px/1.4 var(--body); text-align: center; }
.demo-bar a { color: #fff; text-underline-offset: 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border: 1px solid transparent; border-radius: var(--radius); font: 700 13px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 56px; padding: 0 30px; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #ffbe1f; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-line { border-color: var(--line); color: var(--text); }
.btn-line:hover { border-color: var(--text); }
.ico { width: 20px; height: 20px; flex: none; }
.link { font: 700 12px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); text-decoration: none; }
.link::after { content: " →"; }

/* Header */
.header { position: sticky; top: 0; z-index: 40; background: rgba(43, 47, 55, .97); backdrop-filter: blur(8px); color: #fff; border-bottom: 1px solid var(--line-dark); }
.header-in { display: flex; align-items: center; gap: 28px; width: min(100% - 2 * var(--pad), var(--max)); height: 72px; margin-inline: auto; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.logo-mark { width: 44px; height: auto; color: var(--gold); }
.logo-text { display: grid; gap: 3px; }
.logo-name { display: flex; gap: 6px; font: 300 17px/1 var(--display); letter-spacing: .1em; }
.logo-name b { font-weight: 700; color: var(--gold); letter-spacing: .22em; }
.logo-sub { font: 400 8.5px/1 var(--display); letter-spacing: .42em; color: #cfd2d8; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font: 500 13px/1 var(--display); letter-spacing: .06em; text-decoration: none; color: #d9dce2; transition: color .2s; }
.nav a:hover { color: var(--gold); }
.header-cta { min-height: 42px; padding: 0 18px; font-size: 12px; }
.menu-toggle { display: none; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 0; background: none; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 6px auto; background: #fff; transition: transform .2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu { display: none; }

/* Hero */
.hero { position: relative; display: flex; align-items: flex-end; min-height: min(88vh, 820px); overflow: hidden; background: var(--ink); color: #fff; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 22, 27, .92) 0%, rgba(20, 22, 27, .7) 38%, rgba(20, 22, 27, .1) 75%), linear-gradient(0deg, rgba(20, 22, 27, .75) 0%, rgba(20, 22, 27, 0) 40%); }
.hero-in { position: relative; padding: 120px 0 72px; }
.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; font: 600 12px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.rule { width: 40px; height: 2px; background: var(--gold); }
.hero h1 { max-width: 11ch; font-size: clamp(42px, 6.4vw, 86px); font-weight: 300; line-height: 1.02; letter-spacing: -.01em; text-transform: uppercase; }
.hero h1 em { display: block; font-style: normal; font-weight: 800; color: var(--gold); }
.hero-lead { max-width: 54ch; margin-top: 24px; font-size: clamp(16px, 1.4vw, 19px); color: #dfe1e6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 44px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(255, 255, 255, .18); list-style: none; font: 500 13px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: #e6e8ec; }
.hero-points li { display: flex; align-items: center; gap: 10px; }
.hero-points li::before { content: ""; width: 7px; height: 7px; background: var(--gold); }
.hero-caption { position: absolute; right: var(--pad); bottom: 24px; margin: 0; padding: 8px 12px; background: rgba(20, 22, 27, .6); font: 500 11px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #e6e8ec; }

/* Neighbourhood marquee */
.barrios { overflow: hidden; background: var(--gold); color: var(--ink); }
.barrios-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.barrios-set { display: flex; }
.barrios-set span { display: flex; align-items: center; gap: 36px; padding: 18px 36px 18px 0; font: 700 14px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.barrios-set span::after { content: ""; width: 8px; height: 8px; border: 2px solid var(--ink); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-dark { background: var(--slate); color: #fff; }
.section-paper { background: var(--paper); }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 24px 60px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font: 600 12px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-dark); }
.section-dark .kicker, .galeria .kicker { color: var(--gold); }
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
h2 { font-size: clamp(30px, 4vw, 50px); font-weight: 300; line-height: 1.08; letter-spacing: -.01em; text-transform: uppercase; }
h2 em { font-style: normal; font-weight: 800; }
.section:not(.section-dark) h2 em { color: var(--slate); box-shadow: inset 0 -.28em 0 rgba(247, 175, 3, .55); }
.section-dark h2 em { color: var(--gold); }
.head-text { color: var(--muted); }
.section-dark .head-text { color: #b9bdc6; }

/* Finished houses */
.obras { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.obra { position: relative; grid-column: span 4; display: block; padding: 0; overflow: hidden; border: 0; border-radius: var(--radius); background: var(--ink); color: #fff; text-align: left; cursor: pointer; aspect-ratio: 4 / 3.4; }
.obra:nth-child(1) { grid-column: span 8; grid-row: span 2; aspect-ratio: auto; }
.obra:nth-child(2) { grid-column: span 4; }
.obra:nth-child(n+7) { grid-column: span 3; }
.obra img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.obra:hover img { transform: scale(1.04); }
.obra::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 22, 27, .95) 0%, rgba(20, 22, 27, .72) 30%, rgba(20, 22, 27, 0) 62%); }
.obra-info { text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
.obra-info { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 20px 22px; }
.obra-barrio { font: 600 11px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.obra h3 { margin-top: 8px; font-size: 20px; font-weight: 600; line-height: 1.2; }
.obra:nth-child(1) h3 { font-size: clamp(22px, 2.4vw, 30px); }
.obra-meta { display: flex; gap: 14px; margin-top: 10px; font: 500 13px/1 var(--body); color: #cdd0d6; }
.obra-fotos { position: absolute; z-index: 1; top: 14px; right: 14px; display: flex; align-items: center; gap: 6px; padding: 6px 10px; background: rgba(20, 22, 27, .7); font: 600 11px/1 var(--display); letter-spacing: .08em; }
.obra-fotos svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }

/* Services */
.servicios { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.servicio { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--slate-2); }
.servicio img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.servicio-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 22px 22px 24px; border-top: 3px solid var(--gold); }
.servicio h3 { font-size: 18px; font-weight: 600; }
.servicio p { flex: 1; color: #bfc3cb; font-size: 15px; }

/* Process */
.pasos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.paso { padding: 28px 28px 0 0; }
.paso + .paso { padding-left: 28px; border-left: 1px solid var(--line); }
.paso-n { display: block; font: 300 44px/1 var(--display); color: var(--gold-dark); }
.paso h3 { margin-top: 18px; font-size: 18px; font-weight: 600; }
.paso p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.obra-strip { margin-top: clamp(56px, 7vw, 88px); }
.obra-strip-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 20px; margin-bottom: 18px; }
.obra-strip h3 { font-size: 22px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.obra-strip-head p { margin-top: 6px; color: var(--muted); }
.strip-nav { display: flex; gap: 8px; }
.strip-nav button { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--text); cursor: pointer; transition: border-color .2s, background .2s; }
.strip-nav button:hover { border-color: var(--slate); background: var(--slate); color: #fff; }
.strip-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.strip figure { margin: 0; scroll-snap-align: start; }
.strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.strip figcaption { margin-top: 10px; font: 600 12px/1.3 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.materiales { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 48px; align-items: center; margin-top: clamp(48px, 6vw, 72px); padding: 28px 32px; border-radius: var(--radius); background: var(--paper); }
.materiales h3 { font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.materiales ul { display: grid; grid-template-columns: repeat(5, auto); justify-content: space-between; gap: 14px 24px; margin: 0; padding: 0; list-style: none; }
.materiales li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.materiales svg { width: 24px; height: 24px; fill: none; stroke: var(--gold-dark); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }

/* Designs */
.modelos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.modelo { overflow: hidden; border-radius: var(--radius); background: var(--white); box-shadow: 0 1px 0 var(--line); }
.modelo-foto { position: relative; }
.modelo-foto img { width: 100%; aspect-ratio: 6 / 4.4; object-fit: cover; }
.modelo-tag { position: absolute; top: 12px; left: 12px; padding: 5px 9px; background: rgba(29, 32, 38, .78); color: #fff; font: 600 10px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.modelo-body { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; }
.modelo h3 { font-size: 17px; font-weight: 600; }
.modelo-m2 { margin-top: 4px; color: var(--muted); font-size: 14px; }
.modelo-m2 b { color: var(--text); }
.modelo .btn { min-height: 40px; padding: 0 14px; font-size: 11px; }

/* Lots */
.lotes { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.lotes-text h2 { margin-bottom: 20px; }
.lotes-text > p { color: var(--muted); }
.checks { display: grid; gap: 10px; margin: 24px 0 30px; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 8px; border-left: 2px solid var(--gold-dark); border-bottom: 2px solid var(--gold-dark); transform: rotate(-45deg); }
.lotes-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lote { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); }
.lote-big { grid-column: 1 / -1; }
.lote img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.lote-big img { aspect-ratio: 16 / 8; }
.lote figcaption { position: absolute; left: 12px; bottom: 12px; padding: 7px 11px; background: var(--gold); color: var(--ink); font: 700 11px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }

/* Quote builder */
.consulta { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.consulta-intro { position: sticky; top: 100px; }
.consulta-intro h2 { margin-bottom: 18px; }
.consulta-intro > p { color: #c3c7cf; }
.resumen { margin: 28px 0 18px; padding: 20px 22px; border-left: 3px solid var(--gold); background: var(--ink); }
.resumen-label { margin-bottom: 8px; font: 600 11px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.resumen-text { color: #e5e7eb; font-size: 15px; white-space: pre-line; }
.armador { display: grid; gap: 26px; padding: clamp(22px, 3vw, 36px); border-radius: var(--radius); background: var(--white); color: var(--text); }
.campo { margin: 0; padding: 0; border: 0; min-width: 0; }
.campo legend, .legend { display: flex; justify-content: space-between; gap: 12px; width: 100%; margin-bottom: 12px; padding: 0; font: 700 12px/1.3 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.legend output { color: var(--gold-dark); font-size: 15px; letter-spacing: .02em; }
.opt { font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--muted); }
.campo-fila { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 26px; }
.opciones { display: flex; flex-wrap: wrap; gap: 8px; }
.opciones label { position: relative; }
.opciones input { position: absolute; opacity: 0; pointer-events: none; }
.opciones span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 500; font-size: 15px; cursor: pointer; transition: border-color .15s, background .15s; }
.opciones span:hover { border-color: var(--slate); }
.opciones input:checked + span { border-color: var(--slate); background: var(--slate); color: #fff; }
.opciones input[type="checkbox"]:checked + span { border-color: var(--gold-dark); background: #fff4d6; color: var(--ink); }
.opciones input:focus-visible + span { outline: 2px solid var(--gold-dark); outline-offset: 2px; }
.input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius); font: 400 16px var(--body); color: var(--text); background: #fff; }
.input:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: transparent; }
.range { width: 100%; accent-color: var(--gold-dark); }
.range-marks { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; }

/* Contact */
.contacto { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.contacto-info h2 { margin-bottom: 28px; }
.datos { display: grid; gap: 20px; margin: 0 0 32px; padding: 0; list-style: none; }
.datos li { display: flex; gap: 16px; align-items: flex-start; }
.datos .ico { width: 22px; height: 22px; margin-top: 2px; fill: none; stroke: var(--gold-dark); stroke-width: 1.7; stroke-linejoin: round; }
.datos li:first-child .ico { fill: var(--gold-dark); stroke: none; }
.datos span { display: block; font: 600 11px/1.4 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.datos a { text-decoration-color: var(--gold); text-underline-offset: 3px; font-weight: 500; }
.contacto-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.map { min-height: 380px; overflow: hidden; border-radius: var(--radius); background: var(--paper); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(.4); }

/* Footer */
.footer { padding: 56px 0 0; background: var(--ink); color: #c3c7cf; }
.footer-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding-bottom: 40px; }
.footer-in > p { max-width: 42ch; font-size: 15px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer-nav a { font: 500 13px/1 var(--display); letter-spacing: .06em; text-decoration: none; }
.footer-nav a:hover { color: var(--gold); }
.footer-legal { padding: 18px var(--pad); border-top: 1px solid var(--line-dark); font-size: 13px; text-align: center; color: #8d929c; }

/* WhatsApp float */
.wa-float { position: fixed; z-index: 30; right: 20px; bottom: 20px; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* Gallery */
.galeria { width: min(1180px, 100% - 32px); max-width: none; max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: var(--radius); background: var(--slate); color: #fff; overflow: hidden; }
.galeria::backdrop { background: rgba(12, 13, 16, .82); }
.galeria[open] { animation: rise .25s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.galeria-in { display: grid; grid-template-columns: minmax(0, 1fr) 360px; max-height: calc(100vh - 32px); }
.galeria-foto { position: relative; background: #111317; min-height: 0; }
.galeria-foto img { width: 100%; height: 100%; max-height: calc(100vh - 32px); object-fit: contain; }
.g-nav { position: absolute; top: 50%; display: grid; place-items: center; width: 48px; height: 48px; margin-top: -24px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); cursor: pointer; }
.g-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.g-prev { left: 14px; }
.g-next { right: 14px; }
.g-count { position: absolute; left: 14px; bottom: 14px; padding: 6px 10px; background: rgba(20, 22, 27, .7); font: 600 11px/1 var(--display); letter-spacing: .1em; }
.galeria-info { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 32px 28px 28px; overflow-y: auto; }
.galeria-info .kicker { margin-bottom: 0; }
.galeria-info h3 { padding-right: 36px; font-size: 26px; font-weight: 600; line-height: 1.15; }
.g-close { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; }
.g-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.g-datos { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; padding: 16px 0; border-block: 1px solid var(--line-dark); }
.g-datos dt { font: 600 11px/1.6 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #9ca1ab; }
.g-datos dd { margin: 0; font-weight: 500; }
.galeria .checks { margin: 0; }
.galeria .checks li::before { border-color: var(--gold); }
.g-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.g-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 3px; background: none; cursor: pointer; overflow: hidden; }
.g-thumbs button[aria-current="true"] { border-color: var(--gold); }
.g-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.galeria-info .btn { margin-top: auto; }

/* ?captura: the page as it goes in the images sent to the client */
.captura-mark { position: fixed; z-index: 60; right: 14px; bottom: 12px; margin: 0; padding: 6px 10px; border-radius: 4px; background: rgba(0, 0, 0, .65); color: #fff; font: 600 11px/1 var(--body); }
.captura .barrios-track, .captura .galeria[open] { animation: none; }
.captura .header { position: relative; }

/* Responsive */
@media (max-width: 1080px) {
  .nav { display: none; }
  .header-cta { margin-left: auto; }
  .menu-toggle { display: block; margin-left: 0; }
  .menu { display: grid; gap: 4px; max-height: 0; overflow: hidden; padding: 0 var(--pad); transition: max-height .3s ease, padding .3s ease; }
  .menu.open { max-height: 480px; padding: 8px var(--pad) 22px; }
  .menu a:not(.btn) { padding: 13px 0; border-bottom: 1px solid var(--line-dark); font: 500 15px/1 var(--display); letter-spacing: .04em; text-decoration: none; color: #e1e3e8; }
  .menu .btn { margin-top: 14px; }
  .servicios, .modelos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pasos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .paso:nth-child(3) { padding-left: 0; border-left: 0; }
  .paso:nth-child(n+3) { margin-top: 12px; border-top: 1px solid var(--line); }
  .galeria-in { grid-template-columns: minmax(0, 1fr); overflow-y: auto; }
  .galeria-foto img { max-height: 58vh; }
  .materiales { grid-template-columns: minmax(0, 1fr); }
  .materiales ul { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); justify-content: start; }
}
@media (max-width: 860px) {
  .head, .lotes, .consulta, .contacto { grid-template-columns: minmax(0, 1fr); }
  .consulta { display: flex; flex-direction: column; gap: 0; }
  .consulta-intro { display: contents; }
  .consulta-intro > * { order: 0; }
  .armador { order: 1; margin: 28px 0 0; }
  .resumen { order: 2; margin: 24px 0 14px; }
  #enviar { order: 3; }
  .obras { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  .obra, .obra:nth-child(2), .obra:nth-child(n+7) { grid-column: span 1; }
  .obra:nth-child(1), .obra:last-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3.2; }
  .footer-in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .header-in { height: 64px; gap: 12px; }
  .header-cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .logo-mark { width: 38px; }
  .logo-name { font-size: 15px; }
  .hero { min-height: 640px; }
  .hero-in { padding: 88px 0 64px; }
  .hero-shade { background: linear-gradient(0deg, rgba(20, 22, 27, .95) 0%, rgba(20, 22, 27, .72) 55%, rgba(20, 22, 27, .35) 100%); }
  .hero-img { object-position: 62% 50%; }
  .hero-actions .btn { width: 100%; }
  .hero-points { gap: 12px 20px; margin-top: 32px; font-size: 12px; }
  .hero-caption { left: var(--pad); right: auto; bottom: 16px; font-size: 10px; }
  .obras { grid-template-columns: minmax(0, 1fr); }
  .obra, .obra:nth-child(1) { grid-column: auto; aspect-ratio: 4 / 3.3; }
  .servicios, .modelos { grid-template-columns: minmax(0, 1fr); }
  .pasos { grid-template-columns: minmax(0, 1fr); }
  .paso, .paso + .paso { padding: 22px 0 0; border-left: 0; }
  .paso + .paso { margin-top: 18px; border-top: 1px solid var(--line); }
  .campo-fila { grid-template-columns: minmax(0, 1fr); }
  .strip { grid-auto-columns: 72%; }
  .materiales { padding: 22px 20px; }
  .materiales ul { display: grid; gap: 12px; }
  .lotes-fotos { grid-template-columns: minmax(0, 1fr); }
  .lote-big { grid-column: auto; }
  .galeria { width: 100%; max-height: 100vh; height: 100%; border-radius: 0; }
  .galeria-in { max-height: 100vh; }
  .galeria-info { padding: 24px 18px 22px; }
  .wa-float { right: 14px; bottom: 14px; width: 54px; height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .barrios-track { animation: none; }
  .obra img { transition: none; }
}
