﻿/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(180deg, #141421, #0f0f14);
  color: #fff;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  background: rgba(15,15,20,0.85);
  backdrop-filter: blur(10px);
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  height: 50px;
}

.nav a {
  margin-left: 20px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.btn-secondary {
  border: 1px solid #fff;
  padding: 8px 14px;
  border-radius: 8px;
}

/* HERO */
.hero {
  position: relative;
  padding: 160px 0;
  text-align: center;
  overflow: hidden;

  /* FONDO PRINCIPAL */
  background:
    linear-gradient(
      rgba(15,15,20,0.85),
      rgba(15,15,20,0.95)
    ),
    url("../img/hero-bg.jpg");

  background-size: cover;
  background-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;

  /* MICRO TEXTURA */
  background-image: url("../img/noise.png");
  background-repeat: repeat;

  opacity: 0.08; /* AJUSTABLE */
  pointer-events: none;
}



/* SECCIONES */
.section {
  padding: 110px 0;
}

.section-soft {
  background: rgba(255,255,255,0.03);
}

.section h2 {
  text-align: center;
  margin-bottom: 60px;
}

/* CARDS */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.card {
  background: rgba(255,255,255,0.06);
  padding: 40px;
  border-radius: 18px;
  backdrop-filter: blur(10px);
}

/* PROCESO */
.process {
  max-width: 600px;
  margin: auto;
  font-size: 1.1rem;
}

.process li {
  margin-bottom: 12px;
}

/* GALERÍA */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.gallery-item {
  height: 200px;
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CTA */
.cta {
  background: linear-gradient(135deg, #000, #1a1a1a);
  padding: 120px 0;
  text-align: center;
}

/* FOOTER */
.footer {
  padding: 30px 0;
  text-align: center;
  opacity: 0.6;
}

/* WHATSAPP */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: #000;
  padding: 14px 18px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
}

/* ANIMACIONES */
.fade-in, .fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.fade-up {
  transition-delay: 0.1s;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

/* MOBILE */
.menu-icon {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

#menu-toggle {
  display: none;
}

.mobile-nav {
  display: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .menu-icon {
    display: block;
  }

  #menu-toggle:checked + .menu-icon + .mobile-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    right: 20px;
    background: #111;
    padding: 20px;
    border-radius: 12px;
  }

  .mobile-nav a {
    margin: 10px 0;
  }

  .hero h1 {
    font-size: 2.2rem;
  }
}
