/* ==============================================
   BREAKPOINT — Nicolás Flores
   Estética: Táctica · Militar · Editorial · Oscura
   ============================================== */

:root {
  /* Core palette */
  --bg-0: #0a0c0a;
  --bg-1: #0f1210;
  --bg-2: #161a17;
  --bg-3: #1f2520;
  --surface: #131814;

  /* Brand */
  --military: #5a6f3a;     /* verde militar */
  --military-dark: #3d4d27;
  --military-bright: #8aa153;
  --gold: #c8a14a;          /* dorado tenue */
  --gold-bright: #e2bd61;
  --blood: #a02828;         /* rojo táctico */
  --blood-bright: #c93232;

  /* Neutrals */
  --ink: #f4f1ea;
  --ink-dim: #b9b3a4;
  --ink-mute: #6f6a5e;
  --border: rgba(244, 241, 234, 0.08);
  --border-strong: rgba(244, 241, 234, 0.18);

  /* Typography */
  --font-display: 'Archivo Black', 'Oswald', sans-serif;
  --font-condensed: 'Barlow Condensed', 'Oswald', sans-serif;
  --font-heading: 'Oswald', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-condensed);
  background: var(--bg-0);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; color: inherit; }

::selection { background: var(--gold); color: var(--bg-0); }

/* ==============================================
   PRELOADER
   ============================================== */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-0);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}
.preloader-content {
  text-align: center;
}
.preloader-crosshair {
  width: 80px; height: 80px;
  margin: 0 auto 24px;
  position: relative;
}
.crosshair-ring {
  position: absolute; inset: 0;
  border: 2px solid var(--gold);
  border-radius: 50%;
  animation: rotate 2s linear infinite;
  border-top-color: transparent;
  border-bottom-color: transparent;
}
.crosshair-line {
  position: absolute;
  background: var(--gold);
}
.crosshair-h {
  top: 50%; left: 10%; right: 10%; height: 1px; transform: translateY(-50%);
}
.crosshair-v {
  left: 50%; top: 10%; bottom: 10%; width: 1px; transform: translateX(-50%);
}
.crosshair-dot {
  position: absolute;
  top: 50%; left: 50%;
  width: 6px; height: 6px;
  background: var(--blood-bright);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: blink 1s ease-in-out infinite;
}
.preloader-text {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.3em;
  color: var(--ink);
}
.preloader-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--ink-mute);
  margin-top: 8px;
}

@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ==============================================
   NAVBAR
   ============================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(10, 12, 10, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s var(--ease);
}
.navbar.scrolled {
  padding: 12px 0;
  background: rgba(10, 12, 10, 0.92);
  border-bottom-color: var(--border-strong);
}
.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.15em;
}
.nav-logo-mark {
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
}
.nav-logo-text {
  color: var(--ink);
}
.nav-menu {
  display: flex;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-menu a {
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 8px 14px;
  color: var(--ink-dim);
  transition: color 0.3s var(--ease);
  position: relative;
}
.nav-menu a:hover {
  color: var(--gold);
}
.nav-menu a::before {
  content: '';
  position: absolute;
  bottom: 4px; left: 14px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav-menu a:hover::before {
  width: calc(100% - 28px);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--gold);
  color: var(--bg-0);
  font-family: var(--font-condensed);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  border: 1px solid var(--gold);
  transition: all 0.3s var(--ease);
}
.nav-cta:hover {
  background: transparent;
  color: var(--gold);
  transform: translateY(-1px);
}
.cta-dot {
  width: 6px; height: 6px;
  background: var(--bg-0);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}
.nav-cta:hover .cta-dot {
  background: var(--gold);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  transition: all 0.3s var(--ease);
}

/* ==============================================
   SECTION COMMON
   ============================================== */
section {
  padding: 120px 32px;
  position: relative;
}
.section-header {
  max-width: 1400px;
  margin: 0 auto 80px;
  position: relative;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label span {
  display: inline-block;
  padding: 3px 8px;
  background: var(--gold);
  color: var(--bg-0);
  font-weight: 700;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.section-title em {
  font-style: normal;
  color: var(--gold);
  position: relative;
}
.section-line {
  width: 80px; height: 2px;
  background: var(--gold);
  margin-top: 28px;
}

/* ==============================================
   HERO
   ============================================== */
.hero {
  min-height: 100vh;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.4) contrast(1.05) brightness(0.55);
  transform: scale(1.08);
  animation: heroZoom 20s var(--ease) infinite alternate;
}
@keyframes heroZoom {
  to { transform: scale(1.18); }
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,12,10,0.7) 0%, rgba(10,12,10,0.4) 40%, rgba(10,12,10,0.95) 100%),
    radial-gradient(ellipse at center, transparent 0%, rgba(10,12,10,0.6) 100%);
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 161, 74, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 161, 74, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero-bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-corner {
  position: absolute;
  z-index: 5;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-corner-tl { top: 100px; left: 32px; }
.hero-corner-tr { top: 100px; right: 32px; }
.hero-corner::before, .hero-corner::after {
  content: '';
  width: 14px; height: 14px;
  border: 1px solid var(--gold);
}
.hero-corner-tl::before { border-right: none; border-bottom: none; }
.hero-corner-tr::after { border-left: none; border-bottom: none; order: 2; }
.hero-corner-tr .corner-text { order: 1; }

.hero-content {
  max-width: 1100px;
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 80px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(200, 161, 74, 0.1);
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 32px;
  animation: fadeUp 0.8s var(--ease) 0.2s both;
}
.badge-pulse {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  position: relative;
}
.badge-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  animation: pulse 1.5s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 11vw, 160px);
  line-height: 0.88;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.title-line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.9s var(--ease) forwards;
}
.title-line-1 { animation-delay: 0.3s; }
.title-line-2 {
  animation-delay: 0.45s;
  color: var(--ink-dim);
  -webkit-text-stroke: 1px var(--ink);
  -webkit-text-fill-color: transparent;
}
.title-line-3 { animation-delay: 0.6s; }
.title-line em {
  font-style: normal;
  color: var(--gold);
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.7;
  color: var(--ink-dim);
  max-width: 600px;
  margin: 0 auto 40px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.8s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 1s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  font-family: var(--font-condensed);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn-large { padding: 20px 36px; font-size: 15px; }
.btn-primary {
  background: var(--gold);
  color: var(--bg-0);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(200, 161, 74, 0.25);
}
.btn-primary .btn-arrow {
  transition: transform 0.3s var(--ease);
}
.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  border-color: var(--ink);
  background: rgba(244, 241, 234, 0.05);
}
.btn-icon {
  font-size: 10px;
  color: currentColor;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 1.2s forwards;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--ink-mute);
  margin-top: 8px;
  text-transform: uppercase;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-strong);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 10;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--ink-mute);
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, transparent, var(--gold));
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(180deg, transparent, var(--gold-bright));
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  to { top: 100%; }
}

/* ==============================================
   ABOUT
   ============================================== */
.about {
  background: var(--bg-1);
  position: relative;
}
.about::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}
.about-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.about-image {
  position: sticky;
  top: 120px;
}
.about-image-frame {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--bg-3);
  overflow: hidden;
}
.about-image-placeholder {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.3) contrast(1.05);
  transition: transform 0.8s var(--ease);
}
.about-image-frame:hover .about-image-placeholder {
  transform: scale(1.05);
}
.about-image-tag {
  position: absolute;
  bottom: 24px; left: 24px;
  padding: 8px 14px;
  background: var(--gold);
  color: var(--bg-0);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  z-index: 2;
}
.about-image-corner {
  position: absolute;
  width: 24px; height: 24px;
  border: 2px solid var(--gold);
  z-index: 2;
}
.about-corner-tl { top: 16px; left: 16px; border-right: none; border-bottom: none; }
.about-corner-tr { top: 16px; right: 16px; border-left: none; border-bottom: none; }
.about-corner-bl { bottom: 16px; left: 16px; border-right: none; border-top: none; }
.about-corner-br { bottom: 16px; right: 16px; border-left: none; border-top: none; }
.about-image-caption {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  text-transform: uppercase;
}

.about-content {
  padding-top: 12px;
}
.about-lead {
  font-family: var(--font-condensed);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.5;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 48px;
  letter-spacing: 0.005em;
}
.about-lead em {
  font-style: normal;
  color: var(--gold);
  font-weight: 600;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 40px;
}
.about-features li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.about-features li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.feat-num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.2em;
  padding-top: 4px;
}
.about-features strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.about-features p {
  font-size: 15px;
  color: var(--ink-dim);
  line-height: 1.6;
}

.about-signature {
  border-top: 2px solid var(--gold);
  padding-top: 20px;
  display: inline-block;
}
.sig-line {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
}
.sig-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin-top: 4px;
}

/* ==============================================
   CURSO
   ============================================== */
.curso {
  background: var(--bg-0);
  position: relative;
  overflow: hidden;
}
.curso-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
}
.curso-bg-pattern {
  position: absolute;
  top: -10%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(90, 111, 58, 0.15) 0%, transparent 60%);
}

.curso-intro {
  max-width: 1400px;
  margin: -40px auto 60px;
  font-size: 18px;
  color: var(--ink-dim);
  line-height: 1.7;
  max-width: 720px;
  position: relative;
}
.curso-intro strong { color: var(--ink); font-weight: 600; }

.curso-cards {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.curso-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 32px 28px;
  position: relative;
  transition: all 0.4s var(--ease);
  overflow: hidden;
}
.curso-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.curso-card:hover {
  border-color: var(--gold);
  background: var(--bg-3);
  transform: translateY(-6px);
}
.curso-card:hover::before {
  transform: scaleX(1);
}

.curso-card-featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(200, 161, 74, 0.08), var(--bg-2));
}
.curso-card-featured::before { transform: scaleX(1); }

.card-tag {
  position: absolute;
  top: 0; right: 0;
  padding: 6px 14px;
  background: var(--gold);
  color: var(--bg-0);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}
.card-num {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--ink-mute);
  line-height: 1;
  letter-spacing: -0.05em;
  opacity: 0.5;
}
.curso-card:hover .card-num {
  color: var(--gold);
  opacity: 1;
}
.card-icon-box {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  color: var(--gold);
}
.card-icon-box svg {
  width: 24px; height: 24px;
}
.card-title {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 6px;
  line-height: 1.1;
}
.card-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.card-desc {
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.6;
  margin-bottom: 20px;
}
.card-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.card-list li {
  font-size: 13px;
  color: var(--ink);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.card-list li::before {
  content: '▸';
  position: absolute;
  left: 0; top: 0;
  color: var(--gold);
}
.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-condensed);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 12px;
  border-top: 1px solid var(--border);
  width: 100%;
  transition: color 0.3s var(--ease);
}
.card-cta:hover {
  color: var(--gold-bright);
  letter-spacing: 0.25em;
}

.curso-note {
  max-width: 1400px;
  margin: 60px auto 0;
  padding: 24px 32px;
  background: rgba(200, 161, 74, 0.08);
  border-left: 3px solid var(--gold);
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  color: var(--ink);
}
.note-icon {
  font-size: 22px;
  color: var(--gold);
}

/* ==============================================
   BENEFICIOS
   ============================================== */
.beneficios {
  background: var(--bg-1);
}
.ben-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.ben-card {
  padding: 48px 40px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s var(--ease);
  position: relative;
}
.ben-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  z-index: 0;
}
.ben-card:hover {
  background: var(--bg-2);
  transform: scale(1.02);
  z-index: 2;
}
.ben-card > * {
  position: relative;
  z-index: 1;
}
.ben-icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 161, 74, 0.1);
  border: 1px solid var(--gold);
  color: var(--gold);
  margin-bottom: 24px;
  transition: all 0.4s var(--ease);
}
.ben-card:hover .ben-icon {
  background: var(--gold);
  color: var(--bg-0);
  transform: rotate(-3deg);
}
.ben-icon svg {
  width: 28px; height: 28px;
}
.ben-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 12px;
}
.ben-card p {
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.6;
}

/* ==============================================
   GALERÍA
   ============================================== */
.galeria {
  background: var(--bg-0);
}
.gal-intro {
  max-width: 1400px;
  margin: -40px auto 60px;
  font-size: 17px;
  color: var(--ink-dim);
  max-width: 600px;
}

.gal-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: 16px;
}
.gal-item {
  position: relative;
  overflow: hidden;
  background: var(--bg-3) center/cover no-repeat;
  cursor: pointer;
  transition: transform 0.5s var(--ease);
}
.gal-item-large {
  grid-column: span 2;
  grid-row: span 1;
}
.gal-item-tall {
  grid-row: span 2;
}
.gal-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,12,10,0.95));
  z-index: 1;
  transition: opacity 0.4s var(--ease);
}
.gal-item:hover::before {
  opacity: 0.7;
}
.gal-item:hover {
  transform: scale(0.98);
}
.gal-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  z-index: 2;
  transform: translateY(8px);
  transition: transform 0.4s var(--ease);
}
.gal-item:hover .gal-overlay {
  transform: translateY(0);
}
.gal-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--gold);
  color: var(--bg-0);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 10px;
}
.gal-overlay h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.gal-placeholder {
  background: repeating-linear-gradient(
    45deg,
    var(--bg-2),
    var(--bg-2) 12px,
    var(--bg-1) 12px,
    var(--bg-1) 24px
  );
  border: 1px dashed var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gal-placeholder::before { display: none; }
.placeholder-inner {
  text-align: center;
  padding: 20px;
}
.placeholder-icon {
  font-size: 28px;
  display: block;
  margin-bottom: 12px;
  opacity: 0.4;
}
.placeholder-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  text-transform: uppercase;
  line-height: 1.5;
}

/* ==============================================
   TESTIMONIOS
   ============================================== */
.testimonios {
  background: var(--bg-1);
}
.test-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.test-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 40px;
  position: relative;
  transition: all 0.4s var(--ease);
}
.test-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.test-quote {
  position: absolute;
  top: 8px; right: 20px;
  font-family: var(--font-display);
  font-size: 100px;
  color: var(--gold);
  opacity: 0.15;
  line-height: 1;
}
.test-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.test-author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.test-avatar {
  width: 48px; height: 48px;
  background: var(--gold);
  color: var(--bg-0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.05em;
}
.test-name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.test-role {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 2px;
}
.test-stars {
  margin-left: auto;
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 0.1em;
}

/* ==============================================
   FAQ
   ============================================== */
.faq {
  background: var(--bg-0);
}
.faq-list {
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border-strong);
  transition: background 0.3s var(--ease);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  transition: padding 0.3s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item:hover summary {
  padding-left: 12px;
}
.faq-q {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}
.faq-item:hover .faq-q { color: var(--gold); }
.faq-toggle {
  width: 32px; height: 32px;
  border: 1px solid var(--border-strong);
  position: relative;
  flex-shrink: 0;
  transition: all 0.3s var(--ease);
}
.faq-toggle::before, .faq-toggle::after {
  content: '';
  position: absolute;
  background: var(--ink);
  top: 50%; left: 50%;
  transition: transform 0.3s var(--ease);
}
.faq-toggle::before {
  width: 14px; height: 1px;
  transform: translate(-50%, -50%);
}
.faq-toggle::after {
  width: 1px; height: 14px;
  transform: translate(-50%, -50%);
}
.faq-item[open] .faq-toggle {
  background: var(--gold);
  border-color: var(--gold);
}
.faq-item[open] .faq-toggle::before { background: var(--bg-0); }
.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-a {
  padding: 0 0 28px 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-dim);
  max-width: 700px;
}
.faq-a strong { color: var(--ink); }

/* ==============================================
   SPONSORS
   ============================================== */
.sponsors {
  background: var(--bg-1);
}
.spon-intro {
  max-width: 1400px;
  margin: -40px auto 60px;
  font-size: 17px;
  color: var(--ink-dim);
  max-width: 600px;
}
.spon-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.spon-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 32px;
  transition: all 0.4s var(--ease);
}
.spon-card:hover {
  border-color: var(--gold);
  background: var(--bg-3);
  transform: translateY(-4px);
}
.spon-logo {
  width: 130px;
  height: 130px;
  flex-shrink: 0;
  background: #fff;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}
.spon-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.spon-name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.spon-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
}

/* ==============================================
   CTA BANNER
   ============================================== */
.cta-banner {
  background: var(--bg-0);
  padding: 100px 32px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}
.cta-banner-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(200, 161, 74, 0.12), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(90, 111, 58, 0.1), transparent 50%);
}
.cta-banner-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.cta-banner-tag {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  margin-bottom: 24px;
}
.cta-banner-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.cta-banner-title em {
  font-style: normal;
  color: var(--gold);
}
.cta-banner-sub {
  font-size: 17px;
  color: var(--ink-dim);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==============================================
   CONTACTO
   ============================================== */
.contacto {
  background: var(--bg-1);
}
.cont-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
}

.cont-info h3,
.cont-form h3 {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.cont-lead {
  font-size: 16px;
  color: var(--ink-dim);
  line-height: 1.7;
  margin-bottom: 32px;
}
.cont-lead strong { color: var(--gold); }

.cont-channel {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--border-strong);
  background: var(--bg-2);
  margin-bottom: 12px;
  transition: all 0.3s var(--ease);
}
.cont-channel:hover {
  border-color: var(--gold);
  background: var(--bg-3);
  transform: translateX(4px);
}
.ch-icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 161, 74, 0.1);
  color: var(--gold);
  flex-shrink: 0;
}
.ch-icon svg { width: 24px; height: 24px; }
.ch-info { flex: 1; }
.ch-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.ch-val {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin-top: 2px;
}
.ch-arrow {
  color: var(--gold);
  font-size: 20px;
  transition: transform 0.3s var(--ease);
}
.cont-channel:hover .ch-arrow {
  transform: translateX(4px);
}

.cont-data {
  margin-top: 32px;
  padding: 24px;
  background: var(--bg-0);
  border: 1px solid var(--border);
}
.data-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
}
.data-row:last-child { border-bottom: none; }
.data-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.data-val {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.cont-form {
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 40px;
}
.form-row {
  margin-bottom: 20px;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-row label {
  display: block;
}
.form-row label span {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-0);
  border: 1px solid var(--border-strong);
  color: var(--ink);
  font-family: var(--font-condensed);
  font-size: 15px;
  transition: border-color 0.3s var(--ease);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-row textarea { resize: vertical; }
.form-row select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c8a14a' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.btn-form {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}
.form-note {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.1em;
  text-align: center;
}

/* ==============================================
   FOOTER
   ============================================== */
.footer {
  background: var(--bg-0);
  padding: 80px 32px 24px;
  border-top: 1px solid var(--border-strong);
  position: relative;
}
.footer-grid {
  max-width: 1400px;
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}
.footer-tag {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 300;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.footer-data {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-dim);
}
.footer-data strong { color: var(--ink); font-weight: 600; }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 14px;
  color: var(--ink-dim);
  transition: color 0.3s var(--ease);
}
.footer-col a:hover { color: var(--gold); }

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-socials a {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  transition: all 0.3s var(--ease);
}
.footer-socials a:hover {
  background: var(--gold);
  color: var(--bg-0);
  border-color: var(--gold);
}
.footer-socials svg {
  width: 18px; height: 18px;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-pulse {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

/* ==============================================
   WHATSAPP FLOATING
   ============================================== */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: all 0.3s var(--ease);
}
.wa-float:hover {
  transform: scale(1.1) rotate(-6deg);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}
.wa-float svg {
  width: 32px; height: 32px;
  position: relative;
  z-index: 2;
}
.wa-pulse {
  position: absolute;
  inset: -4px;
  border: 2px solid #25D366;
  border-radius: 50%;
  animation: waPulse 2s ease-out infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ==============================================
   SCROLL ANIMATIONS
   ============================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================================
   RESPONSIVE
   ============================================== */
@media (max-width: 1100px) {
  .curso-cards { grid-template-columns: repeat(2, 1fr); }
  .ben-grid { grid-template-columns: repeat(2, 1fr); }
  .gal-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 240px);
  }
  .gal-item-large { grid-column: span 2; }
  .gal-item-tall { grid-row: span 1; }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-image { position: relative; top: 0; max-width: 480px; }
  .cont-grid { grid-template-columns: 1fr; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  section { padding: 80px 20px; }
  .hero { padding: 0 20px; }
  .nav-container { padding: 0 20px; }
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0; right: 0;
    background: var(--bg-1);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-strong);
    transform: translateY(-120%);
    transition: transform 0.4s var(--ease);
    gap: 0;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    display: block;
    text-align: center;
  }
  .nav-menu a::before { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-corner { display: none; }
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  .stat-divider {
    width: 40px; height: 1px;
  }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }

  .section-header { margin-bottom: 48px; }
  .curso-cards,
  .ben-grid { grid-template-columns: 1fr; }
  .gal-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 220px);
  }
  .gal-item-large, .gal-item-tall {
    grid-column: span 1;
    grid-row: span 1;
  }
  .test-grid { grid-template-columns: 1fr; }
  .spon-grid { grid-template-columns: 1fr; }
  .spon-card { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .cont-form { padding: 28px 20px; }
  .ben-card { padding: 32px 24px; }
  .test-card { padding: 28px 24px; }
  .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { letter-spacing: -0.02em; }
  .cta-banner-actions { flex-direction: column; }
  .cta-banner-actions .btn { width: 100%; justify-content: center; }
  .wa-float { width: 54px; height: 54px; bottom: 16px; right: 16px; }
  .wa-float svg { width: 28px; height: 28px; }
}

/* ============================================================
   FORM FEEDBACK (inserted dynamically after submit)
   ============================================================ */
.form-feedback {
  margin-top: 14px;
  padding: 12px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.03em;
  border-left: 3px solid;
  animation: feedbackIn 0.4s ease;
}
.form-feedback-ok {
  background: rgba(95, 168, 77, 0.12);
  border-color: #5fa84d;
  color: #b8e0a8;
}
.form-feedback-err {
  background: rgba(201, 50, 50, 0.12);
  border-color: #c93232;
  color: #f0a0a0;
}
@keyframes feedbackIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cont-form button[disabled] {
  opacity: 0.55;
  cursor: wait;
}
