/* ---------- RESET SUAVE ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth; /* hace que el scroll sea suave */
}

/* ---------- FUENTE Y COLORES BASE ---------- */
body {
  font-family: 'Poppins', 'Roboto', sans-serif;
  color: #344054;
  background-color: #ffffff;
  line-height: 1.6;
}

/* ---------- TITULOS ---------- */
h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #162c29;
}

/* ---------- LINKS Y BOTONES ---------- */
a, button {
  transition: all 0.3s ease;
}

a:hover, button:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

/* ---------- SECCIONES (espaciado limpio) ---------- */
section, .servicios-02 {
  padding: 60px 0;
}

/* ---------- IMÁGENES ---------- */
img {
  max-width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}

img:hover {
  transform: scale(1.02);
}

/* ---------- ANIMACIÓN AL APARECER ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- SOMBRAS SUAVES ---------- */
.card-servicio, .card, .box {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card-servicio:hover, .card:hover, .box:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-6px);
}

/* ---------- SCROLLBAR PERSONALIZADO ---------- */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #cfcfcf;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #999;
}