/* ========================== RESET GENERAL ========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --negro: #000;
  --blanco: #fff;
  --amarillo: #FFD700;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--negro);
  color: var(--blanco);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========================== CABECERA ========================== */
.cabecera {
  background-color: #000;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.fila-cabecera {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cabecera-logo img {
  max-height: 60px;
}

.cabecera-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.cabecera-toggle .linea {
  width: 25px;
  height: 3px;
  background-color: var(--amarillo);
  border-radius: 2px;
}

.cabecera-menu {
  display: flex;
}

.cabecera-enlaces {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.boton-menu {
  color: var(--blanco);
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.boton-menu:hover,
.boton-menu.activo {
  color: var(--amarillo);
}

/* ========================== RESPONSIVO CABECERA ========================== */
@media (max-width: 768px) {
  .cabecera-toggle {
    display: flex;
  }

  .cabecera-menu {
    display: none;
    width: 100%;
  }

  .cabecera-menu.activo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 1rem;
  }

  .cabecera-enlaces {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .cabecera-enlaces li {
    width: 100%;
    text-align: left;
  }
}

/* ========================== ESPACIADOR HEADER ========================== */
.espacio-cabecera {
  height: 90px;
}

/* ========================== SECCIÓN MISIÓN ========================== */
.seccion-mision {
  position: relative;
  background: url('/img/8.jpg') no-repeat center center/cover;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
  z-index: 1;
}

.mision-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 0;
}

.mision-caja {
  position: relative;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 3rem;
  border-radius: 10px;
  max-width: 900px;
  margin: 0 auto;
}

.mision-titulo {
  font-size: 2.5rem;
  color: var(--amarillo);
  margin-bottom: 1rem;
}

.mision-linea {
  height: 4px;
  width: 80px;
  margin: 0 auto 1.5rem;
  background-color: var(--amarillo);
  border-radius: 2px;
}

.mision-texto {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--blanco);
}

.boton-mision {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: var(--amarillo);
  color: var(--negro);
  font-weight: bold;
  border: none;
  border-radius: 5px;
  transition: background 0.3s ease;
  text-decoration: none;
}

.boton-mision:hover {
  background-color: #e6c200;
}

/* ========================== SECCIÓN PERFILES ========================== */
.seccion-perfil {
  padding: 5rem 2rem;
  background-color: var(--negro);
}

.contenedor-perfil {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
}

.reverso {
  flex-direction: row-reverse;
}

.perfil-imagen {
  flex: 1 1 300px;
  text-align: center;
}

.perfil-imagen img {
  width: 100%;
  max-width: 320px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
}

.perfil-texto {
  flex: 1 1 500px;
}

.perfil-titulo {
  font-size: 2rem;
  color: var(--amarillo);
  margin-bottom: 0.5rem;
}

.linea-decorativa {
  height: 3px;
  width: 60px;
  background-color: var(--amarillo);
  margin-bottom: 1.5rem;
}

.perfil-parrafos p {
  margin-bottom: 0.8rem;
}

.perfil-parrafos a {
  color: var(--amarillo);
  text-decoration: none;
}

.perfil-parrafos a:hover {
  text-decoration: underline;
}

/* ========================== RESPONSIVO: PERFIL ========================== */
@media (max-width: 768px) {
  .contenedor-perfil {
    flex-direction: column;
    text-align: center;
  }

  .perfil-texto {
    order: 2;
  }

  .reverso .perfil-texto {
    order: 2;
  }

  .reverso .perfil-imagen {
    order: 1;
  }
}

/* ========================== FOOTER ========================== */
.footer {
  background-color: #141617;
  color: #eaeaea;
  padding: 3rem 1rem 2rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
  z-index: 10;
}

.footer-contenido {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-columna {
  flex: 1 1 250px;
  min-width: 240px;
}

.footer-logo img {
  max-width: 160px;
  margin-bottom: 1rem;
}

.footer-logo p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.footer-logo h3 {
  color: var(--amarillo);
  font-weight: 700;
  font-size: 1.2rem;
  margin-top: 0;
}

.footer-columna h4 {
  font-size: 1rem;
  color: var(--blanco);
  margin-bottom: 0.5rem;
}

.footer-columna p {
  margin: 0.3rem 0;
  font-size: 0.92rem;
}

.footer-copy {
  text-align: center;
  border-top: 1px solid #2a2c2d;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: #aaa;
}

.footer-copy a {
  color: var(--amarillo);
  text-decoration: none;
}

.footer-copy a:hover {
  text-decoration: underline;
}

/* ========================== RESPONSIVO: FOOTER ========================== */
@media (max-width: 768px) {
  .footer-contenido {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-columna {
    flex: 1 1 100%;
    max-width: 90%;
  }

  .footer-logo img {
    margin: 0 auto 1rem;
    display: block;
  }
}
/* ========================== SECCIÓN MÉTRICAS ========================== */
.seccion-metricas {
  background-color: #000;
  padding: 5rem 2rem;
  text-align: center;
}

.contenedor-metricas {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.bloque-metrica {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
}

.bloque-metrica .numero {
  font-size: 3rem;
  font-weight: bold;
  color: var(--amarillo);
  display: block;
}

.bloque-metrica .descripcion {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: var(--blanco);
}

/* ========================== RESPONSIVE: MÉTRICAS ========================== */
@media (max-width: 600px) {
  .bloque-metrica .numero {
    font-size: 2.5rem;
  }

  .bloque-metrica .descripcion {
    font-size: 1rem;
  }

  .bloque-metrica {
    padding: 1.5rem;
  }
}
/* ========================== SECCIÓN MISIÓN Y VISIÓN ========================== */
.mision-vision {
  background-color: #000;
  padding: 5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.bloque-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.bloque-texto {
  flex: 1 1 55%;
}

.bloque-texto h2 {
  color: var(--amarillo);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.bloque-texto p {
  font-size: 1.1rem;
  color: var(--blanco);
  line-height: 1.7;
  text-align: justify;
}

.bloque-imagen {
  flex: 1 1 40%;
  text-align: center;
}

.bloque-imagen img {
  width: 100%;
  max-width: 400px;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
}

/* ========================== VALORES CORPORATIVOS ========================== */
.valores-corporativos {
  background-color: #000;
  padding: 6rem 2rem;
  color: #fff;
}

.contenedor-valores {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 4rem;
  flex-wrap: wrap;
}

/* Imagen izquierda */
.valores-imagen {
  flex: 1 1 45%;
  text-align: center;
}

.valores-imagen img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
}

/* Texto derecha */
.valores-texto {
  flex: 1 1 45%;
}

.valores-subtitulo {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  display: block;
  margin-bottom: 0.5rem;
}

.valores-titulo {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #fff;
}

.valores-lista {
  background-color: #9d8603;
  padding: 2rem;
  border-radius: 8px;
}

.valores-lista ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.valores-lista li {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  color: #fff;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.valores-lista li::before {
  content: "✔";
  color: #fff;
  font-weight: bold;
}

/* ========================== RESPONSIVO: VALORES ========================== */
@media (max-width: 768px) {
  .contenedor-valores {
    flex-direction: column;
  }

  .valores-imagen,
  .valores-texto {
    flex: 1 1 100%;
  }

  .valores-titulo {
    font-size: 2rem;
  }

  .valores-lista {
    padding: 1.5rem;
  }

  .valores-lista li {
    font-size: 1rem;
  }
}


/* ========================== RESPONSIVO MISIÓN Y VISIÓN ========================== */
@media (max-width: 768px) {
  .bloque-info {
    flex-direction: column;
    text-align: center;
  }

  .bloque-texto h2 {
    font-size: 1.8rem;
  }

  .bloque-texto p {
    font-size: 1rem;
    text-align: center;
  }
}
