html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

.hero-carousel {
  color: #fff;
}

.hero-carousel .carousel-item {
  height: 540px;
}

.hero-slide {
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  text-align: center;
  display: flex;
  align-items: center;
  padding: 100px 30px;
}

.hero-slide h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.hero-slide .lead {
  font-size: clamp(1rem, 2vw, 2rem);
  max-width: 1100px;
  margin: 0 auto 20px auto;
}

.hero-cta {
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 600;
}

.site-logo {
  width: 220px;
  max-width: 100%;
  height: auto;
  display: block;
}

.hero-carousel .carousel-indicators [data-bs-target] {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 8%;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.4));
}

#inicio,
section {
  scroll-margin-top: 92px;
}

.section {
  padding: 40px 30px;
}

.bg-light-blue {
  background-color: #eaf4ff;
}

.services-it {
  background:
    radial-gradient(circle at 88% 14%, rgba(12, 191, 136, 0.22), transparent 32%),
    radial-gradient(circle at 12% 85%, rgba(26, 115, 232, 0.26), transparent 34%),
    linear-gradient(130deg, #03142f 10%, #041a3f 45%, #08285b 100%);
  color: #e8f0ff;
}

.services-it .container > h2 {
  color: #ffffff;
  letter-spacing: -0.4px;
}

.services-it-subtitle {
  color: #c7d9ff;
}

.services-it-intro {
  background: linear-gradient(140deg, rgba(10, 43, 96, 0.72), rgba(5, 26, 62, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

.services-it-intro h4 {
  color: #ffffff;
  line-height: 1.3;
}

.services-it-intro p {
  color: #d9e6ff;
}

.services-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.1px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(12, 191, 136, 0.18);
  border: 1px solid rgba(12, 191, 136, 0.45);
  color: #b9ffe8;
}

.service-pill {
  height: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 18px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.service-pill:hover {
  transform: translateY(-4px);
  border-color: rgba(12, 191, 136, 0.5);
}

.service-pill i {
  font-size: 1.4rem;
  color: #2fd5a1;
  margin-bottom: 10px;
}

.service-pill h6 {
  margin: 0 0 6px 0;
  color: #fff;
}

.service-pill p {
  margin: 0;
  color: #c8d7f6;
  font-size: 0.94rem;
}

.service-it-card {
  height: 100%;
  background: linear-gradient(125deg, rgba(5, 22, 51, 0.95), rgba(12, 48, 96, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.service-it-card:hover {
  transform: translateY(-4px);
  border-color: rgba(12, 191, 136, 0.55);
}

.service-it-card i {
  font-size: 1.8rem;
  color: #0cbf88;
  margin-bottom: 10px;
}

.service-it-card h5 {
  margin: 0 0 6px 0;
  color: #ffffff;
}

.service-it-card p {
  margin: 0;
  color: #c8d7f6;
}

.service-it-card.featured {
  background: linear-gradient(110deg, rgba(8, 40, 86, 0.95), rgba(17, 84, 147, 0.85));
  border-color: rgba(47, 213, 161, 0.45);
}

@media (max-width: 767.98px) {
  .hero-carousel .carousel-item {
    height: 470px;
  }

  .hero-slide {
    padding: 74px 18px 60px 18px;
  }

  .hero-slide h1 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 14px;
  }

  .hero-slide .lead {
    font-size: clamp(0.98rem, 3.8vw, 1.25rem);
    margin-bottom: 14px;
  }

  .hero-cta {
    padding: 9px 16px;
    font-size: 0.95rem;
    border-radius: 10px;
  }

  .services-it-intro {
    padding: 22px;
  }

  .service-it-card,
  .service-pill {
    padding: 16px;
  }
}

@media (max-width: 575.98px) {
  .hero-carousel .carousel-item {
    height: 440px;
  }

  .site-logo {
    width: 168px;
  }
}

footer {
  background: #0b4da2;
  color: #eaf3ff;
  padding: 30px;
  text-align: center;
  border-top: 3px solid #0cbf88;
}

.feature-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
}

.product-image-link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  text-decoration: none;
}

.product-image-link .feature-img {
  margin: 0;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.product-image-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  background: rgba(11, 77, 162, 0.55);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.product-image-link:hover .feature-img {
  transform: scale(1.04);
  filter: brightness(0.85);
}

.product-image-link:hover .product-image-overlay {
  opacity: 1;
}

.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background-color: #25D366;
  color: white;
  font-size: 28px;
  padding: 14px 16px;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.whatsapp-button:hover {
  background-color: #1ebd5a;
  text-decoration: none;
  color: white;
}

/* FAQ */
#preguntas .accordion-item {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
  border: 1px solid #c9dbf7;
}

#preguntas .accordion-button {
  font-weight: 500;
}

#preguntas .accordion-button:not(.collapsed) {
  background-color: #d8e8ff;
  color: #0b3f95;
  box-shadow: none;
}

#preguntas .accordion-button:focus {
  box-shadow: none;
}

#preguntas .accordion-collapse {
  background: #fff;
}

#preguntas .accordion-body {
  background: linear-gradient(0deg, rgba(12, 191, 136, 0.14), rgba(12, 191, 136, 0.14));
  color: #09352a;
  border-radius: 10px;
  margin: 12px;
  border: 1px solid rgba(10, 168, 119, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.brand-note {
  background: linear-gradient(135deg, rgba(11, 77, 162, 0.12), rgba(12, 191, 136, 0.18));
  color: #0b3f95;
  border: 1px solid rgba(11, 77, 162, 0.25);
}
