/* Automate: aluminio anodizado, azul de plano y amarillo de señalización */
:root {
  --alu: #E4E7EA;      /* fondo general, aluminio */
  --alu-2: #F4F5F6;    /* paneles */
  --line: #C3C9CF;     /* líneas finas */
  --steel: #66717C;    /* texto secundario */
  --ink: #1B2128;      /* texto */
  --blue: #0F3557;     /* azul de plano */
  --blue-2: #0A2741;   /* barra superior */
  --chalk: #D6E4F0;    /* trazo sobre azul */
  --signal: #FC9F33;   /* naranja del logo: acciones */
  --signal-hover: #FFB45E;
  --signal-ink: #2A1500;
  --go: #2F7D4F;       /* en stock */

  --f: 'Archivo', system-ui, sans-serif;
  --s-1: .875rem; --s0: 1rem; --s1: 1.25rem; --s2: 1.563rem; --s3: 1.953rem; --s4: 2.441rem;
  --wrap: 1200px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; font-family: var(--f); font-size: var(--s0); line-height: 1.6;
  color: var(--ink); background: var(--alu);
  font-variation-settings: 'wdth' 100;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -3rem; z-index: 100; background: var(--signal); color: var(--signal-ink); padding: .5rem 1rem; }
.skip:focus { top: 1rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: clamp(4rem, 9vw, 7rem); }

.h2 {
  margin: 0 0 1rem; font-size: clamp(var(--s3), 4vw, 3.2rem); line-height: 1;
  font-weight: 800; font-variation-settings: 'wdth' 72; letter-spacing: -.005em;
  max-width: 22ch;
}
.lead { margin: 0 0 2rem; font-size: var(--s1); color: var(--steel); max-width: 52ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.3rem; border: 2px solid transparent; border-radius: 3px;
  font-weight: 700; cursor: pointer; text-decoration: none;
}
.btn-signal { background: var(--signal); color: var(--signal-ink); }
.btn-signal:hover { background: var(--signal-hover); }
.btn-ghost { background: transparent; border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--alu-2); }
.btn-lg { min-height: 54px; padding: .8rem 1.6rem; font-size: 1.05rem; }
.btn-outline-light { border-color: rgba(214,228,240,.55); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ---------- Barra superior ---------- */
.bar { position: sticky; top: 0; z-index: 40; background: var(--blue-2); color: #fff; }
.bar-inner { max-width: var(--wrap); margin: 0 auto; padding: .75rem var(--pad); display: flex; align-items: center; gap: 2rem; }
.brand {
  display: inline-flex; align-items: center; gap: .55rem; text-decoration: none;
  font-weight: 850; font-size: var(--s1); font-variation-settings: 'wdth' 70; letter-spacing: .01em;
}
.brand { gap: 0; }
.brand-logo { height: 40px; width: auto; margin-right: .55rem; }
.brand-sub { margin-left: .3em; color: var(--signal); font-weight: 600; }
.nav { display: flex; gap: 1.6rem; margin-right: auto; }
.nav a { text-decoration: none; color: #C9D6E2; font-size: .95rem; padding-block: .4rem; border-bottom: 2px solid transparent; }
.nav a:hover { color: #fff; border-color: var(--signal); }
.nav a[aria-current="page"] { color: #fff; border-color: var(--signal); font-weight: 700; }

/* ---------- Encabezado de página interior ---------- */
.page-head {
  background-color: var(--blue); color: #fff;
  background-image:
    linear-gradient(rgba(214,228,240,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214,228,240,.09) 1px, transparent 1px),
    linear-gradient(rgba(214,228,240,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214,228,240,.04) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
}
.page-head h1 {
  margin: 0 0 .8rem; font-size: clamp(2.3rem, 5vw, 4rem); line-height: .95;
  font-weight: 850; font-variation-settings: 'wdth' 66; letter-spacing: -.01em; max-width: 18ch;
}
.page-head p { margin: 0; font-size: var(--s1); color: var(--chalk); max-width: 52ch; }
.h3 { margin: 0 0 1.2rem; font-size: var(--s2); font-weight: 800; font-variation-settings: 'wdth' 75; line-height: 1.1; }

/* ---------- Banda de llamada a la acción ---------- */
.cta-band { background: var(--alu-2); border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.cta-band .h2 { margin-bottom: .5rem; }
.cta-band .lead { margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Lista de lo que construimos ---------- */
.feature-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.feature-list li { padding: 1.6rem 1.5rem 1.6rem 0; }
.feature-list li + li { border-left: 1px solid var(--line); padding-left: 1.5rem; }
.feature-ic { width: 56px; height: 56px; color: var(--blue); margin-bottom: 1rem; }
.feature-list h3 { margin: 0 0 .4rem; font-size: var(--s2); font-weight: 800; font-variation-settings: 'wdth' 75; line-height: 1.1; }
.feature-list p { margin: 0; color: var(--steel); max-width: 40ch; }
.process { background: var(--alu-2); border-top: 1px solid var(--line); }
.process .steps li::before { background: var(--alu-2); }
.bar-actions { display: flex; gap: .6rem; align-items: center; }
.lang {
  background: none; border: 1px solid #3D5B78; color: #C9D6E2; border-radius: 3px;
  min-width: 44px; min-height: 40px; font-weight: 700; font-size: .85rem; cursor: pointer;
}
.lang:hover { color: #fff; border-color: #fff; }
.quote-btn {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 40px; padding: 0 .9rem;
  background: var(--signal); color: var(--signal-ink); border: 0; border-radius: 3px; font-weight: 700; cursor: pointer;
  text-decoration: none;
}
.quote-btn:hover { background: var(--signal-hover); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  background-color: var(--blue); color: #fff;
  background-image:
    linear-gradient(rgba(214,228,240,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214,228,240,.09) 1px, transparent 1px),
    linear-gradient(rgba(214,228,240,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214,228,240,.04) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
}
.hero-inner {
  max-width: var(--wrap); margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) var(--pad) clamp(3rem, 6vw, 5rem);
  display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 4vw, 4rem); align-items: center;
}
.hero h1 {
  margin: 0 0 1.25rem; font-size: clamp(2.7rem, 5.6vw, 5rem); line-height: .95;
  font-weight: 850; font-variation-settings: 'wdth' 66; letter-spacing: -.01em; max-width: 14ch;
}
.hero-sub { margin: 0 0 2rem; font-size: var(--s1); color: var(--chalk); max-width: 44ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.5rem; }
.hero-place { margin: 0; font-size: var(--s-1); color: var(--chalk); }

.hero-drawing { margin: 0; }
.draw { width: 100%; height: auto; overflow: visible; }
.draw .s {
  fill: none; stroke: var(--chalk); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw 1.1s cubic-bezier(.6,.1,.3,1) forwards; animation-delay: var(--d, 0s);
}
.draw g .s { animation-delay: var(--d); }
.draw g { --d: inherit; }
.draw .s.accent { stroke: var(--signal); stroke-width: 2.2; }
.draw .dim, .draw .block { opacity: 0; animation: fade .6s ease forwards; animation-delay: var(--d); }
.draw .dim path { fill: none; stroke: var(--chalk); stroke-width: 1; opacity: .75; }
.draw .dim .fillhead { fill: var(--chalk); stroke: none; }
.draw .dim .reach { stroke-dasharray: 4 5; opacity: .45; }
.draw text { fill: var(--chalk); font-family: var(--f); font-size: 11px; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.draw .block rect, .draw .block line { fill: none; stroke: var(--chalk); stroke-width: 1; opacity: .8; }
.draw .block .b { font-weight: 800; font-size: 13px; fill: #fff; }
/* Escena viva: sensores, PLC, robot y cortina */
.draw .live { opacity: 0; animation: fade .6s ease 1.2s forwards; }
.draw .tag { font-size: 8px; letter-spacing: .06em; fill: var(--chalk); }
.draw .tag.b { font-weight: 800; fill: #fff; }
.draw .port, .draw .hmi { fill: none; stroke: var(--chalk); stroke-width: 1; opacity: .8; }
.draw .hmi-screen { fill: #0A2741; stroke: var(--chalk); stroke-width: 1; }
.draw .cnt { font-size: 20px; font-weight: 800; fill: #fff; letter-spacing: .08em; }
.draw .hmi-status { fill: #5FD08A; font-weight: 800; }
.draw .hmi-status.alarm { fill: #FF6B5E; }
.draw .led { fill: transparent; stroke: var(--chalk); stroke-width: 1; transition: fill .08s; }
.draw .led.on { fill: var(--signal); stroke: var(--signal); }
.draw .led.run.on { fill: #5FD08A; stroke: #5FD08A; }
.draw .wire { fill: none; stroke: var(--chalk); stroke-width: 1; opacity: .3; stroke-dasharray: 2 3; }
.draw .pulse { fill: var(--signal); }
.draw .beam { stroke: var(--signal); stroke-width: 1.4; stroke-dasharray: 3 4; opacity: .45; animation: flow .5s linear infinite; }
.draw .beam.hit { opacity: 1; }
@keyframes flow { to { stroke-dashoffset: -7; } }
.draw .spoke { stroke: var(--chalk); stroke-width: 1.4; }
.draw .box rect { fill: var(--blue); stroke: var(--chalk); stroke-width: 1.6; }
.draw .box path { fill: none; stroke: var(--chalk); stroke-width: 1; opacity: .7; }
.draw .box.held rect { stroke: var(--signal); stroke-width: 2.2; }
.draw .grip path, .draw .grip line { fill: none; stroke: var(--chalk); stroke-width: 2; stroke-linecap: round; }
.draw .cbeam { stroke: #5FD08A; stroke-width: 1; opacity: .28; }
.draw .cbeam.hot { opacity: 1; }
.draw .cbeam.cut { stroke: #FF6B5E; opacity: 1; stroke-dasharray: 4 3; }
.draw .lamp { fill: #5FD08A; }
.draw .lamp.alarm { fill: #FF6B5E; animation: blink .4s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: .25; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

/* ---------- Líneas de negocio ---------- */
.line-list { list-style: none; margin: 2.5rem 0 0; padding: 0; border-top: 2px solid var(--ink); }
.line-row {
  display: grid; grid-template-columns: 56px minmax(0, 1.1fr) minmax(0, 1.6fr) auto; gap: 1.5rem; align-items: center;
  padding: 1.6rem .25rem; border-bottom: 1px solid var(--line); text-decoration: none;
}
.line-ic { width: 52px; height: 52px; color: var(--blue); }
.line-name { font-size: var(--s3); font-weight: 800; font-variation-settings: 'wdth' 72; line-height: 1.05; }
.line-desc { color: var(--steel); max-width: 52ch; }
.line-go { font-weight: 700; white-space: nowrap; border-bottom: 2px solid var(--signal); padding-bottom: 2px; }
.line-row:hover { background: var(--alu-2); }
.line-row:hover .line-name { color: var(--blue); }

/* ---------- Cotiza tu pieza ---------- */
.rfq { background: var(--alu-2); border-block: 1px solid var(--line); }
.rfq-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.rfq-steps { list-style: none; counter-reset: r; padding: 0; margin: 0 0 2rem; display: grid; gap: 1.1rem; }
.rfq-steps li { counter-increment: r; display: grid; grid-template-columns: 2.2rem 1fr; column-gap: 1rem; }
.rfq-steps li::before {
  content: counter(r); grid-row: span 2; width: 2.2rem; height: 2.2rem; display: grid; place-items: center;
  background: var(--blue); color: #fff; border-radius: 50%; font-weight: 800; font-size: .95rem;
}
.rfq-steps h3 { margin: .2rem 0 .15rem; font-size: var(--s1); font-variation-settings: 'wdth' 85; font-weight: 750; line-height: 1.2; }
.rfq-steps p { margin: 0; color: var(--steel); }
.rfq-kinds-t { margin: 0 0 .6rem; font-weight: 700; }
.rfq-kinds { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.rfq-kinds li { border: 1px solid var(--line); background: #fff; padding: .3rem .65rem; border-radius: 2px; font-size: .9rem; }

.rfq-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; background: #fff;
  border: 1px solid var(--line); border-top: 4px solid var(--signal); padding: clamp(1.25rem, 3vw, 2rem);
}
.rfq-form > .full:first-child { position: relative; }
#photos { left: 0; top: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn:disabled { opacity: .6; cursor: progress; }
.field-label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: .35rem; }
.drop {
  display: grid; justify-items: center; gap: .2rem; padding: 1.6rem 1rem; cursor: pointer; text-align: center;
  border: 2px dashed #9FB1C2; border-radius: 4px; color: var(--blue);
  background-color: #F1F5F8;
  background-image: linear-gradient(rgba(15,53,87,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(15,53,87,.06) 1px, transparent 1px);
  background-size: 16px 16px;
}
.drop:hover { border-color: var(--blue); }
.drop:has(+ #photos:focus-visible) { outline: 3px solid var(--signal); outline-offset: 2px; }
.drop-ic { width: 44px; height: 44px; }
.drop-t { font-weight: 700; font-size: 1.05rem; }
.drop-h { font-size: var(--s-1); color: var(--steel); }
.drop.has { padding-block: 1rem; }
.thumbs { list-style: none; padding: 0; margin: .6rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.thumbs:empty { display: none; }
.thumbs li { position: relative; }
.thumbs img { width: 84px; height: 84px; object-fit: cover; border-radius: 3px; border: 1px solid var(--line); }
.thumbs button {
  position: absolute; top: -8px; right: -8px; width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid #fff; background: var(--ink); color: #fff; cursor: pointer; line-height: 1; font-size: 1.1rem;
}

.rfq-form label, .contact-form label { display: grid; gap: .35rem; font-size: .9rem; font-weight: 600; align-content: start; }
.rfq-form .full, .contact-form .full { grid-column: 1 / -1; }
.rfq-form :is(input, textarea, select), .contact-form :is(input, textarea) {
  width: 100%; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 3px; background: #fff; font-weight: 400;
}
.rfq-form select { appearance: auto; min-height: 46px; }
.rfq-form :is(input, textarea, select):focus, .contact-form :is(input, textarea):focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
::placeholder { color: #8E979F; }
.send-row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .25rem; }
/* ---------- Proceso ---------- */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.steps li { counter-increment: s; padding: 0 1.25rem 0 0; position: relative; }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-bottom: 1.1rem;
  border: 2px solid var(--ink); border-radius: 50%; font-weight: 800; background: var(--alu); position: relative; z-index: 1;
}
.steps li::after { content: ''; position: absolute; top: 1.2rem; left: 2.4rem; right: 0; height: 2px; background: var(--ink); }
.steps li:last-child::after { display: none; }
.steps h3 { margin: 0 0 .4rem; font-size: var(--s1); font-variation-settings: 'wdth' 85; font-weight: 750; line-height: 1.15; }
.steps p { margin: 0; color: var(--steel); font-size: .95rem; }

/* ---------- Mantenimiento ---------- */
.maint-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.plans { margin: 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.plans div { padding: 1.4rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 11rem 1fr; gap: 1.5rem; }
.plans dt { font-weight: 800; font-size: var(--s2); font-variation-settings: 'wdth' 75; line-height: 1.1; }
.plans dd { margin: 0; color: var(--steel); }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-info { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.contact-info li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.contact-info span { color: var(--steel); }
.contact-grid > *, .rfq-grid > * { min-width: 0; }
.contact-info a { font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.contact-info a:hover { text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form .h3 { margin-bottom: 0; }
.form-status { grid-column: 1 / -1; margin: 0; font-size: .92rem; min-height: 1.4em; }
.form-status.err { color: #A3261B; }

/* ---------- Pie ---------- */
.foot { background: var(--blue-2); color: #C9D6E2; padding-block: 2rem; font-size: .9rem; }
.foot-inner { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.foot .brand { color: #fff; }

/* ---------- Catálogo de máquinas ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: .35rem .5rem; margin-bottom: 1.1rem; font-size: var(--s-1); color: var(--chalk); }
.crumbs a { color: var(--chalk); text-underline-offset: 3px; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; }
.eyebrow { margin: 0 0 .4rem; font-size: var(--s-1); }
.page-head .eyebrow a { color: var(--signal); font-weight: 700; text-decoration: none; }
.page-head-slim { padding-block: 1.1rem .2rem; }
.page-head-slim .crumbs { margin: 0 0 .9rem; }
.fam-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.fam-nav a {
  color: #fff; text-decoration: none; font-weight: 700; padding: .55rem 1rem; border-radius: 3px;
  border: 1px solid rgba(214,228,240,.45); background: rgba(255,255,255,.05);
}
.fam-nav a:hover { border-color: var(--signal); color: var(--signal); }
.fam-alt { background: var(--alu-2); border-block: 1px solid var(--line); }
.fam-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .5rem 3rem; margin-bottom: 2rem; }
.fam-head .h2, .fam-head .lead { margin-bottom: 0; }
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.mcard { display: flex; flex-direction: column; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.mcard:hover { border-color: var(--signal); }
.mcard:hover .mcard-t { color: var(--blue); }
.mcard-ph { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: .9rem; background: #fff; border-bottom: 1px solid var(--line); }
.mcard-ph img { width: 100%; height: 100%; object-fit: contain; }
.mcard-bd { display: grid; gap: .2rem; padding: .85rem 1rem 1rem; }
.mcard-t { font-weight: 800; font-size: 1.12rem; line-height: 1.15; font-variation-settings: 'wdth' 85; }
.mcard-m { font-size: var(--s-1); color: var(--steel); }
.mnote { margin: 1.5rem 0 0; color: var(--steel); font-size: .95rem; }
.mnote a { color: var(--ink); font-weight: 700; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Ficha */
.prod-sec { padding-top: clamp(2rem, 4vw, 3rem); }
.prod { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.gal-main { aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: 4px; display: grid; place-items: center; padding: 1.2rem; }
.gal-main img { width: 100%; height: 100%; object-fit: contain; }
.gal-thumbs { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.gal-thumbs button { width: 74px; height: 74px; padding: 4px; background: #fff; border: 2px solid var(--line); border-radius: 3px; cursor: pointer; }
.gal-thumbs button[aria-pressed="true"] { border-color: var(--signal); }
.gal-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.prod-info h1 { margin: 0 0 .7rem; font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: .98; font-weight: 850; font-variation-settings: 'wdth' 68; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.2rem; }
.tag { font-size: .85rem; font-weight: 700; padding: .25rem .6rem; border: 1px solid var(--line); background: #fff; border-radius: 2px; }
.prod-info > p { max-width: 62ch; }
.uses { list-style: none; padding: 0; margin: 0 0 1.6rem; border-top: 1px solid var(--line); }
.uses li { padding: .55rem 0 .55rem 1.4rem; border-bottom: 1px solid var(--line); position: relative; }
.uses li::before { content: ''; position: absolute; left: .2rem; top: 1.05rem; width: 8px; height: 8px; background: var(--signal); }
.prod-quote { background: var(--alu-2); border-block: 1px solid var(--line); }
.prod-quote-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.plate { border: 2px solid var(--ink); border-radius: 4px; background: #fff; overflow: hidden; }
.plate-cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding: .7rem 1rem; background: var(--ink); color: #fff; font-weight: 800; font-variation-settings: 'wdth' 80; }
.plate table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.plate th, .plate td { text-align: left; vertical-align: top; padding: .6rem 1rem; border-top: 1px solid var(--line); }
.plate th { width: 44%; color: var(--steel); font-weight: 600; }
.plate-empty p { margin: 0; padding: 1rem; color: var(--steel); }

/* ---------- Catálogo de piezas ---------- */
.pz-tools { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; max-width: 760px; }
.pz-search { flex: 1 1 320px; }
.pz-search input { width: 100%; min-height: 50px; padding: .8rem 1rem; border: 0; border-radius: 3px; font-size: 1.05rem; color: var(--ink); }
.pz-search input:focus { outline: 3px solid var(--signal); outline-offset: 2px; }
.pz-tools .btn { min-height: 50px; }
.pz-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.dept-nav { position: sticky; top: 88px; font-size: .95rem; }
.dept-nav-t { margin: 0 0 .6rem; font-weight: 800; font-variation-settings: 'wdth' 80; font-size: var(--s1); }
.dept-nav ul { list-style: none; margin: 0; padding: 0; }
.dept-nav > ul { border-top: 2px solid var(--ink); }
.dept-nav > ul > li { border-bottom: 1px solid var(--line); padding: .6rem 0; }
.dept-nav > ul > li > a { font-weight: 700; text-decoration: none; }
.dept-nav li ul { margin-top: .3rem; }
.dept-nav li ul a { display: block; padding: .2rem 0 .2rem .8rem; color: var(--steel); text-decoration: none; }
.dept-nav a:hover { color: var(--blue); text-decoration: underline; text-decoration-color: var(--signal); }
.dept + .dept { margin-top: 2.8rem; }
.dept-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem 2rem; margin-bottom: 1rem; padding-bottom: .6rem; border-bottom: 2px solid var(--ink); }
.dept-head .h3 { margin: 0; }
.dept-head p { margin: 0; color: var(--steel); max-width: 56ch; font-size: .95rem; }
.pcard-o { font-size: .82rem; color: var(--blue); font-weight: 600; margin-top: .2rem; }
.pz-empty { padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--signal); }
.pz-empty a { font-weight: 700; color: var(--ink); }
.credit { margin: .5rem 0 0; font-size: .78rem; color: var(--steel); }
.credit a { color: var(--steel); }

/* Opciones de la pieza */
.part-config { display: grid; gap: 1.1rem; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 2px solid var(--ink); }
.opt { border: 0; margin: 0; padding: 0; min-width: 0; }
.opt legend, .opt-text > span { font-weight: 700; font-size: .92rem; margin-bottom: .45rem; padding: 0; }
.opt-text { display: grid; gap: .45rem; }
.opt-text input, .opt-text textarea { width: 100%; padding: .65rem .8rem; border: 1px solid var(--line); border-radius: 3px; background: #fff; font-weight: 400; }
.opt-text input:focus, .opt-text textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 40px; padding: .45rem .8rem; border: 1px solid var(--line); background: #fff; border-radius: 3px; font-size: .92rem; }
.chips label:hover span { border-color: var(--ink); }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 700; }
.chips input:focus-visible + span { outline: 3px solid var(--signal); outline-offset: 2px; }
.part-buy { display: flex; flex-wrap: wrap; align-items: end; gap: .6rem; }
.qty { display: grid; gap: .3rem; font-weight: 700; font-size: .92rem; }
.qty input { width: 5.5rem; min-height: 54px; padding: .5rem; border: 1px solid var(--line); border-radius: 3px; text-align: center; font-size: 1.05rem; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; cursor: pointer; }

/* Botón flotante y panel de la lista */
.list-fab {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 50; display: inline-flex; align-items: center; gap: .6rem;
  min-height: 52px; padding: 0 1.1rem; border: 0; border-radius: 3px; cursor: pointer;
  background: var(--signal); color: var(--signal-ink); font-weight: 800; box-shadow: 0 6px 20px rgba(10,22,34,.3);
}
.list-fab .lf-n { min-width: 1.7rem; height: 1.7rem; display: inline-grid; place-items: center; padding: 0 .4rem; background: var(--signal-ink); color: var(--signal); border-radius: 2px; font-variant-numeric: tabular-nums; }
.list-fab.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.08); } }
.scrim { position: fixed; inset: 0; background: rgba(10,22,34,.5); z-index: 60; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(500px, 100%); z-index: 70;
  background: var(--alu-2); display: flex; flex-direction: column; box-shadow: -12px 0 40px rgba(10,22,34,.25);
  transform: translateX(100%); transition: transform .28s cubic-bezier(.3,.7,.2,1);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.4rem; background: var(--blue-2); color: #fff; }
.drawer-head h2 { margin: 0; font-size: var(--s2); font-variation-settings: 'wdth' 72; font-weight: 800; }
.drawer-close { background: none; border: 0; color: #fff; font-size: 2rem; line-height: 1; width: 44px; height: 44px; cursor: pointer; }
.drawer-body { overflow-y: auto; padding: 1.2rem 1.4rem 2rem; }
.quote-list { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.quote-list li { display: grid; grid-template-columns: 1fr auto auto; gap: .75rem; align-items: center; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.quote-list .q-name { font-weight: 700; line-height: 1.3; }
.quote-list .q-name a { color: var(--ink); }
.quote-list .q-sku { display: block; font-size: var(--s-1); color: var(--steel); font-weight: 400; }
.quote-list input { width: 4.2rem; padding: .45rem; border: 1px solid var(--line); border-radius: 3px; text-align: center; }
.q-remove { background: none; border: 0; color: var(--steel); cursor: pointer; text-decoration: underline; font-size: var(--s-1); min-height: 44px; }
.quote-empty { margin: 0 0 1.4rem; color: var(--steel); }
.list-form { padding: 1rem; border-top-width: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .steps { grid-template-columns: 1fr; gap: 1.4rem; }
  .steps li { display: grid; grid-template-columns: 2.4rem 1fr; column-gap: 1rem; padding: 0; }
  .steps li::before { grid-row: span 2; margin: 0; }
  .steps li::after { top: 2.4rem; bottom: -1.4rem; left: 1.15rem; right: auto; width: 2px; height: auto; }
  .rfq-grid { grid-template-columns: 1fr; }
  .nav { gap: 1.1rem; }
  .nav a { font-size: .9rem; }
}
@media (max-width: 760px) {
  .feature-list { grid-template-columns: 1fr; }
  .feature-list li, .feature-list li + li { padding: 1.4rem 0; border-left: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .nav-toggle {
    display: grid; gap: 5px; align-content: center; justify-items: center; width: 44px; height: 44px;
    background: none; border: 1px solid #3D5B78; border-radius: 3px; margin-left: auto; cursor: pointer; order: 3;
  }
  .nav-toggle span { width: 18px; height: 2px; background: #fff; }
  .bar-inner { flex-wrap: wrap; gap: .75rem; }
  .bar-actions { margin-left: auto; }
  .nav { order: 4; width: 100%; flex-direction: column; gap: 0; display: none; margin: 0; }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid #23415E; font-size: 1rem; }
  .nav a[aria-current="page"] { border-color: #23415E; box-shadow: inset 3px 0 0 var(--signal); padding-left: .8rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-drawing { max-width: 560px; }
  .line-row { grid-template-columns: 44px 1fr; gap: .4rem 1rem; }
  .line-ic { width: 40px; height: 40px; grid-row: span 3; align-self: start; }
  .line-go { justify-self: start; margin-top: .4rem; }
  .maint-grid, .contact-grid, .prod, .prod-quote-grid, .pz-layout { grid-template-columns: minmax(0, 1fr); }
  .dept-nav { position: static; }
  .dept-nav li ul { display: none; }
  .dept-nav > ul { display: flex; flex-wrap: wrap; gap: .4rem; border: 0; }
  .dept-nav > ul > li { border: 0; padding: 0; }
  .dept-nav > ul > li > a { display: inline-block; padding: .45rem .8rem; border: 1px solid var(--line); background: #fff; border-radius: 3px; }
  .plans div { grid-template-columns: 1fr; gap: .3rem; }
}
@media (max-width: 560px) {
  .brand { font-size: 1.1rem; }
  .bar .brand-sub { display: none; }
  .bar .brand { font-size: 0; }
  .brand-logo { height: 34px; }
  .quote-btn { padding: 0 .7rem; font-size: .9rem; }
  .contact-form, .rfq-form { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .send-row .btn { flex: 1 1 100%; }
  .mgrid { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .mcard-ph { padding: .5rem; }
  .mcard-bd { padding: .6rem .7rem .75rem; }
  .mcard-t { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .draw .s { animation: none; stroke-dashoffset: 0; }
  .draw .dim, .draw .block, .draw .live { animation: none; opacity: 1; }
  .draw .beam, .draw .lamp.alarm { animation: none; }
}
