/* ================================================
   CISAN · Migración en América del Norte
   hall-style.css — Paleta acuarela / azul-gris-dorado
   ================================================ */
@charset "UTF-8";

:root {
  /* Paleta acuarela — pergamino · azul-gris · ámbar */
  --arena:        #bfaa7a;
  --arena-light:  #ddd0a8;
  --arena-pale:   #ede8d4;
  --arena-dark:   #6e5430;
  --terra:        #6888a0;
  --terra-light:  #8aaabb;
  --terra-glow:   rgba(104,136,160,.40);
  --oliva:        #5e7046;
  --oliva-light:  #7e9062;
  --dorado:       #d4981c;
  --dorado-light: #e8b424;
  --dorado-glow:  rgba(212,152,28,.45);

  /* Fondos oscuros neutros */
  --bg:           #0c0c0a;
  --bg-card:      #141412;
  --bg-card2:     #1c1c18;
  --border:       rgba(191,170,122,.1);
  --border2:      rgba(191,170,122,.2);
  --text:         #d8caa0;
  --text-muted:   #ece4cc;
  --white:        #f2ece0;

  /* Typography */
  --font-head:    'Cormorant Garant', Georgia, serif;
  --font-body:    'Raleway', sans-serif;
  --font-ui:      'Barlow', sans-serif;

  --section-py:   clamp(70px, 8vw, 108px);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }

/* ═══════════════════════════════════
   KEYFRAMES
═══════════════════════════════════ */
@keyframes fadeUp    { from{opacity:0;transform:translateY(36px)} to{opacity:1;transform:translateY(0)} }
@keyframes float     { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes ring1     { 0%,100%{transform:translate(-50%,-50%) scale(1);opacity:.45} 50%{transform:translate(-50%,-50%) scale(1.1);opacity:.12} }
@keyframes ring2     { 0%,100%{transform:translate(-50%,-50%) scale(1);opacity:.25} 50%{transform:translate(-50%,-50%) scale(1.2);opacity:.06} }
@keyframes scroll-hint { 0%,100%{transform:translateY(0);opacity:.5} 50%{transform:translateY(9px);opacity:.9} }
@keyframes glowPulse  { 0%,100%{opacity:.4} 50%{opacity:.9} }
@keyframes shimmerX   { 0%{transform:translateX(-120%)} 100%{transform:translateX(120%)} }
@keyframes sandDrift  { 0%{background-position:0 0} 100%{background-position:600px 400px} }
@keyframes countBounce { 0%{transform:scale(1)} 50%{transform:scale(1.15)} 100%{transform:scale(1)} }
@keyframes timelinePop { from{opacity:0;transform:scale(.85) translateY(20px)} to{opacity:1;transform:scale(1) translateY(0)} }

/* ═══════════════════════════════════
   HERO ANIMATION (load)
═══════════════════════════════════ */
.anim-hero {
  opacity: 0;
  animation: fadeUp .9s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay: calc(var(--i, 0) * .2s + .1s);
}

/* ═══════════════════════════════════
   UNIVERSAL SCROLL ANIMATION
═══════════════════════════════════ */
[data-aos] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s cubic-bezier(.22,1,.36,1),
              transform .75s cubic-bezier(.22,1,.36,1);
  transition-delay: var(--aos-delay, 0s);
}
[data-aos].aos-in { opacity: 1; transform: none; }

/* ═══════════════════════════════════
   NAVBAR
═══════════════════════════════════ */
.navbar-curso {
  position: fixed; top: 0; left: 0; right: 0; z-index: 2000;
  transition: background .35s, box-shadow .35s;
}
.navbar-curso.scrolled {
  background: rgba(10,10,12,.94);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border), 0 6px 28px rgba(0,0,0,.6);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 13px 28px; gap: 20px;
}
.navbar-logos {
  display: flex; align-items: center; gap: 10px;
  background: rgba(0,0,0,.5); backdrop-filter: blur(8px);
  border: 1px solid var(--border2); border-radius: 8px; padding: 6px 14px;
  transition: transform .3s, box-shadow .3s;
}
.navbar-logos:hover { transform: scale(1.03); box-shadow: 0 0 16px rgba(200,169,126,.08); }
.navbar-logo { height: 38px; width: auto; filter: drop-shadow(0 0 4px rgba(200,169,126,.1)); transition: filter .3s; }
.navbar-logo:hover { filter: drop-shadow(0 0 10px rgba(200,169,126,.25)); }
.navbar-links { display: flex; align-items: center; gap: 26px; }
.navbar-links a {
  font-family: var(--font-ui); font-size: .78rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-muted); transition: color .2s;
}
.navbar-links a:hover, .navbar-links a.active { color: var(--arena-light); }
.btn-nav-cta {
  background: var(--terra) !important; color: var(--white) !important;
  padding: 8px 20px !important; border-radius: 7px;
  transition: background .25s, transform .2s, box-shadow .25s !important;
}
.btn-nav-cta:hover {
  background: var(--terra-light) !important; transform: translateY(-2px) !important;
  box-shadow: 0 4px 20px var(--terra-glow) !important;
}
.navbar-toggler-curso {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.navbar-toggler-curso span {
  display: block; width: 24px; height: 2px;
  background: var(--arena-light); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.navbar-mobile {
  display: none; flex-direction: column;
  padding: 16px 28px 20px;
  background: rgba(10,10,12,.97); backdrop-filter: blur(18px);
  border-top: 1px solid var(--border);
}
.navbar-mobile a {
  padding: 12px 0; font-family: var(--font-ui); font-size: .9rem;
  color: var(--text-muted); border-bottom: 1px solid var(--border); transition: color .2s;
}
.navbar-mobile a:last-child { border-bottom: none; }
.navbar-mobile a:hover      { color: var(--arena-light); }
.navbar-mobile.open         { display: flex; }
@media(max-width:780px){ .navbar-links{display:none} .navbar-toggler-curso{display:flex} }

/* ═══════════════════════════════════
   HERO
═══════════════════════════════════ */
.hero-section {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }

.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 45%, rgba(50,60,75,.65) 0%, transparent 65%),
    radial-gradient(ellipse 40% 30% at 80% 70%, rgba(104,136,160,.10) 0%, transparent 55%),
    linear-gradient(180deg, rgba(12,8,4,.3) 0%, rgba(12,8,4,.8) 80%, var(--bg) 100%);
  z-index: 1;
}

/* Grain texture overlay for warmth */
.hero-grain {
  position: absolute; inset: 0; z-index: 2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  pointer-events: none;
  opacity: .6;
}

.hero-content {
  position: relative; z-index: 3;
  width: 100%; max-width: 1200px;
  padding: 130px 28px 90px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(104,136,160,.22);
  border: 1px solid rgba(172,155,100,.40);
  backdrop-filter: blur(10px);
  color: var(--arena-light);
  font-family: var(--font-ui); font-size: .76rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 18px; border-radius: 100px; margin-bottom: 28px;
}

/* Banner */
.hero-banner-placeholder, .hero-banner-img {
  width: 100%; max-width: 1150px; margin-bottom: 28px;
}
.hero-banner-placeholder {
  height: 400px;
  border: 2px dashed rgba(200,169,126,.28); border-radius: 18px;
  background: rgba(50,60,75,.10);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative; transition: border-color .3s;
}
.hero-banner-placeholder::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(200,169,126,.06), transparent);
  animation: shimmerX 3s ease-in-out infinite;
}
.hero-banner-placeholder:hover { border-color: rgba(200,169,126,.5); }
.hero-banner-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(200,169,126,.5); z-index: 1; }
.hero-banner-inner i     { font-size: 2.2rem; }
.hero-banner-inner span  { font-family: var(--font-ui); font-size: .95rem; font-weight: 600; }
.hero-banner-inner small { font-family: var(--font-ui); font-size: .74rem; color: rgba(138,114,96,.55); }
.hero-banner-img { border-radius: 18px; box-shadow: 0 12px 60px rgba(0,0,0,.65), 0 0 0 1px var(--border2); }

.hero-type {
  font-family: var(--font-ui); font-size: .83rem; font-weight: 500;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 36px;
}

/* ─── HERO STATS ─── */
.hero-stats-wrap { width: 100%; max-width: 900px; margin-bottom: 44px; }
.hero-stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.hstat-card {
  background: rgba(200,169,126,.06);
  border: 1px solid var(--border2); border-radius: 18px;
  padding: 24px 16px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  backdrop-filter: blur(12px); position: relative; overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,.35), inset 0 1px 0 rgba(200,169,126,.07);
  transition: transform .35s, box-shadow .35s, border-color .3s; cursor: default;
}
.hstat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--terra), var(--arena), var(--dorado));
  opacity: 0; transition: opacity .3s;
}
.hstat-card:hover::before { opacity: 1; }
.hstat-card:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: rgba(200,169,126,.35);
  box-shadow: 0 16px 48px rgba(50,60,75,.25), inset 0 1px 0 rgba(200,169,126,.1);
}
.hstat-card::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(200,169,126,.05), transparent);
  transition: left .5s;
}
.hstat-card:hover::after { left: 150%; }
.hstat-icon {
  font-size: 1.45rem; color: var(--arena);
  width: 46px; height: 46px; background: rgba(200,169,126,.15); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s, transform .3s;
}
.hstat-card:hover .hstat-icon { background: rgba(200,169,126,.28); transform: rotate(-8deg) scale(1.1); }
.hstat-val-wrap { display: flex; align-items: baseline; gap: 4px; line-height: 1; }
.hstat-val      { font-family: var(--font-head); font-weight: 700; font-size: 2.2rem; color: var(--arena-light); }
.hstat-val.counting { animation: countBounce .25s ease; }
.hstat-unit     { font-family: var(--font-ui); font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--terra-light); }
.hstat-label    { font-family: var(--font-ui); font-size: .67rem; color: var(--text-muted); }
.hstat-bar { width: 100%; height: 3px; background: rgba(200,169,126,.1); border-radius: 100px; overflow: hidden; margin-top: 4px; }
.hstat-bar-fill { height: 100%; background: linear-gradient(90deg, var(--terra), var(--arena)); border-radius: 100px; width: 0; transition: width 1.4s cubic-bezier(.22,1,.36,1); }

/* CTAs */
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.btn-primary-curso {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--terra); color: var(--white);
  font-family: var(--font-ui); font-size: .9rem; font-weight: 600; letter-spacing: .04em;
  padding: 15px 34px; border-radius: 12px; border: 2px solid var(--terra);
  box-shadow: 0 4px 24px var(--terra-glow);
  transition: background .25s, transform .2s, box-shadow .3s;
}
.btn-primary-curso:hover {
  background: var(--terra-light); border-color: var(--terra-light);
  transform: translateY(-3px); box-shadow: 0 12px 36px var(--terra-glow); color: var(--white);
}
.btn-ghost-curso {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text-muted);
  font-family: var(--font-ui); font-size: .9rem; font-weight: 500;
  padding: 15px 30px; border-radius: 12px; border: 2px solid var(--border2);
  transition: color .25s, border-color .25s, transform .2s;
}
.btn-ghost-curso:hover { color: var(--arena-light); border-color: rgba(200,169,126,.35); transform: translateY(-3px); }

.hero-scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  color: var(--text-muted); font-family: var(--font-ui); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  animation: scroll-hint 2s ease-in-out infinite;
}

/* ═══════════════════════════════════
   DATOS RÁPIDOS
═══════════════════════════════════ */
.datos-rapidos {
  background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 44px 0;
}
.datos-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px; background: var(--border); border-radius: 18px; overflow: hidden; border: 1px solid var(--border);
}
.dato-card {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--bg-card); padding: 26px 28px; transition: background .25s;
}
.dato-card:hover { background: var(--bg-card2); }
.dato-icon {
  font-size: 1.3rem; color: var(--arena);
  width: 44px; height: 44px; background: rgba(200,169,126,.12); border-radius: 11px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background .25s, transform .3s;
}
.dato-card:hover .dato-icon { background: rgba(200,169,126,.24); transform: scale(1.1) rotate(-5deg); }
.dato-info  { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dato-label { font-family: var(--font-ui); font-size: .67rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; color: var(--text-muted); }
.dato-info strong { font-family: var(--font-body); font-size: .9rem; font-weight: 700; color: var(--white); }
.dato-info small  { font-size: .76rem; color: var(--arena); font-weight: 400; }
.zoom-dates { display: flex; flex-direction: column; gap: 7px; margin-top: 4px; }
.zoom-date-row { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--text); }
.zoom-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.zoom-dot--terra { background: var(--terra);   box-shadow: 0 0 6px var(--terra-glow); }
.zoom-dot--arena { background: var(--arena);   box-shadow: 0 0 6px rgba(200,169,126,.4); }

/* ═══════════════════════════════════
   SECTION HEADERS
═══════════════════════════════════ */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-ui); font-size: 0.91rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--arena);
  margin-bottom: 14px; background: rgba(200,169,126,.1);
  border: 1px solid rgba(200,169,126,.22); padding: 6px 18px; border-radius: 100px;
}
.section-title {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  color: var(--arena-pale); letter-spacing: -.01em; font-style: italic;
}
.section-subtitle {
  font-family: var(--font-ui); font-size: .84rem; color: var(--text-muted);
  letter-spacing: .06em; margin-top: 10px;
}

/* ═══════════════════════════════════
   OBJETIVO
═══════════════════════════════════ */
.section-objetivo { padding: var(--section-py) 0; background: var(--bg); }
.objetivo-card {
  position: relative; background: var(--bg-card); border: 1px solid var(--border2);
  border-radius: 22px; padding: 52px 56px; overflow: hidden;
  max-width: 920px; margin: 0 auto 32px;
  box-shadow: 0 4px 0 rgba(0,0,0,.5), 0 20px 60px rgba(50,60,75,.09);
  transition: transform .4s, box-shadow .4s;
}
.objetivo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 0 rgba(0,0,0,.4), 0 32px 72px rgba(50,60,75,.15);
}
.objetivo-deco {
  position: absolute; top: -70px; right: -70px;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(104,136,160,.16) 0%, transparent 70%); pointer-events: none;
}
.objetivo-deco--2 {
  top: auto; right: auto; bottom: -50px; left: -50px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(212,152,28,.10) 0%, transparent 70%);
}
.objetivo-text {
  font-family: var(--font-body); font-size: 1.08rem; line-height: 1.85;
  color: var(--text); position: relative; z-index: 1;
}
.objetivo-text strong { color: var(--arena-light); }
.objetivo-chips {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; position: relative; z-index: 1;
}
.objetivo-chips span {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(200,169,126,.1); border: 1px solid rgba(200,169,126,.22);
  color: var(--arena-light); font-family: var(--font-ui); font-size: .77rem; font-weight: 500;
  padding: 7px 16px; border-radius: 100px;
  transition: background .25s, transform .25s, border-color .25s;
}
.objetivo-chips span:hover { background: rgba(200,169,126,.2); border-color: rgba(200,169,126,.45); transform: translateY(-3px); }

/* Dirigido a */
.dirigido-card {
  display: flex; align-items: flex-start; gap: 22px;
  background: rgba(104,136,160,.08); border: 1px solid rgba(104,136,160,.20);
  border-radius: 18px; padding: 32px 36px;
  max-width: 920px; margin: 0 auto;
}
.dirigido-icon {
  font-size: 1.6rem; color: var(--terra-light);
  width: 52px; height: 52px; background: rgba(104,136,160,.16);
  border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.dirigido-card h4 {
  font-family: var(--font-head); font-weight: 600; font-size: 1.2rem;
  color: var(--arena-light); margin-bottom: 8px; font-style: italic;
}
.dirigido-card p { font-size: .92rem; color: var(--text-muted); line-height: 1.72; }
.dirigido-card p strong { color: var(--text); }

/* ═══════════════════════════════════
   TEMARIO — TIMELINE
═══════════════════════════════════ */
.section-temario {
  padding: var(--section-py) 0; background: var(--bg-card); position: relative;
}
.temario-bg-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle, rgba(200,169,126,.06) 1px, transparent 1px);
  background-size: 40px 40px; pointer-events: none;
}
.temario-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(50,60,75,.12) 0%, transparent 70%);
  pointer-events: none; animation: glowPulse 4s ease-in-out infinite;
}

/* Timeline layout */
.timeline {
  position: relative; max-width: 900px; margin: 0 auto;
  padding: 0 0 40px;
}
/* Center line */
.timeline::before {
  content: ''; position: absolute;
  left: 50%; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg,
    transparent 0%, var(--terra) 10%, var(--arena) 50%, var(--terra) 90%, transparent 100%);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex; align-items: flex-start;
  width: 50%; margin-bottom: 32px; position: relative;
}
.timeline-item--left  { padding-right: 56px; justify-content: flex-end; margin-left: 0; }
.timeline-item--right { padding-left: 56px;  margin-left: 50%; }

/* Dot on the line */
.timeline-dot {
  position: absolute; top: 28px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--terra); border: 3px solid var(--bg-card);
  box-shadow: 0 0 0 3px rgba(104,136,160,.30), 0 0 16px rgba(104,136,160,.38);
  transition: transform .3s, box-shadow .3s;
  z-index: 2;
}
.timeline-item--left  .timeline-dot { right: -8px; }
.timeline-item--right .timeline-dot { left: -8px; }
.timeline-dot--last   { background: var(--dorado); box-shadow: 0 0 0 3px rgba(212,152,28,.32), 0 0 16px rgba(212,152,28,.38); }

.timeline-card {
  background: var(--bg); border: 1px solid var(--border2);
  border-radius: 18px; padding: 24px 26px;
  display: flex; align-items: flex-start; gap: 18px;
  width: 100%;
  box-shadow: 0 4px 0 rgba(0,0,0,.4), 0 12px 36px rgba(0,0,0,.2);
  transition: transform .35s, box-shadow .35s, border-color .3s;
}
.timeline-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(200,169,126,.3);
  box-shadow: 0 8px 0 rgba(0,0,0,.35), 0 24px 56px rgba(50,60,75,.18);
}
.timeline-card--last { border-color: rgba(212,152,28,.26); }
.timeline-card--last:hover { border-color: rgba(196,152,48,.5); }

/* Date block */
.timeline-fecha {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  background: rgba(104,136,160,.10); border: 1px solid rgba(104,136,160,.20);
  border-radius: 12px; padding: 10px 14px; flex-shrink: 0; min-width: 66px;
}
.tl-dia  { font-family: var(--font-ui); font-size: .62rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--terra-light); }
.tl-num  { font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: var(--arena-light); line-height: 1; }
.tl-mes  { font-family: var(--font-ui); font-size: .63rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }

.timeline-card--last .timeline-fecha { background: rgba(212,152,28,.10); border-color: rgba(212,152,28,.24); }
.timeline-card--last .tl-num { color: var(--dorado-light); }
.timeline-card--last .tl-dia, .timeline-card--last .tl-mes { color: var(--dorado); }

/* Body */
.timeline-body { display: flex; flex-direction: column; gap: 5px; flex: 1; padding-top: 2px; }
.tl-sesion {
  font-family: var(--font-ui); font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; color: var(--arena-dark);
}
.timeline-body h3 {
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  color: var(--white); line-height: 1.3; font-style: italic;
}

/* ═══════════════════════════════════
   INSTRUCTORA
═══════════════════════════════════ */
.section-instructor { padding: var(--section-py) 0; background: var(--bg); position: relative; }
.instructor-glow {
  position: absolute; top: 0; right: 0; width: 50%; height: 100%;
  background: radial-gradient(ellipse 60% 60% at 90% 50%, rgba(50,60,75,.07) 0%, transparent 70%);
  pointer-events: none;
}
.instructor-card {
  display: grid; grid-template-columns: 260px 1fr; gap: 52px;
  background: var(--bg-card); border: 1px solid var(--border2);
  border-radius: 24px; padding: 52px; max-width: 1040px; margin: 0 auto;
  box-shadow: 0 4px 0 rgba(0,0,0,.45), 0 24px 64px rgba(0,0,0,.22);
  transition: transform .4s, box-shadow .4s;
}
.instructor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 0 rgba(0,0,0,.38), 0 36px 80px rgba(50,60,75,.14);
}
.instructor-avatar-wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; position: relative; }

/* Photo */
.avatar-photo-placeholder, .avatar-photo {
  width: 160px; height: 160px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.avatar-photo-placeholder {
  background: linear-gradient(145deg, #14181e 0%, #2c3a48 100%);
  color: rgba(200,169,126,.4); gap: 6px;
  border: 2px dashed rgba(200,169,126,.25);
  animation: float 4.5s ease-in-out infinite;
}
.avatar-photo-placeholder i     { font-size: 2.8rem; }
.avatar-photo-placeholder small { font-family: var(--font-ui); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; }
.avatar-photo {
  object-fit: cover; object-position: center top;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
  animation: float 4.5s ease-in-out infinite;
}
.avatar-ring { position: absolute; border-radius: 50%; border: 1.5px solid; pointer-events: none; z-index: 0; }
.avatar-ring--1 { width: 188px; height: 188px; top: 50%; left: 50%; border-color: rgba(200,169,126,.3); animation: ring1 3.2s ease-in-out infinite; }
.avatar-ring--2 { width: 220px; height: 220px; top: 50%; left: 50%; border-color: rgba(200,169,126,.14); animation: ring2 3.2s ease-in-out infinite .6s; }

.instructor-degrees { display: flex; flex-direction: column; gap: 8px; text-align: center; position: relative; z-index: 1; }
.instructor-degrees span {
  display: flex; align-items: center; gap: 6px; justify-content: center;
  font-family: var(--font-ui); font-size: .71rem; font-weight: 500; color: var(--text-muted);
}
.instructor-degrees span i { color: var(--arena); }
.instructor-name { font-family: var(--font-head); font-weight: 600; font-size: 1.7rem; color: var(--arena-pale); margin-bottom: 22px; line-height: 1.2; font-style: italic; }
.instructor-bio p { font-size: .92rem; color: var(--text-muted); line-height: 1.78; margin-bottom: 16px; }
.instructor-bio p:last-child { margin-bottom: 0; }
.instructor-bio strong { color: var(--text); }
.instructor-bio em { color: var(--arena-light); font-style: italic; }

/* ═══════════════════════════════════
   3D FLIP CARDS
═══════════════════════════════════ */
.section-req-eval { padding: var(--section-py) 0; background: var(--bg-card); position: relative; }
.req-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 65% at 92% 55%, rgba(212,152,28,.04) 0%, transparent 60%);
  pointer-events: none;
}
.req-eval-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px; max-width: 1100px; margin: 0 auto;
}
.card3d-scene { perspective: 1000px; height: 360px; }
.card3d {
  width: 100%; height: 100%; position: relative;
  transform-style: preserve-3d;
  transition: transform .7s cubic-bezier(.34,1.4,.64,1); cursor: pointer;
}
.card3d-scene:hover .card3d,
.card3d-scene.flipped .card3d { transform: rotateY(180deg); }

.card3d-front, .card3d-back {
  position: absolute; inset: 0; border-radius: 22px;
  backface-visibility: hidden; -webkit-backface-visibility: hidden; padding: 36px 32px; overflow: hidden;
}
.card3d-front {
  background: var(--bg); border: 1px solid var(--border2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center;
  box-shadow: 0 6px 0 rgba(0,0,0,.5), 0 20px 56px rgba(0,0,0,.25);
}
.card3d-front::before {
  content: ''; position: absolute; inset: -1px; border-radius: 22px;
  background: linear-gradient(135deg, rgba(200,169,126,.25), rgba(104,136,160,.12), rgba(200,169,126,.25));
  z-index: -1; opacity: 0; transition: opacity .4s;
}
.card3d-scene:hover .card3d-front::before { opacity: 1; }
.card3d-front::after {
  content: ''; position: absolute; inset: 0; border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,.03) 0%, transparent 50%, rgba(0,0,0,.12) 100%);
  pointer-events: none;
}
.card3d-front h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; color: var(--white); margin: 0; font-style: italic; }
.card3d-front-text { font-family: var(--font-ui); font-size: .82rem; color: var(--text-muted); line-height: 1.5; }

.card3d-icon {
  width: 64px; height: 64px; background: rgba(200,169,126,.14); border-radius: 18px;
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--arena);
  box-shadow: 0 6px 24px rgba(200,169,126,.18); transition: transform .3s;
}
.card3d-scene:hover .card3d-icon { transform: scale(1.08) rotate(-6deg); }
.card3d-icon--terra { background: rgba(104,136,160,.16); color: var(--terra-light); box-shadow: 0 6px 24px rgba(104,136,160,.20); }
.card3d-icon--oliva { background: rgba(90,110,64,.2); color: var(--oliva-light); box-shadow: 0 6px 24px rgba(90,110,64,.2); }

.card3d-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.card3d-big  { font-family: var(--font-head); font-weight: 700; font-size: 3rem; color: var(--terra-light); line-height: 1; text-shadow: 0 0 28px rgba(104,136,160,.38); }
.card3d-sub  { font-family: var(--font-ui); font-size: .73rem; color: var(--text-muted); }
.tech-icons-preview { display: flex; gap: 16px; font-size: 1.7rem; color: rgba(200,169,126,.45); }
.card3d-hint { font-family: var(--font-ui); font-size: .71rem; font-weight: 500; color: rgba(138,114,96,.5); letter-spacing: .06em; margin: 0; display: flex; align-items: center; gap: 5px; }

.card3d-back {
  background: linear-gradient(145deg, var(--bg-card2) 0%, var(--bg-card) 100%);
  border: 1px solid rgba(200,169,126,.2);
  transform: rotateY(180deg);
  display: flex; flex-direction: column; gap: 12px; overflow-y: auto;
  box-shadow: 0 6px 0 rgba(0,0,0,.45), 0 20px 56px rgba(50,60,75,.18);
}

/* Lists */
.req-list { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.req-list li { display: flex; align-items: flex-start; gap: 9px; line-height: 1.45; }
.req-list li > i { color: var(--oliva-light); font-size: .88rem; flex-shrink: 0; margin-top: 2px; }
.req-list li > span { font-size: .84rem; color: var(--text-muted); flex: 1; }
.req-list li > span strong { color: var(--text); }
.req-list--tech li > i { color: var(--arena); font-size: 1.05rem; }
.req-tech-text { display: flex; flex-direction: column; gap: 2px; }
.req-tech-text strong { font-size: .86rem; color: var(--white); }
.req-tech-text span   { font-size: .81rem; color: var(--text-muted); line-height: 1.4; }

/* Progress inside back */
.eval-progress { margin-top: auto; }
.eval-progress-label-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-ui); font-size: .73rem; color: var(--text-muted); margin-bottom: 8px;
}
.eval-progress-label-row strong { color: var(--terra-light); font-size: .88rem; }
.eval-progress-bar { height: 7px; background: rgba(200,169,126,.08); border-radius: 100px; overflow: hidden; }
.eval-progress-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--terra), var(--arena));
  border-radius: 100px; transition: width 1.3s cubic-bezier(.22,1,.36,1);
  box-shadow: 0 0 12px rgba(104,136,160,.40);
}

/* ═══════════════════════════════════
   3D PRICE CARDS
═══════════════════════════════════ */
.section-inscripcion { padding: var(--section-py) 0; background: var(--bg); position: relative; }
.inscripcion-glow {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 700px; height: 300px;
  background: radial-gradient(ellipse, rgba(50,60,75,.10) 0%, transparent 70%); pointer-events: none;
}
.inscripcion-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px; max-width: 1140px; margin: 0 auto; align-items: start;
}

.precio3d-wrap { perspective: 900px; }
.precio3d {
  background: var(--bg-card); border: 1px solid var(--border2); border-radius: 24px;
  padding: 36px 32px; display: flex; flex-direction: column; position: relative; overflow: hidden;
  transform-style: preserve-3d;
  box-shadow: 0 6px 0 rgba(0,0,0,.55), 0 20px 60px rgba(0,0,0,.3), inset 0 1px 0 rgba(200,169,126,.06);
  transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s, border-color .3s;
}
.precio3d::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--terra), var(--arena)); opacity: 0; transition: opacity .35s;
}
.precio3d-wrap:hover .precio3d::before { opacity: 1; }
.precio3d-wrap:hover .precio3d {
  transform: perspective(900px) rotateX(-4deg) rotateY(3deg) translateY(-8px);
  box-shadow: 0 18px 0 rgba(0,0,0,.45), 0 44px 80px rgba(50,60,75,.22); border-color: rgba(200,169,126,.3);
}
.precio3d--gold {
  background: linear-gradient(155deg, rgba(196,152,48,.07) 0%, var(--bg-card) 45%);
  border-color: rgba(212,152,28,.32);
}
.precio3d--gold::before { background: linear-gradient(90deg, var(--dorado), var(--dorado-light)); }
.precio3d-wrap--gold:hover .precio3d--gold {
  border-color: rgba(196,152,48,.6);
  box-shadow: 0 18px 0 rgba(0,0,0,.42), 0 44px 80px rgba(212,152,28,.14);
  transform: perspective(900px) rotateX(-4deg) rotateY(-3deg) translateY(-10px);
}
.precio3d-shine {
  position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(200,169,126,.05), transparent);
  transition: left .6s; pointer-events: none;
}
.precio3d-wrap:hover .precio3d-shine { left: 160%; }
.precio3d-ribbon {
  position: absolute; top: 16px; right: -10px;
  background: linear-gradient(135deg, var(--dorado) 0%, var(--dorado-light) 100%);
  color: #1a0e00;
  font-family: var(--font-ui); font-size: .68rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 20px 4px 14px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 8px 50%);
  box-shadow: 0 4px 16px rgba(212,152,28,.38);
}
.precio3d-top    { display: flex; flex-direction: column; }
.precio3d-badge  {
  display: inline-block; font-family: var(--font-ui); font-size: .69rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted);
  background: rgba(200,169,126,.06); padding: 5px 13px; border-radius: 100px; border: 1px solid var(--border);
  margin-bottom: 18px;
}
.precio3d-badge--gold { color: var(--dorado-light); background: rgba(212,152,28,.10); border-color: rgba(212,152,28,.26); }
.precio3d-amount {
  display: flex; align-items: baseline; gap: 2px; line-height: 1; margin-bottom: 4px;
}
.precio3d-currency { font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; color: var(--arena-light); }
.precio3d-number   { font-family: var(--font-head); font-weight: 700; font-size: 3rem;   color: var(--arena-light); }
.precio3d-cents    { font-family: var(--font-head); font-weight: 600; font-size: 1.4rem; color: var(--arena-light); }
.precio3d-currency--gold, .precio3d-number--gold, .precio3d-cents--gold { color: var(--dorado-light); }
.precio3d-amount--strike .precio3d-currency,
.precio3d-amount--strike .precio3d-number,
.precio3d-amount--strike .precio3d-cents {
  color: var(--text-muted); opacity: .4; font-size: 1rem; font-weight: 600; text-decoration: line-through;
}
.precio3d-moneda { font-family: var(--font-ui); font-size: .72rem; color: var(--text-muted); letter-spacing: .08em; margin-bottom: 20px; }
.precio3d-divider { height: 1px; background: var(--border); margin-bottom: 20px; }
.precio3d-divider--gold { background: rgba(212,152,28,.20); }
.precio3d-features { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.precio3d-features li { display: flex; align-items: flex-start; gap: 9px; font-size: .87rem; color: var(--text-muted); line-height: 1.4; }
.precio3d-features li i { color: var(--oliva-light); flex-shrink: 0; margin-top: 2px; }
.precio3d-features li > span { flex: 1; }
.precio3d-features strong { color: var(--text); }
.precio3d-feature--star i { color: var(--dorado-light); }

/* Contacto */
.contacto3d-wrap { perspective: 900px; }
.contacto3d {
  background: var(--bg-card); border: 1px solid var(--border2); border-radius: 24px;
  padding: 36px 32px; display: flex; flex-direction: column; gap: 16px;
  position: relative; overflow: hidden;
  box-shadow: 0 6px 0 rgba(0,0,0,.55), 0 20px 60px rgba(0,0,0,.28);
  transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s, border-color .3s;
  transform-style: preserve-3d;
}
.contacto3d::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--oliva), var(--oliva-light)); opacity: 0; transition: opacity .35s;
}
.contacto3d-wrap:hover .contacto3d::before { opacity: 1; }
.contacto3d-wrap:hover .contacto3d {
  transform: perspective(900px) rotateX(-4deg) rotateY(-3deg) translateY(-8px);
  box-shadow: 0 18px 0 rgba(0,0,0,.42), 0 44px 80px rgba(90,110,64,.12); border-color: rgba(90,110,64,.4);
}
.contacto3d-shine {
  position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(200,169,126,.04), transparent);
  transition: left .6s; pointer-events: none;
}
.contacto3d-wrap:hover .contacto3d-shine { left: 160%; }
.contacto3d-icon {
  font-size: 1.7rem; color: var(--oliva-light); width: 52px; height: 52px;
  background: rgba(90,110,64,.16); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s, transform .3s; box-shadow: 0 4px 16px rgba(90,110,64,.2);
}
.contacto3d-wrap:hover .contacto3d-icon { background: rgba(90,110,64,.28); transform: scale(1.1) rotate(-5deg); }
.contacto3d h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; color: var(--white); font-style: italic; }
.contacto3d > p { font-size: .87rem; color: var(--text-muted); line-height: 1.6; }
.contacto-email {
  display: flex; align-items: center; gap: 8px;
  background: rgba(90,110,64,.12); border: 1px solid rgba(90,110,64,.28);
  color: var(--oliva-light);
  font-family: var(--font-ui); font-size: .84rem; font-weight: 600;
  padding: 13px 18px; border-radius: 11px;
  transition: background .25s, color .25s, box-shadow .25s;
  word-break: break-all; overflow-wrap: anywhere;
}
.contacto-email:hover { background: rgba(90,110,64,.22); color: var(--white); box-shadow: 0 0 20px rgba(90,110,64,.25); }

/* ═══════════════════════════════════
   FOOTER
═══════════════════════════════════ */
.footer-curso { background: #060608; border-top: 1px solid var(--border); }
.footer-inner {
  display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 40px;
  align-items: center; padding: 40px 28px;
}
.footer-brand-logos { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.footer-logo-img { height: 36px; width: auto; opacity: .7; transition: opacity .25s; }
.footer-logo-img:hover { opacity: 1; }
.footer-logos p { font-size: .78rem; color: var(--text-muted); line-height: 1.5; margin: 0; }
.footer-curso-info { display: flex; flex-direction: column; gap: 6px; text-align: center; }
.footer-curso-info strong { font-family: var(--font-head); font-size: 1rem; font-weight: 600; color: var(--arena-light); font-style: italic; }
.footer-curso-info span   { font-size: .77rem; color: var(--text-muted); }
.footer-contact { text-align: right; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: .8rem; transition: color .2s; }
.footer-contact a:hover { color: var(--arena-light); }
.footer-bottom { border-top: 1px solid var(--border); text-align: center; padding: 14px; }
.footer-bottom p { font-size: .73rem; color: rgba(138,114,96,.4); }
.footer-credits { margin-top: 4px; font-size: .68rem; color: rgba(138,114,96,.3); }
.footer-credits strong { font-weight: 500; color: rgba(138,114,96,.45); }
.footer-credits a { color: rgba(138,114,96,.45); transition: color .2s; }
.footer-credits a:hover { color: rgba(200,169,126,.7); }

/* ═══════════════════════════════════
   RESPONSIVE
═══════════════════════════════════ */
@media(max-width:960px){
  .hero-stats-grid { grid-template-columns: repeat(2,1fr); }
  .instructor-card { grid-template-columns:1fr; padding:40px 28px; }
  .instructor-avatar-wrap { flex-direction:row; justify-content:flex-start; gap:28px; }
  .footer-inner { grid-template-columns:1fr; text-align:center; padding:30px 20px; }
  .footer-contact { text-align:center; }
  .footer-brand-logos { justify-content:center; }
  /* Timeline stacked on tablet */
  .timeline::before { left: 24px; }
  .timeline-item, .timeline-item--left, .timeline-item--right { width: 100%; margin-left: 0; padding-left: 60px; padding-right: 0; justify-content: flex-start; }
  .timeline-item--left  .timeline-dot,
  .timeline-item--right .timeline-dot { left: 16px; right: auto; }
}
@media(max-width:700px){
  .hero-stats-grid { grid-template-columns:repeat(2,1fr); gap:12px; }
  .hero-banner-placeholder { height:200px; }
  .objetivo-card { padding:32px 22px; }
  .req-eval-grid, .inscripcion-grid { grid-template-columns:1fr; }
  .card3d-scene { height: auto; }
  .card3d { transform-style: flat !important; }
  .card3d-front { position:relative; transform:none !important; backface-visibility:visible !important; border-radius:22px 22px 0 0; }
  .card3d-back  { position:relative; transform:none !important; backface-visibility:visible !important; border-top:1px solid var(--border); border-radius:0 0 22px 22px; }
  .card3d-scene:hover .card3d { transform:none !important; }
  .card3d-hint  { display:none; }
  .dirigido-card { flex-direction:column; gap:14px; padding:24px 22px; }
}
@media(max-width:480px){
  .hero-ctas { flex-direction:column; align-items:center; }
  .navbar-logos .navbar-logo { height:30px; }
}
