/* ============================================= */
/*  css/practicas.css – Estilo WOW Mejorado para Prácticas Profesionales */
/*  100% coherente con index, admisiones y directorio                    */
/*  Con animaciones más sutiles y bonitas para un look más elegante      */
/* ============================================= */

.practicas-section {
  padding: 100px 20px 80px;
  background: linear-gradient(135deg, #fdfdfd 0%, #f8f5f0 100%);
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: -100px auto;
  text-align: center;
}

.intro-text {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards 0.3s;
}

.practicas-content {
  display: flex;
  flex-direction: column;
  gap: 50px;
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}

.practicas-block {
  background: white;
  border-radius: 24px;
  padding: 35px;
  box-shadow: 0 10px 30px rgba(96,13,24,0.08);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
  transform: translateY(30px);
}

.practicas-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(96,13,24,0.15);
}

.block-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.icon {
  font-size: 2rem;
  color: #b8911f;
  margin-right: 15px;
  transition: transform 0.4s ease;
}

.practicas-block:hover .icon {
  transform: scale(1.1) rotate(5deg);
}

.practicas-block h3 {
  color: #600d18;
  font-size: 1.6rem;
  font-weight: 700;
  position: relative;
}

.practicas-block h3::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, #b8911f, #d4a82a);
  margin: 10px 0 0;
  transition: width 0.4s ease;
}

.practicas-block:hover h3::after {
  width: 120px;
}

.practicas-block p {
  color: #555;
  font-size: 1.1rem;
  line-height: 1.7;
}

.practicas-list {
  list-style: none;
  padding-left: 0;
  margin: 25px 0;
}

.practicas-list .list-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 12px;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateX(-20px);
}

.practicas-list .list-item:hover {
  background: #f0e9e0;
  transform: translateX(0) scale(1.02);
}

.bullet-icon {
  font-size: 1.2rem;
  color: #600d18;
  margin-right: 12px;
  margin-top: 4px;
  transition: color 0.3s ease;
}

.list-item:hover .bullet-icon {
  color: #b8911f;
}

/* Proceso como timeline bonito */
.proceso-block {
  padding: 40px;
}

.proceso-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  position: relative;
}

.proceso-list::before {
  content: '';
  position: absolute;
  left: 25px;
  top: 0;
  bottom: 0;
  width: 2px;
  z-index: 1;
}

.proceso-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
}

.proceso-number {
  width: 40px;
  height: 40px;
  background: #600d18;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin-right: 20px;
  flex-shrink: 0;
  z-index: 2;
  transition: all 0.4s ease;
}

.proceso-item:hover .proceso-number {
  background: #b8911f;
  color: #600d18;
  transform: scale(1.1);
}

.proceso-content {
  flex: 1;
}

.proceso-content p {
  margin: 0 0 8px;
  font-weight: 600;
  color: #333;
}

.proceso-content a {
  color: #b8911f;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.proceso-content a:hover {
  color: #600d18;
  text-decoration: underline;
  transform: translateX(5px);
}

.conclusion-text {
  margin-top: 30px;
  font-style: italic;
  color: #666;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

/* Animación fade-in sutil al cargar */
.fade-in {
  animation: fadeInUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Staggered animation para bloques y items */
.practicas-content .practicas-block:nth-child(1) { animation-delay: 0.4s; }
.practicas-content .practicas-block:nth-child(2) { animation-delay: 0.6s; }
.practicas-content .practicas-block:nth-child(3) { animation-delay: 0.8s; }
.practicas-content .practicas-block:nth-child(4) { animation-delay: 1.0s; }
.practicas-content .practicas-block:nth-child(5) { animation-delay: 1.2s; }

.practicas-list .list-item:nth-child(1) { animation: slideInLeft 0.8s ease forwards 1.0s; }
.practicas-list .list-item:nth-child(2) { animation: slideInLeft 0.8s ease forwards 1.2s; }
.practicas-list .list-item:nth-child(3) { animation: slideInLeft 0.8s ease forwards 1.4s; }
.practicas-list .list-item:nth-child(4) { animation: slideInLeft 0.8s ease forwards 1.6s; }
.practicas-list .list-item:nth-child(5) { animation: slideInLeft 0.8s ease forwards 1.8s; }

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.proceso-list .proceso-item:nth-child(1) { animation: fadeInUp 0.8s ease forwards 1.4s; }
.proceso-list .proceso-item:nth-child(2) { animation: fadeInUp 0.8s ease forwards 1.5s; }
.proceso-list .proceso-item:nth-child(3) { animation: fadeInUp 0.8s ease forwards 1.6s; }
.proceso-list .proceso-item:nth-child(4) { animation: fadeInUp 0.8s ease forwards 1.7s; }
.proceso-list .proceso-item:nth-child(5) { animation: fadeInUp 0.8s ease forwards 1.8s; }
.proceso-list .proceso-item:nth-child(6) { animation: fadeInUp 0.8s ease forwards 1.9s; }
.proceso-list .proceso-item:nth-child(7) { animation: fadeInUp 0.8s ease forwards 2.0s; }
.proceso-list .proceso-item:nth-child(8) { animation: fadeInUp 0.8s ease forwards 2.1s; }
.proceso-list .proceso-item:nth-child(9) { animation: fadeInUp 0.8s ease forwards 2.2s; }
.proceso-list .proceso-item:nth-child(10) { animation: fadeInUp 0.8s ease forwards 2.3s; }
.proceso-list .proceso-item:nth-child(11) { animation: fadeInUp 0.8s ease forwards 2.4s; }

/* Responsive */
@media (max-width: 768px) {
  .practicas-section { padding: 80px 15px 60px; }
  .practicas-block { padding: 25px; border-radius: 16px; }
  .block-header { flex-direction: column; align-items: flex-start; }
  .icon { margin-bottom: 10px; }
  .practicas-block h3 { font-size: 1.4rem; }
  .practicas-block p, .practicas-list .list-item, .proceso-content p { font-size: 1rem; }
  .proceso-number { width: 35px; height: 35px; font-size: 1rem; }
  .proceso-list::before { left: 17px; }
  .proceso-item { margin-bottom: 25px; }
}

@media (max-width: 992px) {
  /* Forzamos que se vea el menú aunque sea una sola opción */
  .nav-list {
    display: flex !important;
    justify-content: center;
    background: transparent;
  }

  /* El <li> y el <a> usan exactamente el estilo del menú principal */
  .nav-list > li > a {
    background: #b8911f;           /* mismo fondo dorado */
    color: white !important;       /* mismo texto blanco */
    padding: 18px 40px;            /* mismo padding que en PC */
    font-weight: 600;
    transition: all 0.3s ease;
  }

  /* Hover exactamente igual que en PC */
  .nav-list > li:hover > a,
  .nav-list > li > a:active {
    background: #600d18;
    color: #b8911f !important;
  }

  /* Ocultamos el botón hamburguesa porque no lo necesitamos */
  .menu-toggle { 
    display: none !important; 
  }
}