/* AB Inoxidables — hoja única del sitio */

:root {
  /* Acero: neutros fríos */
  --paper: #f3f5f6;
  --surface: #ffffff;
  --ink: #0e1215;
  --muted: #535d65;
  --line: #d3d9dd;
  --line-strong: #aab3b9;
  --steel-1: #eef1f3;
  --steel-2: #c9d0d5;
  --steel-3: #9aa5ad;
  --steel-4: #5f6a72;
  --dark: #0b0e10;
  --graphite: #101418;
  --graphite-2: #171c21;
  --dark-line: #2a3137;
  --on-dark: #e6ecef;
  --on-dark-muted: #9aa5ad;

  /* Acento único: el azul del arco TIG */
  --arc: #1a56f0;
  --arc-deep: #1444c4;
  --arc-soft: #e4ecff;
  --arc-glow: #7ea6ff;

  --font: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  --hdr: 68px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --r-btn: 24px;
}

/* Tema de las figuras isométricas: heredan paleta y tipografía del sitio */
html .ab-iso {
  /* cabecera fija + cota superior del marco (36 px) − su holgura: la tarjeta y su marco caben en pantalla */
  --iso-offset-top: calc(var(--hdr) + 32px);
  --iso-paper: var(--surface);
  --iso-ink: var(--ink);
  --iso-muted: var(--muted);
  --iso-line: var(--line);
  --iso-accent: var(--arc);
  --iso-accent-soft: var(--arc-soft);
  --iso-steel-1: #eef1f3;
  --iso-steel-2: #c3cbd1;
  --iso-steel-3: #96a1aa;
  --iso-steel-4: #59646d;
  --iso-glass: rgba(170, 205, 225, 0.38);
  --iso-wood: #b98b5e;
  --iso-stone: #cbbd9f;
  --iso-leaf: #8fa65a;
  --iso-black: #1b1f23;
  --iso-font: var(--font);
  --iso-font-mono: var(--font-mono);
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.32s; animation-timing-function: var(--ease); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); scrollbar-color: var(--line-strong) transparent; }
body {
  margin: 0; background: var(--surface); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6; letter-spacing: -0.005em;
  font-variant-numeric: tabular-nums; overflow-x: clip; caret-color: var(--arc);
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--arc-soft); color: var(--ink); }
.steel ::selection, .hero ::selection { background: var(--arc); color: #fff; }
:focus-visible { outline: 2px solid var(--arc); outline-offset: 3px; border-radius: 2px; }
.hdr :focus-visible, .steel :focus-visible, .hero :focus-visible, .doors :focus-visible, .lb :focus-visible { outline-color: var(--arc-glow); }
[hidden] { display: none !important; }
.mono { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--bleed { max-width: none; padding-inline: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.i { width: 20px; height: 20px; flex: none; }

/* ---------- tipografía */
.display {
  font-family: var(--font); font-stretch: 125%; font-variation-settings: 'wdth' 125;
  font-weight: 560; text-transform: uppercase; line-height: 1; letter-spacing: -0.012em; text-wrap: balance;
}
.display--hero { font-size: clamp(2.5rem, 7.4vw, 6rem); line-height: 0.92; letter-spacing: -0.02em; }
.display--xl { font-size: clamp(2.3rem, 6.4vw, 5.6rem); line-height: 0.94; letter-spacing: -0.018em; }
.display--l { font-size: clamp(1.85rem, 4.4vw, 4.4rem); line-height: 0.98; }
.display--m { font-size: clamp(1.5rem, 2.8vw, 2.4rem); line-height: 1.04; }
.display--s { font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.12; letter-spacing: 0; }
@media (max-width: 480px) { .display { font-stretch: 112%; font-variation-settings: 'wdth' 112; } }
.lede { font-size: clamp(1.06rem, 1.4vw, 1.25rem); line-height: 1.55; color: var(--muted); max-width: 56ch; text-wrap: pretty; }
.lede--light { color: var(--on-dark); }
p { text-wrap: pretty; }

/* ---------- materia: acero cepillado y plano técnico */
.steel {
  position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark);
  background-color: var(--graphite);
  background-image:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.022) 0 1px, rgba(255, 255, 255, 0) 1px 3px),
    repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0 1px, rgba(0, 0, 0, 0) 1px 8px),
    linear-gradient(180deg, #12171b 0%, #0c1013 100%);
}
.steel::before { /* veta del cepillado */
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='320'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.0025 0.85' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.steel::after { /* reflejo que barre con el scroll */
  content: ''; position: absolute; top: 0; bottom: 0; left: -50%; width: 200%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent 38%, rgba(205, 218, 228, 0.065) 47%, rgba(126, 166, 255, 0.04) 51%, transparent 60%);
}
.steel p { color: var(--on-dark-muted); }
.steel .lede--light, .steel .cta__txt { color: var(--on-dark); }

.blueprint {
  position: relative; background-color: #f4f6f8;
  background-image:
    linear-gradient(rgba(26, 86, 240, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 86, 240, 0.075) 1px, transparent 1px),
    linear-gradient(rgba(26, 86, 240, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 86, 240, 0.035) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
}
.reg { position: absolute; width: 22px; height: 22px; pointer-events: none; color: var(--line-strong); z-index: 2; }
.reg::before, .reg::after { content: ''; position: absolute; background: currentColor; }
.reg::before { left: 0; right: 0; top: 50%; height: 1px; }
.reg::after { top: 0; bottom: 0; left: 50%; width: 1px; }
.reg--tl { top: 14px; left: 14px; } .reg--tr { top: 14px; right: 14px; }
.reg--bl { bottom: 14px; left: 14px; } .reg--br { bottom: 14px; right: 14px; }
.steel .reg, .hero .reg, .door .reg { color: rgba(230, 236, 239, 0.4); }

/* ---------- cordón de soldadura (firma) */
.seam { position: relative; display: block; width: min(300px, 62%); height: 2px; margin: 28px 0 24px; background: var(--line); }
.seam::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--steel-3) 0%, var(--steel-3) 78%, var(--arc) 100%); transform-origin: left center; }
.seam::after { content: ''; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--arc); }
.seam__bead { position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.seam__bead::before, .hero__spark {
  content: ''; position: absolute; left: 0; top: 50%; width: 10px; height: 10px; margin-top: -5px; translate: -5px 0; border-radius: 50%;
  background: #fff; box-shadow: 0 0 6px 2px rgba(126, 166, 255, 0.95), 0 0 22px 8px rgba(26, 86, 240, 0.55);
}
.steel .seam { background: rgba(230, 236, 239, 0.18); }
.steel .seam::before { background: linear-gradient(90deg, #c3cbd1 0%, #c3cbd1 76%, var(--arc-glow) 100%); }
.steel .seam::after { background: var(--arc-glow); }
html.js .seam::before { animation: seam-draw 1.5s 0.35s var(--ease-io) both; }
html.js .seam::after { animation: seam-dot 1.85s both; }
html.js .seam__bead { opacity: 1; }
html.js .seam__bead::before { animation: seam-bead 1.5s 0.35s var(--ease-io) both; }
@keyframes seam-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes seam-bead { 0% { opacity: 0; left: 0; } 6% { opacity: 1; } 94% { opacity: 1; left: 100%; } 100% { opacity: 0; left: 100%; } }
@keyframes seam-dot { 0%, 92% { opacity: 0; } 100% { opacity: 1; } }

/* ---------- botones y enlaces */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: var(--r-btn); border: 1px solid transparent;
  font-size: 15px; font-weight: 560; line-height: 1.1; text-decoration: none; cursor: pointer;
  transition: background-color 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.25s, transform 0.3s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 16px; }
.btn--arc { background: var(--arc); color: #fff; box-shadow: 0 8px 22px -12px rgba(7, 9, 11, 0.55); }
.btn--arc:hover { background: var(--arc-deep); box-shadow: 0 12px 26px -12px rgba(7, 9, 11, 0.65); }
.btn .i { transition: transform 0.25s var(--ease); }
.btn--arc:hover .i:last-child { transform: translateX(3px); }
.btn--wa { background: var(--ink); color: #fff; }
.btn--wa:hover { background: #262d33; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--steel-1); }
.btn--ghost-light { border-color: rgba(230, 236, 239, 0.45); color: #fff; background: rgba(11, 14, 16, 0.2); }
.btn--ghost-light:hover { border-color: #fff; background: rgba(11, 14, 16, 0.45); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 32px; }
.link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 560; font-size: 15px; text-decoration: none; color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 100% 1px no-repeat;
}
.link .i { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.link:hover { color: var(--arc-deep); }
.link:hover .i { transform: translateX(4px); }
.link--light, .steel .link { color: #fff; }
.link--light:hover, .steel .link:hover { color: var(--arc-glow); }

/* reflejo de acero al pasar el cursor */
.sheen { position: relative; overflow: hidden; isolation: isolate; }
.sheen::after {
  content: ''; position: absolute; inset: -2px; z-index: 4; pointer-events: none;
  background: linear-gradient(104deg, transparent 30%, rgba(255, 255, 255, 0.05) 40%, rgba(255, 255, 255, 0.34) 49%, rgba(225, 235, 255, 0.12) 54%, transparent 66%);
  transform: translateX(-110%);
}
@media (hover: hover) { .sheen:hover::after { transform: translateX(110%); transition: transform 1s var(--ease); } }

/* ---------- encabezado */
.hdr { position: sticky; top: 0; z-index: 50; color: var(--on-dark); border-bottom: 1px solid var(--dark-line); }
/* el vidrio va en un pseudo-elemento: un backdrop-filter en .hdr volvería al encabezado el bloque contenedor del menú fijo */
.hdr::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(11, 14, 16, 0.94); }
@supports (backdrop-filter: blur(1px)) { .hdr::before { background: rgba(11, 14, 16, 0.8); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); } }
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--hdr); max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--on-dark); min-height: 44px; }
.logo__mark { display: block; height: 40px; width: auto; }
.logo__word { display: block; height: 15px; width: auto; }
.logo--full { display: inline-block; min-height: 0; }
.logo--full img { display: block; width: 116px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 4px; }
.nav__list a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 12px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; color: var(--on-dark-muted);
  font-stretch: 112%; font-variation-settings: 'wdth' 112; transition: color 0.18s;
}
.nav__list a:hover, .nav__list a[aria-current] { color: #fff; }
.nav__list a[aria-current] { text-decoration: underline; text-decoration-color: var(--arc-glow); text-decoration-thickness: 1px; text-underline-offset: 8px; }
.nav__cta { min-height: 44px; padding: 0 20px; font-size: 14px; }
.hdr__toggle { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; background: none; border: 1px solid var(--dark-line); border-radius: 50%; color: #fff; cursor: pointer; }
.hdr__toggle .i:last-child { display: none; }
.hdr.is-open .hdr__toggle .i:first-child { display: none; }
.hdr.is-open .hdr__toggle .i:last-child { display: block; }
@media (max-width: 959px) {
  .logo__mark { height: 34px; }
  .logo__word { height: 13px; }
  html.no-js .hdr__in { flex-wrap: wrap; padding-block: 8px; }
  html.no-js .nav { width: 100%; flex-wrap: wrap; gap: 8px; }
  html.no-js .nav__list { flex-wrap: wrap; }
  html.js .hdr__toggle { display: inline-flex; }
  html.js .nav {
    position: fixed; inset: var(--hdr) 0 0 0; z-index: 49; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px;
    padding: 24px var(--gutter) 40px; background: var(--dark); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity 0.22s var(--ease), transform 0.3s var(--ease), visibility 0s 0.3s;
  }
  html.js .hdr.is-open .nav { visibility: visible; opacity: 1; transform: none; transition: opacity 0.25s var(--ease), transform 0.35s var(--ease); }
  html.js .nav__list { flex-direction: column; gap: 0; }
  html.js .nav__list a {
    width: 100%; min-height: 64px; padding: 0; justify-content: flex-start; border-bottom: 1px solid var(--dark-line);
    font-size: 1.5rem; letter-spacing: 0; color: var(--on-dark); font-stretch: 125%; font-variation-settings: 'wdth' 125; font-weight: 520;
  }
  html.js .nav__list a[aria-current] { color: #fff; text-decoration-thickness: 2px; text-underline-offset: 10px; }
  html.js .nav__cta { min-height: 54px; font-size: 16px; }
  body.menu-open { overflow: hidden; }
}

/* ---------- héroe del inicio */
.hero { position: relative; display: grid; align-items: end; min-height: min(calc(100svh - var(--hdr)), 920px); background: #07090b; color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; container-type: size; }
/* slider del encabezado: las fotos se apilan y se funden entre sí */
.hero__slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.6s var(--ease-io), transform 0s 1.6s;
}
.hero__slide.is-on { opacity: 1; transform: none; transition: opacity 1.6s var(--ease-io), transform 7.5s linear; }
.hero__dots { position: absolute; left: var(--gutter); bottom: 14px; z-index: 3; display: flex; gap: 4px; }
.hero__dot { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; }
.hero__dot i { display: block; width: 28px; height: 2px; background: rgba(230, 236, 239, 0.35); position: relative; overflow: hidden; transition: background 0.2s; }
.hero__dot:hover i { background: rgba(230, 236, 239, 0.6); }
.hero__dot i::after { content: ''; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__dot.is-on i::after { transform: scaleX(1); }
html.js .hero__dot.is-on.is-run i::after { animation: dot-run var(--hero-t, 6.5s) linear both; }
@keyframes dot-run { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (min-width: 1440px) { .hero__dots { left: calc((100vw - var(--wrap)) / 2 + var(--gutter)); } }
.hero__media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(7, 9, 11, 0.95) 0%, rgba(7, 9, 11, 0.62) 38%, rgba(7, 9, 11, 0.1) 72%),
    linear-gradient(to right, rgba(7, 9, 11, 0.6) 0%, rgba(7, 9, 11, 0) 55%);
}
.hero .notes { z-index: 1; }
.hero__in { position: relative; z-index: 2; padding-top: 140px; padding-bottom: clamp(56px, 9vh, 104px); }
.hero__h { max-width: 16ch; }
.hl { display: block; }
.hl > span { display: inline-block; position: relative; }
.hl--steel > span { color: #b8c2c9; }
.hero__cota { position: absolute; left: 0; right: 0; bottom: -0.5em; height: 14px; display: flex; align-items: center; gap: 10px; color: var(--arc-glow); font-size: 1rem; }
.hero__cota i { flex: 1; height: 1px; background: currentColor; position: relative; transform-origin: center; }
.hero__cota::before, .hero__cota::after { content: ''; position: absolute; top: 0; width: 1px; height: 14px; background: currentColor; }
.hero__cota::before { left: 0; } .hero__cota::after { right: 0; }
.hero__cota b { font-size: 11px; white-space: nowrap; color: #dbe5ff; letter-spacing: 0.06em; }
.hero__spark { opacity: 0; }
.hero__lede { margin-top: clamp(40px, 6vh, 64px); }
.hero__fig { position: absolute; right: var(--gutter); bottom: 20px; z-index: 2; color: rgba(230, 236, 239, 0.72); font-size: 12px; text-transform: none; letter-spacing: 0.02em; display: none; }
@media (min-width: 900px) { .hero__fig { display: block; } }
@media (max-width: 899px) { .hero .notes { display: none; } .hero__cota { bottom: -0.62em; } }
html.js .hero__media { animation: hero-img 1.8s var(--ease) both; }
html.js .hl > span { animation: hl-in 1s var(--ease) both; }
html.js .hl:nth-child(2) > span { animation-delay: 0.1s; }
html.js .hl:nth-child(3) > span { animation-delay: 0.2s; }
html.js .hero__cota::before, html.js .hero__cota::after { animation: fade-in 0.3s 0.95s both; }
html.js .hero__cota i { animation: cota-draw 0.9s 1s var(--ease) both; }
html.js .hero__cota b { animation: fade-in 0.5s 1.5s both; }
html.js .hero__spark { animation: spark-run 1.1s 0.95s var(--ease-io) both; }
html.js .hero__lede, html.js .hero__act { animation: rise 0.9s 1.1s var(--ease) both; }
html.js .hero .note { animation: note-in 0.6s calc(1.6s + var(--i) * 0.16s) var(--ease) both; }
@keyframes hero-img { from { transform: scale(1.09); filter: brightness(0.45) saturate(0.6); } to { transform: none; filter: none; } }
@keyframes hl-in { from { clip-path: inset(0 0 100% 0); transform: translateY(0.35em); } to { clip-path: inset(-30% -6% -90% -6%); transform: none; } }
@keyframes cota-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes spark-run { 0% { opacity: 0; left: 0; } 10% { opacity: 1; } 90% { opacity: 1; left: 100%; } 100% { opacity: 0; left: 100%; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes note-in { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }

/* ---------- anotaciones de pieza sobre fotos */
.notes { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.note { position: absolute; left: var(--x); top: var(--y); width: 0; height: 0; }
.note__dot { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #fff; background: rgba(26, 86, 240, 0.92); box-shadow: 0 1px 6px rgba(0, 0, 0, 0.45); }
.note__dot::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.5); }
.note__lbl {
  position: absolute; top: -13px; left: 30px; white-space: nowrap;
  font: 500 11px/1 var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em;
  color: #fff; background: rgba(11, 14, 16, 0.82); padding: 7px 9px; border-radius: 2px;
}
.note__lbl::before { content: ''; position: absolute; top: 50%; left: -23px; width: 23px; height: 1px; background: #fff; }
.note--l .note__lbl { left: auto; right: 30px; }
.note--l .note__lbl::before { left: auto; right: -23px; }
.tf__img { container-type: inline-size; }
@container (max-width: 460px) {
  .note__lbl { font-size: 11px; letter-spacing: 0.02em; padding: 5px 6px; top: -11px; }
  .note__lbl::before { width: 11px; }
  .note--sm-r .note__lbl { left: 18px; right: auto; }
  .note--sm-r .note__lbl::before { left: -11px; right: auto; }
  .note--sm-l .note__lbl { right: 18px; left: auto; }
  .note--sm-l .note__lbl::before { right: -11px; left: auto; }
  .note__dot { width: 12px; height: 12px; left: -6px; top: -6px; }
  .note:nth-child(n+4) { display: none; }
}
html.js [data-tf] .note { opacity: 0; transform: scale(0.6); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); transition-delay: calc(0.35s + var(--i) * 0.14s); }
html.js [data-tf].is-in .note { opacity: 1; transform: none; }

/* ---------- foto en marco técnico */
.tf { position: relative; min-width: 0; color: var(--ink); }
.tf__img { position: relative; display: block; overflow: hidden; background: var(--steel-1); }
.tf__img img, .tf__img video { width: 100%; height: 100%; object-fit: cover; }
.tf__link { display: block; color: #fff; text-decoration: none; }
.tf::before { /* esquinas de registro */
  content: ''; position: absolute; inset: -9px -9px auto -9px; height: calc(100% - 22px); pointer-events: none; z-index: 2;
  background:
    linear-gradient(currentColor, currentColor) left top / 16px 1px no-repeat,
    linear-gradient(currentColor, currentColor) left top / 1px 16px no-repeat,
    linear-gradient(currentColor, currentColor) right top / 16px 1px no-repeat,
    linear-gradient(currentColor, currentColor) right top / 1px 16px no-repeat,
    linear-gradient(currentColor, currentColor) left bottom / 16px 1px no-repeat,
    linear-gradient(currentColor, currentColor) left bottom / 1px 16px no-repeat,
    linear-gradient(currentColor, currentColor) right bottom / 16px 1px no-repeat,
    linear-gradient(currentColor, currentColor) right bottom / 1px 16px no-repeat;
  opacity: 0.55;
}
.tf--slide::before, .det .tf::before { display: none; }
.tf__cap { display: flex; gap: 14px; align-items: baseline; margin-top: 14px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.tf__cap .mono { flex: none; color: var(--arc-deep); font-size: 11px; }
.steel .tf, .tf--dark { color: var(--on-dark); }
.steel .tf__cap, .tf--dark .tf__cap { color: var(--on-dark-muted); }
.steel .tf__cap .mono, .tf--dark .tf__cap .mono { color: var(--arc-glow); }
.tf__img--vid { aspect-ratio: 4 / 5; }
.vid { position: relative; width: 100%; height: 100%; background: var(--dark); overflow: hidden; }
.vid__v { width: 100%; height: 100%; object-fit: cover; }
.vid__btn { position: absolute; right: 12px; bottom: 12px; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(11, 14, 16, 0.66); color: #fff; cursor: pointer; }
.vid__btn .i { width: 18px; height: 18px; }
.vid__btn .i:last-child { display: none; }
.vid.is-paused .vid__btn .i:first-child { display: none; }
.vid.is-paused .vid__btn .i:last-child { display: block; }
.g__badge { position: absolute; z-index: 3; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 9px; border-radius: 999px; background: rgba(11, 14, 16, 0.72); color: #fff; font-size: 13px; font-weight: 560; }
.g__badge .i { width: 16px; height: 16px; }
.g__zoom { position: absolute; z-index: 3; right: 10px; top: 10px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(11, 14, 16, 0.6); color: #fff; opacity: 0; transition: opacity 0.2s; }
.g__zoom .i { width: 16px; height: 16px; }
.tf__link:hover .g__zoom, .tf__link:focus-visible .g__zoom { opacity: 1; }

/* ---------- cinta de categorías */
.mq { position: relative; overflow: hidden; background: var(--graphite); color: var(--on-dark); border-block: 1px solid var(--dark-line); padding-block: 18px; }
.mq__track { display: flex; width: max-content; animation: mq 46s linear infinite; }
.mq:hover .mq__track { animation-play-state: paused; }
.mq__list { display: flex; align-items: center; flex: none; }
.mq__list li {
  display: flex; align-items: center; gap: 40px; padding-right: 40px; white-space: nowrap;
  font-stretch: 125%; font-variation-settings: 'wdth' 125; text-transform: uppercase; font-weight: 520; font-size: clamp(1rem, 1.6vw, 1.3rem);
}
.mq__list li::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--arc-glow); box-shadow: 0 0 10px 1px rgba(126, 166, 255, 0.6); }
.mq--big { padding-block: clamp(20px, 3vw, 36px); }
.mq--big .mq__list li { font-size: clamp(2rem, 6vw, 5rem); font-weight: 600; gap: clamp(28px, 4vw, 64px); padding-right: clamp(28px, 4vw, 64px); }
.mq--big .mq__list li:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(230, 236, 239, 0.55); }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- accesos grandes */
.doors { background: var(--dark); }
.doors__in { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.door { position: relative; display: block; aspect-ratio: 16 / 11; color: #fff; text-decoration: none; background: var(--graphite-2); overflow: hidden; }
.door__img { position: absolute; inset: 0; overflow: hidden; }
.door__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) brightness(0.92); transition: filter 0.6s; }
.door:hover .door__img img { filter: saturate(1) brightness(1); }
.door::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(11, 14, 16, 0.92) 0%, rgba(11, 14, 16, 0.25) 55%, rgba(11, 14, 16, 0.05) 100%); }
.door .reg { z-index: 3; }
.door__txt { position: absolute; z-index: 3; left: clamp(20px, 3vw, 48px); right: 104px; bottom: clamp(20px, 3vw, 44px); display: grid; gap: 12px; }
.door__t { font-stretch: 125%; font-variation-settings: 'wdth' 125; font-weight: 600; text-transform: uppercase; font-size: clamp(1.6rem, 3.2vw, 3rem); line-height: 0.96; }
.door__d { color: var(--on-dark); max-width: 42ch; font-size: 15px; line-height: 1.5; }
.door__go { position: absolute; z-index: 3; right: clamp(20px, 3vw, 44px); bottom: clamp(20px, 3vw, 44px); display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; border: 1px solid rgba(230, 236, 239, 0.5); transition: background-color 0.25s, border-color 0.25s, transform 0.35s var(--ease); }
.door:hover .door__go { background: var(--arc); border-color: var(--arc); transform: rotate(-45deg); }
@media (max-width: 699px) { .doors__in { grid-template-columns: 1fr; } .door { aspect-ratio: 4 / 3; } .door__txt { right: 88px; } }

/* ---------- secciones */
.sec { position: relative; padding-block: clamp(72px, 10vw, 144px); }
.sec--tight { padding-top: clamp(24px, 4vw, 48px); }
.sec--paper { background: var(--paper); }
.sec__head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec__head > div { display: grid; gap: 18px; max-width: 820px; }
.sec__head p { color: var(--muted); max-width: 58ch; font-size: 1.06rem; }
.steel .sec__head p { color: var(--on-dark-muted); }
.sec__head--row { grid-template-columns: 1fr auto; align-items: end; gap: 16px 40px; }
@media (max-width: 699px) { .sec__head--row { grid-template-columns: 1fr; } }

/* ---------- isométrico rodeado de plano */
/* el texto va arriba, en columnas propias: la figura conserva todo el ancho y su alto lo limita la pantalla */
.isohome__in { display: grid; gap: clamp(28px, 4vw, 48px); }
.isohome__txt { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 18px clamp(32px, 5vw, 80px); align-items: end; }
.isohome__txt h2 { grid-row: span 3; align-self: start; }
.isohome__txt > p { color: var(--muted); max-width: 46ch; }
.isohome__txt .varlist { max-width: 460px; }
@media (max-width: 899px) { .isohome__txt { grid-template-columns: 1fr; } .isohome__txt h2 { grid-row: auto; } }
.varlist { display: grid; border-top: 1px solid var(--line-strong); width: 100%; }
.varlist li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-strong); font-weight: 560; }
.sw { width: 24px; height: 24px; border-radius: 50%; flex: none; border: 1px solid var(--line-strong); }
.sw--acero { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0 1px, transparent 1px 3px), linear-gradient(135deg, #f6f8f9 0%, #9aa5ad 42%, #edf1f3 58%, #7c8790 100%); }
.sw--vidrio { background: linear-gradient(135deg, rgba(214, 236, 246, 0.95), rgba(128, 176, 204, 0.6) 60%, rgba(214, 236, 246, 0.9)); }
.sw--negro { background: linear-gradient(135deg, #3a4046 0%, #121518 50%, #2a2f34 100%); border-color: #121518; }
.sw--lg { width: 64px; height: 64px; border: 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -1px 0 rgba(0, 0, 0, 0.2); }
.isoframe { position: relative; padding: 36px 0 0 40px; min-width: 0; }
.cota { position: absolute; display: flex; align-items: center; gap: 10px; color: var(--arc-deep); }
.cota i { flex: 1; background: currentColor; }
.cota b { font-size: 11px; white-space: nowrap; }
.cota--h { top: 10px; left: 40px; right: 0; height: 12px; }
.cota--h i { height: 1px; }
.cota--h::before, .cota--h::after { content: ''; position: absolute; top: 0; width: 1px; height: 12px; background: currentColor; }
.cota--h::before { left: 0; } .cota--h::after { right: 0; }
.cota--v { left: 10px; top: 40px; bottom: 0; width: 12px; flex-direction: column; }
.cota--v i { width: 1px; }
.cota--v b { writing-mode: vertical-rl; transform: rotate(180deg); }
.cota--v::before, .cota--v::after { content: ''; position: absolute; left: 0; height: 1px; width: 12px; background: currentColor; }
.cota--v::before { top: 0; } .cota--v::after { bottom: 0; }
.isoframe .reg { color: var(--arc-deep); opacity: 0.6; }
.isoframe .reg--tl { top: 28px; left: 28px; } .isoframe .reg--tr { top: 28px; right: -12px; }
.isoframe .reg--bl { bottom: -12px; left: 28px; } .isoframe .reg--br { bottom: -12px; right: -12px; }
.isoframe .ab-iso { position: relative; z-index: 1; box-shadow: 0 30px 60px -40px rgba(14, 18, 21, 0.45); }
@media (max-width: 599px) {
  .isoframe { padding: 30px 0 0 26px; }
  .cota--h { left: 26px; top: 6px; } .cota--v { top: 30px; left: 4px; }
  .isoframe .reg { display: none; }
}
.ab-iso { width: 100%; min-width: 0; }
.ab-iso__fallback { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.ab-iso__fallback img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ab-iso__fallback figcaption { padding: 14px 18px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); background: var(--surface); }

/* ---------- carrusel */
.car { position: relative; }
.car__bar { display: flex; align-items: center; gap: 20px; margin-bottom: 22px; padding-inline: var(--edge); }
.car__prog { position: relative; flex: 1; height: 1px; background: var(--line); }
.car__prog span { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 0.12)); transition: transform 0.15s linear; }
.car__count { color: var(--muted); white-space: nowrap; font-size: 11px; }
.car__btns { display: flex; gap: 8px; }
.car__btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; transition: background-color 0.18s, color 0.18s, border-color 0.18s; }
.car__btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.car__btn:disabled { opacity: 0.35; cursor: default; background: transparent; color: var(--ink); border-color: var(--line-strong); }
html.no-js .car__btns { display: none; }
.car__track {
  --h: clamp(300px, 58vh, 600px);
  display: flex; gap: clamp(12px, 1.6vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding-inline: var(--edge); scroll-padding-inline: var(--edge); padding-bottom: 6px; scrollbar-width: none;
}
.car__track::-webkit-scrollbar { display: none; }
.car__track.is-drag { scroll-snap-type: none; cursor: grabbing; }
.car__track.is-drag a { pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .car__track { cursor: grab; } }
.car__track:focus-visible { outline-offset: -2px; }
.car__slide { flex: none; scroll-snap-align: start; }
.car__slide .tf__img { height: var(--h); width: min(calc(var(--h) * var(--arn, 0.75)), 84vw); }
.car__slide .tf__img img { user-select: none; -webkit-user-drag: none; }
.car__slide .tf__cap { max-width: min(calc(var(--h) * var(--arn, 0.75)), 84vw); }
@media (max-width: 599px) { .car__track { --h: clamp(260px, 92vw, 440px); } }
.steel .car__prog { background: var(--dark-line); }
.steel .car__prog span { background: #fff; }
.steel .car__btn { color: #fff; border-color: rgba(230, 236, 239, 0.35); }
.steel .car__btn:hover { background: #fff; color: var(--ink); }

/* ---------- reel de videos verticales */
.reelsec__in { display: grid; grid-template-columns: minmax(min-content, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.reelsec__txt { display: grid; gap: 20px; align-content: start; }
.reel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.story { position: relative; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: #000; transform: scale(0.95); opacity: 0.62; transition: transform 0.6s var(--ease), opacity 0.4s, box-shadow 0.4s; }
.story.is-active { transform: none; opacity: 1; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(126, 166, 255, 0.55); }
.story__v { width: 100%; height: 100%; object-fit: cover; }
.story__bar { position: absolute; top: 12px; left: 12px; right: 12px; height: 2px; z-index: 3; background: rgba(255, 255, 255, 0.28); border-radius: 2px; overflow: hidden; }
.story__bar span { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(var(--p, 0)); }
.story__hit { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0) 45%); border: 0; cursor: pointer; border-radius: inherit; }
.story__hit:focus-visible { outline: 2px solid var(--arc-glow); outline-offset: -4px; }
html.no-js .story__hit { display: none; }
.story__cap { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 3; display: grid; gap: 6px; color: #fff !important; font-size: 14px; font-weight: 600; line-height: 1.25; pointer-events: none; }
.story__cap .mono { font-size: 11px; color: var(--arc-glow); }
@media (max-width: 899px) {
  .reelsec__in { grid-template-columns: 1fr; }
  .reel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .reel::-webkit-scrollbar { display: none; }
  .story { flex: 0 0 min(62vw, 300px); scroll-snap-align: center; }
}

/* ---------- proceso en línea (inicio) */
.stl__weld { position: relative; display: block; height: 2px; background: var(--line); margin-bottom: 32px; }
.stl__weld span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--steel-3), var(--steel-3) 85%, var(--arc)); transform-origin: left; }
.stl__weld::after { content: ''; position: absolute; right: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--arc); }
html.js .stl__weld span { transform: scaleX(0); transition: transform 2s var(--ease-io); }
html.js .stl__weld::after { opacity: 0; transition: opacity 0.3s 1.9s; }
html.js .stl.is-in .stl__weld span { transform: scaleX(1); }
html.js .stl.is-in .stl__weld::after { opacity: 1; box-shadow: 0 0 12px 3px rgba(26, 86, 240, 0.45); }
.stl__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); }
.st { display: grid; gap: 12px; align-content: start; }
.st__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--steel-1); margin-bottom: 8px; }
.st__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.st:hover .st__img img { transform: scale(1.04); }
.st__n { color: var(--arc-deep); font-size: 11px; }
.st h3 { font-size: 1.25rem; line-height: 1.2; font-weight: 650; }
.st p { color: var(--muted); font-size: 16px; }
@media (max-width: 899px) { .stl__list { grid-template-columns: 1fr 1fr; gap: 40px 16px; } }
@media (max-width: 539px) { .stl__list { grid-template-columns: 1fr; gap: 36px; } .st__img { aspect-ratio: 16 / 10; } }
/* Etapa 02: plano a mano → modelo 3D → en el espacio, en secuencia */
.st__img--seq { position: relative; }
.st__img--seq .st__f { position: absolute; inset: 0; opacity: 0; animation: st-seq 12s infinite; }
.st__img--seq .st__f:nth-child(2) { animation-delay: 4s; }
.st__img--seq .st__f:nth-child(3) { animation-delay: 8s; }
@keyframes st-seq { 0% { opacity: 0; } 4% { opacity: 1; } 33% { opacity: 1; } 38% { opacity: 0; } 100% { opacity: 0; } }
.st__tag { position: absolute; left: 10px; bottom: 10px; padding: 5px 8px; border-radius: 4px; background: rgba(11, 14, 16, 0.78); color: #fff; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; }
@media (max-width: 539px) { .st__img.st__img--seq { aspect-ratio: 4 / 5; } }
@media (prefers-reduced-motion: reduce) {
  .st__img--seq .st__f { animation: none; }
  .st__img--seq .st__f:nth-child(2) { opacity: 1; }
}


/* ---------- también sale del taller */
.biglist { border-top: 1px solid var(--line-strong); }
.bl {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr) auto; align-items: center; gap: 24px;
  min-height: 64px; padding: clamp(18px, 2.4vw, 30px) 0; border-bottom: 1px solid var(--line-strong); text-decoration: none; color: var(--ink);
}
.bl::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--arc); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.bl:hover::after, .bl:focus-visible::after { transform: scaleX(1); }
.bl__t { font-stretch: 125%; font-variation-settings: 'wdth' 125; text-transform: uppercase; font-weight: 600; font-size: clamp(1.6rem, 4.6vw, 4rem); line-height: 1; transition: transform 0.5s var(--ease), color 0.3s; }
.bl:hover .bl__t, .bl:focus-visible .bl__t { transform: translateX(14px); color: var(--arc-deep); }
.bl__d { color: var(--muted); font-size: 15px; max-width: 32ch; }
.bl__go { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.35s var(--ease); }
.bl:hover .bl__go, .bl:focus-visible .bl__go { background: var(--ink); color: #fff; border-color: var(--ink); transform: rotate(-45deg); }
@media (max-width: 699px) {
  .bl { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; }
  .bl__t { grid-column: 1; }
  .bl__d { grid-column: 1; grid-row: 2; font-size: 14px; }
  .bl__go { grid-column: 2; grid-row: 1 / span 2; width: 44px; height: 44px; }
}

/* ---------- llamado a cotizar con chispas */
.cta { padding-block: clamp(96px, 13vw, 190px); }
.cta__sparks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.cta__in { position: relative; z-index: 1; }
.cta__in h2 { max-width: 13ch; color: #fff; }
.cta__seam { position: relative; display: block; width: min(560px, 72%); height: 2px; margin: 32px 0 28px; background: rgba(230, 236, 239, 0.16); }
.cta__seam span { position: absolute; inset: 0; background: linear-gradient(90deg, #c3cbd1 0%, #c3cbd1 80%, var(--arc-glow)); transform-origin: left; }
.cta__seam i { position: absolute; right: -5px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px 3px rgba(126, 166, 255, 0.9), 0 0 36px 12px rgba(26, 86, 240, 0.45); }
html.js .cta__seam span { transform: scaleX(0); transition: transform 1.4s var(--ease-io); }
html.js .cta__seam i { opacity: 0; transition: opacity 0.4s 1.3s; }
html.js .cta.is-in .cta__seam span { transform: scaleX(1); }
html.js .cta.is-in .cta__seam i { opacity: 1; animation: arc-flicker 2.4s 1.7s infinite; }
@keyframes arc-flicker { 0%, 100% { opacity: 1; } 8% { opacity: 0.55; } 12% { opacity: 1; } 47% { opacity: 0.8; } 50% { opacity: 1; } }
.cta__txt { max-width: 52ch; font-size: 1.12rem; }

/* ---------- cabeceras interiores */
.phead.steel { border-bottom: 1px solid var(--dark-line); }
.phead__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: clamp(48px, 7vw, 104px); }
.phead__txt { min-width: 0; }
.phead__txt h1 { color: #fff; }
.phead__media { min-width: 0; }
.phead__media .tf__img { max-height: 74svh; }
.phead__media .tf { max-width: min(100%, calc(74svh * var(--arn, 0.8))); margin-left: auto; }
@media (max-width: 899px) {
  .phead__in { grid-template-columns: 1fr; }
  .phead__media .tf { max-width: 100%; }
  .phead__media .tf__img--vid { aspect-ratio: 4 / 3; }
}
.phead--plan { border-bottom: 1px solid var(--line); }
.phead__plan { padding-block: clamp(56px, 8vw, 120px) clamp(36px, 4vw, 56px); }
.phead__plan .lede { margin-bottom: 0; }

/* ---------- muestrario de barandas */
.plate { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); align-items: center; padding-block: clamp(48px, 6vw, 96px); border-top: 1px solid var(--line); }
.plate:first-child { border-top: 0; padding-top: 0; }
.plate--1 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.plate--1 .plate__fig { order: 2; }
.plate__fig { min-width: 0; padding: 9px; }
.plate__fig .tf { width: min(100%, calc(78svh * var(--arn, 1))); margin-inline: auto; }
.plate__txt { display: grid; gap: 20px; justify-items: start; }
.plate__txt h3 { font-size: clamp(1.7rem, 3.2vw, 3rem); }
.plate__code { color: var(--arc-deep); font-size: 12px; padding: 6px 10px; border: 1px solid currentColor; border-radius: 2px; }
.plate__txt > p { color: var(--muted); max-width: 46ch; font-size: 1.08rem; }
.plate__sw { display: flex; align-items: center; gap: 20px; width: 100%; }
.spec { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; padding: 14px 0; border-block: 1px solid var(--line); width: 100%; max-width: 48ch; }
.spec dt { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); padding-top: 4px; }
.spec dd { margin: 0; font-weight: 560; }
.spec--list { border-top: 0; padding-top: 0; }
.spec--list ul { display: flex; flex-wrap: wrap; gap: 6px; }
.spec--list li { padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13px; font-weight: 520; }
@media (max-width: 899px) { .plate, .plate--1 { grid-template-columns: 1fr; } .plate--1 .plate__fig { order: 0; } }

/* pestañas */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: -24px; margin-bottom: 36px; }
.tab, .filter {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: transparent; font-size: 15px; font-weight: 560; cursor: pointer; transition: background-color 0.18s, border-color 0.18s, color 0.18s;
}
.tab .mono, .filter .mono { font-size: 11px; color: var(--muted); }
.tab:hover, .filter:hover { border-color: var(--ink); }
.tab[aria-selected="true"], .filter[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tab[aria-selected="true"] .mono, .filter[aria-pressed="true"] .mono { color: var(--steel-2); }
.pan + .pan { margin-top: 56px; }
.pan__h { padding-inline: var(--edge); margin-bottom: 20px; }
html.js .pans.is-tabs .pan { display: none; }
html.js .pans.is-tabs .pan.is-on { display: block; animation: rise 0.5s var(--ease) both; }
html.js .pans.is-tabs .pan + .pan { margin-top: 0; }
html.js .pans.is-tabs .pan__h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* lugares en acordeón */
.acc { display: flex; gap: 10px; height: clamp(420px, 64vh, 640px); }
.acc__p { position: relative; flex: 1; min-width: 0; overflow: hidden; container-type: inline-size; border-radius: 2px; transition: flex-grow 0.8s var(--ease); cursor: default; outline-offset: 4px; }
.acc:not(:hover):not(:focus-within) .acc__p:first-child, .acc__p:hover, .acc__p:focus-visible { flex-grow: 2.6; }
.acc__img { position: absolute; inset: 0; overflow: hidden; }
.acc__img img { width: 100%; height: 100%; object-fit: cover; }
.acc__p::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(7, 9, 11, 0.9), rgba(7, 9, 11, 0.1) 60%); }
.acc__txt { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 24px; display: grid; gap: 10px; }
.acc__t { font-stretch: 125%; font-variation-settings: 'wdth' 125; text-transform: uppercase; font-weight: 600; font-size: min(clamp(1.3rem, 2.4vw, 2.2rem), calc((100cqi - 48px) / 8.2)); color: #fff; line-height: 1; white-space: nowrap; }
/* El título se achica con el panel para que la palabra entera quepa aunque el panel esté cerrado */
.acc__d { color: var(--on-dark); font-size: 15px; max-width: 36ch; opacity: 0; transform: translateY(8px); transition: opacity 0.4s, transform 0.5s var(--ease); }
.acc:not(:hover):not(:focus-within) .acc__p:first-child .acc__d, .acc__p:hover .acc__d, .acc__p:focus-visible .acc__d { opacity: 1; transform: none; transition-delay: 0.2s; }
@media (max-width: 799px), (hover: none) {
  .acc { flex-direction: column; height: auto; }
  .acc__p { flex: none !important; aspect-ratio: 16 / 11; }
  .acc__d { opacity: 1; transform: none; }
}

/* ---------- gastronomía: índice fijo y escenas */
.gx { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.gx__box { position: sticky; top: calc(var(--hdr) + 32px); padding-top: clamp(72px, 9vw, 128px); }
.gx__label { color: var(--muted); margin-bottom: 14px; font-size: 11px; }
.gx__idx ol { display: grid; }
.gx__idx a { display: grid; gap: 2px; min-height: 48px; padding: 10px 0 10px 18px; border-left: 1px solid var(--line); text-decoration: none; color: var(--muted); transition: color 0.2s, border-color 0.2s; }
.gx__idx a:hover { color: var(--ink); }
.gx__idx a.is-on { color: var(--ink); border-left: 2px solid var(--arc); padding-left: 17px; }
.gx__name { font-weight: 600; font-size: 15px; line-height: 1.3; }
.gx__n { font-size: 11px; }
.gx__weld { display: none; }
.prod { padding-block: clamp(72px, 9vw, 128px); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--hdr) + 56px); }
.prod:first-child { border-top: 0; }
.prod__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 20px 48px; align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.prod__head h2 { font-size: clamp(1.7rem, 3.3vw, 3.3rem); }
.prod__head p { color: var(--muted); font-size: 1.06rem; }
.prod__scene { padding: 9px; margin-bottom: clamp(48px, 6vw, 80px); }
.prod__scene .tf { width: min(100%, calc(80svh * var(--arn, 1))); margin-inline: auto; }
.prod__iso { display: grid; gap: 24px; margin-bottom: clamp(48px, 6vw, 80px); padding: clamp(20px, 2.4vw, 32px); }
.prod__iso.blueprint, .prod__iso { background-color: #f4f6f8; background-image: linear-gradient(rgba(26, 86, 240, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(26, 86, 240, 0.07) 1px, transparent 1px); background-size: 24px 24px; }
.prod__isotxt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 10px 40px; align-items: end; }
@media (max-width: 699px) { .prod__isotxt { grid-template-columns: 1fr; } }
.prod__isotxt p { color: var(--muted); }
.prod .car__bar, .prod .car__track { padding-inline: 0; scroll-padding-inline: 0; }
.prod .car__track { margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
@media (max-width: 999px) {
  .gx { grid-template-columns: minmax(0, 1fr); gap: 0; padding-inline: 0; }
  .gx__body { padding-inline: var(--gutter); min-width: 0; }
  .gx__idx { position: sticky; top: var(--hdr); z-index: 20; background: rgba(255, 255, 255, 0.95); border-bottom: 1px solid var(--line); }
  .gx__box { position: static; padding: 0; }
  .gx__label { display: none; }
  .gx__idx ol { display: flex; overflow-x: auto; padding-inline: var(--gutter); scrollbar-width: none; }
  .gx__idx ol::-webkit-scrollbar { display: none; }
  .gx__idx a { border-left: 0; border-bottom: 2px solid transparent; white-space: nowrap; padding: 12px 14px; min-height: 52px; align-content: center; }
  .gx__idx a.is-on { border-left: 0; border-bottom-color: var(--arc); padding-left: 14px; }
  .gx__n { display: none; }
  .prod__head, .prod__iso { grid-template-columns: 1fr; }
  .prod__iso { padding: 20px 12px; margin-inline: calc(-1 * var(--gutter) + 4px); }
}

/* ---------- proyectos: galería editorial */
.filters { margin-top: 36px; }
.filters ul { display: flex; flex-wrap: wrap; gap: 8px; }
.filters__status { margin-top: 16px; color: var(--muted); min-height: 1.6em; font-size: 11px; }
.anchor { display: block; position: relative; top: calc(-1 * var(--hdr) - 24px); }
.edgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(48px, 5.6vw, 84px); grid-auto-flow: dense; gap: 12px; }
.ed { position: relative; min-width: 0; }
.ed--0 { grid-column: span 7; grid-row: span 6; } .ed--1 { grid-column: span 5; grid-row: span 6; }
.ed--2, .ed--3, .ed--4 { grid-column: span 4; grid-row: span 4; }
.ed--5 { grid-column: span 5; grid-row: span 7; } .ed--6 { grid-column: span 7; grid-row: span 7; }
.ed--7, .ed--9 { grid-column: span 3; grid-row: span 4; } .ed--8 { grid-column: span 6; grid-row: span 4; }
.ed.is-hidden { display: none; }
.ed__link { position: absolute; inset: 0; display: block; color: #fff; text-decoration: none; background: var(--steel-1); }
.ed__img, .ed__img img { display: block; width: 100%; height: 100%; }
.ed__img img { object-fit: cover; transition: transform 1s var(--ease); }
@media (hover: hover) { .ed__link:hover .ed__img img { transform: scale(1.035); } }
.ed figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: grid; gap: 6px; padding: 40px 14px 14px; color: #fff; font-size: 14px; line-height: 1.35; pointer-events: none; background: linear-gradient(to top, rgba(7, 9, 11, 0.85), rgba(7, 9, 11, 0)); }
.ed figcaption .mono { font-size: 11px; color: var(--arc-glow); }
.ed .g__badge { top: 12px; bottom: auto; }
@media (hover: hover) and (pointer: fine) {
  .ed figcaption { opacity: 0; transform: translateY(6px); transition: opacity 0.3s, transform 0.4s var(--ease); }
  .ed:hover figcaption, .ed:focus-within figcaption { opacity: 1; transform: none; }
}
@media (max-width: 699px) {
  .edgrid { grid-template-columns: 1fr 1fr; grid-auto-rows: 44vw; gap: 8px; }
  .ed { grid-column: span 1 !important; grid-row: span 1 !important; }
  .ed--0, .ed--6 { grid-column: span 2 !important; grid-row: span 1 !important; }
  .ed--1, .ed--5 { grid-row: span 2 !important; }
  .ed figcaption { font-size: 12px; padding: 32px 10px 10px; }
  .ed figcaption span:last-child { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}
::view-transition-group(*) { animation-duration: 0.45s; animation-timing-function: var(--ease); }

/* ---------- taller: proceso con scroll fijo */
.sp { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); }
.sp__media { position: sticky; top: calc(var(--hdr) + 32px); height: calc(100svh - var(--hdr) - 64px); max-height: 760px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; }
.sp__frame { position: relative; background: var(--steel-1); }
.sp__frame .reg { color: var(--ink); opacity: 0.5; }
.sp__frame .reg--tl { top: -11px; left: -11px; } .sp__frame .reg--tr { top: -11px; right: -11px; }
.sp__frame .reg--bl { bottom: -11px; left: -11px; } .sp__frame .reg--br { bottom: -11px; right: -11px; }
.sp__layer { position: absolute; inset: 0; overflow: hidden; opacity: 0; transform: scale(1.04); transition: opacity 0.7s var(--ease), transform 1.1s var(--ease); }
.sp__layer.is-on { opacity: 1; transform: none; }
.sp__layer img { width: 100%; height: 100%; object-fit: cover; }
.sp__layer .plano, .sp__inline .plano { width: 100%; height: 100%; }
.plano { background: #f4f6f8; color: var(--arc-deep); padding: 4%; }
.plano__grid path { stroke: rgba(26, 86, 240, 0.09); stroke-width: 1; }
.plano__ink { color: var(--ink); }
.plano__txt text { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.05em; }
.plano__txt--s text { font-size: 11px; }
.sp__weld { position: relative; width: 2px; background: var(--line); }
.sp__weld span { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--p, 0) * 100%); background: linear-gradient(180deg, var(--steel-3), var(--steel-3) 85%, var(--arc)); }
.sp__weld span::after { content: ''; position: absolute; left: -4px; bottom: -5px; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px 2px rgba(126, 166, 255, 0.95), 0 0 18px 6px rgba(26, 86, 240, 0.5); }
.sp__steps { display: grid; }
.sp__step { min-height: 76svh; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding-block: 40px; }
.sp__step p { color: var(--muted); max-width: 44ch; font-size: 1.1rem; }
.sp__n { color: var(--arc-deep); font-size: 12px; }
.sp__inline { display: none; }
html.js .sp__step { opacity: 0.28; transition: opacity 0.5s var(--ease); }
html.js .sp__step.is-on { opacity: 1; }
@media (max-width: 899px) {
  .sp { grid-template-columns: 1fr; }
  .sp__media { display: none; }
  .sp__step { min-height: 0; padding-block: 28px; border-top: 1px solid var(--line); gap: 14px; }
  html.js .sp__step { opacity: 1; }
  .sp__inline { display: block; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 8px; background: var(--steel-1); }
  .sp__inline img { width: 100%; height: 100%; object-fit: cover; }
}

/* detalle de oficio */
.dets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.det__win { position: relative; aspect-ratio: 1; overflow: hidden; background: #000; }
.det__zoom { position: absolute; max-width: none; height: auto; transition: transform 1.2s var(--ease); }
.det:hover .det__zoom { transform: scale(1.12); }
.det__cross { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 1px solid rgba(126, 166, 255, 0.85); border-radius: 50%; pointer-events: none; }
.det__cross::before, .det__cross::after { content: ''; position: absolute; background: rgba(126, 166, 255, 0.85); }
.det__cross::before { left: -12px; right: -12px; top: 50%; height: 1px; }
.det__cross::after { top: -12px; bottom: -12px; left: 50%; width: 1px; }
.det__meta { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; margin-top: 16px; align-items: start; }
.det__thumb { position: relative; width: 84px; overflow: hidden; }
.det__thumb img { width: 100%; height: 100%; object-fit: cover; }
.det__rect { position: absolute; border: 1.5px solid var(--arc-glow); box-shadow: 0 0 0 200px rgba(7, 9, 11, 0.5); }
.det h3 { font-size: 1.05rem; font-weight: 650; color: #fff; margin-bottom: 4px; }
.det p { font-size: 14px; line-height: 1.5; }
@media (max-width: 999px) { .dets { grid-template-columns: 1fr 1fr; } }
@media (max-width: 499px) { .dets { grid-template-columns: 1fr; } }

.blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 4vw, 72px); }
.blocks li { display: grid; gap: 10px; padding-block: 32px; border-top: 1px solid var(--line-strong); }
.blocks .mono { color: var(--arc-deep); font-size: 11px; }
.blocks h3 { font-stretch: 125%; font-variation-settings: 'wdth' 125; text-transform: uppercase; font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; line-height: 1.05; }
.blocks p { color: var(--muted); max-width: 50ch; }
@media (max-width: 699px) { .blocks { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split__txt { display: grid; gap: 20px; justify-items: start; }
.split__txt p { color: var(--muted); max-width: 50ch; font-size: 1.06rem; }
.split__media { padding: 9px; }
.split__media .tf { max-width: 460px; margin-left: auto; }
@media (max-width: 799px) { .split { grid-template-columns: 1fr; } .split__media .tf { margin: 0; } }

/* ---------- cotizar */
.quote { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 80px); align-items: start; padding-top: clamp(24px, 4vw, 48px); }
@media (max-width: 899px) { .quote { grid-template-columns: 1fr; } }
.form { display: grid; }
.fstep { border: 0; margin: 0; padding: 0 0 44px; min-width: 0; display: grid; gap: 20px; }
.fstep + .fstep { padding-top: 44px; border-top: 1px solid var(--line); }
.fstep legend { display: grid; gap: 8px; padding: 0; margin-bottom: 22px; font-stretch: 125%; font-variation-settings: 'wdth' 125; text-transform: uppercase; font-weight: 600; font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.05; }
.fstep__n { color: var(--arc-deep); font-size: 11px; font-stretch: 100%; font-variation-settings: normal; }
.tcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(126px, 1fr)); gap: 12px; }
.tcard { position: relative; display: block; }
.tcard input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tcard__in { position: relative; display: grid; align-content: space-between; gap: 18px; min-height: 152px; padding: 18px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; cursor: pointer; transition: border-color 0.2s, background-color 0.2s, box-shadow 0.25s, transform 0.3s var(--ease); }
.tcard__in > span { font-weight: 600; font-size: 15px; line-height: 1.25; }
.ti { width: 46px; height: 46px; color: var(--ink); transition: color 0.2s, transform 0.4s var(--ease); }
.tcard__in:hover { border-color: var(--ink); transform: translateY(-2px); }
.tcard__in:hover .ti { transform: translateY(-2px); }
.tcard__ok { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--arc); color: #fff; transform: scale(0); transition: transform 0.35s var(--ease); }
.tcard__ok .i { width: 14px; height: 14px; }
.tcard input:checked + .tcard__in { border-color: var(--arc); background: var(--arc-soft); box-shadow: 0 0 0 1px var(--arc); }
.tcard input:checked + .tcard__in .ti { color: var(--arc-deep); }
.tcard input:checked + .tcard__in .tcard__ok { transform: scale(1); }
.tcard input:focus-visible + .tcard__in { outline: 2px solid var(--arc); outline-offset: 3px; }
.mgrid { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 32px; align-items: center; }
.mbox { width: 100%; color: var(--line-strong); }
.mbox__d { color: var(--muted); transition: color 0.25s; }
.mbox__d text { fill: currentColor; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; }
.mbox__d path { stroke-width: 1.5; }
.mbox__d.is-on { color: var(--arc); }
.mbox__d.is-on path { stroke-width: 2.2; }
.mfields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mfields .hint { grid-column: 1 / -1; }
@media (max-width: 599px) { .mgrid { grid-template-columns: 1fr; } .mbox { max-width: 240px; } .mfields { gap: 12px; } }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 599px) { .row2 { grid-template-columns: 1fr; } }
.inp { display: grid; gap: 6px; min-width: 0; }
.inp > span:first-child { font-size: 14px; font-weight: 560; color: var(--ink); }
.inp input, .inp textarea { width: 100%; min-height: 48px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; background: transparent; font-size: 17px; outline: none; transition: border-color 0.18s, box-shadow 0.18s; }
.inp textarea { resize: vertical; min-height: 112px; line-height: 1.5; }
.inp input:focus, .inp textarea:focus { border-bottom-color: var(--arc); box-shadow: 0 1px 0 var(--arc); }
.inp input::placeholder, .inp textarea::placeholder { color: #6b757d; }
.inp__u { position: relative; display: block; }
.inp__u input { padding-right: 28px; font-family: var(--font-mono); }
.inp__u i { position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-style: normal; font-family: var(--font-mono); font-size: 14px; color: var(--muted); }
.inp.is-bad input { border-bottom-color: #b42318; }
.hint { font-size: 14px; color: var(--muted); }
.drop { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; align-items: center; padding: 22px 24px; border: 1px dashed var(--line-strong); border-radius: 12px; cursor: pointer; transition: border-color 0.18s, background-color 0.18s; }
.drop:hover { border-color: var(--ink); background: var(--paper); }
.drop:focus-within { outline: 2px solid var(--arc); outline-offset: 3px; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop .i { grid-row: span 2; width: 28px; height: 28px; color: var(--arc-deep); }
.drop__t { font-weight: 600; }
.drop__d { font-size: 14px; color: var(--muted); }
.drop__box { grid-row: span 2; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border: 1.5px solid var(--line-strong); border-radius: 6px; color: #fff; transition: background-color 0.18s, border-color 0.18s; }
.drop__box .i { width: 16px; height: 16px; color: inherit; grid-row: auto; opacity: 0; transform: scale(0.6); transition: opacity 0.18s, transform 0.18s; }
.drop--check input { inset: auto; width: 1px; height: 1px; pointer-events: none; }
.drop--check:has(input:checked) { border-style: solid; border-color: var(--arc); background: var(--arc-soft); }
.drop--check input:checked + .drop__box { background: var(--arc); border-color: var(--arc); }
.drop--check input:checked + .drop__box .i { opacity: 1; transform: none; }
.form__err { color: #b42318; font-size: 15px; font-weight: 520; }
.form__send { justify-self: start; }
.sent { display: grid; gap: 12px; justify-items: start; padding: 28px; background: var(--arc-soft); border-radius: 12px; outline: none; }
.sent__t { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 1.15rem; color: var(--arc-deep); }
.aside { position: sticky; top: calc(var(--hdr) + 24px); display: grid; gap: 16px; justify-items: start; padding: clamp(28px, 3vw, 40px); border-radius: 12px; }
.aside h2 { color: #fff; }
.aside h3 { margin-top: 16px; font-size: 1rem; font-weight: 600; color: #fff; }
.checks { display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--on-dark); }
.checks .i { color: var(--arc-glow); margin-top: 2px; }
.aside__place { display: flex; gap: 8px; align-items: flex-start; color: inherit; text-decoration: none; padding-top: 16px; border-top: 1px solid var(--dark-line); width: 100%; font-size: 15px; }
@media (max-width: 899px) { .aside { position: relative; top: auto; } }

/* ---------- pie */
.ftr { color: var(--on-dark-muted); }
.ftr__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-block: 72px 32px; }
.ftr__brand { display: grid; gap: 16px; align-content: start; }
.ftr__brand p { max-width: 40ch; font-size: 15px; }
.ftr__nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-dark); text-decoration: none; }
.ftr__nav a:hover { color: #fff; text-decoration: underline; }
.ftr__cta { display: grid; gap: 20px; align-content: start; justify-items: start; }
.ftr__place { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; color: inherit; text-decoration: none; }
.ftr__place address, .aside__place address { display: grid; font-style: normal; line-height: 1.45; }
.ftr__place .i, .aside__place .i { flex: none; margin-top: 2px; }
.ftr__place:hover address span:first-child, .aside__place:hover address span:first-child { text-decoration: underline; text-underline-offset: 3px; }
.ftr__word { overflow: hidden; white-space: nowrap; text-align: center; font-stretch: 125%; font-variation-settings: 'wdth' 125; font-weight: 700; font-size: 8.4vw; line-height: 0.82; letter-spacing: -0.02em; color: transparent; -webkit-text-stroke: 1px rgba(230, 236, 239, 0.16); padding-top: 24px; user-select: none; }
.ftr__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px 28px; border-top: 1px solid var(--dark-line); font-size: 13px; }
.ftr__base .mono { font-size: 11px; }
@media (max-width: 799px) { .ftr__in { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- lightbox */
.lb { position: fixed; inset: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: rgba(7, 9, 11, 0.96); color: #fff; }
.lb::backdrop { background: rgba(7, 9, 11, 0.9); }
.lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lb__top { display: flex; justify-content: space-between; align-items: center; padding: 12px var(--gutter); gap: 16px; }
.lb__count { font-family: var(--font-mono); font-size: 13px; color: var(--on-dark-muted); }
.lb__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 clamp(8px, 7vw, 96px); }
.lb__stage img, .lb__stage video { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lb__cap { padding: 16px var(--gutter) 24px; text-align: center; color: var(--on-dark); font-size: 15px; max-width: 70ch; margin-inline: auto; min-height: 3.2em; }
.lb__btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(230, 236, 239, 0.3); background: rgba(11, 14, 16, 0.6); color: #fff; cursor: pointer; transition: background-color 0.18s, border-color 0.18s; }
.lb__btn:hover { background: var(--arc); border-color: var(--arc); }
.lb__prev, .lb__next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lb__prev { left: clamp(8px, 2vw, 32px); }
.lb__next { right: clamp(8px, 2vw, 32px); }
html.js .lb__stage > .lb__media { animation: lb-in 0.35s var(--ease) both; }
@keyframes lb-in { from { opacity: 0; transform: scale(0.985); } to { opacity: 1; transform: none; } }

/* ---------- apariciones */
html.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
html.js [data-reveal="mask"] { opacity: 1; transform: translateY(0.3em); clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
html.js [data-reveal="mask"].is-in { clip-path: inset(-0.3em -0.2em -0.35em -0.2em); }

/* ---------- movimiento ligado al scroll (solo donde el navegador lo soporta) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .px > img { animation: px linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    .steel::after { animation: sheen linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  }
}
@keyframes px { from { transform: translate3d(0, -5%, 0) scale(1.12); } to { transform: translate3d(0, 5%, 0) scale(1.12); } }
@keyframes sheen { from { transform: translate3d(-22%, 0, 0); } to { transform: translate3d(22%, 0, 0); } }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html.js [data-reveal], html.js [data-reveal="mask"] { transform: none; clip-path: none; transition: opacity 0.4s linear; }
  html.js .seam::before, html.js .seam::after, html.js .seam__bead::before, html.js .hero__media, html.js .hl > span,
  html.js .hero__cota i, html.js .hero__cota b, html.js .hero__cota::before, html.js .hero__cota::after, html.js .hero__spark,
  html.js .hero__lede, html.js .hero__act, html.js .hero .note { animation: none; }
  html.js .seam__bead, .hero__spark { opacity: 0; }
  .hero__slide, .hero__slide.is-on { transform: none; transition: opacity 1.2s linear; }
  html.js [data-tf] .note { opacity: 1; transform: none; transition: none; }
  .mq__track { animation: none; width: auto; }
  .mq__list { flex-wrap: wrap; row-gap: 12px; padding-inline: var(--gutter); }
  .mq__list[aria-hidden] { display: none; }
  .sheen::after { display: none; }
  .door .door__img img, .st__img img, .ed__img img, .det__zoom, .acc__p, .story, .bl__t, .door__go, .bl__go, .sp__layer { transition: none; }
  .door:hover .door__go, .bl:hover .bl__go, .bl:hover .bl__t, .det:hover .det__zoom, .st:hover .st__img img, .ed__link:hover .ed__img img { transform: none; }
  html.js .stl__weld span, html.js .cta__seam span { transition: none; }
  html.js .cta.is-in .cta__seam i { animation: none; }
  html.js .lb__stage > .lb__media, html.js .pans.is-tabs .pan.is-on { animation: none; }
  .btn { transition: background-color 0.18s, color 0.18s, border-color 0.18s; }
}

/* en gastronomía móvil el índice fijo suma su alto a la cabecera */
@media (max-width: 999px) { html .p-gastronomia .ab-iso { --iso-offset-top: calc(var(--hdr) + 52px + 30px); } } /* + índice fijo de productos */
@media (max-width: 599px) { html .ab-iso { --iso-offset-top: calc(var(--hdr) + 26px); } html .p-gastronomia .ab-iso { --iso-offset-top: calc(var(--hdr) + 52px + 28px); } }
