/* =========================================================
   Gompar E.A.S — Hoja de estilos
   Paleta derivada del logo (azul pizarra #273746)
   ========================================================= */

:root {
  /* Marca */
  --navy-950: #0F161E;
  --navy-900: #151F2A;
  --navy-800: #1C2935;
  --navy:     #273746;   /* color exacto del logo */
  --navy-600: #3A4E62;
  --steel-500:#5E7286;
  --steel-400:#8A9CAE;
  --steel-300:#B4C1CE;
  --mist-200: #DCE3EA;
  --mist-100: #EBEFF3;
  --mist-50:  #F5F7F9;
  --white:    #FFFFFF;

  /* Elastotec */
  --orange:   #EE5A1B;
  --orange-600:#D14A10;

  /* Texto */
  --ink:      #16212C;
  --muted:    #55677A;
  --muted-on-dark: #A9B7C5;

  /* Tipografía */
  --f-display: "Archivo", "Helvetica Neue", sans-serif;
  --f-body: "IBM Plex Sans", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --f-stencil: "Saira Stencil One", "Archivo", sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --wrap: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.2,.7,.2,1);
  --shadow: 0 1px 2px rgba(15,22,30,.06), 0 10px 30px -12px rgba(15,22,30,.18);
  --shadow-lg: 0 2px 4px rgba(15,22,30,.06), 0 30px 60px -20px rgba(15,22,30,.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); }
p { margin: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.mono, .code { font-family: var(--f-mono); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--steel-400); outline-offset: 3px; border-radius: 6px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15.5px/1 var(--f-body); letter-spacing: .01em; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; stroke-width: 1.9; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { transform: translateY(-1px); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-800); box-shadow: 0 10px 24px -10px rgba(39,55,70,.7); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--mist-100); }
.btn--ghost { border-color: rgba(255,255,255,.28); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover { background: var(--orange-600); }
.btn--sm { height: 44px; padding: 0 20px; font-size: 14.5px; }
.btn--block { width: 100%; }
.i20 { width: 20px !important; height: 20px !important; }

/* ---------- Tipos de sección ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 700 12px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase;
  color: var(--steel-500); margin-bottom: 20px;
}
.eyebrow__line { width: 28px; height: 2px; background: currentColor; display: inline-block; }
.eyebrow--light { color: var(--steel-300); }
.eyebrow--orange { color: var(--orange); }

.h2 {
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 700; font-stretch: 110%;
  line-height: 1.03; letter-spacing: -.022em;
  color: var(--navy);
  text-wrap: balance;
}
.h2--xl { font-size: clamp(38px, 5.2vw, 68px); }

.section { padding: clamp(80px, 10vw, 136px) 0; }
.section--mist { background: var(--mist-50); }
.section--navy { background: var(--navy-900); color: #fff; }
.section--navy .h2 { color: #fff; }
.section--navy .section__lead { color: var(--muted-on-dark); }

.section__head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 48px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section__head > div { max-width: 760px; }
.section__lead { max-width: 420px; color: var(--muted); font-size: 17px; line-height: 1.65; }

/* ---------- Barra superior ---------- */
.topbar { background: var(--navy-950); color: var(--steel-300); font-size: 13px; }
.topbar__in { height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar__item, .topbar__right { display: flex; align-items: center; gap: 10px; }
.topbar__right { gap: 16px; }
.topbar svg { width: 15px; height: 15px; }
.topbar a:hover { color: #fff; }
.topbar__sep { width: 1px; height: 14px; background: var(--navy-600); }

/* ---------- Cabecera ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--mist-200); box-shadow: 0 6px 24px -18px rgba(15,22,30,.5); }
.header__in { height: 84px; display: flex; align-items: center; gap: 40px; }
.brand img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; margin-left: auto; font-weight: 500; font-size: 15.5px; color: var(--navy); }
.nav a:not(.btn) { position: relative; padding: 6px 0; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--navy);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav__cta { display: none; }
.header__cta { height: 46px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--mist-200); background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.burger span { width: 18px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-900); color: #fff;
  padding: clamp(64px, 8vw, 110px) 0 0;
  isolation: isolate;
}
.hero::before { /* retícula técnica sutil */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000 20%, transparent 95%);
}
.hero__gear {
  position: absolute; z-index: -1; width: 760px; right: -220px; top: -120px; opacity: .04;
  animation: spin 120s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero__in { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.hero__title {
  font-size: clamp(44px, 6.4vw, 90px);
  font-weight: 700; font-stretch: 112%;
  line-height: .98; letter-spacing: -.03em; text-wrap: balance;
  margin-bottom: 28px;
}
.hero__lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.65; color: var(--muted-on-dark); max-width: 560px; margin-bottom: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__visual { margin: 0; position: relative; }
.hero__card {
  position: relative; background: #fff; border-radius: var(--radius-lg);
  aspect-ratio: 5 / 4; display: grid; place-items: center; padding: 8%;
  box-shadow: var(--shadow-lg);
}
.hero__card img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transform: rotate(-8deg) scale(1.05); }
.spec {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  font: 700 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy); background: var(--mist-100); border: 1px solid var(--mist-200);
  padding: 9px 12px; border-radius: 999px;
}
.spec i { width: 8px; height: 8px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 4px rgba(39,55,70,.15); }
.spec--a { top: 9%; left: 7%; }
.spec--b { bottom: 12%; right: 7%; }
.spec--c { bottom: 12%; left: 7%; background: var(--navy); color: #fff; border-color: var(--navy); }
.hero__caption {
  position: absolute; right: -14px; top: -22px;
  background: var(--navy); color: #fff; border: 1px solid var(--navy-600);
  padding: 16px 20px; border-radius: 16px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 4px;
}
.hero__caption span { font: 700 10.5px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--steel-300); }
.hero__caption strong { font: 700 18px/1.15 var(--f-display); font-stretch: 108%; }

.stats {
  margin: clamp(64px, 8vw, 104px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.1);
}
.stat { padding: 34px 28px 44px; display: flex; flex-direction: column-reverse; gap: 10px; border-left: 1px solid rgba(255,255,255,.1); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat dd { margin: 0; font-family: var(--f-stencil); font-size: clamp(44px, 4.8vw, 64px); line-height: 1; letter-spacing: .01em; }
.stat dd.dd--word { font-size: clamp(34px, 3.6vw, 48px); padding-top: .2em; }
.stat dt { color: var(--muted-on-dark); font-size: 15px; }

/* ---------- Rodillos ---------- */
.rollers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.roller {
  background: #fff; border: 1px solid var(--mist-200); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.roller:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.roller__img { aspect-ratio: 4 / 3; background: #fff; display: grid; place-items: center; padding: 28px; border-bottom: 1px solid var(--mist-100); overflow: hidden; }
.roller__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.roller:hover .roller__img img { transform: scale(1.05); }
.roller__body { padding: 28px 30px 32px; display: flex; flex-direction: column; gap: 10px; }
.roller__body .code { font-size: 12px; font-weight: 700; color: var(--steel-500); letter-spacing: .08em; }
.roller__body h3 { font-size: 25px; font-weight: 700; font-stretch: 108%; color: var(--navy); }
.roller__body p { color: var(--muted); font-size: 15.5px; }

/* ---------- Productos ---------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  background: #fff; border: 1px solid var(--mist-200); border-radius: var(--radius);
  padding: 18px 18px 26px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product__img { aspect-ratio: 1 / 1; border-radius: 12px; background: #fff; display: grid; place-items: center; padding: 14px; margin-bottom: 14px; overflow: hidden; }
.product__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.product:hover .product__img img { transform: scale(1.07); }
.product .code { padding: 0 6px; font-size: 11.5px; font-weight: 700; color: var(--steel-500); letter-spacing: .1em; text-transform: uppercase; }
.product h3 { padding: 0 6px; font-size: 20px; font-weight: 700; font-stretch: 106%; line-height: 1.2; color: var(--navy); }
.product p { padding: 0 6px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.product__go {
  position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy); color: #fff; display: grid; place-items: center;
  opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s var(--ease);
}
.product__go svg { width: 14px; height: 14px; stroke-width: 2; }
.product:hover .product__go { opacity: 1; transform: scale(1); }
.product--cta { background: var(--navy); border-color: var(--navy); color: #fff; justify-content: flex-end; padding: 28px; overflow: hidden; min-height: 320px; }
.product--cta .code { color: var(--steel-300); padding: 0; }
.product--cta h3 { color: #fff; font-size: 26px; padding: 0; }
.product--cta p { color: var(--muted-on-dark); padding: 0; margin-bottom: 18px; }
.product--cta .btn { align-self: flex-start; }
.product__gear { position: absolute; width: 260px; right: -70px; top: -60px; opacity: .08; transition: transform 1.2s var(--ease); }
.product--cta:hover .product__gear { transform: rotate(60deg); }

/* ---------- Empresa ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 104px); align-items: center; }
.about__media { position: relative; padding: 0 12% 18% 0; }
.about__main { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.about__sub { position: absolute; right: 0; bottom: 0; width: 56%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); border: 6px solid var(--mist-50); box-shadow: var(--shadow-lg); }
.about__badge {
  position: absolute; left: 24px; top: 24px;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  padding: 14px 18px; border-radius: 14px; font-size: 14px; color: var(--muted); box-shadow: var(--shadow);
  display: flex; flex-direction: column; line-height: 1.2;
}
.about__badge strong { font-family: var(--f-stencil); font-weight: 400; font-size: 30px; color: var(--navy); }
.about__copy > p { color: var(--muted); margin-bottom: 18px; font-size: 17px; }
.about__copy > p strong { color: var(--navy); font-weight: 600; }
.about__copy .h2 { margin-bottom: 28px; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.mv__item { background: #fff; border: 1px solid var(--mist-200); border-radius: var(--radius); padding: 24px; }
.mv__item .code { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-500); margin-bottom: 10px; }
.mv__item p { font-size: 15px; color: var(--muted); line-height: 1.6; }
.mv__item em { font-style: normal; color: var(--navy); font-weight: 600; }

/* ---------- Sectores ---------- */
.industries { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.4fr; gap: 14px; height: 400px; }
.industry { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; }
.industry img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.05); transition: transform .8s var(--ease), filter .5s; }
.industry::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,31,42,0) 45%, rgba(21,31,42,.88) 100%); }
.industry figcaption { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; font: 700 19px/1.2 var(--f-display); font-stretch: 106%; }
.industry:hover img { transform: scale(1.06); filter: none; }
.chips { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 11px 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; font-size: 15px; color: var(--mist-100); transition: background .25s, border-color .25s; }
.chips li:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.4); }

/* ---------- Servicios ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding-top: 26px; border-top: 2px solid var(--mist-200); display: flex; flex-direction: column; gap: 14px; }
.step::before { content: ""; position: absolute; left: 0; top: -2px; height: 2px; width: 0; background: var(--navy); transition: width .8s var(--ease); }
.step.is-in::before { width: 100%; }
.step .code { font-size: 12px; font-weight: 700; color: var(--steel-500); }
.step svg { width: 34px; height: 34px; color: var(--navy); stroke-width: 1.4; }
.step h3 { font-size: 19px; font-weight: 700; font-stretch: 106%; color: var(--navy); line-height: 1.2; }
.step p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* ---------- Proyectos ---------- */
.projects { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(48px, 7vw, 104px); align-items: center; }
.projects__copy > p { color: var(--muted); margin: 8px 0 28px; }
.projects__copy > p strong { color: var(--navy); font-weight: 600; }
.projects__copy .h2 { margin-bottom: 20px; }
.checklist { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-direction: column; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; color: var(--ink); font-size: 16px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.note { background: #fff; border: 1px solid var(--mist-200); border-radius: var(--radius); padding: 22px 24px; }
.note .code { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-500); margin-bottom: 8px; }
.note p { color: var(--muted); font-size: 15px; }
.projects__media { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 560px; }
.projects__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.projects__media img:first-child { grid-row: span 2; }

/* ---------- Elastotec ---------- */
.elastotec { background: var(--navy-950); color: #fff; padding: clamp(80px, 10vw, 136px) 0; position: relative; overflow: hidden; }
.elastotec::before { content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%; border: 90px solid rgba(238,90,27,.06); left: -260px; bottom: -380px; }
.elastotec__in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 104px); align-items: center; }
.elastotec__logo { width: 150px; border-radius: 20px; margin-bottom: 28px; }
.elastotec .h2 { color: #fff; margin-bottom: 20px; }
.elastotec__copy > p { color: var(--muted-on-dark); margin-bottom: 26px; }
.elastotec__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.elastotec__tags span { font: 700 11.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 10px 14px; border-radius: 999px; background: rgba(238,90,27,.12); color: #FF9B6E; border: 1px solid rgba(238,90,27,.3); }
.elastotec__media { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; align-items: end; }
.elastotec__media img { width: 100%; border-radius: var(--radius-lg); background: #fff; object-fit: cover; }
.elastotec__media img:first-child { aspect-ratio: 2 / 3; }
.elastotec__media img:last-child { aspect-ratio: 1; margin-bottom: 40px; object-fit: cover; }

/* ---------- Contacto ---------- */
.contact { position: relative; overflow: hidden; background: var(--navy); }
.contact .eyebrow--light { color: var(--steel-300); }
.contact__list { border-top-color: rgba(255,255,255,.14) !important; }
.contact__in { display: grid; grid-template-columns: 1fr 520px; gap: clamp(48px, 7vw, 96px); align-items: start; }
.contact .h2 { margin-bottom: 44px; }
.contact__list { margin: 0 0 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.1); }
.contact__list dt { font: 700 11.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--steel-300); margin-bottom: 10px; }
.contact__list dd { margin: 0; font-size: 16px; line-height: 1.65; color: var(--mist-100); }
.contact__list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.form { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: clamp(28px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-lg); }
.form h3 { font-size: 26px; font-weight: 700; font-stretch: 108%; color: var(--navy); margin-bottom: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--navy); }
.form input, .form select, .form textarea {
  font: 400 15.5px/1.4 var(--f-body); color: var(--ink);
  background: var(--mist-50); border: 1px solid var(--mist-200); border-radius: 12px;
  padding: 13px 14px; min-height: 50px; width: 100%;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(39,55,70,.12); }
.form .is-invalid { border-color: #B42318; box-shadow: 0 0 0 4px rgba(180,35,24,.1); }
.form__hint { font-size: 13px; color: var(--muted); text-align: center; }

.map { height: 380px; background: var(--mist-100); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.05); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: var(--muted-on-dark); padding: 88px 0 36px; }
.footer__in { display: flex; justify-content: space-between; gap: 64px; padding-bottom: 64px; }
.footer__brand { max-width: 340px; }
.footer__brand img { height: 58px; width: auto; margin-bottom: 22px; }
.footer__brand p { font-size: 15px; }
.footer__cols { display: flex; gap: clamp(40px, 6vw, 96px); }
.footer__cols div { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer__cols h4 { font: 700 11.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--steel-300); margin-bottom: 8px; }
.footer__cols a { color: var(--mist-100); transition: color .2s; }
.footer__cols a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; }
.footer__bottom .mono { letter-spacing: .1em; text-transform: uppercase; font-size: 12px; }

/* ---------- WhatsApp flotante ---------- */
.wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #1FAF55; color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(31,175,85,.6);
  transition: transform .3s var(--ease);
}
.wa svg { width: 28px; height: 28px; stroke-width: 1.7; }
.wa:hover { transform: scale(1.08); }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__gear { animation: none; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .products { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .industries { grid-template-columns: repeat(3, 1fr); height: auto; }
  .industry { aspect-ratio: 4 / 3; }
  .industry:nth-child(n+4) { aspect-ratio: 16 / 9; }
  .industries .industry:nth-child(4) { grid-column: span 1; }
  .contact__in { grid-template-columns: 1fr; }
  .form { max-width: 640px; }
}

@media (max-width: 980px) {
  .header__cta { display: none; }
  .burger { display: inline-flex; margin-left: auto; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 8px var(--gutter) 28px;
    border-bottom: 1px solid var(--mist-200); box-shadow: 0 24px 40px -24px rgba(15,22,30,.35);
    font-size: 18px;
    opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity .3s, transform .3s var(--ease);
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--mist-100); }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { display: inline-flex; margin-top: 20px; }

  .hero__in, .about, .projects, .elastotec__in { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; }
  .hero__caption { right: 12px; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat { border-top: 1px solid rgba(255,255,255,.1); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .rollers { grid-template-columns: 1fr 1fr; }
  .rollers .roller:last-child { grid-column: span 2; }
  .projects__media { height: 440px; }
  .about__media { max-width: 640px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .topbar__item { display: none; }
  .topbar__in { justify-content: center; }
  .header__in { height: 72px; }
  .brand img { height: 38px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__caption { position: static; margin-top: -28px; margin-left: 16px; align-self: flex-start; width: max-content; position: relative; }
  .spec { font-size: 9.5px; padding: 7px 10px; }
  .products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product { padding: 12px 12px 20px; }
  .product h3 { font-size: 16.5px; }
  .product p { display: none; }
  .product--cta { grid-column: span 2; min-height: 240px; }
  .product--cta p { display: block; }
  .rollers { grid-template-columns: 1fr; }
  .rollers .roller:last-child { grid-column: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .industries { grid-template-columns: 1fr 1fr; }
  .industries .industry:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }
  .industry, .industry:nth-child(n+4) { aspect-ratio: 1; }
  .industry figcaption { font-size: 16px; left: 14px; bottom: 12px; }
  .mv { grid-template-columns: 1fr; }
  .projects__media { grid-template-columns: 1fr 1fr; height: 360px; }
  .elastotec__media img:last-child { margin-bottom: 24px; }
  .contact__list { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__in { flex-direction: column; gap: 48px; }
  .footer__cols { flex-wrap: wrap; gap: 40px 56px; }
  .footer__bottom { flex-direction: column; }
  .map { height: 300px; }
}
