:root {
  --azul-oscuro: #273340;
  --azul-medio: #2c5aa0;
  --dorado: #c29e3b;
  --blanco: #ffffff;
  --gris-claro: #f8f9fa;
  --texto-oscuro: #2c3e50;
  --texto-gris: #666;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: var(--texto-oscuro);
  background-color: var(--blanco);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ESTILO ESTANDAR PARA TODAS LAS SECCIONES */
section {
  padding: 5rem 0;
  width: 100%;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.3;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== SECCIÓN HERO ===== */
.logo {
  padding-top: 5rem;
}

.hero-title {
  margin-top: 2rem;
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #000;
  text-align: center; /* Asegura que todo el texto esté centrado */
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
  padding: 0 1.5rem;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-content {
    transform: translateX(9rem);
    align-items: flex-start;
    text-align: left;
  }
}




@media (min-width: 768px) {
  .hero-content {
    padding-left: 40px; /* Ajusta este valor si aún parece cargado a la izquierda */
  }
}


.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);

  /* Animación */
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards 0.5s;
}





.hero-logo {
  max-width: 150px;
  margin-bottom: 2rem; /* Espacio después del logo */
}


/* Textos */
.logo-primary {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  color: white;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  line-height: 1;
}

.logo-secondary {
  font-size: clamp(1rem, 3vw, 1.8rem);
  font-weight: 400;
  color: white;
  letter-spacing: clamp(2px, 2vw, 6px);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-tagline {
  font-size: clamp(1rem, 3vw, 1.3rem);
  font-weight: 300;
  color: white;
  margin: 0 auto 3rem;
  max-width: 500px;
  line-height: 1.5;
}

/* Botón */
.cta-button {
  margin-top: 1rem;
  background: var(--dorado);
  color: var(--azul-oscuro);
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: inline-block;
  min-width: 200px;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}
/* ===== SECCIÓN LICENCIATURA ===== */
.licenciatura {
  background: var(--gris-claro);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  align-items: center;
}

.licenciatura .title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--azul-oscuro);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.duration-highlight {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 700;
  color: var(--dorado);
  margin-bottom: 1.5rem;
}

.description-final {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--texto-oscuro);
  line-height: 1.8;
}

/* ===== SECCIÓN BENEFICIOS ===== */
.beneficios {
  background-color: var(--azul-oscuro);
  color: var(--blanco);
}

.beneficios-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--dorado);
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.beneficios-list {
  list-style: none;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 2;
}

.beneficios-list li {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.5rem;
}

.beneficios-list li::before {
  content: "•";
  color: var(--dorado);
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -2px;
}

/* ===== SECCIÓN MODALIDAD ===== */
.modalidad-header {
  background: var(--dorado);
  padding: 2rem 1rem;
}

.modalidad-header h3 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin: 0;
}

.modalidad-header .dark {
  color: var(--azul-oscuro);
  font-weight: 700;
}

.modalidad-header .light {
  color: var(--blanco);
  font-weight: 400;
  text-transform: uppercase;
}

/* ===== SECCIÓN DOCENTES ===== */
.docentes {
  background: var(--blanco);
}

.docentes-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
}

.video-box, .texto-box {
  flex: 1 1 300px;
}

.texto-box h3 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--azul-oscuro);
  margin-bottom: 1.5rem;
}

.texto-box p {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--texto-oscuro);
  line-height: 1.8;
}

/* ===== SECCIÓN LÍDERES COMERCIALES ===== */
.lideres-comerciales {
  background-color: var(--azul-oscuro);
  padding: 0;
}

.lideres-superior {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 1.5rem 1rem;
  color: var(--blanco);
  gap: 2rem;
}

.lideres-texto {
  flex: 1 1 300px;
}

.lideres-texto h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--dorado);
  margin: 0;
}

.lideres-texto p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-top: 0.8rem;
  max-width: 700px;
  line-height: 1.6;
}

.btn-inscribete {
  background-color: var(--dorado);
  color: var(--texto-oscuro);
  font-weight: 700;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s ease;
  display: inline-block;
  text-transform: uppercase;
  font-size: clamp(0.9rem, 2vw, 1rem);
  text-align: center;
}

.btn-inscribete:hover {
  background-color: #b88d2c;
}

/* ===== SECCIÓN MISIÓN Y VISIÓN ===== */
.mision-vision {
  background: var(--blanco);
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.container-mv {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.presentacion {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}

.logo-unired {
  max-width: 240px;
  height: auto;
  margin-bottom: 1.5rem;
  width: 100%;
}

.presentacion-texto {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--texto-gris);
  line-height: 1.8;
  text-align: justify;
  max-width: 460px;
}

.texto-mv {
  flex: 2 1 300px;
}

.bloque {
  margin-bottom: 2rem;
}

.titulo-container {
  display: inline-block;
  background-color: var(--dorado);
  padding: 0.8rem 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}

.titulo-seccion {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  color: var(--blanco);
  margin: 0;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

.texto-seccion {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--texto-oscuro);
  line-height: 1.8;
  margin-bottom: 2rem;
  text-align: justify;
}

.separador {
  height: 1px;
  background-color: #ddd;
  margin: 2rem 0;
  width: 100%;
}

/* ===== SECCIÓN VALORES ===== */
.valores {
  background-color: var(--azul-oscuro);
  color: var(--blanco);
}

.valores-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
}

.valores-image, .valores-text {
  flex: 1 1 300px;
}

.valores-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 2rem;
  color: var(--dorado);
}

.valores-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.valores-list li {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.8rem;
}

/* ===== SECCIÓN INSCRIPCIÓN ===== */
.inscripcion {
  background: linear-gradient(135deg, var(--azul-oscuro) 0%, var(--azul-medio) 100%);
  color: var(--blanco);
  text-align: center;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  section {
    padding: 4rem 0;
  }
}

@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }
  
  .content-grid, .docentes-flex {
    gap: 2rem;
  }
  
  .lideres-superior {
    padding: 2rem 1rem;
  }
}

@media (max-width: 480px) {
  section {
    padding: 2.5rem 0;
  }
  
  .hero {
    min-height: 500px;
  }
  
  .logo-primary {
    margin-bottom: 0.5rem;
  }
  
  .logo-secondary {
    margin-bottom: 1rem;
  }
  
  .hero-tagline {
    margin-bottom: 2rem;
  }
  
  .cta-button {
    padding: 10px 25px;
    min-width: 180px;
  }
  
  .content-grid, .docentes-flex, .valores-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .beneficios-list li::before {
    top: -4px;
  }
}

/* Agrega esto a tu style.css */


@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.hero-title {
  opacity: 0;
  transform: scale(0.9);
  animation: fadeInScale 1s ease-out forwards 1s;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.cta-button {
  opacity: 0;
  animation: fadeIn 1s ease-out forwards 1.5s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Animaciones para las secciones */
.pre-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Retrasos escalonados para los elementos de lista */
.beneficios-list li {
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.5s ease-out;
}

.beneficios-list li:nth-child(1) { transition-delay: 0.2s; }
.beneficios-list li:nth-child(2) { transition-delay: 0.4s; }
.beneficios-list li:nth-child(3) { transition-delay: 0.6s; }
.beneficios-list li:nth-child(4) { transition-delay: 0.8s; }
.beneficios-list li:nth-child(5) { transition-delay: 1s; }

.animate-in .beneficios-list li {
  opacity: 1;
  transform: translateX(0);
}

/* Animación para la imagen de licenciatura */
.licenciatura-img {
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.8s ease-out;
}

.animate-in .licenciatura-img {
  opacity: 1;
  transform: translateX(0);
}

/* Animación para el título de licenciatura */
.licenciatura .title {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

.animate-in .title {
  opacity: 1;
  transform: translateY(0);
}

/* Animación escalonada para los valores */
.valores-list li {
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.5s ease-out;
}

.valores-list li:nth-child(1) { transition-delay: 0.2s; }
.valores-list li:nth-child(2) { transition-delay: 0.4s; }
.valores-list li:nth-child(3) { transition-delay: 0.6s; }
.valores-list li:nth-child(4) { transition-delay: 0.8s; }
.valores-list li:nth-child(5) { transition-delay: 1s; }
.valores-list li:nth-child(6) { transition-delay: 1.2s; }

.animate-in .valores-list li {
  opacity: 1;
  transform: translateX(0);
}

.cta-button {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-button:active {
  transform: translateY(-1px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.cta-button::after {
  content: "";
  display: inline-block;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  transition: all 0.4s;
  background-color: rgba(255, 255, 255, 0.1);
}

.cta-button:hover::after {
  transform: scaleX(1.4) scaleY(1.6);
  opacity: 0;
}

.video-box {
  perspective: 1000px;
}

.video-docente {
  transform: rotateY(15deg);
  transition: all 0.5s ease-out;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.video-docente:hover {
  transform: rotateY(0) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.bloque {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.bloque.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.bloque.animate-in:nth-of-type(1) {
  transition-delay: 0.2s;
}

.bloque.animate-in:nth-of-type(2) {
  transition-delay: 0.4s;
}

.logo-unired {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s ease-out;
}

.animate-in .logo-unired {
  opacity: 1;
  transform: scale(1);
}

