:root {
  --bg: #060812;
  --bg-2: #0b0f1f;
  --text: #f2f4ff;
  --muted: #8b93b5;
  --line: rgba(255, 255, 255, 0.08);
  --glass: rgba(255, 255, 255, 0.045);
  --glass-strong: rgba(14, 18, 36, 0.72);
  --accent: #6c8cff;
  --accent-2: #59e3ff;
  --accent-3: #b57cff;
  --danger: #ff5d7a;
  --radius-lg: 24px;
  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Sora", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img, video { display: block; max-width: 100%; }

:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }

/* ---------- Fondo ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(108, 140, 255, 0.18), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg) 60%);
}
.bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 20%, transparent 100%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  will-change: transform;
}
.orb-a { width: 520px; height: 520px; left: 50%; top: -140px; margin-left: -260px; background: radial-gradient(circle, var(--accent), transparent 65%); animation: drift 18s var(--ease) infinite alternate; }
.orb-b { width: 380px; height: 380px; right: -80px; top: 260px; background: radial-gradient(circle, var(--accent-2), transparent 65%); opacity: .35; animation: drift 22s var(--ease) infinite alternate-reverse; }
.orb-c { width: 360px; height: 360px; left: -120px; top: 420px; background: radial-gradient(circle, var(--accent-3), transparent 65%); opacity: .3; animation: drift 26s var(--ease) infinite alternate; }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(40px, 60px, 0) scale(1.12); }
}

/* ---------- Navegación ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 40px);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  background: rgba(6, 8, 18, 0.55);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand-logo { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 24px rgba(89, 227, 255, 0.35);
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 9px;
  border-radius: 4px; background: var(--bg);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 70%, 60% 70%, 60% 30%, 0 30%);
}
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--glass); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 56px;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6, 8, 18, 0.82) 0%, rgba(11, 15, 31, 0.62) 45%, rgba(6, 8, 18, 0.8) 80%, var(--bg) 100%),
    radial-gradient(ellipse 80% 70% at 50% 45%, rgba(108, 140, 255, 0.28), transparent 70%);
}
.hero-shade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 40, 120, 0.22);
  mix-blend-mode: multiply;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 880px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8), 0 0 2px rgba(0, 0, 0, 0.9);
}
.hero-inner .btn { text-shadow: none; }
.hero-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 12px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 26px rgba(38, 255, 120, 0.4));
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(6, 8, 18, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 13px;
  color: #dfe4ff;
  text-shadow: none;
  margin-bottom: 24px;
}
.hero-tag .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #34f08a;
  box-shadow: 0 0 0 4px rgba(52, 240, 138, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(52, 240, 138, 0.05); } }

.hero h1 {
  margin: 0;
  font-size: clamp(40px, 8vw, 92px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  color: #ffffff;
}
.hero h2 {
  margin: 14px 0 0;
  font-size: clamp(17px, 2.6vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #c9d1ff;
}
.hero .slogan {
  margin: 22px auto 0;
  font-size: clamp(24px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, var(--accent-2), var(--accent), var(--accent-3));
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
  text-shadow: none;
  filter: drop-shadow(0 3px 14px rgba(0, 0, 0, 0.85));
}
.hero p {
  max-width: 600px;
  margin: 18px auto 0;
  color: #eef0ff;
  font-size: clamp(15px, 1.6vw, 18px);
}
/* Redes sociales */
.social { margin: 22px auto 0; }
.social-title { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #c9d1ff; margin-bottom: 12px; }
.social-row { display: flex; justify-content: center; gap: 12px; flex-wrap: nowrap; }
.soc {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid; place-items: center;
  font-size: 24px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(6, 8, 18, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.18);
  opacity: 0;
  transform: translateY(16px) scale(.8);
  transition: transform .4s var(--ease);
}
.loaded .soc { animation: soc-in .9s var(--ease) forwards; }
.loaded .soc:nth-child(1) { animation-delay: .75s; }
.loaded .soc:nth-child(2) { animation-delay: .85s; }
.loaded .soc:nth-child(3) { animation-delay: .95s; }
.loaded .soc:nth-child(4) { animation-delay: 1.05s; }
.loaded .soc:nth-child(5) { animation-delay: 1.15s; }
@keyframes soc-in { 60% { opacity: 1; transform: translateY(-6px) scale(1.08); } 100% { opacity: 1; transform: none; } }
.soc:hover { transform: translateY(-4px) scale(1.06) !important; }
.soc-wa { background: linear-gradient(135deg, #2be06e, #17b854); color: #04200e; box-shadow: 0 10px 26px rgba(37,211,102,.4), inset 0 1px 0 rgba(255,255,255,.4); }
.soc-ig { background: linear-gradient(45deg, #f9ce34, #ee2a7b 50%, #6228d7); box-shadow: 0 10px 26px rgba(238,42,123,.4), inset 0 1px 0 rgba(255,255,255,.35); }
.soc-fb { background: linear-gradient(135deg, #3b82f6, #1d4ed8); box-shadow: 0 10px 26px rgba(59,130,246,.45), inset 0 1px 0 rgba(255,255,255,.35); }
.soc-tt { background: linear-gradient(135deg, #1a1a1a, #000); border-color: rgba(255,255,255,.35); box-shadow: 0 10px 26px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.2), 0 0 18px rgba(105,201,208,.35); }
.soc-x { background: linear-gradient(135deg, #2a2a2a, #0a0a0a); border-color: rgba(255,255,255,.35); box-shadow: 0 10px 26px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.2); }

.hero-cta {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll { margin-top: 26px; font-size: 14px; }
.hero-scroll a { color: #b9c4ff; opacity: .9; border-bottom: 1px solid rgba(185, 196, 255, .4); padding-bottom: 2px; }
.hero-scroll a:hover { opacity: 1; }

/* Botones — estilo gaming/premium */
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 10px 30px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.12);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), filter .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.96); transition-duration: .12s; }

/* Esquinas técnicas (marcas tipo HUD) */
.btn::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 9px;
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(currentColor, currentColor) top left / 10px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) top left / 1.5px 10px no-repeat,
    linear-gradient(currentColor, currentColor) bottom right / 10px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) bottom right / 1.5px 10px no-repeat;
  opacity: .45;
}

/* Destello diagonal que recorre el botón */
.btn::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 55%; height: 100%;
  z-index: 1;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,.5) 50%, transparent 80%);
  transform: skewX(-20deg);
  animation: sheen 5s var(--ease) infinite;
  pointer-events: none;
}
@keyframes sheen {
  0% { left: -80%; }
  35%, 100% { left: 150%; }
}
.btn > * { position: relative; z-index: 3; }

.btn-primary {
  border-color: rgba(190, 210, 255, 0.5);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04101c;
  box-shadow: 0 8px 30px rgba(89, 227, 255, 0.28), inset 0 1px 0 rgba(255,255,255,.5);
}

/* Blanco con borde negro: Registrarme */
.btn-white {
  border: 2px solid #0a0a0a;
  background: linear-gradient(180deg, #ffffff 0%, #e9edff 100%);
  color: #0a0a0a;
  box-shadow: 0 10px 30px rgba(0,0,0,.45), inset 0 1px 0 #fff, inset 0 -2px 0 rgba(0,0,0,.08), 0 0 0 3px rgba(255,255,255,.12);
}
.btn-white::after { animation-delay: 1.2s; }
.btn-white:hover { box-shadow: 0 16px 40px rgba(255,255,255,.25), inset 0 1px 0 #fff, 0 0 0 5px rgba(255,255,255,.14); }

/* Verde WhatsApp con borde negro */
.btn-wa {
  border: 2px solid #0a0a0a;
  background: linear-gradient(135deg, #2be06e 0%, #17b854 100%);
  color: #04200e;
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.45), inset 0 1px 0 rgba(255,255,255,.4), inset 0 -2px 0 rgba(0,0,0,.18), 0 0 0 3px rgba(37, 211, 102, 0.18);
  animation: breathe-wa 3.2s ease-in-out infinite;
}
.btn-wa .ico { font-size: 22px; line-height: 1; flex: none; filter: drop-shadow(0 1px 0 rgba(255,255,255,.35)); }
.btn-wa:hover { filter: brightness(1.06); }
@keyframes breathe-wa {
  0%, 100% { box-shadow: 0 12px 36px rgba(37, 211, 102, 0.45), inset 0 1px 0 rgba(255,255,255,.4), inset 0 -2px 0 rgba(0,0,0,.18), 0 0 0 3px rgba(37, 211, 102, 0.18); }
  50% { box-shadow: 0 14px 52px rgba(37, 211, 102, 0.75), inset 0 1px 0 rgba(255,255,255,.4), inset 0 -2px 0 rgba(0,0,0,.18), 0 0 0 6px rgba(37, 211, 102, 0.1); }
}

/* Azul: cómo generar ingresos / descargar */
.btn-blue {
  border: 1px solid rgba(190, 220, 255, 0.75);
  background: linear-gradient(135deg, #4f7bff 0%, #59e3ff 100%);
  color: #04101c;
  box-shadow: 0 12px 36px rgba(89, 227, 255, 0.35), inset 0 1px 0 rgba(255,255,255,.55), inset 0 -2px 0 rgba(0,0,0,.15), 0 0 0 3px rgba(89, 227, 255, 0.14);
  animation: breathe-blue 3.6s ease-in-out infinite;
}
.btn-blue::after { animation-delay: 2.4s; }
.btn-blue:hover { filter: brightness(1.05); }
@keyframes breathe-blue {
  0%, 100% { box-shadow: 0 12px 36px rgba(89, 227, 255, 0.35), inset 0 1px 0 rgba(255,255,255,.55), inset 0 -2px 0 rgba(0,0,0,.15), 0 0 0 3px rgba(89, 227, 255, 0.14); }
  50% { box-shadow: 0 14px 52px rgba(89, 227, 255, 0.6), inset 0 1px 0 rgba(255,255,255,.55), inset 0 -2px 0 rgba(0,0,0,.15), 0 0 0 6px rgba(89, 227, 255, 0.08); }
}

/* Verde y dorado (se mantienen por compatibilidad) */
.btn-green { border: 1px solid rgba(180,255,210,.7); background: linear-gradient(135deg,#1fd66c,#6cf5a5); color:#04160b; box-shadow: 0 10px 34px rgba(38,225,120,.38), inset 0 1px 0 rgba(255,255,255,.55); }
.btn-gold { border: 1px solid rgba(255,240,200,.75); background: linear-gradient(135deg,#ffb340,#ffe08a); color:#2a1700; box-shadow: 0 10px 34px rgba(255,179,64,.35), inset 0 1px 0 rgba(255,255,255,.6); }

/* Botón de la barra superior */
.nav-btn {
  position: relative;
  background: linear-gradient(180deg, #fff, #e9edff) !important;
  color: #0a0a0a !important;
  border: 2px solid #0a0a0a;
  border-radius: 10px !important;
  font-weight: 700 !important;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 12px !important;
  padding: 7px 14px !important;
  box-shadow: 0 4px 16px rgba(0,0,0,.4), inset 0 1px 0 #fff, 0 0 0 2px rgba(255,255,255,.12);
  transition: transform .3s var(--ease), box-shadow .3s !important;
}
.nav-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(255,255,255,.25), inset 0 1px 0 #fff, 0 0 0 3px rgba(255,255,255,.16); }
.nav-btn:active { transform: scale(.96); }

.hero .btn:not(.btn-primary):not(.btn-gold):not(.btn-green):not(.btn-wa):not(.btn-blue):not(.btn-white) {
  background: rgba(6, 8, 18, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: rgba(255,255,255,.22);
}

/* Secuencia de entrada (una sola, al cargar) */
.reveal { opacity: 0; transform: translateY(28px) scale(.98); filter: blur(10px); }
.loaded .reveal { animation: rise 1.2s var(--ease) forwards; }
.loaded .reveal[data-d="1"] { animation-delay: .05s; }
.loaded .reveal[data-d="2"] { animation-delay: .2s; }
.loaded .reveal[data-d="3"] { animation-delay: .35s; }
.loaded .reveal[data-d="4"] { animation-delay: .5s; }
.loaded .reveal[data-d="5"] { animation-delay: .65s; }
.loaded .reveal[data-d="6"] { animation-delay: .8s; }
.loaded .reveal[data-d="7"] { animation-delay: .95s; }
@keyframes rise { to { opacity: 1; transform: none; filter: blur(0); } }

/* Etiquetas */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.tag-green { color: #6cf5a5; border-color: rgba(108, 245, 165, 0.35); background: rgba(38, 225, 120, 0.1); }
.tag-gold { color: #ffd166; border-color: rgba(255, 209, 102, 0.35); background: rgba(255, 179, 64, 0.1); }
.tag-blue { color: #8fd4ff; border-color: rgba(143, 212, 255, 0.35); background: rgba(89, 227, 255, 0.1); }

/* Título en forma de insignia */
.title-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 14px 30px;
  border-radius: 16px;
  font-size: clamp(20px, 2.8vw, 28px) !important;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 16px 40px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.14), 0 0 0 4px rgba(108,140,255,.06);
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.title-badge::before, .title-badge::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 0 12px rgba(89,227,255,.8);
  flex: none;
}
.section-head {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin-bottom: 28px;
}
.section-head .count { font-size: 13px; }

/* ---------- Secciones de galería ---------- */
.section {
  padding: 40px clamp(16px, 4vw, 40px) 60px;
  max-width: 1320px;
  margin: 0 auto;
  scroll-margin-top: 80px;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.section-head h3 {
  margin: 0;
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.035em;
}
.section-head .count {
  color: var(--muted);
  font-size: 14px;
}

.segmented {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  position: relative;
}
.segmented button {
  position: relative;
  z-index: 1;
  padding: 9px 20px;
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: color .25s;
}
.segmented button.active { color: var(--text); }
.segmented .thumb {
  position: absolute;
  top: 4px; bottom: 4px; left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  transition: transform .45s var(--ease);
}
.segmented[data-active="video"] .thumb { transform: translateX(100%); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 18px;
}

.card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--glass);
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px);
  transition: transform .5s var(--ease), border-color .3s, box-shadow .5s var(--ease), opacity .5s;
}
.card.in { opacity: 1; transform: none; }
.card:hover {
  border-color: rgba(108, 140, 255, 0.45);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(108, 140, 255, 0.2);
}
.card-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #0c1024;
  cursor: zoom-in;
  overflow: hidden;
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.card:hover .card-media img { transform: scale(1.04); }
.card-media.is-video { cursor: pointer; }
.card-media.playing { cursor: default; background: #000; }
.card-media.playing video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.card-body.only-dl { justify-content: center; }
.card-body.only-dl .dl { width: 100%; justify-content: center; }
.card-media .placeholder {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  color: var(--muted);
}
.play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  pointer-events: none;
}
.play span {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(6, 8, 18, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  transition: transform .4s var(--ease);
}
.card:hover .play span { transform: scale(1.08); }
.card-body {
  padding: 14px 14px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card-title {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-meta { color: var(--muted); font-size: 12px; margin-top: 2px; }
.dl {
  position: relative;
  flex: none;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(190, 220, 255, 0.7);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04101c;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(89, 227, 255, 0.25), inset 0 1px 0 rgba(255,255,255,.5), inset 0 -2px 0 rgba(0,0,0,.15);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.dl::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,.5) 50%, transparent 80%);
  transform: skewX(-20deg); pointer-events: none;
}
.dl:hover { box-shadow: 0 10px 28px rgba(89, 227, 255, 0.45), inset 0 1px 0 rgba(255,255,255,.5), inset 0 -2px 0 rgba(0,0,0,.15); transform: translateY(-1px); }
.dl:hover::after { animation: sheen 1.1s var(--ease) 1; }
.dl:active { transform: scale(.95); }

.more { display: flex; justify-content: center; margin-top: 22px; }
.more:empty { display: none; }
.more-btn { min-width: 220px; }
.more-count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: rgba(4,16,28,.25); font-size: 12px; }
.grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.empty {
  grid-column: 1 / -1;
  padding: 60px 20px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.skeleton {
  border-radius: var(--radius);
  aspect-ratio: 4 / 5.6;
  background: linear-gradient(90deg, var(--glass) 25%, rgba(255,255,255,.08) 50%, var(--glass) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}

/* ---------- Testimonios ---------- */
.testi { padding-top: 60px; }
.testi-sub { margin: 10px auto 0; color: var(--muted); font-size: 15px; max-width: 520px; }
.marquee {
  position: relative;
  overflow: hidden;
  padding: 14px 0 20px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.tcard {
  position: relative;
  width: 340px;
  flex: none;
  border-radius: 22px;
  padding: 22px 22px 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025));
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 50px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform .5s var(--ease), border-color .3s;
}
.tcard:hover { transform: translateY(-4px); border-color: rgba(37, 211, 102, 0.45); }
.tcard::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; opacity: .7;
  background: linear-gradient(135deg, rgba(37,211,102,.5), rgba(255,255,255,.04) 45%, rgba(108,140,255,.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.tcard-top { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-weight: 700; font-size: 15px; color: #04160b;
  background: linear-gradient(135deg, #2be06e, #59e3ff);
  box-shadow: 0 0 0 3px rgba(43,224,110,.2);
}
.tname { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.tname strong { font-size: 15px; letter-spacing: -0.01em; }
.verified { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: #7dffb0; margin-top: 2px; }
.verified svg { width: 15px; height: 15px; color: #2be06e; filter: drop-shadow(0 0 6px rgba(43,224,110,.6)); }
.stars { color: #ffd166; font-size: 13px; letter-spacing: 1px; flex: none; text-shadow: 0 0 10px rgba(255,209,102,.5); }
.tcard p { margin: 16px 0 0; color: #d6dbf3; font-size: 14.5px; line-height: 1.65; min-height: 96px; }
.tcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.tamt { font-weight: 700; font-size: 20px; letter-spacing: -0.03em; background: linear-gradient(180deg, #fff1c4, #ffb340); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ttag { font-size: 12px; color: var(--muted); padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); }
@media (max-width: 640px) {
  .title-badge { padding: 12px 18px; font-size: 18px !important; gap: 9px; }
  .title-badge::before, .title-badge::after { width: 6px; height: 6px; }
  .tcard { width: 290px; padding: 18px 18px 16px; }
  .marquee-track { animation-duration: 40s; }
  .hide-m { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track .tcard:nth-child(n+5) { display: none; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  padding: 20px;
  background: rgba(3, 4, 10, 0.86);
  backdrop-filter: blur(18px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox-inner {
  max-width: min(1100px, 96vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: scale(.94);
  transition: transform .45s var(--ease);
}
.lightbox.open .lightbox-inner { transform: none; }
.lightbox-media { border-radius: var(--radius); overflow: hidden; background: #000; max-height: 76vh; }
.lightbox-media img, .lightbox-media video { max-height: 76vh; width: auto; max-width: 100%; margin: 0 auto; }
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lightbox-close {
  position: absolute; top: 18px; right: 18px;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--glass);
  color: var(--text); font-size: 20px; cursor: pointer;
}

/* ---------- Términos y pie ---------- */
.terms {
  max-width: 900px;
  margin: 30px auto 0;
  padding: 0 clamp(16px, 4vw, 40px);
}
.terms-box {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--glass);
  padding: clamp(22px, 4vw, 36px);
}
.terms-box { text-align: center; }
.terms-box h4 { margin: 0 0 16px; }
.terms-box p { text-align: left; }
.terms-box p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.footer {
  margin-top: 60px;
  padding: 30px clamp(16px, 4vw, 40px) 40px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.footer strong { color: var(--text); }

.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 200;
  transform: translate(-50%, 20px);
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--glass-strong);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  font-size: 14px;
  opacity: 0;
  transition: opacity .3s, transform .5s var(--ease);
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 640px) {
  .nav { padding: 10px 12px; }
  .brand { font-size: 14px; gap: 7px; }
  .brand-logo { width: 30px; height: 30px; }
  .nav-links { gap: 2px; }
  .nav-links a { padding: 6px 8px; font-size: 12.5px; }
  .nav-btn { padding: 6px 10px !important; font-size: 12.5px; }
  .hero { padding: 8px 18px 40px; }
  .hero-video video { object-position: center 35%; }
  .hero-logo { width: 96px; height: 96px; margin-bottom: 10px; }
  .hero-tag { font-size: 12px; margin-bottom: 18px; }
  .hero h1 { font-size: clamp(38px, 12vw, 54px); }
  .hero h2 { font-size: 17px; }
  .hero .slogan { font-size: 26px; }
  .social { margin-top: 18px; }
  .soc { width: 46px; height: 46px; font-size: 21px; border-radius: 14px; }
  .social-row { gap: 9px; }
  .hero p { font-size: 15px; }
  .hero-cta { flex-direction: column; align-items: stretch; margin-top: 24px; }
  .hero-cta .btn { width: 100%; padding: 15px 18px; font-size: 13px; }
  .grid { gap: 12px; grid-template-columns: repeat(2, 1fr); }
  .card-body { flex-direction: column; align-items: stretch; }
  .dl { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .card { opacity: 1; transform: none; filter: none; }
  .btn-green, .btn-green::after, .btn-gold::after, .btn-wa::after, .btn-blue::after { animation: none; }
}
