/* ============================================================
   EASY TRADING ACADEMY — Design Tokens
   Todos los valores del sistema de diseño en un solo lugar.
   No escribir colores, tamaños ni espaciados a mano en otros archivos.
   ============================================================ */

:root {

  /* ── COLORES ─────────────────────────────────────────── */

  /* Fondos (escala oscura) */
  --bg-base:     #0F0F10;   /* fondo raíz de página */
  --bg-elevated: #1A1A1B;   /* cards, nav, secciones elevadas */
  --bg-surface:  #242425;   /* inputs, thumbnails, elementos internos */

  /* Bordes */
  --border:        #2E2E30;
  --border-strong: #3A3A3C;

  /* Textos */
  --text-primary:   #F5F5F5;
  --text-secondary: #A8A8A8;
  --text-muted:     #8A8A8A;

  /* Acento dorado */
  --accent:        #D4A017;
  --accent-hover:  #E5B43D;
  --accent-muted:  rgba(212, 160, 23, 0.12);
  --accent-subtle: rgba(212, 160, 23, 0.04);

  /* Estados */
  --success: #34D399;
  --danger:  #EF4444;
  --warning: #F59E0B;


  /* ── TIPOGRAFÍA ──────────────────────────────────────── */

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Escala desktop */
  --fs-hero:    72px;
  --fs-h1:      56px;
  --fs-h2:      44px;
  --fs-h3:      28px;
  --fs-h4:      20px;
  --fs-body-l:  18px;
  --fs-body:    16px;
  --fs-small:   14px;
  --fs-xs:      12px;

  /* Escala mobile */
  --fs-hero-m:  40px;
  --fs-h1-m:    36px;
  --fs-h2-m:    30px;
  --fs-h3-m:    22px;
  --fs-h4-m:    18px;

  /* Pesos */
  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;
  --fw-black:    800;

  /* Interlineado */
  --lh-tight:  1.05;
  --lh-snug:   1.25;
  --lh-normal: 1.6;


  /* ── ESPACIADO (grid de 8px) ─────────────────────────── */

  --sp-1:  8px;
  --sp-2:  16px;
  --sp-3:  24px;
  --sp-4:  32px;
  --sp-5:  48px;
  --sp-6:  64px;
  --sp-7:  96px;
  --sp-8:  128px;


  /* ── RADIOS ──────────────────────────────────────────── */

  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-pill: 999px;


  /* ── SOMBRAS ─────────────────────────────────────────── */

  --shadow-sm:     0 2px 8px  rgba(0, 0, 0, 0.3);
  --shadow:        0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg:     0 8px 48px rgba(0, 0, 0, 0.5);
  --shadow-accent: 0 0 0 1px rgba(212, 160, 23, 0.2),
                   0 8px 32px rgba(212, 160, 23, 0.12);


  /* ── LAYOUT ──────────────────────────────────────────── */

  --container:      1200px;
  --container-sm:   860px;
  --container-xs:   640px;

  --header-height:  64px;


  /* ── TRANSICIONES ────────────────────────────────────── */

  --transition:      all 0.2s ease;
  --transition-slow: all 0.35s ease;
}
/* ============================================================
   EASY TRADING ACADEMY — Base & Reset
   Estilos globales, tipografía base y utilidades genéricas.
   ============================================================ */

/* Inter via system-ui fallback — la fuente se carga de forma no bloqueante desde las páginas */


/* ── RESET ───────────────────────────────────────────────── */

*, *::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);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--text-secondary);
  background-color: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg {
  max-width: 100%;
  display: block;
}

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  outline: none;
}

button { cursor: pointer; }

/* ── ACCESIBILIDAD: focus visible para teclado ─────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Touch targets mínimos en móvil */
@media (max-width: 768px) {
  button, a, [role="button"] {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  input, textarea, select {
    font-size: 16px; /* evita zoom automático en iOS */
    min-height: 44px;
  }
}

ul, ol { list-style: none; }


/* ── TIPOGRAFÍA ──────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  line-height: var(--lh-snug);
}

h1 { font-size: var(--fs-h1);   font-weight: var(--fw-black); line-height: var(--lh-tight); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3);   font-weight: var(--fw-semibold); }
h4 { font-size: var(--fs-h4);   font-weight: var(--fw-semibold); }
h5 { font-size: var(--fs-body); font-weight: var(--fw-semibold); }
h6 { font-size: var(--fs-small);font-weight: var(--fw-semibold); }

p { font-size: var(--fs-body-l); }

strong { font-weight: var(--fw-semibold); color: var(--text-primary); }

@media (max-width: 768px) {
  h1 { font-size: var(--fs-h1-m); }
  h2 { font-size: var(--fs-h2-m); }
  h3 { font-size: var(--fs-h3-m); }
  h4 { font-size: var(--fs-h4-m); }
  p  { font-size: var(--fs-body); }
}


/* ── LAYOUT BASE ─────────────────────────────────────────── */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-3);
}

.container--sm { max-width: var(--container-sm); }
.container--xs { max-width: var(--container-xs); }

section {
  padding: var(--sp-7) 0;
}

@media (max-width: 768px) {
  section { padding: var(--sp-5) 0; }
  .container { padding: 0 var(--sp-2); }
}


/* ── UTILIDADES ──────────────────────────────────────────── */

/* Texto */
.text-primary   { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted     { color: var(--text-muted); }
.text-accent    { color: var(--accent); }
.text-success   { color: var(--success); }
.text-danger    { color: var(--danger); }

.text-center { text-align: center; }
.text-left   { text-align: left; }

/* Eyebrow (etiqueta sobre títulos) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: var(--sp-2);
}

.eyebrow--line::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.eyebrow--pill {
  padding: 6px 14px;
  background: var(--accent-muted);
  border-radius: var(--radius-pill);
}

/* Lead (bajada de título) */
.lead {
  font-size: var(--fs-body-l);
  color: var(--text-secondary);
  line-height: var(--lh-normal);
  max-width: 680px;
}

/* Section header */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.section-head h2 { margin-bottom: var(--sp-2); }
.section-head .lead { margin: 0 auto; }

.section-head--left {
  text-align: left;
  margin: 0;
}

/* Divisor */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--sp-5) 0;
}

/* Visibilidad responsive */
@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
}
@media (min-width: 769px) {
  .hide-desktop { display: none !important; }
}

/* ── ACCESIBILIDAD: visualmente oculto pero legible por lectores de pantalla ── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Skip navigation — accesibilidad teclado */
.skip-nav {
  position: fixed;
  top: 0;
  left: 16px;
  z-index: 9999;
  background: var(--accent);
  color: #0A0A0A;
  padding: 8px 16px;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transform: translateY(-100%);
  transition: transform 0.2s;
}
.skip-nav:focus {
  transform: translateY(0);
  outline: 2px solid #0A0A0A;
  outline-offset: 2px;
}
/* ============================================================
   EASY TRADING ACADEMY — Components
   Piezas reutilizables: botones, badges, cards, formularios...
   ============================================================ */


/* ── BOTONES ─────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

/* Primario — dorado sólido */
.btn--primary {
  background: var(--accent);
  color: #0A0A0A;
}
.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(212, 160, 23, 0.25);
}

/* Secundario — outline */
.btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}
.btn--secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Ghost — sin borde, para el nav */
.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 10px 16px;
}
.btn--ghost:hover {
  color: var(--text-primary);
}

/* Tamaños */
.btn--sm  { padding: 10px 20px; font-size: var(--fs-small); }
.btn--lg  { padding: 18px 36px; font-size: var(--fs-body-l); }
.btn--full { width: 100%; }

/* Estado deshabilitado */
.btn:disabled,
.btn--disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}


/* ── BADGES / ETIQUETAS ──────────────────────────────────── */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

.badge--popular  { background: var(--accent);  color: #0A0A0A; }
.badge--free     { background: var(--success);  color: #0A0A0A; }
.badge--new      { background: var(--warning);  color: #0A0A0A; }
.badge--outline  { border: 1px solid var(--border-strong); color: var(--text-muted); }


/* ── META TAGS (info inline en cards) ───────────────────── */

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  align-items: center;
}

.meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.meta-tag .dot {
  width: 3px;
  height: 3px;
  background: var(--border-strong);
  border-radius: 50%;
}


/* ── CARDS ───────────────────────────────────────────────── */

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  transition: var(--transition);
}

.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.card--featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-subtle), var(--bg-elevated));
  box-shadow: var(--shadow-accent);
}

.card--flat { transition: none; }
.card--flat:hover { transform: none; }


/* ── ACADEMIA CARD (tarjeta ancha premium) ───────────────── */

.academia-card {
  background: var(--bg-elevated);
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: var(--sp-4) var(--sp-5);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-4);
  align-items: center;
  position: relative;
  overflow: visible;
  margin-bottom: var(--sp-4);
  background:
    linear-gradient(100deg, rgba(212,160,23,0.06) 0%, transparent 60%),
    var(--bg-elevated);
  box-shadow: var(--shadow-accent);
}

.academia-card-body { }

.academia-card-body .level {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-1);
}

.academia-card-body h3 {
  font-size: 26px;
  margin-bottom: var(--sp-2);
}

.academia-card-body .desc {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  max-width: 640px;
  line-height: var(--lh-normal);
  margin-bottom: var(--sp-3);
}

.academia-card-body ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px 24px;
}

.academia-card-body li {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
}

.academia-card-body li::before {
  content: '✓';
  color: var(--accent);
  font-weight: var(--fw-bold);
  position: absolute;
  left: 0;
}

.academia-card-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  min-width: 180px;
  text-align: center;
}

.academia-card-side .price-block {
  display: flex;
  align-items: baseline;
  gap: 8px;
  justify-content: center;
}

.academia-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--bg-surface);
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
}

@media (max-width: 900px) {
  .academia-card {
    grid-template-columns: 1fr;
  }
  .academia-card-body ul {
    grid-template-columns: 1fr 1fr;
  }
  .academia-card-side {
    min-width: unset;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    text-align: left;
  }
}

@media (max-width: 540px) {
  .academia-card-body ul {
    grid-template-columns: 1fr;
  }
  .academia-card { padding: var(--sp-4); }
}


/* ── BADGES adicionales ──────────────────────────────────── */

.badge--unavailable {
  background: var(--bg-surface);
  color: var(--text-muted);
  border: 1px solid var(--border-strong);
}


/* ── COURSE CARD (tarjetas individuales) ─────────────────── */

.course-card-wrap {
  display: flex;
}

.course-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  transition: var(--transition);
  overflow: visible;
}

.course-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.course-card--featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-subtle) 0%, var(--bg-elevated) 40%);
  box-shadow: var(--shadow-accent);
}

.course-card .badge--popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(212, 160, 23, 0.3);
}

.course-thumb {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 160px;
  margin-bottom: var(--sp-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: var(--fs-small);
  position: relative;
  overflow: hidden;
}

.course-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, var(--accent-muted), transparent 65%);
  opacity: 0.5;
  pointer-events: none;
}

/* ── Variantes de thumbnail por curso ──────────────────── */

.course-thumb--gratis {
  background: linear-gradient(135deg, #0f1a14 0%, #0d1f10 100%);
  border-color: rgba(52, 211, 153, 0.2);
}
.course-thumb--gratis::before {
  background: radial-gradient(circle at 30% 60%, rgba(52,211,153,0.15), transparent 60%);
  opacity: 1;
}

.course-thumb--principiante {
  background: linear-gradient(135deg, #1a1400 0%, #1f1800 100%);
  border-color: rgba(212, 160, 23, 0.3);
}
.course-thumb--principiante::before {
  background: radial-gradient(circle at 70% 40%, rgba(212,160,23,0.2), transparent 60%);
  opacity: 1;
}

.course-thumb--configuracion {
  background: linear-gradient(135deg, #0d1220 0%, #0f1428 100%);
  border-color: rgba(96, 165, 250, 0.2);
}
.course-thumb--configuracion::before {
  background: radial-gradient(circle at 50% 50%, rgba(96,165,250,0.12), transparent 60%);
  opacity: 1;
}

.course-thumb--academia {
  background: linear-gradient(135deg, #150d20 0%, #1a0f28 100%);
  border-color: rgba(167, 139, 250, 0.25);
}
.course-thumb--academia::before {
  background: radial-gradient(circle at 40% 50%, rgba(167,139,250,0.15), transparent 60%);
  opacity: 1;
}

/* Contenido interior del thumbnail */
.thumb-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  padding: var(--sp-3);
  text-align: center;
}

.thumb-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  flex-shrink: 0;
}

.thumb-icon--gratis       { background: rgba(52,211,153,0.12);  }
.thumb-icon--principiante { background: rgba(212,160,23,0.12);  }
.thumb-icon--configuracion{ background: rgba(96,165,250,0.12);  }
.thumb-icon--academia     { background: rgba(167,139,250,0.12); }

.thumb-label,
.thumb-title {
  display: none;
}

.course-card .level {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-2);
}

.course-card h3 {
  font-size: 22px;
  margin-bottom: var(--sp-2);
}

.course-card .desc {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  margin-bottom: var(--sp-3);
  flex-grow: 1;
  line-height: var(--lh-normal);
}

.course-card ul {
  margin-bottom: var(--sp-3);
}

.course-card li {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  padding: 5px 0 5px 22px;
  position: relative;
  line-height: 1.5;
}

.course-card li::before {
  content: '✓';
  color: var(--accent);
  font-weight: var(--fw-bold);
  position: absolute;
  left: 0;
}

.course-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--border);
  margin-bottom: var(--sp-3);
  margin-top: auto;
}

.price--current {
  font-size: 34px;
  font-weight: var(--fw-black);
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}

.price--old {
  font-size: 18px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.price--free {
  font-size: 34px;
  font-weight: var(--fw-black);
  color: var(--success);
  letter-spacing: -0.02em;
  line-height: 1;
}


/* ── STAT CARD ───────────────────────────────────────────── */

.stat-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
}

.stat-value {
  font-size: 56px;
  font-weight: var(--fw-black);
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-2);
}

.stat-label {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: var(--lh-normal);
}


/* ── TESTIMONIAL CARD ────────────────────────────────────── */

.testimonial {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
}

.testimonial .stars {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: var(--sp-2);
}

.testimonial-text {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: var(--lh-normal);
  flex-grow: 1;
  margin-bottom: var(--sp-3);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding-top: var(--sp-2);
  border-top: 1px solid var(--border);
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #8B6914);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0A0A0A;
  font-weight: var(--fw-bold);
  font-size: var(--fs-small);
  flex-shrink: 0;
}

.author-info .name {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
}

.author-info .date {
  font-size: 12px;
  color: var(--text-muted);
}


/* ── FAQ ACCORDION ───────────────────────────────────────── */

.faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item + .faq-item { margin-top: var(--sp-2); }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-3);
  cursor: pointer;
  gap: var(--sp-3);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  user-select: none;
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 18px;
  font-weight: var(--fw-regular);
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 var(--sp-3) var(--sp-3);
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: var(--lh-normal);
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}


/* ── TRUST BADGE / TRUSTPILOT ────────────────────────────── */

.trustpilot-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 12px 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.trustpilot-badge:hover {
  border-color: var(--accent);
}

.trustpilot-badge .rating {
  font-size: 22px;
  font-weight: var(--fw-black);
  color: var(--text-primary);
  line-height: 1;
}

.trustpilot-badge .stars-tp {
  color: var(--accent);
  letter-spacing: 1px;
}

.trustpilot-badge .meta {
  font-size: var(--fs-small);
  color: var(--text-secondary);
}


/* ── TRUST ROW (hero) ────────────────────────────────────── */

.trust-row {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--border);
  max-width: 720px;
  margin: 0 auto;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-small);
  color: var(--text-secondary);
}

.trust-item .icon { color: var(--accent); }


/* ── DISCLAIMER (footer legal) ───────────────────────────── */

.disclaimer {
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: var(--radius);
  padding: var(--sp-3);
}

.disclaimer p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.disclaimer strong { color: var(--danger); }


/* ── JOURNEY STEPS ───────────────────────────────────────── */

.journey-step-num {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-muted);
  color: var(--accent);
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-bold);
  font-size: var(--fs-small);
  margin-bottom: var(--sp-2);
  flex-shrink: 0;
}

.journey-price {
  font-size: var(--fs-small);
  color: var(--accent);
  font-weight: var(--fw-semibold);
  margin-bottom: 8px;
}

.card h4 { margin-bottom: 6px; }
.card p  { font-size: var(--fs-small); color: var(--text-secondary); }


/* ── METHOD ICON ─────────────────────────────────────────── */

.method-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-3);
  color: var(--accent);
  flex-shrink: 0;
}

.card h3 { margin-bottom: var(--sp-2); }
.card.card--flat p { font-size: var(--fs-body); }


/* ── INSTRUCTOR PHOTO ────────────────────────────────────── */

.instructor-photo {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(212,160,23,0.15), rgba(15,15,16,0.8)),
    var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  overflow: hidden;
}

.instructor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ── VALUE PROPS ─────────────────────────────────────────── */

.value-prop {
  text-align: center;
  padding: var(--sp-3);
}

.value-prop-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-muted);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-2);
  font-size: 22px;
  color: var(--accent);
}

.value-prop h5 {
  font-size: var(--fs-body);
  color: var(--text-primary);
  margin-bottom: 6px;
}

.value-prop p {
  font-size: var(--fs-small);
  color: var(--text-muted);
  line-height: 1.5;
}


/* ── FILTER PILLS ────────────────────────────────────────── */

.filter-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
  padding: var(--sp-3) 0;
}

.filter-label {
  font-size: var(--fs-small);
  color: var(--text-muted);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pill {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  cursor: pointer;
  transition: var(--transition);
}

.pill:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.pill--active {
  background: var(--accent);
  color: #0A0A0A;
  border-color: var(--accent);
  font-weight: var(--fw-semibold);
}
/* ============================================================
   EASY TRADING ACADEMY — Layout
   Header, footer, hero, grids de sección.
   ============================================================ */


/* ── HEADER ──────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(15, 15, 16, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-3);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-weight: var(--fw-bold);
  font-size: 18px;
  letter-spacing: -0.02em;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.logo-mark img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.nav-links a {
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover    { color: var(--text-primary); }
.nav-links a.active   { color: var(--accent); }

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

/* Hamburguesa → X cuando aria-expanded="true" */
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

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

  .nav-toggle { display: flex; }

  /* Nav mobile desplegada */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-2);
    position: absolute;
    top: var(--header-height);
    left: 0; right: 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    padding: var(--sp-3);
    z-index: 99;
  }

  .nav-actions.open {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: calc(var(--header-height) + 200px); /* se ajusta via JS */
    left: 0; right: 0;
    background: var(--bg-elevated);
    padding: var(--sp-2) var(--sp-3) var(--sp-3);
    border-bottom: 1px solid var(--border);
    z-index: 99;
  }
}


/* ── FOOTER ──────────────────────────────────────────────── */

.site-footer {
  background: #0A0A0B;
  padding: var(--sp-6) 0 var(--sp-4);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-5);
  margin-bottom: var(--sp-5);
}

.footer-brand .logo {
  margin-bottom: var(--sp-2);
}

.footer-brand p {
  font-size: var(--fs-small);
  color: var(--text-muted);
  max-width: 300px;
  line-height: var(--lh-normal);
}

.footer-col h5 {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-2);
}

.footer-col li { padding: 5px 0; }

.footer-col a {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

.footer-bottom {
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
  }
}

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


/* ── HERO (home) ─────────────────────────────────────────── */

.hero {
  position: relative;
  padding: var(--sp-7) 0 var(--sp-6);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212, 160, 23, 0.08) 0%, transparent 60%),
    var(--bg-base);
  overflow: hidden;
  text-align: center;
}

/* Grid de fondo sutil */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
}

.hero h1 { margin-bottom: var(--sp-3); }

.hero .lead {
  margin: 0 auto var(--sp-4);
}

.hero-ctas {
  display: flex;
  gap: var(--sp-2);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--sp-5);
}


/* ── PAGE HERO (subpáginas) ──────────────────────────────── */

.page-hero {
  position: relative;
  padding: var(--sp-6) 0 var(--sp-5);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center top, black 10%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at center top, black 10%, transparent 65%);
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 { margin-bottom: var(--sp-2); }

.page-hero .lead { max-width: 640px; }


/* ── SECCIÓN CON BG ELEVADO ──────────────────────────────── */

.section--elevated {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}


/* ── CTA FINAL ───────────────────────────────────────────── */

.cta-final {
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(212, 160, 23, 0.1) 0%, transparent 65%),
    var(--bg-base);
  border-top: 1px solid var(--border);
}

.cta-final.section--elevated {
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(212, 160, 23, 0.1) 0%, transparent 65%),
    var(--bg-elevated);
}

.cta-final .container { position: relative; z-index: 1; }
.cta-final h2 { margin-bottom: var(--sp-2); }
.cta-final .lead { margin: 0 auto var(--sp-4); }
.cta-final .hero-ctas { margin-bottom: 0; }


/* ── GRIDS DE SECCIÓN ────────────────────────────────────── */

/* 3 columnas (cursos, testimonios, metodología) */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  align-items: stretch;
}

/* 4 columnas (journey steps, stats) */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
}

/* 2 columnas (instructor, hero-split) */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
  align-items: center;
}

.grid-2--wide {
  grid-template-columns: 1.4fr 1fr;
}

/* Responsive */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

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