/* ==========================================================================
   VIAX · Sin Límites — viaxec.com
   Orden: tokens → base → utilidades → componentes compartidos → bloques de
   página → catálogo → modal → animaciones → responsive.
   ========================================================================== */

/* --------------------------------------------------------------- 1. Tokens */
:root {
  /* Marca */
  --brand: #f20505;
  --brand-dark: #c00404;
  --brand-soft: #ffb3b3;
  --wa: #25d366;

  /* Superficies */
  --bg: #0d0e11;
  --bg-alt: #131418;
  --surface: #1a1b20;
  --surface-deep: #101114;
  --line: #26282e;
  --line-nav: #1f2126;
  --line-strong: #34363c;

  /* Texto */
  --text: #ffffff;
  --text-muted: #b9bec5;
  --text-dim: #9aa0a8;
  --text-faint: #8a9099;
  --text-ghost: #6b7178;

  /* Tipografías */
  --font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Radios */
  --r-sm: 11px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 22px;
  --r-pill: 999px;

  /* Movimiento */
  --ease: cubic-bezier(.2, .7, .3, 1);
  --ease-soft: cubic-bezier(.16, .84, .24, 1);

  /* Retícula */
  --shell: 1240px;
  --gutter: 40px;
}

/* ----------------------------------------------------------------- 2. Base */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

::selection { background: var(--brand); color: #fff; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

img,
video { max-width: 100%; }

/* Imprescindible junto a los atributos width/height del HTML: sin esto, en
   cuanto una regla fija el ancho el navegador toma el atributo height como
   altura literal y la imagen sale estirada. object-fit es la red de seguridad
   para el caso inverso: alto fijo y ancho recortado por max-width. */
img {
  height: auto;
  object-fit: contain;
}
h1, h2, h3, p, ul { margin: 0; }
button, input, textarea { font: inherit; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

/* ------------------------------------------------------------ 3. Utilidades */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--brand);
  color: #fff;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
}
.skip-link:focus { left: 0; color: #fff; }

.shell { max-width: var(--shell); margin: 0 auto; }

.kicker {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700;
}

.section-title {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -.8px;
  margin: 0;
  color: #fff;
}

/* ------------------------------------------- 4. Componentes compartidos */

/* 4.1 Botones */
.btn-brand {
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: var(--r-pill);
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-display);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 34px rgba(242, 5, 5, .4);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-brand:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(242, 5, 5, .5);
  color: #fff;
}
.btn-brand__ico {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.btn-brand__ico svg { fill: currentColor; }

.btn-brand--sm {
  padding: 15px 28px;
  box-shadow: 0 10px 26px rgba(242, 5, 5, .35);
}
.btn-brand--sm:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(242, 5, 5, .35); }

.btn-ghost {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .4);
  border-radius: var(--r-pill);
  padding: 15px 30px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: background .2s ease;
}
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.btn-line {
  color: #fff;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-pill);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  background: transparent;
  transition: border-color .18s ease;
}
.btn-line:hover { border-color: var(--brand); color: #fff; }

/* 4.2 Tarjeta de argumento */
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: transform .22s ease, border-color .22s ease;
}
.feature:hover { transform: translateY(-6px); border-color: var(--brand); }
.feature__ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(242, 5, 5, .14);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.feature__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}
.feature__text { font-size: 13.5px; line-height: 1.6; color: var(--text-dim); }

/* 4.3 Tarjeta de producto */
.product { display: block; }
.product__card {
  cursor: pointer;
  display: block;
  width: 100%;
  text-align: left;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  color: inherit;
  font: inherit;
  transition: transform .42s var(--ease-soft), box-shadow .42s var(--ease-soft),
              background .42s ease, border-color .42s ease;
}
.product__card:hover {
  transform: translateY(-10px) scale(1.015);
  box-shadow: 0 28px 60px rgba(242, 5, 5, .32), inset 0 0 0 1.5px rgba(242, 5, 5, .75);
}
.product__media {
  height: 210px;
  background: radial-gradient(circle at 50% 42%, #23252b 0%, #1a1c21 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  position: relative;
  overflow: hidden;
  transition: filter .42s ease;
}
.product__card:hover .product__media { filter: brightness(1.2); }
.product__img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform .5s var(--ease-soft);
}
.product__card:hover .product__img { transform: scale(1.11) translateY(-4px); }
.product__flag {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  background: var(--brand);
  color: #fff;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
}
/* Categorías comerciales: Silver · Gold · Diamante */
.product__cat {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
}
.product__cat--silver { background: #e4e7ee; color: #4a4e54; }
.product__cat--gold { background: #f5e3b3; color: #7a5a00; }
.product__cat--diamante { background: #d9ecf8; color: #1c5d80; }

/* Estos cuatro elementos son <span> para que el <button> de la tarjeta sea
   HTML válido (un botón no puede contener bloques). Necesitan display:block
   explícito: como span en línea, ni margin-bottom ni width:100% aplican, y el
   nombre, la línea y el botón acababan uno detrás de otro en la misma fila. */
.product__body { display: block; padding: 20px 22px 24px; }
.product__name {
  display: block;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.product__line {
  display: block;
  font-size: 11.5px;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.product__cta {
  display: block;
  background: transparent;
  color: #fff;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-pill);
  padding: 9px 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12.5px;
  cursor: pointer;
  width: 100%;
  transition: border-color .18s ease, background .18s ease;
}
.product__card:hover .product__cta,
.product__cta:hover {
  border-color: var(--brand);
  background: rgba(242, 5, 5, .14);
}
.product__detail { display: none; }

/* 4.4 Tarjeta de contacto */
.cc {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 15px 18px;
  transition: transform .42s var(--ease-soft), box-shadow .42s var(--ease-soft), background .42s ease;
}
a.cc:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, .45), inset 0 0 0 1.5px rgba(242, 5, 5, .6);
}
.cc__ico {
  width: 38px; height: 38px;
  flex: 0 0 38px;
  border-radius: var(--r-sm);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  transition: transform .42s var(--ease-soft);
}
a.cc:hover .cc__ico { transform: scale(1.09) rotate(-5deg); }
.cc__ico svg { fill: #fff; }
.cc__ico--wa { background: var(--wa); }
.cc__ico--mail { background: var(--brand); }
.cc__ico--map { background: #fff; color: var(--bg-alt); }
.cc__ico--fb { background: #1877f2; }
.cc__ico--ig {
  background: radial-gradient(circle at 30% 107%,
    #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.cc__body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.cc__label {
  font-size: 9.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 700;
}
.cc__value {
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.2px;
  overflow-wrap: anywhere;
}
.cc__go {
  margin-left: auto;
  font-size: 15px;
  font-weight: 700;
  flex: 0 0 auto;
  color: var(--brand);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .3s ease, transform .42s var(--ease-soft);
}
a.cc:hover .cc__go { opacity: 1; transform: translateX(0); }

/* ------------------------------------------------------ 5. Bloques de página */

/* 5.1 WhatsApp flotante */
.wa-float {
  position: fixed;
  z-index: 95;
  right: 22px; bottom: 22px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: wa-pulse 2.2s ease-out infinite;
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { fill: #fff; }

/* 5.2 Barra de grupo */
.topbar {
  background: #000;
  color: var(--text-faint);
  font-size: 12px;
  padding: 8px var(--gutter);
}
.topbar__inner {
  max-width: var(--shell);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar__brands { display: flex; align-items: center; gap: 4px; }
.topbar__brand {
  color: var(--text-muted);
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background .2s ease, color .2s ease;
}
.topbar__brand--hydroeza:hover { background: rgba(45, 96, 164, .22); color: #fff; }
.topbar__brand--ht:hover { background: rgba(233, 83, 13, .18); color: #fff; }
.topbar__brand--active {
  color: #fff;
  font-weight: 700;
  background: rgba(242, 5, 5, .26);
}
.topbar__sep { color: #3a3d42; }
.topbar__phone { color: var(--text-ghost); }

/* 5.3 Navegación */
.nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(13, 14, 17, .92);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line-nav);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .45);
  transition: background .45s ease, box-shadow .45s ease;
}
.nav__shell {
  max-width: var(--shell);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 12px 40px;
  transition: padding .5s var(--ease-soft);
}
.nav__brand { display: flex; align-items: center; gap: 14px; }
.nav__logo {
  height: 44px;
  width: auto;
  display: block;
  transition: height .5s var(--ease-soft);
}
.nav__tag {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 600;
  transition: opacity .35s ease, transform .45s var(--ease-soft);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 22px;
  transition: opacity .4s var(--ease-soft), transform .5s var(--ease-soft), filter .4s ease;
}
.nav__links > * {
  transition: opacity .5s var(--ease-soft), transform .55s var(--ease-soft);
}
.nav__link {
  font-family: var(--font-display);
  font-size: 13.5px;
  letter-spacing: .8px;
  text-transform: uppercase;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
}
.nav__link:hover { color: #fff; }
.nav__link[aria-current="page"] { color: var(--brand); }
.nav__wa {
  background: var(--wa);
  color: #fff;
  border-radius: var(--r-pill);
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
}
.nav__wa:hover { color: #fff; }
.nav__wa-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  color: var(--wa);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  flex: 0 0 auto;
}

.nav__burger {
  width: 46px; height: 46px;
  flex: 0 0 46px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, .28);
  color: #fff;
  font-size: 19px;
  cursor: pointer;
  transition: background .28s ease, border-color .28s ease;
}
.nav__burger:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

.nav.is-compact {
  background: rgba(9, 10, 12, .97);
  box-shadow: 0 6px 22px rgba(0, 0, 0, .62);
}
.nav.is-compact .nav__shell { padding: 8px 40px; }
.nav.is-compact .nav__logo { height: 32px; }
.nav.is-compact .nav__tag { opacity: 0; transform: translateX(-8px); }
.nav.is-compact .nav__links {
  opacity: 0;
  transform: translateY(-14px);
  filter: blur(3px);
  pointer-events: none;
}
.nav.is-compact .nav__links > * { opacity: 0; transform: translateY(-10px); }

.nav__panel {
  background: rgba(10, 11, 14, .985);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-top: 1px solid var(--line-nav);
  padding: 10px 24px 20px;
  display: flex;
  flex-direction: column;
  animation: navPanelIn .38s var(--ease-soft) both;
}
.nav__panel[hidden] { display: none; }
.nav__panel-link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 4px 2px;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  border-bottom: 1px solid var(--line-nav);
  cursor: pointer;
  animation: navItemIn .4s var(--ease-soft) both;
}
.nav__panel-link:hover { color: var(--brand); }
.nav__panel-link:nth-child(1) { animation-delay: 60ms; }
.nav__panel-link:nth-child(2) { animation-delay: 115ms; }
.nav__panel-link:nth-child(3) { animation-delay: 170ms; }
.nav__panel-link:nth-child(4) { animation-delay: 225ms; }
.nav__panel-wa {
  margin-top: 16px;
  background: var(--wa);
  color: #fff;
  border-radius: var(--r-pill);
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  animation: navItemIn .4s var(--ease-soft) both;
  animation-delay: 280ms;
}
.nav__panel-wa:hover { color: #fff; }
.nav__panel-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  color: var(--wa);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
}

/* 5.4 Hero */
.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__scrim { position: absolute; inset: 0; }
.hero__scrim--side {
  background: linear-gradient(100deg,
    rgba(5, 4, 4, .9) 0%,
    rgba(5, 4, 4, .66) 32%,
    rgba(5, 4, 4, .28) 54%,
    transparent 78%);
}
.hero__scrim--edge {
  background: linear-gradient(180deg,
    rgba(5, 4, 4, .4) 0%,
    transparent 26%,
    transparent 64%,
    rgba(5, 4, 4, .82) 100%);
}
.hero__inner {
  position: relative;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero__logo {
  width: min(400px, 74vw);
  height: auto;
  filter: drop-shadow(0 24px 60px rgba(0, 0, 0, .7));
  margin-bottom: 30px;
}
.hero__claim {
  font-size: 18px;
  line-height: 1.6;
  color: #e3e7ec;
  max-width: 480px;
  margin: 0 0 36px;
  text-shadow: 0 1px 18px rgba(0, 0, 0, .5);
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}

/* 5.5 ¿Por qué VIAX? */
.why { padding: 64px var(--gutter); background: var(--bg-alt); }
.why__head { text-align: center; margin-bottom: 46px; }
.why__head .kicker { display: block; margin-bottom: 12px; }
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* 5.6 Productos populares */
.popular { position: relative; padding: 64px var(--gutter); background: var(--bg); }
.popular__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}
.popular__head .kicker { display: block; margin-bottom: 12px; }
.popular__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* 5.7 Bodega · Sobre nosotros */
.about { padding: 64px var(--gutter); background: var(--bg-alt); }
.about__media {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
  margin-bottom: 44px;
}
.about__media img {
  width: 100%;
  display: block;
  /* A ancho completo la foto de bodega ocupaba tres cuartos de la pantalla.
     Se recorta a una banda panorámica; el tope es fluido, así que en móvil
     la imagen se ve completa sin recorte. */
  max-height: clamp(190px, 28vw, 400px);
  object-fit: cover;
  object-position: center;
}
.about__text-block { text-align: center; max-width: 860px; margin: 0 auto; }
.about__text-block .kicker { display: block; margin-bottom: 14px; }
.about__title {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -.9px;
  line-height: 1.08;
  margin: 0 0 22px;
  color: #fff;
}
.about__text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0 0 18px;
}
.about__text--last { margin-bottom: 30px; }
.perks {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}
.perks__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
}
.perks__check { color: var(--wa); font-size: 18px; }

/* 5.8 Descarga del catálogo */
.catalog-cta { padding: 0 var(--gutter) 60px; background: var(--bg-alt); }
.catalog-cta__inner {
  max-width: var(--shell);
  margin: 0 auto;
  border-radius: var(--r-xl);
  background: linear-gradient(120deg, #1a0404 0%, #7c0707 55%, var(--brand) 100%);
  padding: 54px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.catalog-cta__text { max-width: 560px; }
.catalog-cta__kicker {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-soft);
  font-weight: 700;
  margin-bottom: 12px;
}
.catalog-cta__title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.6px;
  margin: 0 0 12px;
  line-height: 1.15;
}
.catalog-cta__lede {
  font-size: 15px;
  color: rgba(255, 255, 255, .85);
  line-height: 1.6;
}
.catalog-cta__btn {
  background: #fff;
  color: #7c0707;
  border-radius: var(--r-pill);
  padding: 17px 34px;
  font-size: 15px;
  font-weight: 800;
  font-family: var(--font-display);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .3);
  transition: transform .2s ease;
}
.catalog-cta__btn:hover { transform: translateY(-3px); color: #7c0707; }
.catalog-cta__btn span { font-size: 18px; }

/* 5.9 Contacto */
.contact { padding: 64px var(--gutter); background: var(--bg-alt); }
.contact__head { text-align: center; margin-bottom: 46px; }
.contact__head .kicker { display: block; margin-bottom: 10px; }
.contact__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}
.contact__cards + .contact__cards { margin-top: 14px; }
.contact__slot { display: flex; }

.form {
  margin-top: 44px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 44px;
}
.form__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.4px;
  margin: 0 0 28px;
}
.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 28px;
}
.form__col { display: flex; flex-direction: column; gap: 20px; }
.form__col--grow > div:last-child { flex: 1; display: flex; flex-direction: column; }
.form__label {
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 700;
  display: block;
}
.form__input,
.form__textarea {
  width: 100%;
  margin-top: 8px;
  background: var(--surface-deep);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 13px 15px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color .18s ease;
}
.form__textarea { flex: 1; min-height: 120px; resize: vertical; }
.form__input:focus,
.form__textarea:focus { border-color: var(--brand); }
.form__input::placeholder,
.form__textarea::placeholder { color: var(--text-ghost); }
.form__actions { display: flex; justify-content: center; margin-top: 30px; }
.form__submit {
  background: var(--wa);
  color: #fff;
  border: none;
  border-radius: var(--r-pill);
  padding: 16px 40px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(37, 211, 102, .3);
  transition: transform .2s ease, box-shadow .2s ease;
}
.form__submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(37, 211, 102, .4);
  color: #fff;
}
.form__submit-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  color: var(--wa);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
}
.form__error {
  color: var(--brand-soft);
  font-size: 13px;
  text-align: center;
  margin-top: 14px;
}

/* 5.10 Pie de página */
.site-footer {
  position: relative;
  background: #000;
  color: var(--text-muted);
  overflow: hidden;
}
.site-footer__stripe {
  height: 14px;
  background: linear-gradient(90deg, #7c0707 0%, var(--brand) 55%, #ff5a3c 100%);
  clip-path: polygon(0 55%, 38% 0, 100% 35%, 100% 100%, 0 100%);
}
.site-footer__texture {
  position: absolute;
  inset: 14px 0 0;
  opacity: .07;
  background-image: radial-gradient(circle at 2px 2px, #fff 1.2px, transparent 1.2px);
  background-size: 26px 22px;
  pointer-events: none;
}
.site-footer__grid {
  position: relative;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 40px var(--gutter) 34px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
}
.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13.5px;
}
.site-footer__row { display: flex; align-items: center; gap: 11px; }
.site-footer__ico {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid #2c2e33;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--brand);
  flex: 0 0 26px;
}
.site-footer__center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.site-footer__group-logo {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
}
.site-footer__nav {
  display: flex;
  gap: 28px;
  font-size: 13.5px;
  flex-wrap: wrap;
  justify-content: center;
}
.site-footer__nav a { color: #d7dadd; font-weight: 600; }
.site-footer__nav a:hover { color: #fff; }
.site-footer__legal { display: flex; gap: 28px; font-size: 12.5px; flex-wrap: wrap; justify-content: center; }
.site-footer__legal a { color: var(--text-faint); }
.site-footer__legal a:hover { color: #fff; }
.site-footer__mark { display: flex; justify-content: flex-end; }
.site-footer__mark img {
  height: 72px;
  width: auto;
  filter: drop-shadow(0 6px 18px rgba(242, 5, 5, .35));
}
.site-footer__bottom { position: relative; border-top: 1px solid #1c1e22; }
.site-footer__bottom-inner {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #4a4e54;
  flex-wrap: wrap;
  gap: 10px;
}
.site-footer__bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer__bottom-links a { color: var(--text-ghost); }
.site-footer__bottom-links a:hover { color: #fff; }

/* --------------------------------------------------------------- 6. Catálogo */
.catalog {
  position: relative;
  padding: 52px var(--gutter) 64px;
  background: var(--bg);
  min-height: 80vh;
}
.catalog__back { margin-bottom: 10px; }
.catalog__back a { font-size: 13px; color: var(--text-faint); }
.catalog__back a:hover { color: #fff; }
.catalog__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 26px;
  flex-wrap: wrap;
  gap: 20px;
}
.catalog__head .kicker { display: block; margin-bottom: 12px; }
.catalog__title {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -.9px;
  margin: 0;
  color: #fff;
}
.catalog__search { position: relative; width: 280px; max-width: 100%; }
.catalog__search-ico {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-ghost);
  font-size: 15px;
  pointer-events: none;
}
.catalog__search input {
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  padding: 12px 16px 12px 40px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color .18s ease;
}
.catalog__search input:focus { border-color: var(--brand); }
.catalog__search input::placeholder { color: var(--text-ghost); }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.tab {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--r-pill);
  padding: 9px 18px;
  border: 1px solid var(--line-strong);
  color: var(--text-muted);
  background: transparent;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.tab:hover { border-color: var(--brand); }
.tab[aria-selected="true"] {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
}

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.catalog__grid .product__card:hover {
  box-shadow: 0 28px 56px rgba(0, 0, 0, .6), inset 0 0 0 1.5px rgba(242, 5, 5, .75);
}
.catalog__grid .product__media { height: 190px; }
.catalog__grid .product__body { padding: 18px 20px 22px; }
.catalog__grid .product__line { color: var(--text-ghost); }
.product[hidden] { display: none; }

.catalog__empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-ghost);
  font-size: 15px;
}
.catalog__empty[hidden] { display: none; }

.catalog__pdf {
  margin-top: 60px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
  padding: 30px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.catalog__pdf-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.catalog__pdf-sub { font-size: 13.5px; color: var(--text-faint); }
.catalog__pdf-btn {
  background: var(--brand);
  color: #fff;
  border-radius: var(--r-pill);
  padding: 13px 26px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-display);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 26px rgba(242, 5, 5, .35);
}
.catalog__pdf-btn:hover { color: #fff; }

/* --------------------------------------------------- 7. Modal de ficha técnica */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  width: 100%;
  max-width: none;
  max-height: none;
  height: 100%;
  border: 0;
  padding: 24px;
  margin: 0;
  background: transparent;
  overflow: hidden;
  display: none;
}
.modal[open] { display: flex; align-items: center; justify-content: center; }
.modal::backdrop {
  background: rgba(5, 4, 4, .84);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.modal__panel {
  background: var(--surface);
  border: 1px solid #2a2c32;
  border-radius: var(--r-xl);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .55);
  position: relative;
  color: var(--text-muted);
}
.modal__close {
  position: absolute;
  top: 18px; right: 18px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--line);
  color: #fff;
  border: none;
  font-size: 16px;
  cursor: pointer;
  z-index: 2;
}
.modal__head {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 26px;
  padding: 30px;
  background: var(--bg-alt);
  border-bottom: 1px solid #2a2c32;
}
.modal__media {
  background: #1a1c21;
  padding: 18px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal__media img {
  width: 100%;
  height: 220px;
  object-fit: contain;
}
.modal__tags {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.modal__line {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700;
  font-family: var(--font-display);
}
.modal__cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 5px;
  padding: 3px 9px;
  font-family: var(--font-display);
}
.modal__cat[hidden] { display: none; }
.modal__cat--silver { background: #e4e7ee; color: #4a4e54; }
.modal__cat--gold { background: #f5e3b3; color: #7a5a00; }
.modal__cat--diamante { background: #d9ecf8; color: #1c5d80; }
.modal__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.5px;
  margin: 0 0 12px;
  line-height: 1.2;
}
.modal__desc { font-size: 13.5px; line-height: 1.65; color: var(--text-muted); }
.modal__body { padding: 28px 30px; }
.modal__label {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-ghost);
  font-weight: 700;
  margin-bottom: 10px;
  font-family: var(--font-display);
}
.modal__pres {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
  gap: 8px;
  margin-bottom: 24px;
}
.pres {
  background: var(--surface-deep);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.pres img {
  width: 40px; height: 40px;
  object-fit: contain;
  margin-bottom: 6px;
}
.pres__label { font-size: 10px; font-weight: 600; color: #d7dadd; line-height: 1.2; }
.modal__ficha {
  width: 100%;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: var(--r-pill);
  padding: 14px 24px;
  font-family: var(--font-display);
  letter-spacing: .5px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: block;
  text-align: center;
  box-shadow: 0 10px 26px rgba(242, 5, 5, .35);
  transition: transform .2s ease;
}
.modal__ficha:hover { transform: translateY(-2px); color: #fff; }

/* ------------------------------------------------------------ 8. Animaciones */
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@keyframes navPanelIn {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes navItemIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

.is-revealable {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.is-revealed { opacity: 1; transform: translateY(0); }

/* ------------------------------------------------------------ 9. Responsive */
@media (max-width: 1150px) {
  .nav__links { gap: 14px; }
  .nav__link { font-size: 12px; letter-spacing: .4px; }
}

@media (max-width: 1100px) {
  .nav__tag { display: none; }
}

@media (max-width: 900px) {
  :root { --gutter: 20px; }

  .nav__links { display: none; }
  .nav__burger { display: inline-flex; }
  /* Literal, no var(): la transición de padding no reevalúa la variable */
  .nav__shell { flex-wrap: wrap; padding: 12px 20px; }
  .nav.is-compact .nav__shell { padding: 8px 20px; }

  .hero { padding-left: 20px; padding-right: 20px; }

  .why__grid,
  .popular__grid,
  .catalog__grid { grid-template-columns: repeat(2, 1fr); }

  .form__grid { grid-template-columns: 1fr; }

  .site-footer__grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .site-footer__mark { justify-content: center; }

  .section-title,
  .about__title,
  .catalog__title { font-size: 29px; }

  .catalog-cta__inner { padding: 40px 32px; }
  .form { padding: 32px 24px; }
}

@media (max-width: 560px) {
  .why__grid,
  .popular__grid,
  .catalog__grid { grid-template-columns: 1fr; }

  .section-title,
  .about__title,
  .catalog__title { font-size: 25px; }

  /* La cabecera del modal se apila para no desbordar en pantallas pequeñas */
  .modal { padding: 12px; }
  .modal__head { grid-template-columns: 1fr; gap: 18px; padding: 24px 20px; }
  .modal__media img { height: 180px; }
  .modal__body { padding: 22px 20px; }

  .catalog__search { width: 100%; }
  .perks { gap: 12px; }
}

/* ------------------------------------- 10. Preferencia de menos movimiento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .is-revealable { opacity: 1; transform: none; }
}
