/* Hortica — hero (first section): layout, responsiveness, polish */

.hortica-hero.hero-header {
  position: relative;
  overflow: hidden;
  background-color: #eef4f1;
  background-image: radial-gradient(
      ellipse 100% 70% at 100% 0%,
      rgba(201, 162, 39, 0.14),
      transparent 55%
    ),
    radial-gradient(
      ellipse 90% 60% at 0% 100%,
      rgba(21, 107, 82, 0.16),
      transparent 50%
    ),
    linear-gradient(168deg, #f7fbf9 0%, #eef4f1 45%, #e5efe9 100%);
  background-size: cover;
  background-position: center;
}

.hortica-hero__inner {
  position: relative;
  z-index: 1;
}

/* Soft decorative wash (no layout impact) */
.hortica-hero.hero-header::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 70%;
  background: radial-gradient(
    circle at 30% 40%,
    rgba(255, 255, 255, 0.45),
    transparent 55%
  );
  pointer-events: none;
  z-index: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .hortica-hero__reveal {
    animation: horticaHeroFadeUp 0.75s ease-out both;
  }

  .hortica-hero__reveal--2 {
    animation-delay: 0.08s;
  }

  .hortica-hero__reveal--3 {
    animation-delay: 0.16s;
  }

  .hortica-hero__reveal--4 {
    animation-delay: 0.22s;
  }
}

@keyframes horticaHeroFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hortica-hero__logo-wrap {
  display: inline-block;
  max-width: min(100%, 300px);
}

.hortica-hero__logo-wrap img {
  object-fit: contain;
}

.hortica-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bs-primary);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(21, 107, 82, 0.15);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.hortica-hero__headline {
  font-family: "Raleway", system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.12;
  color: #12332a;
  letter-spacing: -0.02em;
  font-size: clamp(1.85rem, 4vw + 1rem, 3.25rem);
}

.hortica-hero__lead {
  font-size: clamp(1rem, 1.1vw + 0.9rem, 1.2rem);
  line-height: 1.65;
  color: #3d4a45;
  max-width: 36rem;
}

.hortica-hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1a2e28;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(21, 107, 82, 0.12);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  box-shadow: 0 2px 12px rgba(21, 107, 82, 0.06);
}

.hortica-hero__chip i {
  color: var(--bs-primary);
  font-size: 0.75rem;
}

.hortica-hero__actions .btn {
  min-height: 48px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  font-weight: 600;
}

@media (max-width: 575.98px) {
  .hortica-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hortica-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Carousel frame */
.hortica-hero__carousel-shell {
  position: relative;
  border-radius: 1.35rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(26, 46, 40, 0.14),
    0 0 0 1px rgba(21, 107, 82, 0.08);
  background: #fff;
}

.hortica-hero__carousel-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  pointer-events: none;
  z-index: 2;
}

/* Stable viewport: height lives on .carousel-inner so every slide matches */
.hortica-hero__carousel-inner {
  position: relative;
  width: 100%;
  border-radius: inherit;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  min-height: 240px;
  max-height: min(50vh, 520px);
}

@media (max-width: 575.98px) {
  .hortica-hero__carousel-inner {
    aspect-ratio: 16 / 11;
    min-height: 220px;
    max-height: min(44vh, 400px);
  }
}

@media (min-width: 992px) {
  .hortica-hero__carousel-inner {
    aspect-ratio: 4 / 3;
    min-height: 300px;
    max-height: min(54vh, 500px);
  }
}

.hortica-hero__carousel-item {
  height: 100%;
}

.hortica-hero__slide {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  background: linear-gradient(145deg, #c5d5ce 0%, #e8eeeb 100%);
}

/* Next/Image with fill: wrapper span must fill the slide */
.hortica-hero__slide > span {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

.hortica-hero__slide-img {
  object-fit: cover !important;
}

/* Dots */
.hortica-hero__indicators {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.65rem 0.75rem 0.85rem;
  margin: 0;
  list-style: none;
}

.hortica-hero__indicators [data-bs-target] {
  box-sizing: content-box;
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.35);
  opacity: 1;
  transition: transform 0.2s ease, background-color 0.2s ease,
    border-color 0.2s ease;
}

.hortica-hero__indicators [data-bs-target].active {
  background-color: #fff;
  border-color: #fff;
  transform: scale(1.2);
}

.hortica-hero__ctrl.hortica-hero__ctrl--prev,
.hortica-hero__ctrl.hortica-hero__ctrl--next {
  width: 44px;
  height: 44px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.95;
  z-index: 3;
}

.hortica-hero__ctrl--prev {
  left: 12px;
  margin-left: 0;
}

.hortica-hero__ctrl--next {
  right: 12px;
  margin-right: 0;
}

@media (max-width: 575.98px) {
  .hortica-hero__ctrl--prev {
    left: 8px;
  }

  .hortica-hero__ctrl--next {
    right: 8px;
  }

  .hortica-hero__ctrl.hortica-hero__ctrl--prev,
  .hortica-hero__ctrl.hortica-hero__ctrl--next {
    width: 40px;
    height: 40px;
  }
}
