/*
  Home page update
  - hero carousel instead of crowded 3-image collage
  - smaller proof-card titles so text fits cleanly
*/

.hero .lead {
  max-width: 760px;
}

.proof {
  gap: clamp(10px, 1.4vw, 16px);
}

.proof-card strong {
  font-size: clamp(1rem, 1.15vw, 1.18rem) !important;
  line-height: 1.18 !important;
  letter-spacing: -0.02em;
}

.proof-card span {
  font-size: .92rem;
  line-height: 1.5;
}

.proof-card small {
  font-size: .72rem;
  letter-spacing: .16em;
}

.home-hero-carousel {
  position: relative;
  width: 100%;
  min-height: clamp(420px, 54vw, 700px);
  overflow: hidden;
  background: #f4f1eb;
  box-shadow: 0 28px 80px rgba(0,0,0,.10);
  isolation: isolate;
}

.home-carousel-track,
.home-carousel-slide {
  position: absolute;
  inset: 0;
}

.home-carousel-slide {
  margin: 0;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity .55s ease, transform 1.15s ease;
  background: #f4f1eb;
}

.home-carousel-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.home-carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.34) 100%),
    radial-gradient(circle at 20% 12%, rgba(255,255,255,.18), transparent 32%);
  pointer-events: none;
}

.home-carousel-slide figcaption {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 3;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(17,17,17,.72);
  color: #f5d56c;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.home-carousel-dots {
  position: absolute;
  right: 22px;
  bottom: 26px;
  z-index: 4;
  display: flex;
  gap: 7px;
  align-items: center;
}

.home-carousel-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  transition: width .28s ease, background .28s ease;
}

.home-carousel-dots span.is-active {
  width: 24px;
  background: #d4af37;
}

.editorial-stage {
  display: none !important;
}

@media (max-width: 980px) {
  .home-hero-carousel {
    min-height: clamp(380px, 80vw, 620px);
  }
}

@media (max-width: 640px) {
  .home-hero-carousel {
    min-height: 440px;
  }

  .proof-card strong {
    font-size: 1rem !important;
  }

  .home-carousel-slide figcaption {
    left: 16px;
    bottom: 18px;
  }

  .home-carousel-dots {
    right: 16px;
    bottom: 22px;
  }
}


/* Home carousel v2: format landscape 3x2, fără portret/crop agresiv. */
.hero-visual-col {
  align-self: center;
}

.home-hero-carousel {
  aspect-ratio: 3 / 2 !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  border-radius: clamp(22px, 2vw, 34px);
}

.home-carousel-track,
.home-carousel-slide {
  position: absolute;
  inset: 0;
}

.home-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 980px) {
  .home-hero-carousel {
    aspect-ratio: 3 / 2 !important;
    min-height: 0 !important;
    width: min(100%, 760px);
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .home-hero-carousel {
    aspect-ratio: 3 / 2 !important;
    min-height: 0 !important;
    border-radius: 18px;
  }
}


/* Home v3: servicii cu font coerent cu restul paginii și text mai lizibil în carduri. */
.services .service-card,
.services .service-card h3,
.services .service-card p,
.services .service-card li,
.services .service-card a {
  font-family: 'Plus Jakarta Sans', Arial, sans-serif !important;
}

.services .service-card h3 {
  font-size: clamp(1.55rem, 2vw, 2.05rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.035em !important;
  font-weight: 800 !important;
}

.services .service-card p {
  font-size: clamp(.94rem, 1vw, 1.02rem) !important;
  line-height: 1.48 !important;
  letter-spacing: -0.015em !important;
}

.services .service-card li {
  font-size: .92rem !important;
  line-height: 1.45 !important;
}

.statement .quote {
  max-width: 820px;
  font-size: clamp(1.55rem, 3.2vw, 3.1rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.045em !important;
}

.statement p:not(.quote) {
  max-width: 760px;
  font-size: clamp(1rem, 1.25vw, 1.18rem) !important;
  line-height: 1.75 !important;
}

@media (max-width: 760px) {
  .services .service-card h3 {
    font-size: 1.45rem !important;
  }
  .services .service-card p {
    font-size: .95rem !important;
  }
}
