/* ============================================================
   Maqservice C&C SpA · Estilos
   1. Tokens y base        6. Inicio (secciones)
   2. Utilidades           7. Catálogo
   3. Botones y chips      8. Ficha de producto
   4. Cabecera y menú      9. Mi cotización (panel, barra, avisos)
   5. Tarjetas de producto 10. Pie · 11. Movimiento reducido
   ============================================================ */

/* ---------- 1. Tokens y base ---------- */
:root {
  color-scheme: dark;
  --bg: #05080f;
  --bg-2: #080c18;
  --surface: #10152a;
  --surface-2: #151b35;
  --surface-3: #1a2140;
  --line: rgba(128, 142, 200, 0.16);
  --line-2: rgba(128, 142, 200, 0.26);
  --text: #f3f5fb;
  --muted: #a2aac4;
  --muted-2: #717a98;
  --lime: #9fe22e;
  --lime-2: #b6f04e;
  --lime-ink: #0b1103;
  --lime-soft: rgba(159, 226, 46, 0.12);
  --navy: #1c2a6e;
  --danger: #ff7a7a;
  --wa: #25d366;

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-accent: "Instrument Serif", Georgia, serif;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --pill: 999px;
  --container: 1270px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --stripes: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.028) 0 14px,
    transparent 14px 34px
  );
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 36px);
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  @view-transition {
    navigation: auto;
  }
}
html.sin-scroll {
  overflow: hidden;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html.con-barra body {
  padding-bottom: 92px;
}
@media (min-width: 900px) {
  html.con-barra body {
    padding-bottom: 0;
  }
}
img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
::selection {
  background: var(--lime);
  color: var(--lime-ink);
}
:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 6px;
}
.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

/* ---------- 2. Utilidades ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: var(--pill);
  background: var(--lime);
  color: var(--lime-ink);
  font-weight: 700;
  transition: top 0.2s;
}
.skip:focus {
  top: 16px;
}
.section {
  padding-block: clamp(72px, 10vw, 130px);
}
.section--tight {
  padding-block: clamp(56px, 7vw, 90px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
}
.eyebrow-sm {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
}
.title {
  font-size: clamp(34px, 4.4vw, 56px);
}
.title--md {
  font-size: clamp(30px, 3.4vw, 44px);
}
.accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  color: var(--lime);
  letter-spacing: -0.01em;
  font-size: 1.06em;
  padding-right: 0.04em;
}
.lead {
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 18px);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.section-head__aside {
  color: var(--muted);
  max-width: 360px;
  text-align: right;
  font-size: 15px;
}
.is-pendiente {
  cursor: default;
}
.solo-movil {
  display: none;
}
@media (max-width: 640px) {
  .solo-desktop {
    display: none;
  }
  .solo-movil {
    display: inline;
  }
}

/* Marcador con rayas (fotos que aún no existen) */
.ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  background: var(--stripes), linear-gradient(160deg, #161c3a, #0f1430);
  color: rgba(162, 170, 196, 0.8);
  font-size: 13px;
  text-align: center;
}
.ph__icon {
  width: 42px;
  height: 42px;
  color: rgba(159, 226, 46, 0.35);
  stroke-width: 1.4;
}

/* Animación de entrada */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 3. Botones y chips ---------- */
.btn {
  --h: 50px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--h);
  padding: 0 26px;
  border-radius: var(--pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1.1;
  white-space: nowrap;
  border: 1px solid transparent;
  transition:
    background-color 0.25s,
    color 0.25s,
    border-color 0.25s,
    transform 0.25s var(--ease),
    box-shadow 0.3s;
  isolation: isolate;
}
.btn .icon {
  width: 1em;
  height: 1em;
  transition: transform 0.3s var(--ease);
}
.btn:hover .icon:last-child {
  transform: translate(2px, -2px);
}
.btn:active {
  transform: scale(0.97);
}
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}
.btn--sm {
  --h: 42px;
  padding: 0 18px;
  font-size: 14.5px;
}
.btn--lg {
  --h: 56px;
  font-size: 16.5px;
}
.btn--block {
  width: 100%;
}
.btn--lime {
  background: var(--lime);
  color: var(--lime-ink);
}
.btn--lime:hover:not(:disabled) {
  background: var(--lime-2);
  box-shadow: 0 10px 30px -10px rgba(159, 226, 46, 0.65);
}
.btn--ghost {
  border-color: var(--line-2);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: rgba(159, 226, 46, 0.55);
  background: rgba(159, 226, 46, 0.06);
}
.btn--light {
  background: #f3f5fb;
  color: #0b0f1e;
}
.btn--light:hover {
  background: #fff;
  box-shadow: 0 10px 30px -12px rgba(255, 255, 255, 0.45);
}
.btn--dark {
  background: #07130b;
  color: #fff;
}
.btn--dark:hover {
  background: #000;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: var(--pill);
  border: 1px solid var(--line-2);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}
.chip--lime {
  border-color: rgba(159, 226, 46, 0.5);
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.chip--dark {
  background: rgba(5, 8, 15, 0.72);
  border-color: var(--line);
  backdrop-filter: blur(6px);
  min-height: 30px;
  font-size: 12.5px;
}
.chip--label {
  font-family: var(--font-display);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  transition:
    background-color 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.icon-btn:hover {
  background: var(--surface-2);
  border-color: rgba(159, 226, 46, 0.45);
}
.icon-btn .icon {
  width: 20px;
  height: 20px;
}

/* Flecha en círculo */
.circle-arrow {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  transition:
    background-color 0.3s,
    color 0.3s,
    border-color 0.3s,
    transform 0.4s var(--ease);
}
.circle-arrow .icon {
  width: 18px;
  height: 18px;
}

/* ---------- 4. Cabecera y menú ---------- */
.site-header {
  position: fixed;
  inset: 16px 0 auto;
  z-index: 50;
  padding-inline: clamp(12px, 2.3vw, 32px);
  transition:
    transform 0.45s var(--ease),
    inset 0.3s;
  pointer-events: none;
}
.site-header.is-hidden {
  transform: translateY(-130%);
}
.site-header__bar {
  pointer-events: auto;
  max-width: 1340px;
  margin-inline: auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 16px;
  padding: 0 12px 0 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(9, 12, 24, 0.66);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition:
    background-color 0.3s,
    box-shadow 0.3s,
    border-color 0.3s;
}
.site-header.is-scrolled .site-header__bar,
.site-header.menu-abierto .site-header__bar {
  background: rgba(9, 12, 24, 0.9);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.8);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.brand img {
  width: 42px;
  height: auto;
  transition: transform 0.6s var(--ease);
}
.brand:hover img {
  transform: rotate(-8deg) scale(1.04);
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__text strong {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand__text small {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--lime);
  margin-top: 4px;
}
.nav {
  margin-inline: auto;
}
.nav ul {
  display: flex;
  gap: 4px;
}
.nav a {
  position: relative;
  display: block;
  padding: 9px 16px;
  border-radius: var(--pill);
  font-size: 15px;
  font-weight: 600;
  color: rgba(243, 245, 251, 0.82);
  transition:
    color 0.2s,
    background-color 0.25s;
}
.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.nav a[aria-current="page"],
.nav a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.nav + .header-actions {
  margin-left: 0;
}
.cot-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 14px 0 16px;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  transition:
    border-color 0.25s,
    background-color 0.25s;
}
.cot-btn:hover {
  border-color: rgba(159, 226, 46, 0.5);
  background: rgba(159, 226, 46, 0.05);
}
.cot-btn .icon {
  width: 19px;
  height: 19px;
}
.badge {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: var(--pill);
  background: var(--lime);
  color: var(--lime-ink);
  font-size: 12.5px;
  font-weight: 800;
}
.is-bump .badge,
.is-bump.cot-bar__info {
  animation: bump 0.5s var(--ease);
}
@keyframes bump {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.35);
  }
  100% {
    transform: scale(1);
  }
}
.header-cta {
  height: 50px;
  border-radius: 16px;
}
.menu-btn {
  display: none;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  position: relative;
}
.menu-btn span {
  position: absolute;
  left: 15px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition:
    transform 0.35s var(--ease),
    width 0.35s var(--ease),
    top 0.35s var(--ease);
}
.menu-btn span:first-child {
  top: 20px;
  width: 20px;
}
.menu-btn span:last-child {
  top: 28px;
  width: 13px;
}
.menu-abierto .menu-btn span:first-child {
  top: 24px;
  width: 20px;
  transform: rotate(45deg);
}
.menu-abierto .menu-btn span:last-child {
  top: 24px;
  width: 20px;
  transform: rotate(-45deg);
}
.mobile-menu {
  pointer-events: auto;
  position: fixed;
  inset: 0;
  z-index: -1;
  padding: calc(var(--header-h) + clamp(16px, 4svh, 44px)) var(--gutter) clamp(20px, 4svh, 32px);
  background: rgba(5, 8, 15, 0.97);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.mobile-menu.is-open {
  opacity: 1;
}
/* Los enlaces ocupan el espacio libre y quedan centrados en ambos ejes;
   si no caben (pantallas bajas), crecen y el menú se desplaza. */
.mobile-menu nav {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mobile-menu ul {
  display: grid;
  gap: 2px;
}
.mobile-menu li {
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.45s var(--ease),
    transform 0.45s var(--ease);
  transition-delay: calc(var(--i, 0) * 45ms + 60ms);
}
.mobile-menu.is-open li {
  opacity: 1;
  transform: none;
}
.mobile-menu nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  /* Tamaño según el alto: los 7 enlaces y el pie caben sin desplazarse */
  padding: clamp(7px, 1.5svh, 16px) 2px;
  font-family: var(--font-display);
  font-size: clamp(18px, 3.3svh, 28px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.mobile-menu nav a .icon {
  width: 22px;
  height: 22px;
  color: var(--lime);
}
.mobile-menu__foot {
  margin-top: auto;
  padding-top: 28px;
  display: grid;
  gap: 10px;
}
.mobile-menu__foot p {
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

/* Menú de 7 elementos: se compacta antes de pasar al botón de menú */
@media (max-width: 1240px) {
  .nav a {
    padding: 9px 11px;
    font-size: 14.5px;
  }
  .header-cta {
    display: none;
  }
}
@media (max-width: 1024px) {
  .nav ul {
    gap: 0;
  }
  .nav a {
    padding-inline: 9px;
  }
  .cot-btn__label {
    display: none;
  }
}
@media (max-width: 899px) {
  :root {
    --header-h: 64px;
  }
  .site-header {
    inset: 10px 0 auto;
  }
  .site-header__bar {
    padding: 0 8px 0 14px;
    border-radius: 20px;
  }
  .nav {
    display: none;
  }
  .menu-btn {
    display: block;
  }
  .cot-btn {
    height: 48px;
    padding: 0 12px;
    border-radius: 14px;
  }
  .cot-btn__label {
    display: none;
  }
  .menu-btn {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }
  .menu-btn span {
    left: 14px;
  }
  .menu-btn span:first-child {
    top: 19px;
  }
  .menu-btn span:last-child {
    top: 27px;
  }
  .menu-abierto .menu-btn span:first-child,
  .menu-abierto .menu-btn span:last-child {
    top: 23px;
  }
  .brand img {
    width: 38px;
  }
  .brand__text strong {
    font-size: 17px;
  }
}

/* ---------- 5. Tarjetas de producto ---------- */
.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 8px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  transition:
    transform 0.45s var(--ease),
    border-color 0.3s,
    box-shadow 0.45s var(--ease);
}
.pcard:hover {
  transform: translateY(-4px);
  border-color: rgba(159, 226, 46, 0.3);
  box-shadow:
    0 24px 50px -28px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(159, 226, 46, 0.05);
}
.pcard__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-2);
}
.pcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.pcard:hover .pcard__media img,
.pcard:hover .ph__icon {
  transform: scale(1.06);
}
.ph__icon {
  transition:
    transform 0.8s var(--ease),
    color 0.3s;
}
.pcard:hover .ph__icon {
  color: rgba(159, 226, 46, 0.6);
}
.pcard__brand {
  position: absolute;
  top: 12px;
  left: 12px;
}
.pcard__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 12px 12px;
  flex: 1;
}
.pcard__title {
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.pcard__title a {
  transition: color 0.2s;
}
.pcard__title a:hover {
  color: var(--lime);
}
.pcard__title a::after {
  /* Toda la zona superior de la tarjeta lleva a la ficha */
  content: "";
  position: absolute;
  inset: 0 0 76px;
  border-radius: var(--radius-lg);
}
.pcard__desc {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
}
.pcard__doc {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 700;
  width: fit-content;
  transition: color 0.2s;
}
.pcard__doc .icon {
  color: var(--lime);
  width: 16px;
  height: 16px;
}
.pcard__doc:hover {
  color: var(--lime);
}
.pcard__actions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}
.pcard--featured .pcard__actions {
  grid-template-columns: 1fr 1.25fr;
}
.pcard__actions .btn {
  padding-inline: 16px;
}

/* Estado «En tu lista» */
.btn-cotizar__in {
  display: none;
  align-items: center;
  gap: 6px;
}
.btn-cotizar__in .icon {
  width: 16px;
  height: 16px;
}
.btn-cotizar.is-in {
  background: rgba(159, 226, 46, 0.08);
  border-color: rgba(159, 226, 46, 0.7);
  color: var(--lime);
}
.btn-cotizar.is-in:hover {
  background: rgba(159, 226, 46, 0.14);
  box-shadow: none;
}
.btn-cotizar.is-in .btn-cotizar__add {
  display: none;
}
.btn-cotizar.is-in .btn-cotizar__in {
  display: inline-flex;
  animation: pop 0.4s var(--ease);
}
@keyframes pop {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.btn-cotizar.is-in .btn-cotizar__in .icon {
  transform: none !important;
}

.pcard--mini {
  padding: 8px 8px 16px;
}
.pcard--mini .pcard__link {
  display: grid;
  gap: 8px;
}
.pcard--mini .pcard__media {
  aspect-ratio: 16 / 10;
  margin-bottom: 8px;
}
.pcard--mini .eyebrow-sm,
.pcard--mini .pcard__title {
  padding-inline: 8px;
}
.pcard--mini .pcard__title {
  font-size: 17px;
}

.grid-products {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}

/* ---------- 6. Inicio ---------- */
/* Hero */
.hero {
  position: relative;
  min-height: min(100svh, 980px);
  display: flex;
  align-items: center;
  padding-block: calc(var(--header-h) + 96px) 64px;
  overflow: hidden;
  isolation: isolate;
  background: var(--stripes), var(--bg);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 8, 15, 0.94) 0%,
      rgba(5, 8, 15, 0.72) 50%,
      rgba(5, 8, 15, 0.35) 100%
    ),
    linear-gradient(0deg, var(--bg) 0%, transparent 30%);
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 60vw;
  height: 60vw;
  left: -20vw;
  bottom: -35vw;
  background: radial-gradient(
    closest-side,
    rgba(159, 226, 46, 0.09),
    transparent
  );
  pointer-events: none;
}
.hero__gear {
  position: absolute;
  z-index: -1;
  right: max(-120px, -8vw);
  top: 50%;
  width: min(760px, 62vw);
  aspect-ratio: 1;
  transform: translateY(-52%) rotate(var(--rot, 0deg));
  color: rgba(159, 226, 46, 0.15);
  pointer-events: none;
}
.hero__gear path,
.hero__gear circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.5;
}
.js .hero__gear path,
.js .hero__gear circle {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 2.6s var(--ease-in-out) 0.3s forwards;
}
.js .hero__gear circle {
  animation-delay: 1.1s;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
.hero__content {
  position: relative;
  max-width: 900px;
}
.hero__kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 0;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 22px;
}
.hero__kicker .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(159, 226, 46, 0.6);
  animation: ping 2.4s infinite;
  margin-right: 14px;
}
.hero__kicker .solo-desktop {
  margin-left: 0.45em;
}
@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(159, 226, 46, 0.55);
  }
  70%,
  100% {
    box-shadow: 0 0 0 10px rgba(159, 226, 46, 0);
  }
}
.hero__title {
  font-size: clamp(40px, 5.9vw, 86px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 26px;
}
.hero__title .accent {
  font-size: 1.04em;
}
/* Palabras que suben al cargar (las arma home.js) */
.hero__title .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0 0.05em 0.12em 0;
  margin-bottom: -0.12em;
}
.hero__title .w > span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1s var(--ease) forwards;
  animation-delay: calc(var(--i) * 55ms + 120ms);
}
@keyframes rise {
  to {
    transform: none;
  }
}
.hero__lead {
  max-width: 580px;
  margin-bottom: 34px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}
.hero__cta .btn {
  --h: 56px;
  padding-inline: 28px;
  font-size: 16px;
}
.js .hero__fade {
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.9s var(--ease) forwards;
  animation-delay: var(--d, 0.6s);
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: none;
  }
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
}
.stat {
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(16, 21, 42, 0.78);
  backdrop-filter: blur(6px);
}
.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  color: var(--muted);
  font-size: 14px;
}
.hero__tag {
  position: absolute;
  right: var(--gutter);
  bottom: 118px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px dashed var(--line-2);
  border-radius: var(--pill);
  font-size: 13px;
  color: var(--muted);
}
.hero__tag .icon {
  width: 15px;
}
.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: 44px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-cue::after {
  content: "";
  width: 2px;
  height: 40px;
  background: linear-gradient(var(--lime), transparent);
  background-size: 100% 200%;
  animation: scrollcue 2s var(--ease-in-out) infinite;
}
@keyframes scrollcue {
  0% {
    background-position: 0 100%;
  }
  50% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 -100%;
  }
}

/* Cinta de categorías (celular) */
.marquee {
  display: none;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  padding-block: 14px;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 46s linear infinite; /* textos más largos: misma velocidad que antes */
}
.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding-right: 22px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}
.marquee__track span::after {
  content: "✦";
  color: var(--lime);
  font-size: 16px;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Puntos de navegación lateral */
.section-dots {
  position: fixed;
  right: 26px;
  top: 50%;
  z-index: 40;
  transform: translateY(-50%);
  display: none;
  flex-direction: column;
  gap: 12px;
}
.section-dots a {
  position: relative;
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(162, 170, 196, 0.45);
  transition:
    background-color 0.3s,
    border-color 0.3s,
    transform 0.3s var(--ease);
}
.section-dots a:hover {
  border-color: var(--lime);
  transform: scale(1.15);
}
.section-dots a.is-active {
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: 0 0 12px rgba(159, 226, 46, 0.6);
}
.section-dots a span {
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translate(6px, -50%);
  padding: 5px 11px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.3s var(--ease);
}
.section-dots a:hover span,
.section-dots a:focus-visible span {
  opacity: 1;
  transform: translate(0, -50%);
}
@media (min-width: 1440px) {
  .section-dots {
    display: flex;
  }
}

/* Banners publicitarios */
.banner {
  position: relative;
  background: var(--stripes), #0e1330;
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.banner__link {
  display: block;
  position: relative;
  aspect-ratio: 3 / 1;
  max-height: 640px;
  width: 100%;
}
.banner picture,
.banner img {
  width: 100%;
  height: 100%;
}
.banner img {
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
a.banner__link:hover img {
  transform: scale(1.02);
}
.banner__tag {
  position: absolute;
  top: 26px;
  left: clamp(16px, 2.3vw, 32px);
  z-index: 1;
  background: rgba(5, 8, 15, 0.7);
}
.banner__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
}
.banner__ph .icon {
  width: 40px;
  height: 40px;
  color: var(--muted);
  stroke-width: 1.5;
  margin-bottom: 6px;
}
.banner__ph strong {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 28px);
  color: #d5daea;
}
.banner__ph span {
  color: var(--muted);
  font-size: 14px;
}
.banner__caption {
  display: none;
}
/* Ver el banner a pantalla completa (solo celular, donde se ve pequeño) */
.banner__ampliar {
  display: none;
}
.visor {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #000;
  color: #fff;
  overflow: hidden;
}
/* El fondo negro lo pone el propio visor (se anima al entrar y salir) */
.visor::backdrop {
  background: transparent;
}
.visor.is-preparando .visor__img {
  opacity: 0;
}
.visor__img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  object-fit: contain;
  transform: translate(-50%, -50%);
}
.visor__cerrar {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(20, 22, 30, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}
.visor__cerrar .icon {
  width: 22px;
  height: 22px;
}
.visor__pista {
  display: none;
}
/* Con el teléfono vertical la imagen se muestra girada para ocupar toda
   la pantalla; al girar el teléfono (o si el navegador fija la pantalla en
   horizontal) se ve derecha. */
@media (orientation: portrait) {
  .visor__img {
    width: 100vh;
    width: 100dvh;
    height: 100vw;
    transform: translate(-50%, -50%) rotate(90deg);
  }
  .visor__pista {
    position: absolute;
    left: 50%;
    bottom: max(18px, env(safe-area-inset-bottom));
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: var(--pill);
    background: rgba(20, 22, 30, 0.72);
    font-size: 13.5px;
    white-space: nowrap;
    transform: translateX(-50%);
    /* Se lee y desaparece para no tapar el banner */
    animation: visor-pista 4s ease forwards;
    pointer-events: none;
  }
  .visor__pista .icon {
    width: 18px;
    height: 18px;
  }
}
@keyframes visor-pista {
  0%,
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Categorías (bento) */
.bento {
  display: grid;
  gap: 16px;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(210px, auto));
}
.cat {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.5s var(--ease),
    border-color 0.3s,
    box-shadow 0.5s var(--ease);
}
.cat:hover {
  transform: translateY(-4px);
  border-color: rgba(159, 226, 46, 0.35);
  box-shadow: 0 30px 60px -35px rgba(0, 0, 0, 0.9);
}
.cat__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.cat__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--lime-soft);
  color: var(--lime);
  transition: transform 0.5s var(--ease);
}
.cat:hover .cat__icon {
  transform: rotate(-10deg) scale(1.06);
}
.cat__icon .icon {
  width: 22px;
  height: 22px;
}
.cat__arrow,
.cat__go {
  margin-left: auto;
}
.cat__arrow {
  color: var(--muted-2);
  transition:
    color 0.3s,
    transform 0.4s var(--ease);
}
.cat:hover .cat__arrow {
  color: var(--lime);
  transform: translate(3px, -3px);
}
.cat__count {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 6px;
}
.cat__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  font-size: 23px;
  letter-spacing: -0.015em;
}
.cat--big {
  grid-row: span 2;
  min-height: 460px;
  padding: 32px;
}
.cat--big .cat__count {
  color: var(--lime);
}
.cat--big .cat__name {
  font-size: clamp(28px, 3vw, 40px);
}
.cat--wide {
  grid-column: span 2;
}
.cat__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--stripes), linear-gradient(160deg, #141a36, #0f1430);
  transition: transform 1s var(--ease);
}
.cat__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(10, 13, 28, 0.92) 0%,
    rgba(10, 13, 28, 0.2) 60%,
    rgba(10, 13, 28, 0.35) 100%
  );
}
.cat--big:hover .cat__bg {
  transform: scale(1.04);
}
.cat__photo-note {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}
.cat__go {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--lime-ink);
  transition: transform 0.5s var(--ease);
}
.cat--big:hover .cat__go {
  transform: rotate(45deg);
}
.cat__go .icon {
  width: 20px;
  height: 20px;
}

/* Destacados */
.featured {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Servicios */
.services {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.25fr);
  gap: 40px clamp(40px, 6vw, 90px);
  align-items: start;
}
.services__intro {
  position: sticky;
  top: calc(var(--header-h) + 48px);
}
.services__intro p {
  margin-top: 22px;
  max-width: 400px;
}
.service {
  border-top: 1px solid var(--line);
}
.service:last-child {
  border-bottom: 1px solid var(--line);
}
.service a {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 30px 4px;
  transition:
    padding 0.45s var(--ease),
    background-color 0.3s;
}
.service__text {
  flex: 1;
}
.service h3 {
  font-size: clamp(24px, 2.2vw, 30px);
  margin-bottom: 6px;
  transition: color 0.3s;
}
.service p {
  color: var(--muted);
}
.service a:hover,
.service a:focus-visible {
  padding-left: 18px;
}
.service a:hover h3 {
  color: var(--lime);
}
.service a:hover .circle-arrow,
.service a:focus-visible .circle-arrow {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--lime-ink);
  transform: rotate(45deg);
}

/* Cómo cotizar */
.steps-head {
  text-align: center;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: paso;
}
.step {
  position: relative;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  transition:
    transform 0.5s var(--ease),
    border-color 0.3s;
}
.step:hover {
  transform: translateY(-4px);
  border-color: rgba(159, 226, 46, 0.3);
}
.step__num {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--lime);
  margin-bottom: 26px;
}
.step h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.step p {
  color: var(--muted);
  font-size: 15px;
}
.step--hot {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--lime-ink);
}
.step--hot .step__num {
  background: #05080f;
  border-color: #05080f;
  color: var(--lime);
}
.step--hot p {
  color: rgba(11, 17, 3, 0.78);
}
.step--hot:hover {
  border-color: var(--lime);
  box-shadow: 0 24px 60px -30px rgba(159, 226, 46, 0.7);
}
.steps-compact {
  display: none;
}

/* Marcas */
.brands {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.brand-cell {
  display: grid;
  place-items: center;
  min-height: 118px;
  padding: 20px;
  border-left: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  transition:
    background-color 0.3s,
    color 0.3s;
}
.brand-cell:first-child {
  border-left: 0;
}
.brand-cell__link {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}
.brand-cell img {
  max-height: 46px;
  width: auto;
  opacity: 0.7;
  filter: grayscale(1);
  transition:
    opacity 0.3s,
    filter 0.3s;
}
.brand-cell:hover {
  background: var(--surface);
  color: var(--text);
}
.brand-cell:hover img {
  opacity: 1;
  filter: none;
}

/* Empresa */
.about {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px clamp(32px, 6vw, 90px);
  align-items: center;
  padding: clamp(32px, 5vw, 56px);
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
.about h2 {
  font-size: clamp(30px, 3.6vw, 48px);
  margin-bottom: 30px;
}
.about__text {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 22px;
}
.about__more {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}
.about__more > div {
  overflow: hidden;
}
.about__more.is-open {
  grid-template-rows: 1fr;
}
.about__more p {
  color: var(--muted);
  padding-bottom: 20px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.about__gears {
  position: absolute;
  right: -40px;
  bottom: -70px;
  width: 300px;
  z-index: -1;
  opacity: 0.1;
  transform: rotate(var(--rot, 0deg));
}

/* Testimonios: dos filas en movimiento continuo (static/js/home.js).
   Medidas y velocidad tomadas del video de referencia (COMENTARIOS.mp4). */
.tmarquee {
  --card-w: 384px;
  --card-h: 176px;
  --gap: 24px;
  --fade: clamp(48px, 10vw, 160px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gap);
}
/* Desvanecido oscuro en los extremos */
.tmarquee::before,
.tmarquee::after {
  content: "";
  position: absolute;
  top: -12px;
  bottom: -12px;
  z-index: 3;
  width: var(--fade);
  pointer-events: none;
}
.tmarquee::before {
  left: 0;
  background: linear-gradient(to right, var(--bg) 8%, rgba(5, 8, 15, 0));
}
.tmarquee::after {
  right: 0;
  background: linear-gradient(to left, var(--bg) 8%, rgba(5, 8, 15, 0));
}
/* Sin animación (sin JavaScript o con movimiento reducido): se recorre a mano */
.tmarquee__fila {
  /* Sin esto, la fila del grid crece al ancho de todas sus tarjetas */
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.tmarquee__fila::-webkit-scrollbar {
  display: none;
}
.tmarquee__pista {
  display: flex;
  align-items: stretch;
  gap: var(--gap);
  width: max-content;
  margin: 0;
  padding: 0 var(--fade);
  list-style: none;
}
.tcard {
  position: relative;
  flex: none;
  width: var(--card-w);
  min-height: var(--card-h);
  scroll-snap-align: center;
  border-radius: 16px;
  outline: none;
}
.tcard__cuerpo {
  position: relative;
  margin: 0;
  height: 100%;
  min-height: var(--card-h);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(180deg, #16181f 0%, #111318 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
  transition:
    border-color 0.3s,
    box-shadow 0.35s var(--ease),
    background-color 0.3s;
}
.tcard__autor {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.tcard__nombre {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tcard__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 14.5px;
  line-height: 1.35;
}
.tcard__empresa {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tcard__meta .stars {
  display: inline-flex;
  flex: none;
  gap: 1px;
  color: var(--lime);
}
.tcard__meta .stars .icon {
  width: 11px;
  height: 11px;
}
.tcard__texto {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: 1.55;
}
.tcard__texto p {
  margin: 0;
  overflow-wrap: anywhere;
}

/* Animado: filas recortadas en horizontal, tarjetas de alto fijo y el
   comentario en 2 líneas; al pasar el cursor (o tocar) se despliega
   completo encima, sin mover el resto de la página. */
.tmarquee.is-animado .tmarquee__fila {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  scroll-snap-type: none;
}
.tmarquee.is-animado .tmarquee__pista {
  padding: 0;
  animation: tmarquee var(--dur, 40s) linear infinite;
  animation-delay: var(--retraso, 0s);
  will-change: transform;
}
.tmarquee.is-animado .tmarquee__fila[data-sentido="derecha"] .tmarquee__pista {
  animation-direction: reverse;
}
@keyframes tmarquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-1 * var(--loop, 0px)), 0, 0);
  }
}
.tmarquee.is-animado .tmarquee__fila:hover .tmarquee__pista,
.tmarquee.is-animado .tmarquee__fila:focus-within .tmarquee__pista,
.tmarquee.is-fuera .tmarquee__pista {
  animation-play-state: paused;
}
.tmarquee.is-animado .tcard {
  height: var(--card-h);
}
.tmarquee.is-animado .tcard__cuerpo {
  position: absolute;
  inset: 0 0 auto;
  height: auto;
}
.tmarquee.is-animado .tcard__texto p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.tmarquee.is-animado .tcard:hover,
.tmarquee.is-animado .tcard:focus-within,
.tmarquee.is-animado .tcard:focus {
  z-index: 2;
}
/* Cada fila en movimiento es su propia capa: la fila con la tarjeta abierta
   sube para que el comentario desplegado quede sobre la otra fila (y bajo
   el desvanecido de los extremos). */
.tmarquee.is-animado .tmarquee__fila:hover,
.tmarquee.is-animado .tmarquee__fila:focus-within {
  z-index: 2;
}
.tmarquee.is-animado .tcard:hover .tcard__cuerpo,
.tmarquee.is-animado .tcard:focus .tcard__cuerpo {
  background: linear-gradient(180deg, #1b1e27 0%, #14171e 100%);
  border-color: rgba(159, 226, 46, 0.35);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.9);
}
.tmarquee.is-animado .tcard:hover .tcard__texto p,
.tmarquee.is-animado .tcard:focus .tcard__texto p {
  -webkit-line-clamp: unset;
  line-clamp: none;
}
.tcard:focus-visible .tcard__cuerpo {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

/* Comentario de un cliente: formulario en <dialog> */
.opinion-vacio {
  max-width: 560px;
  color: var(--muted);
}
.opinion {
  width: min(100% - 32px, 520px);
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  color: var(--text);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9);
  overflow: auto;
  overscroll-behavior: contain;
}
.opinion::backdrop {
  background: rgba(3, 5, 10, 0.72);
  backdrop-filter: blur(4px);
}
@media (prefers-reduced-motion: no-preference) {
  .opinion[open] {
    animation: opinion-entra 0.35s var(--ease);
  }
}
@keyframes opinion-entra {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
}
.opinion__caja {
  padding: 24px 28px 28px;
}
.opinion__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.opinion__head h2 {
  font-size: 22px;
}
.opinion__form {
  display: grid;
  gap: 16px;
}
.field textarea {
  display: block;
  width: 100%;
  min-height: 120px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  color: inherit;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  resize: vertical;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.field textarea:focus {
  outline: none;
  border-color: rgba(159, 226, 46, 0.7);
  box-shadow: 0 0 0 4px rgba(159, 226, 46, 0.12);
}
.field.is-error textarea {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(255, 122, 122, 0.12);
}
.opinion__estrellas {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.opinion__estrellas legend {
  padding: 0;
  margin-bottom: 6px;
  font-size: 13.5px;
  font-weight: 700;
}
/* Estrellas: se pintan hasta la elegida (y hasta la que está bajo el cursor) */
.rating {
  display: flex;
  align-items: center;
  gap: 2px;
}
.rating .rating__estrella {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: rgba(162, 170, 196, 0.32);
  cursor: pointer;
  transition:
    color 0.15s,
    transform 0.2s var(--ease);
}
.rating .rating__estrella .icon {
  width: 30px;
  height: 30px;
}
.rating input:checked + .rating__estrella,
.rating .rating__estrella:has(~ input:checked) {
  color: var(--lime);
}
.rating:has(.rating__estrella:hover) .rating__estrella {
  color: rgba(162, 170, 196, 0.32);
}
.rating:has(.rating__estrella:hover) .rating__estrella:hover,
.rating:has(.rating__estrella:hover) .rating__estrella:has(~ .rating__estrella:hover) {
  color: var(--lime-2);
}
.rating .rating__estrella:hover {
  transform: scale(1.08);
}
.rating input:focus-visible + .rating__estrella {
  outline: 2px solid var(--lime);
  outline-offset: 1px;
}
.opinion__estrellas.is-error .rating .rating__estrella {
  color: rgba(255, 122, 122, 0.45);
}
.rating__texto {
  margin-left: 10px;
  font-size: 14px;
  color: var(--muted);
}
.opinion__ayuda {
  margin-top: 6px;
  text-align: right;
  font-size: 12.5px;
  color: var(--muted-2);
}
.opinion__trampa {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.opinion__nota {
  font-size: 13.5px;
  color: var(--muted);
}
.opinion__error {
  color: var(--danger);
  font-size: 14px;
}
.btn[aria-busy="true"] {
  opacity: 0.7;
  cursor: progress;
}
.opinion__gracias {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 8px 0 4px;
  text-align: center;
}
.opinion__gracias:focus {
  outline: none;
}
.opinion__gracias h3 {
  font-size: 22px;
}
.opinion__gracias p {
  max-width: 380px;
  color: var(--muted);
}
.opinion__check {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--lime-soft);
  color: var(--lime);
}
.opinion__check .icon {
  width: 30px;
  height: 30px;
}
@media (max-width: 640px) {
  .opinion__caja {
    padding: 20px 18px 22px;
  }
  .rating .rating__estrella {
    width: 42px;
  }
}

/* Redes sociales */
.socials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.social {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 460px;
  padding: 28px;
  border-radius: 26px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}
.social:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 70px -40px var(--glow, rgba(0, 0, 0, 0.8));
}
.social--ig {
  background: linear-gradient(
    155deg,
    #8b3cf7 0%,
    #c236a6 45%,
    #e2537a 72%,
    #f5883a 100%
  );
  --glow: rgba(194, 54, 166, 0.8);
}
.social--fb {
  background: linear-gradient(155deg, #1f73e8 0%, #1452c9 100%);
  --glow: rgba(31, 115, 232, 0.8);
}
.social--wa {
  background: linear-gradient(155deg, #2fdc6f 0%, #16ad4d 100%);
  color: #06200f;
  --glow: rgba(37, 211, 102, 0.7);
}
.social__deco {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  border: 36px solid rgba(255, 255, 255, 0.09);
  transition: transform 1s var(--ease);
}
.social--ig .social__deco {
  width: 420px;
  height: 420px;
  right: -150px;
  top: -80px;
}
.social--wa .social__deco {
  width: 340px;
  height: 340px;
  right: -110px;
  bottom: -130px;
}
.social:hover .social__deco {
  transform: scale(1.08) rotate(20deg);
}
.social__fbmark {
  position: absolute;
  z-index: -1;
  right: -30px;
  bottom: -40px;
  width: 190px;
  height: 250px;
  color: rgba(255, 255, 255, 0.08);
  transition: transform 1s var(--ease);
}
.social:hover .social__fbmark {
  transform: translateY(-10px);
}
.social__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 26px;
}
.social__icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.2);
}
.social--wa .social__icon {
  background: rgba(6, 32, 15, 0.12);
}
.social__icon .icon {
  width: 28px;
  height: 28px;
}
.social__tag {
  padding: 7px 14px;
  border-radius: var(--pill);
  background: rgba(0, 0, 0, 0.22);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.social--fb .social__tag {
  background: rgba(8, 30, 90, 0.55);
}
.social--wa .social__tag {
  background: rgba(6, 32, 15, 0.15);
}
.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.ig-grid span {
  aspect-ratio: 1;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}
.ig-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fb-page {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.14);
}
.fb-page img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}
.fb-page strong {
  display: block;
  font-family: var(--font-display);
}
.fb-page span {
  font-size: 13.5px;
  opacity: 0.85;
}
.chat {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.chat p {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
  box-shadow: 0 6px 18px -10px rgba(0, 0, 0, 0.5);
}
.chat__in {
  background: #fff;
  color: #122;
  border-top-left-radius: 4px;
}
.chat__out {
  justify-self: end;
  background: #dcfbc8;
  color: #122;
  border-top-right-radius: 4px;
}
.js .social--wa .chat p {
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}
.js .social--wa.is-visible .chat__in {
  opacity: 1;
  transform: none;
  transition-delay: 0.45s;
}
.js .social--wa.is-visible .chat__out {
  opacity: 1;
  transform: none;
  transition-delay: 1.1s;
}
.social__bottom {
  margin-top: auto;
  padding-top: 28px;
}
.social h3 {
  font-size: 32px;
  margin-bottom: 8px;
}
.social__bottom p {
  opacity: 0.9;
  margin-bottom: 20px;
  max-width: 340px;
}
.social .btn--light {
  color: #3a1b6b;
}
.social--fb .btn--light {
  color: #0f3fa0;
}

/* Contacto */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  isolation: isolate;
}
.contact__info {
  position: relative;
  padding: clamp(28px, 5vw, 56px);
}
.contact__info::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 420px;
  height: 420px;
  left: -160px;
  bottom: -200px;
  background: radial-gradient(
    closest-side,
    rgba(159, 226, 46, 0.1),
    transparent
  );
}
.contact__info .lead {
  margin: 18px 0 30px;
  max-width: 460px;
}
.options {
  display: grid;
  gap: 14px;
}
.option {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 22px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  transition:
    transform 0.4s var(--ease),
    border-color 0.3s,
    box-shadow 0.4s;
}
.option:hover {
  transform: translateY(-3px);
  border-color: rgba(159, 226, 46, 0.4);
}
.option__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  flex: none;
  background: rgba(37, 211, 102, 0.14);
  color: #36df79;
}
.option__icon .icon {
  width: 22px;
  height: 22px;
}
.option__text {
  flex: 1;
  min-width: 0;
}
.option__kicker {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.option strong {
  display: block;
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.2;
  margin: 2px 0 4px;
}
.option__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}
.option > .icon {
  width: 20px;
  height: 20px;
  color: var(--lime);
  transition: transform 0.4s var(--ease);
}
.option:hover > .icon {
  transform: translate(3px, -3px);
}
.option--hot {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--lime-ink);
}
.option--hot:hover {
  border-color: var(--lime);
  box-shadow: 0 20px 50px -26px rgba(159, 226, 46, 0.75);
}
.option--hot .option__icon {
  background: #05080f;
  color: var(--lime);
}
.option--hot .option__kicker,
.option--hot .option__desc {
  color: rgba(11, 17, 3, 0.75);
}
.option--hot > .icon {
  color: var(--lime-ink);
}
/* Cada dato toma el ancho de su texto: correo y horario van lado a lado solo
   si caben enteros; si no, cada uno baja a su propia fila. */
.minis {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}
.mini {
  flex: 1 1 auto;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  min-width: 0;
}
.mini span {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.mini a,
.mini p {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  overflow-wrap: anywhere;
}
.mini a[href]:hover {
  color: var(--lime);
}
.mini--ancho {
  flex-basis: 100%;
}
.mini--ancho p {
  font-family: inherit;
  font-weight: 500;
  color: var(--muted);
}

.map {
  position: relative;
  min-height: 520px;
  border-left: 1px solid var(--line);
  background: #0c1124;
  overflow: hidden;
}
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(0.92) hue-rotate(185deg) saturate(0.55) brightness(0.9);
}
.map__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.map__pin {
  position: absolute;
  left: 50%;
  top: 36%;
  width: 64px;
  transform: translate(-50%, -100%);
  filter: drop-shadow(0 0 24px rgba(159, 226, 46, 0.55));
  animation: pinbob 3s var(--ease-in-out) infinite;
}
.map__pin::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: 80px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(159, 226, 46, 0.4),
    transparent
  );
  animation: pinshadow 3s var(--ease-in-out) infinite;
}
@keyframes pinbob {
  0%,
  100% {
    transform: translate(-50%, -100%);
  }
  50% {
    transform: translate(-50%, calc(-100% - 10px));
  }
}
@keyframes pinshadow {
  0%,
  100% {
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 0.55;
    transform: translateX(-50%) scale(0.8);
  }
}
.map__note {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 6px 13px;
  border-radius: var(--pill);
  border: 1px dashed var(--line-2);
  font-size: 12.5px;
  color: var(--muted);
  background: rgba(5, 8, 15, 0.6);
}
.address {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 20px;
  border: 1px solid var(--line-2);
  background: rgba(8, 11, 22, 0.88);
  backdrop-filter: blur(10px);
}
.address strong {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  margin-top: 4px;
}
.address span:not(.eyebrow-sm) {
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- 7. Catálogo ---------- */
.page-head {
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: 28px;
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}
.crumbs a:hover {
  color: var(--lime);
}
.crumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: var(--muted-2);
}
.crumbs [aria-current] {
  color: var(--text);
  font-weight: 600;
}
.page-title {
  font-size: clamp(40px, 5.6vw, 72px);
  letter-spacing: -0.035em;
}
.filters {
  position: relative;
  display: flex;
  gap: 8px;
  margin: 28px 0 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px;
  -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent);
  mask-image: linear-gradient(90deg, #000 90%, transparent);
}
.filters::-webkit-scrollbar {
  display: none;
}
@media (min-width: 900px) {
  .filters {
    flex-wrap: wrap;
    -webkit-mask-image: none;
    mask-image: none;
  }
}
.filter {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: none;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--pill);
  border: 1px solid var(--line-2);
  font-weight: 600;
  font-size: 15px;
  transition:
    background-color 0.25s,
    color 0.25s,
    border-color 0.25s;
}
.filter:hover {
  border-color: rgba(159, 226, 46, 0.5);
}
.filter[aria-current="true"] {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--lime-ink);
  font-weight: 700;
}
.search {
  position: relative;
  margin-bottom: 28px;
}
.search .icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 19px;
  height: 19px;
  color: var(--muted);
  pointer-events: none;
}
.search input {
  width: 100%;
  height: 56px;
  padding: 0 48px 0 50px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 16px;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.search input::placeholder {
  color: var(--muted-2);
}
.search input:focus {
  outline: none;
  border-color: rgba(159, 226, 46, 0.6);
  box-shadow: 0 0 0 4px rgba(159, 226, 46, 0.12);
}
.search input::-webkit-search-cancel-button {
  display: none;
}
.search__clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--muted);
}
.search__clear:hover {
  color: var(--text);
  background: var(--surface-2);
}
.search__clear .icon {
  position: static;
  transform: none;
  width: 16px;
  height: 16px;
}
.results-info {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 16px;
}
.grid-products .pcard {
  animation: cardIn 0.55s var(--ease) both;
  animation-delay: var(--d, 0ms);
}
@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
}
.empty {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 64px 20px;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--muted);
}
.empty .icon {
  width: 40px;
  height: 40px;
  color: var(--lime);
}
.empty strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 20px;
}
.catalog-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 30px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
.catalog-help h2 {
  font-size: 24px;
  margin-bottom: 4px;
}
.catalog-help p {
  color: var(--muted);
}

/* ---------- 8. Ficha de producto ---------- */
.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px clamp(32px, 4vw, 56px);
  align-items: start;
}
.gallery {
  position: sticky;
  top: calc(var(--header-h) + 36px);
}
.gallery__main {
  position: relative;
  aspect-ratio: 1 / 0.86;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  touch-action: pan-y;
}
.gallery__main .ph::before {
  content: "";
  position: absolute;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(
    closest-side,
    rgba(159, 226, 46, 0.1),
    transparent
  );
}
.gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0b0f1f;
  animation: imgIn 0.5s var(--ease);
}
@keyframes imgIn {
  from {
    opacity: 0;
    transform: scale(1.02);
  }
}
.gallery__count {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-variant-numeric: tabular-nums;
}
.gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  background: rgba(5, 8, 15, 0.7);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery__main:hover .gallery__nav,
.gallery__nav:focus-visible {
  opacity: 1;
}
.gallery__nav--prev {
  left: 14px;
}
.gallery__nav--next {
  right: 14px;
}
.gallery__nav--prev .icon {
  transform: rotate(-135deg);
}
.gallery__nav--next .icon {
  transform: rotate(45deg);
}
.thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.thumb {
  position: relative;
  aspect-ratio: 1.45;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid var(--line);
  background: var(--surface);
  transition:
    border-color 0.25s,
    transform 0.3s var(--ease);
}
.thumb:hover {
  transform: translateY(-2px);
}
.thumb[aria-current="true"] {
  border-color: var(--lime);
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb .ph__icon {
  width: 24px;
  height: 24px;
}
.product__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.product__title {
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: -0.03em;
}
.product__model {
  display: block;
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  color: var(--lime);
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.1;
  margin-top: 4px;
}
.product__desc {
  color: var(--muted);
  font-size: 17px;
  margin: 18px 0 22px;
}
.attrs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.attrs,
.specs,
.attr dd {
  margin: 0;
}
.buybox__status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: -14px 0 22px;
  color: var(--muted);
  font-size: 14px;
}
.buybox__status:empty {
  display: none;
}
.buybox__status > .icon {
  color: var(--lime);
  width: 16px;
  height: 16px;
}
.buybox__status .link-arrow {
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.attr {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.attr span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
}
.attr strong {
  font-family: var(--font-display);
  font-size: 19px;
}
.buybox {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  margin-bottom: 26px;
}
.buybox .btn {
  flex: 1;
}
.buybox .icon-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  flex: none;
}
.docs-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 10px;
}
.docs {
  display: grid;
  gap: 8px;
}
.doc {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition:
    border-color 0.25s,
    transform 0.3s var(--ease);
}
a.doc:hover {
  border-color: rgba(159, 226, 46, 0.4);
  transform: translateX(3px);
}
.doc__badge {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 122, 122, 0.12);
  color: var(--danger);
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 800;
}
.doc__name {
  flex: 1;
  font-weight: 700;
  font-size: 15px;
}
.doc__action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--lime);
  font-size: 14px;
  font-weight: 700;
}
.doc__action .icon {
  width: 15px;
  height: 15px;
}
.doc.is-pendiente .doc__action {
  color: var(--muted-2);
}
.specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-2);
}
.spec {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  transition: background-color 0.2s;
}
.spec:nth-child(-n + 2) {
  border-top: 0;
}
.spec:nth-child(even) {
  border-left: 1px solid var(--line);
}
.spec:hover {
  background: var(--surface);
}
.spec dt {
  color: var(--muted);
}
.spec dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  text-align: right;
}
.related {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lime);
  font-weight: 700;
  font-family: var(--font-display);
}
.link-arrow .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}
.link-arrow:hover .icon {
  transform: translate(2px, -2px);
}
.not-found {
  text-align: center;
  padding: 80px 0 40px;
  display: grid;
  justify-items: center;
  gap: 18px;
}
.not-found p {
  color: var(--muted);
  max-width: 460px;
}

/* ---------- 9. Mi cotización ---------- */
.drawer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  overflow: hidden;
}
.drawer::backdrop {
  background: transparent;
}
.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 12, 0.62);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.35s var(--ease);
}
.drawer__panel {
  position: absolute;
  top: 12px;
  right: 12px;
  bottom: 12px;
  width: min(460px, calc(100% - 24px));
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  background: #0b0f1e;
  box-shadow: -30px 0 80px -20px rgba(0, 0, 0, 0.7);
  animation: slideIn 0.5s var(--ease);
  overflow: hidden;
}
.drawer.is-closing .drawer__backdrop {
  animation: fadeOut 0.28s ease forwards;
}
.drawer.is-closing .drawer__panel {
  animation: slideOut 0.28s var(--ease-in-out) forwards;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
}
@keyframes fadeOut {
  to {
    opacity: 0;
  }
}
@keyframes slideIn {
  from {
    transform: translateX(calc(100% + 24px));
  }
}
@keyframes slideOut {
  to {
    transform: translateX(calc(100% + 24px));
  }
}
.drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 22px 18px;
  border-bottom: 1px solid var(--line);
}
.drawer__title {
  font-size: 26px;
  margin-top: 6px;
}
.drawer__body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px 22px;
  display: grid;
  align-content: start;
  gap: 18px;
}
.drawer__foot {
  padding: 16px 22px 18px;
  border-top: 1px solid var(--line);
  background: #0b0f1e;
}
.drawer__note {
  margin-top: 10px;
  text-align: center;
  color: var(--muted-2);
  font-size: 13px;
}
.cot-items {
  display: grid;
  gap: 8px;
}
.cot-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition:
    height 0.26s var(--ease),
    opacity 0.2s,
    padding 0.26s var(--ease),
    margin 0.26s;
}
.cot-item.is-new {
  animation: itemIn 0.5s var(--ease);
}
@keyframes itemIn {
  from {
    opacity: 0;
    transform: translateX(24px);
    background: rgba(159, 226, 46, 0.14);
  }
}
.cot-item.is-leaving {
  opacity: 0;
  padding-block: 0;
  margin-block: -4px;
}
.cot-item__img {
  position: relative;
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
}
.cot-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cot-item__img .ph__icon {
  width: 22px;
  height: 22px;
}
.cot-item__info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.3;
}
.cot-item__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  overflow-wrap: anywhere;
}
.cot-item__name:hover {
  color: var(--lime);
}
.cot-item__brand {
  font-size: 12.5px;
  color: var(--muted-2);
}
.cot-item__remove {
  margin-top: 3px;
  font-size: 13px;
  font-weight: 700;
  color: var(--danger);
  border-radius: 4px;
}
.cot-item__remove:hover {
  text-decoration: underline;
}
/* «Vaciar lista», sobre los productos */
.cot-acciones {
  display: flex;
  justify-content: flex-end;
  margin-bottom: -4px;
}
.cot-vaciar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: var(--pill);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  transition:
    color 0.2s,
    background-color 0.2s;
}
.cot-vaciar .icon {
  width: 16px;
  height: 16px;
}
.cot-vaciar:hover {
  color: var(--danger);
  background: rgba(255, 122, 122, 0.08);
}
.cot-vacio {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 48px 12px;
  text-align: center;
  color: var(--muted);
}
.cot-vacio strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 18px;
}
.cot-vacio__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: var(--lime-soft);
  color: var(--lime);
}
.cot-vacio__icon .icon {
  width: 30px;
  height: 30px;
}
.cot-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 6px;
}
.opcional {
  font-weight: 500;
  color: var(--muted-2);
}
.field input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  font-size: 16px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.field input:focus {
  outline: none;
  border-color: rgba(159, 226, 46, 0.7);
  box-shadow: 0 0 0 4px rgba(159, 226, 46, 0.12);
}
.field.is-error input {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(255, 122, 122, 0.12);
  animation: shake 0.4s;
}
.field__error {
  color: var(--danger);
  font-size: 13px;
  margin-top: 6px;
  line-height: 1.35;
}
@keyframes shake {
  25% {
    transform: translateX(-4px);
  }
  50% {
    transform: translateX(4px);
  }
  75% {
    transform: translateX(-2px);
  }
}
.wa-preview {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(37, 211, 102, 0.22);
  background: linear-gradient(160deg, #0d1f17, #0a1712);
}
.wa-preview .eyebrow-sm {
  color: #5fe38f;
  margin-bottom: 12px;
}
.wa-bubble {
  position: relative;
  margin-left: auto;
  width: fit-content;
  max-width: 92%;
  padding: 10px 14px;
  border-radius: 14px 4px 14px 14px;
  background: #1c5c35;
  color: #eafff1;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  box-shadow: 0 8px 20px -12px rgba(0, 0, 0, 0.6);
}
.wa-bubble::after {
  content: "";
  position: absolute;
  top: 0;
  right: -7px;
  border-left: 8px solid #1c5c35;
  border-bottom: 10px solid transparent;
}

/* Barra inferior (celulares) */
.cot-bar {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 18px;
  border-radius: 22px;
  border: 1px solid var(--line-2);
  background: rgba(16, 21, 42, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -18px rgba(0, 0, 0, 0.9);
  transform: translateY(140%);
  transition: transform 0.5s var(--ease);
}
.cot-bar.is-visible {
  transform: none;
}
.cot-bar__info {
  flex: 1;
  min-width: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  padding: 4px 0;
}
.cot-bar__info strong {
  font-family: var(--font-display);
  font-size: 16.5px;
}
.cot-bar__info span {
  color: var(--muted);
  font-size: 13.5px;
}
.cot-bar__send {
  --h: 48px;
  padding-inline: 20px;
}
@media (min-width: 900px) {
  .cot-bar {
    display: none;
  }
}

/* Punto que vuela a «Mi cotización» */
.fly-dot {
  position: fixed;
  z-index: 300;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 18px 4px rgba(159, 226, 46, 0.55);
  pointer-events: none;
  transform: translate(-50%, -50%);
}

/* Avisos */
.toasts {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 250;
  transform: translateX(-50%);
  display: grid;
  gap: 8px;
  width: min(440px, calc(100% - 24px));
  pointer-events: none;
}
html.con-barra .toasts {
  bottom: 100px;
}
/* Dentro del panel en celulares: sobre el botón de enviar */
@media (max-width: 640px) {
  .drawer .toasts,
  html.con-barra .drawer .toasts {
    bottom: 128px;
  }
}
@media (min-width: 900px) {
  html.con-barra .toasts {
    bottom: 24px;
  }
}
.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 10px 18px;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  background: rgba(21, 27, 53, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.9);
  font-size: 14.5px;
  line-height: 1.4;
  animation: toastIn 0.45s var(--ease);
}
.toast span {
  flex: 1;
}
.toast.is-leaving {
  animation: toastOut 0.26s ease forwards;
}
@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
}
@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateY(10px);
  }
}
.toast__btn {
  flex: none;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--lime-soft);
  color: var(--lime);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.toast__btn:hover {
  background: rgba(159, 226, 46, 0.22);
}
.toast__close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: var(--muted);
  flex: none;
}
.toast__close:hover {
  color: var(--text);
}
.toast__close .icon {
  width: 15px;
  height: 15px;
}

/* ---------- 10. Pie ---------- */
.footer {
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: 64px;
  overflow: hidden;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 40px clamp(40px, 6vw, 80px);
}
.footer__brand p {
  color: var(--muted);
  max-width: 340px;
  margin-top: 16px;
  font-size: 15px;
}
.footer h2 {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 14px;
}
.footer ul {
  display: grid;
  gap: 8px;
  font-size: 15px;
}
.footer ul a {
  transition: color 0.2s;
}
.footer ul a[href]:hover {
  color: var(--lime);
}
.footer .container {
  container-type: inline-size;
}
.footer__giant {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13vw;
  font-size: 16.2cqi;
  letter-spacing: -0.04em;
  line-height: 0.8;
  color: #0e1429;
  margin: 40px 0 0 -0.04em;
  white-space: nowrap;
  user-select: none;
  background: linear-gradient(
    90deg,
    #0e1429 0%,
    #121a36 var(--spot, 50%),
    #0e1429 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 22px 0 28px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 14px;
}
.footer__bottom a:hover {
  color: var(--lime);
}

/* ---------- Adaptación a pantallas ---------- */
@media (max-width: 1100px) {
  .featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .brands {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .brand-cell:nth-child(3n + 1) {
    border-left: 0;
  }
  .brand-cell:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }
  .socials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .social--wa {
    grid-column: span 2;
    min-height: 360px;
  }
}

@media (max-width: 899px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 150px);
    padding-bottom: 36px;
  }
  .hero__gear {
    width: 130vw;
    right: -60vw;
    top: 38%;
  }
  .hero__tag {
    top: calc(var(--header-h) + 30px);
    bottom: auto;
    right: var(--gutter);
  }
  .scroll-cue {
    display: none;
  }
  .marquee {
    display: block;
  }
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }
  .cat--big {
    grid-column: span 2;
    grid-row: auto;
    min-height: 320px;
  }
  .cat--wide {
    grid-column: auto;
  }
  .services {
    grid-template-columns: 1fr;
  }
  .services__intro {
    position: static;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .about {
    grid-template-columns: 1fr;
  }
  .contact {
    grid-template-columns: 1fr;
  }
  .map {
    min-height: 420px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .product {
    grid-template-columns: 1fr;
  }
  .gallery {
    position: static;
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand {
    grid-column: span 2;
  }
  .section-head__aside {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .section {
    padding-block: 64px;
  }
  .hero__cta {
    display: grid;
    grid-template-columns: 1fr auto;
    margin-bottom: 28px;
  }
  .hero__cta .btn {
    padding-inline: 22px;
  }
  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .stat {
    padding: 12px;
  }
  .stat__value {
    font-size: 20px;
  }
  .stat__label {
    font-size: 12px;
    line-height: 1.3;
    display: block;
  }
  /* El banner va de borde a borde y en 3:1, igual que en escritorio */
  .banner__tag {
    display: none;
  }
  .banner__ph span {
    display: none;
  }
  .banner__caption {
    display: block;
    padding: 12px 18px 20px;
  }
  .banner__ampliar {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(5, 8, 15, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  .banner__ampliar .icon {
    width: 16px;
    height: 16px;
  }
  div.banner__link:has(img) {
    cursor: zoom-in;
  }
  .banner__caption strong {
    display: block;
    font-family: var(--font-display);
    font-size: 21px;
    margin-top: 4px;
  }
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .cat {
    padding: 16px;
    gap: 28px;
    border-radius: 18px;
    min-height: 150px;
  }
  .cat__icon {
    display: none;
  }
  .cat__name {
    font-size: 18px;
  }
  .cat--big {
    grid-column: auto;
    min-height: 150px;
    padding: 16px;
  }
  .cat--big .cat__bg,
  .cat--big .cat__photo-note {
    display: none;
  }
  .cat--big .cat__go {
    width: auto;
    height: auto;
    background: none;
    color: var(--lime);
    transform: none !important;
  }
  .cat--big .cat__go .icon,
  .cat__arrow .icon {
    width: 16px;
    height: 16px;
  }
  .cat__arrow {
    color: var(--lime);
  }
  .hero__kicker {
    font-size: 12px;
    letter-spacing: 0.16em;
  }
  .cat--big .cat__count {
    color: var(--muted-2);
  }
  .cat--big .cat__name {
    font-size: 18px;
  }
  /* Destacados en lista horizontal */
  .featured {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .pcard--featured {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
    border-radius: 18px;
  }
  .pcard--featured .pcard__media {
    aspect-ratio: 1;
    border-radius: 12px;
  }
  .pcard--featured .pcard__brand,
  .pcard--featured .pcard__desc,
  .pcard--featured .pcard__doc,
  .pcard--featured .pcard__actions .btn--ghost {
    display: none;
  }
  .pcard--featured .pcard__body {
    padding: 4px 0 0;
    gap: 4px;
  }
  .pcard--featured .pcard__title {
    font-size: 16.5px;
  }
  .pcard--featured .pcard__actions {
    grid-template-columns: 1fr;
    padding-top: 8px;
  }
  .pcard--featured .pcard__title a::after {
    inset: 0 0 60px;
  }
  .service a {
    padding: 22px 0;
  }
  .service p {
    display: none;
  }
  .service h3 {
    margin: 0;
  }
  .service .circle-arrow {
    width: 44px;
    height: 44px;
  }
  .steps-head,
  .steps {
    display: none;
  }
  .steps-compact {
    display: block;
    padding: 26px 24px;
    border-radius: var(--radius-lg);
    background: var(--lime);
    color: var(--lime-ink);
  }
  .steps-compact h2 {
    font-size: 28px;
    margin-bottom: 14px;
  }
  .steps-compact ol {
    display: grid;
    gap: 8px;
    font-weight: 600;
    font-size: 16px;
  }
  .brands {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .brand-cell {
    min-height: 90px;
    border-left: 1px solid var(--line) !important;
    border-top: 1px solid var(--line) !important;
  }
  .brand-cell:nth-child(2n + 1) {
    border-left: 0 !important;
  }
  .brand-cell:nth-child(-n + 2) {
    border-top: 0 !important;
  }
  .socials {
    grid-template-columns: 1fr;
  }
  .social--wa {
    grid-column: auto;
  }
  .social {
    min-height: 380px;
    padding: 22px;
  }
  .mini {
    flex-basis: 100%;
  }
  .option {
    padding: 18px;
    gap: 14px;
  }
  .option__icon {
    width: 46px;
    height: 46px;
  }
  .option strong {
    font-size: 18px;
  }
  .address {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
  }
  .map__note {
    top: 12px;
    right: 12px;
  }
  .attrs {
    gap: 8px;
  }
  .buybox {
    flex-wrap: wrap;
  }
  .buybox .btn {
    flex: 1 1 180px;
    order: 3;
  }
  .specs {
    grid-template-columns: 1fr;
  }
  .spec:nth-child(even) {
    border-left: 0;
  }
  .spec:nth-child(2) {
    border-top: 1px solid var(--line);
  }
  .related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .grid-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .grid-products .pcard {
    border-radius: 18px;
    padding: 6px;
  }
  .grid-products .pcard__media {
    border-radius: 13px;
  }
  .grid-products .pcard__body {
    padding: 12px 6px 6px;
  }
  .grid-products .pcard__title {
    font-size: 15.5px;
  }
  .grid-products .eyebrow-sm {
    font-size: 10px;
    letter-spacing: 0.1em;
  }
  .grid-products .pcard__actions {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .grid-products .pcard__actions .btn--ghost {
    display: none;
  }
  .grid-products .pcard__title a::after {
    inset: 0 0 56px;
  }
  .cot-form {
    grid-template-columns: 1fr;
  }
  .drawer__panel {
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    border-radius: 0;
    border: 0;
  }
  .footer__top {
    grid-template-columns: 1fr;
  }
  .footer__brand {
    grid-column: auto;
  }
  /* Pie centrado en celular */
  .footer__top,
  .footer__bottom {
    text-align: center;
  }
  .footer__brand .brand {
    justify-content: center;
  }
  .footer__brand p {
    margin-inline: auto;
  }
  .footer ul {
    justify-items: center;
  }
  .footer__giant {
    margin-left: 0;
    text-align: center;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: center;
  }
  .catalog-help {
    padding: 22px;
  }
}

@media (max-width: 380px) {
  .site-header__bar {
    gap: 8px;
    padding: 0 6px 0 10px;
  }
  .brand {
    gap: 6px;
  }
  .brand img {
    width: 32px;
  }
  .brand__text strong {
    font-size: 14px;
  }
  .brand__text small {
    font-size: 9px;
    letter-spacing: 0.1em;
  }
  .header-actions {
    gap: 6px;
  }
  .cot-btn {
    height: 42px;
    padding: 0 7px;
    gap: 4px;
  }
  .cot-btn .icon {
    width: 16px;
    height: 16px;
  }
  .cot-btn .badge {
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    font-size: 10px;
  }
  .menu-btn {
    width: 42px;
    height: 42px;
  }
  .menu-btn span {
    left: 11px;
  }
  .menu-btn span:first-child {
    top: 16px;
  }
  .menu-btn span:last-child {
    top: 24px;
  }
  .menu-abierto .menu-btn span:first-child,
  .menu-abierto .menu-btn span:last-child {
    top: 20px;
  }
  .grid-products {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr;
  }
}

/* Testimonios en celular: tarjetas más angostas y la franja a todo el ancho */
@media (max-width: 640px) {
  .tmarquee {
    --card-w: 282px;
    --card-h: 168px;
    --gap: 12px;
    --fade: 28px;
    margin-inline: calc(-1 * var(--gutter));
  }
  .tcard__cuerpo {
    padding: 20px;
    gap: 12px;
  }
  .tcard__nombre {
    font-size: 17px;
  }
  .tcard__meta {
    font-size: 13.5px;
  }
  .tcard__texto {
    font-size: 15.5px;
  }
}

/* ---------- 11. Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .js .reveal,
  .js .hero__fade,
  .hero__title .w > span {
    opacity: 1;
    transform: none;
  }
  .marquee__track {
    animation: none;
  }
  .hero__gear {
    transform: translateY(-52%);
  }
}
