/* ============================================
   CHUBUTDIGITAL® — Landing IA para Jóvenes
   Paleta: Azul profundo + Cyan eléctrico + Púrpura
============================================ */

:root {
  --color-bg: #060818;
  --color-surface: #0c1030;
  --color-surface-2: #111540;
  --color-border: #1e2560;
  --color-text: #e8eaf6;
  --color-text-muted: #8892b0;
  --color-text-faint: #4a5280;
  --color-cyan: #00e5ff;
  --color-cyan-dim: #0097a7;
  --color-purple: #7c4dff;
  --color-purple-dim: #4a148c;
  --color-pink: #f50057;
  --color-yellow: #ffd600;
  --color-green: #00e676;
  --font-display: 'Clash Display', 'Arial Black', sans-serif;
  --font-body: 'Satoshi', 'Arial', sans-serif;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-xl: 2rem;
  --transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);
  --glow-cyan: 0 0 20px rgba(0,229,255,0.4), 0 0 40px rgba(0,229,255,0.2);
  --glow-purple: 0 0 20px rgba(124,77,255,0.4), 0 0 40px rgba(124,77,255,0.2);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--color-cyan); text-decoration: none; transition: color var(--transition); }
a:hover { color: #fff; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; text-wrap: balance; }
.text-cyan { color: var(--color-cyan); }
.text-center { text-align: center; }
.section-title {
  font-size: clamp(1.8rem, 1.2rem + 2.5vw, 3rem);
  margin-bottom: 0.5rem;
}
.section-subtitle {
  color: var(--color-text-muted);
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
  margin-bottom: 3rem;
}

/* ─── LAYOUT ─── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: clamp(4rem, 8vw, 6rem) 0; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-xl);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.9rem; }
.btn-large { padding: 1.1rem 2.5rem; font-size: 1.15rem; width: 100%; justify-content: center; }

.btn-primary {
  background: var(--color-cyan);
  color: #000;
}
.btn-primary:hover { background: #fff; color: #000; }

.btn-glow {
  background: linear-gradient(135deg, var(--color-cyan), var(--color-purple));
  color: #fff;
  box-shadow: var(--glow-cyan);
}
.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0,229,255,0.6), 0 0 60px rgba(124,77,255,0.4);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--color-cyan);
  border: 2px solid var(--color-cyan);
}
.btn-outline:hover {
  background: rgba(0,229,255,0.1);
  color: var(--color-cyan);
}

/* ─── NAV ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6,8,24,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.875rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { height: 64px; width: auto; border-radius: 8px; }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.45;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6,8,24,0.3) 0%,
    rgba(6,8,24,0.1) 30%,
    rgba(6,8,24,0.7) 70%,
    rgba(6,8,24,1) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
  text-align: center;
}
.badge {
  display: inline-block;
  background: rgba(0,229,255,0.15);
  border: 1px solid var(--color-cyan);
  color: var(--color-cyan);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}
.hero-title {
  font-size: clamp(3rem, 2rem + 5vw, 6rem);
  font-weight: 700;
  line-height: 1.0;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero-subtitle {
  font-size: clamp(1.2rem, 1rem + 1vw, 1.75rem);
  color: var(--color-text-muted);
  font-family: var(--font-display);
  margin-bottom: 1rem;
  font-style: italic;
}
.hero-desc {
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.2rem);
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto 2rem;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.hero-price {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: var(--radius-lg);
  padding: 0.875rem 1.5rem;
}
.price-label { color: var(--color-text-muted); font-size: 0.9rem; }
.price-amount { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--color-cyan); }
.price-compare { color: var(--color-text-muted); font-size: 0.9rem; }

/* ─── CHALLENGE ─── */
.challenge { background: var(--color-surface); }
.challenge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.challenge-text h2 {
  font-size: clamp(1.8rem, 1.2rem + 2.5vw, 2.8rem);
  margin-bottom: 1.25rem;
}
.challenge-text p { color: var(--color-text-muted); margin-bottom: 1rem; }
.vs-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.vs-item {
  flex: 1;
  min-width: 160px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
}
.vs-bad {
  background: rgba(245,0,87,0.1);
  border: 1px solid rgba(245,0,87,0.3);
  color: #ff5983;
}
.vs-good {
  background: rgba(0,230,118,0.1);
  border: 1px solid rgba(0,230,118,0.3);
  color: var(--color-green);
}
.vs-icon { font-size: 1.5rem; }
.vs-divider {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-text-faint);
  font-size: 1.2rem;
}
.challenge-img img {
  border-radius: var(--radius-lg);
  box-shadow: var(--glow-purple);
}

/* ─── OUTCOMES ─── */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.outcome-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  transition: all var(--transition);
}
.outcome-card:hover {
  border-color: var(--color-cyan);
  box-shadow: var(--glow-cyan);
  transform: translateY(-4px);
}
.outcome-icon { font-size: 2.5rem; display: block; margin-bottom: 1rem; }
.outcome-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--color-cyan);
}
.outcome-card p { color: var(--color-text-muted); font-size: 0.95rem; }

/* ─── HOW TO ─── */
.howto { background: var(--color-surface); }
.howto .section-title { margin-bottom: 3rem; }
.steps {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.step {
  flex: 1;
  min-width: 180px;
  max-width: 240px;
  text-align: center;
  padding: 1.5rem 1rem;
}
.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  margin: 0 auto 1rem;
  box-shadow: var(--glow-cyan);
}
.step h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.step p { color: var(--color-text-muted); font-size: 0.9rem; }
.step-arrow {
  color: var(--color-cyan);
  font-size: 1.5rem;
  margin-top: 1.5rem;
  opacity: 0.5;
}

/* ─── MÓDULOS ─── */
.modulos { background: var(--color-bg); }
.modulos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}
.modulo-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.modulo-item:hover {
  border-color: var(--color-purple);
  background: var(--color-surface-2);
}
.mod-num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-cyan);
  font-size: 0.85rem;
  min-width: 24px;
}

/* ─── BONUS ─── */
.bonus { background: var(--color-surface); }
.bonus-card {
  background: linear-gradient(135deg, rgba(124,77,255,0.15), rgba(0,229,255,0.1));
  border: 1px solid var(--color-purple);
  border-radius: var(--radius-xl);
  padding: 3rem;
  text-align: center;
  box-shadow: var(--glow-purple);
}
.bonus-badge {
  display: inline-block;
  background: var(--color-purple);
  color: #fff;
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-xl);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}
.bonus-card h2 {
  font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  margin-bottom: 1rem;
}
.bonus-desc {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: left;
}
.tool-category {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}
.tool-category h4 { color: var(--color-cyan); font-size: 0.9rem; margin-bottom: 0.5rem; }
.tool-category p { color: var(--color-text-muted); font-size: 0.85rem; }

/* ─── DIRECTOR ─── */
.director { background: var(--color-bg); }

.director-carta {
  max-width: 780px;
  margin: 3rem auto 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-cyan);
  border-radius: var(--radius-lg);
  padding: 3rem 3.5rem;
  position: relative;
}

.director-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.director-carta-body p {
  color: var(--color-text-muted);
  margin-bottom: 1.1rem;
  font-size: 1rem;
  line-height: 1.75;
}

.carta-intro {
  color: var(--color-text) !important;
  font-size: 1.05rem !important;
  font-weight: 500;
}

.director-quote {
  border-left: 3px solid var(--color-cyan);
  padding: 1rem 1.5rem;
  margin: 1.75rem 0;
  color: var(--color-text);
  font-style: italic;
  font-size: 1.05rem;
  background: rgba(0,229,255,0.05);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  line-height: 1.7;
}

.director-firma {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 1.75rem 0 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

.firma-nombre {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.03em;
}

.firma-cargo {
  font-size: 0.8rem;
  color: var(--color-cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.trust-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }

/* Respaldos institucionales */
.respaldos {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-border);
}
.respaldos-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-cyan);
  margin-bottom: 1.25rem;
}
.respaldo-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.25rem;
  background: rgba(0,229,255,0.04);
  border: 1px solid rgba(0,229,255,0.12);
  border-radius: var(--radius-md);
  margin-bottom: 0.875rem;
}
.respaldo-item:last-child { margin-bottom: 0; }
.respaldo-logo {
  font-size: 1.75rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.respaldo-logo-img {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.respaldo-logo-svg {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.respaldo-logo-img-tag {
  height: 40px;
  width: auto;
  object-fit: contain;
}
/* SAIA — invertir a blanco */
.respaldo-item:nth-child(2) .respaldo-logo-img-tag {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
/* ADNSUR — logo oficial con fondo blanco para legibilidad sobre dark */
.respaldo-item:nth-child(3) .respaldo-logo-img-tag {
  filter: none;
  opacity: 1;
}
.adnsur-logo {
  background: #ffffff;
  border-radius: 6px;
  padding: 4px 8px;
  height: 40px;
  width: auto;
}
.respaldo-item strong {
  display: block;
  color: var(--color-text);
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
}
.respaldo-item p {
  color: var(--color-text-muted) !important;
  font-size: 0.85rem !important;
  line-height: 1.6 !important;
  margin-bottom: 0 !important;
}
.trust-badge {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  padding: 0.4rem 0.875rem;
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

@media (max-width: 600px) {
  .director-carta { padding: 2rem 1.5rem; }
}

/* ─── PRICING ─── */
.pricing {
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);
}
.pricing-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--color-surface-2);
  border: 1px solid var(--color-cyan);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--glow-cyan);
}
.pricing-header {
  background: linear-gradient(135deg, var(--color-cyan-dim), var(--color-purple-dim));
  padding: 2rem;
  text-align: center;
}
.pricing-header h2 { font-size: 1.75rem; color: #fff; }
.pricing-subtitle { color: rgba(255,255,255,0.7); font-style: italic; margin-top: 0.25rem; }
.pricing-body { padding: 2.5rem; }
.price-display {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.price-main {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-cyan);
}
.price-currency { font-size: 1.25rem; color: var(--color-text-muted); }
.price-equiv {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}
.pricing-list {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pricing-list li { font-size: 0.95rem; color: var(--color-text); }
.pricing-note {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-top: 1rem;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 3rem 1.5rem;
  text-align: center;
}
.footer-logo { height: 56px; width: auto; margin: 0 auto 1.5rem; border-radius: 8px; }
.footer p { color: var(--color-text-muted); font-size: 0.875rem; margin-bottom: 0.4rem; }
.footer-copy {
  margin-top: 1rem !important;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.8rem !important;
  color: var(--color-text-faint) !important;
}
.footer a { color: var(--color-cyan); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .challenge-grid { grid-template-columns: 1fr; gap: 2rem; }
  .challenge-img { order: -1; }
  .outcomes-grid { grid-template-columns: repeat(2, 1fr); }
  .modulos-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-price { flex-direction: column; gap: 0.4rem; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .modulos-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); }
  .bonus-card { padding: 2rem 1.25rem; }
  .pricing-body { padding: 1.5rem; }
}

/* ─── ANIMATIONS ─── */
@keyframes pulse-glow {
  0%, 100% { box-shadow: var(--glow-cyan); }
  50% { box-shadow: 0 0 40px rgba(0,229,255,0.7), 0 0 80px rgba(0,229,255,0.3); }
}
.btn-glow { animation: pulse-glow 3s ease-in-out infinite; }
.btn-glow:hover { animation: none; }

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
