/* Tipografía personalizada */
@font-face {
  font-family: 'Leto';
  src: url('assets/fonts/Leto-Regular.ttf') format('truetype');
}

/* ----------- GLOBAL ----------- */
body {
  font-family: 'Leto', 'Montserrat', sans-serif;
  background-color: #f8f9fa;
  scroll-behavior: smooth;
}

.section-title {
  font-weight: 700;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

/* ----------- NAVBAR ----------- */
.navbar-brand {
  font-weight: bold;
  font-size: 1.6rem;
}

/* ----------- HERO / SLIDER ----------- */
.hero {
  background: linear-gradient(to bottom right, rgba(0, 91, 234, 0.8), rgba(0, 48, 129, 0.8)),
              url('https://source.unsplash.com/1600x900/?technology,queue') no-repeat center center;
  background-size: cover;
  color: white;
  padding: 120px 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.25rem;
}

/* ----------- FEATURES / VENTAJAS ----------- */
.feature-card,
.card-hover,
.info-card {
  border-radius: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  background-color: #ffffffc9;
  border: 1px solid #e1e1e1;
}

.feature-card:hover,
.card-hover:hover,
.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  color: #0d6efd;
  margin-bottom: 1rem;
}

/* ----------- ANIMACIONES ----------- */
@keyframes fadeInUpBox {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-box {
  opacity: 0;
  animation: fadeInUpBox 0.8s ease forwards;
}

.animate-box.delay-1 {
  animation-delay: 0.2s;
}
.animate-box.delay-2 {
  animation-delay: 0.4s;
}
.animate-box.delay-3 {
  animation-delay: 0.6s;
}

/* NAVBAR ELEGANTE */
.navbar-nav .nav-link {
  font-family: 'Leto', 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  text-transform: none; /* Sin mayúsculas forzadas: más elegante */
  letter-spacing: 0.3px;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
  color: #ffffff !important;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #0D6EFD;
  transition: width 0.3s ease;
  position: absolute;
  bottom: 8px;
  left: 1rem;
}

.navbar-nav .nav-link:hover::after {
  width: calc(100% - 2rem);
}

.navbar-nav .nav-link:hover {
  color: #ffffff !important;
  font-weight: 600;
}

/* BOTÓN INGRESAR ELEGANTE */
.navbar-nav .btn-outline-light {
  font-family: 'Leto', 'Montserrat', sans-serif;
  font-weight: 600;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 2rem;
  transition: all 0.3s ease;
  border: 2px solid #ffffff;
}

.navbar-nav .btn-outline-light:hover {
  background-color: #ffffff;
  color: #0D6EFD;
  border-color: #ffffff;
}
