/* =============================================
   doctorados.css — Estilos de doctorados.php
   ============================================= */

.pagina-doctorados {
  padding: 40px 0 60px;
}

/* ===== HERO ===== */
.doctorados-hero {
  background: linear-gradient(135deg, var(--azul) 0%, var(--azul-hover) 100%);
  border-radius: var(--radio);
  padding: 40px 48px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.doctorados-hero::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.doctorados-hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: 60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.doctorados-hero h1 {
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}

.doctorados-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin: 0;
}

/* ===== INFO BANNER ===== */
.info-banner {
  background: #fff;
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  padding: 28px 36px;
  margin-bottom: 32px;
  border-left: 5px solid var(--azul);
}

.info-banner p {
  font-size: 0.97rem;
  color: var(--texto-suave);
  line-height: 1.85;
  margin: 0;
}

/* ===== STATS ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.stat-card {
  background: #fff;
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  padding: 24px 20px;
  text-align: center;
  border-top: 4px solid var(--azul);
}

.stat-numero {
  font-family: 'Raleway', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--azul);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--texto-suave);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== TÍTULO SECCIÓN ===== */
.seccion-titulo {
  font-family: 'Raleway', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--azul);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.seccion-titulo::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--gris-fondo);
  border-radius: 2px;
}

/* ===== CARDS DE DOCTORADO ===== */
.doctorados-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

@media (max-width: 575px) {
  .doctorados-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .doctorados-hero { padding: 28px 24px; }
  .doctorados-hero h1 { font-size: 1.5rem; }
  .info-banner { padding: 20px; }
}

.doc-card {
  background: #fff;
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  padding: 36px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.doc-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--azul);
  border-radius: 4px 0 0 4px;
  transform: scaleY(0);
  transition: transform 0.2s ease;
}

.doc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sombra-hover);
  border-color: rgba(1,36,99,0.15);
}

.doc-card:hover::before {
  transform: scaleY(1);
}

.doc-card-icono {
  width: 64px;
  height: 64px;
  background: var(--gris-fondo);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.doc-card:hover .doc-card-icono {
  background: var(--azul);
}

.doc-card-icono i {
  font-size: 26px;
  color: var(--azul);
  transition: color 0.2s;
}

.doc-card:hover .doc-card-icono i {
  color: #fff;
}

.doc-card-info {
  flex: 1;
}

.doc-card-badge {
  display: inline-block;
  background: var(--gris-fondo);
  color: var(--azul);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.doc-card-nombre {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--texto);
  line-height: 1.4;
  font-family: 'Raleway', sans-serif;
  transition: color 0.2s;
  margin: 0;
}

.doc-card:hover .doc-card-nombre {
  color: var(--azul);
}

.doc-card-arrow {
  color: var(--texto-suave);
  font-size: 14px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.doc-card:hover .doc-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ===== NOTA ===== */
.nota-requisitos {
  background: var(--gris-fondo);
  border-radius: var(--radio);
  padding: 20px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.nota-requisitos i {
  color: var(--azul);
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.nota-requisitos p {
  font-size: 0.9rem;
  color: var(--texto-suave);
  line-height: 1.7;
  margin: 0;
}
