/* ─── cursos.css ─── Minimalista · Limpio · Animado ─── */

/* ─── Variables ─── */
body.cursos-page {
  --c-bg: #ffffff;
  --c-soft: #f7f7f9;
  --c-text: #111111;
  --c-muted: #6b6b6b;
  --c-border: rgba(0,0,0,0.07);
  --c-shadow: 0 4px 20px rgba(0,0,0,0.04);
  background: var(--c-bg);
  color: var(--c-text);
}

.cursos-page #particle-canvas { display: none; }
.cursos-page { cursor: auto !important; }
.cursos-page .cursor-dot,
.cursos-page .cursor-loop { display: none !important; }

/* ─── Navbar ─── */
.cursos-page .navbar {
  background: rgba(255,255,255,0.97) !important;
  border-bottom: 1px solid var(--c-border);
  backdrop-filter: blur(10px);
}
.cursos-page .navbar.scrolled { background: rgba(255,255,255,0.95) !important; }
.cursos-page .logo-text { color: var(--c-text); }
.cursos-page .nav-link { color: var(--c-muted) !important; }
.cursos-page .nav-link:hover,
.cursos-page .nav-link.active { color: #000 !important; font-weight: 600; }

.nav-link-cta {
  padding: 7px 20px !important;
  border: 1.5px solid #000;
  border-radius: 4px;
  color: #000 !important;
  font-weight: 600;
  transition: all .3s;
}
.nav-link-cta:hover { background: #000; color: #fff !important; }

.cursos-page .footer { background: var(--c-soft); border-top: 1px solid var(--c-border); }

/* ─── Container ─── */
.c-container { width: 90%; max-width: 1100px; margin: 0 auto; }

/* ─── Section ─── */
.c-section { padding: 120px 0; }
.c-section__header { text-align: center; margin-bottom: 64px; }
.c-label {
  display: inline-block;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--c-muted);
  margin-bottom: 10px;
}
.c-section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  letter-spacing: -.02em;
  color: #000;
  line-height: 1.15;
}
.c-section__sub { color: var(--c-muted); margin-top: 8px; font-size: .95rem; }

/* ─── HERO ─── */
.c-hero { padding: 140px 0 80px; background: #fff; }

.c-badge {
  display: inline-block;
  padding: 6px 16px;
  background: #000;
  color: #fff;
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 3px;
  margin-bottom: 24px;
}

.c-hero__title {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}
.c-hero__title--accent { font-weight: 600; }

.c-hero__sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--c-muted);
  margin-bottom: 28px;
  max-width: 500px;
}

.c-hero__tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 32px;
}
.c-hero__tags span {
  padding: 6px 14px;
  background: var(--c-soft);
  border: 1px solid var(--c-border);
  border-radius: 4px;
  font-size: .82rem;
  font-weight: 500;
}

.c-hero__cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.c-price {
  font-size: 2.2rem; font-weight: 700;
  font-family: 'Inter', sans-serif;
}
.c-price small { font-size: .9rem; font-weight: 400; color: var(--c-muted); }

.c-btn {
  display: inline-block;
  padding: 13px 30px;
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-radius: 4px;
  transition: all .3s ease;
}
.c-btn--primary { background: #000; color: #fff; border: 1.5px solid #000; }
.c-btn--primary:hover { background: #2a2a2a; border-color: #2a2a2a; }
.c-btn--outline { background: transparent; color: var(--c-muted); border: 1.5px solid #ddd; }
.c-btn--outline:hover { border-color: #000; color: #000; }
.c-btn--full { width: 100%; text-align: center; }

/* ─── INCLUYE FEATURES ─── */
.c-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

.c-feature { padding: 0; }
.c-feature__icon { font-size: 2rem; margin-bottom: 14px; }
.c-feature__title { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.c-feature__desc { font-size: .9rem; color: var(--c-muted); line-height: 1.6; }

/* ─── SPLIT (MAMPO) ─── */
.c-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.c-split__img img { width: 100%; border-radius: 8px; box-shadow: 0 20px 50px rgba(0,0,0,.08); border: 1px solid var(--c-border); display: block; }
.c-split__desc { font-size: 1rem; line-height: 1.7; color: var(--c-muted); margin-bottom: 28px; }

.c-checklist { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.c-checklist li { display: flex; gap: 14px; align-items: flex-start; }
.c-check {
  flex-shrink: 0; width: 22px; height: 22px;
  background: #000; color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 700; margin-top: 3px;
}
.c-check::after { content: '✓'; }
.c-checklist li strong { display: block; font-size: .92rem; margin-bottom: 2px; }
.c-checklist li div { font-size: .85rem; color: var(--c-muted); line-height: 1.5; }

/* ─── TEMARIO ─── */
.c-temario { background: #fff; }
.c-temario__list { display: flex; flex-direction: column; gap: 40px; max-width: 960px; margin: 0 auto; }

.c-modulo {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--c-border);
  border-radius: 8px; overflow: hidden;
  transition: box-shadow .3s;
}
.c-modulo:hover { box-shadow: 0 8px 30px rgba(0,0,0,.06); }

.c-modulo__img { overflow: hidden; background: var(--c-soft); position:relative; }

/* ─── Carousel ─── */
.c-carousel { position:relative; width:100%; height:100%; min-height:280px; display:flex; align-items:center; overflow:hidden; }
.c-car__track { display:flex; width:100%; height:100%; transition:transform .5s cubic-bezier(.16,1,.3,1); }
.c-car__slide { min-width:100%; display:flex; align-items:center; justify-content:center; padding:24px; }
.c-car__slide img { width:100%; height:auto; max-height:340px; object-fit:contain; display:block; }
.c-car__prev, .c-car__next {
  position:absolute; top:50%; transform:translateY(-50%); z-index:2;
  width:32px; height:32px; border-radius:50%; border:none;
  background:rgba(255,255,255,.85); color:#000; font-size:1.2rem;
  cursor:pointer; display:flex; align-items:center; justify-content:center;
  opacity:0; transition:opacity .3s; box-shadow:0 2px 8px rgba(0,0,0,.1);
}
.c-carousel:hover .c-car__prev, .c-carousel:hover .c-car__next { opacity:1; }
.c-car__prev { left:10px; }
.c-car__next { right:10px; }
.c-car__prev:hover, .c-car__next:hover { background:#fff; }
.c-car__dots { position:absolute; bottom:10px; left:50%; transform:translateX(-50%); display:flex; gap:6px; z-index:2; }
.c-car__dots span { width:7px; height:7px; border-radius:50%; background:rgba(0,0,0,.2); cursor:pointer; transition:all .3s; }
.c-car__dots span.active { background:#000; transform:scale(1.3); }

.c-modulo__content { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.c-modulo__num {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2.5px; color: var(--c-muted); margin-bottom: 8px;
}
.c-modulo__title { font-size: 1.25rem; font-weight: 600; margin-bottom: 16px; }

.c-modulo__lessons { list-style: none; padding: 0; }
.c-modulo__lessons li {
  padding: 8px 0; font-size: .9rem; color: var(--c-muted);
  border-bottom: 1px solid var(--c-border);
  display: flex; align-items: center; gap: 10px;
}
.c-modulo__lessons li::before {
  content: ''; width: 4px; height: 4px; background: #000; border-radius: 50%; flex-shrink: 0;
}
.c-modulo__lessons li:last-child { border-bottom: none; }

/* reverse layout */
.c-modulo--rev .c-modulo__img { order: 1; }
.c-modulo--rev .c-modulo__content { order: 0; }

/* ─── GALLERY ─── */
.c-galeria { background: var(--c-soft); }
.c-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.c-gallery__item {
  border: 1px solid var(--c-border); border-radius: 8px; overflow: hidden;
  background: #fff; transition: transform .3s, box-shadow .3s;
}
.c-gallery__item:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.c-gallery__item img { width: 100%; display: block; aspect-ratio: 16/10; object-fit: contain; background:#f0f0f0; padding:8px; }
.c-gallery__body { padding: 20px 24px 24px; }
.c-gallery__body h4 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.c-gallery__body p { font-size: .88rem; color: var(--c-muted); line-height: 1.6; }

/* ─── PRECIO ─── */
.c-precio { background: #fff; }
.c-precio__card {
  max-width: 460px; margin: 0 auto;
  border: 2px solid #eee; border-radius: 12px;
  padding: 48px 40px; text-align: center;
  transition: border-color .3s, box-shadow .3s;
}
.c-precio__card:hover { border-color: #000; box-shadow: 0 16px 48px rgba(0,0,0,.06); }
.c-precio__badge {
  display: inline-block;
  background: #000; color: #fff;
  padding: 5px 20px; border-radius: 3px;
  font-size: .7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 20px;
}
.c-precio__name { font-size: 1.3rem; margin-bottom: 20px; }
.c-precio__amount { margin-bottom: 14px; }
.c-precio__symbol { font-size: 1.3rem; vertical-align: top; color: var(--c-muted); }
.c-precio__num { font-size: 3.8rem; font-weight: 700; line-height: 1; }
.c-precio__period { font-size: .95rem; color: var(--c-muted); }
.c-precio__desc { color: var(--c-muted); font-size: .92rem; margin-bottom: 28px; }
.c-precio__features { list-style: none; text-align: left; margin-bottom: 32px; }
.c-precio__features li { padding: 10px 0; font-size: .92rem; border-bottom: 1px solid var(--c-border); }
.c-precio__features li:last-child { border-bottom: none; }
.c-precio__pay { font-size: .78rem; color: var(--c-muted); margin-top: 14px; }

/* ─── CONTACTO ─── */
.c-contacto { background: var(--c-soft); }
.c-contacto__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.c-form { display: flex; flex-direction: column; gap: 16px; }
.c-form input, .c-form textarea {
  width: 100%; padding: 14px 0;
  background: transparent; border: none; border-bottom: 1px solid var(--c-border);
  font-family: 'Inter', sans-serif; font-size: .95rem; color: var(--c-text);
  transition: border-color .3s;
}
.c-form input:focus, .c-form textarea:focus { outline: none; border-bottom-color: #000; }
.c-form textarea { resize: vertical; }

/* ─── CTA ─── */
.c-cta { background: #111; color: #fff; }
.c-cta__title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400; margin-bottom: 14px; color: #fff;
}
.c-cta__sub { color: rgba(255,255,255,.6); margin-bottom: 32px; font-size: 1rem; }
.c-cta .c-btn--primary { border-color: #fff; color: #fff; background: transparent; }
.c-cta .c-btn--primary:hover { background: #fff; color: #111; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .c-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .c-split { grid-template-columns: 1fr; gap: 40px; }
  .c-split__img { order: -1; }
  .c-modulo { grid-template-columns: 1fr; }
  .c-carousel { min-height: 200px; }
  .c-modulo__content { padding: 28px; }
  .c-modulo--rev .c-modulo__img { order: 0; }
  .c-modulo--rev .c-modulo__content { order: 1; }
  .c-contacto__grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .c-section { padding: 80px 0; }
  .c-hero { padding: 120px 0 60px; }
  .c-grid-3 { grid-template-columns: 1fr; gap: 24px; }
  .c-gallery { grid-template-columns: 1fr; gap: 20px; }
  .c-precio__card { padding: 36px 24px; }
  .c-precio__num { font-size: 3rem; }
  .c-hero__cta { flex-direction: column; align-items: flex-start; }
  
  .cursos-page .menu-toggle { display: flex; }
  .cursos-page .menu-toggle .bar { background: var(--c-text); }
  .cursos-page .nav-links {
    position: fixed; top: 0; right: -100%; width: 240px; height: 100vh;
    background: rgba(255,255,255,.98);
    border-left: 1px solid #000;
    flex-direction: column; padding-top: 100px; padding-left: 28px;
    align-items: flex-start; gap: 28px;
    transition: right .4s ease;
  }
  .cursos-page .nav-links.active { right: 0; display: flex; }
  .cursos-page .menu-toggle.active .bar:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .cursos-page .menu-toggle.active .bar:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
}

/* ─── ANIMACIONES ─── */
.c-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.16,1,.3,1); }
.c-reveal.is-visible { opacity: 1; transform: translateY(0); }
.c-reveal-delay-1 { transition-delay: .1s; }
.c-reveal-delay-2 { transition-delay: .2s; }
.c-reveal-delay-3 { transition-delay: .3s; }