/* ==========================================================================
   FireDOS® · Lozano & Asociados — hoja de estilos principal
   Tipografía: Plus Jakarta Sans (títulos) + Inter (texto)
   Paleta: rojo FireDOS #d71920, carbón #24282c, neutros cálidos
   ========================================================================== */

:root {
  --red-800: #8f0f15;
  --red-700: #b3121a;
  --red-600: #d71920;   /* rojo principal FireDOS */
  --red-400: #ef5b60;   /* rojo aclarado para fondos oscuros */
  --red-100: #fbe4e5;
  --red-50:  #fdf3f3;

  --ink:      #16191c;
  --charcoal: #24282c;
  --char-2:   #2e3338;
  --text:     #3d4247;
  --gray-500: #6b7075;
  --gray-300: #dcdedf;
  --gray-200: #e9eaeb;
  --gray-100: #f5f5f4;
  --white:    #ffffff;

  --font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  --fs-h3: clamp(1.1rem, 1.02rem + .35vw, 1.3rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 1.9vw, 2.75rem);
  --fs-h1: clamp(2.1rem, 1.3rem + 2.8vw, 3.5rem);

  --container: 1200px;
  --gutter: clamp(1rem, .6rem + 2vw, 2rem);
  --section-y: clamp(4rem, 2.8rem + 5vw, 7.5rem);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgb(22 25 28 / .05), 0 1px 3px rgb(22 25 28 / .07);
  --shadow: 0 12px 32px -14px rgb(22 25 28 / .22);
  --shadow-lg: 0 30px 60px -22px rgb(22 25 28 / .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

/* ----------------------------------------------------------------- base -- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: var(--fs-base); line-height: 1.65;
  color: var(--text); background: var(--white);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; text-wrap: balance; }
h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--red-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-700); }
ul, ol { padding: 0; margin: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--red-400); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--red-600); color: #fff; }
sup { font-size: .6em; line-height: 0; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon--sm { width: 1em; height: 1em; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; color: #fff; }

/* ----------------------------------------------------------------- botones -- */
.btn {
  --_bg: var(--red-600); --_fg: #fff; --_bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.35rem; border-radius: 999px; border: 1.5px solid var(--_bd);
  background: var(--_bg); color: var(--_fg);
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm); letter-spacing: .01em;
  text-decoration: none; line-height: 1.2; text-align: center;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); color: var(--_fg); }
.btn:active { transform: translateY(0); }
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--lg { padding: 1rem 1.7rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { box-shadow: 0 10px 24px -12px rgb(215 25 32 / .8); }
.btn--primary:hover { --_bg: var(--red-700); }
.btn--ghost { --_bg: rgb(255 255 255 / .06); --_bd: rgb(255 255 255 / .3); }
.btn--ghost:hover { --_bg: rgb(255 255 255 / .12); --_bd: rgb(255 255 255 / .6); }
.btn--ghost-dark { --_bg: transparent; --_fg: var(--ink); --_bd: var(--gray-300); }
.btn--ghost-dark:hover { --_bd: var(--ink); }
.btn--whatsapp { --_bg: #1fa855; }
.btn--whatsapp:hover { --_bg: #178a45; }
.btn[disabled] { opacity: .7; pointer-events: none; }

.tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; background: var(--red-600); color: #fff; }

.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red-600); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--red-400); }
.section-title { font-size: var(--fs-h2); }
.lead { font-size: var(--fs-lg); color: var(--gray-500); }

.section { padding-block: var(--section-y); }
.section--soft { background: var(--gray-100); }
.section--dark { background: var(--charcoal); color: rgb(255 255 255 / .72); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead { color: rgb(255 255 255 / .7); }

.section-head { margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.75rem); }
.section-head--center { text-align: center; max-width: 760px; margin-inline: auto; }
.section-head--center .eyebrow::before { display: none; }
.section-head--center .lead { margin-inline: auto; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.section-head--row > div { max-width: 640px; }
.section-head--row .section-title { margin: 0; }

.card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { font-size: var(--fs-xs); font-weight: 600; padding: .4rem .85rem; border-radius: 999px; border: 1px solid var(--gray-300); color: var(--charcoal); background: #fff; }

.checklist { display: grid; gap: .85rem; margin: 1.75rem 0 2rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; }
.checklist .icon { color: var(--red-600); margin-top: .2rem; }
.checklist--light li { color: rgb(255 255 255 / .9); }
.checklist--light .icon { color: var(--red-400); }

/* animaciones de entrada */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ----------------------------------------------------------------- header -- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgb(255 255 255 / .94);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgb(22 25 28 / .3); border-color: var(--gray-200); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .9rem; text-decoration: none; }
.brand img { width: auto; height: 52px; }
.brand__partner { display: flex; flex-direction: column; padding-left: .9rem; border-left: 1px solid var(--gray-300); line-height: 1.15; font-family: var(--font-display); }
.brand__partner span { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gray-500); font-weight: 600; }
.brand__partner strong { font-size: .95rem; color: var(--red-600); font-weight: 800; }

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav__list { display: flex; gap: .15rem; }
.nav__link {
  position: relative; display: block; padding: .5rem .75rem;
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm);
  color: var(--charcoal); text-decoration: none; transition: color .2s;
}
.nav__link::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .2rem; height: 2px; background: var(--red-600); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__link:hover, .nav__link.is-active { color: var(--red-600); }
.nav__link.is-active::after, .nav__link:hover::after { transform: scaleX(1); }
.nav__cta { padding: .7rem 1.2rem; }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--gray-300); background: #fff; color: var(--ink); place-items: center; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

@media (max-width: 960px) {
  .nav-toggle { display: grid; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1rem var(--gutter) 1.75rem; background: #fff; border-bottom: 1px solid var(--gray-200); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s var(--ease);
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; }
  .nav__link { padding: .85rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--gray-100); }
  .nav__link::after { display: none; }
}
@media (max-width: 480px) {
  .brand img { height: 42px; }
  .brand__partner strong { font-size: .82rem; }
}

/* ----------------------------------------------------------------- hero -- */
/* La foto ocupa el lado derecho a sangre y se funde con el fondo oscuro por la izquierda
   y por abajo. Animaciones: entrada escalonada del texto, zoom lento de la foto,
   destello de luz, etiquetas flotantes, subrayado que se dibuja y contadores. */
.hero {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: min(calc(100svh - var(--header-h)), 860px);
  background: var(--ink); color: rgb(255 255 255 / .75); overflow: hidden; isolation: isolate;
}
.hero__media {
  position: absolute; z-index: -1; top: 3%; bottom: 15%; right: 0; left: max(40%, calc(50% - 40px));
  --py: 0px;
  /* bordes que se funden con el fondo (izquierda fuerte, arriba/abajo suaves) */
  --fade: linear-gradient(90deg, transparent 0%, #000 30%), linear-gradient(180deg, transparent 0%, #000 14%, #000 78%, transparent 100%);
}
.hero__media picture, .hero__shine {
  position: absolute; inset: 0; overflow: hidden;
  -webkit-mask-image: var(--fade); mask-image: var(--fade);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.hero__media img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 52% 50%;
  transform: translate3d(0, var(--py), 0) scale(1.14);
  animation: hero-zoom 2.6s var(--ease) .1s forwards, hero-drift 22s ease-in-out 2.8s infinite alternate;
}
/* destello de luz que cruza la foto una vez */
.hero__shine { z-index: 2; pointer-events: none; }
.hero__shine::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; width: 22%; left: -30%;
  background: linear-gradient(100deg, transparent, rgb(255 255 255 / .16), transparent);
  transform: skewX(-18deg); animation: hero-shine 2.2s var(--ease) 1.6s forwards;
}
/* resplandor rojo que "respira" detrás del equipo */
.hero::before {
  content: ""; position: absolute; z-index: -1; right: 18%; top: 18%; width: 38vw; height: 38vw; max-width: 560px; max-height: 560px;
  border-radius: 50%; background: radial-gradient(circle, rgb(215 25 32 / .35), transparent 65%);
  filter: blur(20px); animation: hero-glow 6s ease-in-out infinite alternate;
}

.hero__inner { position: relative; z-index: 3; flex: 1; display: flex; align-items: center; padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem) 2rem; }
.hero__copy { max-width: 33rem; }
.hero__title { font-size: clamp(2.1rem, 1.3rem + 2.5vw, 3.25rem); color: #fff; margin-bottom: 1.1rem; text-shadow: 0 2px 30px rgb(0 0 0 / .35); }
.hero__hl { position: relative; color: var(--red-400); white-space: nowrap; }
.hero__hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.08em; height: .09em; border-radius: 99px;
  background: var(--red-600); transform: scaleX(0); transform-origin: left;
  animation: hero-underline 1s var(--ease) 1.1s forwards;
}
.hero__text { font-size: var(--fs-lg); max-width: 31rem; margin-bottom: 1.75rem; color: rgb(255 255 255 / .8); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 1.5rem; }
.hero__note { display: flex; align-items: center; gap: .5rem; font-size: var(--fs-sm); color: rgb(255 255 255 / .62); margin: 0; }
.hero__note .icon { color: var(--red-400); }

/* entrada escalonada (solo en la portada, no depende del scroll) */
.hero__in { opacity: 0; transform: translateY(22px); animation: hero-in .9s var(--ease) forwards; animation-delay: calc(.15s + var(--d, 0) * .12s); }

/* etiquetas flotantes de vidrio */
.hero__badges { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hero-badge {
  position: absolute; display: flex; align-items: center; gap: .75rem; padding: .75rem 1.1rem .75rem .75rem;
  border-radius: 16px; background: rgb(22 25 28 / .55); border: 1px solid rgb(255 255 255 / .14);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 18px 40px -18px rgb(0 0 0 / .6);
  color: #fff; opacity: 0;
  animation: hero-pop .8s var(--ease) forwards, hero-float 6s ease-in-out infinite alternate;
}
.hero-badge strong { display: block; font-family: var(--font-display); font-size: .95rem; line-height: 1.2; }
.hero-badge small { display: block; font-size: .78rem; color: rgb(255 255 255 / .65); }
.hero-badge__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--red-600); }
.hero-badge--1 { left: 14%; bottom: 16%; animation-delay: 1.5s, 2.3s; }
.hero-badge--2 { right: 5%; top: 12%; animation-delay: 1.8s, 2.6s; animation-duration: .8s, 7s; }

.hero__stats { position: relative; z-index: 3; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1px solid rgb(255 255 255 / .12); }
.stats__item { padding: 1.6rem 1.25rem 2rem 0; }
.stats__item + .stats__item { padding-left: 1.5rem; border-left: 1px solid rgb(255 255 255 / .1); }
.stats__value { font-family: var(--font-display); font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats__suffix { color: var(--red-400); }
.stats__label { margin: .35rem 0 0; font-size: var(--fs-sm); }

@keyframes hero-in { to { opacity: 1; transform: none; } }
@keyframes hero-zoom { to { transform: translate3d(0, var(--py), 0) scale(1.02); } }
@keyframes hero-drift { from { transform: translate3d(0, var(--py), 0) scale(1.02); } to { transform: translate3d(-1.5%, var(--py), 0) scale(1.08); } }
@keyframes hero-shine { to { left: 120%; } }
@keyframes hero-glow { from { opacity: .55; transform: scale(.92); } to { opacity: 1; transform: scale(1.06); } }
@keyframes hero-underline { to { transform: scaleX(1); } }
@keyframes hero-pop { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes hero-float { from { translate: 0 0; } to { translate: 0 -10px; } }

@media (max-width: 1199px) {
  .hero__media { left: 36%; }
}
@media (max-width: 999px) {
  .hero { min-height: 0; }
  .hero__media {
    position: relative; inset: auto; height: clamp(260px, 62vw, 480px);
    --fade: linear-gradient(180deg, #000 0%, #000 60%, transparent 100%), linear-gradient(90deg, #000, #000);
  }
  .hero__media img { object-position: 50% 40%; }
  .hero::before { right: -10%; top: 0; width: 80vw; height: 80vw; }
  .hero__inner { padding-block: .5rem 2.5rem; margin-top: -2.5rem; }
  .hero-badge { padding: .55rem .8rem .55rem .55rem; }
  .hero-badge__icon { width: 32px; height: 32px; }
  .hero-badge--1 { left: 4%; top: auto; bottom: 22%; }
  .hero-badge--2 { right: 4%; top: 6%; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats__item:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats__item:nth-child(n+3) { border-top: 1px solid rgb(255 255 255 / .1); }
}
@media (max-width: 420px) {
  .hero-badge small { display: none; }
  .hero__hl { white-space: normal; }
}

/* ----------------------------------------------------------------- tecnología -- */
.mech__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.flow { position: relative; display: grid; gap: 1.1rem; counter-reset: flow; }
.flow::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: linear-gradient(var(--red-100), var(--red-600)); }
.flow__step { position: relative; display: flex; gap: 1.25rem; align-items: center; }
.flow__icon { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid var(--red-100); color: var(--red-600); }
.flow__step:last-child .flow__icon { background: var(--red-600); border-color: var(--red-600); color: #fff; }
.flow__step h3 { margin: 0 0 .15rem; font-size: 1.05rem; }
.flow__step p { margin: 0; font-size: var(--fs-sm); color: var(--gray-500); }

.adv__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); }
.adv { padding: 2rem; border-radius: var(--radius-lg); border: 1px solid var(--gray-200); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.adv:hover { border-color: var(--red-100); box-shadow: var(--shadow); transform: translateY(-3px); }
.adv__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--red-50); color: var(--red-600); margin-bottom: 1.25rem; }
.adv p { margin: 0; color: var(--gray-500); font-size: var(--fs-sm); }

@media (max-width: 900px) {
  .mech__grid, .adv__grid { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------- ahorro -- */
.savings__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem; align-items: stretch; }
.compare { padding: clamp(1.25rem, .8rem + 1.5vw, 2rem); overflow-x: auto; }
.compare__table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.compare__table caption { text-align: left; font-size: var(--fs-xs); color: var(--gray-500); margin-bottom: 1rem; }
.compare__table th, .compare__table td { padding: .9rem .75rem; text-align: right; border-bottom: 1px solid var(--gray-200); white-space: nowrap; }
.compare__table th[scope="row"], .compare__table thead th:first-child { text-align: left; font-weight: 600; color: var(--ink); white-space: normal; }
.compare__table thead th { font-family: var(--font-display); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .06em; color: var(--gray-500); font-weight: 700; }
.compare__table small { color: var(--gray-500); font-weight: 400; }
.compare__table td { font-variant-numeric: tabular-nums; font-size: 1rem; }
.compare__table .is-fd { color: var(--red-600); font-weight: 700; background: var(--red-50); }
.compare__table thead .is-fd { color: var(--red-600); border-radius: 10px 10px 0 0; }
.compare__table .is-total th, .compare__table .is-total td { border-bottom: 0; font-weight: 800; font-size: 1.1rem; font-family: var(--font-display); }
.compare__table .is-total .is-fd { border-radius: 0 0 10px 10px; }
.compare__assumptions { margin-top: 1.25rem; font-size: var(--fs-sm); }
.compare__assumptions summary { cursor: pointer; font-weight: 600; color: var(--charcoal); }
.compare__assumptions ul { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .85rem; }
.compare__assumptions li { font-size: var(--fs-xs); padding: .3rem .7rem; border-radius: 999px; background: var(--gray-100); }

.savings__totals { display: grid; gap: 1rem; align-content: start; }
.total { padding: 1.75rem 2rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--gray-200); }
.total--accent { background: var(--red-600); border-color: var(--red-600); color: #fff; }
.total__label { margin: 0 0 .25rem; font-size: var(--fs-sm); font-weight: 600; }
.total__value { margin: 0; font-family: var(--font-display); font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--ink); }
.total--accent .total__value { color: #fff; }
.total__value small { font-size: 1rem; font-weight: 600; opacity: .7; letter-spacing: 0; }
.savings__quote { margin: .5rem 0 0; padding-left: 1.1rem; border-left: 3px solid var(--red-600); color: var(--text); }
.savings__quote strong { color: var(--red-600); }

@media (max-width: 900px) { .savings__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .compare__table th, .compare__table td { padding: .75rem .45rem; }
  .compare__table thead th { white-space: normal; font-size: .68rem; letter-spacing: .03em; }
  .compare__table td { font-size: .95rem; }
  .compare__table .is-total th, .compare__table .is-total td { font-size: 1rem; }
}

/* ----------------------------------------------------------------- industrias -- */
.industries__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--gray-200); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; }
.industry { display: flex; flex-direction: column; gap: 1rem; padding: 1.75rem 1.5rem; background: #fff; font-family: var(--font-display); font-weight: 700; color: var(--ink); transition: background-color .25s; }
.industry:hover { background: var(--red-50); }
.industry__icon { color: var(--red-600); }
.industry__icon .icon { width: 30px; height: 30px; }
@media (max-width: 760px) { .industries__grid { grid-template-columns: repeat(2, 1fr); } }

/* ----------------------------------------------------------------- productos -- */
.products__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.product { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--gray-200); overflow: hidden; transition: box-shadow .25s, transform .25s var(--ease); }
.product:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.product__media { position: relative; background: var(--gray-100); }
.product__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.product__media .tag { position: absolute; left: 1rem; top: 1rem; }
.product__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.6rem 1.6rem; }
.product__body > p { color: var(--gray-500); font-size: var(--fs-sm); }
.product__features { display: grid; gap: .45rem; margin-bottom: 1.5rem; font-size: var(--fs-sm); }
.product__features li { display: flex; gap: .55rem; align-items: flex-start; }
.product__features .icon { color: var(--red-600); margin-top: .3rem; }
.product__link { margin-top: auto; display: inline-flex; align-items: center; gap: .5rem; align-self: flex-start; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm); text-decoration: none; padding: .65rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--red-100); transition: .2s; }
.product__link:hover { background: var(--red-600); border-color: var(--red-600); color: #fff; }
@media (max-width: 1000px) { .products__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .products__grid { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- distribuidor -- */
.partner__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.partner__map { margin: 0; padding: 1rem; border-radius: var(--radius-lg); background: #fff; }
.partner__map img { width: 100%; border-radius: var(--radius); }
.partner__map figcaption { display: flex; align-items: center; gap: .5rem; padding: .9rem .25rem 0; font-size: var(--fs-sm); color: var(--gray-500); }
.partner__map figcaption .icon { color: var(--red-600); }
@media (max-width: 900px) { .partner__grid { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- clientes -- */
.clients { padding: clamp(3rem, 2rem + 3vw, 4.5rem) 0; border-bottom: 1px solid var(--gray-200); }
.clients__title { text-align: center; font-size: var(--fs-sm); font-weight: 600; color: var(--gray-500); letter-spacing: 0; margin-bottom: 2rem; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 3rem; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img { height: 64px; width: auto; filter: grayscale(1); opacity: .65; transition: .3s; }
.marquee__track img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(calc(-50% - 1.5rem)); } }

/* ----------------------------------------------------------------- servicios -- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service { position: relative; padding: 2.25rem 2rem; border-radius: var(--radius-lg); background: var(--gray-100); }
.service__num { position: absolute; right: 1.75rem; top: 1.5rem; font-family: var(--font-display); font-weight: 800; font-size: 2.25rem; color: var(--gray-300); line-height: 1; }
.service__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--red-600); margin-bottom: 1.5rem; box-shadow: var(--shadow-sm); }
.service p { margin: 0; color: var(--gray-500); font-size: var(--fs-sm); }
@media (max-width: 900px) { .services__grid { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- cotizar / contacto -- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.contact__info { position: sticky; top: calc(var(--header-h) + 2rem); }
.steps { display: grid; gap: 1rem; margin: 2rem 0; }
.steps li { display: flex; gap: 1rem; align-items: flex-start; }
.steps__num { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--red-600); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: .9rem; }
.steps strong { display: block; color: var(--ink); font-family: var(--font-display); }
.steps span { font-size: var(--fs-sm); color: var(--gray-500); }
.contact__list { display: grid; gap: 1rem; padding-top: 1.75rem; border-top: 1px solid var(--gray-300); }
.contact__list li { display: flex; gap: .9rem; align-items: center; }
.contact__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--red-600); box-shadow: var(--shadow-sm); }
.contact__list small { display: block; font-size: var(--fs-xs); color: var(--gray-500); }
.contact__list a { font-weight: 600; color: var(--ink); text-decoration: none; }
.contact__list a:hover { color: var(--red-600); }
@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__info { position: static; }
}

.form { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .8rem 1rem; border: 1.5px solid var(--gray-300); border-radius: 10px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red-600); box-shadow: 0 0 0 4px rgb(215 25 32 / .12); }
.field__error { margin: .35rem 0 0; font-size: var(--fs-xs); color: var(--red-700); min-height: 0; }
.field__error:empty { display: none; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--red-600); }
.field--check { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; }
.field--check input { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--red-600); }
.field--check label { font-weight: 400; color: var(--text); margin: 0; }
.field--check .field__error { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.captcha { display: flex; gap: .6rem; align-items: center; }
.captcha__img { flex: none; border-radius: 10px; border: 1.5px solid var(--gray-300); }
.captcha__refresh { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--gray-300); background: #fff; color: var(--charcoal); transition: .2s; }
.captcha__refresh:hover { border-color: var(--red-600); color: var(--red-600); }
.captcha__refresh.is-spinning .icon { animation: spin .6s var(--ease); }
@media (max-width: 420px) { .captcha { flex-wrap: wrap; } }
.form__status { margin: 0; font-size: var(--fs-sm); font-weight: 600; }
.form__status:empty { display: none; }
.form__status.is-ok { margin-bottom: 1rem; padding: .85rem 1rem; border-radius: 10px; background: #e8f6ec; color: #146c2e; }
.form__status.is-error { margin-bottom: 1rem; padding: .85rem 1rem; border-radius: 10px; background: var(--red-50); color: var(--red-700); }
.form__fine { margin: .85rem 0 0; text-align: center; font-size: var(--fs-xs); color: var(--gray-500); }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .4); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.flash-stack { padding-top: 1rem; }
.flash { margin: 0 0 .5rem; padding: .85rem 1rem; border-radius: 10px; background: var(--red-50); color: var(--red-700); font-weight: 600; }

/* ----------------------------------------------------------------- footer -- */
.site-footer { background: var(--ink); color: rgb(255 255 255 / .62); font-size: var(--fs-sm); padding-top: clamp(3.5rem, 2.5rem + 3vw, 5rem); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer__brand img { height: 72px; width: auto; margin-bottom: 1.25rem; }
.site-footer__brand p { max-width: 26rem; }
.site-footer__title { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 1.25rem; }
.site-footer__list { display: grid; gap: .7rem; }
.site-footer__list li { display: flex; gap: .6rem; align-items: center; }
.site-footer__list .icon { color: var(--red-400); }
.site-footer a { color: rgb(255 255 255 / .78); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__more { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.25rem; font-weight: 600; }
.social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .15); transition: .2s; }
.social a:hover { background: var(--red-600); border-color: var(--red-600); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-block: 1.5rem; border-top: 1px solid rgb(255 255 255 / .1); font-size: var(--fs-xs); }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { display: flex; gap: 1.25rem; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- flotantes -- */
.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90;
  display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.1rem; border-radius: 999px;
  background: #1fa855; color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm);
  box-shadow: 0 12px 28px -10px rgb(31 168 85 / .7); transition: transform .2s var(--ease);
}
.wa-float:hover { color: #fff; transform: translateY(-2px); }
.to-top {
  position: fixed; right: 1.25rem; bottom: 5rem; z-index: 90; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gray-300); background: #fff; color: var(--ink);
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: .9rem; } }

/* ----------------------------------------------------------------- páginas internas -- */
.page-hero { background: var(--ink); padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0; }
.page-hero h1 { color: #fff; font-size: var(--fs-h2); margin: 0; }
.prose { max-width: 780px; }
.prose h2 { font-size: 1.3rem; margin-top: 2.25rem; }
.prose__meta { margin-top: 2.5rem; font-size: var(--fs-sm); color: var(--gray-500); }
.status-page { padding: clamp(5rem, 3rem + 8vw, 9rem) 0; text-align: center; }
.status-page__inner { max-width: 560px; }
.status-page__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--red-50); color: var(--red-600); margin-bottom: 1.5rem; }
.status-page__icon .icon { width: 36px; height: 36px; }
.status-page__code { font-family: var(--font-display); font-size: 4.5rem; font-weight: 800; color: var(--red-600); line-height: 1; margin-bottom: 1rem; }
.status-page__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 2rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero__in, .hero-badge { animation: none !important; opacity: 1; transform: none; }
  .hero__media img { animation: none !important; transform: scale(1.02); }
  .hero__hl::after { animation: none !important; transform: none; }
  .hero__shine, .hero::before { display: none; }
}
