/* =========================
   GLOBAL
========================= */
body {
  font-family: 'Arimo', sans-serif;
  color: #000;
}

#top-header {
  transition: transform 0.3s ease;
}

.header-hide {
  transform: translateY(-100%);
}

/* =========================
   HERO
========================= */
.hero-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 20px;
}

/* =========================
   ANIMACIONES
========================= */
@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   SERVICE CARDS (GRID)
========================= */
.service-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 40px -10px rgba(0,0,0,.15);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: .5rem;
}

.service-card p {
  color: #4b5563;
}


/* =========================
   SERVICE DETAIL
========================= */
.service-detail {
  background: white;
  border-radius: 1.25rem;
  padding: 3rem;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05),
              0 25px 50px -12px rgba(0,0,0,0.2);
  animation: fadeSlide 0.6s ease forwards;
}

.service-detail h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #1e40af;
  margin-bottom: 1.5rem;
}

.service-detail ul {
  padding-left: 1.5rem;
}

.service-detail li {
  list-style: disc;
  margin-bottom: 0.5rem;
  color: #4b5563;
}

/* =========================
   SCROLL ANIMATIONS
========================= */
@keyframes slideLoop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-slide-loop {
  width: max-content;
  animation: slideLoop 20s linear infinite;
}
