
body.oscuro {
  background-color: #111;
  color: white;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  background-color: #000;
  position: relative;
  z-index: 1000;
}

.logo img {
  height: 40px;
}

.menu-toggle {
  font-size: 28px;
  color: #FFD700;
  cursor: pointer;
  display: block;
}

.menu {
  position: fixed;
  top: 0;
  left: -100%;
  background: #000;
  height: 100%;
  width: 70%;
  display: flex;
  flex-direction: column;
  padding: 60px 20px;
  transition: left 0.3s ease;
  z-index: 1100;
}

.menu.abierto {
  left: 0;
}

.menu a {
  color: white;
  margin-bottom: 20px;
  text-decoration: none;
  font-size: 18px;
}

.fondo-blur {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(4px);
  background: rgba(0, 0, 0, 0.5);
  z-index: 900;
  display: none;
}

.fondo-blur.activo {
  display: block;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none !important;
  }

  nav.menu {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    background: none !important;
    height: auto !important;
    width: auto !important;
    padding: 0 !important;
    gap: 20px;
  }

  .menu a {
    color: white;
    font-weight: 500;
  }

  #fondo-blur {
    display: none !important;
  }
}

.contenido-principal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 40px 20px;
  align-items: center;
}

.texto-bienvenida {
  flex: 1 1 50%;
  padding: 20px;
}

.texto-bienvenida h1 {
  font-size: 2.2em;
  color: #FFD700;
}

.texto-bienvenida p {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.boton-amarillo {
  background-color: #FFD700;
  color: #000;
  padding: 12px 25px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
}

.imagen-celular {
  flex: 1 1 40%;
  text-align: center;
}

.imagen-celular img {
  width: 90%;
  max-width: 300px;
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #000;
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 14px;
}


.desktop-only {
  display: block;
}
.mobile-background {
  display: none;
}

@media (max-width: 767px) {
  .imagen-celular.desktop-only {
    display: none !important;
  }

  .contenido-principal {
    position: relative;
    z-index: 2;
  }

  body.oscuro::before {
    content: "";
    background: url('../img/phoneqr.png') no-repeat center top;
    background-size: cover;
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.07;
    z-index: 1;
  }
}


/* Formulario de contacto */
.formulario-contacto {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.formulario-contacto input,
.formulario-contacto textarea {
  padding: 10px;
  border: none;
  border-radius: 5px;
  font-size: 1em;
  background: #222;
  color: white;
}

.formulario-contacto input:focus,
.formulario-contacto textarea:focus {
  outline: 2px solid #FFD700;
}
