/* =========================================================
   Grupo GMP — estilos v4
   Minimalista, blanco y negro, con un solo color de acento
   (la franja de la portada). Cambia los colores aquí.
   ========================================================= */
:root {
  --black: #000;
  --white: #fff;
  --ink: #141414;
  --muted: #6b6b6b;
  --rule: #e2e2e2;
  --soft: #f3f3f1;
  --accent: #2a2a2a;            /* franja de la portada. Otras opciones: arena #b8925a, concreto #e6e3dc */
  --font: "Geist", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1360px;
  --gap: clamp(18px, 2.2vw, 32px);
  --header-h: 68px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55;
  color: var(--ink); background: var(--white);
  -webkit-font-smoothing: antialiased; touch-action: manipulation;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 450; letter-spacing: -.025em; line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }
.muted { color: var(--muted); max-width: 52ch; }
.todo { color: var(--muted); font-style: italic; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--black); color: var(--white); padding: .6em 1em; }
.skip:focus { top: 12px; }

/* ---------- Botones y enlaces ---------- */
.pill {
  display: inline-flex; align-items: center; gap: .6em; width: fit-content;
  font: inherit; font-size: 1rem; padding: .9rem 1.6rem; border-radius: 999px; cursor: pointer;
  background: var(--ink); color: var(--white); border: 1px solid var(--ink);
  transition: background-color .25s, color .25s;
}
.pill:hover { background: transparent; color: var(--ink); }
.pill--light { background: var(--white); color: var(--black); border-color: var(--white); }
.pill--light:hover { background: transparent; color: var(--white); }
.text-link { position: relative; padding-bottom: 2px; }
.text-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform .35s var(--ease); }
.text-link:hover::after { transform: scaleX(0); }

/* =========================================================
   ENCABEZADO + MENÚ
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  background: var(--white); color: var(--ink); box-shadow: 0 1px 0 var(--rule);
  transition: background-color .35s, color .35s, box-shadow .35s;
}
.header--over:not(.is-solid) { background: transparent; color: var(--white); box-shadow: none; }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 500; letter-spacing: -.01em; }
.brand img { width: 32px; height: 32px; border-radius: 50%; background: var(--white); padding: 2px; }
.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav > a, .nav__trigger { font: inherit; font-size: .97rem; color: inherit; opacity: .78; transition: opacity .2s; }
.nav > a:hover, .nav__trigger:hover, .nav > a[aria-current="page"], .nav__group[data-active] .nav__trigger, .nav__trigger[aria-expanded="true"] { opacity: 1; }
.nav > a[aria-current="page"], .nav__group[data-active] .nav__trigger { text-decoration: underline; text-underline-offset: .4em; text-decoration-thickness: 1px; }
.nav__trigger { display: inline-flex; align-items: center; gap: .4em; background: none; border: 0; padding: 0; cursor: pointer; }
.nav__trigger svg { transition: transform .25s; }
.nav__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav > .nav__cta { opacity: 1; padding: .55rem 1.1rem; border: 1px solid currentColor; border-radius: 999px; transition: background-color .25s, color .25s; }
.nav > .nav__cta:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.header--over:not(.is-solid) .nav > .nav__cta:hover { background: var(--white); border-color: var(--white); color: var(--black); }

/* Submenú de servicios (panel a todo lo ancho) */
.sub {
  position: absolute; left: 0; right: 0; top: var(--header-h);
  background: var(--white); color: var(--ink); box-shadow: 0 1px 0 var(--rule), 0 24px 40px -24px rgba(0,0,0,.18);
  visibility: hidden; opacity: 0; transform: translateY(-6px);
  transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.sub.is-open { visibility: visible; opacity: 1; transform: none; }
.sub__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); padding: 28px 0 20px; }
.sub__list a { display: grid; gap: .25rem; }
.sub__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: .6rem; transition: opacity .25s; }
.sub__list a:hover .sub__img { opacity: .85; }
.sub__name { font-weight: 500; }
.sub__desc { color: var(--muted); font-size: .9rem; line-height: 1.4; }
.sub__list a[aria-current="page"] .sub__name { text-decoration: underline; text-underline-offset: .3em; }
.sub__foot { padding: 0 0 22px; font-size: .95rem; }
.sub__foot a { text-decoration: underline; text-underline-offset: .3em; }

.nav-toggle { display: none; position: relative; z-index: 2; width: 44px; height: 44px; background: none; border: 0; color: inherit; cursor: pointer; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* =========================================================
   PORTADA (solo inicio)
   ========================================================= */
.is-home body { background: var(--white); }
.hero { position: relative; height: 100svh; min-height: 640px; background: var(--black); color: var(--white); overflow: hidden; isolation: isolate; }
.hero__band, .hero__window { position: absolute; top: 0; bottom: 0; left: 58%; width: 19%; }
.hero__band { background: var(--accent); transform-origin: bottom; z-index: -2; }
.hero__window { overflow: hidden; z-index: -1; }
.hero__window video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.05); }
.hero__window::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.35), transparent 40%); }
.hero__machine {
  position: absolute; z-index: 0; right: 2%; bottom: 8%; width: min(60vw, 1040px); height: auto;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)); pointer-events: none; display: none;
}
.has-machine .hero__machine { display: block; }
.has-machine .hero__window { display: none; }

.hero__grid { position: relative; z-index: 1; height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; padding: calc(var(--header-h) + 40px) 0 clamp(48px, 9vh, 96px); }
.hero__place { font-size: .9rem; color: rgba(255,255,255,.6); margin-bottom: 1.4rem; }
.hero h1 { font-size: clamp(3rem, 7.4vw, 7.2rem); font-weight: 400; letter-spacing: -.045em; line-height: .98; }
.ln { display: block; overflow: hidden; padding-bottom: .06em; }
.ln > span { display: inline-block; }
.hero__lead { margin-top: 1.6rem; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: rgba(255,255,255,.75); max-width: 30ch; font-weight: 300; }
.round-link { display: inline-flex; align-items: center; gap: .9rem; margin-top: 2.2rem; font-size: .98rem; }
.round-link__dot { position: relative; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; transition: border-color .3s, transform .3s var(--ease); }
.round-link__dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--white); transition: transform .3s var(--ease); }
.round-link:hover .round-link__dot { border-color: var(--white); transform: scale(1.08); }
.round-link:hover .round-link__dot::before { transform: scale(1.6); }
.hero__services { align-self: start; text-align: right; margin-top: 4vh; }
.hero__services li + li { margin-top: .7rem; }
.hero__services a { font-size: .95rem; color: rgba(255,255,255,.7); transition: color .2s; }
.hero__services a:hover { color: var(--white); }
.video-toggle {
  position: absolute; z-index: 2; right: var(--gap); bottom: clamp(48px, 9vh, 96px); width: 34px; height: 34px;
  display: grid; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%;
  background: transparent; color: var(--white); cursor: pointer;
}
.video-toggle svg { fill: currentColor; }
.video-toggle .i-play, .video-toggle.is-paused .i-pause { display: none; }
.video-toggle.is-paused .i-play { display: block; }
.has-machine .video-toggle { display: none; }

/* Pantalla de entrada + secuencia de la portada (una sola vez) */
.intro-screen { position: fixed; inset: 0; z-index: 300; display: none; place-items: center; background: var(--black); color: var(--white); font-size: 1.15rem; letter-spacing: .02em; }
.js-intro .intro-screen { display: grid; animation: introOut .7s var(--ease) 1.5s forwards; }
.js-intro .intro-screen span { animation: introText 1.3s var(--ease) both; }
@keyframes introText { from { opacity: 0; letter-spacing: .5em; } to { opacity: 1; letter-spacing: .02em; } }
@keyframes introOut { to { opacity: 0; visibility: hidden; } }

.js-anim .hero__band { animation: bandUp 1.1s var(--ease) both; animation-delay: var(--d0, .1s); }
.js-anim .hero__window { animation: windowIn 1.2s var(--ease) both; animation-delay: calc(var(--d0, .1s) + .5s); }
.js-anim .hero__machine { animation: machineIn 1.4s var(--ease) both; animation-delay: calc(var(--d0, .1s) + .55s); }
.js-anim .ln > span { animation: lineUp 1s var(--ease) both; }
.js-anim .ln:nth-of-type(1) > span { animation-delay: calc(var(--d0, .1s) + .3s); }
.js-anim .ln:nth-of-type(2) > span { animation-delay: calc(var(--d0, .1s) + .42s); }
.js-anim .ln:nth-of-type(3) > span { animation-delay: calc(var(--d0, .1s) + .54s); }
.js-anim .hero__place, .js-anim .hero__lead, .js-anim .round-link, .js-anim .hero__services, .js-anim .header--over { animation: fadeIn 1s ease both; animation-delay: calc(var(--d0, .1s) + .9s); }
.is-intro { --d0: 1.9s; }
@keyframes bandUp { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes windowIn { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
@keyframes machineIn { from { opacity: 0; transform: translate3d(12%, 0, 0) scale(1.04); } to { opacity: 1; transform: none; } }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* =========================================================
   CONTENIDO
   ========================================================= */
.statement { padding: clamp(80px, 12vw, 170px) 0 clamp(60px, 8vw, 110px); }
.statement__text { font-size: clamp(1.45rem, 2.7vw, 2.35rem); line-height: 1.24; letter-spacing: -.025em; max-width: 30em; }
.figures { margin-top: clamp(48px, 7vw, 96px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); font-variant-numeric: tabular-nums; }
.figures div { border-top: 1px solid var(--rule); padding-top: 1rem; display: flex; flex-direction: column-reverse; gap: .25rem; }
.figures dt { color: var(--muted); font-size: .92rem; }
.figures dd { font-size: clamp(1.9rem, 3.2vw, 2.8rem); letter-spacing: -.035em; }

.band-section { padding: clamp(56px, 8vw, 110px) 0; border-top: 1px solid var(--rule); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }

.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.tile { display: grid; gap: .35rem; }
.tile img, .shot img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--soft); transition: opacity .35s; }
.tile img { margin-bottom: .7rem; }
.tile:hover img { opacity: .86; }
.tile__name { font-weight: 500; font-size: 1.08rem; }
.tile__desc { color: var(--muted); font-size: .93rem; line-height: 1.45; }

.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.shot img { aspect-ratio: 4 / 3; }
.shot figcaption { margin-top: .8rem; font-size: .98rem; }

/* ---------- Páginas interiores ---------- */
.page { padding-top: var(--header-h); }
.page-head { padding: clamp(64px, 10vw, 140px) 0 clamp(36px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem var(--gap); align-items: end; }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 5.6rem); font-weight: 400; letter-spacing: -.045em; line-height: 1; }
.page-head > p:last-child { color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 44ch; }
.crumbs { grid-column: 1 / -1; font-size: .92rem; color: var(--muted); }
.crumbs a { text-decoration: underline; text-underline-offset: .3em; }
.page-hero img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; background: var(--soft); }

.detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); padding: clamp(56px, 8vw, 110px) 0; }
.detail h2 { font-size: 1.15rem; font-weight: 500; letter-spacing: -.01em; margin-bottom: 1.2rem; }
.detail__text { display: grid; gap: 1.1rem; align-content: start; color: #3c3c3c; font-size: 1.06rem; max-width: 58ch; }
.detail__text .pill { margin-top: 1rem; }
.detail__wide { grid-column: 1 / -1; }
.lined li { padding: .75rem 0; border-top: 1px solid var(--rule); }
.lined li:last-child { border-bottom: 1px solid var(--rule); }

.next { border-top: 1px solid var(--rule); }
.next a { display: grid; gap: .4rem; padding: clamp(40px, 6vw, 80px) 0; font-size: clamp(1.8rem, 4vw, 3.4rem); letter-spacing: -.04em; line-height: 1; transition: opacity .25s; }
.next a span { font-size: .95rem; letter-spacing: 0; color: var(--muted); }
.next a:hover { opacity: .65; }

.svc-rows { border-top: 1px solid var(--rule); margin-bottom: clamp(56px, 8vw, 110px); }
.svc-row { display: grid; grid-template-columns: 220px minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); align-items: center; padding: 1.4rem 0; border-bottom: 1px solid var(--rule); }
.svc-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity .3s; }
.svc-row__name { font-size: clamp(1.4rem, 2.6vw, 2.2rem); letter-spacing: -.03em; }
.svc-row__desc { color: var(--muted); max-width: 40ch; }
.svc-row:hover img { opacity: .85; }

.spec-list > div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: .3rem 1.5rem; padding: 1rem 0; border-top: 1px solid var(--rule); }
.spec-list > div:last-child { border-bottom: 1px solid var(--rule); }
.spec-list dt { font-weight: 500; }
.spec-list dd { grid-column: 2; color: var(--muted); max-width: 64ch; overflow-wrap: anywhere; }
.spec-list dd a { color: var(--ink); text-decoration: underline; text-underline-offset: .25em; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); counter-reset: s; }
.steps li { counter-increment: s; border-top: 1px solid var(--ink); padding-top: 1rem; }
.steps li::before { content: counter(s); display: block; color: var(--muted); font-size: .9rem; margin-bottom: 2.2rem; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.steps p { color: var(--muted); }

.logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap); margin-top: 2rem; }
.logos li { aspect-ratio: 3 / 2; display: grid; place-items: center; background: var(--soft); color: #b0b0b0; font-size: .85rem; }

/* ---------- Galería ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: clamp(28px, 4vw, 44px); }
.chip { font: inherit; font-size: .93rem; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--rule); background: var(--white); color: var(--ink); cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.gallery { columns: 3; column-gap: var(--gap); padding-bottom: clamp(56px, 8vw, 110px); }
.g-item { break-inside: avoid; margin-bottom: clamp(28px, 3vw, 44px); }
.g-item[hidden] { display: none; }
.g-open { display: block; width: 100%; padding: 0; border: 0; background: var(--soft); cursor: zoom-in; }
.g-open img { width: 100%; transition: opacity .3s; }
.g-open:hover img { opacity: .88; }
.g-cap { margin-top: .7rem; display: flex; justify-content: space-between; gap: 1rem; font-size: .96rem; }
.g-cap span { color: var(--muted); text-align: right; flex: none; }
.gallery__empty { color: var(--muted); padding-bottom: 4rem; }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0,0,0,.94); color: var(--white); overscroll-behavior: contain; }
.lightbox::backdrop { background: rgba(0,0,0,.6); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { display: grid; gap: .9rem; justify-items: center; max-width: min(92vw, 1400px); }
.lightbox img { max-height: 80vh; width: auto; object-fit: contain; }
.lightbox figcaption { font-size: .95rem; color: rgba(255,255,255,.75); text-align: center; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: transparent; color: var(--white); font: 300 1.5rem/1 var(--font); cursor: pointer; transition: border-color .2s; }
.lb-btn:hover { border-color: var(--white); }
.lb-close { top: 20px; right: 20px; font-size: 1rem; }
.lb-prev { left: 20px; top: 50%; translate: 0 -50%; }
.lb-next { right: 20px; top: 50%; translate: 0 -50%; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); align-items: start; }
.contact .spec-list > div { grid-template-columns: 7rem minmax(0, 1fr); }
.form { display: grid; gap: 1.5rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem var(--gap); }
.field { display: grid; gap: .2rem; min-width: 0; align-content: start; }
.field > label:not(.check) { font-size: .88rem; color: var(--muted); }
.opt { color: #9b9b9b; }
.form input:not([type="checkbox"]), .form select, .form textarea {
  font: inherit; font-size: 1.05rem; width: 100%; padding: .55rem 0; color: var(--ink); background-color: transparent;
  border: 0; border-bottom: 1px solid #c8c8c8; border-radius: 0; transition: border-color .2s; resize: vertical;
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: right 6px center, right 0 center; background-size: 6px 6px; background-repeat: no-repeat; background-color: transparent; color: var(--ink); }
.form input::placeholder, .form textarea::placeholder { color: #b5b5b5; }
.form input:hover, .form select:hover, .form textarea:hover { border-bottom-color: var(--ink); }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.form [aria-invalid="true"] { border-bottom-color: #b3261e !important; }
.field__err { color: #b3261e; font-size: .86rem; margin-top: .25rem; }
.field__err:empty, .form__note:empty { display: none; }
.check { display: flex; gap: .6rem; align-items: flex-start; cursor: pointer; font-size: .95rem; padding: .2rem 0; }
.check input { width: 18px; height: 18px; margin: .12rem 0 0; accent-color: var(--ink); flex: none; }
.check a { text-decoration: underline; text-underline-offset: .2em; }
.form__note { color: var(--muted); }

.legal { max-width: 720px; padding-bottom: 6rem; }
.legal h2 { font-size: 1.25rem; margin: 2.2rem 0 .6rem; }
.legal p { color: #3c3c3c; }
.legal a { text-decoration: underline; }

/* =========================================================
   PIE
   ========================================================= */
.footer { background: var(--black); color: rgba(255,255,255,.7); }
.footer__top { padding: clamp(72px, 10vw, 140px) 0 clamp(56px, 8vw, 96px); border-bottom: 1px solid rgba(255,255,255,.15); }
.footer__cta { display: flex; align-items: end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer__big { color: var(--white); font-size: clamp(2rem, 5vw, 4.4rem); letter-spacing: -.045em; line-height: 1; max-width: 14ch; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--gap); padding: 48px 0; }
.footer__grid a { display: block; margin-bottom: .45rem; transition: color .2s; }
.footer__grid a:hover { color: var(--white); }
.footer__brand { color: var(--white); font-weight: 500; margin-bottom: .3rem; }
.footer__h { color: var(--white); margin-bottom: .9rem; }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.3rem 0 calc(1.3rem + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.15); font-size: .88rem; color: rgba(255,255,255,.5); }
.footer__bottom a:hover { color: var(--white); }

/* =========================================================
   MOVIMIENTO REDUCIDO
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .intro-screen { display: none !important; }
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1080px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { columns: 2; }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .svc-row { grid-template-columns: 160px minmax(0, 1fr); }
  .svc-row__desc { grid-column: 2; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: stretch; gap: 0;
    padding: calc(var(--header-h) + 24px) var(--gap) 40px; overflow-y: auto; overscroll-behavior: contain;
    background: var(--black); color: var(--white);
    visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s;
  }
  .nav.is-open { visibility: visible; opacity: 1; }
  .header.menu-open { color: var(--white); background: transparent; box-shadow: none; }
  .header.menu-open .brand { position: relative; z-index: 2; }
  .nav > a, .nav__trigger { font-size: 1.9rem; letter-spacing: -.03em; opacity: 1; padding: .55rem 0; border-bottom: 1px solid rgba(255,255,255,.12); width: 100%; justify-content: space-between; text-align: left; }
  .nav > .nav__cta { margin-top: 1.6rem; font-size: 1rem; letter-spacing: 0; width: fit-content; padding: .8rem 1.4rem; border: 1px solid rgba(255,255,255,.6); }
  .sub { position: static; visibility: visible; opacity: 1; transform: none; box-shadow: none; background: transparent; color: inherit; display: none; }
  .sub.is-open { display: block; }
  .sub__list { grid-template-columns: minmax(0, 1fr); gap: 0; padding: .4rem 0 .6rem; width: 100%; }
  .sub__list a { display: block; padding: .55rem 0 .55rem 1rem; }
  .sub__img, .sub__desc { display: none; }
  .sub__name { font-weight: 400; font-size: 1.1rem; color: rgba(255,255,255,.8); }
  .sub__foot { width: 100%; padding: 0 0 .8rem 1rem; }

  .hero { height: auto; min-height: 100svh; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); align-items: start; padding-bottom: 46vh; }
  .hero__services { display: none; }
  .hero__band, .hero__window { top: auto; height: 40vh; left: auto; right: var(--gap); width: 34%; }
  .hero__machine { width: 118vw; right: -10vw; bottom: 4vh; }
  .video-toggle { bottom: 20px; left: var(--gap); right: auto; }

  .page-head, .detail, .contact { grid-template-columns: minmax(0, 1fr); }
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.8rem; }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .page-hero img { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .tile img { aspect-ratio: 4 / 3; }
  .shots, .steps, .form__row { grid-template-columns: minmax(0, 1fr); }
  .gallery { columns: 1; }
  .svc-row { grid-template-columns: minmax(0, 1fr); }
  .svc-row__desc { grid-column: auto; }
  .spec-list > div, .contact .spec-list > div { grid-template-columns: minmax(0, 1fr); }
  .spec-list dd { grid-column: auto; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .section-head { flex-direction: column; }
  .lb-prev, .lb-next { top: auto; bottom: 24px; translate: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
}
@media (pointer: fine) { html { overscroll-behavior: none; } }
