:root {
  --color-principal: #ae8b3d;
  --gris-suave: #fff7f0;
  --texto: #2c2c2c;
  --fondo: #eeeeee;
}

html {
  scroll-behavior: smooth;
}


*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: 'Metropolis', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fffbf7;
  overflow-x: hidden;
  /* --- Estilos para Sticky Footer --- */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}


/* tipografia */
@font-face {
  font-family: 'Metropolis';
  src: url('/fonts/metropolis-regular-webfont.woff2') format('woff2');
  font-weight: 400;
  /* 'Regular' es 400 */
  font-style: normal;
}

@font-face {
  font-family: 'Metropolis';
  src: url('/fonts/metropolis-medium-webfont.woff2') format('woff2');
  font-weight: 500;
  /* 'Medium' es 500 */
  font-style: normal;
}

@font-face {
  font-family: 'Metropolis';
  src: url('/fonts/metropolis-bold-webfont.woff2') format('woff2');
  font-weight: 700;
  /* 'Bold' es 700 */
  font-style: normal;
}

@font-face {
  font-family: 'Metropolis';
  src: url('/fonts/metropolis-black-webfont.woff2') format('woff2');
  font-weight: 900;
  /* 'Black' es 900, este está bien */
  font-style: normal;
}


/* Header */

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: var(--gris-suave);
  flex-wrap: wrap;
  position: relative;
  z-index: 2; /* Añadido para elevar el header a una capa superior */
}

/* Logo a la izquierda */
.logo img {
  margin-top: 10px;
  width: 250px;
  height: auto;
  transition: opacity 0.3s;

}

.logo img:hover {
  content: url('/media/logos/Pragya_L1_ICON.png');
}

.whatsapp-btn a {
  display: flex;
  align-items: center;
  padding: 0px 10px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-size: 40px;
}

.titulo-principal {
  width: 100%;
  padding: 20px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow-x: hidden;
}

.titulo-principal h1 {
  font-family: 'Metropolis', sans-serif;
  font-weight: 700;
  color: var(--texto);
  font-size: clamp(1rem, 4vw, 2rem);
  line-height: 1.2;
  margin: 0;
  max-width: 100%;
  text-align: center;

  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

@media (max-width: 480px) {
  .titulo-principal h1 {
    font-size: 1.2rem;
  }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.parrafo01 {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 30px;
  text-align: left;
}

.parrafo01 p {
  font-family: 'Metropolis', sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  line-height: 1.6;
  color: var(--texto);
  text-align: justify;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
  line-height: 1.4;
}

.parrafo01 p strong {
  font-weight: 900;
  color: var(--color-principal);
}

.stats-background {
  background-color: #efefef;
}


/* Estilos para las estadísticas */
.estadisticas-pragya {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 60px auto;
  padding: 30px 10px;
  text-align: center;
  border-radius: 8px;
}

.dato {
  flex: 1;
  padding: 0 15px;
  border-left: 1px solid var(--color-principal);
}

.dato:first-child {
  border-left: none;
}

.contador {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--color-principal);
  margin: 0;
}

.dato p {
  font-family: 'Metropolis', sans-serif;
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  font-weight: 700;
  color: var(--texto);
  margin-top: 8px;
  line-height: 1.4;
}


/* Wiggle animation */
@keyframes wiggle {
  0% {
    transform: rotate(0deg);
  }

  15% {
    transform: rotate(-10deg);
  }

  30% {
    transform: rotate(10deg);
  }

  45% {
    transform: rotate(-10deg);
  }

  60% {
    transform: rotate(10deg);
  }

  75% {
    transform: rotate(-10deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

.whatsapp-btn a:hover {
  animation: wiggle 0.5s;
}

/* Ícono */
.whatsapp-btn i {
  margin-right: 8px;
}

/* Para ubicar en el header */
.whatsapp-btn {
  margin-left: 10px;
}

/* Navegación */

.nav-bar {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-bar ul {
  display: flex;
  list-style: none;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.nav-bar ul li a {
  padding: 5px 10px;
  text-decoration: none;
  font-size: clamp(0.8rem, 1.6vw, 1.25rem);
  color: rgb(54, 54, 54);
  font-weight: 700;
  border-radius: 3px;
  transition: background-color 0.3s ease;
}

.nav-bar ul li a:hover {
  background-color: #ae8b3d;
  color: white;

}

/* Hamburguesa base */
.menu-toggle {
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  position: absolute;
  /* Lo sacamos del flujo normal */
  top: 50%;
  /* Lo centramos verticalmente respecto al header */
  right: 20px;
  /* Lo alineamos a la derecha */
  transform: translateY(-50%);
  /* Ajuste fino para el centrado vertical */
  display: none;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  position: absolute;
  height: 4px;
  width: 28px;
  background: var(--color-principal);
  border-radius: 2px;
  opacity: 1;
  left: 6px;
  transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) {
  top: 12px;
}

.menu-toggle span:nth-child(2) {
  top: 18px;
}

.menu-toggle span:nth-child(3) {
  top: 24px;
}

/* Animación al activar */
.menu-toggle.active span:nth-child(1) {
  top: 18px;
  transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  top: 18px;
  transform: rotate(-45deg);
}

/* --- ESTILOS PARA MÓVIL --- */
@media (max-width: 768px) {

  .header-container {
    /* Centra el logo cuando el nav está oculto y el toggle es absoluto */
    justify-content: center;
  }

  .logo img {
    width: 200px;
    /* Un tamaño fijo se ve mejor */
  }

  /* Mostramos el botón hamburguesa en móvil */
  .menu-toggle {
    display: flex;
  }

  /* Ocultamos la barra de navegación por defecto */
  .nav-bar {
    display: none;
    flex-basis: 100%;
    /* Asegura que ocupe toda la línea al activarse */
    margin-top: 15px;
  }

  /* Cuando el menú está activo, lo mostramos */
  .nav-bar.active {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Estilos para la lista del menú móvil */
  .nav-bar ul {
    flex-direction: column;
    width: 100%;
    align-items: center;
    /* Centramos los items */
    gap: 10px;
    padding: 20px 0;
  }
}

/* video header */
.video-section {
  width: 100%;
  overflow: hidden;
}

.video-section video {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-height: 350px;
  transition: max-height 0.4s ease;
}

@media (max-width: 768px) {
  .video-section video {
    max-height: 300px;
  }
}


/* section services */
/* Estilos para el Acordeón de Servicios */
.acordeon-servicios {
  max-width: 900px;
  margin: 0px auto 40px;
  padding: 0 20px;
}

.acordeon-servicios .titulo {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  font-family: 'Metropolis', sans-serif;
  font-weight: 700;
  color: var(--texto);
  font-size: clamp(0.8rem, 4vw, 2rem);
  cursor: pointer;
  border-bottom: 1px solid var(--color-principal);
  position: relative;
  transition: background-color 0.3s ease;
}

.acordeon-servicios .titulo:hover {
  background-color: #fcf2dc;

}

.acordeon-servicios .titulo h3 {
  margin: 0;
  flex-grow: 1;
  font-weight: 700;
  color: #ae8b3d;
  font-size: clamp(0.7rem, 4vw, 1.5rem);
  transition: color 0.3s ease;
}

.acordeon-servicios .titulo h3:hover {
  color: var(--texto);
}

.acordeon-servicios .titulo img {
  width: 100px;
  height: 100px;
}

/* Icono + / - */
.acordeon-servicios .titulo::after {
  content: '+';
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-principal);
  transition: transform 0.3s ease;
}

.acordeon-servicios .titulo.activo::after {
  content: '−';
  /* Usamos un guion más adecuado para "menos" */
  transform: translateY(-50%) rotate(180deg);
}

.acordeon-servicios .contenido {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  background-color: #efefef;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
}

.acordeon-servicios .contenido p {
  padding: 0 20px 20px 20px;
  font-family: 'Metropolis', sans-serif;
  font-weight: 500;
  margin: 0;
  font-size: 1rem;
  color: var(--texto);
  line-height: 1.4;
}

.acordeon-servicios .contenido h4 {
  font-weight: 700;
  margin: 0;
  padding: 20px 0 10px 20px;
  font-size: clamp(0.5rem, 4vw, 1.2rem);
  color: #ae8b3d;
}




/* Seccion Premios */


.seccion-premios {
  padding: 0px 0px 60px;
  position: relative;
}

.seccion-premios .linea-divisoria {
  width: 110vw;
  /* Hacemos la imagen más ancha que la pantalla para que se salga por los lados */
  max-width: none;
  /* Anulamos cualquier max-width que pueda heredar */
  height: 100px;
  /* Altura de la línea. Puedes ajustar este valor. */
  /* Añadimos una máscara para el efecto de desvanecimiento en los costados */
  -webkit-mask-image: linear-gradient(to right, transparent 5%, black 25%, black 75%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 5%, black 25%, black 75%, transparent 100%);
}


.seccion-premios .titulo-premio {
  color: var(--color-principal);
}

.premios-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  /* Para que se apilen en pantallas pequeñas */
  margin-top: 20px;
}


.premios-container img {
  max-width: 350px;
  width: 100%;
  /* Para que sea responsivo */
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.premios-container img:hover {
  transform: scale(1.1);
}


/* seccion grow partners */

.growth-partners {
  padding: 20px 20px 100px;
  background-color: #efefef;
  text-align: center;
}

.growth-partners .titulo-principal h4 {
  max-width: 900px;
  margin: 10px auto;
  font-family: 'Metropolis', sans-serif;
  font-weight: 700;
  font-size: clamp(0.8rem, 3.4vw, 1.5rem);
  color: var(--color-principal);
}

.growth-partners .premios-container {
  align-items: flex-start;
  margin-top: 0px;
}

.partner-item {
  text-align: center;
  flex: 1 1 300px;
  /* Permite que los items se ajusten, con una base de 300px */
  max-width: 230px;
  /* Un ancho máximo para cada partner */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  transition: transform 0.3s ease;
}

.partner-item:hover {
  transform: scale(1.05);
}

.partner-item img {
  width: 90%;
  height: auto;
  border-radius: 8px;
}

.partner-item h4 {
  margin: 0;
  font-size: 1.2em;
  color: #ae8b3d;
  font-weight: 700;
}

.partner-item p {
  margin: 0;
  font-size: 0.9em;
  line-height: 1.5;
  color: var(--texto);
  font-weight: 500;
}





/* footer */

footer {
  background-image: url('/media/back/FONDO\ NEGRO.png');
  background-size: cover;
  background-position: center;
  padding: 50px 20px;
  font-size: 14px;
  color: white;
  overflow: hidden;
  position: relative;
  z-index: 2;
  margin-top: auto;
}

.footer-container {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.footer-logo {
  position: absolute;
  top: 100%;
  left: 70%;
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 10%;
  pointer-events: none;
}

.footer-logo img {
  width: 550px;
  /* Aumentamos el tamaño para que sea más visible como fondo */
  height: auto;
}

.footer-columns-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  flex: 1;
  justify-content: center;
  align-items: flex-start;
}

.footer-column {
  flex: 0 1 180px;
  /* Evitás que se estiren demasiado */
  min-width: 200px;
}

.footer-column h4 {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--color-principal);
  margin-top: 0;
  margin-bottom: 15px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--color-principal);
}

.footer-social {
  display: flex;
  gap: 20px;

}

.footer-social a {
  color: white;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: var(--color-principal);
}

.footer-container p {
  width: 100%;
  text-align: center;
  margin-top: 40px;
  font-size: 0.8rem;
  color: white;
}