body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background-color: #ffffff;
  color: #0d1b2a;
}

/* HEADER */
header {
  background: #ffffff;
  color: #0d1b2a;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  margin: auto;
}

/* LINKS DE NAVEGACIÓN */
.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: #0d1b2a;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #0077cc;
}

/* BOTÓN MENU MÓVIL */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #0d1b2a;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    background: #ffffff;
    width: 200px;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

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

  .menu-toggle {
    display: block;
  }
}

/* HERO */
.hero {
  background: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f') center/cover;
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.btn {
  display: inline-block;
  background: #0d1b2a;
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  margin-top: 15px;
  transition: background 0.3s;
}

.btn:hover {
  background: #1e3a5f;
}

/* SECCIONES */
.about, .services {
  width: 90%;
  margin: auto;
  padding: 60px 0;
  text-align: center;
}

.about h2, .services h2 {
  color: #0d1b2a;
}

.services .service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.service {
  background: #f8f8f8;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-radius: 10px;
  padding: 20px;
  width: 280px;
}

/* LOGO */
.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  width: clamp(300px, 22vw, 600px);
  height: auto;
  border: none;
  border-radius: 6px;
  background-color: transparent;
  padding: 0;
}

@media (max-width: 600px) {
  .logo {
    width: clamp(180px, 36vw, 360px);
  }
}

/* CONTACTO */
.contact {
  background: #ffffff;
  color: #0d1b2a;
  padding: 80px 0;
  border-top: 2px solid #0d1b2a;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  width: 90%;
  margin: auto;
  gap: 30px;
}

.contact-info, .contact-form, .contact-logo {
  flex: 1;
  min-width: 280px;
}

.contact-info h2, .contact-form h2 {
  color: #0d1b2a;
  margin-bottom: 15px;
}

.contact-info p {
  line-height: 1.6;
  margin-bottom: 10px;
}

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

.form-group {
  display: flex;
  gap: 10px;
}

.contact-form input,
.contact-form textarea {
  background: #f0f0f0;
  border: 1px solid #0d1b2a;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 10px;
  width: 100%;
  font-size: 1em;
  color: #0d1b2a;
}

.contact-form button {
  background: #0d1b2a;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s;
  width: 120px;
  align-self: flex-end;
}

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

/* LOGO CONTACTO SIN BORDES */
.contact-logo {
  text-align: center;
}

.contact-logo img {
  width: 200px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

/* FOOTER */
footer {
  background: #0d1b2a;
  color: white;
  text-align: center;
  padding: 20px;
}

/* WHATSAPP */
.float-wsp {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  z-index: 100;
}

.float-wsp img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}

.float-wsp:hover img {
  transform: scale(1.1);
}

/* MENSAJE CONFIRMACIÓN */
.form-message {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  font-weight: 600;
  margin-top: 10px;
  text-align: center;
  font-size: 0.95em;
  padding: 8px 10px;
  border-radius: 6px;
}

.form-message.visible {
  opacity: 1;
}

.form-message.success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #2e7d32;
}

.form-message.error {
  background: #fdecea;
  color: #c62828;
  border: 1px solid #c62828;
}

@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-form button {
    align-self: center;
  }
}
