/* ============ Paleta institucional ESCALALUMINIO ============
   Negro: elegancia y solidez · Gris: el aluminio · Naranja: energía de la marca
   (valores tomados del logo de la presentación institucional) */
:root {
  --orange: #F17633;
  --orange-dark: #D9601F;
  --orange-text: #A84614; /* naranja oscurecido para texto chico sobre fondos claros (contraste AA) */
  --black: #141414;
  --graphite: #363636;
  --gray: #8E8C8C;
  --alu: #CCC6C6;
  --alu-light: #EEECEB;
  --white: #FFFFFF;
  --text: #1E1E1E;
  --muted: #5E5C5C;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .12);
  --header-h: 76px;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; background: var(--white); color: var(--text); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); text-transform: uppercase; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

/* ============ Botones ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85em 1.6em; border-radius: var(--radius); font-weight: 600; font-size: .95rem;
  text-decoration: none; border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s;
  text-transform: uppercase; letter-spacing: .04em;
}
.btn:hover { transform: translateY(-2px); }
.btn--orange { background: var(--orange); color: var(--black); }
.btn--orange:hover { background: var(--orange-dark); color: var(--black); }
.btn--ghost { border-color: var(--white); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--black); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: var(--graphite); }

/* ============ Header ============ */
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(8px); border-bottom: 3px solid var(--orange);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.header__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.header__logo img { width: 56px; height: 56px; }
.header__brand { font-weight: 800; font-size: 1.25rem; letter-spacing: .08em; color: var(--graphite); }
.header__brand span { color: var(--orange); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--graphite); position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0; background: var(--orange); transition: width .25s; }
.nav a:not(.btn):hover::after { width: 100%; }
.nav__cta { padding: .6em 1.1em; font-size: .82rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--black); transition: transform .25s, opacity .25s; }

/* ============ Hero ============ */
.hero { position: relative; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; overflow: hidden; background: var(--black); color: var(--white); }
.hero__bg { position: absolute; inset: 0; background: url("assets/fotos/min/f18.jpg") center/cover no-repeat; opacity: .16; filter: grayscale(1); }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--black) 10%, rgba(20,20,20,.4)); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; padding-block: 72px; }
.hero__content { min-width: 0; }
.hero__media { position: relative; }
.hero__media::before { content: ""; position: absolute; top: -16px; right: -16px; width: 55%; height: 60%; border: 10px solid var(--orange); }
.hero__media video { position: relative; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0,0,0,.6); background: #000; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); font-weight: 800; text-transform: uppercase; max-width: 15ch; }
.hl { display: inline; background: var(--orange); color: var(--black); padding: 0 .2em; box-decoration-break: clone; -webkit-box-decoration-break: clone; font-weight: 600; }
.hero__lead { font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 300; max-width: 56ch; color: #E8E6E6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 36px; }
.hero__checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: .95rem; }
.hero__checks li { display: flex; align-items: center; gap: 10px; }
.hero__checks li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--orange); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F17633' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; flex: none; }
.tag { display: inline-block; background: var(--orange); color: var(--black); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; padding: .35em .9em; margin-bottom: 22px; }

/* ============ Secciones ============ */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }
.section--dark { background: var(--black); color: var(--white); }
.section--alu { background: var(--alu-light); }
.section__intro { max-width: 62ch; color: var(--muted); font-size: 1.05rem; }
.section--dark .section__intro { color: #BDBABA; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--orange-text); margin-bottom: 12px; }
.eyebrow--light { color: var(--orange); }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--orange); }

/* Split (texto + imagen) */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--reverse .split__media { order: -1; }
.split__text > p { color: var(--muted); }
.split__text strong { color: var(--text); }
.split__media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.split__media img { width: 100%; height: 520px; object-fit: cover; border-radius: var(--radius); }
.split__media img:nth-child(2) { margin-top: 60px; height: 460px; }
.split__media--single { grid-template-columns: 1fr; position: relative; }
.split__media--single img { height: auto; aspect-ratio: 1 / 1; }
.split__media--single::after { content: ""; position: absolute; right: -14px; bottom: -14px; width: 45%; height: 45%; border: 10px solid var(--orange); z-index: -1; }

.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.mv__card { background: var(--alu-light); padding: 22px; border-left: 4px solid var(--orange); }
.mv__card h3 { text-transform: uppercase; letter-spacing: .06em; margin-bottom: .4em; }
.mv__card p { font-size: .92rem; color: var(--muted); margin: 0; }

/* Cards propuesta de valor */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.card { background: #1F1F1F; border: 1px solid #2E2E2E; padding: 32px 28px; border-radius: var(--radius); transition: border-color .25s, transform .25s; }
.card:hover { border-color: var(--orange); transform: translateY(-4px); }
.card__icon { width: 54px; height: 54px; display: grid; place-items: center; background: var(--orange); margin-bottom: 22px; }
.card__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--black); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: #BDBABA; font-size: .95rem; margin: 0; }

/* Líneas */
.lines { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.line { display: flex; flex-direction: column; background: var(--white); border: 1px solid #DAD5D5; border-radius: var(--radius); overflow: hidden; transition: border-color .25s, transform .25s; }
.line:hover { border-color: var(--orange); transform: translateY(-4px); }
.line img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.line__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.line__level { display: flex; gap: 5px; margin-bottom: 14px; }
.line__level i { flex: 1; max-width: 30px; height: 5px; background: #DAD5D5; }
.line__level i.on { background: var(--orange); }
.line small { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.line h3 { font-size: 1.3rem; text-transform: uppercase; margin: 4px 0 2px; }
.line h3 span { color: var(--orange-text); }
.line__sub { font-size: .82rem; font-weight: 600; color: var(--muted); margin: 0; }
.line p { color: var(--muted); font-size: .92rem; margin: 10px 0 14px; }
.line ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; font-size: .9rem; }
.line li { display: flex; gap: 10px; align-items: center; }
.line li::before { content: ""; width: 8px; height: 8px; background: var(--orange); flex: none; }
.line__fit { margin-top: auto; border-top: 1px solid #E4E0E0; padding-top: 12px; font-size: .85rem; }
.line__fit b { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-text); }
.line--top { background: var(--black); border-color: var(--black); color: var(--white); }
.line--top h3 span, .line--top .line__fit b { color: var(--orange); }
.line--top small, .line--top p, .line--top .line__sub { color: #BDBABA; }
.line--top .line__level i { background: #444; }
.line--top .line__level i.on { background: var(--orange); }
.line--top .line__fit { border-color: #333; color: #D8D6D6; }
.lines__note { margin-top: 28px; color: var(--muted); font-size: .92rem; }
.catalog__download { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.catalog__download span { color: #BDBABA; font-size: .9rem; }

/* Features (clima) */
.features { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.features li { display: grid; gap: 2px; padding-left: 22px; position: relative; }
.features li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; background: var(--orange); }
.features span { color: var(--muted); font-size: .95rem; }
.note { background: var(--black); color: #D8D6D6; padding: 20px 22px; font-size: .92rem; border-radius: var(--radius); }
.note strong { color: var(--orange); }

/* Soluciones */
.solutions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.solution { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); text-decoration: none; background: var(--graphite); }
.solution img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.solution::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.8)); }
.solution span { position: absolute; left: 18px; bottom: 16px; z-index: 1; color: var(--white); font-weight: 700; text-transform: uppercase; font-size: 1.05rem; letter-spacing: .03em; padding-bottom: 6px; border-bottom: 3px solid var(--orange); }
.solution:hover img { transform: scale(1.06); }

/* Catálogo */
.catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.catalog__item { padding: 0; border: 1px solid #2E2E2E; background: #000; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; transition: border-color .25s; }
.catalog__item img { width: 100%; height: 100%; object-fit: contain; }
.catalog__item:hover { border-color: var(--orange); }

/* Galería */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 32px; }
.filter { font: inherit; font-size: .88rem; font-weight: 500; padding: .5em 1.1em; border: 1.5px solid var(--alu); background: var(--white); color: var(--graphite); border-radius: 999px; cursor: pointer; transition: all .2s; }
.filter:hover { border-color: var(--orange); color: var(--orange-text); }
.filter.is-active { background: var(--orange); border-color: var(--orange); color: var(--black); }
.gallery { columns: 4 240px; column-gap: 12px; }
.gallery__item { break-inside: avoid; margin: 0 0 12px; padding: 0; border: 0; display: block; width: 100%; cursor: zoom-in; overflow: hidden; border-radius: var(--radius); background: var(--alu-light); position: relative; }
.gallery__item img { width: 100%; height: auto; transition: transform .45s, opacity .3s; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--orange); transition: width .3s; }
.gallery__item:hover::after { width: 100%; }
.gallery__item[hidden] { display: none; }
.gallery__more { text-align: center; margin-top: 28px; }
.gallery__more .btn { font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer; }
.gallery__more .btn[hidden] { display: none; }

/* Videos */
.videos { display: grid; gap: 18px; margin-top: 36px; }
.videos--wide { grid-template-columns: repeat(2, 1fr); }
.videos--tall { grid-template-columns: repeat(4, 1fr); margin-top: 18px; }
.video { margin: 0; background: #000; border: 1px solid #2E2E2E; border-radius: var(--radius); overflow: hidden; }
.video video { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #000; }
.videos--tall .video video { aspect-ratio: 9 / 16; }
.video figcaption { padding: 12px 16px; font-size: .88rem; color: #D8D6D6; border-top: 3px solid var(--orange); }

/* Paleta */
.palette { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 28px; border-radius: var(--radius); overflow: hidden; }
.swatch { padding: 34px 28px 30px; min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.swatch strong { font-size: 1.4rem; text-transform: uppercase; letter-spacing: .04em; }
.swatch span { font-size: .92rem; opacity: .9; }
.swatch--black { background: var(--black); color: var(--white); }
.swatch--gray { background: linear-gradient(135deg, #D6D1D1, #A9A6A6); color: var(--black); }
.swatch--orange { background: var(--orange); color: var(--black); }

/* Contacto */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: stretch; }
.contact__info > p { color: var(--muted); }
.contact__list { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 20px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__list svg { flex: none; width: 44px; height: 44px; padding: 10px; background: var(--orange); color: var(--black); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; border-radius: var(--radius); }
.contact__list div { display: grid; }
.contact__list span { color: var(--muted); }
.contact__list a { text-decoration: none; font-weight: 500; color: var(--text); }
.contact__list a:hover { color: var(--orange-text); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact__map { min-height: 420px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border-bottom: 6px solid var(--orange); }
.contact__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* Footer */
.footer { background: var(--black); color: #BDBABA; padding: 56px 0 28px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.footer__brand { display: flex; gap: 20px; align-items: center; }
.footer__brand img { width: 96px; height: 96px; background: var(--white); padding: 6px; border-radius: var(--radius); flex: none; }
.footer__brand p { margin: 0; max-width: 38ch; font-size: .92rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: flex-end; }
.footer__links a { text-decoration: none; font-size: .92rem; }
.footer__links a:hover { color: var(--orange); }
.footer__legal { grid-column: 1 / -1; border-top: 1px solid #2E2E2E; padding-top: 22px; margin-top: 8px; font-size: .82rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.footer__legal p { margin: 0; }
.footer__legal nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__legal a, .linklike { color: #BDBABA; text-decoration: underline; text-underline-offset: 3px; }
.footer__legal a:hover, .linklike:hover { color: var(--orange); }
.linklike { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #128C7E; color: var(--white); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8, 8, 8, .95); display: flex; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lightbox__close, .lightbox__nav { position: absolute; background: none; border: 0; color: var(--white); cursor: pointer; font: 300 2.6rem/1 "Poppins", sans-serif; padding: 10px 16px; transition: color .2s; }
.lightbox__close:hover, .lightbox__nav:hover { color: var(--orange); }
.lightbox__close { top: 10px; right: 14px; }
.lightbox__nav--prev { left: 8px; top: 50%; transform: translateY(-50%); font-size: 3.6rem; }
.lightbox__nav--next { right: 8px; top: 50%; transform: translateY(-50%); font-size: 3.6rem; }
.lightbox__caption { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #BDBABA; font-size: .85rem; margin: 0; }

/* Foco visible para navegación con teclado */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--orange); outline-offset: 3px;
}

/* Banda de llamado a la acción */
.cta-band { background: var(--orange); color: var(--black); padding: 44px 0; }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.cta-band h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 0 0 .25em; }
.cta-band p { margin: 0; font-weight: 500; }

/* Presupuesto (formulario) */
.quote { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.quote__steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; color: #D8D6D6; }
.quote__steps li { display: flex; gap: 14px; align-items: center; }
.quote__steps strong { flex: none; width: 34px; height: 34px; display: grid; place-items: center; background: var(--orange); color: var(--black); border-radius: 50%; }
.form { background: var(--white); color: var(--text); padding: clamp(22px, 3vw, 34px); border-radius: var(--radius); border-top: 6px solid var(--orange); display: grid; gap: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { display: grid; gap: 6px; margin-bottom: 6px; }
.field label { font-size: .88rem; font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; width: 100%; padding: .7em .85em; border: 1.5px solid #B5B1B1; border-radius: var(--radius); background: var(--white); color: var(--text);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange-text); }
.field [aria-invalid="true"] { border-color: #B3261E; background: #FFF6F5; }
.field__error { min-height: 1.2em; margin: 0; font-size: .8rem; color: #B3261E; }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 4px 10px; }
.field--check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--orange-text); }
.field--check label { font-weight: 400; }
.field--check a { color: var(--orange-text); }
.field--check .field__error { grid-column: 1 / -1; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { width: 100%; margin-top: 6px; font: inherit; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; }
.form__status { margin: 8px 0 0; font-size: .9rem; min-height: 1.4em; }
.form__status.is-ok { color: #1E6B34; }
.form__status.is-error { color: #B3261E; }

/* Mapa a demanda */
.map-placeholder { height: 100%; min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 24px;
  background: repeating-linear-gradient(45deg, #E2DFDE 0 12px, #E9E6E5 12px 24px); }
.map-placeholder svg { width: 54px; height: 54px; padding: 12px; background: var(--orange); color: var(--black); fill: none; stroke: currentColor; stroke-width: 2; border-radius: 50%; }
.map-placeholder p { margin: 0; }
.map-placeholder small { color: var(--muted); }
.map-placeholder .btn { font: inherit; font-weight: 600; text-transform: uppercase; cursor: pointer; }

/* Banner de cookies */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 760px; margin-inline: auto; background: var(--black); color: #E8E6E6;
  border: 1px solid #333; border-left: 6px solid var(--orange); border-radius: var(--radius); padding: 18px 20px; box-shadow: 0 16px 40px rgba(0,0,0,.35);
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; flex: 1 1 320px; font-size: .9rem; }
.cookie a { color: var(--orange); }
.cookie__actions { display: flex; gap: 10px; }
.cookie .btn { font: inherit; font-size: .85rem; font-weight: 600; padding: .6em 1.2em; cursor: pointer; text-transform: uppercase; }
.btn--ghost-dark { background: transparent; border-color: #BDBABA; color: var(--white); }
.btn--ghost-dark:hover { border-color: var(--white); }

/* Páginas legales y 404 */
.legal { padding: clamp(48px, 7vw, 88px) 0; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); text-transform: uppercase; }
.legal h2 { font-size: 1.2rem; text-transform: none; margin-top: 2em; }
.legal p, .legal li { color: #3E3C3C; }
.legal a, .legal .linklike { color: var(--orange-text); }
.legal .container > .linklike, .legal p .linklike { font-weight: 500; }
.legal .updated { color: var(--muted); font-size: .9rem; }
.notfound { min-height: calc(100vh - var(--header-h) - 200px); display: grid; place-items: center; text-align: center; padding: 64px 0; }
.notfound__code { font-size: clamp(5rem, 18vw, 10rem); font-weight: 800; line-height: 1; margin: 0; color: var(--black); }
.notfound__code span { color: var(--orange); }
.notfound .btn { margin: 8px 6px; }

/* Animación de entrada */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============ Responsive ============ */
@media (max-width: 1020px) {
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 3px solid var(--orange); padding: 8px 16px 20px; transform: translateY(-120%); transition: transform .3s; z-index: -1; box-shadow: var(--shadow); }
  .nav.is-open { transform: none; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--alu-light); }
  .nav__cta { margin-top: 14px; padding: .9em; }
  .nav-toggle { display: block; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .split, .contact, .hero__grid, .quote { grid-template-columns: 1fr; }
  .hero__media { max-width: 640px; }
  .split--reverse .split__media { order: 0; }
  .cards, .solutions, .catalog, .videos--tall, .lines { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .header__logo img { width: 46px; height: 46px; }
  .header__brand { font-size: 1.05rem; }
  .hero__grid { padding-block: 48px 56px; }
  .hero__media::before { top: -10px; right: -10px; border-width: 6px; }
  .videos--wide { grid-template-columns: 1fr; }
  .split__media img { height: 300px; }
  .split__media img:nth-child(2) { margin-top: 36px; height: 264px; }
  .split__media--single::after { right: -8px; bottom: -8px; border-width: 6px; }
  .mv, .cards, .solutions, .palette, .lines { grid-template-columns: 1fr; }
  .catalog, .videos--tall { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery { columns: 2; column-gap: 8px; }
  .gallery__item { margin-bottom: 8px; }
  .swatch { min-height: 140px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__links { justify-content: flex-start; }
  .footer__brand { flex-direction: column; align-items: flex-start; }
  .lightbox { padding: 56px 8px; }
  .lightbox__nav { font-size: 2.6rem; }
  .form__row { grid-template-columns: 1fr; }
  .cta-band .btn { width: 100%; }
  .cookie { left: 8px; right: 8px; bottom: 8px; }
  .cookie__actions { width: 100%; }
  .cookie__actions .btn { flex: 1; }
  .footer__legal { flex-direction: column; }
}
