/* GENERAL */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

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

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;
}

/* FORMULARIO DE CONTACTO */
.contact-form {
  max-width: 600px;
  margin: 50px auto;
  padding: 40px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  text-align: center;
  color: #333;
}

.contact-form h2 {
  margin-bottom: 20px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  padding: 15px;
  background-color: #25D366;
  color: white;
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #1ebe57;
}

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

/* 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;
    display: none;
  }

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

@media (max-width: 600px) {
  .contact-form {
    margin: 20px;
    padding: 20px;
  }
}
.correo-caja {
  max-width: 600px;
  margin: 40px auto;
  background-color: #ffffff;
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  display: flex;
  justify-content: center;
  align-items: center;
}

.correo-contacto {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: #000000;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

.correo-icono {
  width: 50px;
  height: 50px;
 
  border-radius: 50%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.correo-icono img {
  width: 48px;
  height: 48px;
}

.correo-contacto span {
  line-height: 1.4;
}
