/* ========================================
   RRUVIT — Dark Theme
======================================== */

:root {
  --sky-light: #e8f1fa;
  --sky-mid:   #b8d4ec;
  --sky-blue:  #6ba3d4;
  --sky-deep:  #2c4f72;

  /* Azul cielo nocturno (oscuro) */
  --bg-primary:   #07112e;
  --bg-secondary: #0e1d4a;
  --bg-tertiary:  #142a66;
  --bg-card:      #0f1f44;
  --bg-card-alt:  #16285a;

  --night:      #0a1638;
  --night-soft: #1a2c5e;

  --sun:    #f4a460;
  --sunset: #e8826a;

  --ink:       #e2e8f4;
  --ink-soft:  #7a90b0;
  --ink-muted: #3d4f6a;
  --line:      rgba(255,255,255,0.07);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  /* Cielo nocturno azul oscuro con suaves variaciones */
  background:
    radial-gradient(ellipse 1200px 700px at 80% 10%, rgba(82, 130, 220, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 900px 600px at 10% 60%, rgba(60, 100, 200, 0.14) 0%, transparent 70%),
    linear-gradient(180deg, #050d24 0%, var(--bg-primary) 30%, var(--bg-secondary) 70%, var(--bg-tertiary) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Capa fija de estrellas */
.stars-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

a { text-decoration: none; color: inherit; }
button { background: none; border: none; cursor: pointer; font-family: inherit; }
ul { list-style: none; }
em { font-style: italic; font-family: 'Fraunces', serif; }

/* ========================================
   AMBIENT GLOW
======================================== */
.cloud-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Nubes nocturnas tenues — luminosas pero suaves para no robar protagonismo */
.cloud {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  background: radial-gradient(ellipse at center,
    rgba(180, 210, 255, 0.55) 0%,
    rgba(120, 160, 230, 0.35) 35%,
    rgba(80, 110, 180, 0.18) 65%,
    rgba(40, 60, 110, 0) 100%);
  opacity: 0.55;
  mix-blend-mode: screen;
}

.cloud-1 { width: 620px; height: 280px; top: 8%; left: -10%; opacity: 0.6; animation: drift 140s linear infinite; }
.cloud-2 { width: 540px; height: 240px; top: 38%; right: -12%; opacity: 0.45; animation: drift-reverse 170s linear infinite; }
.cloud-3 { width: 720px; height: 280px; bottom: 22%; left: 6%; opacity: 0.5; animation: drift 190s linear infinite; }
.cloud-4 { width: 420px; height: 200px; top: 65%; right: 8%; opacity: 0.4; animation: drift-reverse 150s linear infinite; }
.cloud-5 { width: 520px; height: 220px; bottom: 4%; left: -4%; opacity: 0.45; animation: drift 160s linear infinite; }

@keyframes drift {
  from { transform: translateX(-100px); }
  to   { transform: translateX(calc(100vw + 100px)); }
}
@keyframes drift-reverse {
  from { transform: translateX(100px); }
  to   { transform: translateX(calc(-100vw - 100px)); }
}

/* ========================================
   NAV
======================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  background: rgba(8,12,24,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-logo {
  font-family: 'Alte Haas Grotesk', 'Inter', sans-serif;
  font-size: 26px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--ink); }

.nav-social {
  background: rgba(255,255,255,0.08) !important;
  color: var(--ink) !important;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px !important;
  border: 1px solid rgba(255,255,255,0.12);
  transition: background 0.2s !important;
}

.nav-social:hover {
  background: rgba(255,255,255,0.15) !important;
  color: #fff !important;
}

@media (max-width: 768px) {
  .nav { padding: 14px 20px; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%; right: 0; left: 0;
    flex-direction: column;
    background: rgba(8,12,24,0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transform: translateY(-200%);
    transition: transform 0.3s;
    align-items: flex-start;
  }
  .nav-links.open { transform: translateY(0); }
}

/* ========================================
   HERO
======================================== */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 120px 48px 80px;
  max-width: 1280px;
  margin: 0 auto;
}

.hero-content {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--sky-blue);
  background: rgba(107,163,212,0.08);
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid rgba(107,163,212,0.2);
  margin-bottom: 32px;
  animation: fadeUp 0.8s ease both;
}

.hero h1 {
  font-family: 'Alte Haas Grotesk', 'Inter', sans-serif;
  font-size: clamp(32px, 4.5vw, 62px);
  line-height: 1.0;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  animation: fadeUp 0.8s 0.1s ease both;
}

.hero h1 em {
  font-family: 'Alte Haas Grotesk', 'Inter', sans-serif;
  background: linear-gradient(135deg, #8fc3f0, #4a8ed4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
  font-style: italic;
  /* Evita que la cursiva sintetizada quede recortada por el clip de texto */
  display: inline-block;
  padding-right: 0.12em;
  margin-right: -0.04em;
}

.hero-sub {
  margin-top: 28px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 460px;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-sub strong { color: var(--ink); font-weight: 700; }

.hero-cta {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.3s ease both;
}

/* ── Foto de perfil en el hero — círculo pfp ── */
.hero-photo {
  flex-shrink: 0;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(140, 190, 240, 0.35);
  box-shadow:
    0 0 0 8px rgba(107,163,212,0.07),
    0 0 0 16px rgba(107,163,212,0.03),
    0 24px 60px rgba(0,0,0,0.55);
  animation: fadeUp 1s 0.4s ease both;
  position: relative;
  background: linear-gradient(160deg, #4a90d9 0%, #1a4570 100%);
}

/* Encuadre: cabeza + sudadera GUESS con cielo de fondo */
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transform: scale(1.15);
  transform-origin: center 42%;
  display: block;
  transition: opacity 0.4s;
  position: relative;
  z-index: 1;
}

.scroll-down {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-down span {
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.3);
  border-radius: 4px;
  animation: scroll-bounce 1.6s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.3; }
}

/* ── Nube 3D como CTA inline (sustituye al botón "Ver mi trabajo") ── */
.hero-cloud-wrap {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 130px;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  filter: drop-shadow(0 10px 24px rgba(82, 130, 220, 0.25));
  animation: cloudFloat 6s ease-in-out infinite;
  transition: filter 0.25s ease;
}

.hero-cloud-wrap:hover {
  filter: drop-shadow(0 14px 32px rgba(140, 190, 240, 0.45));
}

.hero-cloud-wrap canvas {
  width: 100%;
  height: 105px;
  display: block;
}

.cloud-cta-label {
  margin-top: -6px;
  font-family: 'Alte Haas Grotesk', 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(220, 235, 255, 0.9);
  text-shadow: 0 0 12px rgba(140, 190, 240, 0.5);
  pointer-events: none;
}

@keyframes cloudFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@media (max-width: 960px) {
  .hero { gap: 40px; padding: 120px 32px 80px; }
  .hero-photo { width: 200px; height: 200px; }
}

@media (max-width: 700px) {
  .hero { flex-direction: column; align-items: flex-start; gap: 32px; }
  .hero-photo { width: 140px; height: 140px; align-self: flex-start; }
  .hero-cloud-wrap { width: 150px; height: 110px; }
  .hero-cloud-wrap canvas { height: 90px; }
}

/* ========================================
   BOTONES
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 100px;
  transition: all 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: #fff;
  color: #080c18;
}

.btn-primary:hover {
  background: var(--sky-blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(107,163,212,0.25);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--ink);
  border: 1px solid rgba(255,255,255,0.12);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--sky-blue);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--sun);
  color: #080c18;
  font-weight: 700;
}

.btn-dark:hover {
  background: var(--sunset);
  color: #fff;
}

.btn-sm { padding: 10px 20px; font-size: 13px; }

/* ── Botón "Comprar presets" — cápsula flotante con halo + estrella fugaz ── */
.btn-cloud {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  color: var(--ink);
  animation: btnCloudFloat 6s ease-in-out infinite;
  transition: transform 0.35s ease, filter 0.35s ease;
}

/* Cápsula con glassmorphism */
.btn-cloud-inner {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(235, 245, 255, 0.96);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.05) 100%),
    rgba(20, 38, 80, 0.35);
  border: 1px solid rgba(180, 215, 255, 0.28);
  border-radius: 100px;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 8px 22px rgba(8, 18, 42, 0.45),
    0 2px 6px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.btn-cloud-spark {
  font-size: 12px;
  color: #cbe2ff;
  text-shadow: 0 0 8px rgba(140, 190, 240, 0.8);
}

/* Halo azul detrás del botón */
.btn-cloud-halo {
  position: absolute;
  z-index: 1;
  inset: -22px -34px;
  border-radius: 100px;
  background: radial-gradient(ellipse at center,
    rgba(120, 175, 240, 0.55) 0%,
    rgba(82, 130, 220, 0.30) 35%,
    rgba(60, 100, 200, 0.12) 60%,
    rgba(40, 70, 140, 0) 80%);
  filter: blur(18px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  opacity: 0.85;
}

/* Hover: glow más fuerte y subida sutil */
.btn-cloud:hover {
  transform: translateY(-3px);
}

.btn-cloud:hover .btn-cloud-inner {
  border-color: rgba(180, 215, 255, 0.55);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.20) 0%, rgba(255,255,255,0.08) 100%),
    rgba(30, 60, 120, 0.45);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 14px 34px rgba(82, 130, 220, 0.55),
    0 0 0 1px rgba(180, 215, 255, 0.15),
    0 0 28px rgba(140, 190, 240, 0.45);
}

.btn-cloud:hover .btn-cloud-halo {
  opacity: 1;
  transform: scale(1.12);
}

.btn-cloud:active {
  transform: translateY(-1px);
}

@keyframes btnCloudFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

@media (prefers-reduced-motion: reduce) {
  .btn-cloud { animation: none; }
}

/* ========================================
   SECTIONS
======================================== */
.section {
  position: relative;
  z-index: 1;
  padding: 120px 32px;
  max-width: 1280px;
  margin: 0 auto;
}

.section-light {
  /* Sin fondo opaco — deja ver el cielo de estrellas detrás */
  background: transparent;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 32px;
}

.section-head {
  margin-bottom: 64px;
  max-width: 720px;
}

.section-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--sky-blue);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-head h2 {
  font-family: 'Alte Haas Grotesk', 'Inter', sans-serif;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.section-head h2 em {
  font-family: 'Alte Haas Grotesk', 'Inter', sans-serif;
  font-weight: 400;
  font-style: italic;
  background: linear-gradient(135deg, #9dcdf0, #4a8ed4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Evita que la última letra italic se corte */
  display: inline-block;
  padding-right: 0.14em;
  margin-right: -0.06em;
}

.section-head p {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.section-head p em {
  font-family: 'Fraunces', serif;
  background: linear-gradient(135deg, #9dcdf0, #4a8ed4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  font-weight: 500;
  display: inline-block;
  padding-right: 0.08em;
  margin-right: -0.03em;
}

/* "tuyas" mucho más grande que el resto de la descripción */
.section-head p .presets-lead-big {
  font-family: 'Alte Haas Grotesk', 'Inter', sans-serif;
  font-size: 2em;
  font-weight: 400;
  line-height: 0.9;
  vertical-align: -0.12em;
  letter-spacing: -0.01em;
  padding-right: 0.12em;
  margin-right: -0.05em;
}

/* ========================================
   PORTAFOLIO
======================================== */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.work-item {
  background: var(--bg-card);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
  display: block;
}

.work-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  border-color: rgba(107,163,212,0.2);
}

.work-thumb {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: rgba(255,255,255,0.95);
  background: rgba(8,12,24,0.45);
  opacity: 0;
  transition: opacity 0.3s;
}

.work-item:hover .play-icon { opacity: 1; }

/* Gradientes de fallback por si no hay imagen */
.work-color-1 { background-color: #1a0a08; background-image: linear-gradient(135deg, #c0392b, #e74c3c, #f39c12); }
.work-color-2 { background-color: #0e0818; background-image: linear-gradient(135deg, #6c3483, #9b59b6, #2980b9); }
.work-color-3 { background-color: #071810; background-image: linear-gradient(135deg, #1a5276, #2ecc71, #1abc9c); }
.work-color-4 { background-color: #060e1a; background-image: linear-gradient(135deg, #1a3a6b, #2980b9, #5dade2); }
.work-color-5 { background-color: #080c14; background-image: linear-gradient(135deg, #1c2833, #2c3e50, #6ba3d4); }
.work-color-6 { background-color: #120e04; background-image: linear-gradient(135deg, #7d6608, #f4d03f, #f39c12); }

.work-info { padding: 20px 24px; }

.work-info h4 {
  font-family: 'Alte Haas Grotesk', 'Inter', sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.work-meta {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
}

/* Botón admin */
.admin-hint {
  margin-top: 40px;
  text-align: center;
}

.admin-trigger {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  text-transform: uppercase;
  padding: 8px 20px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 100px;
  transition: all 0.2s;
  cursor: pointer;
}

.admin-trigger:hover {
  color: var(--sky-blue);
  border-color: rgba(107,163,212,0.3);
}

/* ========================================
   YOUTUBE
======================================== */
.yt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 640px) { .yt-grid { grid-template-columns: 1fr; } }

.yt-card {
  background: var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  display: block;
}

.yt-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  border-color: rgba(107,163,212,0.2);
}

.yt-card .yt-thumb {
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-card-alt);
  position: relative;
}

.yt-card .yt-thumb::after {
  content: '▶';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  color: rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.3s;
  text-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.yt-card:hover .yt-thumb::after { opacity: 1; }

.yt-text { padding: 18px 20px; }

.yt-text h4 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yt-text .yt-date {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 500;
}

.yt-card.skeleton .yt-thumb {
  background: linear-gradient(90deg, #0f1628 0%, #17213e 50%, #0f1628 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.yt-card.skeleton .yt-text {
  height: 60px;
  background: linear-gradient(90deg, #0f1628 0%, #17213e 50%, #0f1628 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.yt-error {
  grid-column: 1 / -1;
  padding: 48px;
  text-align: center;
  background: var(--bg-card);
  border-radius: 20px;
  color: var(--ink-soft);
  font-size: 15px;
  border: 1px dashed rgba(107,163,212,0.2);
}

.yt-error code {
  background: rgba(107,163,212,0.1);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--sky-blue);
}

.yt-cta { text-align: center; margin-top: 48px; }

/* ========================================
   PRESETS
======================================== */
.preset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.preset-card {
  background: var(--bg-card);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
}

.preset-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  border-color: rgba(107,163,212,0.2);
}

.preset-card.featured { border: 2px solid var(--sun); }

.preset-tag {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--sun);
  color: #080c18;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 100px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(244,164,96,0.4);
}

.preset-visual {
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.visual-label {
  font-family: 'Alte Haas Grotesk', 'Inter', sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  text-align: center;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
  position: relative;
  z-index: 2;
}

.visual-cinematic { background: linear-gradient(135deg, #2c4f72 0%, #6ba3d4 50%, #f4a460 100%); }
.visual-reels     { background: linear-gradient(135deg, #e8826a 0%, #f4a460 100%); }
.visual-music     { background: linear-gradient(135deg, #6ba3d4 0%, #b8d4ec 100%); }

/* ── Cielo azul ULTRA realista con nubes ── */
.visual-sky {
  background:
    /* Nubes principales con luz superior y sombra inferior */
    radial-gradient(ellipse 95px 38px at 18% 30%, rgba(255,255,255,1) 0%, rgba(255,255,255,0.92) 40%, rgba(255,255,255,0) 75%),
    radial-gradient(ellipse 70px 28px at 26% 28%, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 75%),
    radial-gradient(ellipse 60px 22px at 11% 33%, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0) 75%),
    radial-gradient(ellipse 85px 30px at 22% 38%, rgba(180,210,235,0.55) 0%, rgba(180,210,235,0) 75%),

    radial-gradient(ellipse 130px 50px at 75% 62%, rgba(255,255,255,1) 0%, rgba(255,255,255,0.92) 35%, rgba(255,255,255,0) 75%),
    radial-gradient(ellipse 90px 36px at 85% 58%, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 75%),
    radial-gradient(ellipse 70px 28px at 65% 65%, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 75%),
    radial-gradient(ellipse 120px 38px at 78% 70%, rgba(170,200,225,0.5) 0%, rgba(170,200,225,0) 75%),

    radial-gradient(ellipse 80px 28px at 48% 88%, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0) 75%),
    radial-gradient(ellipse 60px 22px at 40% 92%, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0) 75%),

    radial-gradient(ellipse 50px 18px at 92% 22%, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 75%),
    radial-gradient(ellipse 40px 14px at 5% 70%, rgba(255,255,255,0.65) 0%, rgba(255,255,255,0) 75%),

    /* Cielo: degradado realista del azul más intenso arriba al claro abajo */
    linear-gradient(180deg,
      #4ba3e8 0%,
      #67b8ee 22%,
      #87cef5 48%,
      #aedef9 72%,
      #d2ecfc 100%
    );
  position: relative;
  overflow: hidden;
}

/* Brillo solar sutil en la esquina superior */
.visual-sky::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 220px at 88% 12%, rgba(255,250,230,0.35) 0%, rgba(255,250,230,0) 65%);
  pointer-events: none;
}

/* Visual con imagen real (sustituye al cielo CSS) */
.visual-photo {
  position: relative;
  background: linear-gradient(135deg, #4ba3e8 0%, #aedef9 100%);
}

.visual-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.visual-photo .visual-label {
  color: #0a1228;
  text-shadow: 0 1px 0 rgba(255,255,255,0.7), 0 2px 14px rgba(255,255,255,0.55);
  font-weight: 700;
  position: relative;
  z-index: 3;
}

/* Tagline debajo del grid de presets */
.preset-tagline {
  margin: 36px auto 0;
  max-width: 720px;
  text-align: center;
  font-family: 'Alte Haas Grotesk', 'Inter', sans-serif;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.preset-tagline em {
  font-family: 'Alte Haas Grotesk', 'Inter', sans-serif;
  background: linear-gradient(135deg, #9dcdf0, #4a8ed4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
  font-style: italic;
  display: inline-block;
  padding-right: 0.12em;
  margin-right: -0.04em;
}

/* Grid con una sola tarjeta centrada */
.preset-single {
  max-width: 420px;
}

/* Texto "Próximamente" en preset — specificity alta para ganar a .preset-body > p */
.preset-body .preset-coming {
  font-family: 'Alte Haas Grotesk', 'Inter', sans-serif;
  font-size: 24px !important;
  font-style: italic;
  font-weight: 400;
  color: var(--ink-soft);
  margin-top: 4px;
  margin-bottom: 0;
  line-height: 1.3;
}

/* Etiqueta "rruvit presets" sobre el cielo — texto negro */
.visual-sky .visual-label {
  color: #0a1228;
  text-shadow: 0 1px 0 rgba(255,255,255,0.6), 0 2px 14px rgba(255,255,255,0.55);
  font-weight: 700;
  position: relative;
  z-index: 3;
}

.preset-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.preset-body h3 {
  font-family: 'Alte Haas Grotesk', 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 8px;
}

.preset-body > p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 18px;
}

.preset-features { margin-bottom: 24px; }
.preset-features li { font-size: 13px; color: var(--ink-soft); padding: 5px 0; }

.preset-bottom {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.preset-price {
  font-family: 'Alte Haas Grotesk', 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
}

/* ========================================
   CURSO
======================================== */
.section-course {
  background: linear-gradient(180deg, #101d3a 0%, #162344 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  max-width: 100%;
  margin: 60px 0 0;
  padding: 120px 32px;
  border-radius: 32px 32px 0 0;
  border-top: 1px solid rgba(107,163,212,0.1);
}

.section-course::before {
  content: '';
  position: absolute;
  top: -100px; left: 10%;
  width: 400px; height: 200px;
  background: rgba(107,163,212,0.06);
  border-radius: 50%;
  filter: blur(60px);
}

.section-course::after {
  content: '';
  position: absolute;
  bottom: 10%; right: 5%;
  width: 350px; height: 200px;
  background: rgba(244,164,96,0.08);
  border-radius: 50%;
  filter: blur(60px);
}

.course-wrap {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
}

.section-course .section-num { color: var(--sun); }

.coming-badge {
  display: inline-block;
  background: rgba(244,164,96,0.15);
  border: 1px solid rgba(244,164,96,0.4);
  color: var(--sun);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  margin-left: 16px;
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.course-wrap h2 {
  font-family: 'Alte Haas Grotesk', 'Inter', sans-serif;
  font-size: clamp(48px, 8vw, 100px);
  line-height: 0.95;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.025em;
}

.course-wrap h2 em {
  font-family: 'Alte Haas Grotesk', 'Inter', sans-serif;
  background: linear-gradient(135deg, var(--sun), var(--sunset));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
  font-style: italic;
  /* Evita que la última letra italic se corte */
  display: inline-block;
  padding-right: 0.14em;
  margin-right: -0.06em;
}

.course-wrap h2 {
  margin-bottom: 16px;
}

.course-subtitle {
  display: inline-block;
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--sun);
  background: linear-gradient(135deg, var(--sun), var(--sunset));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 48px;
}

.course-lead {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
}

.course-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 56px 0;
}

.course-f {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(10px);
}

.f-icon { font-size: 32px; display: block; margin-bottom: 12px; }

.course-f h4 {
  font-family: 'Alte Haas Grotesk', 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}

.course-f p { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.5; }

.waitlist-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 32px;
  max-width: 600px;
  backdrop-filter: blur(10px);
}

.waitlist-form h3 {
  font-family: 'Alte Haas Grotesk', 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.waitlist-form > p { color: rgba(255,255,255,0.65); font-size: 14px; margin-bottom: 20px; }

.form-row { display: flex; gap: 8px; flex-wrap: wrap; }

.form-row input {
  flex: 1;
  min-width: 200px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.form-row input::placeholder { color: rgba(255,255,255,0.35); }
.form-row input:focus { border-color: var(--sun); }

.form-note { display: block; margin-top: 14px; font-size: 12px; color: rgba(255,255,255,0.45); }

/* ========================================
   FOOTER
======================================== */
.footer {
  background: #060911;
  color: rgba(255,255,255,0.5);
  padding: 60px 32px 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand h3 {
  font-family: 'Alte Haas Grotesk', 'Inter', sans-serif;
  font-size: 34px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}

.footer-brand p { font-size: 13px; margin-top: 4px; }

.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--sun); }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* ========================================
   ADMIN PANEL
======================================== */
.admin-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}

.admin-overlay[hidden] { display: none; }

.admin-modal {
  background: #0d1630;
  border: 1px solid rgba(107,163,212,0.15);
  border-radius: 28px;
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 32px 32px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: sticky;
  top: 0;
  background: #0d1630;
  z-index: 2;
  border-radius: 28px 28px 0 0;
}

.admin-title {
  font-family: 'Alte Haas Grotesk', 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
}

.admin-sub {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 4px;
}

.admin-close {
  font-size: 18px;
  color: var(--ink-soft);
  padding: 8px;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.admin-close:hover {
  background: rgba(255,255,255,0.08);
  color: var(--ink);
}

.admin-body {
  padding: 24px 32px;
  flex: 1;
}

/* Lista de proyectos en el admin */
.admin-project-list { display: flex; flex-direction: column; gap: 10px; }

.admin-project-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 14px 18px;
  transition: border-color 0.2s;
}

.admin-project-item:hover { border-color: rgba(107,163,212,0.2); }

.admin-project-thumb {
  width: 56px;
  height: 40px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.admin-project-info { flex: 1; min-width: 0; }

.admin-project-info strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-project-info span {
  font-size: 12px;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  margin-top: 2px;
}

.admin-project-actions { display: flex; gap: 8px; flex-shrink: 0; }

.admin-btn-edit,
.admin-btn-delete {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  transition: all 0.2s;
  cursor: pointer;
}

.admin-btn-edit {
  background: rgba(107,163,212,0.12);
  color: var(--sky-blue);
  border: 1px solid rgba(107,163,212,0.2);
}

.admin-btn-edit:hover { background: rgba(107,163,212,0.22); }

.admin-btn-delete {
  background: rgba(232,130,106,0.1);
  color: var(--sunset);
  border: 1px solid rgba(232,130,106,0.2);
}

.admin-btn-delete:hover { background: rgba(232,130,106,0.2); }

/* Formulario de edición */
.admin-form-wrap {
  margin-top: 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 24px;
}

.admin-form-wrap[hidden] { display: none; }

.admin-form-wrap h3 {
  font-family: 'Alte Haas Grotesk', 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 20px;
}

.field-group {
  margin-bottom: 16px;
}

.field-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--sky-blue);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.field-hint {
  font-size: 11px;
  color: var(--ink-muted);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.field-group input,
.field-group select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.field-group input:focus,
.field-group select:focus { border-color: var(--sky-blue); }

.field-group select option { background: #0d1630; color: var(--ink); }

.admin-form-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

/* Footer del admin */
.admin-footer {
  padding: 20px 32px 28px;
  display: flex;
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,0.07);
  background: #0d1630;
  border-radius: 0 0 28px 28px;
  position: sticky;
  bottom: 0;
}

/* ========================================
   ANIMACIONES
======================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeUp 0.7s ease both; }

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 768px) {
  .section { padding: 80px 20px; }
  .section-light, .section-course { padding: 80px 20px; }
  .footer-content { flex-direction: column; }
  .work-grid { grid-template-columns: 1fr; }
  .admin-modal { border-radius: 20px; }
  .admin-header, .admin-body, .admin-footer { padding-left: 20px; padding-right: 20px; }
  .admin-project-actions { flex-direction: column; }
}

/* ============================================================
   ▒▒  PÁGINA PRESETS (presets.html)
============================================================ */

.page-presets .nav-links a.active { color: var(--ink); }
.page-presets .nav-links a.active::after {
  content: "";
  display: block;
  height: 2px;
  width: 22px;
  margin-top: 4px;
  background: linear-gradient(90deg, #8fc3f0, #4a8ed4);
  border-radius: 2px;
}

/* ── Showcase principal (entrada de la página) ── */
.showcase-hero {
  position: relative;
  z-index: 1;
  padding: 130px 32px 80px;
  max-width: 1320px;
  margin: 0 auto;
}
.showcase-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: flex-start;
}
.showcase-main { min-width: 0; }
.showcase-main .hero-tag { margin-bottom: 22px; }
.showcase-main h1 {
  font-family: 'Alte Haas Grotesk', 'Inter', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.0;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 24px;
}
.showcase-main h1 em {
  font-family: 'Alte Haas Grotesk', 'Inter', sans-serif;
  background: linear-gradient(135deg, #8fc3f0, #4a8ed4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
  font-style: italic;
  display: inline-block;
  padding-right: 0.12em;
  margin-right: -0.04em;
}
.showcase-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 36px;
}

/* Card de compra "al lado" del showcase */
.showcase-buy {
  position: sticky;
  top: 90px;
}
.buy-mini-card {
  background: linear-gradient(180deg, rgba(22, 40, 90, 0.85) 0%, rgba(10, 22, 56, 0.95) 100%);
  border: 1px solid rgba(180, 215, 255, 0.22);
  border-radius: 24px;
  padding: 28px 26px;
  backdrop-filter: blur(14px);
  box-shadow: 0 22px 60px rgba(0,0,0,0.45);
  position: relative;
  overflow: hidden;
}
.buy-mini-card::before {
  content: "";
  position: absolute;
  inset: -60px -30px auto auto;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(140,190,240,0.35), rgba(140,190,240,0) 70%);
  pointer-events: none;
}
.buy-mini-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--sun);
  background: rgba(244,164,96,0.12);
  border: 1px solid rgba(244,164,96,0.3);
  padding: 5px 10px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.buy-mini-label {
  display: block;
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.buy-mini-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.buy-mini-old {
  font-size: 16px;
  color: var(--ink-muted);
  text-decoration: line-through;
}
.buy-mini-now {
  font-family: 'Alte Haas Grotesk', 'Inter', sans-serif;
  font-size: 44px;
  line-height: 1;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.buy-mini-list {
  margin: 0 0 20px;
  display: grid;
  gap: 8px;
  list-style: none;
}
.buy-mini-list li {
  font-size: 13.5px;
  color: var(--ink);
}
.btn-paypal-mini {
  padding: 14px 18px;
  font-size: 15px;
}
.btn-paypal-mini .btn-paypal-logo { font-size: 15px; }
.btn-link-small {
  display: block;
  margin-top: 12px;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-soft);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.18);
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.btn-link-small:hover { color: var(--sky-blue); }

/* En el showcase principal el grid es algo más denso */
.showcase-main .reels-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

/* ── Hero presets (legacy — por si lo reutilizas) ── */
.presets-hero {
  position: relative;
  z-index: 1;
  min-height: 90vh;
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 140px 48px 80px;
  max-width: 1280px;
  margin: 0 auto;
}
.presets-hero-inner {
  flex: 1;
  min-width: 0;
  z-index: 2;
}
.presets-hero h1 {
  font-family: 'Alte Haas Grotesk', 'Inter', sans-serif;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.0;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-top: 22px;
}
.presets-hero h1 em {
  font-family: 'Alte Haas Grotesk', 'Inter', sans-serif;
  background: linear-gradient(135deg, #8fc3f0, #4a8ed4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
  font-style: italic;
  display: inline-block;
  padding-right: 0.12em;
  margin-right: -0.04em;
}
.presets-hero-sub {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 520px;
}
.presets-hero-cta {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.presets-hero-visual {
  position: relative;
  flex-shrink: 0;
  width: 340px;
  height: 440px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(160deg, #4a90d9 0%, #1a4570 100%);
  border: 1px solid rgba(180, 215, 255, 0.25);
  box-shadow:
    0 0 0 8px rgba(107,163,212,0.06),
    0 30px 80px rgba(0,0,0,0.55);
}
.presets-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.presets-hero-visual .visual-label {
  position: absolute;
  bottom: 18px;
  left: 20px;
  font-family: 'Alte Haas Grotesk', 'Inter', sans-serif;
  font-style: italic;
  font-size: 28px;
  line-height: 1;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 4px 18px rgba(0,0,0,0.5);
}

/* ── Reels showcase grid ── */
.reels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.reel-card {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.reel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 60px rgba(82,130,220,0.25);
  border-color: rgba(180,215,255,0.35);
}
.reel-card iframe,
.reel-card video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.reel-card .reel-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  text-align: center;
  background: linear-gradient(160deg, #1a3360 0%, #0a1638 100%);
}
.reel-fallback .reel-emoji { font-size: 38px; }
.reel-fallback .reel-title { font-weight: 600; color: var(--ink); }
.reel-fallback .reel-meta { font-size: 13px; color: var(--ink-soft); }

/* ── Reel cards clickables (showcase / antes-después) ── */
.reel-clickable { cursor: pointer; }
.reel-clickable .reel-thumb {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1a3360 0%, #0a1638 100%) center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease, filter 0.3s ease;
}
.reel-clickable[data-haspos="1"] .reel-thumb { background-size: cover; }
.reel-clickable .reel-play {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: #0a1638;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  padding-left: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: transform 0.25s ease, background 0.25s ease;
}
.reel-clickable:hover .reel-thumb { transform: scale(1.04); filter: brightness(1.05); }
.reel-clickable:hover .reel-play  { transform: scale(1.08); background: #fff; }
.reel-clickable .reel-info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 18px 16px;
  background: linear-gradient(180deg, rgba(8,12,24,0) 0%, rgba(8,12,24,0.85) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.reel-clickable .reel-info h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.reel-clickable .reel-info .reel-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}
.reel-empty .reel-fallback { background: linear-gradient(160deg, #1a3360 0%, #0a1638 100%); }

/* ── Lightbox de vídeo ── */
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(4,8,18,0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.video-lightbox[hidden] { display: none; }
.video-lightbox-inner {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  background: #000;
}
.video-lightbox-inner iframe,
.video-lightbox-inner video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}
.video-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.92);
  color: #0a1638;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  z-index: 5001;
}
.video-lightbox-close:hover { background: #fff; transform: scale(1.05); }

/* ── Página de gracias (post-pago) ── */
.section-thanks {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
}
.thanks-card {
  max-width: 620px;
  width: 100%;
  background: linear-gradient(160deg, rgba(26,51,96,0.85) 0%, rgba(10,22,56,0.92) 100%);
  border: 1px solid rgba(180,215,255,0.18);
  border-radius: 28px;
  padding: 48px 40px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  position: relative;
  z-index: 2;
}
.thanks-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--sky-blue, #6ba3d4);
  margin-bottom: 18px;
}
.thanks-card h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 18px;
  line-height: 1.1;
}
.thanks-card h1 em { font-style: italic; color: var(--sky-blue, #6ba3d4); }
.thanks-lead {
  color: rgba(255,255,255,0.78);
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 28px;
}
.thanks-card .btn-paypal { margin: 0 auto 28px; }
.thanks-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
  display: inline-block;
  color: rgba(255,255,255,0.82);
  font-size: 14px;
  line-height: 1.9;
}
.thanks-note {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin: 0 0 18px;
}
.thanks-note a { color: var(--sky-blue, #6ba3d4); }

/* ── Before / After ── */
.section-ba { padding-top: 60px; }
.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.ba-pair {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  background: #0a1638;
  border: 1px solid rgba(255,255,255,0.06);
  cursor: ew-resize;
  user-select: none;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.ba-pair img,
.ba-pair video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-pair .ba-after { clip-path: inset(0 0 0 50%); transition: clip-path 0.1s linear; }
.ba-pair .ba-slider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: #fff;
  transform: translateX(-1px);
  pointer-events: none;
  box-shadow: 0 0 18px rgba(140,190,240,0.8);
}
.ba-pair .ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #0a1638;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
  pointer-events: none;
}
.ba-pair .ba-tag {
  position: absolute;
  top: 12px;
  font-size: 11px;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  background: rgba(8,12,24,0.55);
  padding: 5px 10px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
}
.ba-pair .ba-tag-before { left: 12px; }
.ba-pair .ba-tag-after { right: 12px; }

/* ── What's inside ── */
.inside-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.inside-card {
  padding: 28px;
  background: rgba(15, 31, 68, 0.55);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 22px;
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.inside-card:hover {
  transform: translateY(-3px);
  border-color: rgba(180,215,255,0.3);
}
.inside-icon {
  display: inline-flex;
  font-size: 28px;
  margin-bottom: 14px;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  background: rgba(107,163,212,0.12);
  border: 1px solid rgba(107,163,212,0.25);
  border-radius: 16px;
}
.inside-card h3 {
  font-family: 'Alte Haas Grotesk', 'Inter', sans-serif;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 8px;
}
.inside-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ── Buy card ── */
.section-buy { padding-top: 40px; padding-bottom: 80px; }
.buy-card {
  max-width: 620px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(22, 40, 90, 0.7) 0%, rgba(10, 22, 56, 0.85) 100%);
  border: 1px solid rgba(180, 215, 255, 0.18);
  border-radius: 28px;
  padding: 44px 40px;
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
  position: relative;
  overflow: hidden;
}
.buy-card::before {
  content: "";
  position: absolute;
  inset: -100px -50px auto auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(140,190,240,0.30), rgba(140,190,240,0) 70%);
  pointer-events: none;
}
.buy-card-head { margin-bottom: 28px; }
.buy-card-head h2 {
  font-family: 'Alte Haas Grotesk', 'Inter', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  color: var(--ink);
  margin-top: 10px;
}
.buy-card-head h2 em {
  font-family: 'Alte Haas Grotesk', 'Inter', sans-serif;
  background: linear-gradient(135deg, #8fc3f0, #4a8ed4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  font-weight: 400;
}
.buy-card-head p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-soft);
}
.buy-price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.buy-price-old {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  color: var(--ink-muted);
  text-decoration: line-through;
}
.buy-price-now {
  font-family: 'Alte Haas Grotesk', 'Inter', sans-serif;
  font-size: 56px;
  line-height: 1;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.buy-price-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--sun);
  background: rgba(244, 164, 96, 0.12);
  border: 1px solid rgba(244,164,96,0.3);
  padding: 6px 12px;
  border-radius: 100px;
}
.buy-features {
  margin: 20px 0 28px;
  display: grid;
  gap: 10px;
}
.buy-features li {
  font-size: 14.5px;
  color: var(--ink);
  list-style: none;
}
.btn-paypal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  padding: 18px 24px;
  background: linear-gradient(180deg, #ffc439 0%, #f5a623 100%);
  color: #003087;
  font-weight: 700;
  font-size: 16px;
  border-radius: 100px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  box-shadow: 0 12px 30px rgba(245, 166, 35, 0.35);
}
.btn-paypal:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(245, 166, 35, 0.55);
  filter: brightness(1.05);
}
.btn-paypal-logo {
  font-family: 'Alte Haas Grotesk', 'Inter', sans-serif;
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 18px;
  color: #003087;
}
.btn-already-paid {
  width: 100%;
  margin-top: 12px;
  padding: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-already-paid:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--sky-blue);
  color: #fff;
}
.buy-note {
  margin-top: 18px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-muted);
  text-align: center;
}
.buy-note code {
  color: var(--ink-soft);
  background: rgba(255,255,255,0.05);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11.5px;
}

/* ── Download (unlock zone) ── */
.section-download { padding-top: 80px; }
.download-wrap {
  max-width: 880px;
  margin: 0 auto;
  text-align: left;
}
.download-wrap h2 {
  font-family: 'Alte Haas Grotesk', 'Inter', sans-serif;
  font-size: clamp(32px, 4vw, 56px);
  margin-top: 10px;
  color: var(--ink);
}
.download-wrap h2 em {
  font-family: 'Alte Haas Grotesk', 'Inter', sans-serif;
  background: linear-gradient(135deg, #8fc3f0, #4a8ed4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  font-weight: 400;
}
.download-lead {
  margin-top: 14px;
  font-size: 16px;
  color: var(--ink-soft);
}
.download-lead a { color: var(--sky-blue); text-decoration: underline; }

.download-folder {
  margin-top: 36px;
  background: rgba(15, 31, 68, 0.6);
  border: 1px solid rgba(180,215,255,0.18);
  border-radius: 22px;
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.folder-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  background: rgba(8, 18, 42, 0.55);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-family: 'JetBrains Mono', 'Inter', monospace;
  font-size: 14px;
  color: var(--ink-soft);
}
.folder-icon { font-size: 22px; }
.folder-name { color: var(--ink); font-weight: 600; }
.folder-items {
  display: grid;
  gap: 1px;
  background: rgba(255,255,255,0.04);
}
.folder-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: rgba(8, 18, 42, 0.55);
  color: inherit;
  text-decoration: none;
  transition: background 0.2s ease;
}
.folder-item:hover { background: rgba(82, 130, 220, 0.18); }
.folder-item .item-icon { font-size: 22px; }
.folder-item .item-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.folder-item .item-name { color: var(--ink); font-weight: 600; }
.folder-item .item-meta { color: var(--ink-soft); font-size: 13px; }
.folder-item .item-action {
  font-size: 13px;
  font-weight: 600;
  color: var(--sky-blue);
  white-space: nowrap;
}
.folder-item-video { cursor: default; }
.folder-item-video:hover { background: rgba(8, 18, 42, 0.55); }

.tutorial-player {
  background: #050d24;
  padding: 8px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.tutorial-player video {
  width: 100%;
  display: block;
  border-radius: 14px;
  background: #000;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.folder-footer {
  padding: 18px 22px;
  border-top: 1px solid rgba(255,255,255,0.07);
  background: rgba(8, 18, 42, 0.4);
}
.folder-footer p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.folder-footer code {
  background: rgba(255,255,255,0.06);
  color: var(--ink);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 12px;
}
.folder-footer em {
  color: var(--ink);
  font-family: inherit;
  font-style: normal;
  font-weight: 600;
}

.download-cta {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Unlock modal ── */
.unlock-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 10, 28, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeUp 0.3s ease both;
}
.unlock-modal {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: linear-gradient(180deg, #16285a 0%, #0a1638 100%);
  border: 1px solid rgba(180,215,255,0.2);
  border-radius: 24px;
  padding: 40px 32px 32px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}
.unlock-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--ink-soft);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.unlock-close:hover { background: rgba(255,255,255,0.12); color: #fff; }
.unlock-modal h2 {
  font-family: 'Alte Haas Grotesk', 'Inter', sans-serif;
  font-size: 30px;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 10px;
}
.unlock-modal h2 em {
  font-family: 'Alte Haas Grotesk', 'Inter', sans-serif;
  background: linear-gradient(135deg, #8fc3f0, #4a8ed4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  font-weight: 400;
}
.unlock-modal > p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.unlock-form .field-group { margin-bottom: 14px; }
.unlock-form label { display: block; font-size: 13px; color: var(--ink-soft); margin-bottom: 6px; }
.unlock-form input[type="email"] {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.unlock-form input[type="email"]:focus {
  outline: none;
  border-color: var(--sky-blue);
  background: rgba(255,255,255,0.08);
}
.field-group-inline { margin-top: 4px; margin-bottom: 18px; }
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-soft);
  cursor: pointer;
  line-height: 1.45;
}
.checkbox-row input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--sky-blue);
}
.checkbox-row code {
  background: rgba(255,255,255,0.06);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--ink);
}
.btn-block { width: 100%; }
.unlock-note {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-muted);
  text-align: center;
}
.unlock-success {
  text-align: center;
  padding: 16px 4px;
}
.unlock-success-icon {
  display: inline-flex;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(120, 220, 160, 0.16);
  border: 1px solid rgba(120, 220, 160, 0.4);
  color: #87e6a8;
  font-size: 28px;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.unlock-success h3 {
  font-family: 'Alte Haas Grotesk', 'Inter', sans-serif;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 6px;
}
.unlock-success p {
  font-size: 14px;
  color: var(--ink-soft);
}

/* ── Responsive presets ── */
@media (max-width: 1000px) {
  .showcase-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .showcase-buy {
    position: static;
    order: -1; /* la card de compra sube en mobile, antes del grid */
  }
  .buy-mini-card { padding: 22px 20px; }
  .buy-mini-now { font-size: 38px; }
  .showcase-main .reels-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .showcase-hero { padding: 110px 20px 50px; }
  .presets-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 110px 22px 60px;
    gap: 36px;
  }
  .presets-hero-visual {
    width: 100%;
    height: 380px;
  }
  .buy-card { padding: 32px 24px; }
  .buy-price-now { font-size: 44px; }
  .download-folder { border-radius: 18px; }
  .folder-item { flex-wrap: wrap; }
  .folder-item .item-action { width: 100%; padding-left: 36px; }
  .unlock-modal { padding: 32px 22px 24px; }
}
