/* ═══════════════════════════════════════════════════════════════════
   KARLA MENDOZA CLINIC — Cursos (estilos adicionales)
   Hereda tokens y base de style.css (tema claro)
   Mismos colores que index.html: #ffffff · #f5f5f5 · #000000 · #32373c
   ═══════════════════════════════════════════════════════════════════ */

/* ── NAV active state ── */
.nav__links a.active { color: var(--gold); }

/* ── HERO — imagen tipo póster (contain en lugar de cover) ── */
.hero__visual--contain .hero__img {
  object-fit: contain;
  background: var(--bg-soft);
  padding: 1.5rem;
}

/* ══════════════════════════════════════════════════════════════════════
   VIP SECTION
   ══════════════════════════════════════════════════════════════════════ */
.vip-section {
  padding: 7rem 0;
  background: var(--bg-soft);   /* blush cálido #faf0ec */
  border-bottom: 1px solid rgba(186, 151, 141, .2);
}

.vip-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.vip-section__text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.vip-section__text p { color: var(--text-muted); line-height: 1.75; }

.vip-section__items {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  list-style: none;
}

.vip-section__items li {
  font-size: .9rem;
  color: var(--text-muted);
  display: flex;
  align-items: baseline;
  gap: .75rem;
  line-height: 1.55;
}

.vip-tag {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--gold);
  color: #fff;
  padding: .25rem .65rem;
  border-radius: 4px;
  flex-shrink: 0;
}

.vip-section__img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  max-width: 460px;
  margin-inline: auto;
  background: var(--bg);
  border: 1px solid var(--border-soft);
}

.vip-section__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ══════════════════════════════════════════════════════════════════════
   INTRO — Por qué formarte
   ══════════════════════════════════════════════════════════════════════ */
.curso-intro {
  padding: 7rem 0;
  background: var(--bg);
}

.curso-intro__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.curso-intro__text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.curso-intro__text p { color: var(--text-muted); line-height: 1.75; }

/* Stats column */
.curso-intro__stats {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.curso-stat {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: 1.75rem 2rem;
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg);
}

.curso-stat:last-child { border-bottom: none; }

.curso-stat strong {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
}

.curso-stat span {
  font-size: .78rem;
  letter-spacing: .08em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════════════════════
   PROGRAMA — Módulos
   ══════════════════════════════════════════════════════════════════════ */
.curso-programa {
  padding: 8rem 0;
  background: var(--bg-soft);
}

.modulos {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.modulo {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2.5rem;
  background: var(--bg);
  border: 1px solid rgba(186, 151, 141, .18);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  transition: border-color var(--trans), box-shadow var(--trans);
}

.modulo:hover {
  border-color: rgba(154, 120, 48, .25);
  box-shadow: var(--shadow-md);
}

.modulo__num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  opacity: .45;
  line-height: 1;
  padding-top: .25rem;
}

.modulo__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modulo__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.modulo__header h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text);
}

.modulo__tag {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: rgba(154, 120, 48, .1);
  color: var(--gold);
  padding: .3rem .85rem;
  border-radius: 4px;
  border: 1px solid rgba(154, 120, 48, .2);
}

.modulo__content > p {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.modulo__list {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin-top: .5rem;
}

.modulo__list li {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(154, 120, 48, .3);
}

.modulo__tecnica {
  font-size: .85rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .03em;
}

.modulo__list li span:last-child {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ══════════════════════════════════════════════════════════════════════
   BENEFICIOS
   ══════════════════════════════════════════════════════════════════════ */
.curso-beneficios {
  padding: 8rem 0;
  background: var(--bg);
}

.beneficios__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.beneficio {
  background: var(--bg-soft);   /* blush suave */
  border: 1px solid rgba(186, 151, 141, .18);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  box-shadow: var(--shadow);
  transition: border-color var(--trans), transform var(--trans), box-shadow var(--trans);
}

.beneficio:hover {
  border-color: rgba(154, 120, 48, .22);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.beneficio__icon {
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1;
}

.beneficio h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text);
}

.beneficio p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════════════════════════
   FECHAS — Lista de espera
   ══════════════════════════════════════════════════════════════════════ */
.curso-fechas {
  padding: 8rem 0;
  background: var(--bg-soft);
}

.fechas__aviso {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  background: rgba(154, 120, 48, .06);
  border: 1px solid rgba(154, 120, 48, .2);
  border-radius: var(--radius);
  padding: 2.5rem;
  margin-bottom: 3rem;
}

.fechas__aviso-icon {
  font-size: 2.5rem;
  color: var(--gold);
  opacity: .75;
  flex-shrink: 0;
  line-height: 1;
}

.fechas__aviso-text h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: .5rem;
}

.fechas__aviso-text p {
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.fechas__form-wrap {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 3rem;
  max-width: 700px;
  margin-inline: auto;
}

.fechas__form-wrap h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: .5rem;
}

.fechas__form-wrap > p {
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.fechas__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.fechas__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ══════════════════════════════════════════════════════════════════════
   INSTRUCTOR
   ══════════════════════════════════════════════════════════════════════ */
.curso-instructor {
  padding: 8rem 0;
  background: var(--bg);
}

.curso-instructor__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: center;
}

.curso-instructor__img-wrap {
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-soft);
}

.curso-instructor__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.curso-instructor__text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.curso-instructor__text p { color: var(--text-muted); line-height: 1.75; }

/* ══════════════════════════════════════════════════════════════════════
   FAQ — Accordion con <details>/<summary>
   ══════════════════════════════════════════════════════════════════════ */
.curso-faq {
  padding: 8rem 0;
  background: var(--bg-soft);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  max-width: 800px;
  margin-inline: auto;
}

.faq__item {
  background: var(--bg);
  border: 1px solid rgba(186, 151, 141, .18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: border-color var(--trans), box-shadow var(--trans);
}

.faq__item:hover { border-color: rgba(186, 151, 141, .4); }
.faq__item[open]  { border-color: var(--rose); box-shadow: var(--shadow-md); }

.faq__item summary {
  padding: 1.5rem 2rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--rose);
  flex-shrink: 0;
  transition: transform var(--trans);
  font-weight: 300;
  line-height: 1;
}

.faq__item[open] summary::after { transform: rotate(45deg); }

.faq__item p {
  padding: 0 2rem 1.5rem;
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════════════
   CTA FINAL
   ══════════════════════════════════════════════════════════════════════ */
.curso-cta {
  padding: 8rem 0;
  background: var(--bg);
  text-align: center;
  border-top: 1px solid var(--border);
}

.curso-cta .section__title { color: var(--text); }

.curso-cta > .container > p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-inline: auto;
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .vip-section__inner { grid-template-columns: 1fr; gap: 3rem; }
  .vip-section__img-wrap { order: -1; }

  .curso-intro__inner,
  .curso-instructor__inner { grid-template-columns: 1fr; }

  .modulo {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .modulo__num { font-size: 2rem; }
  .modulo__header { flex-direction: column; align-items: flex-start; gap: .5rem; }

  .beneficios__grid { grid-template-columns: 1fr; }

  .fechas__aviso { flex-direction: column; gap: 1rem; }
  .fechas__form-wrap { padding: 2rem 1.5rem; }
  .fechas__form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .beneficios__grid { grid-template-columns: 1fr; }
  .faq__item summary { padding: 1.25rem 1.5rem; font-size: 1rem; }
  .faq__item p { padding: 0 1.5rem 1.25rem; }
}
