/* Paleta de Colores del Boceto */
:root {
  --azul-fondo: #001f3f;
  --azul-oscuro: #001529;
  --dorado: #DBA514;
  --blanco-cristal: rgba(255, 255, 255, 0.1);
}
.col-sm-12{
	padding-right: 0;
	padding-left: 0;
}
.page-header{
	display: none;
}
.plantel-container {
  /*background: rgba(255, 255, 255, 0.5) ;*/
  color: white;
  font-family: 'Arial', sans-serif;
  padding-bottom: 50px;
  
}

/* Contenedor del Heroffooter */
.plantel-hero-header {
  text-align: center;
  padding: 30px 20px;
  background: transparent; /* El fondo lo da el body que configuramos antes */
  color: #20315C;
}

/* El pequeño distintivo superior (Badge) */
.badge-top {
  display: inline-block;
  background: rgba(212, 175, 55, 0.4); /* Dorado muy sutil */
  color: #20315C; /* Dorado sólido */
  padding: 5px 20px;
  border-radius: 50px;
  border: 1px solid #d4af37;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 20px;
}



/* Título Principal (Cuernavaca) */
.plantel-nombre-principal {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.5rem, 10vw, 8.1rem); /* Tamaño dinámico */
  font-weight: 800;
  margin: 0 0 20px 0;
  text-shadow: 0 4px 15px rgba(0,0,0,0.5);
  letter-spacing: -1px;
}

/* Contenedor de Indicadores */
.plantel-indicadores-rapidos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 10px;
}

.indicador-item {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s ease;
}

.indicador-item:hover {
  transform: translateY(-3px);
}

.indicador-item i {
  color: #d4af37;
  font-size: 1.2rem;
}

.indicador-item .dato {
  font-size: 1.9rem;
  font-weight: 700;
}

.indicador-item .etiqueta {
  font-size: 1.5rem;
  color: rgba(32, 49, 92, 0.8);
  text-transform: lowercase;
}

/* La línea vertical divisoria */
.indicador-separador {
  width: 1px;
  height: 25px;
  background: rgba(255, 255, 255, 0.3);
}

/* Ajuste para Móvil */
@media (max-width: 600px) {
  .plantel-indicadores-rapidos {
    flex-direction: column;
    gap: 15px;
  }
  .indicador-separador {
    display: none;
  }
}

/* *** SECCIÓN HEXAGONOS INDICADORES PLANTEL/EMSAD */
.plantel-welcome-glass {
	/*background: rgba(32, 49, 92, 0.8);*/
}
.glass-card {
  /*background: var(--blanco-cristal);*/
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 40px;
  max-width: 1000px;
  margin: -50px auto 40px; /* Sube la tarjeta sobre el hero */
}


/* Estructura de Hexágonos (Simplificada con CSS) */

/* 1. La Tarjeta de Cristal */
.glass-card-container {
  /*background: rgba(32, 49, 92, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;*/
  padding: 30px 30px;
  max-width: 1000px;
  margin: 10px auto;
  /*box-shadow: 0 10px 15px rgba(0,0,0,0.3);*/
  text-align: center;
  margin-bottom: 20px;
}

.welcome-title {
  color: #20315C;
  font-size: 1.8rem;
  margin-bottom: 40px;
  font-weight: 600;
}

/* 2. El Contenedor de Hexágonos */
.hex-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap; /* Permite que bajen en móviles */
}

/* 3. El Hexágono con CSS puro */
.hex-item {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: default;
}

.hex-item:hover {
  transform: scale(1.15); /* Efecto de escalado */
  z-index: 10;
}

.hex-shape {
  width: 150px;
  height: 170px;
  background: #20315C; /* Dorado base */
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  /* Borde sutil externo */
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

/* Diferenciador para el hexágono central o destacado */
.hex-shape.highlight {
  background: #DBA514;
  color: #20315C;
}

.hex-inner {
  display: flex;
  flex-direction: column;
  text-align: center;
  line-height: 1.2;
}

.hex-number {
  font-size: 2.5rem;
  font-weight: 800;
}

.hex-label {
  font-size: 1.25rem;
  letter-spacing: 1px;
}

/* 4. Texto Inferior y Ubicación */
.glass-footer-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.location-box {
  margin-top: 25px;
  padding: 10px;
  border: 1px dashed rgba(32, 49, 92);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #DBA514;
  font-size: 1.5rem;
}

.location-box .field--name-field-domicilio-del-plantel {
	margin-left: 10px;
}

/* 5. RESPONSIVO: De Panal a Columna */
@media (max-width: 768px) {
  .hex-wrapper {
    flex-direction: column; /* Se apilan uno sobre otro */
    gap: 30px;
  }
  
  .hex-item:hover {
    transform: scale(1.05); /* Menos agresivo en móviles */
  }
  
  .glass-card-container {
    width: 90%;
    padding: 30px 15px;
  }
}

.plantel-domicilio{
	text-align: center;
}

/* *** SECCIÓN GALERIA DE FOTOS PLANTEL */
/* Estructura Galería de Fotos */
.plantel-gallery-slider {
  display: grid;
  justify-content: center;
  max-width: 100%;
  overflow: hidden;
  padding: 60px 0;
}

.gallery-header {
	/*background: linear-gradient(180deg, rgba(212, 175, 55, 0.9) 0%, transparent 100%);*/
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
  color: #20315C;
  
}

.gallery-icon{
	font-family: "Arial", Sans;
	/*font-size: 3rem;*/
	
}

.gallery-header h2{
	/*font-size: 4.5rem !important;*/
	font-size: clamp(2.5rem, 8vw, 5.4rem);
	font-weight: 800;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.slider-wrapper {
  width: 1100px;
  display: flex;
  gap: 25px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 20px 50px;
  scrollbar-width: none; /* Oculta scroll en Firefox */
}

.slider-wrapper::-webkit-scrollbar {
  display: none; /* Oculta scroll en Chrome/Safari */
}

.slider-item {
  flex: 0 0 350px; /* Ancho fijo de cada foto */
  scroll-snap-align: center;
  border-radius: 25px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 5px 5px rgba(0,0,0,0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Efecto de hacerse grande al pasar el mouse */
.slider-item:hover {
  transform: scale(1.08) translateY(-10px);
  box-shadow: 0 10px 10px rgba(212, 175, 55, 0.3);
  z-index: 10;
}

.gallery-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Barra de progreso sutil */
.slider-nav {
  width: 200px;
  margin: 20px auto;
  height: 4px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar-gallery{
	height: 100%;
	line-height: 20px;
	color: #fff;
	background-color: rgba(0, 0, 0, 0.1);
	text-align: center;
	transition: width 0.1s ease;
}
.progress-fill {
  width: 0%;
  height: 100%;
  background: #DBA514; /*DBA514*/
  transition: width 0.1s linear;
}

/* Responsivo */
@media (max-width: 768px) {
  .slider-item {
    flex: 0 0 80%; /* Más ancho en móviles */
  }
}

.gallery-item {
  position: relative;
  cursor: pointer;
  border-radius: 20px; /* Bordes muy redondeados como el boceto */
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  aspect-ratio: 4 / 3; /* Todas las fotos del mismo tamaño visual */
}

.gallery-image-wrapper {
  height: 250px;
  position: relative;
}


.gallery-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Efecto Hover */
.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 31, 63, 0.6); /* Azul institucional con transparencia */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #fff;
  font-size: 2rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* --- ESTILOS DEL LIGHTBOX --- */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

#lightbox-img {
  max-width: 90%;
  max-height: 80%;
  border: 3px solid #DBA514;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.close-lightbox {
  position: absolute;
  top: 30px; right: 40px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}

/* *** SECCIÓN OFERTA EDUCATIVA - FORMACIONES PARA EL TRABAJO*/

.plantel-oferta {
  padding: 60px 0;
  width: 100%;
  margin: 0 auto;
}

.oferta-header {
	/*background: linear-gradient(180deg, rgba(212, 175, 55, 0.9) 0%, transparent 100%);*/
  text-align: center;
  color: #20315C;
  padding-bottom: 10px;
  margin-bottom: 40px;

  
}

.oferta-header h2 {
	/*font-size: 4.5rem !important;*/
	font-size: clamp(2.5rem, 8vw, 5.4rem);
	font-weight: 800;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.oferta-icon {
	font-family: "Arial", Sans;
	font-size: 3rem;
}

.oferta-grid {
	display: grid;
  /* Crea columnas automáticas de mínimo 300px que llenan el espacio */
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
  justify-items: center;
}

.oferta-item {
	height: 250px; /* Altura consistente para todas las tarjetas */
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.oferta-image-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.oferta-image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;

  transition: all 0.6s ease;
}

/* --- EL EFECTO DORADO AL HOVER --- */
.oferta-item:hover {
  transform: translateY(-8px);
  z-index: 5;
  /* Sombreado dorado intenso que pediste */
	/*border-color: #DBA514;*/
  /* Glow dorado: x=0, y=0, blur=25px, color con transparencia */
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.7);
}

.oferta-item:hover img {
	transform: translateY(-10px);
  /*box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);*/
  /*border: 2px solid #d4af37;*/
}

/* Contenido sobre la imagen */
.oferta-overlay {
  position: absolute; /* prueba */
  overflow: hidden;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(0, 31, 63, 0.45) 10%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  color: white;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease-in-out;
}

.oferta-image-container:hover .oferta-overlay {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/*
.oferta-content {
	position: absolute;	
	top: 0; left: 0 ;
	width: 100%; height: 100%;
	display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  
	background: linear-gradient(to top, rgba(0, 31, 63, 0.45) 10%, transparent 100%);
	color: #fff;
	opacity: 0;
	visibility: hidden;
  transform: translateY(20px); /* Empieza un poco más abajo
  transition: all 0.4s ease-in-out;
}*/



.oferta-titulo {
  color: #fff;
  font-weight: 800;
  margin: 10px 0;
  text-transform: uppercase;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  margin: 10px 0;
  
}

.oferta-linea {
  width: 50px;
  height: 3px;
  /*background: #DBA514; /* Dorado institucional */
  margin-bottom: 15px;
  transition: width 0.3s ease;
}

.oferta-item:hover .oferta-linea {
	box-shadow: 0 0 25px rgb(212, 175, 55, 0.8);
	/*border: 2px solid #DBA514;*/
	transform: scale(1.02);
  
}

.oferta-desc {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Móvil: 1 columna, Tablet: 2 columnas */
@media (max-width: 1024px) {
  .oferta-item { flex: 1 1 calc(50% - 10px); }
}
@media (max-width: 600px) {
  .oferta-item { flex: 1 1 100%; height: 300px; }
}


/* *** SECCIÓN DIRECTORIO PLANTEL/EMSAD*/
.plantel-directorio {
  padding: 100px 0px;
  text-align: center;
}
.directorio-header{
	/*background: linear-gradient(180deg, rgba(32, 49, 92, 1) 0%, transparent 100%);*/
	padding-bottom: 10px;
	color: #20315C;
}

.directorio-header h2 {
	/*font-size: 4.5rem !important;*/
	font-size: clamp(2.5rem, 8vw, 5.4rem);
	font-weight: 800;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.header-icon{
	font-size: 3rem;
	font-family: "Arial", Sans;
}
.directorio-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.personal-card {
  flex: -2 1 300px;
}

.personal-circle {
	background: #FFFCE8; /* Color crema del boceto */
  width: 265px;
  height: 265px;
  border-radius: 50%;
  border: 4px solid #DBA514; /* Dorado institucional */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
  transition: all 0.4s ease;
  overflow: hidden;
}

.personal-circle:hover {
	transform: translateY(-10px);
  box-shadow: 0 0 45px rgba(212, 175, 55, 0.8); /* Brillo intenso al pasar el mouse */
}

/* Estilo para los textos que vienen de {{ item }} */
.personal-info h3, 
.personal-info .personal-cargo {
  color: #000;
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.personal-info .personal-cargo {
  background: #DBA514;
  color: #000;
  padding: 3px 15px;
  border-radius: 20px;
  font-size: 1.1rem;
  font-weight: bold;
  text-transform: uppercase;
}
/*
.personal-icon {
  font-size: 3rem;
  color: #001f3f;
  margin-bottom: 10px;
}

.personal-nombre {
  color: #001f3f;
  font-size: 1.1rem;
  font-weight: 800;
  margin: 5px 0;
  line-height: 1.2;
}
/*
.personal-cargo {
  background: #d4af37;
  color: #001f3f;
  padding: 2px 15px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 15px;
}
*/


.personal-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.personal-contact a {
  color: #666;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

.personal-contact a:hover {
  color: #DBA514;
}

.personal-contact i {
  color: #DBA514;
  margin-right: 5px;
}

.personal-contact .phone-item{
	font-size: 1.2rem;
	color: #000;
}

.personal-contact .email-item {
	font-size: 1.2rem;
	color: #000;
}

/* ** SECCIÓN REDES SOCIALES ** */

.plantel-footer-cta {
  background: linear-gradient(180deg, transparent 0%, rgba(212, 175, 55, 0.75) 45%, rgba(212, 175, 55, 0.75) 55%, transparent 100%); /* #D4AF37 El dorado predominante en el cierre del boceto */
  padding: 30px 20px;
  text-align: center;
  color: #001f3f; /* Texto azul oscuro para contraste */
  max-height: 350px;
}

.cta-title {
  font-size: clamp(2rem, 6vw, 4.4rem);
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: none;
}

.cta-text {
  font-size: 2.5rem;
  margin-bottom: 30px;
  font-weight: 500;
}

/* Botón de Inscripción (Azul Oscuro) */
.btn-inscripcion {
  display: inline-block;
  background-color: #001f3f;
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  margin-bottom: 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-inscripcion:hover {
  transform: scale(1.05);
  color: #DBA514;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Iconos de Redes Sociales */
.social-invite {
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 2.2rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icons .icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.4rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Colores de marca para cada red */
.facebook { background-color: #1877F2; }
.instagram { background-color: #E4405F; }
.twitter-x { background-color: #000000; }
.youtube { background-color: #FF0000; }
.tiktok { background-color: #010101; }

.social-icons .icon:hover {
  transform: translateY(-5px) rotate(8deg);
  filter: brightness(1.1);
}