/* Reset y fuente base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #121212;
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #000000, #222222);
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.logo img {
  height: 50px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -5px;
  background: #FF3339;
  transition: 0.3s;
}

.nav-links li a:hover {
  color: #FF3339;
}

.nav-links li a:hover::after {
  width: 100%;
}

/* SUBMENU */
.has-submenu {
  position: relative;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #333;
  padding: 10px 0;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.has-submenu:hover .submenu {
  display: block;
}

.submenu li {
  padding: 8px 20px;
}

.submenu li a {
  color: #fff;
  display: block;
}

/* SECCION QUIENES SOMOS */
.quienes-somos {
  padding: 60px 20px;
  text-align: center;
  background-color: #121212;
}

.qs-texto {
  max-width: 800px;
  margin: auto;
}

.qs-texto h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.qs-texto p {
  font-size: 18px;
  margin-bottom: 16px;
}

/* SECCION CONTACTO */
.section.contacto {
  background: #fff;
  color: #222;
}

.section.contacto h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.section.contacto p, .section.contacto a {
  font-size: 18px;
  color: #444;
  text-decoration: none;
}

/* FOOTER */
.footer {
  background-color: black;
  color: #aaa;
  text-align: center;
  padding: 20px 0;
  font-size: 14px;
}

/* MENU RESPONSIVE */
.menu-toggle {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: white;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    background-color: #333;
    position: absolute;
    top: 60px;
    left: 0;
    padding: 20px;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    text-align: center;
    width: 100%;
  }

  .menu-toggle {
    display: block;
  }

  .submenu {
    position: relative;
  }

  .has-submenu.active .submenu {
    display: block;
  }
}
/* BOTÓN FLOTANTE WHATSAPP PARA CELULAR */
.whatsapp-float-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: none; /* oculto por defecto */
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 999;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.whatsapp-float-btn:hover {
  background-color: #1ebe5d;
  transform: scale(1.1);
}

.whatsapp-icon {
  width: 145px;
  height: 145px;
}
/* SOLO mostrar en celulares */
@media (max-width: 768px) {
  .whatsapp-float-btn {
    display: flex;
  }
}
.qs-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: auto;
  flex-direction: row; /* fuerza que la imagen esté a la izquierda */
}

.qs-imagen img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #fff; /* contorno blanco */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Para que el texto no se estire demasiado en pantallas grandes */
.qs-texto {
  max-width: 600px;
}

@media (max-width: 768px) {
  .qs-container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .qs-texto {
    max-width: 100%;
  }
}

