/* ==========================================================================
   ECUCYBER — BRAND PORTAL & DESIGN SYSTEM (HAK5 / HTB STYLE)
   Tecnología: Lean CSS puro de alto rendimiento (Zero JS)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@700;800;900&display=swap');

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS (PALETA OFICIAL ECUCYBER: CIAN, NARANJA, CARBÓN, PLATEADO)
   -------------------------------------------------------------------------- */
:root {
  /* Fondo general y superficies basados en Carbón (#30363B) */
  --bg: #12161a;
  --bg-surface: #181d22;
  --bg-card: rgba(48, 54, 59, 0.72);
  --bg-card-hover: rgba(48, 54, 59, 0.92);
  --bg-elevated: #262c32;
  --nav-bg: rgba(18, 22, 26, 0.88);

  /* Tipografía y textos: Blanco perla, Gris hielo y Plateado */
  --text-heading: #F4F5F6;
  --text: #D7DDE0;
  --text-muted: #858D94;
  --text-dim: #606870;

  /* Color Primario de Marca: Cian (#00C8FF) */
  --accent: #00C8FF;
  --accent-light: #4dd8ff;
  --accent-dim: rgba(0, 200, 255, 0.12);
  --accent-glow: rgba(0, 200, 255, 0.35);

  /* Color Secundario de Marca: Naranja (#FF8A36) */
  --accent-2: #FF8A36;
  --accent-2-light: #ffa25c;
  --accent-2-dim: rgba(255, 138, 54, 0.14);
  --accent-2-glow: rgba(255, 138, 54, 0.35);

  /* Bordes y Sombras basados en Plateado (#858D94) y Carbón */
  --border: rgba(133, 141, 148, 0.22);
  --border-card: rgba(133, 141, 148, 0.26);
  --border-focus: rgba(0, 200, 255, 0.55);

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 14px;
  --radius-full: 6px;

  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 16px 40px -12px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 24px var(--accent-glow);
  --shadow-glow-purple: 0 0 24px var(--accent-2-glow);

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --container-max: 1220px;
}

/* --------------------------------------------------------------------------
   2. TEMA OSCURO TÁCTICO POR DEFECTO (Carbón como base, Cian, Plateado, Naranja)
   -------------------------------------------------------------------------- */
/* El ecosistema EcuCyber mantiene su identidad visual táctica y consistente */

/* --------------------------------------------------------------------------
   3. RESET & REGLAS BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: 1.15;
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   4. AMBIENTACIÓN CYBERPUNK: GRID VECTORIAL & ORBES DE LUZ
   -------------------------------------------------------------------------- */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image: 
    /* 1. Rayas oblicuas diagonales ultra sutiles (Hack The Box scanlines) */
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.018) 0px,
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px,
      transparent 20px
    ),
    /* 2. Matriz de micro-puntos verdes en intersecciones */
    radial-gradient(circle at 1px 1px, rgba(16, 185, 129, 0.22) 1.2px, transparent 0),
    /* 3. Cuadrícula técnica de ingeniería */
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, 36px 36px, 36px 36px, 36px 36px;
  mask-image: radial-gradient(ellipse at 50% 25%, black 50%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 25%, black 50%, transparent 85%);
  pointer-events: none;
  z-index: 0;
}

/* Haz de luz oblicuo / rayo volumétrico estilo HTB */
.bg-beam {
  position: fixed;
  top: -40%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.07) 0%,
    rgba(139, 92, 246, 0.04) 22%,
    transparent 52%
  );
  transform: rotate(-10deg);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb-emerald {
  position: absolute;
  top: -150px;
  left: 20%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, var(--accent-glow) 0%, rgba(16, 185, 129, 0) 70%);
  filter: blur(100px);
  opacity: 0.6;
  animation: pulseOrb 14s ease-in-out infinite alternate;
}

.orb-purple {
  position: absolute;
  top: 35%;
  right: 10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--accent-2-glow) 0%, rgba(139, 92, 246, 0) 70%);
  filter: blur(110px);
  opacity: 0.5;
  animation: pulseOrb 18s ease-in-out infinite alternate-reverse;
}

@keyframes pulseOrb {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.1) translate(30px, -25px); }
  100% { transform: scale(0.95) translate(-25px, 35px); }
}

/* --------------------------------------------------------------------------
   5. CONTENEDOR & HEADER DE NAVEGACIÓN
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  padding: 0.9rem 0;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text-heading);
}

.brand-logo {
  width: auto;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px var(--accent-glow));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.nav-link:hover, .nav-link:focus-visible {
  color: var(--accent);
}

/* Checkbox hack para navegación mobile sin JS */
#nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: '';
  display: block;
  background: var(--text);
  height: 2px;
  width: 24px;
  border-radius: 2px;
  transition: var(--transition);
  position: relative;
}
.nav-toggle-icon::before { top: -8px; }
.nav-toggle-icon::after { top: 6px; }

/* --------------------------------------------------------------------------
   6. BOTONES DE CONVERSIÓN & ACCIÓN
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #0099cc 100%);
  color: #042f2e;
  box-shadow: 0 4px 18px var(--accent-glow);
}

.btn-primary:hover, .btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px var(--accent-glow);
  color: #022c22;
}

.btn-secondary {
  background: var(--bg-card);
  border-color: var(--border);
  color: var(--text-heading);
  backdrop-filter: blur(14px);
}

.btn-secondary:hover, .btn-secondary:focus-visible {
  background: var(--bg-elevated);
  border-color: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--accent-2-dim);
}

.btn-nav {
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
}

/* --------------------------------------------------------------------------
   7. HERO SECTION (IMPACTO & HOOK TÁCTICO)
   -------------------------------------------------------------------------- */
.hero {
  padding: 5.5rem 0 3rem;
  position: relative;
}

.hero-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  color: var(--accent-light);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
  max-width: 850px;
}

.highlight-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.7;
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   8. TELEMETRY & STATS RIBBON (SOCIAL PROOF)
   -------------------------------------------------------------------------- */
.stats-ribbon {
  margin: 4.5rem 0 3rem;
  padding: 1.25rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  box-shadow: var(--shadow-card);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.stat-icon {
  color: var(--accent);
  display: flex;
  align-items: center;
}

.stat-text {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   9. BENTO SHOWCASE GRID (HAK5 / HTB STYLE)
   -------------------------------------------------------------------------- */
.showcase {
  padding: 3rem 0 5rem;
}

.section-head {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem;
}

.section-tag {
  color: var(--accent-2);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.75rem;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
  box-shadow: 0 20px 45px -15px var(--accent-glow);
  background: var(--bg-card-hover);
}

.bento-card.card-purple:hover {
  border-color: var(--accent-2);
  box-shadow: 0 20px 45px -15px var(--accent-2-glow);
}

/* Column Spans */
.bento-col-7 { grid-column: span 7; }
.bento-col-5 { grid-column: span 5; }
.bento-col-6 { grid-column: span 6; }

/* Badge de Estado */
.bento-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bento-badge.live {
  background: var(--accent-dim);
  color: var(--accent-light);
  border: 1px solid var(--accent);
}

.bento-badge.upcoming {
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.bento-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.bento-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.card-purple .bento-icon-box {
  background: var(--accent-2-dim);
  border-color: var(--accent-2);
  color: var(--accent-2);
}

.bento-title {
  font-size: 1.65rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.bento-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

/* Tags de Especialidad */
.bento-tags {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.bento-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
}

/* Preview Táctico para la Tarjeta de la Academia */
.bento-preview-terminal {
  background: #040810;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.7;
}

.bento-preview-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bento-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.bento-dot.red { background: #ef4444; }
.bento-dot.yellow { background: #eab308; }
.bento-dot.green { background: var(--accent); }

.bento-preview-title {
  margin-left: auto;
  font-size: 0.74rem;
  color: var(--text-dim);
}

.p-prompt { color: var(--accent); font-weight: 700; }
.p-cmd { color: var(--text-heading); font-weight: 600; }
.p-log { color: var(--text-muted); }
.p-flag { color: #f59e0b; font-weight: 700; }

/* Preview Táctico para BinWire VPN */
.bento-preview-vpn {
  background: #040810;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.vpn-metric-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}
.vpn-metric-row:last-child { border-bottom: none; }
.vpn-metric-label { color: var(--text-muted); }
.vpn-metric-val { color: var(--accent-2); font-weight: 700; }

.bento-footer-action {
  margin-top: auto;
}

.bento-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
}

.card-purple .bento-link {
  color: var(--accent-2);
}

.bento-link:hover {
  gap: 0.85rem;
}

/* --------------------------------------------------------------------------
   10. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
  padding: 3.5rem 0 2.5rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.footer-nav {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

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

/* --------------------------------------------------------------------------
   11. RESPONSIVE BREAKPOINTS (MOBILE FIRST)
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
  .bento-col-7,
  .bento-col-5,
  .bento-col-6 {
    grid-column: span 12;
  }

  .stats-ribbon {
    justify-content: flex-start;
    gap: 1.5rem;
  }

  .nav-toggle-label {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    display: none;
  }

  #nav-toggle:checked ~ .nav-menu {
    display: flex;
  }

  #nav-toggle:checked ~ .nav-toggle-label .nav-toggle-icon {
    background: transparent;
  }
  #nav-toggle:checked ~ .nav-toggle-label .nav-toggle-icon::before {
    transform: rotate(45deg);
    top: 0;
  }
  #nav-toggle:checked ~ .nav-toggle-label .nav-toggle-icon::after {
    transform: rotate(-45deg);
    top: 0;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 3.5rem 0 2rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .stats-ribbon {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }

  .footer-grid {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   12. ACCESIBILIDAD: PREFERS-REDUCED-MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Light Mode Overrides for Ambient Grid */
@media (prefers-color-scheme: light) {
  .bg-grid {
    background-image: 
      repeating-linear-gradient(
        -45deg,
        rgba(0, 0, 0, 0.015) 0px,
        rgba(0, 0, 0, 0.015) 1px,
        transparent 1px,
        transparent 20px
      ),
      radial-gradient(circle at 1px 1px, rgba(5, 150, 105, 0.14) 1.2px, transparent 0),
      linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  }
  .bg-beam {
    background: linear-gradient(
      135deg,
      rgba(5, 150, 105, 0.04) 0%,
      rgba(124, 58, 237, 0.03) 22%,
      transparent 52%
    );
  }
  .bento-preview-terminal,
  .bento-preview-vpn {
    background: #0b1320;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  }
}

/* --------------------------------------------------------------------------
   13. COMPONENTES VISUALES & MEDIA CARDS (R2 & WEBP)
   -------------------------------------------------------------------------- */
.hero-media-frame {
  margin-top: 3.5rem;
  width: 100%;
  max-width: 1100px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-focus);
  box-shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.8), 0 0 30px var(--accent-glow);
  position: relative;
  background: #040810;
}

.hero-media-frame img {
  width: 100%;
  height: auto;
  max-height: 520px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.hero-media-hud {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.hud-badge {
  background: rgba(7, 12, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--accent);
  color: var(--accent-light);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.bento-media-header {
  width: 100%;
  height: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
  position: relative;
  background: #050a14;
  border: 1px solid var(--border);
}

.bento-media-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.bento-card:hover .bento-media-header img {
  transform: scale(1.05);
}

.bento-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 19, 32, 0.85) 100%);
  pointer-events: none;
}


/* --------------------------------------------------------------------------
   15. PREGUNTAS FRECUENTES (FAQ ACCORDION - ZERO JS)
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 5rem 0 6rem;
  position: relative;
}

.faq-wrapper {
  max-width: 860px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.faq-item:hover {
  border-color: rgba(133, 141, 148, 0.45);
  background: var(--bg-card-hover);
}

.faq-item[open] {
  border-color: var(--accent);
  box-shadow: 0 12px 30px -10px var(--accent-glow);
  background: var(--bg-card-hover);
}

.faq-question {
  padding: 1.35rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-heading);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  flex-shrink: 0;
  color: var(--accent);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
  color: var(--accent-light);
}

.faq-answer {
  padding: 0 1.75rem 1.5rem 1.75rem;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.75;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
}

.faq-answer strong {
  color: var(--text-heading);
}

.faq-cta-box {
  margin-top: 4rem;
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(48, 54, 59, 0.85) 0%, rgba(18, 22, 26, 0.95) 100%);
  border: 1px solid var(--accent);
  box-shadow: 0 20px 45px -15px var(--accent-glow);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.faq-cta-box h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #F4F5F6;
}

.faq-cta-box p {
  color: #D7DDE0;
  max-width: 620px;
  font-size: 1rem;
  line-height: 1.6;
}

.faq-cta-box .cta-microcopy {
  color: #D7DDE0;
  opacity: 0.85;
}


/* --------------------------------------------------------------------------
   14. BENEFICIOS CLAVE (CERO FRICCIONES)
   -------------------------------------------------------------------------- */
.benefits-section {
  padding: 4rem 0 2rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  background: var(--bg-card-hover);
}

.benefit-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 0.9rem;
  display: block;
}

.benefit-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.benefit-desc {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.65;
}

/* Badge naranja: se reserva para lo importante (contenido gratuito) */
.bento-badge.free {
  background: var(--accent-2-dim);
  color: var(--accent-2-light);
  border: 1px solid var(--accent-2);
}

/* --------------------------------------------------------------------------
   15b. ÁREAS DE APRENDIZAJE
   -------------------------------------------------------------------------- */
.areas-section {
  padding: 4rem 0 2rem;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.area-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: var(--transition);
}

.area-card:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.area-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-heading);
}

.area-desc {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   CTA GROUP & MICROCOPY
   -------------------------------------------------------------------------- */
.cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.cta-microcopy {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   SECCIÓN 2: OBJECIONES RESUELTAS (CSV EVIDENCE)
   -------------------------------------------------------------------------- */
.objections-section {
  padding: 5rem 0 3rem;
  position: relative;
}

.objections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.objection-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: var(--transition);
  position: relative;
}

.objection-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  background: var(--bg-card-hover);
  box-shadow: 0 16px 36px -12px var(--accent-glow);
}

.objection-quote {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-2); /* Naranja táctico para las citas reales */
  line-height: 1.35;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.objection-solution {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.4;
}

.objection-detail {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   SECCIÓN 3: SEMANA POR SEMANA (TU PRIMER MES)
   -------------------------------------------------------------------------- */
.weeks-section {
  padding: 5rem 0 3rem;
  position: relative;
}

.weeks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.week-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: var(--transition);
}

.week-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 40px -15px var(--accent-glow);
}

.week-badge {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  width: fit-content;
  letter-spacing: 0.05em;
}

.week-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.3;
}

.week-desc {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.6;
}

.week-logro {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.86rem;
  color: var(--text);
  line-height: 1.5;
  font-weight: 500;
}

.week-logro strong {
  color: var(--accent);
  font-weight: 700;
  margin-right: 0.3rem;
}

.weeks-footer-note {
  margin-top: 2.5rem;
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.weeks-footer-note strong {
  font-family: var(--font-heading);
  color: var(--text-heading);
  font-size: 1.05rem;
}

.weeks-footer-note span {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   SECCIÓN 4: ECOSISTEMA (BINWIRE + HARDWARE + MERCH)
   -------------------------------------------------------------------------- */
.ecosystem-section {
  padding: 5rem 0 3rem;
  position: relative;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

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

.eco-main-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.eco-main-card:hover {
  border-color: var(--accent);
  box-shadow: 0 20px 45px -15px var(--accent-glow);
}

.eco-media {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

.eco-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.eco-main-card:hover .eco-media img {
  transform: scale(1.04);
}

.eco-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.eco-side-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.eco-secondary-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  flex: 1;
}

.eco-secondary-card:hover {
  border-color: var(--accent-2);
  box-shadow: 0 16px 36px -12px var(--accent-2-glow);
}

.eco-secondary-card .eco-media {
  height: 140px;
}

.eco-secondary-card .eco-content {
  padding: 1.5rem;
  gap: 0.6rem;
}

.badge-live-cyan {
  background: var(--accent-dim);
  color: var(--accent-light);
  border: 1px solid var(--accent);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  width: fit-content;
  letter-spacing: 0.05em;
}

.badge-soon-orange {
  background: var(--accent-2-dim);
  color: var(--accent-2-light);
  border: 1px solid var(--accent-2);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  width: fit-content;
  letter-spacing: 0.05em;
}
