/* =========================
   RESET BÁSICO
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
   BASE
========================= */
body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background-color: #0f0f0f;
  color: #f5f5f5;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

/* =========================
   TIPOGRAFÍA
========================= */
h1, h2, h3 {
  font-weight: 300;
  letter-spacing: 1px;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

p {
  color: #cfcfcf;
}

/* =========================
   HERO (PORTADA)
========================= */
.hero {
  height: 100vh;
  background: url('images/hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin-bottom: 10px;
}

.hero p {
  margin-bottom: 20px;
}

/* =========================
   BOTONES
========================= */
.btn {
  display: inline-block;
  background: #ffffff;
  color: #000;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn:hover {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

/* =========================
   SECCIONES
========================= */
.section {
  padding: 80px 20px;
  max-width: 1100px;
  margin: auto;
}

/* =========================
   GRID / PORTAFOLIO
========================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.grid img {
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.grid img:hover {
  transform: scale(1.05);
}

/* =========================
   TARJETAS / SERVICIOS
========================= */
.card {
  background: #1a1a1a;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
}

.card h3 {
  margin-bottom: 10px;
}

/* =========================
   ANIMACIÓN FADE
========================= */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   FOOTER
========================= */
.footer {
  text-align: center;
  padding: 40px 20px;
  font-size: 0.9rem;
  color: #888;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }

  .hero {
    padding: 20px;
  }

  .section {
    padding: 60px 15px;
  }
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: #fff;
  padding: 12px 18px;
  border-radius: 30px;
  font-weight: bold;
  z-index: 999;
}
