/* ===== Tema oscuro para Cotizar ===== */
.cotizar-page {
  background: #1e1e1e;
  color: #e0e0e0;
  padding: 2rem 1rem;
  min-height: 100vh;
}

/* Fondo oscuro global */
html, body {
  background: #1e1e1e;
}

/* Título */
.cotizar-page h1 {
  color: #ffffff;
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Formulario */
.cotizar-form {
  max-width: 600px;
  margin: 0 auto;
  background: #2a2a2a;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid #444;
}
.cotizar-form .form-group {
  margin-bottom: 1.25rem;
}
.cotizar-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.cotizar-form input,
.cotizar-form select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #444;
  border-radius: 6px;
  background: #1e1e1e;
  color: #e0e0e0;
  font-family: inherit;
}
.cotizar-form input::placeholder {
  color: #777;
}
.cotizar-form .btn {
  width: 100%;
  background: #25d366;
  color: #1e1e1e;
  margin-top: 1rem;
}
.cotizar-form .btn:hover {
  background: #1e1e1e;
  color: #25d366;
}

/* Mensaje de éxito */
.cotizar-page .success {
  display: block;
  background: #25d366;
  color: #1e1e1e;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  text-align: center;
  margin-bottom: 1.5rem;
}

/* ===== Header transparente → sólido on scroll ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
  z-index: 1000;
}
.site-header.scrolled {
  background: #111 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Contenedor interior header */
.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 0 2rem;
  background: none !important;
}

/* Lista de navegación conjunta */
.navbar {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Agrupación de enlaces izquierda/derecha */
.nav-left, .nav-right {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

/* Logo en medio */
.logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff !important;
  text-decoration: none;
  margin: 0 2rem;
}

/* Enlaces siempre blancos, tachado al hover */
.nav-left a, .nav-right a {
  display: block;
  line-height: 60px;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 500;
  transition: text-decoration 0.3s;
}
.nav-left a:hover, .nav-right a:hover {
  text-decoration: line-through;
}

/* Evita que el contenido quede bajo el header */
body {
  padding-top: 60px;
}

/* ======================= MOBILE ======================= */
.menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    gap: 5px;
    cursor: pointer;
    z-index: 1100;
  }
  .menu-toggle span {
    display: block;
    width: 100%;
    height: 4px;
    background: #fff;
    border-radius: 2px;
  }
  /* Oculta navbar por defecto */
  .navbar {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px; left: 0;
    width: 100vw;
    background: #111; /* Fondo oscuro */
    padding: 1rem 0;
    gap: 1rem;
    z-index: 1050;
  }
  /* Muestra navbar cuando está .open en el header */
  .site-header.open .navbar {
    display: flex;
  }
  .open {
    background-color: #111;
  }
  .nav-left, .nav-right {
    flex-direction: column;
    gap: 1rem;
    margin: 0;
  }
  .logo {
    margin: 1rem 0;
    line-height: normal;
  }
  .nav-left a, .nav-right a {
    line-height: normal;
    padding: 0.5rem 1rem;
  }
}

/* ======================= DESKTOP ======================= */
@media (min-width: 769px) {
  .menu-toggle {
    display: none !important;
  }
  .navbar {
    display: flex !important;
    position: static;
    flex-direction: row;
    align-items: center;
    background: none;
    width: auto;
    padding: 0;
    gap: 2rem;
  }
}
/*========WHATSAPP BOTON XD======*/
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1800;
  box-shadow: 0 4px 16px rgba(37,211,102,0.23);
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.whatsapp-float:hover {
  box-shadow: 0 2px 16px #128c7e66;
  transform: scale(1.06);
}
.whatsapp-float img {
  display: block;
  width: 48px;
  height: 48px;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37,211,102, 0.6);
    transform: scale(1);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(37,211,102, 0.01);
    transform: scale(1.11);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37,211,102, 0.0);
    transform: scale(1);
  }
}
.whatsapp-float {
  /* ...lo que ya tienes... */
  animation: pulse 2s infinite;
  /* el resto de estilos igual */
}