/* ============ TOKENS ============ */
:root {
  --bg: #050810;
  --bg-soft: #0a0f1c;
  --bg-card: #0d1424;
  --line: #1c2740;
  --blue: #1e90ff;
  --cyan: #00d4ff;
  --blue-light: #7ec8e3;
  --text: #f5f8fc;
  --text-dim: #8fa1c2;
  --success: #34d399;
  --warn: #fbbf24;
  --danger: #f87171;

  --font-display: "Rajdhani", sans-serif;
  --font-body: "Inter", sans-serif;

  --radius: 10px;
  --shadow-glow: 0 0 24px rgba(0, 212, 255, 0.25);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
  height: 100vh;
}

/* ============ LOADING SCREEN ============ */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.loading-screen__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black, transparent 75%);
  animation: grid-drift 12s linear infinite;
}

@keyframes grid-drift {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 84px 84px;
  }
}

.loading-screen__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.loading-screen__logo-wrap {
  position: relative;
  width: 72px;
  height: 72px;
}

.loading-screen__logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cyan);
  box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.5);
  animation: loading-pulse 1.6s ease-in-out infinite;
}

.loading-screen__flash {
  position: absolute;
  inset: -60px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(0, 212, 255, 0.95) 0%, rgba(0, 212, 255, 0.5) 30%, transparent 70%);
  opacity: 0;
  transform: scale(0.2);
  pointer-events: none;
}

.loading-screen__flash.is-active {
  animation: flash-burst 0.7s ease-out forwards;
}

@keyframes flash-burst {
  0% {
    opacity: 0;
    transform: scale(0.2);
  }

  35% {
    opacity: 1;
    transform: scale(1.6);
  }

  100% {
    opacity: 0;
    transform: scale(3.2);
  }
}

@keyframes loading-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.5);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 0 18px rgba(0, 212, 255, 0);
    transform: scale(1.04);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 212, 255, 0);
    transform: scale(1);
  }
}

.loading-screen__brand {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 1.15rem;
  color: var(--text);
}

.loading-screen__brand em {
  font-style: normal;
  color: var(--cyan);
}

.loading-screen__bar {
  width: 200px;
  height: 4px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  overflow: hidden;
}

.loading-screen__bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.6);
  transition: width 0.25s ease-out;
}

.loading-screen__pct {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}

.loading-leave {
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-leave-start {
  opacity: 1;
}

.loading-leave-end {
  opacity: 0;
}

/* ============ SCROLL REVEAL ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal="left"] {
  transform: translateX(-32px);
}

[data-reveal="right"] {
  transform: translateX(32px);
}

[data-reveal].is-visible,
[data-reveal="left"].is-visible,
[data-reveal="right"].is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.servicios__grid [data-reveal]:nth-child(1) {
  transition-delay: 0.05s;
}

.servicios__grid [data-reveal]:nth-child(2) {
  transition-delay: 0.15s;
}

.servicios__grid [data-reveal]:nth-child(3) {
  transition-delay: 0.25s;
}

.servicios__grid [data-reveal]:nth-child(4) {
  transition-delay: 0.35s;
}

.testimonios__grid [data-reveal]:nth-child(1) {
  transition-delay: 0.05s;
}

.testimonios__grid [data-reveal]:nth-child(2) {
  transition-delay: 0.15s;
}

.testimonios__grid [data-reveal]:nth-child(3) {
  transition-delay: 0.25s;
}

@media (prefers-reduced-motion: reduce) {

  .loading-screen__grid,
  .loading-screen__logo {
    animation: none !important;
  }

  [data-reveal],
  [data-reveal="left"],
  [data-reveal="right"] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

[x-cloak] {
  display: none !important;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.75rem;
  padding: 0 1.5rem;
}

.section-head h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

section {
  padding: 5.5rem 1.5rem;
  position: relative;
}

/* circuit-line background texture, used across sections */
.circuit-texture {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.15;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.85rem 1.8rem;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn--primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan), var(--blue));
  background-size: 200% 200%;
  color: #04101c;
  box-shadow: var(--shadow-glow);
  animation: btn-gradient-shift 4s ease infinite;
}

.btn--primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(0, 212, 255, 0.4);
}

@keyframes btn-gradient-shift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn--small {
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  background: var(--bg-soft);
  color: var(--cyan);
  border: 1px solid var(--line);
}

.btn--small:hover:not(:disabled) {
  border-color: var(--cyan);
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
  transition: background 0.25s ease, border-color 0.25s ease, padding 0.25s ease;
  border-bottom: 1px solid transparent;
}

.nav--scrolled {
  background: rgba(5, 8, 16, 0.85);
  backdrop-filter: blur(10px);
  border-color: var(--line);
  padding: 0.65rem 1.5rem;
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.nav__logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cyan);
}

.nav__brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.04em;
  font-size: 1.05rem;
}

.nav__brand-text em {
  font-style: normal;
  color: var(--cyan);
}

.nav__links {
  display: flex;
  gap: 1.8rem;
}

.nav__links a {
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.nav__links a:hover {
  color: var(--cyan);
}

.nav__social {
  display: flex;
  gap: 0.9rem;
}

.social-ico svg {
  width: 19px;
  height: 19px;
  fill: var(--text-dim);
  transition: fill 0.15s ease;
}

.social-ico:hover svg {
  fill: var(--cyan);
}

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  padding: 4px;
}

.nav__burger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
  transform-origin: center;
}

.nav__burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__burger.is-open span:nth-child(2) {
  opacity: 0;
}

.nav__burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============ HERO ============ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 8rem 1.5rem 4rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: -30px;
  width: calc(100% + 60px);
  height: calc(100% + 60px);
  object-fit: cover;
  opacity: 0.55;
  z-index: 0;
  transition: transform 0.2s ease-out;
  will-change: transform;
}

.hero__bg::after {
  content: "";
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, var(--bg) 85%);
  z-index: 1;
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: -20px;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.14) 1px, transparent 1px);
  background-size: 48px 48px;
  z-index: 1;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
  transition: transform 0.2s ease-out;
  will-change: transform;
}

.hero__circuits {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.circuit-line {
  fill: none;
  stroke: rgba(0, 212, 255, 0.12);
  stroke-width: 1.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.circuit-pad {
  fill: var(--cyan);
  opacity: 0.25;
}

.comet-trail {
  fill: none;
  stroke: #00d4ff;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 24 250;
  stroke-dashoffset: 24;
  filter: drop-shadow(0 0 6px var(--cyan)) drop-shadow(0 0 2px #fff);
  opacity: 0;
  will-change: stroke-dashoffset, opacity;
}

.comet-trail--1 {
  animation: comet-travel-1 3.5s linear infinite;
  animation-delay: 0.6s;
}

.comet-trail--2 {
  animation: comet-travel-2 3s linear infinite;
  animation-delay: 3.8s;
}

.comet-trail--3 {
  animation: comet-travel-3 4s linear infinite;
  animation-delay: 7.0s;
}

.comet-trail--4 {
  animation: comet-travel-4 2s linear infinite;
  animation-delay: 1.8s;
}

.comet-trail--5 {
  animation: comet-travel-5 6s linear infinite;
  animation-delay: 5.2s;
}

@keyframes comet-travel-1 {
  0% {
    stroke-dashoffset: 24;
    opacity: 0;
  }

  0.5% {
    opacity: 0.95;
  }

  19.5% {
    opacity: 0.95;
  }

  20% {
    stroke-dashoffset: -100;
    opacity: 0;
  }

  20.01%,
  100% {
    stroke-dashoffset: 24;
    opacity: 0;
  }
}

@keyframes comet-travel-2 {
  0% {
    stroke-dashoffset: 24;
    opacity: 0;
  }

  0.5% {
    opacity: 0.95;
  }

  18% {
    opacity: 0.95;
  }

  18.46% {
    stroke-dashoffset: -100;
    opacity: 0;
  }

  18.47%,
  100% {
    stroke-dashoffset: 24;
    opacity: 0;
  }
}

@keyframes comet-travel-3 {
  0% {
    stroke-dashoffset: 24;
    opacity: 0;
  }

  0.5% {
    opacity: 0.95;
  }

  19.5% {
    opacity: 0.95;
  }

  20% {
    stroke-dashoffset: -100;
    opacity: 0;
  }

  20.01%,
  100% {
    stroke-dashoffset: 24;
    opacity: 0;
  }
}

@keyframes comet-travel-4 {
  0% {
    stroke-dashoffset: 24;
    opacity: 0;
  }

  0.5% {
    opacity: 0.95;
  }

  16.6% {
    opacity: 0.95;
  }

  17.14% {
    stroke-dashoffset: -100;
    opacity: 0;
  }

  17.15%,
  100% {
    stroke-dashoffset: 24;
    opacity: 0;
  }
}

@keyframes comet-travel-5 {
  0% {
    stroke-dashoffset: 24;
    opacity: 0;
  }

  0.5% {
    opacity: 0.95;
  }

  15.8% {
    opacity: 0.95;
  }

  16.36% {
    stroke-dashoffset: -100;
    opacity: 0;
  }

  16.37%,
  100% {
    stroke-dashoffset: 24;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {

  .circuit-comets,
  .comet-trail {
    display: none !important;
    animation: none !important;
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  perspective: 900px;
}

.hero__logo {
  width: 200px;
  height: auto;
  margin: 0 auto 1.5rem;
  object-fit: contain;
  display: block;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-light);
  border: 1px solid var(--line);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  background: rgba(10, 15, 28, 0.6);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.55);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(0, 212, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 212, 255, 0);
  }
}

.hero__title {
  font-size: clamp(2.8rem, 8.5vw, 5.8rem);
  line-height: 1.05;
  margin-bottom: 1.4rem;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.15s ease-out;
}

.text-glow {
  display: inline-block;
  color: var(--cyan);
  text-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
  animation: glow-breathe 3.2s ease-in-out infinite, systen-vibrate 6s linear infinite;
}

@keyframes glow-breathe {

  0%,
  100% {
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
  }

  50% {
    text-shadow: 0 0 46px rgba(0, 212, 255, 0.9), 0 0 70px rgba(30, 144, 255, 0.4);
  }
}

@keyframes systen-vibrate {

  0%,
  91%,
  100% {
    transform: translate(0, 0);
    filter: brightness(1);
  }

  92% {
    transform: translate(-2px, 1px);
    filter: brightness(1.7);
  }

  93% {
    transform: translate(2px, -1px);
    filter: brightness(0.6);
  }

  94% {
    transform: translate(-2px, 0);
    filter: brightness(1.9);
  }

  95% {
    transform: translate(1px, 1px);
    filter: brightness(0.7);
  }

  96% {
    transform: translate(-1px, 0);
    filter: brightness(1.5);
  }

  97%,
  100% {
    transform: translate(0, 0);
    filter: brightness(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__title {
    transform: none !important;
    transition: none;
  }

  .text-glow {
    animation: none;
  }
}

.hero__tagline {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  color: var(--blue-light);
  margin-bottom: 1.1rem;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-dim);
  max-width: 580px;
  margin: 0 auto 2.4rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--cyan);
}

.stat span {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero__scroll {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bob 2s ease-in-out infinite;
}

.hero__scroll svg {
  width: 26px;
  height: 26px;
  fill: var(--text-dim);
}

@keyframes bob {

  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, 8px);
  }
}

/* ============ OFERTAS ACTUALES ============ */
.section-sub {
  color: var(--text-dim);
  font-size: 0.98rem;
  max-width: 620px;
  margin: 0.5rem auto 1.5rem;
  line-height: 1.5;
  text-align: center;
}

.ofertas {
  position: relative;
  background: radial-gradient(circle at 50% 10%, rgba(0, 212, 255, 0.05) 0%, transparent 65%), var(--bg);
  padding: 5rem 1.5rem 4rem;
  overflow: hidden;
}

.ofertas__container {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1rem;
}

.ofertas__track {
  display: flex;
  gap: 1.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 1rem 0.5rem 2rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--cyan) var(--bg-card);
}

.ofertas__track::-webkit-scrollbar {
  height: 6px;
}

.ofertas__track::-webkit-scrollbar-track {
  background: var(--bg-card);
  border-radius: 999px;
}

.ofertas__track::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: 999px;
}

/* Flechas de carrusel */
.ofertas__arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(13, 20, 36, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  transition: all 0.2s ease;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

.ofertas__arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.ofertas__arrow--prev {
  left: -12px;
}

.ofertas__arrow--next {
  right: -12px;
}

.ofertas__arrow:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(13, 20, 36, 0.98);
  box-shadow: var(--shadow-glow);
  transform: translateY(-50%) scale(1.08);
}

/* Tarjeta de Flyer */
.flyer-card {
  flex: 0 0 295px;
  max-width: 320px;
  scroll-snap-align: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  position: relative;
}

.flyer-card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan);
  box-shadow: 0 12px 32px rgba(0, 212, 255, 0.2);
}

/* Contenedor del poster 9:16 */
.flyer-card__poster-box {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #020610;
  overflow: hidden;
  cursor: pointer;
  border-bottom: 1px solid var(--line);
}

.flyer-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.flyer-card:hover .flyer-card__img {
  transform: scale(1.05);
}

.flyer-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 8, 16, 0.85) 0%, rgba(5, 8, 16, 0.25) 50%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.flyer-card:hover .flyer-card__overlay {
  opacity: 1;
}

.flyer-card__zoom-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  background: rgba(5, 8, 16, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid var(--cyan);
  border-radius: 999px;
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-glow);
  transform: translateY(10px);
  transition: transform 0.25s ease;
}

.flyer-card:hover .flyer-card__zoom-pill {
  transform: translateY(0);
}

.flyer-card__zoom-pill svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.flyer-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: linear-gradient(135deg, #1e90ff, #00d4ff);
  color: #04101c;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.35);
  z-index: 2;
}

.flyer-card__tag {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(5, 8, 16, 0.8);
  backdrop-filter: blur(4px);
  border: 1px solid var(--line);
  color: var(--blue-light);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  z-index: 2;
}

/* Información en tarjeta */
.flyer-card__info {
  padding: 1.1rem 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0.65rem;
}

.flyer-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin: 0;
}

.flyer-card__subtitle {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.35;
  margin: 0;
}

.flyer-card__detalles-wrapper {
  margin-top: 0.2rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(28, 39, 64, 0.7);
}

.flyer-card__detalles-label {
  font-size: 0.72rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-light);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.flyer-card__detalles-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.flyer-card__detalles-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--text);
  line-height: 1.3;
}

.check-mini {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2.5;
  flex-shrink: 0;
  margin-top: 1px;
}

.flyer-card__actions {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0.5rem;
  margin-top: auto;
}

.flyer-btn-expand {
  padding: 0.45rem 0.6rem;
  font-size: 0.78rem;
}

.flyer-btn-consultar {
  padding: 0.45rem 0.6rem;
  font-size: 0.78rem;
}

.btn-icon {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  flex-shrink: 0;
}

.flyer-btn-consultar .btn-icon {
  fill: currentColor;
  stroke: none;
}

.ofertas__hint {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.8rem;
  margin-top: 0.75rem;
  opacity: 0.85;
}

/* ============ FLYER LIGHTBOX MODAL ============ */
.flyer-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(3, 6, 14, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.35s ease, backdrop-filter 0.35s ease;
}

.flyer-modal.is-image-expanded {
  background: rgba(1, 3, 8, 0.96);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.flyer-modal__container {
  position: relative;
  width: 100%;
  max-width: 1020px;
  max-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Barras indicadoras estilo Stories / TikTok */
.flyer-modal__stories-bar {
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  display: flex;
  gap: 6px;
  z-index: 80;
  pointer-events: auto;
}

.story-seg {
  flex: 1;
  height: 3.5px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  border: none;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.25s ease;
}

.story-seg:hover {
  background: rgba(0, 212, 255, 0.5);
}

.story-seg.is-seen,
.story-seg.is-active {
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.6);
}

.flyer-modal__close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--cyan);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 70;
  box-shadow: var(--shadow-glow);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.flyer-modal__close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--text);
  stroke-width: 2.4;
  transition: stroke 0.2s ease;
}

.flyer-modal__close:hover {
  transform: scale(1.1) rotate(90deg);
  background: var(--cyan);
  border-color: var(--cyan);
}

.flyer-modal__close:hover svg {
  stroke: #04101c;
}

.flyer-modal__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(13, 20, 36, 0.95);
  border: 1px solid var(--line);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 60;
  transition: all 0.2s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.flyer-modal__arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
}

.flyer-modal__arrow--prev {
  left: -24px;
}

.flyer-modal__arrow--next {
  right: -24px;
}

.flyer-modal__arrow:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: var(--shadow-glow);
  transform: translateY(-50%) scale(1.1);
}

.flyer-modal__card {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(300px, 390px) 1fr;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.85), var(--shadow-glow);
  max-height: 88vh;
  transition: all 0.35s ease;
}

/* Modo Desktop: Imagen expandida al 100% en el centro */
.flyer-modal__card.is-expanded {
  grid-template-columns: 1fr;
  max-width: fit-content;
  background: transparent;
  border: none;
  box-shadow: none;
  margin: 0 auto;
}

.flyer-modal__card.is-expanded .flyer-modal__visual {
  border: none;
  background: transparent;
  padding: 0;
  cursor: zoom-out;
}

.flyer-modal__card.is-expanded .flyer-modal__image-frame {
  max-height: 90vh;
  width: auto;
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  border: 2px solid var(--cyan);
  box-shadow: 0 0 50px rgba(0, 212, 255, 0.45), 0 24px 80px rgba(0, 0, 0, 0.95);
}

.flyer-modal__card.is-expanded .flyer-modal__info {
  display: none !important;
}

.flyer-modal__visual {
  background: #02040a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--line);
  cursor: zoom-in;
}

.flyer-modal__image-frame {
  position: relative;
  width: 100%;
  max-width: 330px;
  aspect-ratio: 9 / 16;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.35);
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.25);
  background: #000;
  transition: all 0.3s ease;
}

.flyer-modal__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.28s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.28s cubic-bezier(0.25, 1, 0.5, 1),
              filter 0.28s ease;
}

/* Transición suave Crossfade entre Flyers */
.flyer-modal.is-crossfading.is-dir-next .flyer-modal__img {
  opacity: 0.15;
  transform: translateX(18px) scale(0.96);
  filter: blur(4px);
}

.flyer-modal.is-crossfading.is-dir-prev .flyer-modal__img {
  opacity: 0.15;
  transform: translateX(-18px) scale(0.96);
  filter: blur(4px);
}

.flyer-modal.is-crossfading.is-dir-next .flyer-modal__info {
  opacity: 0.2;
  transform: translateY(10px);
}

.flyer-modal.is-crossfading.is-dir-prev .flyer-modal__info {
  opacity: 0.2;
  transform: translateY(10px);
}

.flyer-modal__tap-hint {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(5, 8, 16, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 212, 255, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  color: var(--blue-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  pointer-events: none;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: opacity 0.25s ease;
}

.flyer-modal__tap-hint svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2.2;
}

.hint-desktop {
  display: inline;
}

.hint-mobile {
  display: none;
}

.flyer-modal__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: linear-gradient(135deg, #1e90ff, #00d4ff);
  color: #04101c;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.4);
  z-index: 5;
  transition: opacity 0.25s ease;
}

.flyer-modal__tag {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(5, 8, 16, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid var(--line);
  color: var(--blue-light);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  z-index: 5;
  transition: opacity 0.25s ease;
}

.flyer-modal__info {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  overflow-y: auto;
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.25, 1, 0.5, 1);
}

.flyer-modal__cat-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 600;
}

.flyer-modal__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin: 0.3rem 0 0.4rem;
}

.flyer-modal__subtitle {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.45;
}

.flyer-modal__specs {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem;
}

.flyer-modal__specs-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-light);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.flyer-modal__specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.flyer-modal__specs-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.35;
}

.check-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2.4;
  flex-shrink: 0;
  margin-top: 1px;
}

.flyer-modal__guarantee {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.1rem;
  border-radius: 10px;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.flyer-modal__guarantee svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.8;
  flex-shrink: 0;
}

.flyer-modal__guarantee strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text);
}

.flyer-modal__guarantee span {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.flyer-modal__footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.flyer-modal__btn-consultar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  padding: 0.95rem 1.5rem;
  font-weight: 700;
}

.btn-wa-ico {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ============ TRANSICIONES ============ */
.slide-up-enter {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.slide-up-enter-start {
  transform: translateY(100%);
  opacity: 0;
}

.slide-up-enter-end {
  transform: translateY(0);
  opacity: 1;
}

.slide-up-leave {
  transition: transform 0.25s ease-in, opacity 0.2s ease;
}

.slide-up-leave-start {
  transform: translateY(0);
  opacity: 1;
}

.slide-up-leave-end {
  transform: translateY(100%);
  opacity: 0;
}

/* ============ MODO SMARTPHONE (TIKTOK / REELS OVERLAY) ============ */
@media (max-width: 860px) {
  .flyer-modal {
    padding: 0;
    margin: 0;
    width: 100vw;
    height: 100svh;
    height: 100dvh;
    background: #000;
    overflow: hidden;
  }

  .flyer-modal__container {
    width: 100vw;
    height: 100svh;
    height: 100dvh;
    max-width: 100vw;
    max-height: 100svh;
    position: relative;
    overflow: hidden;
  }

  .flyer-modal__stories-bar {
    top: calc(env(safe-area-inset-top, 0px) + 8px);
    left: 14px;
    right: 14px;
  }

  /* La X SIEMPRE visible en la parte superior izquierda */
  .flyer-modal__close {
    top: calc(env(safe-area-inset-top, 0px) + 20px);
    left: 14px;
    right: auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(5, 8, 16, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(0, 212, 255, 0.6);
    color: #fff;
    z-index: 99;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  }

  .flyer-modal__card {
    display: block;
    width: 100vw;
    height: 100svh;
    height: 100dvh;
    max-height: 100svh;
    border: none;
    border-radius: 0;
    background: #000;
    position: relative;
    overflow: hidden;
    cursor: pointer;
  }

  .flyer-modal__visual {
    width: 100vw;
    height: 100svh;
    height: 100dvh;
    padding: 0;
    margin: 0;
    border: none;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
  }

  .flyer-modal__image-frame {
    width: 100vw;
    height: 100svh;
    height: 100dvh;
    max-width: 100vw;
    max-height: 100svh;
    aspect-ratio: 9 / 16;
    border-radius: 0;
    border: none;
    box-shadow: none;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .flyer-modal__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    pointer-events: none;
  }

  .flyer-modal__tap-hint {
    top: calc(env(safe-area-inset-top, 0px) + 24px);
    right: 14px;
    left: auto;
    bottom: auto;
    transform: none;
  }

  .hint-desktop {
    display: none;
  }

  .hint-mobile {
    display: inline;
  }

  /* Información y Opciones superpuestas estilo TikTok/Reels con fondo difuminado oscuro */
  .flyer-modal__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: linear-gradient(180deg, rgba(3, 7, 16, 0.35) 0%, rgba(3, 7, 16, 0.88) 22%, rgba(3, 7, 16, 0.98) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 24px 24px 0 0;
    padding: 1.25rem 1.25rem calc(env(safe-area-inset-bottom, 0px) + 1.25rem);
    max-height: 56vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.8);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  }

  /* Si el usuario hace click, se oculta todo y deja ver la imagen 100% limpia */
  .is-overlay-hidden .flyer-modal__info {
    transform: translateY(115%);
    opacity: 0;
    pointer-events: none;
  }

  .is-overlay-hidden .flyer-modal__tap-hint,
  .is-overlay-hidden .flyer-modal__badge,
  .is-overlay-hidden .flyer-modal__tag,
  .is-overlay-hidden .flyer-modal__stories-bar {
    opacity: 0;
    pointer-events: none;
  }

  .flyer-modal__title {
    font-size: 1.35rem;
  }

  .flyer-modal__specs {
    padding: 0.9rem;
  }

  .flyer-modal__specs-list li {
    font-size: 0.82rem;
  }

  .flyer-modal__arrow {
    display: none;
  }

  .ofertas__arrow {
    display: none;
  }
}

/* ============ CATALOGO ============ */
.catalogo {
  max-width: 1200px;
  margin: 0 auto;
}

.fade-enter {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.fade-enter-start {
  opacity: 0;
  transform: translateY(-10px);
}

.fade-enter-end {
  opacity: 1;
  transform: translateY(0);
}

.catalogo__toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 auto 2rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.catalogo__toggle:hover {
  border-color: var(--cyan);
}

.catalogo__toggle-icon {
  display: flex;
  transition: transform 0.25s ease;
}

.catalogo__toggle-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2;
}

.catalogo__toggle-icon.is-open {
  transform: rotate(45deg);
}

.catalogo__controls {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.search-box:focus-within {
  border-color: var(--cyan);
}

.search-box svg {
  width: 18px;
  height: 18px;
  fill: var(--text-dim);
  flex-shrink: 0;
}

.search-box input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.search-box__clear {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.2rem;
  cursor: pointer;
}

.categorias {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}

.categorias button {
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--text-dim);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.categorias button.is-active {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #04101c;
  border-color: transparent;
  font-weight: 600;
}

.catalogo__count {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.catalogo__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
}

.product-card__img {
  height: 90px;
  border-radius: 8px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  position: relative;
  margin-bottom: 0.9rem;
  overflow: hidden;
  cursor: pointer;
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.product-card__img:hover img {
  transform: scale(1.06);
}

.product-card__zoom-hint {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(3, 7, 16, 0.8);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 212, 255, 0.4);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.2s ease;
  z-index: 2;
}

.product-card__zoom-hint svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.product-card:hover .product-card__zoom-hint {
  opacity: 1;
  transform: scale(1);
}

.product-card__badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 0.65rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
  background: rgba(6, 10, 20, 0.82);
  border: 1px solid currentColor;
  z-index: 3;
}

.product-card__badge.is-ok {
  color: var(--success);
}

.product-card__badge.is-low {
  color: var(--warn);
}

.product-card__badge.is-out {
  color: var(--danger);
}

.product-card__cat {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.product-card__name {
  font-size: 0.95rem;
  text-transform: none;
  font-weight: 600;
  margin-bottom: 0.9rem;
  min-height: 2.4em;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card__price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--cyan);
  font-weight: 700;
}

.product-card {
  cursor: pointer;
}

/* ============ PRODUCT MODAL ============ */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(4, 7, 14, 0.78);
  backdrop-filter: blur(3px);
}

.product-modal__box {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-glow);
}

.product-modal__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(10, 15, 28, 0.6);
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-modal__close:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.product-modal__img {
  position: relative;
  height: 220px;
  border-radius: 10px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.product-modal__img.has-zoom {
  cursor: zoom-in;
}

.product-modal__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.product-modal__img.has-zoom:hover img {
  transform: scale(1.04);
}

.product-modal__zoom-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(3, 7, 16, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 212, 255, 0.4);
  color: var(--cyan);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  transition: transform 0.2s ease, background 0.2s ease;
  z-index: 5;
}

.product-modal__zoom-badge svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.product-modal__img.has-zoom:hover .product-modal__zoom-badge {
  transform: scale(1.05);
  background: rgba(0, 212, 255, 0.2);
}

.product-modal__cat {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

/* ============ IMAGE ZOOM LIGHTBOX (CATÁLOGO & ITEMS) ============ */
.image-zoom-modal {
  position: fixed;
  inset: 0;
  z-index: 1350;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(2, 4, 10, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  cursor: zoom-out;
}

.image-zoom-modal__container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.image-zoom-modal__close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--cyan);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  box-shadow: var(--shadow-glow);
  transition: transform 0.2s ease, background 0.2s ease;
}

.image-zoom-modal__close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--text);
  stroke-width: 2.4;
  transition: stroke 0.2s ease;
}

.image-zoom-modal__close:hover {
  transform: scale(1.1) rotate(90deg);
  background: var(--cyan);
}

.image-zoom-modal__close:hover svg {
  stroke: #04101c;
}

.image-zoom-modal__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
  cursor: zoom-out;
}

.image-zoom-modal__frame {
  position: relative;
  max-width: 90vw;
  max-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(0, 212, 255, 0.4);
  box-shadow: 0 0 50px rgba(0, 212, 255, 0.35), 0 24px 80px rgba(0, 0, 0, 0.95);
  background: #000;
}

.image-zoom-modal__img {
  max-width: 90vw;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.image-zoom-modal__tap-hint {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(3, 7, 16, 0.75);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.72rem;
  color: var(--text-dim);
  pointer-events: none;
  opacity: 0.85;
  white-space: nowrap;
}

.image-zoom-modal__caption {
  margin-top: 1rem;
  background: rgba(13, 20, 36, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  cursor: default;
}

.image-zoom-modal__cat {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cyan);
  font-weight: 600;
}

.image-zoom-modal__title {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 600;
  margin: 0;
}

.image-zoom-modal__price {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--cyan);
  font-weight: 700;
}

.image-zoom-modal__btn-wa {
  margin-left: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
}

@media (max-width: 860px) {
  .image-zoom-modal {
    padding: 0.75rem;
  }

  .image-zoom-modal__close {
    top: calc(env(safe-area-inset-top, 0px) + 16px);
    left: 16px;
    right: auto;
  }

  .image-zoom-modal__frame {
    max-width: 96vw;
    max-height: 72vh;
    border-radius: 12px;
  }

  .image-zoom-modal__img {
    max-width: 96vw;
    max-height: 72vh;
  }

  .image-zoom-modal__caption {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 14px;
    padding: 0.75rem 1rem;
    margin-top: 0.75rem;
    max-width: 94vw;
    text-align: center;
  }
}

.product-modal__name {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.product-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.product-modal__price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--cyan);
  font-weight: 700;
}

.catalogo__empty {
  text-align: center;
  color: var(--text-dim);
  padding: 3rem 1rem;
  grid-column: 1 / -1;
}

.catalogo__note {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.78rem;
  margin-top: 2rem;
  opacity: 0.7;
}

.catalogo__pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.catalogo__pagesize {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.catalogo__pagesize select {
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
}

.catalogo__pagesize select:focus {
  outline: none;
  border-color: var(--cyan);
}

.catalogo__pager {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.pager-info {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.pager-info strong {
  color: var(--text);
  font-family: var(--font-display);
}

.pager-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.pager-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--text);
  stroke-width: 2;
}

.pager-btn:hover:not(:disabled) {
  border-color: var(--cyan);
}

.pager-btn:hover:not(:disabled) svg {
  stroke: var(--cyan);
}

.pager-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

@media (max-width: 500px) {
  .catalogo__pagination {
    flex-direction: column;
    align-items: stretch;
  }

  .catalogo__pager {
    margin-left: 0;
    justify-content: center;
  }
}

/* ============ SERVICIOS ============ */
.servicios {
  background: var(--bg-soft);
}

.servicios__grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.servicio-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.servicio-card:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
}

.servicio-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.15), rgba(0, 212, 255, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.servicio-card__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 1.6;
}

.servicio-card h3 {
  font-size: 1.05rem;
  text-transform: none;
  margin-bottom: 0.5rem;
}

.servicio-card p {
  font-size: 0.88rem;
  color: var(--text-dim);
}

.servicios__cta {
  max-width: 1100px;
  margin: 3rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 2.5rem;
}

.servicios__cta p {
  color: var(--text-dim);
  font-size: 1rem;
  max-width: 400px;
}

/* ============ NOSOTROS ============ */
.nosotros {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.nosotros h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 1.25rem;
}

.nosotros__text {
  color: var(--text-dim);
  margin-bottom: 1rem;
  font-size: 0.98rem;
}

.nosotros__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.nosotros__badges span {
  font-size: 0.78rem;
  border: 1px solid var(--line);
  color: var(--blue-light);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}

.nosotros__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.circuit-frame {
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  position: relative;
}

.circuit-frame::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px dashed var(--line);
  border-radius: 50%;
}

.circuit-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(var(--shadow-glow));
}

/* ============ EQUIPO ============ */
.equipo__grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.equipo-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.equipo-card:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
}

.equipo-card__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0 auto 1rem;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--line);
  box-shadow: var(--shadow-glow);
}

.equipo-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.equipo-card h3 {
  font-size: 0.98rem;
  text-transform: none;
  margin-bottom: 0.25rem;
}

.equipo-card p {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ============ TESTIMONIOS ============ */
.testimonios {
  background: var(--bg-soft);
}

.testimonios__grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.testimonio-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.testimonio-card__stars {
  color: var(--warn);
  letter-spacing: 2px;
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
}

.testimonio-card p {
  font-size: 0.92rem;
  color: var(--text-dim);
  margin-bottom: 1.2rem;
}

.testimonio-card__autor {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text) !important;
  font-size: 0.9rem !important;
}

/* ============ UBICACION ============ */
.ubicacion {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.ubicacion__info h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0.75rem 0;
}

.ubicacion__info p {
  color: var(--text-dim);
  margin-bottom: 1.75rem;
}

.ubicacion__map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 320px;
}

.ubicacion__map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.3) invert(0.92) contrast(0.9);
}

/* ============ FOOTER ============ */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 3.5rem 1.5rem 1.5rem;
}

.footer__inner {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer__brand {
  display: flex;
  gap: 0.9rem;
  max-width: 320px;
}

.footer__brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.footer__brand p {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer__links,
.footer__social {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__links a,
.footer__social a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer__links a:hover,
.footer__social a:hover {
  color: var(--cyan);
}

.footer__pagos {
  max-width: 260px;
}

.footer__pagos-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.7rem;
}

.footer__pagos-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer__pagos-list span {
  font-size: 0.75rem;
  border: 1px solid var(--line);
  color: var(--blue-light);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--bg-card);
}

.footer__copy {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.78rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  max-width: 1150px;
  margin: 0 auto;
}

/* ============ WHATSAPP WIDGET ============ */
.wa-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.wa-widget__bubble {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #1ebe5b);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  position: relative;
}

.wa-widget__bubble svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

.wa-widget__tooltip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  white-space: nowrap;
  font-weight: 500;
}

.wa-widget__panel {
  width: 320px;
  max-width: calc(100vw - 3rem);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.wa-widget__header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: linear-gradient(135deg, #1ebe5b, #128c43);
  padding: 0.9rem 1rem;
}

.wa-widget__header img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.wa-widget__header strong {
  display: block;
  font-size: 0.9rem;
  color: #fff;
}

.wa-widget__header span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.85);
}

.wa-widget__header button {
  margin-left: auto;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
}

.wa-widget__body {
  background: #0b1a12;
  padding: 1rem;
  min-height: 100px;
}

.wa-bubble {
  background: var(--bg-card);
  color: var(--text);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border-top-left-radius: 2px;
  font-size: 0.85rem;
  max-width: 90%;
  line-height: 1.5;
}

.wa-widget__input {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  background: var(--bg-card);
  border-top: 1px solid var(--line);
}

.wa-widget__input textarea {
  flex: 1;
  resize: none;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  padding: 0.6rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
}

.wa-widget__input textarea:focus {
  border-color: #25d366;
}

.wa-widget__input button {
  background: #25d366;
  border: none;
  border-radius: 8px;
  width: 40px;
  flex-shrink: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-widget__input button svg {
  width: 18px;
  height: 18px;
  fill: #04101c;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {

  .nosotros,
  .ubicacion {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .nosotros__visual {
    order: -1;
  }

  .nosotros__badges {
    justify-content: center;
  }

  .ubicacion__map {
    height: 260px;
  }
}

@media (max-width: 760px) {
  .nav__links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    background: rgba(5, 8, 16, 0.97);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-150%);
    transition: transform 0.25s ease;
  }

  .nav__links a {
    font-size: 1.05rem;
    padding: 0.2rem 0;
  }

  .nav__links.is-open {
    transform: translateY(0);
  }

  .nav__burger {
    display: flex;
  }

  .nav__social {
    display: none;
  }

  .servicios__cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}