/* =========================================
   nosotros.css - ESTILOS COMPLETOS DE NOSOTROS
   ========================================= */

/* 1. ANIMACIÓN DE FLOTAR (La definimos aquí para que no dependa de otros archivos) */
@keyframes flotarVerticalNosotros {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* 2. ENCABEZADO */
.page-header {
  padding-top: 120px;
  padding-bottom: 60px;
  text-align: center;
}

.page-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.2rem;
  color: var(--kd-yellow);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* 3. IMAGEN CUADRADA Y FLOTANTE */
/* Contenedor principal */
.about-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 450px;
  margin: 20px auto; /* Agregamos margen extra para que quepa el borde */
  aspect-ratio: 1 / 1;
  animation: flotarVerticalNosotros 4s ease-in-out infinite;
}

/* La Imagen */
.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Recorta la foto para llenar el cuadrado sin deformar */
  border-radius: 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* El Marco Amarillo */
.about-image-border {
  position: absolute;
  /* Esto centra el marco perfectamente detrás de la imagen */
  top: -10px;
  left: -10px;

  /* Hacemos que sea 20px más grande que la imagen para que sobresalga parejo */
  width: calc(100% + 20px);
  height: calc(100% + 20px);

  border: 4px solid #f5a623;
  border-radius: 25px; /* Un poquito más de radio para que encaje suave */
  z-index: 1; /* Se queda atrás */
  opacity: 0.8;
}

/* 4. CAJAS DE CRISTAL (Glassmorphism) */
.glass-box {
  background: rgba(12, 45, 72, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 3rem;
  color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, border-color 0.3s ease;
  height: 100%;
}

.glass-box:hover {
  transform: translateY(-5px);
  border-color: #f5a623;
}

.glass-title {
  color: #f5a623;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
  display: inline-block;
}

.glass-text {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
}

.box-icon {
  font-size: 3rem;
  color: white;
  margin-bottom: 1rem;
  opacity: 0.8;
}

/* 5. LISTAS */
.values-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.values-list li {
  margin-bottom: 15px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

.values-list li i {
  color: #f5a623;
  margin-right: 15px;
  font-size: 1.2rem;
}
