/*
Theme Name: AsoAndes V2
Description: Diseño nuevo completo para asoandes.org
Version: 2.0.0
Author: AsoAndes
*/

/* ═══════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ═══════════════════════════════════════════════════════
   VARIABLES
═══════════════════════════════════════════════════════ */
:root {
  --red:       #e53935;
  --red-dark:  #c62828;
  --navy:      #0d1b2a;
  --navy-mid:  #1a2e45;
  --text:      #1a1a2e;
  --text-mid:  #444;
  --text-soft: #777;
  --border:    #e5e7eb;
  --bg-light:  #f8f9fb;
  --orange:    #f57c00;
  --green-line:#2e7d32;
  --teal:      #00838f;
  --blue-line: #1565c0;
  --slate:     #455a64;
  --green-btn: #2e7d32;
  --shadow:    0 4px 24px rgba(0,0,0,.09);
  --radius:    12px;
}

/* ═══════════════════════════════════════════════════════
   SUPPRESS OLD PLUGINS
═══════════════════════════════════════════════════════ */
.custom-footer, #footer_copyright-3, .widget_metaslider_widget,
.metaslider, .ml-slider-3-100-1, #metaslider_widget-2,
.scap_container, .wp-audio-shortcode, audio,
.compact-wp-audio-player, .pum-overlay, .pum-container,
[class*="popup"]:not(.our-popup), [id*="popup"]:not(#our-popup) { display: none !important; }

/* ═══════════════════════════════════════════════════════
   WHATSAPP FLOAT
═══════════════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.45);
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ═══════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════ */
#site-header {
  position: sticky; top: 0; z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.header-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex; align-items: center; gap: 24px;
}
.site-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-icon { width: 52px; height: 52px; }
.logo-text { line-height: 1.15; }
.logo-text .logo-andes {
  font-size: 22px; font-weight: 900; color: #1a1a2e; letter-spacing: -.5px; display: block;
}
.logo-text .logo-sub {
  font-size: 8px; font-weight: 500; color: #888; letter-spacing: .08em; text-transform: uppercase; display: block;
}

.header-search {
  flex: 1; max-width: 320px;
  position: relative;
}
.header-search input {
  width: 100%; padding: 9px 16px 9px 38px;
  border: 1.5px solid #e0e0e0; border-radius: 24px;
  font-size: .85rem; color: #444; background: #f8f9fb;
  outline: none; transition: border-color .2s;
}
.header-search input:focus { border-color: var(--red); }
.header-search svg {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: #aaa;
}

#main-nav {
  display: flex; align-items: center; gap: 4px; margin-left: auto;
}
#main-nav a {
  font-size: .875rem; font-weight: 500; color: var(--text-mid);
  padding: 6px 10px; border-radius: 6px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
#main-nav a:hover { color: var(--red); background: rgba(229,57,53,.06); }
#main-nav a.active { color: var(--red); border-bottom: 2px solid var(--red); border-radius: 0; }
#main-nav .sep { color: #ddd; font-size: .75rem; }

.btn-nav-red {
  background: var(--red); color: #fff !important;
  padding: 9px 20px !important; border-radius: 24px !important;
  font-weight: 600 !important; font-size: .875rem !important;
  transition: background .2s, transform .1s !important;
  margin-left: 8px;
}
.btn-nav-red:hover { background: var(--red-dark) !important; transform: translateY(-1px); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px; margin-left: auto;
}
.nav-toggle span { width: 24px; height: 2px; background: #333; border-radius: 2px; transition: .3s; }

/* ═══════════════════════════════════════════════════════
   BUTTONS (global)
═══════════════════════════════════════════════════════ */
.btn-red {
  display: inline-block; background: var(--red); color: #fff;
  padding: 13px 28px; border-radius: 8px; font-weight: 700; font-size: .95rem;
  transition: background .2s, transform .1s; border: none; cursor: pointer;
}
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-outline {
  display: inline-block; border: 2px solid var(--red); color: var(--red);
  padding: 11px 26px; border-radius: 8px; font-weight: 600; font-size: .95rem;
  transition: .2s;
}
.btn-outline:hover { background: var(--red); color: #fff; }
.btn-green {
  display: inline-block; background: var(--green-btn); color: #fff;
  padding: 10px 20px; border-radius: 6px; font-weight: 600; font-size: .875rem;
  transition: .2s; border: none; cursor: pointer;
}
.btn-green:hover { background: #1b5e20; }

/* ═══════════════════════════════════════════════════════
   SECTION CONTAINERS
═══════════════════════════════════════════════════════ */
.section-wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-title {
  font-size: 2rem; font-weight: 800; color: var(--text);
  margin-bottom: 40px; line-height: 1.2;
}
.section-title em { font-style: normal; color: var(--red); }
.section-title .accent { color: var(--red); }

/* ═══════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════ */
#hero {
  background: #fff;
  padding: 72px 0 64px;
}
.hero-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.hero-text blockquote {
  font-size: 2.5rem; font-weight: 800; line-height: 1.2;
  color: var(--text); margin-bottom: 20px;
  quotes: none;
}
.hero-text blockquote em { font-style: normal; color: var(--red); }
.hero-text p {
  font-size: 1rem; color: var(--text-soft); line-height: 1.7; margin-bottom: 32px;
}
.hero-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}
.hero-img-main {
  grid-column: 1;
  grid-row: 1 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-img-top {
  grid-column: 2;
  grid-row: 1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-img-bottom {
  grid-column: 2;
  grid-row: 2;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-img-main img,
.hero-img-top img,
.hero-img-bottom img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ═══════════════════════════════════════════════════════
   LÍNEAS DE ACCIÓN
═══════════════════════════════════════════════════════ */
#lineas { padding: 72px 0; background: #fff; }
.lineas-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.linea-card {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
}
.linea-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,.15); }
.linea-card .card-img { aspect-ratio: 4/3; overflow: hidden; }
.linea-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.linea-card:hover .card-img img { transform: scale(1.06); }
.linea-card .card-body {
  padding: 16px;
  color: #fff;
}
.linea-card .card-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 4px; }
.linea-card .card-desc { font-size: .8rem; opacity: .9; margin-bottom: 10px; line-height: 1.4; }
.linea-card .card-link {
  font-size: .8rem; font-weight: 600; color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.6);
  transition: border-color .2s;
}
.linea-card .card-link:hover { border-color: #fff; }

.linea-card.academica .card-body { background: var(--orange); }
.linea-card.alianza   .card-body { background: var(--green-line); }
.linea-card.agora     .card-body { background: var(--teal); }
.linea-card.acceso    .card-body { background: var(--blue-line); }
.linea-card.accion    .card-body { background: var(--slate); }

/* ═══════════════════════════════════════════════════════
   OFERTA FORMATIVA CAROUSEL
═══════════════════════════════════════════════════════ */
#oferta { padding: 72px 0; background: var(--bg-light); }
.oferta-wrap {
  display: flex; align-items: center; gap: 12px;
}
.oferta-viewport {
  overflow: hidden; flex: 1; border-radius: var(--radius);
}
.oferta-track {
  display: flex; gap: 20px; transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.curso-card {
  min-width: calc(50% - 10px); background: #fff;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; gap: 0; transition: transform .2s;
}
.curso-card:hover { transform: translateY(-3px); }
.curso-img { width: 160px; flex-shrink: 0; }
.curso-img img { width: 100%; height: 100%; object-fit: cover; }
.curso-body { padding: 20px; flex: 1; }
.curso-cat { font-size: .8rem; color: var(--text-soft); font-weight: 600; text-transform: uppercase; margin-bottom: 4px; }
.curso-nombre { font-size: 1.05rem; font-weight: 800; color: var(--red); margin-bottom: 6px; line-height: 1.3; }
.curso-desc { font-size: .85rem; color: var(--text-soft); margin-bottom: 10px; }
.curso-dur { font-size: .82rem; color: var(--text-mid); margin-bottom: 16px; }
.curso-dur strong { color: var(--text); }
.btn-inscribir {
  display: inline-block; background: var(--red); color: #fff;
  padding: 8px 18px; border-radius: 6px; font-weight: 700; font-size: .82rem;
  transition: background .2s;
}
.btn-inscribir:hover { background: var(--red-dark); }

.carousel-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 2px solid var(--border);
  font-size: 1.2rem; cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: .2s; box-shadow: var(--shadow);
}
.carousel-btn:hover { border-color: var(--red); color: var(--red); }

/* ═══════════════════════════════════════════════════════
   CONOCE ASOANDES
═══════════════════════════════════════════════════════ */
#conoce { padding: 80px 0; background: #fff; }
.conoce-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.conoce-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.conoce-media img { width: 100%; height: 420px; object-fit: cover; }
.conoce-text h2 {
  font-size: 2rem; font-weight: 800; margin-bottom: 12px; color: var(--text);
}
.conoce-lead { font-size: 1.15rem; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.conoce-text p { color: var(--text-soft); line-height: 1.75; margin-bottom: 28px; }

/* ═══════════════════════════════════════════════════════
   RESULTADOS
═══════════════════════════════════════════════════════ */
#resultados { background: var(--navy); padding: 72px 0; }
.resultados-inner {
  display: grid; grid-template-columns: auto 1fr; gap: 64px; align-items: center;
}
.resultados-left h2 {
  font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 24px;
}
.resultados-left h2 em { font-style: normal; color: var(--red); }
.btn-trayectoria {
  display: inline-block; background: var(--red); color: #fff;
  padding: 12px 24px; border-radius: 8px; font-weight: 700; font-size: .9rem;
  transition: background .2s;
}
.btn-trayectoria:hover { background: var(--red-dark); }
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 2.5rem; font-weight: 900; color: #fff; line-height: 1;
  margin-bottom: 8px;
}
.stat-lbl {
  font-size: .95rem; font-weight: 700; color: rgba(255,255,255,.8);
  text-transform: uppercase; letter-spacing: .04em; line-height: 1.3;
}
.stat-lbl span { display: block; font-weight: 400; font-size: .8rem; text-transform: none; letter-spacing: 0; color: rgba(255,255,255,.55); margin-top: 2px; }

/* ═══════════════════════════════════════════════════════
   ALIADOS CAROUSEL
═══════════════════════════════════════════════════════ */
#aliados { padding: 64px 0; background: var(--bg-light); }
.aliados-wrap { display: flex; align-items: center; gap: 12px; }
.aliados-viewport { overflow: hidden; flex: 1; }
.aliados-track {
  display: flex; gap: 20px; transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.aliado-item {
  min-width: 180px; height: 80px;
  background: #fff; border-radius: 10px; box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  padding: 12px 20px;
  flex-shrink: 0;
}
.aliado-item img { max-height: 48px; width: auto; object-fit: contain; filter: grayscale(30%); transition: filter .2s; }
.aliado-item:hover img { filter: grayscale(0); }
.aliado-item span { font-size: .8rem; font-weight: 600; color: var(--text-soft); text-align: center; }

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
#site-footer {
  background: var(--navy); color: rgba(255,255,255,.8);
  padding: 56px 0 24px;
}
.footer-grid {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: grid;
  grid-template-columns: 220px repeat(5, 1fr);
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .footer-logo {
  font-size: 1.4rem; font-weight: 900; color: #fff; margin-bottom: 8px; display: block;
}
.footer-brand .footer-logo span { color: var(--red); }
.footer-brand .footer-tagline { font-size: .78rem; color: rgba(255,255,255,.5); margin-bottom: 16px; line-height: 1.5; }
.footer-map iframe { border-radius: 8px; width: 100%; height: 120px; border: none; }
.footer-col h4 {
  font-size: .9rem; font-weight: 700; color: #fff; margin-bottom: 14px;
  padding-bottom: 8px; border-bottom: 2px solid var(--red); display: inline-block;
}
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul li a { font-size: .82rem; color: rgba(255,255,255,.65); transition: color .2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  max-width: 1280px; margin: 0 auto; padding: 24px 24px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-contact-info { font-size: .8rem; color: rgba(255,255,255,.55); line-height: 1.6; }
.footer-contact-info strong { color: rgba(255,255,255,.8); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 700; color: #fff;
  transition: background .2s;
}
.footer-social a:hover { background: var(--red); }
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.4); margin-top: 8px; text-align: right; width: 100%; }

/* ═══════════════════════════════════════════════════════
   ACADEMIA PAGE
═══════════════════════════════════════════════════════ */
.academia-banner {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a2e45 50%, #0d1b2a 100%);
  padding: 56px 0;
  position: relative; overflow: hidden;
}
.academia-banner::before {
  content: ''; position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 400"><circle cx="700" cy="50" r="200" fill="rgba(229,57,53,.06)"/><circle cx="100" cy="350" r="150" fill="rgba(229,57,53,.04)"/></svg>');
  background-size: cover;
}
.academia-banner-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 48px; position: relative;
}
.academia-banner-logo { flex-shrink: 0; text-align: center; }
.academia-banner-logo .big-a {
  width: 120px; height: 120px;
}
.academia-banner-text {}
.academia-banner-text .sup-label {
  font-size: .85rem; font-weight: 700; color: rgba(255,255,255,.6);
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px;
}
.academia-banner-text h1 {
  font-size: 2.6rem; font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 10px;
}
.academia-banner-text h1 span { color: var(--red); }
.academia-banner-text .tagline {
  font-size: 1.3rem; font-weight: 700; color: #f5c518; margin-bottom: 16px;
}
.academia-banner-text .sub { font-size: .9rem; color: rgba(255,255,255,.6); }

/* Academia layout */
.academia-layout {
  max-width: 1280px; margin: 0 auto; padding: 40px 24px;
  display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start;
}
.academia-sidebar {
  position: sticky; top: 88px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 20px 0; overflow: hidden;
}
.sidebar-title {
  font-size: .75rem; font-weight: 700; color: var(--text-soft);
  text-transform: uppercase; letter-spacing: .08em;
  padding: 0 20px 12px; border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.sidebar-menu li a {
  display: block; padding: 10px 20px;
  font-size: .88rem; color: var(--text-mid); font-weight: 500;
  transition: .2s; border-left: 3px solid transparent;
}
.sidebar-menu li a:hover, .sidebar-menu li a.active {
  color: var(--red); background: rgba(229,57,53,.06); border-left-color: var(--red);
}
.sidebar-menu li a.all { font-weight: 700; color: var(--text); }

/* Course sections */
.academia-main {}
.curso-section { margin-bottom: 56px; }
.curso-section-title {
  font-size: 1.5rem; font-weight: 800; color: var(--text);
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.cursos-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.curso-card-h {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  display: flex; gap: 0;
  transition: transform .2s, box-shadow .2s;
}
.curso-card-h:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,.12); }
.curso-card-h .card-thumb { width: 110px; flex-shrink: 0; }
.curso-card-h .card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.curso-card-h .card-info { padding: 14px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.curso-card-h .cat-label {
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
.curso-card-h .cat-label.red { color: var(--red); }
.curso-card-h .cat-label.blue { color: var(--blue-line); }
.curso-card-h .cat-label.green { color: var(--green-line); }
.curso-card-h .cat-label.orange { color: var(--orange); }
.curso-card-h .card-name { font-size: .9rem; font-weight: 700; color: var(--text); line-height: 1.3; }
.curso-card-h .card-dur { font-size: .75rem; color: var(--text-soft); }
.curso-card-h .card-badges { display: flex; gap: 4px; flex-wrap: wrap; }
.badge {
  font-size: .65rem; padding: 2px 8px; border-radius: 20px; font-weight: 600;
}
.badge.basico   { background: #e3f2fd; color: #1565c0; }
.badge.inter    { background: #e8f5e9; color: #2e7d32; }
.badge.avanzado { background: #fff3e0; color: #e65100; }
.badge.practica { background: #f3e5f5; color: #6a1b9a; }
.badge.presencial { background: #e0f7fa; color: #00695c; }
.curso-card-h .btn-inscribir {
  display: inline-block; background: var(--green-btn); color: #fff;
  padding: 6px 14px; border-radius: 5px; font-weight: 700; font-size: .72rem;
  margin-top: auto;
}
.curso-card-h .btn-inscribir:hover { background: #1b5e20; }

/* ═══════════════════════════════════════════════════════
   COURSE DETAIL PAGE
═══════════════════════════════════════════════════════ */
.curso-hero {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a2e45 100%);
  padding: 56px 0;
}
.curso-hero-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.curso-hero-text .curso-type {
  font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.7);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px;
}
.curso-hero-text h1 {
  font-size: 2.2rem; font-weight: 900; color: #fff; line-height: 1.2; margin-bottom: 16px;
}
.curso-hero-text h1 span { color: var(--red); }
.curso-hero-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.stars { color: #f5c518; font-size: 1rem; }
.rating-score { font-weight: 700; color: #fff; }
.rating-count { font-size: .85rem; color: rgba(255,255,255,.6); }
.pub-date { font-size: .82rem; color: rgba(255,255,255,.5); }
.curso-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.curso-tag {
  padding: 5px 12px; border-radius: 20px; font-size: .78rem; font-weight: 600;
}
.curso-tag.nivel   { background: rgba(229,57,53,.2); color: #ff8a80; }
.curso-tag.practica { background: rgba(245,197,24,.15); color: #f5c518; }
.curso-tag.horas   { background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); }
.curso-tag.tipo    { background: rgba(77,182,172,.2); color: #80cbc4; }
.curso-hero-text .headline {
  font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 10px; line-height: 1.3;
}
.curso-hero-text .sub-text { font-size: .9rem; color: rgba(255,255,255,.7); line-height: 1.6; margin-bottom: 20px; }
.btn-cta-hero {
  display: inline-block; background: var(--red); color: #fff;
  padding: 14px 32px; border-radius: 8px; font-weight: 700; font-size: 1rem;
  transition: background .2s, transform .1s;
}
.btn-cta-hero:hover { background: var(--red-dark); transform: translateY(-2px); }
.curso-hero-image { border-radius: var(--radius); overflow: hidden; }
.curso-hero-image img { width: 100%; height: 340px; object-fit: cover; }

/* Course content sections */
.curso-content { max-width: 1280px; margin: 0 auto; padding: 48px 24px; }
.video-section {
  display: grid; grid-template-columns: 3fr 2fr; gap: 32px; margin-bottom: 56px;
}
.video-box {
  background: #4db6ac; border-radius: var(--radius); aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
}
.video-box span { font-size: 1.2rem; font-weight: 700; color: #fff; }
.video-sidebar {
  background: var(--bg-light); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px;
}
.video-sidebar h3 { font-size: 1rem; font-weight: 700; }

/* Pain points */
.pain-section {
  background: #1a1a2e; border-radius: var(--radius); padding: 48px;
  margin-bottom: 40px;
}
.pain-section h2 { font-size: 1.8rem; font-weight: 800; color: #fff; margin-bottom: 24px; }
.pain-section h2 span { color: var(--red); }
.pain-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pain-item {
  background: rgba(255,255,255,.06); border-radius: 8px; padding: 14px 18px;
  font-size: .9rem; color: rgba(255,255,255,.8); display: flex; align-items: center; gap: 10px;
}
.pain-item::before { content: '✗'; color: var(--red); font-weight: 700; flex-shrink: 0; }

/* Benefits */
.benefit-section {
  background: #1b5e20; border-radius: var(--radius); padding: 48px; margin-bottom: 40px;
}
.benefit-section h2 { font-size: 1.8rem; font-weight: 800; color: #fff; margin-bottom: 24px; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.benefit-item {
  background: rgba(255,255,255,.1); border-radius: 8px; padding: 16px;
  font-size: .88rem; color: rgba(255,255,255,.9); line-height: 1.4;
}

/* Schedule */
.schedule-section { margin-bottom: 40px; }
.schedule-section h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 24px; }
.schedule-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.week-item {
  background: var(--bg-light); border-radius: 10px; padding: 18px;
  border-left: 4px solid var(--red);
}
.week-num { font-size: .75rem; font-weight: 700; color: var(--red); text-transform: uppercase; margin-bottom: 4px; }
.week-title { font-size: .92rem; font-weight: 700; color: var(--text); }
.week-sub { font-size: .8rem; color: var(--text-soft); margin-top: 4px; }

/* ═══════════════════════════════════════════════════════
   GENERIC PAGE
═══════════════════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 64px 0;
  text-align: center;
}
.page-hero h1 { font-size: 2.5rem; font-weight: 900; color: #fff; }
.page-hero .breadcrumb { font-size: .85rem; color: rgba(255,255,255,.5); margin-top: 8px; }
.page-content { max-width: 900px; margin: 60px auto; padding: 0 24px; line-height: 1.8; color: var(--text-mid); }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .lineas-grid { grid-template-columns: repeat(3, 1fr); }
  .cursos-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-images { max-width: 500px; margin: 0 auto; }
  .conoce-inner { grid-template-columns: 1fr; }
  .resultados-inner { grid-template-columns: 1fr; text-align: center; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .academia-layout { grid-template-columns: 1fr; }
  .academia-sidebar { position: static; display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; }
  .sidebar-menu { display: flex; flex-wrap: wrap; }
  .sidebar-menu li a { border-left: none; border-bottom: 2px solid transparent; padding: 7px 12px; }
  .cursor-section { grid-template-columns: 1fr; }
  .curso-hero-inner { grid-template-columns: 1fr; }
  .video-section { grid-template-columns: 1fr; }
  .pain-list { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .schedule-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .header-inner { gap: 12px; }
  .header-search { display: none; }
  #main-nav { display: none; position: fixed; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 16px; box-shadow: var(--shadow);
    border-top: 1px solid var(--border); z-index: 999;
  }
  #main-nav.open { display: flex; }
  #main-nav .sep { display: none; }
  #main-nav a { padding: 12px 16px; border-radius: 8px; }
  .nav-toggle { display: flex; }
  .lineas-grid { grid-template-columns: repeat(2, 1fr); }
  .cursos-grid { grid-template-columns: 1fr; }
  .hero-text blockquote { font-size: 1.8rem; }
  .section-title { font-size: 1.5rem; }
  .stats-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .curso-card { min-width: 85vw; }
  .academia-banner-inner { flex-direction: column; text-align: center; }
}

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