/* TIPOGRAFÍA GENERAL */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: white;
  font-weight: 500;
  scroll-behavior: smooth;
}

/* FONDO FIJO */
.background {
  background: url('soldadura1.jpg') center/cover no-repeat;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: brightness(0.22);
  z-index: -1;
}

/* ANIMACIONES GENERALES */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* EFECTO ZOOM EN FOTOS */
.hover-zoom {
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
}

.hover-zoom:hover {
  transform: scale(1.08);
  box-shadow: 0 0 25px rgba(0, 140, 255, 0.7);
  filter: brightness(1.15);
}

/* EFECTO GLOW AZUL EN TARJETAS */
.glow {
  transition: box-shadow 0.35s ease;
}

.glow:hover {
  box-shadow: 0 0 25px rgba(0, 140, 255, 0.5);
}

/* EFECTO TILT */
.tilt {
  transition: transform 0.25s ease;
}

.tilt:hover {
  transform: rotate3d(1, 1, 0, 6deg);
}

/* SECCIONES */
.section {
  padding: 80px 40px;
  text-align: center;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: rgba(0,0,0,0.85);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.logo {
  width: 120px;
}

/* MENÚ HORIZONTAL */
.menu-horizontal {
  display: flex;
  gap: 25px;
  align-items: center;
}

.menu-horizontal a {
  color: #00A8FF;
  font-weight: 700;
  text-decoration: none;
  font-size: 16px;
}

.menu-horizontal a:hover {
  color: white;
}

/* SELECTOR DE IDIOMA */
.idiomas button {
  background: #00A8FF;
  border: none;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 5px;
  font-weight: 700;
}

/* MENÚ HAMBURGUESA */
.menu-btn {
  display: none;
  font-size: 32px;
  color: #00A8FF;
  cursor: pointer;
  font-weight: 700;
}

/* MENÚ MÓVIL */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(0,0,0,0.95);
  padding: 20px;
  position: absolute;
  top: 70px;
  right: 20px;
  border-radius: 10px;
  width: 200px;
}

.mobile-menu a {
  color: #00A8FF;
  font-weight: 700;
  margin: 10px 0;
  text-decoration: none;
}

/* HERO */
.hero {
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 120px;
}

.hero h1 {
  font-size: 48px;
  color: #00A8FF;
  font-weight: 700;
}

.btn-blue {
  background: #00A8FF;
  color: black;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  margin-right: 10px;
  font-weight: 700;
}

.btn-black {
  background: black;
  color: #00A8FF;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
}

/* GRID GENERAL */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.grid-horizontal {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* TARJETAS */
.card {
  background: rgba(0,0,0,0.7);
  padding: 15px;
  border-radius: 10px;
  border: 2px solid #00A8FF;
  animation: fadeIn 1s ease forwards;
}

/* FOTOS */
.foto {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #00A8FF;
}

/* FORMULARIO */
form {
  display: flex;
  flex-direction: column;
  width: 50%;
  margin: auto;
}

form input, form select, form textarea {
  padding: 12px;
  margin: 10px 0;
  border-radius: 5px;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
}

/* FOOTER */
footer {
  background: rgba(0,0,0,0.85);
  padding: 20px;
  text-align: center;
}

.footer-logo {
  width: 120px;
}

/* WHATSAPP FLOTANTE */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
}

.whatsapp-float img {
  width: 70px;
}

/* BOTÓN SUBIR ARRIBA */
#subir {
  position: fixed;
  bottom: 110px;
  right: 25px;
  background: #00A8FF;
  color: black;
  padding: 12px 18px;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  display: none;
  z-index: 999;
}

/* ----------------------------- */
/* ⭐ RESPONSIVE DESIGN ⭐ */
/* ----------------------------- */

/* TABLETS */
@media (max-width: 1024px) {

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    font-size: 38px;
  }

  form {
    width: 70%;
  }
}

/* TELÉFONOS */
@media (max-width: 900px) {
  #desktopMenu {
    display: none;
  }

  .menu-btn {
    display: block;
  }
}

@media (max-width: 600px) {

  .hero h1 {
    font-size: 30px;
  }

  .grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .grid-horizontal {
    flex-direction: column;
    align-items: center;
  }

  .foto {
    width: 260px;
    height: 260px;
  }

  form {
    width: 90%;
  }

  .btn-blue, .btn-black {
    padding: 10px 20px;
    font-size: 14px;
  }
}
.disclaimer {
  margin-top: 15px;
  font-size: 12px;
  line-height: 1.4;
  opacity: 0.7;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
