/* ============================================================
   PROTEC — Hoja de estilos maestra
   Estética: Pitch Black industrial + Azul Eléctrico neón
   Sin frameworks. CSS3 puro con custom properties.
   ============================================================ */

:root {
  /* Paleta */
  --bg:            #05060a;   /* pitch black */
  --bg-elev:       #0b0d14;   /* superficie elevada */
  --bg-card:       #0e1119;
  --line:          rgba(255, 255, 255, 0.08);
  --line-strong:   rgba(56, 140, 255, 0.35);

  --accent:        #2f7bff;   /* azul eléctrico */
  --accent-bright: #4f9bff;
  --accent-soft:   rgba(47, 123, 255, 0.14);
  --glow:          0 0 22px rgba(47, 123, 255, 0.55), 0 0 4px rgba(79, 155, 255, 0.9);

  --text:          #eef1f7;
  --text-dim:      #9aa3b4;
  --text-faint:    #5f6776;

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

  /* Métrica */
  --container: 1180px;
  --radius:    16px;
  --radius-lg: 22px;

  /* Movimiento */
  --ease-marvel: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:   cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------------------- Reset esencial ---------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: #fff; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

/* ---------------------- Tipografía utilitaria ---------------------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 18px;
}
.text-accent { color: var(--accent-bright); }

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  --pad-y: 12px; --pad-x: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--pad-y) var(--pad-x);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease-soft), box-shadow .3s var(--ease-soft),
              background .25s var(--ease-soft), border-color .25s var(--ease-soft);
  will-change: transform;
}
.btn--xl { --pad-y: 16px; --pad-x: 32px; font-size: 1.02rem; }

.btn--glow {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  color: #fff;
  box-shadow: var(--glow);
}
.btn--glow::after {
  /* destello que barre el botón */
  content: ""; position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-18deg);
  transition: left .7s var(--ease-soft);
}
.btn--glow:hover::after { left: 130%; }
.btn--glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(47, 123, 255, 0.8), 0 0 8px rgba(120, 180, 255, 1);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--line);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: var(--line-strong);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

/* ============================================================
   NAVBAR — Glassmorphism
   ============================================================ */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(8, 10, 16, 0.55);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease-soft), border-color .3s var(--ease-soft),
              box-shadow .3s var(--ease-soft);
}
.navbar.is-scrolled {
  background: rgba(6, 8, 13, 0.82);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.navbar__logo { height: 34px; width: auto; }
.navbar__logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--text);
}
.navbar__nav { display: flex; gap: 30px; }
.navbar__link {
  font-size: 0.92rem;
  color: var(--text-dim);
  font-weight: 500;
  position: relative;
  transition: color .2s var(--ease-soft);
}
.navbar__link::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--accent-bright);
  border-radius: 2px; transition: width .25s var(--ease-soft);
}
.navbar__link:hover { color: var(--text); }
.navbar__link:hover::after { width: 100%; }
.navbar__cta { --pad-y: 10px; --pad-x: 20px; font-size: 0.9rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
}
.hero__grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(47, 123, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 123, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 35%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 35%, #000 30%, transparent 75%);
}
.hero__glow {
  position: absolute;
  top: -10%; left: 50%; margin-left: -450px;
  width: 900px; height: 600px;
  background: radial-gradient(circle, rgba(47, 123, 255, 0.22), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.hero__layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  width: 100%;
}
.hero__content { position: relative; text-align: left; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero__subtitle {
  font-size: clamp(1.05rem, 2.2vw, 1.24rem);
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 0 38px;
}
.hero__actions {
  display: flex; flex-wrap: wrap;
  gap: 16px; justify-content: flex-start;
}
.hero__badges {
  list-style: none;
  display: flex; flex-wrap: wrap;
  gap: 12px; justify-content: flex-start;
  margin-top: 46px;
}

/* ---- Escenario 3D ---- */
.hero__stage { position: relative; }
.stage3d {
  position: relative;
  width: 100%;
  height: clamp(360px, 46vw, 560px);
  cursor: grab;
  touch-action: pan-y;
}
.stage3d.is-grabbing { cursor: grabbing; }
.stage3d__canvas { display: block; width: 100% !important; height: 100% !important; }
.stage3d::before {
  /* halo de neón detrás del producto */
  content: ""; position: absolute; inset: 6% 10%;
  background: radial-gradient(circle at 50% 45%, rgba(47,123,255,0.28), transparent 62%);
  filter: blur(30px); z-index: -1; pointer-events: none;
}
.stage3d__loader {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; color: var(--text-dim); font-size: 0.85rem;
  transition: opacity .5s var(--ease-soft);
}
.stage3d.is-ready .stage3d__loader { opacity: 0; pointer-events: none; }
.stage3d__spin {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--line);
  border-top-color: var(--accent-bright);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.stage3d__fallback {
  position: absolute; inset: 0; z-index: 1;
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; text-align: center;
}
.stage3d__fallback span { font-family: var(--font-display); font-weight: 800; font-size: 2rem; letter-spacing: .05em; }
.stage3d__fallback small { color: var(--text-faint); font-size: 0.74rem; max-width: 82%; }
.stage3d__poster { max-width: 94%; max-height: 90%; object-fit: contain; border-radius: 14px; }
.stage3d.is-fallback .stage3d__loader { display: none; }
.stage3d.is-fallback .stage3d__fallback { display: flex; }
.stage3d__hint {
  position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%);
  z-index: 2; display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: 999px;
  font-size: 0.78rem; color: var(--text-dim);
  background: rgba(10,13,20,0.55);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .6s var(--ease-soft) .4s;
}
.stage3d.is-ready .stage3d__hint { opacity: 1; }
.stage3d.is-grabbing .stage3d__hint { opacity: 0; transition-delay: 0s; }
.stage3d__replay {
  position: absolute; right: 10px; bottom: 8px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; border-radius: 999px;
  font-family: var(--font-body); font-size: 0.76rem; font-weight: 500;
  color: var(--text-dim); cursor: pointer;
  background: rgba(10,13,20,0.55);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transition: opacity .6s var(--ease-soft) .5s, color .2s, border-color .2s, transform .2s;
}
.stage3d.is-ready .stage3d__replay { opacity: 1; }
.stage3d__replay:hover { color: var(--text); border-color: var(--line-strong); transform: scale(1.04); }
.stage3d.is-grabbing .stage3d__replay { opacity: 0; transition-delay: 0s; }
.hero__badges li {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dim);
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}
.hero__badges li::before { content: "▹ "; color: var(--accent-bright); }

/* ============================================================
   SECCIONES GENÉRICAS
   ============================================================ */
.section { padding: clamp(72px, 11vw, 130px) 0; }
.section--tight { padding-bottom: clamp(40px, 7vw, 80px); }
.section__head { max-width: 680px; margin: 0 auto 60px; text-align: center; }
.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
}
.section__lead { color: var(--text-dim); font-size: 1.08rem; }

/* ---------------------- Cards ---------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.card {
  position: relative;
  padding: 34px 30px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .35s var(--ease-marvel), border-color .35s var(--ease-soft),
              box-shadow .35s var(--ease-soft);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), var(--accent-soft), transparent 70%);
  opacity: 0; transition: opacity .4s var(--ease-soft);
}
.card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.card:hover::before { opacity: 1; }
.card__icon {
  display: inline-grid; place-items: center;
  width: 54px; height: 54px; margin-bottom: 22px;
  border-radius: 14px;
  color: var(--accent-bright);
  background: var(--accent-soft);
  border: 1px solid var(--line-strong);
}
.card__title {
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.25rem;
  margin-bottom: 12px;
  position: relative;
}
.card__text { color: var(--text-dim); font-size: 0.98rem; position: relative; }

/* ============================================================
   THE MARVEL GRID — Accordion Flex
   ============================================================ */
.marvel-grid {
  display: flex;
  gap: 14px;
  height: 560px;
  padding-inline: clamp(20px, 5vw, 48px);
  max-width: 1320px;
  margin-inline: auto;
}
.panel {
  position: relative;
  flex: 1 1 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
  transition: flex .7s var(--ease-marvel), box-shadow .5s var(--ease-soft),
              border-color .5s var(--ease-soft);
  will-change: flex;
}
.panel.is-active {
  flex: 5 1 0;
  border-color: var(--line-strong);
  box-shadow: 0 0 0 1px rgba(47,123,255,.25), 0 30px 70px rgba(0,0,0,.55);
}
.panel__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,6,10,.15) 0%, rgba(5,6,10,.55) 55%, rgba(5,6,10,.92) 100%);
  transition: background .5s var(--ease-soft);
}
.panel:not(.is-active) .panel__overlay {
  background: linear-gradient(180deg, rgba(5,6,10,.4), rgba(5,6,10,.85));
}
.panel__content {
  position: absolute; inset: auto 0 0 0;
  padding: 30px;
  z-index: 2;
}
.panel__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--accent-bright);
  letter-spacing: 0.15em;
  margin-bottom: 10px;
}
.panel__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  white-space: nowrap;
  /* Texto vertical-ish cuando está comprimido */
  transition: transform .5s var(--ease-soft);
}
.panel__text {
  color: var(--text-dim);
  font-size: 0.98rem;
  max-width: 460px;
  margin-top: 12px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .45s var(--ease-soft) .1s, transform .5s var(--ease-marvel) .1s;
  pointer-events: none;
}
.panel.is-active .panel__text {
  opacity: 1;
  transform: translateY(0);
}
/* Paneles comprimidos: ocultamos el título largo con elegancia */
.panel:not(.is-active) .panel__title {
  font-size: 1.05rem;
}

/* ============================================================
   CONFIANZA
   ============================================================ */
.trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.trust__item {
  text-align: center;
  padding: 36px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
  transition: transform .35s var(--ease-marvel), border-color .3s var(--ease-soft);
}
.trust__item:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.trust__icon {
  display: inline-grid; place-items: center;
  width: 64px; height: 64px; margin-bottom: 18px;
  border-radius: 50%;
  color: var(--accent-bright);
  background: var(--accent-soft);
  border: 1px solid var(--line-strong);
}
.trust__title { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; margin-bottom: 10px; }
.trust__text { color: var(--text-dim); font-size: 0.96rem; }

/* CTA final */
.cta-final {
  margin-top: 70px;
  text-align: center;
  padding: clamp(48px, 7vw, 80px) 30px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(800px circle at 50% -20%, var(--accent-soft), transparent 60%),
    var(--bg-elev);
  border: 1px solid var(--line-strong);
  position: relative;
  overflow: hidden;
}
.cta-final__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 14px;
}
.cta-final__text { color: var(--text-dim); max-width: 520px; margin: 0 auto 32px; font-size: 1.06rem; }
.cta-final__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ============================================================
   PRUEBA SOCIAL: stats + reseñas
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 48px;
}
.stat {
  text-align: center;
  padding: 26px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elev);
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  color: var(--accent-bright);
  line-height: 1;
}
.stat__lbl { display: block; margin-top: 8px; font-size: 0.82rem; color: var(--text-dim); }

.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.review {
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  transition: transform .35s var(--ease-marvel), border-color .3s var(--ease-soft);
}
.review:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.review__stars { color: #ffc24b; letter-spacing: 2px; font-size: 0.95rem; margin-bottom: 14px; }
.review__text { color: var(--text); font-size: 1rem; line-height: 1.6; }
.review__author { margin-top: 18px; font-size: 0.88rem; color: var(--text-dim); }
.review__author span { color: var(--text); font-weight: 600; }

/* ============================================================
   GARANTÍA (banda)
   ============================================================ */
.guarantee { padding: 0 0 clamp(20px, 5vw, 40px); }
.guarantee__inner {
  display: flex; align-items: center; gap: 28px;
  padding: 32px clamp(24px, 4vw, 44px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px circle at 0% 0%, var(--accent-soft), transparent 60%),
    var(--bg-elev);
}
.guarantee__seal {
  flex: 0 0 auto;
  display: grid; place-content: center; text-align: center;
  width: 86px; height: 86px; border-radius: 50%;
  border: 2px solid var(--accent-bright);
  color: var(--accent-bright);
  box-shadow: var(--glow);
}
.guarantee__seal span { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; line-height: 1; }
.guarantee__seal small { display: block; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; }
.guarantee__copy h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin-bottom: 8px; }
.guarantee__copy p { color: var(--text-dim); font-size: 1rem; }

/* ============================================================
   URGENCIA (strip con contador)
   ============================================================ */
.urgency {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 auto 22px;
  padding: 9px 18px; border-radius: 999px;
  font-size: 0.86rem; font-weight: 500; color: var(--text);
  background: rgba(47,123,255,0.08);
  border: 1px solid var(--line-strong);
}
.urgency strong { color: var(--accent-bright); font-variant-numeric: tabular-nums; font-weight: 700; }
.urgency__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #2bd968; box-shadow: 0 0 8px #2bd968;
  animation: urgPulse 1.6s ease-in-out infinite;
}
@keyframes urgPulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ============================================================
   BOTÓN DE SONIDO
   ============================================================ */
.sound-toggle {
  position: fixed;
  left: clamp(18px, 4vw, 34px);
  bottom: clamp(18px, 4vw, 34px);
  z-index: 90;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--text-dim);
  background: rgba(10,13,20,0.6);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  cursor: pointer;
  transition: color .2s, border-color .2s, transform .2s, background .2s;
}
.sound-toggle:hover { color: var(--text); border-color: var(--line-strong); transform: scale(1.06); }
.sound-toggle.is-on { color: var(--accent-bright); border-color: var(--line-strong); box-shadow: 0 0 14px rgba(47,123,255,0.35); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #030407;
  border-top: 1px solid var(--line);
  padding-top: 60px;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer__logo-img { height: 48px; width: auto; opacity: .92; }
.footer__logo-text {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.5rem; letter-spacing: 0.05em;
}
.footer__tagline { color: var(--text-faint); font-size: 0.92rem; margin-top: 10px; }
.footer__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.footer__meta span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.03em;
  position: relative;
}
.footer__meta span:not(:last-child)::after {
  content: ""; position: absolute; right: -12px; top: 50%;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--line-strong); transform: translateY(-50%);
}
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  padding-block: 26px;
  color: var(--text-faint); font-size: 0.85rem;
}

/* ============================================================
   WHATSAPP FLOTANTE
   ============================================================ */
.wsp-float {
  position: fixed;
  right: clamp(18px, 4vw, 34px);
  bottom: clamp(18px, 4vw, 34px);
  z-index: 90;
  width: 60px; height: 60px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #2bd968, #1fa84f);
  color: #fff;
  box-shadow: 0 12px 30px rgba(31, 168, 79, 0.45);
  transition: transform .3s var(--ease-soft);
}
.wsp-float:hover { transform: scale(1.08); }
.wsp-float__pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: rgba(43, 217, 104, 0.55);
  animation: wsp-pulse 2.2s ease-out infinite;
  z-index: -1;
}
@keyframes wsp-pulse {
  0%   { transform: scale(1);   opacity: .7; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* ============================================================
   INTRO DE BIENVENIDA
   ============================================================ */
html.intro-active { overflow: hidden; }
.intro {
  position: fixed; inset: 0; z-index: 3000;
  display: flex; align-items: center; justify-content: center;
  background: #05060a;
  opacity: 1;
  transition: opacity .9s ease, filter .9s ease;
  will-change: opacity, filter;
  overflow: hidden;
}
/* Fundido con desenfoque: se difumina y se funde con la pantalla */
.intro.is-done { opacity: 0; filter: blur(22px); pointer-events: none; }
.intro__glow {
  position: absolute; top: 50%; left: 50%;
  width: 760px; height: 560px; margin: -280px 0 0 -380px;
  background: radial-gradient(circle, rgba(47,123,255,0.22), transparent 62%);
  filter: blur(30px); pointer-events: none;
}
.intro__stage {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  gap: 26px; text-align: center;
  padding: 24px;
}
.intro__logo {
  width: clamp(170px, 28vw, 300px); height: auto;
  opacity: 0;
  animation: introLogoIn 1s var(--ease-marvel) forwards .15s,
             introGlow 2.6s ease-in-out infinite alternate .9s;
}
.intro__tag {
  opacity: 0;
  color: var(--text-dim);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  letter-spacing: 0.02em;
  animation: introUp .9s var(--ease-soft) forwards .65s;
}
.intro__bar {
  width: 200px; height: 2px; border-radius: 2px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
}
.intro__bar span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  box-shadow: 0 0 10px rgba(47,123,255,0.8);
  animation: introBar 2.9s var(--ease-soft) forwards .35s;
}
.intro__skip {
  position: absolute; right: 22px; bottom: 20px;
  padding: 8px 16px; border-radius: 999px;
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 500;
  color: var(--text-dim); cursor: pointer;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  opacity: 0; animation: introUp .6s var(--ease-soft) forwards 1.4s;
  transition: color .2s, border-color .2s, background .2s;
}
.intro__skip:hover { color: var(--text); border-color: var(--line-strong); background: var(--accent-soft); }
.intro__skip--float { position: fixed; right: 22px; bottom: 20px; z-index: 3002; }

/* Modo ENSAMBLAJE: el escenario 3D ocupa toda la pantalla sobre el overlay */
.hero__stage { transition: opacity .35s var(--ease-soft); }
.intro-3d .hero__stage {
  position: fixed; inset: 0; margin: 0;
  width: 100vw; height: 100dvh; z-index: 3001;
}
.intro-3d .stage3d { height: 100% !important; }
.intro-3d .stage3d__hint { display: none; }     /* el "arrastrá" aparece después */
.intro-3d .intro__logo, .intro-3d .intro__bar { display: none; }
.intro-3d .intro__tag {
  position: fixed; left: 0; right: 0; bottom: 7%;
  z-index: 3002;                                 /* visible sobre el canvas transparente */
  margin: 0;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-faint);
}

@keyframes introLogoIn {
  from { opacity: 0; transform: scale(0.92) translateY(8px); filter: blur(6px); }
  to   { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}
@keyframes introUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes introBar { from { width: 0; } to { width: 100%; } }
@keyframes introGlow {
  from { filter: drop-shadow(0 0 0 rgba(47,123,255,0)); }
  to   { filter: drop-shadow(0 0 14px rgba(47,123,255,0.5)); }
}

/* ============================================================
   BARRA DE PROGRESO DE SCROLL
   ============================================================ */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 200;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  box-shadow: 0 0 12px rgba(47,123,255,0.7);
  transition: width .1s linear;
}

/* ============================================================
   TILT EN CARDS (premium, sigue el mouse)
   ============================================================ */
.cards { perspective: 1200px; }
.card {
  transform: perspective(1200px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)) translateY(0);
}
.card.is-tilting { transition: transform .12s var(--ease-soft), border-color .35s var(--ease-soft), box-shadow .35s var(--ease-soft); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s var(--ease-soft), transform .7s var(--ease-marvel);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); filter: blur(0); }
/* Stagger sutil para grupos */
.cards .reveal:nth-child(2) { transition-delay: .08s; }
.cards .reveal:nth-child(3) { transition-delay: .16s; }

/* ============================================================
   RULETA DE PREMIOS (modal)
   ============================================================ */
html.modal-open { overflow: hidden; }

.wheel-modal {
  position: fixed; inset: 0; z-index: 4000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease-soft), visibility 0s linear .35s;
}
.wheel-modal.is-open { opacity: 1; visibility: visible; transition: opacity .35s var(--ease-soft); }
.wheel-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(4, 5, 9, 0.78);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.wheel-modal__card {
  position: relative; z-index: 1;
  width: min(380px, 92%);
  padding: clamp(20px, 4vw, 30px) clamp(20px, 3.5vw, 30px) clamp(20px, 3.5vw, 28px);
  text-align: center;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px circle at 50% -10%, var(--accent-soft), transparent 60%),
    var(--bg-elev);
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
  transform: translateY(16px) scale(0.96);
  opacity: 0;
  transition: transform .45s var(--ease-marvel), opacity .45s var(--ease-soft);
}
.wheel-modal.is-open .wheel-modal__card { transform: translateY(0) scale(1); opacity: 1; }
.wheel-modal__x {
  position: absolute; top: 10px; right: 10px;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.9rem; line-height: 1; color: var(--text);
  background: rgba(255,255,255,0.08); border: 1px solid var(--line-strong);
  cursor: pointer; z-index: 3;
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}
.wheel-modal__x:hover { color: #fff; background: var(--accent); border-color: var(--accent-bright); transform: scale(1.08); }
.wheel-modal__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 3.5vw, 1.9rem); margin: 6px 0 6px; }
.wheel-modal__sub { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 22px; }

.wheel-wrap {
  position: relative;
  width: clamp(210px, 56vw, 256px);
  aspect-ratio: 1 / 1;
  margin: 0 auto 20px;
}
.wheel-svg {
  width: 100%; height: 100%; display: block;
  transform-box: fill-box; transform-origin: center;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5));
  border-radius: 50%;
}
.wheel-wrap::after { /* aro exterior sutil */
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 22px rgba(47,123,255,0.25) inset;
  pointer-events: none;
}
.wheel-pointer {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0; z-index: 3;
  border-left: 11px solid transparent; border-right: 11px solid transparent;
  border-top: 18px solid var(--accent-bright);
  filter: drop-shadow(0 2px 6px rgba(47,123,255,0.6));
}
.wheel-hub {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 38px; height: 38px; border-radius: 50%; z-index: 2;
  background: var(--bg-card); border: 2px solid var(--accent-bright);
  box-shadow: var(--glow);
}
.wheel-spin { width: 100%; max-width: 260px; }

.wheel-result { margin-top: 8px; }
.wheel-result.is-in { animation: introUp .6s var(--ease-soft) both; }
.wheel-result h4 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 10px; }
.wheel-result p { color: var(--text-dim); font-size: 0.98rem; margin-bottom: 18px; }
.wheel-code {
  color: var(--accent-bright); font-weight: 800; letter-spacing: 0.08em;
  padding: 2px 8px; border-radius: 6px; background: var(--accent-soft);
  border: 1px dashed var(--line-strong);
}
.wheel-result__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.wheel-result__actions .btn { flex: 1 1 auto; }
.wheel-result__note { display: block; margin-top: 14px; color: var(--text-faint); font-size: 0.8rem; }

/* Botón flotante para abrir la ruleta (visible, con entrada elegante) */
.wheel-tab {
  position: fixed; left: 0; top: 50%; z-index: 89;
  transform: translate(0, -50%);          /* estado base (post-entrada) */
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 16px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.92rem;
  letter-spacing: 0.01em; color: #fff; white-space: nowrap; cursor: pointer;
  background: linear-gradient(135deg, #56a0ff, #2f7bff);
  border: 1px solid rgba(190,215,255,0.4); border-left: none;
  border-radius: 0 16px 16px 0;
  box-shadow: 0 12px 34px rgba(47,123,255,0.42);
  animation:
    wheelTabIn .9s cubic-bezier(0.34, 1.56, 0.64, 1) 1.4s backwards,
    wheelTabGlow 2.8s ease-in-out 2.6s infinite;
  transition: transform .25s var(--ease-soft), box-shadow .25s var(--ease-soft);
  will-change: transform;
}
.wheel-tab:hover { transform: translate(5px, -50%); box-shadow: 0 14px 40px rgba(47,123,255,0.6); }
.wheel-tab:active { transform: translate(2px, -50%) scale(0.98); }
.wheel-tab__icon { flex: 0 0 auto; }
.wheel-tab__text { line-height: 1; }
.wheel-tab__badge {
  font-size: 0.74rem; font-weight: 800; line-height: 1;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(255,255,255,0.22);
  border: 1px solid rgba(255,255,255,0.25);
}
@keyframes wheelTabIn {
  0%   { transform: translate(-135%, -50%); opacity: 0; }
  70%  { transform: translate(7px, -50%);   opacity: 1; }
  100% { transform: translate(0, -50%);      opacity: 1; }
}
@keyframes wheelTabGlow {
  0%, 100% { box-shadow: 0 12px 34px rgba(47,123,255,0.40); }
  50%      { box-shadow: 0 12px 42px rgba(47,123,255,0.78), 0 0 0 5px rgba(47,123,255,0.12); }
}

@media (max-width: 560px) {
  .wheel-tab__text { display: none; }   /* en mobile: solo ícono + badge, no tapa contenido */
  .wheel-tab { padding: 12px 13px; gap: 7px; }
}

/* ============================================================
   REFINAMIENTOS (elegancia + optimización)
   ============================================================ */

/* Los anchors no quedan tapados por el navbar fijo */
section[id], #comprar { scroll-margin-top: 88px; }

/* Navbar se compacta al hacer scroll (más elegante) */
.navbar__inner { transition: height .3s var(--ease-soft); }
.navbar.is-scrolled .navbar__inner { height: 60px; }
.navbar__logo { transition: transform .3s var(--ease-soft); }
.navbar.is-scrolled .navbar__logo { transform: scale(0.9); }

/* Foco visible elegante (accesibilidad / teclado) */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.panel:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
  border-radius: 8px;
}

/* (Grano removido: el blend-mode a pantalla completa recompositaba cada frame y trababa la fluidez.) */

/* Stagger de aparición para grupos (más fluido) */
.stats .reveal:nth-child(2) { transition-delay: .06s; }
.stats .reveal:nth-child(3) { transition-delay: .12s; }
.stats .reveal:nth-child(4) { transition-delay: .18s; }
.reviews .reveal:nth-child(2) { transition-delay: .08s; }
.reviews .reveal:nth-child(3) { transition-delay: .16s; }
.trust .reveal:nth-child(2) { transition-delay: .08s; }
.trust .reveal:nth-child(3) { transition-delay: .16s; }

/* Botón de la ruleta: respiración sutil que invita a tocar */
.wheel-spin { animation: spinBreath 2.6s ease-in-out infinite; }
@keyframes spinBreath {
  0%, 100% { box-shadow: var(--glow); }
  50% { box-shadow: 0 0 30px rgba(47,123,255,0.75), 0 0 6px rgba(120,180,255,0.9); }
}

/* Código de cupón: invita a copiar */
.wheel-code { cursor: pointer; transition: background .2s, color .2s; }
.wheel-code:hover { background: rgba(47,123,255,0.22); }
.wheel-code.copied { color: #2bd968; border-color: #2bd968; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero__layout {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: center;
  }
  .hero__content { text-align: center; order: 2; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__actions, .hero__badges { justify-content: center; }
  .hero__stage { order: 1; }
  .stage3d { height: clamp(300px, 60vw, 420px); }
  .hero { min-height: auto; padding-top: 100px; padding-bottom: 40px; }
}

@media (max-width: 860px) {
  .navbar__nav { display: none; }
  .marvel-grid {
    flex-direction: column;
    height: auto;
  }
  .panel { min-height: 130px; }
  .panel.is-active { min-height: 380px; }
  .panel__text { max-width: 100%; }
  /* en touch desactivamos el tilt para no marear */
  .card { transform: none !important; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .guarantee__inner { flex-direction: column; text-align: center; gap: 18px; }
}

@media (max-width: 520px) {
  .navbar__cta { display: none; }
  .hero__actions .btn, .cta-final__actions .btn { width: 100%; }
}

/* Hero compacto en celular: que "Comprar ahora" entre sin scrollear */
@media (max-width: 600px) {
  .hero { min-height: auto; padding-top: 66px; padding-bottom: 12px; }
  .hero__layout { gap: 0; }
  .hero__stage { margin: 0 auto; }
  /* imagen atada al alto de pantalla: nunca ocupa más de ~25% del viewport */
  .hero__product { width: auto; max-width: 78%; max-height: 25vh; margin: 0 auto; }
  .eyebrow { font-size: 0.66rem; letter-spacing: 0.13em; }
  .hero__title { font-size: 1.72rem; line-height: 1.02; margin-bottom: 8px; }
  .hero__subtitle { font-size: 0.88rem; line-height: 1.3; margin: 2px auto 0; }
  .hero__points { margin-top: 8px; gap: 5px; }
  .hero__points li { font-size: 0.85rem; line-height: 1.25; }
  .hero__points li::before { top: 0.34em; }
  .hero__actions { margin-top: 11px; gap: 7px; }
  .hero__actions .btn--xl { --pad-y: 12px; font-size: 0.94rem; }
}

/* ============================================================
   PROFUNDIDAD: orbes ambientales a la deriva (capa de fondo)
   ============================================================ */
.fx-orbs {
  position: fixed; inset: 0; z-index: -1;
  overflow: hidden; pointer-events: none;
}
.fx-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(58px);          /* menos blur = mucho menos costo de GPU */
  opacity: 0.4;
  will-change: transform;
}
.fx-orb--a {
  width: 46vw; height: 46vw; top: -8vw; left: -6vw;
  background: radial-gradient(circle, rgba(47,123,255,0.28), transparent 68%);
  animation: orbDrift1 26s ease-in-out infinite alternate;
}
.fx-orb--b {
  width: 38vw; height: 38vw; bottom: -10vw; right: -6vw;
  background: radial-gradient(circle, rgba(79,155,255,0.22), transparent 70%);
  animation: orbDrift2 32s ease-in-out infinite alternate;
}
.fx-orb--c {
  width: 28vw; height: 28vw; top: 38%; left: 52%;
  background: radial-gradient(circle, rgba(31,90,200,0.18), transparent 72%);
  animation: orbDrift3 38s ease-in-out infinite alternate;
}
/* Solo translate (nada de scale): escalar un blur re-rasteriza cada frame y traba el GPU */
@keyframes orbDrift1 { from { transform: translate3d(0,0,0); } to { transform: translate3d(6vw,4vw,0); } }
@keyframes orbDrift2 { from { transform: translate3d(0,0,0); } to { transform: translate3d(-5vw,-3vw,0); } }
@keyframes orbDrift3 { from { transform: translate3d(0,0,0); } to { transform: translate3d(-4vw,5vw,0); } }

/* (El parallax del hero lo suaviza fx.js por interpolación; sin transición CSS
   para no duplicar el suavizado y evitar arrastre.) */

/* ============================================================
   CURSOR DE CONTORNO (sutil, solo el anillo)
   ============================================================ */
.cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: 30px; height: 30px;
  margin: -15px 0 0 -15px;          /* centrado en el punto */
  border: 1.5px solid rgba(220, 232, 255, 0.7);
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(47, 123, 255, 0.25);
  transition: width .22s var(--ease-soft), height .22s var(--ease-soft),
              margin .22s var(--ease-soft), border-color .22s var(--ease-soft),
              opacity .3s var(--ease-soft), box-shadow .22s var(--ease-soft);
  opacity: 0;                        /* aparece al primer movimiento */
  will-change: transform;
  transform: translateZ(0);          /* capa propia de GPU = sin jank */
  backface-visibility: hidden;
}
.cursor-ring.is-active { opacity: 1; }
.cursor-ring.is-hover {
  width: 52px; height: 52px; margin: -26px 0 0 -26px;
  border-color: rgba(120, 180, 255, 0.9);
}
.cursor-ring.is-down { width: 22px; height: 22px; margin: -11px 0 0 -11px; }

/* Con cursor de contorno activo, ocultamos el nativo (solo en mouse fino) */
@media (hover: hover) and (pointer: fine) {
  body.has-cursor-ring,
  body.has-cursor-ring a,
  body.has-cursor-ring button,
  body.has-cursor-ring .panel,
  body.has-cursor-ring .card,
  body.has-cursor-ring .btn { cursor: none; }
  /* el escenario 3D mantiene su grab para que se note que se agarra */
  body.has-cursor-ring .stage3d { cursor: grab; }
  body.has-cursor-ring .stage3d.is-grabbing { cursor: grabbing; }
}

/* Respeto a quien pide menos movimiento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .fx-orbs { display: none; }
  .cursor-ring { display: none; }
}

/* ===== Viñetas del hero ===== */
.hero__points {
  list-style: none;
  margin: 18px 0 26px;
  display: grid;
  gap: 11px;
  max-width: 32rem;
}
.hero__points li {
  position: relative;
  padding-left: 1.7rem;
  color: #d6deee;
  font-size: 1.02rem;
  line-height: 1.5;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}
.hero__subtitle {
  color: #c6d0e2 !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}
/* "e" del logo dentro del título PROTEC */
.protec-word { white-space: nowrap; }
.title-e {
  height: 0.82em;
  width: auto;
  display: inline-block;
  vertical-align: -0.03em;
  margin: 0 0.01em;
}
/* Imagen de producto en el hero (reemplaza el 3D) — se funde con la página */
.hero__stage { position: relative; }
.hero__stage::before {
  content: "";
  position: absolute;
  inset: 4% 6%;
  background: radial-gradient(circle at 50% 46%, rgba(47, 123, 255, 0.30), transparent 62%);
  filter: blur(36px);
  z-index: 0;
  pointer-events: none;
}
.hero__product {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 470px;
  height: auto;
  margin: 0 auto;
  /* glow + profundidad para fundir los bordes en el fondo */
  filter:
    drop-shadow(0 22px 55px rgba(0, 0, 0, 0.50))
    drop-shadow(0 0 60px rgba(47, 123, 255, 0.30))
    drop-shadow(0 0 16px rgba(47, 123, 255, 0.28));
}
/* ===== Marco suave de los paneles (retoque sutil) ===== */
.panel {
  border: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    0 18px 50px rgba(0, 0, 0, 0.42);
}
.panel.is-active {
  box-shadow:
    inset 0 0 0 1px rgba(47, 123, 255, 0.32),
    0 0 30px rgba(47, 123, 255, 0.20),
    0 30px 70px rgba(0, 0, 0, 0.55);
}
/* ===== Pieza promo (imagen vertical fundida) ===== */
.promo-shot {
  margin: 6px auto 30px;
  max-width: 430px;
  text-align: center;
}
.promo-shot img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 26px 64px rgba(0, 0, 0, 0.5));
}
@media (max-width: 560px) {
  .promo-shot { max-width: 320px; }
}

/* ===== Galería de usos reales (grilla 2×2) ===== */
.usos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 720px;
  margin: 34px auto 0;
}
.usos__item {
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    0 18px 50px rgba(0, 0, 0, 0.42);
}
.usos__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-soft);
}
.usos__item:hover img { transform: scale(1.06); }
.usos__item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 18px;
  font-family: var(--font-head, inherit);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: #fff;
  background: linear-gradient(180deg, rgba(5,6,10,0), rgba(5,6,10,0.82));
}
@media (max-width: 560px) {
  .usos-grid { gap: 12px; }
  .usos__item figcaption { padding: 12px 14px; font-size: 0.92rem; }
}
.hero__points li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.42em;
  width: 0.55rem; height: 0.55rem;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 12px var(--accent);
}

/* ===== Figura recortada en el hero ===== */
.hero__figure {
  position: absolute;
  left: 0; bottom: 0;
  height: 66%;
  width: auto;
  max-width: 26%;
  object-fit: contain;
  object-position: left bottom;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
  filter: brightness(0.66) saturate(0.82) contrast(1.03) drop-shadow(0 0 14px rgba(47, 123, 255, 0.18));
  /* solo se funde abajo; arriba apenas el borde para no cortar la cabeza */
  -webkit-mask-image: linear-gradient(to top, transparent 2%, #000 12%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to top, transparent 2%, #000 12%, #000 92%, transparent 100%);
}
.hero__content { position: relative; z-index: 2; }
.hero__stage { position: relative; z-index: 1; }
@media (max-width: 820px) {
  /* en celular el DJ asoma chico en la esquina inferior derecha, sin tapar el texto */
  .hero__figure {
    height: 46%;
    max-width: 52%;
    left: auto;
    right: -4%;
    bottom: 0;
    opacity: 0.7;
    filter: brightness(0.7) saturate(0.8) drop-shadow(0 0 14px rgba(47,123,255,0.25));
  }
}
@media (max-width: 520px) {
  .hero__figure { height: 38%; max-width: 60%; opacity: 0.6; right: -8%; }
}

/* ===== Banners divisores entre secciones ===== */
.band {
  position: relative;
  width: 100%;
  aspect-ratio: 1580 / 450;
  background-size: cover;
  background-position: center;
  margin: 0;
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg) 0%, transparent 8%, transparent 92%, var(--bg) 100%);
  pointer-events: none;
}

/* ============================================================
   AJUSTES FINOS PARA CELULAR
   ============================================================ */
html, body { overflow-x: hidden; max-width: 100%; }
* { min-width: 0; }
img, video { max-width: 100%; height: auto; }

@media (max-width: 520px) {
  /* el botón de compra queda visible en el navbar (es la conversión) */
  .navbar__cta {
    display: inline-flex !important;
    padding: 9px 15px;
    font-size: 0.82rem;
    white-space: nowrap;
  }
  .navbar__inner { gap: 10px; }
  /* títulos largos que no se corten ni desborden */
  .hero__title, .section__title, .panel__title, .cta-final__title {
    overflow-wrap: break-word;
    -webkit-hyphens: none;
    hyphens: none;
  }
  .hero__points li { font-size: 0.95rem; padding-left: 1.45rem; }
  .hero__subtitle { font-size: 1rem; }
  .section__lead { font-size: 0.98rem; }
  /* que el contenido no se pegue a los bordes */
  .cta-final { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 380px) {
  .hero__actions .btn, .cta-final__actions .btn { font-size: 0.95rem; }
}

/* ============================================================
   CARRITO DE COMPRAS (drawer propio, checkout por WhatsApp)
   ============================================================ */
.cart-fab {
  position: fixed;
  right: clamp(18px, 4vw, 34px);
  bottom: calc(clamp(18px, 4vw, 34px) + 74px); /* apilado sobre el botón de WhatsApp */
  z-index: 90;
  width: 60px; height: 60px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, #14203a, #0b1322);
  color: var(--accent-bright);
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(47, 123, 255, 0.28);
  transition: transform .3s var(--ease-soft), box-shadow .3s var(--ease-soft);
}
.cart-fab:hover { transform: scale(1.08); }
.cart-fab.is-filled { box-shadow: var(--glow); }
.cart-fab__badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 22px; height: 22px;
  display: grid; place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 800;
  box-shadow: 0 4px 12px rgba(47, 123, 255, 0.5);
}

.cart-drawer { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.cart-drawer__backdrop {
  position: absolute; inset: 0;
  background: rgba(3, 4, 8, 0.72);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .35s var(--ease-soft);
}
.cart-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(420px, 92vw);
  display: flex; flex-direction: column;
  background: var(--bg-elev);
  border-left: 1px solid var(--line-strong);
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.55);
  transform: translateX(102%);
  transition: transform .45s var(--ease-marvel);
}
.cart-drawer[aria-hidden="false"] { pointer-events: auto; }
.cart-drawer[aria-hidden="false"] .cart-drawer__backdrop { opacity: 1; }
.cart-drawer[aria-hidden="false"] .cart-drawer__panel { transform: translateX(0); }

.cart-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}
.cart-drawer__head h3 { font-family: var(--font-display); font-size: 1.15rem; }
.cart-drawer__x {
  width: 38px; height: 38px;
  border: 1px solid var(--line); border-radius: 50%;
  background: transparent; color: var(--text-dim);
  font-size: 1.3rem; line-height: 1; cursor: pointer;
  transition: color .2s, border-color .2s;
}
.cart-drawer__x:hover { color: var(--text); border-color: var(--line-strong); }

.cart-drawer__body { flex: 1; overflow-y: auto; padding: 24px; }

.cart-empty { text-align: center; padding: 48px 0; color: var(--text-dim); }
.cart-empty .btn { margin-top: 18px; }

.cart-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.cart-item__img {
  width: 64px; height: 64px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  padding: 6px;
}
.cart-item__info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.cart-item__info strong { font-family: var(--font-display); letter-spacing: .04em; }
.cart-item__price { font-size: 0.92rem; color: var(--text-dim); }
.cart-item__price s { color: var(--text-faint); margin-right: 4px; }
.cart-item__off {
  font-style: normal; font-size: 0.7rem; font-weight: 700;
  color: var(--accent-bright);
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  padding: 1px 6px; margin-left: 6px;
  white-space: nowrap;
}
.cart-item__qty {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 6px;
}
.cart-item__qty button {
  width: 28px; height: 28px;
  border: none; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-bright);
  font-size: 1.05rem; font-weight: 700; line-height: 1;
  cursor: pointer;
  transition: background .2s;
}
.cart-item__qty button:hover { background: rgba(47, 123, 255, 0.3); }
.cart-item__qty span { min-width: 20px; text-align: center; font-weight: 600; }

.cart-drawer__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); }
.cart-total { margin-bottom: 16px; }
.cart-total__row {
  display: flex; justify-content: space-between;
  font-size: 0.95rem; color: var(--text-dim);
  padding: 3px 0;
}
.cart-total__row--final {
  margin-top: 8px; padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 700;
}
.cart-checkout { width: 100%; }
.cart-note {
  margin-top: 12px;
  font-size: 0.78rem; color: var(--text-faint);
  text-align: center; line-height: 1.5;
}

body.cart-open { overflow: hidden; }

@media (max-width: 640px) {
  .cart-fab { width: 54px; height: 54px; bottom: calc(clamp(18px, 4vw, 34px) + 66px); }
}

.cart-checkout--alt { width: 100%; margin-top: 10px; font-size: 0.95rem; }
