body {
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  /* Hacer sticky footer al fondo de la página */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  background-color: #1e1e2f;
  color: #fff;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  font-size: 1.8rem;
}

nav a {
  margin-left: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.btn {
  background: #5a67d8;
  color: white;
}

.btn-outline {
  background: transparent;
  border: 2px solid #5a67d8;
  color: #5a67d8;
}

.btn:hover, .btn-outline:hover {
  background: #434190;
  color: white;
}

/* Quiénes Somos - Escritorio */
.about-section {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 3rem;
  padding: 80px 20px;
  background-color: #fff;
}

.about-text, .about-image {
  flex: 1;
  min-width: 300px;
  padding: 2rem;
}

/* Bajar un poco el bloque de texto sin afectar el logo */
.about-text {
  margin-top: 56px;
}

.about-text h2 {
  font-size: 2.5rem;
  color: #1e1e2f;
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 500px;
  position: relative;
}

.about-image img {
  max-height: 500px;
  width: auto;
  object-fit: contain;
  border-radius: 12px;
  /* Bajar un poco la imagen sin afectar el logo */
  margin-top: 56px;
}

/* Logo superpuesto sobre la imagen principal */
.about-image .hero-logo {
  position: absolute;
  top: -170px;
  left: 50%;
  transform: translateX(-50%);
  height: 360px;
  width: auto;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}


/* Pie de página */
footer {
  background: #1e1e2f;
  color: white;
  text-align: center;
  padding: 1rem;
  /* Empujar el footer al fondo cuando el contenido es corto */
  margin-top: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .about-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-image {
    justify-content: center;
    margin-bottom: 1rem;
  }

  .about-image img {
    width: 150%;
    max-width: 500px;
    margin: 0 auto;
    margin-top: 32px; /* ajuste suave en móvil */
  }

  .about-image .hero-logo {
    height: 220px;
    top: -90px;
  }


  .about-text {
    padding: 0 1rem;
    width: 100%;
    margin-top: 32px; /* ajuste suave en móvil */
  }

  header .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  nav {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  nav a {
    width: 100%;
    max-width: 220px;
    text-align: center;
  }
}
  
