/* SECCIÓN FILOSOFÍA */
.filosofia {
  padding: 3rem 1rem;
  background-color: transparent; /* deja que se vea el fondo general */
  font-family: 'Playfair Display', serif;
  color: #333;
}

.filosofia .container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.filosofia .titulo-seccion {
  font-size: 2rem;
  color: #D4AF37;
  margin-bottom: 2rem;
  font-weight: bold;
  text-transform: uppercase;
}

/* Texto introductorio */
.filosofia .intro-filosofia {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Misión y Visión */
.mision-vision {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.mision-filosofia,
.vision-filosofia {
  flex: 1 1 400px;
  background: linear-gradient(180deg, #fff 0%, #fdf9f1 100%);

  padding: 2rem;
  border: 3px solid #D4AF37;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* sombra más notoria */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.mision-filosofia:hover,
.vision-filosofia:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}


.mision-filosofia i,
.vision-filosofia i {
  display: inline-block;
  font-size: 2.5rem;
  background: #fff;
  color: #1004a8;
box-shadow: 0 0 10px rgba(96, 74, 1, 0.6);

  border: 3px solid #D4AF37;
  border-radius: 50%;
  width: 65px;
  height: 65px;
  line-height: 59px;
  text-align: center;
  margin-bottom: 1rem;
  
  transition: all 0.3s ease;
}

.mision-filosofia:hover i,
.vision-filosofia:hover i {
  transform: scale(1.1);
}


.mision-filosofia h1,
.vision-filosofia h1 {
  width: 100%;
  font-size: 1.4rem;
    
  
  margin-top: 1rem;
  margin-bottom: 0.5rem;
    color: #1004a8;
 /* text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);  Sombra */
}

.mision-filosofia p,
.vision-filosofia p {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.8;
}

/* VALORES */
.valores {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;   
}

.valores h1 {
    width: 100%;
  font-size: 1.4rem;
  
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: #1004a8;
/*  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);  Sombra */
}

.valores .valore-caja{
    flex: 1 1 0px;  
  padding: 0;
  margin: 1rem auto 0 auto;
  text-align: center;
    justify-content: center;
    align-content: center;
    align-items: center;
  max-width: 500px;  

}

.lista-valores {  
  list-style: none;
  width: 350px;
    justify-content: center;
    align-items: center;  
    padding: 5px;
    margin: 10px auto;
}

.lista-valores li {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #444;
    text-align: start;
    
}

.lista-valores li strong {
  color: #D4AF37;
  display: inline-block;
  width: 25px;
}

/* Responsive: Adaptar todo en celular */
@media screen and (max-width: 768px) {
  .mision-vision {
    flex-direction: column;
    gap: 1.5rem;
  }

  .mision-filosofia,
  .vision-filosofia {
    flex: 1 1 100%;
    padding: 1.5rem;
  }

  .mision-filosofia i,
  .vision-filosofia i {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    line-height: 44px;
  }

  .valores {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .lista-valores {
    width: 100%;
    max-width: 100%;
    text-align: left;
    margin: 0 auto 1.5rem auto;
    padding: 0 1rem;
  }
}


.loguin {
  background: linear-gradient(to bottom, rgba(249, 249, 249, 0) 0%, rgba(0, 0, 0, 0.85) 40%, #000 75%, #000 100%);
  padding: 4rem 1rem 2rem;
  text-align: center;
    border-bottom-left-radius: 80px;
  border-bottom-right-radius: 80px;
}

.loguin img {
  max-width: 280px;
  height: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}
