/* ==========================================================================
       DESIGN SYSTEM TOKENS (Bespoke Studio Palette for Jes Gil)
       ========================================================================== */
:root {
  --ink: #2a1606;
  --gold-glow: rgba(216, 178, 110, 0.55);
  --bg-obsidian: #090a13;
  --bg-navy-dark: #101323;
  --bg-navy-card: #171b30;
  --bg-navy-glass: rgba(23, 27, 48, 0.65);

  --accent-flame: #e85a5a;
  --accent-gold: #d8b26e;
  --accent-gold-light: #f0cf96;
  --accent-ember: #ff9f43;

  --text-ivory: #f7f2ec;
  --text-muted: rgba(247, 242, 236, 0.75);
  --text-faint: rgba(247, 242, 236, 0.5);

  --border-subtle: rgba(216, 178, 110, 0.18);
  --border-active: rgba(216, 178, 110, 0.45);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-obsidian);
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-ivory);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
  width: 100%;
}

.wrap-narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Animated Flame Text Gradient */
@keyframes flameText {

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

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

em {
  background: linear-gradient(90deg, #e85a5a 0%, #d8b26e 35%, #ff9f43 70%, #e85a5a 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: flameText 7s ease-in-out infinite;
  display: inline-block;
  font-style: italic;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.d1 {
  transition-delay: 0.1s;
}

.reveal.d2 {
  transition-delay: 0.2s;
}

.reveal.d3 {
  transition-delay: 0.3s;
}

/* Custom Fénix Glowing Cursor */
@media (pointer: fine) {
  .fenix-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    background: radial-gradient(circle, rgba(216, 178, 110, 0.9) 0%, rgba(232, 90, 90, 0.5) 50%, transparent 80%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    filter: blur(1px);
    box-shadow: 0 0 14px rgba(232, 90, 90, 0.5);
    transform: translate3d(-50%, -50%, 0);
    transition: width 0.3s ease, height 0.3s ease, background 0.3s ease;
  }

  body.cursor-hover .fenix-cursor {
    width: 28px;
    height: 28px;
    background: radial-gradient(circle, rgba(232, 90, 90, 1) 0%, rgba(216, 178, 110, 0.7) 60%, transparent 85%);
  }
}

/* Navigation Header (Morphing Floating Pill on Scroll - GPU Accelerated Native CSS) */
.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0 0;
    /* Vertical FIJO: la barra no cambia de altura al scrollear. */
    pointer-events: none;
    /* Aparece con fade (como el hero y el resto del sitio). Al revelarse recién
       con las fuentes listas (clase .is-ready vía JS), el swap de fuente (FOUT)
       ocurre mientras el navbar está invisible → sin salto visible. */
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-header.is-ready {
    opacity: 1;
  }

  @media (prefers-reduced-motion: reduce) {
    .nav-header { transition: none; }
  }

  .nav-inner {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    padding: 8px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 9999px;
    pointer-events: auto;
    /* Solo se anima el ANCHO (la agrupación). Todo lo visual va en ::before. */
    transition: max-width 0.55s cubic-bezier(0.4, 0, 0.2, 1),
      padding 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Cápsula de vidrio: blur SIEMPRE fijo. Aparece con opacity y, al
     desagruparse, se expande + disuelve. Solo opacity/transform (GPU). */
  .nav-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background-color: rgba(9, 10, 19, 0.5);
    box-shadow: 0 16px 40px rgba(30, 6, 10, 0.5), 0 0 24px rgba(216, 178, 110, 0.12);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    opacity: 0;
    transform: scale(1.14);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Al agrupar SOLO cambia el ancho de la cápsula (animado) y el logo. Los
     ítems del menú, el submenú y el botón mantienen el mismo tamaño Y la misma
     separación que sin scroll → cero saltos. La cápsula se ensancha a 900px
     (en vez de 840) para que los 5 ítems entren a tamaño completo. */
  .nav-inner.is-scrolled {
    max-width: 900px;
    /* Padding simétrico: evita el corrimiento horizontal del contenido. */
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav-inner.is-scrolled::before {
    opacity: 1;
    transform: scale(1);
  }

  .nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    transform-origin: left center;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* El logo se achica un poco al agrupar (transform, no font-size). */
  .nav-inner.is-scrolled .nav-brand {
    transform: scale(0.85);
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-flame));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(232, 90, 90, 0.35);
  }

  .brand-mark svg {
    width: 17px;
    height: 17px;
    fill: #090a13;
  }

  .brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-ivory);
  }

  .brand-name span {
    color: var(--accent-gold);
  }

  .nav-menu {
    display: flex;
    gap: 24px;
    align-items: center;
  }

  .nav-menu a {
    position: relative;
    font-size: 14.5px;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.25s ease;
    white-space: nowrap;
  }

  .nav-menu a:hover {
    color: var(--accent-gold-light);
  }

  /* Ítem activo: sección/página visible. Mismo punto de luz que usan los
     pilares del Método, en miniatura. */
  .nav-menu a.is-active {
    color: var(--accent-gold-light);
  }

  /* ══ NAVBAR BUTTON · compact radiant gold ══════════════ */
  .btn-nav {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
    overflow: hidden;
    padding: 10px 24px;
    border: none;
    border-radius: 30px;
    color: var(--ink) !important;
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: 0.3px;
    white-space: nowrap;
    cursor: pointer;
    background: linear-gradient(145deg,
        var(--accent-gold-light) 0%,
        var(--accent-gold) 52%,
        #c79a4e 100%);
    box-shadow:
      inset 0 1px 1px rgba(255, 248, 228, 0.55),
      0 6px 20px rgba(120, 40, 30, 0.28),
      0 0 0 4px rgba(216, 178, 110, 0.06),
      0 0 24px 2px var(--gold-glow);
    animation: btn-breathe-nav 4.5s ease-in-out infinite;
    text-decoration: none;
  }

  @keyframes btn-breathe-nav {

    0%,
    100% {
      box-shadow:
        inset 0 1px 1px rgba(255, 248, 228, 0.55),
        0 6px 20px rgba(120, 40, 30, 0.28),
        0 0 0 4px rgba(216, 178, 110, 0.05),
        0 0 20px 1px rgba(216, 178, 110, 0.42);
    }

    50% {
      box-shadow:
        inset 0 1px 1px rgba(255, 248, 228, 0.55),
        0 6px 20px rgba(120, 40, 30, 0.28),
        0 0 0 6px rgba(216, 178, 110, 0.08),
        0 0 30px 3px rgba(216, 178, 110, 0.60);
    }
  }

  .btn-nav::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(100deg,
        transparent 32%,
        rgba(255, 252, 240, 0.65) 48%,
        transparent 64%);
    transform: translateX(-130%);
    transition: transform 1.15s cubic-bezier(0.33, 0, 0.2, 1);
  }

  .btn-nav:hover::before {
    transform: translateX(130%);
  }

  .btn-primary:hover .content,
  .btn-secondary:hover .content,
  .btn-nav:hover .content {
    transform: translateX(0);
  }

  .btn-primary:hover .arrow,
  .btn-secondary:hover .arrow,
  .btn-nav:hover .arrow {
    opacity: 1;
    transform: translateX(0);
  }

  .btn-nav:focus-visible {
    outline: 2px solid var(--accent-gold-light);
    outline-offset: 4px;
  }

  @media (max-width: 900px) {
    .nav-menu {
      display: none;
    }

    /* Barra full-width pegada al borde superior, sin bordes redondeados.
       El logo y el CTA suben un poco. */
    .nav-header {
      padding: 0;
    }

    .nav-inner,
    .nav-inner.is-scrolled {
      max-width: none;
      margin: 0;
      padding: 12px 20px;
      border-radius: 0;
    }

    .nav-inner.is-scrolled .nav-brand {
      transform: none;
    }

    /* CTA y logo compactos para que entren sin desbordar */
    .btn-nav {
      padding: 9px 18px;
      font-size: 12.5px;
    }

    .btn-nav .content {
      transform: none;
    }

    .btn-nav .arrow {
      display: none;
    }

    /* Glassmorfismo full-width, cuadrado, pegado arriba; aparece al scrollear */
    .nav-inner::before {
      display: block;
      border-radius: 0;
      transform: none;
      background-color: rgba(13, 15, 26, 0.72);
      box-shadow: 0 1px 0 rgba(216, 178, 110, 0.12), 0 8px 24px rgba(0, 0, 0, 0.35);
      backdrop-filter: blur(14px) saturate(160%);
      -webkit-backdrop-filter: blur(14px) saturate(160%);
      opacity: 0;
      transition: opacity 0.4s ease;
    }

    .nav-inner.is-scrolled::before {
      opacity: 1;
      transform: none;
    }
  }


/* Logo image constraint rule for PNG logos */
.nav-logo-img {
  height: 38px !important;
  max-height: 38px !important;
  width: auto !important;
  display: block !important;
  object-fit: contain !important;
}

/* ══ PRIMARIO · oro cálido radiante ════════════════════ */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
  padding: 17px 42px;
  border: none;
  border-radius: var(--radius-lg);
  color: var(--ink);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: 0.2px;
  white-space: nowrap;
  cursor: pointer;
  background: linear-gradient(145deg,
      var(--accent-gold-light) 0%,
      var(--accent-gold) 52%,
      #c79a4e 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 248, 228, 0.55),
    0 10px 30px rgba(120, 40, 30, 0.28),
    0 0 0 6px rgba(216, 178, 110, 0.06),
    0 0 34px 2px var(--gold-glow);
  animation: btn-breathe 4.5s ease-in-out infinite;
  text-decoration: none;
}

@keyframes btn-breathe {

  0%,
  100% {
    box-shadow:
      inset 0 1px 1px rgba(255, 248, 228, 0.55),
      0 10px 30px rgba(120, 40, 30, 0.28),
      0 0 0 6px rgba(216, 178, 110, 0.05),
      0 0 30px 1px rgba(216, 178, 110, 0.42);
  }

  50% {
    box-shadow:
      inset 0 1px 1px rgba(255, 248, 228, 0.55),
      0 10px 30px rgba(120, 40, 30, 0.28),
      0 0 0 9px rgba(216, 178, 110, 0.08),
      0 0 44px 4px rgba(216, 178, 110, 0.60);
  }
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(100deg,
      transparent 32%,
      rgba(255, 252, 240, 0.65) 48%,
      transparent 64%);
  transform: translateX(-130%);
  transition: transform 1.15s cubic-bezier(0.33, 0, 0.2, 1);
}

.btn-primary:hover::before {
  transform: translateX(130%);
}

.content {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  transform: translateX(11px);
  transition: transform 0.55s cubic-bezier(0.33, 0, 0.2, 1);
}

.btn-primary:hover .content,
.btn-secondary:hover .content {
  transform: translateX(0);
}

.arrow {
  width: 15px;
  margin-left: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity 0.5s ease, transform 0.55s ease;
}

.btn-primary:hover .arrow,
.btn-secondary:hover .arrow {
  opacity: 1;
  transform: translateX(0);
}

.arrow svg {
  width: 15px;
  height: 15px;
  display: block;
}

.btn-primary:focus-visible {
  outline: 2px solid var(--accent-gold-light);
  outline-offset: 4px;
}

/* ══ SECUNDARIO · borde oro fijo + glow/destello/flecha ══ */
.btn-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 15px 34px;
  border-radius: var(--radius-lg);
  color: var(--text-ivory);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  cursor: pointer;
  background: rgba(216, 178, 110, 0.04);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-active);
  transition: color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  color: var(--accent-gold-light);
  background: rgba(216, 178, 110, 0.06);
  box-shadow: 0 0 26px rgba(216, 178, 110, 0.22);
}

.btn-secondary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(100deg,
      transparent 34%,
      rgba(240, 207, 150, 0.28) 50%,
      transparent 66%);
  transform: translateX(-130%);
  transition: transform 1.15s cubic-bezier(0.33, 0, 0.2, 1);
}

.btn-secondary:hover::before {
  transform: translateX(130%);
}

/* ── Mobile: botones que se ajustan/enrollan y no desbordan ── */
@media (max-width: 600px) {
  .btn-primary,
  .btn-secondary {
    max-width: 100%;
    white-space: normal;
    padding: 14px 26px;
    font-size: 14.5px;
  }

  .btn-primary .content,
  .btn-secondary .content {
    transform: none;
    white-space: normal;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  /* La flecha solo aparece en hover (no en touch): no reserva espacio */
  .btn-primary .arrow,
  .btn-secondary .arrow {
    display: none;
  }

  /* Cards de la home: menos padding lateral para no desbordar */
  .news-card { padding: 34px 24px; }
  .circulo-body { padding: 32px 22px; }
  .scarcity-card { padding: 22px 22px; }
}

.btn-secondary:focus-visible {
  outline: 2px solid var(--accent-gold-light);
  outline-offset: 4px;
}

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

  .btn-primary::before,
  .btn-secondary::before,
  .arrow,
  .content {
    transition: none;
  }

  .testi-marquee-track { animation: none; }
  .pillar { opacity: 1; transform: none; }
  .pillar.active .pillar-dot { animation: none; }

  .ruta-comet, .ruta-node, .ruta-node svg, .ruta-ping { animation: none; }
  .ruta-node svg { opacity: 0.9; }
}

/* Section Foundations (100vh Full Viewport height on desktop) */
.section-viewport {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.sec-obsidian {
  background-color: var(--bg-obsidian);
}

.sec-navy {
  background-color: var(--bg-navy-dark);
}

.section-eyebrow {
  font-size: 11.5px;
  letter-spacing: 3.5px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-flame);
  text-align: center;
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  line-height: 1.22;
  font-weight: 700;
  color: var(--text-ivory);
  text-align: center;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.section-divider {
  width: 64px;
  height: 2px;
  margin: 0 auto 44px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

/* Descripción bajo el título de sección (cabeceras centradas). */
.section-desc {
  text-align: center;
}

/* ===== SPOTLIGHT CARDS SYSTEM (Transición Suave de Borde y Sombra en Hover) ===== */
.card-studio,
.spotlight-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-navy-card);
  border: 1.5px solid rgba(216, 178, 110, 0.22);
  border-radius: var(--radius-md);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Tarjeta "Próximo vuelo": contenido centrado y con aire interior. */
.news-box {
  text-align: center;
  padding: 52px 56px;
}

.card-studio:hover,
.spotlight-card:hover {
  transform: none !important;
  border-color: rgba(216, 178, 110, 0.85);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5), 0 0 28px rgba(216, 178, 110, 0.22);
}

.card-studio>*,
.spotlight-card>* {
  position: relative;
  z-index: 4;
}

/* Halo Spotlight circular de Luz que sigue el puntero del mouse */
.card-spotlight {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(260px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(216, 178, 110, 0.22) 0%,
      rgba(232, 90, 90, 0.1) 45%,
      transparent 80%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 2;
}

.card-studio:hover .card-spotlight,
.spotlight-card:hover .card-spotlight {
  opacity: 1;
}

/* Canvas de Partículas y Cenizas de Fuego Internas por Card */
.card-ember-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 1;
  border-radius: inherit;
}

.card-studio:hover .card-ember-canvas,
.spotlight-card:hover .card-ember-canvas {
  opacity: 1;
}

/* ===== 1. HERO SECTION & MULTI-LAYER FÉNIX GRADIENT ===== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  padding: 100px 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  background: transparent;
}

.hero-bg-base {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(165deg, #f0cf96 0%, #d8b26e 16%, #e85a5a 38%, #571627 56%, #1b1526 79%, #090a13 100%);
}

.hero-bg-treatment {
  position: absolute;
  inset: -20%;
  z-index: 1;
  background-image:
    radial-gradient(circle at 77% 21%, rgba(9, 10, 19, 0.80) 0%, transparent 30%),
    radial-gradient(circle at 23% 61%, rgba(232, 90, 90, 0.60) 0%, transparent 25%),
    radial-gradient(circle at 57% 56%, rgba(9, 10, 19, 0.90) 0%, transparent 20%);
  filter: blur(45px);
  opacity: 0.85;
}

.hero-bg-glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse at 51% 2%, rgba(240, 207, 150, 0.35), transparent 38%),
    radial-gradient(ellipse at 54% 32%, rgba(232, 90, 90, 0.30), transparent 42%);
}

.hero-bg-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(ellipse at center, rgba(9, 10, 19, 0.65) 0%, rgba(9, 10, 19, 0.88) 58%, rgba(9, 10, 19, 0.96) 100%),
    linear-gradient(to bottom, transparent 45%, rgba(9, 10, 19, 0.85) 100%);
}

.hero-bg-noise {
  position: absolute;
  inset: 0;
  z-index: 4;
  mix-blend-mode: soft-light;
  opacity: 0.23;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.hero-bg-halftone {
  position: absolute;
  inset: 0;
  z-index: 5;
  mix-blend-mode: overlay;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(232, 90, 90, 0.18) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, rgba(216, 178, 110, 0.13) 1px, transparent 1px);
  background-size: 9px 9px;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}

.hero .wrap-narrow {
  position: relative;
  z-index: 10;
  max-width: 980px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 4.8vw, 60px);
  line-height: 1.15;
  font-weight: 700;
  color: var(--text-ivory);
  margin-bottom: 28px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: clamp(16.5px, 1.45vw, 20px);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 42px;
  font-weight: 400;
}

.hero-subtitle strong {
  color: var(--accent-gold-light);
  font-weight: 500;
}

.hero .btn-primary {
  padding: 16px 40px;
  font-size: 16px;
  letter-spacing: 0.2px;
}

@media (max-width: 768px) {
  .hero {
    min-height: calc(100vh - 60px);
    padding: 90px 0 60px;
  }

  .hero h1 {
    font-size: 34px;
    margin-bottom: 20px;
  }

  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .hero .btn-primary {
    padding: 14px 32px;
    font-size: 14.5px;
  }
}

/* Notebooks (viewport ancho pero de poca altura, ej. 1366×768): el hero usa
   100vh con padding y tipografía fijos, así que en pantallas bajas ocupa una
   porción mucho mayor y se ve "grande" comparado con un monitor +23". Se
   escala hacia abajo por altura de viewport (no por ancho, por eso se ve
   perfecto en pantallas grandes horizontales). min-width evita pisar el
   breakpoint mobile (que ya es angosto por definición). */
@media (max-height: 860px) and (min-width: 769px) {
  .hero {
    padding: 84px 0 32px;
  }

  .hero .profile-tag {
    margin-bottom: 18px;
  }

  .hero h1 {
    font-size: clamp(28px, 3.6vw, 42px);
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: clamp(14px, 1.05vw, 16px);
    margin-bottom: 22px;
  }

  .hero .btn-primary {
    padding: 13px 32px;
    font-size: 14.5px;
  }
}

/* ===== 2. SOY JES SECTION & SIGNATURE AI SHOWCASE ===== */
.jes-grid {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 60px;
  align-items: stretch;
  max-width: 1140px;
  margin: 0 auto;
}

.jes-portrait-frame {
  position: relative;
  width: 100%;
  border-radius: 28px;
  padding: 10px;
  background: rgba(247, 242, 236, 0.05);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(247, 242, 236, 0.15);
  /* Glassmorphic border, NO solid gold */
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.18);
  display: flex;
}

.jes-portrait-frame::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 36px;
  background: radial-gradient(circle at 40% 40%, rgba(232, 90, 90, 0.35) 0%, rgba(216, 178, 110, 0.25) 50%, transparent 80%);
  filter: blur(20px);
  z-index: -1;
  pointer-events: none;
}

.jes-portrait {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 460px;
  border-radius: 20px;
  object-fit: cover;
  border: none;
  /* NO gold border */
  display: block;
}

.jes-bio {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.jes-bio h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 3.5vw, 44px);
  color: var(--text-ivory);
  margin-bottom: 22px;
  line-height: 1.2;
}

.jes-bio p {
  font-size: 16.5px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 18px;
}

.jes-bio p:last-child {
  margin-bottom: 0;
}

@media (max-width: 960px) {
  .jes-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .jes-portrait-frame {
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Signature Component: Mock Agent de IA Showcase (Centrado en el eje X debajo) */
.ai-signature-card {
  max-width: 1040px;
  margin: 40px auto 0;
  background: linear-gradient(145deg, rgba(23, 27, 48, 0.95), rgba(16, 19, 35, 0.95));
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  padding: 28px 36px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  position: relative;
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 700;
  margin-bottom: 12px;
}

.ai-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
}

.ai-signature-card p {
  font-size: 15px;
  color: var(--text-ivory);
  line-height: 1.7;
  margin: 0;
}

.ai-signature-card strong {
  color: var(--accent-gold-light);
}

@media (max-width: 840px) {
  .jes-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .jes-portrait {
    max-width: 300px;
    height: 360px;
    margin: 0 auto;
    display: block;
  }

  .jes-bio {
    text-align: center;
  }

  /* El eyebrow "Hola soy Jes" se centra (en desktop va a la izquierda).
     Especificidad alta para ganarle a .profile-tag.tag-start. */
  .jes-bio .profile-tag.tag-start {
    align-self: center;
  }
}

/* ===== 3. EL MÉTODO FÉNIX ===== */
/* El Método Fénix — secuencia pineada con línea conectora */
.metodo-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 56px;
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
}

.metodo-sticky {
  position: sticky;
  top: 16vh;
}

.metodo-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.3px;
  color: var(--text-ivory);
  margin-top: 8px;
}

.method-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-flame);
  font-weight: 700;
  margin-bottom: 12px;
}

.metodo-track {
  --rail: 56px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 6vh 0 20vh var(--rail);
}

/* Línea vertical conectora + relleno progresivo */
.track-line,
.track-line-fill {
  position: absolute;
  left: 15px;
  width: 2px;
  border-radius: 2px;
}

.track-line { background: rgba(216, 178, 110, 0.18); }

.track-line-fill {
  top: 0;
  height: 0;
  background: linear-gradient(180deg, var(--accent-gold-light), var(--accent-flame));
  box-shadow: 0 0 12px rgba(216, 178, 110, 0.6);
  transition: height 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.pillar {
  position: relative;
  background: linear-gradient(160deg, rgba(23, 27, 48, 0.85), rgba(23, 27, 48, 0.4));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px 38px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.5s ease;
}

.pillar.in-view {
  opacity: 1;
  transform: translateY(0);
  border-color: var(--border-active);
}

.pillar-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-flame));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pillar h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--accent-gold-light);
  margin: 6px 0 12px;
  line-height: 1.3;
}

.pillar p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Punto sobre la línea, se enciende y late al activarse */
.pillar-dot {
  position: absolute;
  left: calc(6px - var(--rail));
  top: 44px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-navy-card);
  border: 2px solid var(--border-active);
  transition: background 0.45s ease, border-color 0.45s ease, transform 0.45s ease;
}

.pillar.active .pillar-dot {
  background: var(--accent-gold-light);
  border-color: var(--accent-gold-light);
  transform: scale(1.18);
  animation: dotPulse 1.9s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(216, 178, 110, 0.14), 0 0 16px 2px rgba(216, 178, 110, 0.55); }
  50%      { box-shadow: 0 0 0 8px rgba(216, 178, 110, 0.08), 0 0 28px 5px rgba(216, 178, 110, 0.95); }
}

@media (max-width: 840px) {
  .metodo-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* En una columna, la cabecera del Método se centra */
  .metodo-sticky {
    position: static;
    text-align: center;
  }

  .metodo-sticky .profile-tag {
    display: block;
    width: fit-content;
    margin-inline: auto;
  }

  .metodo-track {
    --rail: 40px;
    padding: 16px 0 16px var(--rail);
  }
}

/* ===== 4. MENTORÍA FÉNIX ===== */
.sec-mentoria {
  background: linear-gradient(150deg, #101323 0%, #1e0b1d 60%, #300d28 100%);
}

.mentoria-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.mentoria-desc {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
}

.dual-profiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 36px;
  text-align: left;
}

.profile-card {
  padding: 24px 28px;
}

.profile-card p {
  font-size: 15px;
  color: var(--text-ivory);
  line-height: 1.65;
  margin: 0;
}

.checklist {
  max-width: 620px;
  margin: 0 auto 36px;
  text-align: left;
}

.checklist-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 15px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.checklist-row:last-child {
  border-bottom: none;
}

.checklist-icon {
  color: var(--accent-flame);
  font-size: 18px;
  flex-shrink: 0;
}

.checklist-row p {
  font-size: 15.5px;
  color: var(--text-ivory);
  margin: 0;
  line-height: 1.55;
}

.scarcity-card {
  background: rgba(9, 10, 19, 0.65);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin-bottom: 38px;
}

.scarcity-card p {
  font-size: 15.5px;
  color: var(--text-ivory);
  line-height: 1.75;
  margin: 0;
  font-style: italic;
}

@media (max-width: 680px) {
  .dual-profiles {
    grid-template-columns: 1fr;
  }
}

/* ===== 5. TESTIMONIALS ===== */
/* Testimonios — destacado + marquee */
.testi-featured {
  position: relative;
  max-width: 860px;
  margin: 0 auto 52px;
  background: linear-gradient(160deg, rgba(23, 27, 48, 0.9), rgba(23, 27, 48, 0.5));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 52px 56px 40px;
  overflow: hidden;
}

.testi-featured::before {
  content: "\201C";
  position: absolute;
  top: -26px;
  left: 22px;
  font-family: 'Playfair Display', serif;
  font-size: 160px;
  line-height: 1;
  color: rgba(216, 178, 110, 0.16);
}

.testi-featured blockquote {
  position: relative;
  font-family: 'Playfair Display', serif;
  font-size: clamp(19px, 2.2vw, 26px);
  line-height: 1.5;
  color: var(--text-ivory);
}

.testi-who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.avatar-initial.lg {
  width: 50px;
  height: 50px;
  font-size: 20px;
}

.testi-marquee-label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 20px;
}

.testi-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.testi-marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: testiScroll 34s linear infinite;
}

.testi-marquee:hover .testi-marquee-track { animation-play-state: paused; }

@keyframes testiScroll {
  to { transform: translateX(-50%); }
}

.testi-mini {
  width: 340px;
  flex-shrink: 0;
  background: rgba(23, 27, 48, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testi-mini p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
  font-style: italic;
}

.testi-mini .testi-who { margin-top: 0; }

/* Pill de contexto: arriba a la izquierda de la card (fuera de la fila del
   avatar, para no comprimirlo). Aplica en todos los tamaños. */
.ctx-pill {
  align-self: flex-start;
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 159, 67, 0.12);
  color: var(--accent-ember);
  border: 1px solid rgba(255, 159, 67, 0.3);
}

.avatar-initial {
  width: 36px;
  height: 36px;
  flex-shrink: 0;            /* nunca se aplasta, sin importar el contenido */
  border-radius: 50%;
  background: linear-gradient(135deg, #421226, var(--accent-flame));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-ivory);
  font-weight: 700;
  font-size: 14px;
  font-family: 'Playfair Display', serif;
}

/* El bloque de texto puede encogerse; handles largos rompen en vez de desbordar */
.testi-who > div:last-of-type { min-width: 0; }

.handle {
  font-size: 12.5px;
  color: var(--accent-gold);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.context {
  font-size: 11px;
  color: var(--text-faint);
}

@media (max-width: 840px) {
  .testi-featured { padding: 40px 28px 32px; }
  .testi-mini { width: 280px; }
}

/* ===== 6. RECURSOS SECTION ===== */
.lab-banner {
  max-width: 1040px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto 44px;
  background: linear-gradient(135deg, #1e0b1d, #421226);
  border: 1.5px solid rgba(232, 184, 109, 0.45);
  border-radius: var(--radius-md);
  padding: 36px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.lab-banner:hover {
  border-color: rgba(232, 184, 109, 0.85);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55), 0 0 24px rgba(232, 184, 109, 0.25);
}

.lab-banner .btn-primary {
  flex-shrink: 0;
  white-space: nowrap;
  min-width: max-content;
  padding: 16px 36px;
  font-size: 15px;
  line-height: 1;
}

.lab-date {
  font-size: 11.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 700;
  margin-bottom: 8px;
}

.lab-banner h3 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: var(--text-ivory);
  margin-bottom: 8px;
}

.lab-banner p {
  font-size: 14.5px;
  color: var(--text-muted);
  margin: 0;
}

/* ── Recursos como RUTA de 3 pasos ─────────────────────── */
.ruta {
  --D: 3.8s;               /* duración del recorrido del cometa */
  --comet-length: 120px;   /* largo de la estela */
  --comet-head: 6px;       /* tamaño del punto de luz */
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  max-width: 1040px;
  margin: 60px auto 0;
}

/* Riel: contenedor con overflow hidden que recorta el cometa entre nodo 1 y 3.
   La línea queda en el centro vertical (y ≈ 39px). */
.ruta-track {
  position: absolute; top: 19px; left: 16%; right: 16%; height: 40px;
  overflow: hidden; z-index: 0;
}
.ruta-base {
  position: absolute; left: 0; right: 0; top: 19px; height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(216, 178, 110, 0.45) 15%, rgba(232, 90, 90, 0.45) 85%, transparent 100%);
}

/* Cometa: punto de luz + estela del grosor de la línea */
.ruta-comet { position: absolute; top: 20px; left: 0; width: 0; height: 0; animation: rutaComet var(--D) linear infinite; }
.ruta-tail {
  position: absolute; right: 0; top: -1px; width: var(--comet-length); height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(240, 207, 150, 0.12) 45%, var(--accent-gold-light) 90%, var(--accent-ember) 100%);
}
.ruta-head {
  position: absolute; right: -1px; top: calc(var(--comet-head) / -2);
  width: var(--comet-head); height: var(--comet-head); border-radius: 50%;
  background: #fff8e6;
  box-shadow: 0 0 6px 1px var(--accent-gold-light), 0 0 14px 3px rgba(255, 159, 67, 0.6);
}
@keyframes rutaComet {
  0%   { left: 0%;   opacity: 1; }
  58%  { opacity: 1; }
  60%  { left: 100%; opacity: 0; }
  100% { left: 100%; opacity: 0; }
}

.ruta-step {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  height: 100%;
}

/* Nodo: se enciende + hace ping cuando el cometa pasa (sincronizado por --i) */
.ruta-node {
  position: relative;
  width: 78px; height: 78px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-gold-light);
  background: var(--bg-navy-card); border: 2px solid var(--border-active);
  box-shadow: 0 0 0 8px var(--bg-obsidian), 0 8px 24px rgba(0, 0, 0, 0.5);
  animation: rutaNodeLit var(--D) ease-in-out infinite;
  animation-delay: calc(var(--i) * var(--D) * 0.3);
}
.ruta-node svg {
  width: 33px; height: 33px; opacity: 0.7;
  transform-box: fill-box; transform-origin: center;
  animation: rutaIconLit var(--D) ease-in-out infinite;
  animation-delay: calc(var(--i) * var(--D) * 0.3);
}
.ruta-ping {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--accent-gold-light); opacity: 0; pointer-events: none;
  animation: rutaPing var(--D) ease-out infinite;
  animation-delay: calc(var(--i) * var(--D) * 0.3);
}
@keyframes rutaIconLit { 0%, 100% { opacity: 1; } 18% { opacity: 0.7; } 82% { opacity: 0.7; } }
@keyframes rutaNodeLit {
  0%, 100% { border-color: var(--accent-gold-light); box-shadow: 0 0 0 8px var(--bg-obsidian), 0 0 26px 3px rgba(216, 178, 110, 0.55), 0 8px 24px rgba(0, 0, 0, 0.5); }
  18%      { border-color: var(--border-active); box-shadow: 0 0 0 8px var(--bg-obsidian), 0 0 26px 3px rgba(216, 178, 110, 0), 0 8px 24px rgba(0, 0, 0, 0.5); }
  82%      { border-color: var(--border-active); box-shadow: 0 0 0 8px var(--bg-obsidian), 0 0 26px 3px rgba(216, 178, 110, 0), 0 8px 24px rgba(0, 0, 0, 0.5); }
}
@keyframes rutaPing {
  0%   { transform: scale(1); opacity: 0.6; }
  22%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

.ruta-paso { margin-top: 18px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-gold); font-weight: 700; }
.ruta-step h3 { font-family: 'Playfair Display', serif; font-size: 21px; color: var(--accent-gold-light); margin: 8px 0 6px; }
.ruta-obj { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-flame); font-weight: 700; margin-bottom: 14px; }
.ruta-desc { font-size: 14.5px; color: var(--text-muted); line-height: 1.7; max-width: 320px; flex-grow: 1; }

/* Gratis: usa .btn-secondary para el mismo hover del sitio (destello + glow +
   flecha). Acá solo se ajusta el tamaño compacto. */
.btn-gratis {
  margin-top: 18px;
  padding: 11px 26px;
  font-size: 13.5px;
}

@media (max-width: 840px) {
  .lab-banner {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
  }

  /* Ruta en mobile: pila vertical simple, sin riel ni cometa */
  .ruta { grid-template-columns: 1fr; gap: 40px; margin-top: 40px; }
  .ruta-track { display: none; }
  .ruta-step { height: auto; }
  .ruta-desc { max-width: none; flex-grow: 0; }
  .ruta-node, .ruta-node svg, .ruta-ping { animation: none; }
  .ruta-node svg { opacity: 0.9; }
}

/* ===== 7. CÍRCULO FÉNIX (COMUNIDAD) ===== */
.circulo-wrapper {
  max-width: 1040px;
  margin: 0 auto;
  background: linear-gradient(150deg, #101323 0%, #1e0b1d 100%);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.circulo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.circulo-media {
  width: 100%;
  height: 100%;
  min-height: 500px;
  overflow: hidden;
}

.circulo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.circulo-wrapper:hover .circulo-media img {
  transform: scale(1.06);
}

.circulo-body {
  padding: 56px 48px;
}

.circulo-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--text-ivory);
  margin-bottom: 18px;
  line-height: 1.25;
}

.circulo-body p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.circulo-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 32px;
}

.bullet-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-ivory);
}

.bullet-item span {
  color: var(--accent-flame);
}

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

  .circulo-media {
    min-height: 320px;
    height: 320px;
  }

  .circulo-body {
    padding: 36px 24px;
  }
}

/* ===== 8. CARTAS FÉNIX ===== */
.news-card {
  max-width: 1040px;
  margin: 56px auto 0;
  text-align: center;
  background: var(--bg-navy-card);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
}

.news-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--accent-gold-light);
  margin-bottom: 14px;
}

.news-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}

/* ===== 9. FAQ ===== */
.faq-wrapper {
  max-width: 840px;
  margin: 0 auto;
}

.faq-row {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text-ivory);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16.5px;
  font-weight: 500;
  padding: 22px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.25s ease;
}

.faq-trigger:hover {
  color: var(--accent-gold-light);
}

.faq-icon {
  color: var(--accent-gold);
  font-size: 22px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-trigger.open .faq-icon {
  transform: rotate(45deg);
  color: var(--accent-flame);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.faq-trigger.open+.faq-content {
  opacity: 1;
}

.faq-content p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.8;
  padding: 0 0 22px;
}

/* ===== 10. FOOTER ===== */
.footer {
  background: #05060b;
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 52px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-faint);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 360px;
}

.footer-heading {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  color: var(--accent-gold-light);
  margin-bottom: 18px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.footer-nav a:hover {
  color: var(--accent-gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(247, 242, 236, 0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-faint);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* Logo image constraint rule for PNG logos */
.nav-logo-img {
  height: 32px !important;
  max-height: 32px !important;
  width: auto !important;
  /* Reserva el ancho antes de que cargue la imagen (evita reflow del navbar).
     El logo es 160×80 → relación 2:1. */
  aspect-ratio: 2 / 1;
  display: block !important;
  object-fit: contain !important;
}

/* ==========================================================================
   MENTORÍA FÉNIX EXCLUSIVE COMPONENT STYLES (SEGREGATED)
   ========================================================================== */

/* Profile Tag Pill Style */
.profile-tag {
  display: inline-block;
  padding: 7px 22px;
  border-radius: 9999px;
  background: rgba(216, 178, 110, 0.08);
  border: 1px solid rgba(216, 178, 110, 0.35);
  color: var(--accent-gold-light);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 28px;
  text-align: center;
}

.profile-tag.tag-alert {
  background: rgba(232, 90, 90, 0.12);
  border-color: rgba(232, 90, 90, 0.35);
  color: var(--accent-flame);
}

/* Eyebrow centrado en cabeceras de sección (ancho de contenido, centrado). */
.profile-tag.tag-center {
  display: block;
  width: fit-content;
  margin-inline: auto;
}

/* Eyebrow al inicio en columnas flex (evita el estiramiento a todo el ancho). */
.profile-tag.tag-start {
  align-self: flex-start;
}

/* Star Bullet List for Mentoria Activos */
.star-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.star-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

.star-icon {
  color: var(--accent-flame);
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Activos Grid System for Mentoria */
.activos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1040px;
  margin: 48px auto 0;
  width: 100%;
}

.activo-card {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.activo-card .activo-tag {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-flame);
  font-weight: 700;
  margin-bottom: 12px;
}

.activo-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--accent-gold-light);
  margin-bottom: 18px;
  line-height: 1.35;
}

/* Full Width Sostén Continuo Card - 100% Perfectly Aligned */
.activo-sosten-card {
  max-width: 1040px;
  margin: 28px auto 0;
  width: 100%;
  padding: 38px 42px;
  box-sizing: border-box;
}

.activo-sosten-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--text-ivory);
  margin-bottom: 12px;
}

.activo-sosten-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

@media (max-width: 900px) {
  .activos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .activo-sosten-card {
    padding: 28px 24px;
  }
}

/* AI Showcase Card (El Diferencial) */
.ai-showcase-card {
  max-width: 1040px;
  margin: 48px auto 0;
  padding: 44px 44px;
  box-sizing: border-box;
  width: 100%;
}

.ai-badge-header {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  border-radius: 20px;
  background: rgba(216, 178, 110, 0.12);
  border: 1px solid rgba(216, 178, 110, 0.25);
  margin-bottom: 20px;
}

.ai-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 10px #2ecc71;
  flex-shrink: 0;
}

.ai-badge-text {
  font-size: 11.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-gold-light);
  font-weight: 700;
}

.ai-showcase-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--text-ivory);
  margin-bottom: 12px;
}

.ai-projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 28px 0;
}

.ai-project-box {
  background: rgba(9, 10, 19, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ai-project-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--accent-gold-light);
}

.ai-project-box p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.ai-showcase-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--accent-gold-light);
  text-align: center;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .ai-showcase-card {
    padding: 32px 24px;
  }

  .ai-projects-grid {
    grid-template-columns: 1fr;
  }
}

/* Realidades & Fases Cards for Mentoria */
.realidades-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1040px;
  margin: 48px auto 0;
}

.realidad-card {
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.realidad-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 23px;
  color: var(--accent-gold-light);
  margin-bottom: 12px;
}

.realidad-card .quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--accent-flame);
  font-size: 16px;
  margin-bottom: 14px;
}

.realidad-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

@media (max-width: 768px) {
  .realidades-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Calculation Box inside Diagnóstico */
.calc-box {
  background: rgba(9, 10, 19, 0.65);
  border-left: 3px solid var(--accent-gold);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 24px 0;
}

.calc-box p {
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--text-ivory);
}

.calc-box p:last-child {
  margin-bottom: 0;
}

/* Fases Stack for Mentoria */
.fases-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1040px;
  margin: 48px auto 0;
}

.fase-card {
  padding: 34px 38px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.fase-num {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.85;
}

.fase-body .fase-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-flame);
  font-weight: 700;
  margin-bottom: 4px;
}

.fase-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--text-ivory);
  margin-bottom: 6px;
}

.fase-body .fase-sub {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--accent-gold-light);
  font-size: 14.5px;
  margin-bottom: 12px;
}

.fase-body p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

@media (max-width: 680px) {
  .fase-card {
    flex-direction: column;
    gap: 16px;
    padding: 28px 24px;
  }

  .fase-num {
    font-size: 38px;
  }
}

/* Callout Banner */
.callout-banner {
  max-width: 1040px;
  margin: 48px auto 0;
  background: rgba(23, 27, 48, 0.85);
  border-left: 3px solid var(--accent-gold);
  border-radius: var(--radius-sm);
  padding: 28px 34px;
  text-align: center;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
}

.callout-banner p {
  font-size: 16px;
  color: var(--text-ivory);
  line-height: 1.75;
  margin: 0;
}

.callout-banner strong {
  color: var(--accent-gold-light);
}

/* Para Vos Si / No Grid */
.paravos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1040px;
  margin: 48px auto 0;
}

.paravos-col {
  border-radius: var(--radius-md);
  padding: 38px 34px;
  height: 100%;
}

.col-si {
  background: rgba(46, 204, 113, 0.05);
  border: 1.5px solid rgba(46, 204, 113, 0.3);
}

.col-no {
  background: rgba(232, 90, 90, 0.05);
  border: 1.5px solid rgba(232, 90, 90, 0.3);
}

.paravos-col h3 {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 22px;
  font-weight: 700;
}

.col-si h3 {
  color: #2ecc71;
}

.col-no h3 {
  color: var(--accent-flame);
}

.pv-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.pv-item:last-child {
  margin-bottom: 0;
}

.pv-item .mark {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 15px;
  margin-top: 2px;
}

.col-si .mark {
  color: #2ecc71;
}

.col-no .mark {
  color: var(--accent-flame);
}

.pv-item p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.pv-item strong {
  color: var(--text-ivory);
}

@media (max-width: 768px) {
  .paravos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Testimonial Cards Layout matching Comunidad Grid */
.testi-result-card {
  background: rgba(216, 178, 110, 0.12);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 20px;
}

.testi-result-card p {
  font-size: 14px;
  color: var(--text-ivory);
  line-height: 1.65;
  margin: 0;
}

.testi-result-card strong {
  color: var(--accent-gold-light);
}

.testi-quote-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 20px;
  color: var(--accent-gold-light);
  line-height: 1.45;
  margin-bottom: 16px;
}

.testi-body-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.testi-author-tag {
  font-size: 14px;
  color: var(--accent-flame);
  font-weight: 600;
}

/* ══════════════════════════════════════════════════════════
   Responsive mobile · mentoria-fenix (fotos + coherencia de paddings)
   ══════════════════════════════════════════════════════════ */

@media (max-width: 880px) {
  /* Fotos verticales de testimonios: el contenedor es bajo y recorta.
     object-position enfoca el rostro (parte superior). Ajustá el % por
     foto con inline style si una necesita otra altura de encuadre. */
  .comunidad-frame {
    height: 360px;
    min-height: 360px;
  }

  .comunidad-img {
    object-position: center 25%;
  }

  /* Ambas cards de testimonio con la foto ARRIBA en mobile (consistente):
     la de Rocío tiene el texto primero en el DOM, la reordenamos. */
  .circulo-grid-reverse .circulo-media {
    order: -1;
  }
}

/* Card "El Diagnóstico": padding por CSS (antes era inline) para que sea responsive */
.diagnostico-card { padding: 42px 48px; }

/* Paddings de cards coherentes en mobile (varias no tenían override) */
@media (max-width: 600px) {
  .activo-card { padding: 28px 22px; }
  .realidad-card { padding: 28px 22px; }
  .paravos-col { padding: 28px 22px; }
  .callout-banner { padding: 24px 22px; }
  .calc-box { padding: 20px 22px; }
  .ai-project-box { padding: 22px 22px; }
  .news-box { padding: 40px 24px; }
  .diagnostico-card { padding: 28px 22px; }
}

/* ==========================================================================
   EXPERIENCIAS GRATUITAS · páginas internas (Tres Frascos / Tribu / Chispa)
   Componentes propios de estas pages. Reutilizan tokens + componentes de la
   Home (hero, método pineado, paravos-grid, testi, lab-banner, checklist).
   ========================================================================== */

/* Sección genérica de experiencia: ocupa como mínimo el alto del viewport
   (crece si hay más contenido), igual que .section-viewport en la Home. */
.exp-section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 0;
}

@media (max-width: 768px) {
  .exp-section { padding: 72px 0; }
}

/* Sección intro (primera tras el recorrido): NO fuerza 100vh para no quedar
   muy abajo; viene pegada al fundido del recorrido con poco aire arriba. */
.exp-section--intro {
  min-height: 0;
  padding-top: clamp(16px, 3vw, 40px);
  padding-bottom: clamp(72px, 9vw, 120px);
}

/* Párrafo narrativo centrado (texto-forward, en vez de card) */
.exp-lead {
  max-width: 680px;
  margin: 0 auto 22px;
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-muted);
  text-align: center;
}

.exp-lead:last-child { margin-bottom: 0; }

.exp-lead strong { color: var(--accent-gold-light); font-weight: 600; }

/* Pull-quote grande en Playfair itálico (momento emocional del relato) */
.exp-quote {
  max-width: 720px;
  margin: 10px auto 0;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(21px, 3vw, 29px);
  line-height: 1.45;
  color: var(--accent-gold-light);
  text-align: center;
}

.exp-quote + .exp-lead { margin-top: 22px; }

/* Recorrido Fénix: strip de 3 nodos que enlaza las 3 experiencias */
/* Banda de fundido entre la hero y la primera sección: arriba el mismo
   obsidiana del pie de la hero, abajo transparente → transición suave.
   Sin línea divisoria; mucho aire arriba y abajo para que respire el degradé. */
.journey-band {
  position: relative;
  padding: clamp(56px, 8vw, 92px) 0 clamp(64px, 10vw, 108px);
  background: linear-gradient(180deg, var(--bg-obsidian) 0%, rgba(9, 10, 19, 0) 100%);
}

/* Encabezado: título con énfasis + caption en mayúsculas */
.journey-head {
  text-align: center;
  margin-bottom: clamp(34px, 5vw, 52px);
}

.journey-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(27px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.3px;
  color: var(--text-ivory);
  margin-bottom: 12px;
}

.journey-hint {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.journey {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

/* Línea horizontal que recorre los 3 círculos (timeline). Va detrás de los
   nodos, alineada al centro vertical del círculo; los nodos opacos + su anillo
   la recortan. Los extremos coinciden con el centro del 1er y 3er nodo. */
.journey::before {
  content: "";
  position: absolute;
  top: 34px;              /* centro vertical del nodo (68 / 2) */
  left: 16.6%;
  right: 16.6%;
  height: 2px;
  background: rgba(216, 178, 110, 0.18);
  z-index: 0;
}

.journey-step {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

/* Los pasos navegables se ven claramente clickeables */
a.journey-step { cursor: pointer; }

.journey-node {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 25px;
  /* line-height: 1; */
  /* Compensa la métrica de Playfair para centrar ópticamente el número */
  padding-bottom: 6px;
  color: var(--text-faint);
  background: var(--bg-navy-card);
  border: 2px solid var(--border-subtle);
  /* Anillo del color del fondo: recorta la línea alrededor del nodo */
  box-shadow: 0 0 0 6px var(--bg-obsidian);
  transition: border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.journey-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.35;
  max-width: 13ch;
}

a.journey-step:hover { color: var(--accent-gold-light); }
a.journey-step:hover .journey-node {
  border-color: var(--accent-gold-light);
  color: var(--accent-gold-light);
  box-shadow: 0 0 0 6px var(--bg-obsidian), 0 0 18px 1px rgba(216, 178, 110, 0.35);
}

/* Paso actual: encendido con anillo + halo (como en la primera versión) */
.journey-step.is-current { color: var(--accent-gold-light); }
.journey-step.is-current .journey-node {
  border-color: var(--accent-gold-light);
  color: var(--accent-gold-light);
  box-shadow: 0 0 0 6px var(--bg-obsidian), 0 0 22px 2px rgba(216, 178, 110, 0.5);
}

@media (max-width: 520px) {
  .journey::before { top: 29px; }  /* centro del nodo mobile (58 / 2) */
  .journey-node { width: 58px; height: 58px; font-size: 21px; }
  .journey-label { font-size: 11px; max-width: 11ch; }
}

/* Kit La Chispa: grilla 2×2 de "piezas" (usa .card-studio para hover coherente) */
.kit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 900px;
  margin: 0 auto;
}

.kit-piece { padding: 34px 32px; }

.kit-piece .kit-icon {
  display: block;
  font-size: 34px;
  line-height: 1;
  margin-bottom: 16px;
}

.kit-piece h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--accent-gold-light);
  margin-bottom: 10px;
  line-height: 1.3;
}

.kit-piece p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 720px) {
  .kit-grid { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 600px) {
  .kit-piece { padding: 28px 24px; }
}

/* Cita de Jes con foto (cierra la sección de metodología del Kit) */
.founder-quote {
  display: flex;
  gap: 30px;
  align-items: center;
  max-width: 760px;
  margin: 28px auto 0;
  padding: 38px 42px;
}

.founder-quote__photo {
  width: 112px;
  height: 112px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 2px solid var(--border-active);
  box-shadow: 0 0 26px rgba(216, 178, 110, 0.28);
}

.founder-quote__text p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--text-ivory);
  line-height: 1.5;
  margin: 0 0 12px;
}

.founder-quote__author {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 700;
}

@media (max-width: 640px) {
  .founder-quote {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 32px 24px;
  }
}

/* Banner "próximo paso" del funnel: variante del lab-banner con acento gratis.
   El botón secundario no debe encogerse (mismo criterio que el primario). */
.lab-banner .btn-secondary {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 840px) {
  .lab-banner .btn-secondary { white-space: normal; }
}

/* Funnel dentro de la sección de cierre: el banner queda sobre el mismo
   gradiente, debajo del CTA y con aire respecto del botón. Es el último paso
   de la navegación (ir al siguiente recurso o a la Mentoría). */
.exp-funnel {
  margin-top: clamp(52px, 7vw, 84px);
}

/* ==========================================================================
   NAVBAR · submenú desplegable ("Experiencias gratuitas")
   Estilo HeroUI Dropdown: panel glass oscuro (mismo material del navbar,
   algo más opaco para legibilidad). Abre en hover con opacidad + escala,
   easing no lineal cubic-bezier(0.16,1,0.3,1) (tipo shadcn Navigation Menu).
   ========================================================================== */
.nav-dd {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Trigger con el mismo look que los <a> del menú (es un <button>) */
.nav-dd-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1;
  color: var(--text-muted);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.25s ease;
}

.nav-dd:hover .nav-dd-trigger,
.nav-dd:focus-within .nav-dd-trigger,
.nav-dd-trigger.is-active { color: var(--accent-gold-light); }

.nav-dd-caret {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dd:hover .nav-dd-caret,
.nav-dd:focus-within .nav-dd-caret { transform: rotate(180deg); }

/* Panel: material del navbar (obsidiana glass), esquinas y sombra tipo HeroUI.
   --dd-offset baja el panel para que no pise el borde inferior del navbar (el
   alto del navbar depende del padding + el botón CTA, ~26px bajo el trigger). */
.nav-dd-panel {
  position: absolute;
  --dd-offset: 26px;
  top: calc(100% + var(--dd-offset));
  left: 0;                          /* alineado a la izquierda con su item */
  display: flex;
  flex-direction: column;
  gap: 3px;                         /* separación entre opciones */
  min-width: 180px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(9, 10, 19, 0.6);           /* glassmorfismo translúcido */
  /* border: 1px solid var(--border-subtle); */
  box-shadow: 0 16px 40px rgba(30, 6, 10, 0.5), 0 0 24px rgba(216, 178, 110, 0.10);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  transform-origin: top left;       /* escala desde la esquina superior izquierda */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.96);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s;
  z-index: 20;
}

/* Puente invisible trigger↔panel: cubre todo el offset para que el hover no se
   corte al bajar. Solo hoverable cuando el panel está visible (no bloquea el
   navbar/hero cuando está cerrado, porque hereda visibility:hidden). */
.nav-dd-panel::before {
  content: "";
  position: absolute;
  top: calc(-1 * var(--dd-offset));
  left: 0;
  right: 0;
  height: var(--dd-offset);
}

.nav-dd:hover .nav-dd-panel,
.nav-dd:focus-within .nav-dd-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}

/* Ítems del panel. Se cualifica con .nav-dd-panel para ganarle a .nav-menu a */
.nav-dd-panel .nav-dd-item {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-dd-panel .nav-dd-item:hover {
  background: rgba(216, 178, 110, 0.10);
  color: var(--accent-gold-light);
}

.nav-dd-panel .nav-dd-item.is-active {
  color: var(--accent-gold-light);
  background: rgba(216, 178, 110, 0.06);
}

@media (prefers-reduced-motion: reduce) {
  .nav-dd-panel {
    transition: opacity 0.2s ease, visibility 0.2s ease;
    transform: none;
  }
  .nav-dd:hover .nav-dd-panel,
  .nav-dd:focus-within .nav-dd-panel { transform: none; }
  .nav-dd-caret { transition: none; }
}