/* =========================
   INDEX (solo home)
   ========================= */

/* Hero Carousel */
.hero{ position: relative; }

.hero-slide{
  min-height: 78vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(0,0,0,.15));
}

.hero-content{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  text-align: right;
  padding-top: 90px;
}

.hero-title{
  color: #fff;
  font-weight: 800;
  letter-spacing: 2px;
  font-size: clamp(42px, 6vw, 88px);
  margin: 0;
}

.hero-title-sm{
  font-size: clamp(28px, 4vw, 54px);
  letter-spacing: 1px;
}

.hero-subtitle{
  color: rgba(255,255,255,.85);
  font-size: clamp(18px, 2.2vw, 34px);
  margin-top: 6px;
  margin-bottom: 18px;
}

.btn-hero{
  background: var(--verde-lima-clasico);
  color: #fff;
  border: 0;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .6px;
  font-size: 13px;
  transition: transform .15s ease, background .15s ease;
}
.btn-hero:hover{
  background: var(--verde-lima-neon);
  color:white;
  transform: translateY(-1px);
}

/* Ofertas */
.offer-icon{
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: var(--soft-bg);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  margin: 0 auto 18px auto;
  display: grid;
  place-items: center;
}

.offer-icon img{
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.offer-text{
  max-width: 220px;
  margin: 0 auto;
}

/* Cards servicios */
.bg-section{
  background: linear-gradient(180deg, #FFFFFF 0%, var(--soft-bg) 100%);
}

.service-card{
  position: relative;
  display: block;
  border-radius: 26px;
  overflow: hidden;
  height: 360px;
  box-shadow: 0 18px 45px rgba(0,0,0,.10);
  text-decoration: none;
}

.service-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .35s ease, filter .35s ease;
  filter: saturate(1.05);
}

.service-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.55));
  display: flex;
  align-items: flex-end;
  padding: 22px;
  transition: background .35s ease;
}

.service-label{
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.15;
  transition: color .35s ease;
}

.service-card:hover .service-label{
  color: #4F871E;
}
.service-card:hover{
    scale: 1.02;
    transition: scale .35s ease

    }

.service-card:hover .service-overlay{
  background: linear-gradient(
    220deg,
    rgba(78, 139, 28, .45),
    rgba(209, 207, 46, .30)
  );
}
#reviewsCarousel .carousel-item{
  padding: 6px 0;
}

/* Sección reseñas (Trustindex) */
.ti-widget{
  margin-inline: auto;
}

.bg-soft .ti-widget{
  background: transparent; /* deja que el set-id controle el look */
}

.ti-widget-container{
  align-items: flex-start;
}

.map-container iframe{
  width:100%;
  height:470px;
  border:0;
}

/* Responsive home */
@media (max-width: 992px){
  .hero-content{
    align-items: center;
    text-align: center;
    padding-inline: 18px;
  }
}