/* === DIPLOMADO PAGE === */

/* =================== HERO =================== */
.diplomado-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #0A1628;
  padding: calc(var(--nav-height, 80px) + 2rem) 1.5rem 3rem;
  overflow: hidden;
}

.diplomado-hero .particles-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.diplomado-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.diplomado-hero-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--color-gold);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.diplomado-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--color-white);
  line-height: 1.25;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.diplomado-hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  font-weight: 300;
  font-style: italic;
}

/* =================== SECCIÓN 1: QUÉ ES =================== */
.que-es {
  background: #050D1A;
  padding: 100px 1.5rem;
  position: relative;
  z-index: 2;
}

.que-es-container {
  max-width: 900px;
  margin: 0 auto;
}

.que-es h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 600;
}

.que-es p {
  font-family: var(--font-body);
  font-size: 18px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.9;
  margin-bottom: 1.8rem;
  font-weight: 300;
  text-align: center;
}

/* =================== SECCIÓN 2: PROGRAMA =================== */
.programa {
  background: #0A1628;
  padding: 100px 1.5rem;
  position: relative;
  z-index: 2;
}

.programa-container {
  max-width: 1000px;
  margin: 0 auto;
}

.programa h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 3.5rem;
  font-weight: 600;
}

.modulos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.modulo-card {
  background: #050D1A;
  border-left: 3px solid var(--color-gold);
  padding: 32px;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modulo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.15);
}

.modulo-num {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 600;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 1rem;
}

.modulo-card h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.04em;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.modulo-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  line-height: 1.7;
  font-weight: 300;
}

/* =================== SECCIÓN 3: PARA QUIÉN =================== */
.para-quien {
  background: #050D1A;
  padding: 80px 1.5rem;
  position: relative;
  z-index: 2;
}

.para-quien-container {
  max-width: 1000px;
  margin: 0 auto;
}

.para-quien h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 600;
}

.para-quien-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.para-quien-card {
  background: #0A1628;
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 28px;
  border-radius: 8px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.para-quien-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-3px);
}

.para-quien-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  line-height: 1.7;
  font-weight: 300;
}

/* =================== SECCIÓN 4: MODALIDADES =================== */
.modalidades {
  background: #0A1628;
  padding: 80px 1.5rem;
  position: relative;
  z-index: 2;
}

.modalidades-container {
  max-width: 800px;
  margin: 0 auto;
}

.modalidades h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 600;
}

.modalidades-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 2.5rem;
}

.modalidad-card {
  background: #050D1A;
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 28px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modalidad-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.15);
}

.modalidad-destacada {
  border: 2px solid var(--color-gold);
  transform: scale(1.03);
}

.modalidad-destacada:hover {
  transform: scale(1.03) translateY(-4px);
}

.modalidad-icon {
  margin-bottom: 1rem;
}

.modalidad-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
}

.modalidad-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
  line-height: 1.7;
  font-weight: 300;
}

.modalidades-caja {
  background: #050D1A;
  border: 1px solid var(--color-gold);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
}

.modalidades-caja p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 1.8rem;
}

/* =================== SECCIÓN 5: CTA FINAL =================== */
.cta-final {
  background: #050D1A;
  padding: 80px 1.5rem;
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-final-container {
  max-width: 700px;
  margin: 0 auto;
}

.cta-final h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--color-white);
  margin-bottom: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
}

.cta-final p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  font-style: italic;
  font-weight: 300;
}

/* =================== RESPONSIVE =================== */
@media (max-width: 1024px) {
  .modulos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .para-quien-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .modulos-grid {
    grid-template-columns: 1fr;
  }

  .para-quien-grid {
    grid-template-columns: 1fr;
  }

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

  .modalidad-destacada {
    transform: none;
  }

  .modalidad-destacada:hover {
    transform: translateY(-4px);
  }

  .modalidades-caja {
    padding: 28px 20px;
  }
}

/* =================== LIGHT THEME =================== */
body[data-theme="light"] .diplomado-hero {
  background: rgba(245, 243, 238, 0.9);
}

body[data-theme="light"] .diplomado-hero h1 {
  color: var(--color-cosmos);
}

body[data-theme="light"] .diplomado-hero-subtitle {
  color: rgba(42, 42, 42, 0.6);
}

body[data-theme="light"] .que-es {
  background: #F5F3EE;
}

body[data-theme="light"] .que-es p {
  color: rgba(42, 42, 42, 0.72);
}

body[data-theme="light"] .programa {
  background: #F0EBE0;
}

body[data-theme="light"] .modulo-card {
  background: #FFFFFF;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

body[data-theme="light"] .modulo-card h3 {
  color: var(--color-cosmos);
}

body[data-theme="light"] .modulo-card p {
  color: rgba(42, 42, 42, 0.72);
}

body[data-theme="light"] .para-quien {
  background: #F5F3EE;
}

body[data-theme="light"] .para-quien-card {
  background: #FFFFFF;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

body[data-theme="light"] .para-quien-card p {
  color: rgba(42, 42, 42, 0.75);
}

body[data-theme="light"] .modalidades {
  background: #F0EBE0;
}

body[data-theme="light"] .modalidad-card {
  background: #FFFFFF;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

body[data-theme="light"] .modalidad-card p {
  color: rgba(42, 42, 42, 0.72);
}

body[data-theme="light"] .modalidades-caja {
  background: #FFFFFF;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

body[data-theme="light"] .modalidades-caja p {
  color: rgba(42, 42, 42, 0.75);
}

body[data-theme="light"] .cta-final {
  background: #F5F3EE;
}

body[data-theme="light"] .cta-final h2 {
  color: var(--color-cosmos);
}

body[data-theme="light"] .cta-final p {
  color: rgba(42, 42, 42, 0.6);
}
