/* /* --- Swiper Styles --- */
.swiper {
  width: 100%;
  max-width: 1100px;
  padding: 40px 20px;
}

.swiper-wrapper {
  display: flex;
  gap: 50px;
}

.swiper-slide {
  display: flex;
  justify-content: center;
}

.swiper-slide img {
  width: 150px;
  height: 150px;
  border-radius: 12px;
  object-fit: contain;
  transition: transform 0.3s ease;
  background-color: transparent;
  box-shadow: none;
}

.swiper-slide img:hover {
  transform: scale(1.05);
  z-index: 10;
  position: relative;
}

/* --- Bootstrap Imports --- */
@import url("https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css");

/* --- Root Colors --- */
:root {
  --primary-color: #0d6efd;
 /*   --primary-color: #0a2240;
   --primary-color: #cb1837; */
  
  --dark-color: #212529;
  --light-color: #f8f9fa;
}

/* --- Base Styles --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* --- Hero Section --- */
header.position-relative {
  min-height: 350px;
}

/* --- Navbar Enhancements --- */
.navbar-brand {
  font-size: 1.5rem !important;
  font-weight: 700;
}

.navbar-nav .nav-link {
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* --- Responsive Swiper --- */
@media (max-width: 768px) {
  .swiper-slide img {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 576px) {
  .swiper-slide img {
    width: 70px;
    height: 70px;
  }
}

/* --- Smooth Scrolling --- */
html {
  scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.loading {
  animation: pulse 2s infinite;
}

/* Button Enhancements */
.btn {
  border-radius: 25px;
  font-weight: 600;
  padding: 0.75rem 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
 */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

body {
  background-color: #f8f8f8;
  color: #333;
  line-height: 1.6;
  scroll-behavior: smooth;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-animate {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 0.8s cubic-bezier(.4,0,.2,1) forwards;
  animation-play-state: paused;
}

.section-animate.delay-1 { animation-delay: 0.2s; }
.section-animate.delay-2 { animation-delay: 0.4s; }
.section-animate.delay-3 { animation-delay: 0.6s; }
.section-animate.delay-4 { animation-delay: 0.8s; }

/* Animación para cards */
@keyframes fadeInCard {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.servicio-card,
.contact-card,
.mv-card {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  animation: fadeInCard 0.7s cubic-bezier(.4,0,.2,1) forwards;
  animation-play-state: paused;
}

.servicio-card:nth-child(1) { animation-delay: 0.1s; }
.servicio-card:nth-child(2) { animation-delay: 0.2s; }
.servicio-card:nth-child(3) { animation-delay: 0.3s; }
.servicio-card:nth-child(4) { animation-delay: 0.4s; }
.servicio-card:nth-child(5) { animation-delay: 0.5s; }
.servicio-card:nth-child(6) { animation-delay: 0.6s; }
.servicio-card:nth-child(7) { animation-delay: 0.7s; }
.servicio-card:nth-child(8) { animation-delay: 0.8s; }
