/* Monte Arquitectura. Brutalismo cálido: hormigón, ladrillo y el negro de la marca.
   La viga de hormigón encabeza cada sección; la columna fina la apoya. */

:root {
  --cielo: #e6e4df;
  --hormigon: #d0ccc4;
  --grabado: #23211e;
  --negro: #11100f;
  --blanco: #f1efea;
  --gris: #5b5751;
  --ladrillo: #a04a32;
  --corten: #7c3624;
  --margen: clamp(20px, 5vw, 80px);
  --viga-alto: clamp(84px, 10vw, 148px);
  --trama-ladrillo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='264' height='126'%3E%3Crect width='264' height='126' fill='%237d4636'/%3E%3Crect x='0' y='0' width='63' height='18' fill='%23a04a32'/%3E%3Crect x='66' y='0' width='63' height='18' fill='%23b05a40'/%3E%3Crect x='132' y='0' width='63' height='18' fill='%23a95339'/%3E%3Crect x='198' y='0' width='63' height='18' fill='%23984530'/%3E%3Crect x='33' y='21' width='63' height='18' fill='%239b4c38'/%3E%3Crect x='99' y='21' width='63' height='18' fill='%238f3f2b'/%3E%3Crect x='165' y='21' width='63' height='18' fill='%23a95339'/%3E%3Crect x='231' y='21' width='63' height='18' fill='%239b4c38'/%3E%3Crect x='-33' y='21' width='63' height='18' fill='%239b4c38'/%3E%3Crect x='0' y='42' width='63' height='18' fill='%239b4c38'/%3E%3Crect x='66' y='42' width='63' height='18' fill='%238f3f2b'/%3E%3Crect x='132' y='42' width='63' height='18' fill='%23a64d36'/%3E%3Crect x='198' y='42' width='63' height='18' fill='%23a64d36'/%3E%3Crect x='33' y='63' width='63' height='18' fill='%239b4c38'/%3E%3Crect x='99' y='63' width='63' height='18' fill='%23984530'/%3E%3Crect x='165' y='63' width='63' height='18' fill='%23a95339'/%3E%3Crect x='231' y='63' width='63' height='18' fill='%23a64d36'/%3E%3Crect x='-33' y='63' width='63' height='18' fill='%23a64d36'/%3E%3Crect x='0' y='84' width='63' height='18' fill='%23a64d36'/%3E%3Crect x='66' y='84' width='63' height='18' fill='%23a04a32'/%3E%3Crect x='132' y='84' width='63' height='18' fill='%23a64d36'/%3E%3Crect x='198' y='84' width='63' height='18' fill='%238f3f2b'/%3E%3Crect x='33' y='105' width='63' height='18' fill='%23b05a40'/%3E%3Crect x='99' y='105' width='63' height='18' fill='%239b4c38'/%3E%3Crect x='165' y='105' width='63' height='18' fill='%23a04a32'/%3E%3Crect x='231' y='105' width='63' height='18' fill='%238f3f2b'/%3E%3Crect x='-33' y='105' width='63' height='18' fill='%238f3f2b'/%3E%3C/svg%3E");
  --veta: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='456'%3E%3Cfilter id='a' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.007 .022' numOctaves='4' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .16 0 0 0 0 .14 0 0 0 0 .12 .68 0 0 0 -.27'/%3E%3C/filter%3E%3Cfilter id='b' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .09 0 0 0 0 .08 .5 0 0 0 -.17'/%3E%3C/filter%3E%3Crect width='640' height='456' filter='url(%23a)'/%3E%3Crect width='640' height='456' filter='url(%23b)'/%3E%3C/svg%3E");
  --tablas: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1180' height='228'%3E%3Cg fill='%23000'%3E%3Crect width='1180' height='57' opacity='.05'/%3E%3Crect y='114' width='1180' height='57' opacity='.03'/%3E%3Crect x='760' y='57' width='420' height='57' opacity='.05'/%3E%3Crect x='0' y='171' width='310' height='57' opacity='.06'/%3E%3C/g%3E%3Cg fill='none'%3E%3Cpath d='M0 .5h1180M0 57.5h1180M0 114.5h1180M0 171.5h1180M430.5 0v57M760.5 57v57M1010.5 114v57M310.5 171v57' stroke='%23000' stroke-opacity='.17'/%3E%3Cpath d='M0 1.5h1180M0 58.5h1180M0 115.5h1180M0 172.5h1180' stroke='%23fff' stroke-opacity='.22'/%3E%3C/g%3E%3C/svg%3E");
  --asiento: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cielo); color: var(--negro);
  font: 400 1.0625rem/1.6 Archivo, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
h1, h2, h3, p, figure, blockquote, dl, dd, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
:focus-visible { outline: 3px solid var(--ladrillo); outline-offset: 3px; }
.oculto { position: absolute; }
.ancho { width: 100%; max-width: 1480px; margin-inline: auto; padding-inline: var(--margen); }
.saltar { position: fixed; left: 12px; top: -80px; z-index: 50; background: var(--negro); color: var(--blanco); padding: 12px 18px; }
.saltar:focus { top: 12px; }
.marca { width: 132px; height: auto; aspect-ratio: 236 / 46; }
.grande { font-size: clamp(1.5rem, 2.5vw, 2.35rem); line-height: 1.22; letter-spacing: -.015em; font-weight: 450; text-wrap: balance; }
.completar { background: #f2d16b; color: #2b2204; padding: .1em .4em; font-weight: 600; }

/* ---------- Materiales ---------- */
.hormigon {
  background-color: var(--hormigon);
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,0) 14%, rgba(0,0,0,0) 78%, rgba(0,0,0,.13)),
    var(--tablas),
    var(--veta);
  color: var(--grabado);
}
.ladrillos { background: var(--corten) var(--trama-ladrillo) 0 0 / 206px auto; }
.hormigon h1, .viga h2, .dintel h3 { text-shadow: 0 1px 0 rgba(255,255,255,.55), 0 -1px 0 rgba(0,0,0,.25); }
.ref {
  position: absolute; left: 0; bottom: 0; z-index: 2; background: var(--negro); color: var(--blanco);
  font-size: .75rem; line-height: 1; padding: 8px 10px;
}

/* ---------- Cabecera ---------- */
.cabecera {
  position: fixed; inset: 0 0 auto; z-index: 30; height: 72px; padding-inline: var(--margen);
  display: flex; align-items: center; justify-content: space-between; transition: background .3s, color .3s;
}
.cabecera.fija { background: var(--negro); color: var(--blanco); }
.cabecera__marca { padding: 10px 0; }
.ladera { stroke: var(--trazo-ladera, #a04a32); }
.fija { --trazo-ladera: #d0704e; }
.menu { display: flex; gap: clamp(20px, 2.6vw, 44px); }
.menu a { text-decoration: none; font-weight: 500; padding: 8px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--asiento); }
.menu a:hover { background-size: 100% 2px; }
.menu-boton { display: none; font: inherit; font-weight: 600; color: inherit; background: none; border: 0; padding: 12px 0; min-width: 64px; text-align: right; cursor: pointer; }

/* ---------- Hero: alzado ---------- */
.hero {
  --muro: 33vw;
  position: relative; display: grid; min-height: 640px; height: 100svh; max-height: 1000px;
  grid-template: 72px auto minmax(200px, 1fr) auto / var(--margen) var(--muro) 1fr;
}
.hero__viga {
  grid-area: 2 / 1 / 3 / -1; margin-left: calc(var(--margen) * .4); position: relative; z-index: 3;
  padding: clamp(22px, 3.2vw, 44px) var(--margen) clamp(24px, 3.4vw, 48px) calc(var(--margen) * .6);
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.5);
}
.hero__viga h1 { font-weight: 700; }
.hero__nombre { display: block; font-size: clamp(1.05rem, 1.6vw, 1.5rem); line-height: 1.2; font-stretch: 118%; font-weight: 600; margin-bottom: .6em; }
.hero__lema { display: block; font-size: clamp(2.2rem, min(9.2vw, 16.5svh), 9.6rem); line-height: .93; letter-spacing: -.035em; font-stretch: 112%; }
.hero__lema > span { display: block; }
.hero__lema i { font-style: normal; white-space: nowrap; }
.hero__muro { grid-area: 3 / 2 / 4 / 3; position: relative; min-height: 0; }
.hero__muro::before, .hero__vano::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,0) 34%); }
.hero__tragaluz { position: absolute; left: 9%; top: 26%; width: 36%; height: 28px; background: linear-gradient(180deg, #0b0a09, #34302b); border: 3px solid var(--negro); z-index: 2; }
.hero__vano { grid-area: 3 / 3 / 4 / 4; position: relative; overflow: hidden; background: #3a3733; min-height: 0; }
.hero__vano img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero__columna { grid-area: 3 / 3 / 4 / 4; justify-self: end; margin-right: calc(var(--margen) * 1.6); width: 14px; z-index: 2; transform-origin: 50% 100%; }
.hero__columna, .columna { background: linear-gradient(90deg, #4c2015, var(--corten) 35%, #934631 60%, #4c2015); }
.hero__suelo p { text-wrap: balance; }
.hero__suelo { grid-area: 4 / 1 / 5 / -1; background: var(--negro); color: var(--blanco); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 32px; padding: 20px var(--margen); font-weight: 500; }

.puerta { position: absolute; right: 12%; bottom: 0; width: clamp(156px, 13.5vw, 210px); height: min(82%, 330px); z-index: 2; perspective: 900px; background: linear-gradient(180deg, #f7c98b, #e89b55); }
.puerta__hoja {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 20px;
  background: var(--negro); color: var(--blanco); text-decoration: none; font-weight: 600; font-size: 1.1875rem; line-height: 1.15;
  transform-origin: 0 50%; transition: transform .6s var(--asiento);
}
.puerta__hoja::after { content: ""; position: absolute; right: 12px; top: 22%; width: 3px; height: 32%; background: #b98a5e; }
.puerta__hoja svg { width: 34px; height: 13px; }
.puerta__hoja:hover, .puerta__hoja:focus-visible { transform: rotateY(-16deg); }

/* ---------- Vigas y columnas de sección ---------- */
.viga { height: var(--viga-alto); display: flex; align-items: center; box-shadow: 0 14px 28px -14px rgba(0,0,0,.45); position: relative; z-index: 2; }
.viga h2 { font-size: clamp(2rem, 5vw, 4.4rem); line-height: 1; font-stretch: 112%; font-weight: 700; letter-spacing: -.03em; }
.viga--izq { width: calc(50vw + 96px); padding-left: var(--margen); }
.viga--der { width: min(64vw, 960px); margin-left: auto; padding-left: clamp(24px, 4vw, 64px); }
.viga--der::after { content: ""; position: absolute; left: clamp(24px, 4vw, 64px); top: 100%; width: 14px; height: clamp(48px, 6vw, 96px); background: linear-gradient(90deg, #4c2015, var(--corten) 35%, #934631 60%, #4c2015); }
.viga--entera { padding-left: var(--margen); }
.columna { width: 14px; justify-self: center; align-self: stretch; transform-origin: 50% 100%; }

/* ---------- Fichas ---------- */
.ficha > div { display: grid; grid-template-columns: 11rem 1fr; gap: 4px 24px; padding: 16px 0; border-top: 1px solid rgba(17,16,15,.28); }
.ficha > div:last-child { border-bottom: 1px solid rgba(17,16,15,.28); }
.ficha dt { color: var(--gris); }
.ficha dd { font-weight: 500; overflow-wrap: anywhere; }
.ficha--clara > div, .ficha--clara > div:last-child { border-color: rgba(241,239,234,.24); }
.ficha--clara dt { color: #b5b0a8; }

/* ---------- Estudio ---------- */
.estudio { padding-top: clamp(80px, 10vw, 160px); }
.estudio__planta, .contacto__planta { display: grid; grid-template-columns: minmax(0, 1fr) clamp(56px, 8vw, 128px) minmax(0, 1fr); }
.estudio__foto { position: relative; margin-block: clamp(40px, 6vw, 88px) clamp(72px, 9vw, 140px); align-self: start; }
.estudio__foto img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.estudio__texto { align-self: center; padding-block: clamp(40px, 6vw, 88px); display: grid; gap: clamp(32px, 4vw, 56px); }

/* ---------- Servicios: pórtico ---------- */
.servicios { background: var(--negro); color: var(--blanco); }
.portico { --luz: clamp(48px, 8vw, 128px); display: grid; grid-template-columns: repeat(3, 1fr); column-gap: var(--luz); }
.portico li { position: relative; padding-block: clamp(48px, 6vw, 96px) clamp(64px, 7vw, 112px); }
.portico li + li::before { content: ""; position: absolute; inset-block: 0; left: calc(var(--luz) / -2 - 7px); width: 14px; background: linear-gradient(90deg, #4c2015, var(--corten) 35%, #934631 60%, #4c2015); }
.alzado { width: 100%; height: auto; margin-bottom: clamp(28px, 3vw, 48px); }
.portico h3 { font-size: clamp(1.45rem, 2.7vw, 2.6rem); line-height: 1.05; font-weight: 650; letter-spacing: -.025em; font-stretch: 106%; margin-bottom: .4em; }
.portico p { color: #cfcac2; max-width: 34ch; }

/* ---------- Proyectos ---------- */
.proyectos { padding-block: clamp(80px, 10vw, 160px); }
.grilla { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(28px, 4vw, 64px) clamp(16px, 2vw, 32px); margin-top: clamp(48px, 6vw, 96px); }
.vano { min-width: 0; }
.vano--a, .vano--d { grid-column: span 7; }
.vano--b, .vano--c { grid-column: span 5; }
.vano--e, .vano--f { grid-column: span 6; }
.dintel { position: relative; z-index: 1; margin-inline: -8px; padding: 12px 22px; box-shadow: 0 8px 16px -8px rgba(0,0,0,.5); }
.dintel h3 { font-size: clamp(1.15rem, 1.6vw, 1.5rem); line-height: 1.2; font-weight: 650; font-stretch: 106%; letter-spacing: -.01em; }
.vano__luz { position: relative; overflow: hidden; height: clamp(240px, 31vw, 480px); background: #3a3733; }
.vano__luz::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.4), rgba(0,0,0,0) 26%); pointer-events: none; }
.vano__luz img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--asiento); }
.vano:hover img { transform: scale(1.035); }
.obras { margin-top: clamp(64px, 8vw, 120px); }
.obras::before { content: ""; display: block; height: 32px; margin-bottom: clamp(32px, 4vw, 56px); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='32'%3E%3Cg fill='none' stroke='%2311100f' stroke-width='2'%3E%3Cpath d='M4 32V4l20 20L44 4v28'/%3E%3Cpath d='M13 33l31-31' stroke='%23a04a32'/%3E%3C/g%3E%3C/svg%3E") 0 0 round no-repeat; }
.obras__intro { max-width: 46ch; margin-bottom: 28px; }
.obras ul { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(16px, 2vw, 32px); border-bottom: 1px solid rgba(17,16,15,.28); margin-bottom: 32px; }
.obras li { border-top: 1px solid rgba(17,16,15,.28); padding: 18px 0 22px; }
.obras b { display: block; font-size: 1.375rem; line-height: 1.25; font-weight: 650; font-stretch: 106%; letter-spacing: -.01em; }
.obras li span { color: var(--gris); }
.enlace { display: inline-flex; align-items: center; gap: 14px; font-weight: 600; text-decoration: none; padding: 10px 0; border-bottom: 2px solid currentColor; }
.enlace svg { width: 32px; height: 12px; transition: transform .3s var(--asiento); }
.enlace:hover svg { transform: translateX(6px); }

/* ---------- Reseñas ---------- */
.resenas { padding-block: clamp(64px, 8vw, 128px) 28px; }
.resenas__muro { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 1.6vw, 26px); }
.placa { background-image: linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,0) 14%, rgba(0,0,0,0) 78%, rgba(0,0,0,.13)), var(--veta); padding: clamp(24px, 2.8vw, 44px); box-shadow: 0 16px 30px -12px rgba(0,0,0,.6); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.placa--nota { grid-column: span 4; grid-row: span 3; align-items: flex-start; }
.placa--1 { grid-column: span 8; }
.placa--2, .placa--3 { grid-column: span 4; }
.placa--4 { grid-column: span 8; }
.placa h2 { font-size: clamp(1.6rem, 2.4vw, 2.3rem); line-height: 1.05; font-weight: 700; font-stretch: 106%; letter-spacing: -.02em; }
.nota { display: grid; gap: 8px; font-weight: 500; }
.nota strong { font-size: clamp(6rem, 12vw, 11rem); line-height: .8; font-weight: 750; letter-spacing: -.06em; margin-bottom: 18px; text-shadow: 0 2px 0 rgba(255,255,255,.55), 0 -1px 0 rgba(0,0,0,.3); }
.estrellas { color: #7a2f1b; font-size: 1.5rem; line-height: 1; letter-spacing: .1em; }
.placa blockquote { font-size: clamp(1.3rem, 1.9vw, 1.8rem); line-height: 1.22; font-weight: 550; letter-spacing: -.015em; text-wrap: balance; }
.placa--1 blockquote { font-size: clamp(1.6rem, 3.2vw, 3.1rem); line-height: 1.08; letter-spacing: -.025em; }
.placa figcaption { font-weight: 600; }
.placa figcaption em { display: block; font-style: normal; font-weight: 400; color: #45413b; }
.resumen { font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.3; }
.resenas__pie { margin-top: 32px; }
.resenas__pie span { display: inline-block; background: var(--negro); color: var(--blanco); padding: 6px 12px; font-size: .875rem; }

/* ---------- Contacto ---------- */
.contacto { background: var(--negro); color: var(--blanco); padding-top: clamp(72px, 9vw, 140px); }
.contacto__planta { max-width: none; }
.contacto__datos { padding-block: clamp(40px, 6vw, 88px) clamp(64px, 8vw, 120px); display: grid; gap: clamp(28px, 3vw, 44px); align-content: center; }
.contacto .grande { font-size: clamp(1.9rem, 3.4vw, 3.2rem); }
.botones { display: flex; flex-wrap: wrap; gap: 12px; }
.boton { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 26px; border: 2px solid var(--blanco); font-weight: 600; text-decoration: none; transition: background .25s, color .25s, border-color .25s; }
.boton svg { width: 24px; height: 24px; }
.boton--lleno { background: var(--blanco); color: var(--negro); }
.boton:hover { background: var(--ladrillo); border-color: var(--ladrillo); color: #fff; }
.contacto :focus-visible, .cabecera.fija :focus-visible { outline-color: #e58a67; }
.mapa { position: relative; margin-right: calc(var(--margen) * -1); min-height: 460px; background: #2a2825; }
.mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }

/* ---------- Pie y flotante ---------- */
.pie { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; padding: 36px var(--margen); font-weight: 500; }
.flotante { display: none; }

/* ---------- Movimiento: la obra se levanta ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__viga { animation: asentar 1s var(--asiento) both; }
  .js .hero__columna { animation: crecer .9s .25s var(--asiento) both; }
  .js .hero__vano img { animation: abrir 1.6s var(--asiento) both; }
  .js .viga[data-obra] h2 { opacity: 0; transform: translateX(-28px); transition: opacity .9s .1s, transform 1s .1s var(--asiento); }
  .js .viga.en-pie h2 { opacity: 1; transform: none; }
  .js .viga[data-obra] { background-position: 0 0, 0 0, -240px 0; transition: background-position 1.4s var(--asiento); }
  .js .viga.en-pie { background-position: 0 0, 0 0, 0 0; }
  .js [data-obra]:not(.viga):not(.columna):not(li) { opacity: 0; transform: translateY(22px); transition: opacity .8s, transform .9s var(--asiento); }
  .js [data-obra].en-pie:not(.viga):not(.columna):not(li) { opacity: 1; transform: none; }
  .js li[data-obra] > * { opacity: 0; transform: translateY(22px); transition: opacity .8s, transform .9s var(--asiento); }
  .js li[data-obra].en-pie > * { opacity: 1; transform: none; }
  .portico li:nth-child(2) > *, .placa--2 { transition-delay: .12s !important; }
  .portico li:nth-child(3) > *, .placa--3 { transition-delay: .24s !important; }
}
@keyframes asentar { from { transform: translateY(-26px); opacity: 0; } }
@keyframes crecer { from { transform: scaleY(0); } }
@keyframes abrir { from { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .ficha > div { grid-template-columns: 1fr; }
  .placa--nota, .placa--1, .placa--4 { grid-column: span 12; grid-row: auto; }
  .placa--2, .placa--3 { grid-column: span 6; }
  .hero__tragaluz { display: none; }
  .grilla { column-gap: 28px; }
  .hero { --muro: 40vw; height: auto; max-height: none; min-height: 0; grid-template-rows: 72px auto clamp(340px, 46svh, 460px) auto; }
}

/* ---------- Mobile y tablet vertical ---------- */
@media (max-width: 799px) {
  .menu-boton { display: block; position: relative; z-index: 2; }
  .cabecera__marca { position: relative; z-index: 2; }
  .menu { position: fixed; inset: 0; background: var(--negro); color: var(--blanco); flex-direction: column; justify-content: center; gap: 4px; padding: 88px var(--margen) 40px; visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s; }
  .menu a { font-size: 2.25rem; line-height: 1.2; font-weight: 650; font-stretch: 106%; letter-spacing: -.02em; align-self: flex-start; }
  .menu-abierto .menu { visibility: visible; opacity: 1; }
  .menu-abierto .cabecera { color: var(--blanco); --trazo-ladera: #d0704e; }
  .menu-abierto, .menu-abierto body { overflow: hidden; }

  .obras ul { grid-template-columns: 1fr 1fr; }
  .contacto .grande { font-size: 1.9rem; }
  .botones { display: grid; }
  .boton { padding: 0 14px; }
}
@media (max-width: 640px) {
  .flotante { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 25; display: grid; place-items: center; width: 58px; height: 58px; background: #25d366; color: #0b1f12; box-shadow: 0 8px 20px -4px rgba(0,0,0,.5); }
  .flotante svg { width: 32px; height: 32px; }
  .hero { --muro: 56vw; grid-template-rows: 72px auto clamp(264px, 38svh, 340px) auto; grid-template-columns: 0 var(--muro) 1fr; }
  .hero__viga { margin-left: 0; padding: 26px var(--margen) 30px; }
  .hero__lema { font-size: clamp(2.4rem, 15.4vw, 6rem); font-stretch: 100%; }
  .hero__lema i { display: block; }
  .hero__columna { width: 10px; margin-right: 22px; }
  .hero__tragaluz { display: none; }
  .puerta { right: auto; left: var(--margen); width: 158px; height: 84%; }
  .hero__suelo { padding-block: 16px; }
  .estudio__planta, .contacto__planta { grid-template-columns: minmax(0, 1fr); }
  .columna { width: 10px; height: 72px; justify-self: end; margin-right: 24px; grid-row: 1; }
  .viga--izq, .viga--der { width: calc(100% - var(--margen) * .6); }
  .viga--der::after { width: 10px; }
  .estudio__foto { margin-block: 0; }
  .contacto__datos { padding-top: 24px; }
  .portico { grid-template-columns: 1fr; }
  .portico li, .portico li + li { padding: 40px 0 44px 36px; }
  .portico li::before, .portico li + li::before { content: ""; position: absolute; inset-block: 0; left: 0; width: 10px; background: var(--corten); }
  .mapa { margin-inline: calc(var(--margen) * -1); min-height: 380px; }
  .grilla > .vano { grid-column: 1 / -1; }
  .vano__luz { height: 66vw; }
  .placa--2, .placa--3 { grid-column: span 12; }
  .obras ul { grid-template-columns: 1fr; }
  .pie { flex-direction: column; align-items: flex-start; padding-bottom: 96px; }
}
