/* =========================================================
   RoverBand · Landing page
   Paleta tomada del brochure institucional
   ========================================================= */
:root {
  /* Marca */
  --brand: #a80f0f;          /* rojo institucional */
  --brand-600: #8c0c0c;
  --accent: #e3262d;         /* rojo vibrante para fondo oscuro */
  --gray-brand: #808080;     /* gris del logotipo */

  /* Superficies (modo oscuro) */
  --bg: #0b0b0d;
  --bg-2: #111114;
  --surface: #17171b;
  --surface-2: #1e1e23;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* Texto */
  --text: #f5f5f6;
  --muted: #a3a3ab;
  --dim: #6e6e77;

  /* Tipografía */
  --font-display: "Raleway", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Ritmo */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(80px, 11vw, 140px);
  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
  --nav-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums; /* Raleway usa números antiguos por defecto */
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
svg.fill, .wa-float svg { fill: currentColor; stroke: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.text-red { color: var(--accent); }

/* ---------- Botones ---------- */
.btn {
  --pad-y: 14px; --pad-x: 24px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 700; font-size: 15px; letter-spacing: 0.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .3s, border-color .3s, box-shadow .35s var(--ease), color .3s;
  overflow: hidden; isolation: isolate;
}
.btn svg { font-size: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }
.btn--sm { --pad-y: 10px; --pad-x: 18px; font-size: 14px; }
.btn--lg { --pad-y: 17px; --pad-x: 30px; font-size: 16px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 30px -10px rgba(227, 38, 45, .6); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, var(--accent), #ff4d4d);
  transform: translateX(-101%); transition: transform .5s var(--ease);
}
.btn--primary:hover::before { transform: translateX(0); }
.btn--primary:hover { box-shadow: 0 16px 40px -10px rgba(227, 38, 45, .75); }

.btn--ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255,255,255,.03); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.btn--light { background: #fff; color: var(--brand); }
.btn--light:hover { box-shadow: 0 16px 40px -12px rgba(0,0,0,.5); }
.btn--outline-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .4s, backdrop-filter .4s, border-color .4s, height .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  --nav-h: 64px;
  background: rgba(11, 11, 13, 0.72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav { transition: transform .45s var(--ease), background-color .4s, border-color .4s, height .4s var(--ease); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo img { width: 168px; height: auto; transition: width .4s var(--ease); }
.nav.is-scrolled .nav__logo img { width: 150px; }
.nav__links { display: flex; gap: 6px; }
.nav__links a {
  position: relative; padding: 8px 14px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; color: var(--muted);
  transition: color .25s, background-color .25s;
}
.nav__links a:not(.btn):hover, .nav__links a.is-active { color: #fff; background: rgba(255,255,255,.06); }
.nav__links a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent); transform: translateX(-50%);
}
.nav__cta-mobile { display: none !important; }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .25s; }
.nav__phone svg { fill: currentColor; stroke: none; color: var(--accent); }
.nav__phone:hover { color: #fff; }
.nav__burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.nav.is-open .nav__burger span:first-child { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav__burger span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 48px) 0 0;
  overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 110%; object-fit: cover; object-position: 70% 40%; filter: grayscale(1) contrast(1.1) brightness(.55); will-change: transform; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(11,11,13,.92) 35%, rgba(11,11,13,.45) 70%, rgba(11,11,13,.2) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 35%);
}
.hero__glow {
  position: absolute; z-index: -1; width: 60vmax; height: 60vmax; left: -20vmax; top: -25vmax;
  background: radial-gradient(circle, rgba(168,15,15,.45), transparent 60%);
  filter: blur(20px); animation: glow 12s ease-in-out infinite alternate;
}
@keyframes glow { to { transform: translate(10vmax, 8vmax) scale(1.1); } }

.hero__content { position: relative; padding-bottom: 40px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 13px; font-weight: 500; letter-spacing: .04em; color: var(--muted);
  background: rgba(255,255,255,.03); backdrop-filter: blur(6px);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(227,38,45,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(227,38,45,0); } 100% { box-shadow: 0 0 0 0 rgba(227,38,45,0); } }

.hero__title {
  margin: 28px 0 24px;
  font-size: clamp(44px, 8.4vw, 112px);
  font-weight: 900; letter-spacing: -0.035em; line-height: .98;
  max-width: 13ch;
}
.hero__lead { max-width: 560px; font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__stats {
  list-style: none; padding: 0; margin: 56px 0 0;
  display: flex; flex-wrap: wrap; gap: 16px 48px;
}
.hero__stats li { display: flex; flex-direction: column; padding-left: 16px; border-left: 2px solid var(--brand); }
.hero__stats strong { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; }
.hero__stats li > span { font-size: 13.5px; color: var(--muted); }

/* Banda animada (muestras reales del catálogo) */
.belt {
  position: relative; margin-top: auto;
  padding: 18px 0;
  background: linear-gradient(180deg, #151518, #0e0e10);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.belt::before, .belt::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 18%; z-index: 2; pointer-events: none;
}
.belt::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.belt::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.belt__track { display: flex; width: max-content; animation: belt 45s linear infinite; }
.belt:hover .belt__track { animation-play-state: paused; }
.belt__row { display: flex; gap: 14px; padding-right: 14px; }
.belt__row img { width: 150px; height: 96px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); filter: saturate(.9); }
@keyframes belt { to { transform: translateX(-50%); } }

.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 160px; width: 26px; height: 42px;
  border: 2px solid var(--line-strong); border-radius: 14px;
}
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scroll 1.8s var(--ease) infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee industrias ---------- */
.marquee { background: var(--brand); overflow: hidden; padding: 18px 0; transform: rotate(-1.2deg) scale(1.02); margin: 40px 0 0; }
.marquee__track { display: flex; width: max-content; animation: belt 30s linear infinite; }
.marquee span {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(18px, 2.4vw, 28px);
  text-transform: uppercase; letter-spacing: .02em; padding: 0 28px; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 56px;
}
.marquee span::after { content: ""; width: 12px; height: 12px; background: #fff; transform: rotate(45deg); opacity: .55; margin-left: 28px; }

/* ---------- Secciones ---------- */
.section { padding: var(--section-y) 0; position: relative; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--accent);
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 0; height: 0; border-left: 8px solid var(--accent); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.section__title { font-size: clamp(34px, 5vw, 60px); font-weight: 800; }
.section__head { display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 32px 64px; margin-bottom: 56px; }
.section__head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section__desc { color: var(--muted); font-size: 17px; margin: 0; }

/* ---------- Nosotros ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about__text p { color: var(--muted); font-size: 17px; }
.about__text p strong { color: var(--text); font-weight: 600; }
.about__text .section__title { margin-bottom: 28px; }
.pillars { display: grid; gap: 18px; }
.pillar {
  position: relative; padding: 28px 28px 26px 104px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  overflow: hidden;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease);
}
.pillar::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(227,38,45,.16), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.pillar:hover { transform: translateX(-6px); border-color: rgba(227,38,45,.4); box-shadow: var(--shadow); }
.pillar:hover::before { opacity: 1; }
.pillar > * { position: relative; z-index: 1; }
.pillar__icon {
  position: absolute !important; left: 26px; top: 28px;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand); color: #fff; font-size: 26px;
  box-shadow: 0 0 0 6px rgba(168,15,15,.18);
  transition: transform .5s var(--ease);
}
.pillar:hover .pillar__icon { transform: rotate(-8deg) scale(1.06); }
.pillar h3 { font-size: 22px; margin-bottom: 6px; }
.pillar p { color: var(--muted); margin: 0; font-size: 15px; }

/* ---------- Productos ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: transparent; color: var(--muted); font-size: 14px; font-weight: 500; cursor: pointer;
  transition: all .3s var(--ease);
}
.chip:hover { color: #fff; border-color: #fff; }
.chip.is-active { background: #fff; color: var(--bg); border-color: #fff; }

.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.product {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transform-style: preserve-3d; transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0));
  transition: transform .25s ease-out, border-color .4s, box-shadow .5s var(--ease), opacity .4s, scale .4s var(--ease);
}
.product:hover { border-color: rgba(227,38,45,.5); box-shadow: var(--shadow); }
.product.is-hidden { display: none; }
.product.is-entering { animation: pop .5s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.product__media { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product:hover .product__media img { transform: scale(1.08); }
.product__code {
  position: absolute; left: 0; top: 14px; padding: 6px 22px 6px 14px;
  background: var(--brand); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 14px; letter-spacing: .02em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.product { display: flex; flex-direction: column; }
.product__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.product__label { margin: 0 0 2px; font-family: var(--font-display); font-weight: 800; font-size: 13px; color: var(--accent); }
.product__body h3 {
  font-family: var(--font-display); font-size: 13px; font-weight: 700; line-height: 1.4;
  letter-spacing: .02em; text-transform: uppercase; color: #d4d4d8; margin-bottom: 14px;
}
.product__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.product__tags span { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.product__tags .fg { color: #6ee7a8; border-color: rgba(110,231,168,.25); }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.toolbar .filters { margin-bottom: 0; }
.catalog__search {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px; min-width: 260px;
  border: 1px solid var(--line-strong); border-radius: 999px; color: var(--muted);
  transition: border-color .3s, box-shadow .3s;
}
.catalog__search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(227,38,45,.12); }
.catalog__search input { flex: 1; background: none; border: 0; outline: none; color: var(--text); min-width: 0; font-size: 14px; }
.products__count { margin: 0 0 20px; font-size: 14px; color: var(--dim); }
.products__count strong { color: var(--text); }
.products__empty { padding: 40px 16px; text-align: center; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--radius); }

/* ---------- Servicios ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease);
}
.service:hover { transform: translateY(-8px); border-color: rgba(227,38,45,.45); box-shadow: var(--shadow); }
.service__media { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.service__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--surface), transparent 55%); }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.service:hover .service__media img { transform: scale(1.08) rotate(.5deg); }
.service__body { padding: 4px 24px 26px; position: relative; }
.service__num { position: absolute; right: 22px; top: -18px; font-family: var(--font-display); font-weight: 900; font-size: 44px; color: rgba(255,255,255,.07); transition: color .4s; }
.service:hover .service__num { color: rgba(227,38,45,.4); }
.service h3 { font-size: 21px; margin-bottom: 12px; }
.service ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.service li { position: relative; padding-left: 18px; color: var(--muted); font-size: 14.5px; }
.service li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); }

.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 340px; gap: 20px; margin-top: 20px; }
.bento__item { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); isolation: isolate; }
.bento__item--wide { grid-column: span 2; }
.bento__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.bento__item::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,11,13,.05) 20%, rgba(11,11,13,.92) 100%); transition: background .5s; }
.bento__item:hover img { transform: scale(1.07); }
.bento__item:hover::before { background: linear-gradient(180deg, rgba(168,15,15,.15) 0%, rgba(11,11,13,.95) 100%); }
.bento__info { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; }
.bento__info h3 { font-size: 24px; margin: 12px 0 8px; }
.bento__info p { margin: 0; color: #d4d4d8; font-size: 14.5px; max-width: 520px;
  max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s; }
.bento__item:hover .bento__info p, .bento__item:focus-within .bento__info p { max-height: 140px; opacity: 1; }
.tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--brand); font-size: 12px; font-weight: 600; letter-spacing: .04em; }

/* ---------- Flexco ---------- */
.flexco { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.flexco__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.flexco__gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); transition: transform .6s var(--ease); }
.flexco__gallery img:nth-child(2) { transform: translateY(32px); }
.flexco__gallery img:nth-child(4) { transform: translateY(32px); }
.flexco__gallery img:hover { transform: scale(1.04); }
.flexco__logo { width: 200px; margin-bottom: 20px; padding: 10px 16px; border-radius: 14px; background: #fff; }
.flexco__text > p { color: var(--muted); font-size: 17px; }
.flexco__list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.flexco__list li {
  display: grid; gap: 2px; padding: 16px 20px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--surface);
  transition: border-color .3s, transform .4s var(--ease);
}
.flexco__list li:hover { border-color: rgba(227,38,45,.45); transform: translateX(6px); }
.flexco__list strong { font-family: var(--font-display); font-size: 16px; }
.flexco__list span { color: var(--muted); font-size: 14.5px; }

/* ---------- Industrias + testimonios ---------- */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industry {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 32px 16px; border-radius: var(--radius); text-align: center;
  border: 1px solid var(--line); background: var(--surface);
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  transition: transform .45s var(--ease), background-color .4s, border-color .4s;
}
.industry svg { font-size: 38px; color: var(--accent); stroke-width: 1.5; transition: transform .5s var(--ease), color .4s; }
.industry:hover { transform: translateY(-6px); background: var(--brand); border-color: var(--brand); }
.industry:hover svg { color: #fff; transform: scale(1.12); }


/* ---------- CTA band ---------- */
.cta-band {
  position: relative; padding: clamp(72px, 9vw, 120px) 0; text-align: center; overflow: hidden; isolation: isolate;
  background: var(--brand) url("../assets/img/pattern.jpg") center / 460px repeat;
}
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, transparent 0%, rgba(80,0,0,.55) 100%); }
.cta-band h2 { font-size: clamp(32px, 5vw, 60px); font-weight: 900; margin-bottom: 16px; }
.cta-band h2 em { font-style: normal; text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 8px; }
.cta-band p { font-size: 18px; color: rgba(255,255,255,.85); margin-bottom: 36px; }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.cta-band__actions .btn svg.fill { font-size: 22px; }
.cta-band__actions .btn:hover svg.fill { transform: none; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; }
.contact__info > p { color: var(--muted); font-size: 17px; }
.contact__info .section__title { margin-bottom: 20px; }
.contact__list { list-style: none; padding: 0; margin: 32px 0; display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__list small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); }
.contact__list a { font-weight: 600; transition: color .25s; }
.contact__list a:hover { color: var(--accent); }
.contact__icon { flex: 0 0 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--accent); font-size: 20px; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }

.form {
  position: sticky; top: calc(var(--nav-h) + 24px);
  padding: clamp(24px, 4vw, 40px); border-radius: 24px;
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.form h3 { font-size: 26px; margin-bottom: 28px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; padding: 26px 16px 10px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,.02);
  outline: none; transition: border-color .3s, background-color .3s, box-shadow .3s;
  appearance: none; -webkit-appearance: none;
}
.field select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3a3ab' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 40px; }
.field select option { background: var(--surface); color: var(--text); }
.field textarea { resize: vertical; min-height: 120px; }
.field label {
  position: absolute; left: 17px; top: 18px; color: var(--dim); pointer-events: none;
  transform-origin: left top; transition: transform .3s var(--ease), color .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); background: rgba(227,38,45,.04); box-shadow: 0 0 0 4px rgba(227,38,45,.12); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label { transform: translateY(-10px) scale(.78); color: var(--muted); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #ff6b6b; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-bottom: 20px; min-height: 65px; }
.form button[type="submit"]:disabled { opacity: .7; cursor: progress; }
.form.is-sending .btn svg { animation: nudge 1s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }
.form__note.is-error { color: #ff8a8a; }
.form__note { margin: 16px 0 0; font-size: 13px; color: var(--dim); text-align: center; }
.form__note.is-success { color: #6ee7a8; }

/* ---------- Footer ---------- */
.footer { background: #070708; border-top: 1px solid var(--line); padding: 72px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__brand img { width: 200px; margin-bottom: 20px; }
.footer__brand p { color: var(--dim); max-width: 340px; font-size: 14.5px; }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 18px; font-family: var(--font-body); font-weight: 600; }
.footer__grid > div:not(.footer__brand) { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.footer__grid a { color: var(--dim); transition: color .25s, transform .3s var(--ease); width: fit-content; }
.footer__grid a:hover { color: #fff; transform: translateX(3px); }
.footer__grid span { color: var(--dim); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding: 24px 80px 0 var(--gutter); border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.to-top:hover { color: var(--accent); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; font-size: 30px;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.6);
  transition: transform .4s var(--ease), opacity .4s;
  transform: scale(0); opacity: 0;
}
.wa-float.is-visible { transform: scale(1); opacity: 1; }
.wa-float:hover { transform: scale(1.1) rotate(-8deg); }

/* ---------- Animaciones de aparición ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.reveal.is-visible { opacity: 1; transform: none; }
/* Sin JS: mostrar todo */
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__phone { display: none; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__item--wide { grid-column: span 2; }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav__burger { display: block; }
  .nav__actions > .btn { display: none; }
  .nav__links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; align-items: stretch; justify-content: center; gap: 4px;
    padding: 100px var(--gutter) 40px;
    background: rgba(11,11,13,.97); backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav__links a { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: #fff; padding: 12px 0; border-radius: 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .nav__links a:not(.btn):hover, .nav__links a.is-active { background: none; color: var(--accent); }
  .nav__links a.is-active::after { display: none; }
  .nav__links .nav__cta-mobile { display: inline-flex !important; margin-top: 28px; font-size: 17px; padding: 18px; border-bottom: 0; border-radius: 999px; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }
  .nav.is-open .nav__links a { opacity: 1; transform: none; }
  .nav.is-open .nav__links a:nth-child(2) { transition-delay: .05s; }
  .nav.is-open .nav__links a:nth-child(3) { transition-delay: .1s; }
  .nav.is-open .nav__links a:nth-child(4) { transition-delay: .15s; }
  .nav.is-open .nav__links a:nth-child(5) { transition-delay: .2s; }
  .nav.is-open .nav__links a:nth-child(6) { transition-delay: .25s; }
  .nav.is-open { background: transparent; border-color: transparent; backdrop-filter: none; }

  .section__head, .about, .flexco, .contact { grid-template-columns: 1fr; }
  .section__head { gap: 20px; }
  .about, .flexco, .contact { gap: 48px; }
  .flexco__gallery { order: 2; }
  .form { position: static; }
  .hero__scroll { display: none; }
}

@media (max-width: 600px) {
  :root { --nav-h: 66px; }
  .nav__logo img { width: 140px; }
  .nav.is-scrolled .nav__logo img { width: 130px; }
  .hero { padding-top: calc(var(--nav-h) + 32px); }
  .hero__ctas .btn { width: 100%; }
  .hero__stats { gap: 18px 20px; margin-top: 40px; flex-wrap: nowrap; }
  .hero__stats li { flex: 1; }
  .eyebrow { font-size: 12px; padding: 7px 12px; }
  .hero__stats li:last-child { display: none; }
  .belt__row img { width: 110px; height: 72px; }
  .services { grid-template-columns: 1fr; }
  .products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product__body { padding: 12px 12px 14px; }
  .product__body h3 { font-size: 11px; letter-spacing: 0; }
  .product__label { font-size: 12px; }
  .product__code { font-size: 11.5px; top: 10px; padding: 4px 16px 4px 10px; }
  .product__tags span:nth-child(n+3):not(.fg) { display: none; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .bento__item--wide { grid-column: auto; }
  .bento__info p { max-height: 140px; opacity: 1; }  /* sin hover en móvil */
  .industries { gap: 12px; }
  .industry { padding: 24px 10px; font-size: 14px; }
  .pillar { padding: 92px 22px 24px; }
  .pillar__icon { left: 22px; top: 22px; }
  .form__grid { grid-template-columns: 1fr; }
  .catalog__search { min-width: 0; width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .flexco__gallery img:nth-child(2), .flexco__gallery img:nth-child(4) { transform: translateY(16px); }
}

/* Accesibilidad: reducir movimiento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
