body.home-page {
  overflow-x: hidden;
}

/* Hero */
body.home-page #carouselExampleControls {
  position: relative;
}

body.home-page .carousel-item {
  overflow: hidden;
  max-height: 92vh;
}

body.home-page .carousel-item img {
  width: 100%;
  height: calc(92vh - 76px);
  min-height: 480px;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 12s ease;
}

body.home-page .carousel-item.active img {
  transform: scale(1.12);
}

body.home-page .carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 20, 28, 0.28) 0%, rgba(16, 20, 28, 0.45) 45%, rgba(16, 20, 28, 0.72) 100%);
  z-index: 1;
}

body.home-page .carousel-caption {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 18%;
  top: auto;
  z-index: 2;
  text-align: left;
  padding: 0;
}

body.home-page .carousel-caption h2 {
  font-size: 13px;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: #20b1aa;
  margin-bottom: 10px;
}

body.home-page .carousel-caption h1 {
  font-size: clamp(28px, 5vw, 58px);
  line-height: 1.15;
  font-weight: 700;
  max-width: 780px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

body.home-page .home-hero-actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

body.home-page .home-hero-actions .btn {
  border-radius: 8px;
  padding: 12px 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

body.home-page .home-hero-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(32, 177, 170, 0.28);
}

body.home-page .carousel-control-prev,
body.home-page .carousel-control-next {
  width: 56px;
  opacity: 0.85;
  z-index: 3;
}

body.home-page .carousel-indicators {
  z-index: 3;
}

body.home-page .carousel-indicators li {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 5px;
}

/* Intro services */
body.home-page .services {
  border-radius: 14px;
  padding: 28px 20px 48px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

body.home-page .services:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 40px rgba(20, 24, 31, 0.12);
}

body.home-page .services .icon {
  transition: transform 0.35s ease, background 0.35s ease;
}

body.home-page .services:hover .icon {
  transform: scale(1.08);
  background: rgba(32, 177, 170, 0.12);
}

body.home-page .services .btn-custom {
  opacity: 1;
  bottom: -22px;
  box-shadow: 0 10px 18px rgba(32, 177, 170, 0.28);
}

body.home-page .heading-section .subheading {
  letter-spacing: 0.16em;
}

/* Banks */
body.home-page .bancos {
  padding: 42px 0 28px;
}

body.home-page .bancos h1 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px !important;
}

body.home-page .case2 {
  height: 92px !important;
  margin-bottom: 12px !important;
  border-radius: 12px;
  background-color: #fff;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  box-shadow: 0 10px 24px rgba(16, 20, 28, 0.12);
  transition: transform 0.3s ease;
}

body.home-page .case2:hover {
  transform: translateY(-4px);
}

/* Featured services */
body.home-page .case {
  border-radius: 16px;
  overflow: hidden;
  height: 320px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

body.home-page .case:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 40px rgba(20, 24, 31, 0.18);
}

body.home-page .case:after {
  opacity: 0.18;
  background: linear-gradient(180deg, transparent 20%, #102027 100%);
}

body.home-page .case:hover:after {
  opacity: 0.45;
}

body.home-page .case .text {
  opacity: 1;
  transform: none;
  padding: 18px;
}

body.home-page .case .text h3 a {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

body.home-page .btn.btn-primary {
  border-radius: 8px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

body.home-page .btn.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(32, 177, 170, 0.28);
}

/* About */
body.home-page .img-video {
  border-radius: 0 18px 18px 0;
  min-height: 520px;
  position: relative;
}

body.home-page .img-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(255, 255, 255, 0.08));
}

body.home-page .tabulation-2 .nav-pills .nav-item .nav-link {
  border-radius: 8px;
  transition: all 0.25s ease;
}

body.home-page .tabulation-2 .tab-content {
  border-radius: 12px;
  min-height: 132px;
}

body.home-page .years h4 {
  border-radius: 12px;
  box-shadow: 0 16px 30px rgba(32, 177, 170, 0.28);
}

/* Team */
body.home-page .block-2 {
  border-radius: 16px;
  box-shadow: 0 16px 32px rgba(20, 24, 31, 0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

body.home-page .block-2:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 40px rgba(20, 24, 31, 0.16);
}

/* News */
body.home-page .blog-entry-home {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(20, 24, 31, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

body.home-page .blog-entry-home:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 40px rgba(20, 24, 31, 0.12);
}

body.home-page .blog-entry-home .block-20 {
  transition: transform 0.6s ease;
}

body.home-page .blog-entry-home:hover .block-20 {
  transform: scale(1.05);
}

/* CTA band */
.home-cta {
  background: linear-gradient(120deg, #1c2331 0%, #16343a 55%, #20b1aa 160%);
  color: #fff;
  padding: 18px 0;
  position: relative;
  overflow: hidden;
}

.home-cta::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -50px;
  top: -70px;
  border-radius: 50%;
  background: rgba(32, 177, 170, 0.18);
}

.home-cta h2 {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.25;
  color: #fff !important;
}

.home-cta p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.78);
}

.home-cta .btn {
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 0 !important;
}

body.home-page > .ftco-section.ftco-no-pt {
  padding-top: 2rem !important;
}

@media (max-width: 767.98px) {
  body.home-page .carousel-item img {
    height: 68vh;
    min-height: 420px;
  }

  .home-cta {
    padding: 16px 0;
    text-align: center;
  }

  .home-cta .text-md-right {
    margin-top: 10px;
  }

  body.home-page .carousel-caption {
    text-align: center;
    left: 6%;
    right: 6%;
    bottom: 14%;
  }

  body.home-page .home-hero-actions {
    justify-content: center;
  }

  body.home-page .img-video {
    border-radius: 0;
    min-height: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home-page .carousel-item img,
  body.home-page .services,
  body.home-page .case,
  body.home-page .blog-entry-home,
  body.home-page .block-2 {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}
