* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Raleway', sans-serif;
  background-color: #ffffff;
  color: #110B11;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: #ffffff;
  display: flex;
  justify-content: center; /* Centramos el contenido principal */
  align-items: center;
  padding: 0 2rem;
  z-index: 1000;
}

.logo {
  position: absolute; /* Lo sacamos del flujo para que no afecte el centrado */
  left: 2rem;
}

.logo img {
  height: 50px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #0E3166;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link.active {
  color: #E06D06;
}


/* BOTON CAMBIO DE IDIOMA ES */

.lang-selector {
  position: absolute;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 500;
  color: #0E3166;
  transition: opacity 0.3s;
}

.lang-selector img {
  height: 20px;
  width: 20px;
}

.lang-selector:hover {
  opacity: 0.7;
}

/* SECCION 1 */

.about-banner {
  background-color: #0E3166;
  color: #ffffff;
  padding: 5rem 2rem;
  text-align: center;
}

.about-banner-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about-banner-content p {
  font-size: 1.2rem;
  font-weight: 300;
  max-width: 800px;
  margin: 0 auto;
}

/* SECCION 1 */
.about-banner {
  background-color: #0E3166;
  color: #ffffff;
  padding: 5rem 2rem;
  text-align: center;
}

.about-banner-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about-banner-content p {
  font-size: 1.2rem;
  font-weight: 300;
  max-width: 800px;
  margin: 0 auto;
}

/* Sección inferior en dos columnas */
.about-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 2rem;
  gap: 2rem;
  background-color: #ffffff;
}

.about-text {
  flex: 1 1 50%;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #110B11;
}

.about-image {
  flex: 1 1 20%;
  text-align: right;
}

.about-image img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* SECCION 2 */
.about-alt {
  background-color: #EBF5EE; /* color de fondo diferente y elegante */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 2rem;
  gap: 2rem;
  margin-top: 0; /* sin separación con la sección anterior */
}

.about-alt-image {
  flex: 1 1 20%;
}

.about-alt-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.about-alt-text {
  flex: 1 1 45%;
  color: #110B11;
}

.about-alt-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #0E3166;
}

.about-alt-text p {
  font-size: 1.05rem;
  line-height: 1.6;
}

/* SECCION VALORES */

.values-section {
  display: flex;
  flex-wrap: wrap;
  padding: 3rem 2rem;
  background-color: #f5f5f5;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.values-left {
  flex: 1 1 40%;
  text-align: center;
}

.values-left h2 {
  font-size: 2rem;
  color: #E06D06;
  margin-bottom: 1rem;
}

.values-left img {
  width: 100%;
  max-width: 350px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.values-right {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.value-box {
  display: flex;
  align-items: flex-start;
  background-color: white;
  padding: 1.2rem;
  border-left: 6px solid #E06D06; /* acento dorado */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  gap: 1rem;
}

.value-box img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.value-box p {
  margin: 0;
  color: #1c1c1c;
  font-size: 1rem;
}

/* FOOTER */
.custom-footer {
  background-color: #0E3166;
  color: #ffffff;
  padding: 4rem 2rem;
  font-size: 0.95rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand,
.footer-links,
.footer-contact {
  flex: 1 1 28%;
  min-width: 250px;
}

.footer-brand h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: #FFFFFF;
}

.footer-brand p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.social-icons a {
  display: inline-block;
  margin-right: 1rem;
}

.social-icons img {
  height: 28px;
  width: 28px;
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.2);
}

.footer-links h4,
.footer-contact h4 {
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  transition: text-decoration 0.3s ease;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-contact p {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.enlace {
  color: white;
}