/* Homepage hero */
.hero-section {
  background:
    radial-gradient(circle at top right, rgba(0, 114, 55, 0.06), transparent 40%),
    linear-gradient(180deg, var(--color-background-soft, #f6f7f4) 0%, #ffffff 100%);
}

.elementor-widget-db-hero,
.elementor-widget-db-hero > .elementor-widget-container {
  width: 100%;
  max-width: none !important;
}

.elementor-widget-db-hero > .elementor-widget-container {
  padding: 0 !important;
}

.elementor-section:has(.elementor-widget-db-hero),
.e-con:has(.elementor-widget-db-hero),
.e-con-full:has(.elementor-widget-db-hero) {
  max-width: none !important;
  width: 100% !important;
  --padding-left: 0px;
  --padding-right: 0px;
  --padding-inline-start: 0px;
  --padding-inline-end: 0px;
}

.elementor-section:has(.elementor-widget-db-hero) > .elementor-container,
.e-con:has(.elementor-widget-db-hero) > .e-con-inner {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.elementor .hero-section,
.elementor-widget-db-hero .hero-section {
  position: relative;
  left: auto;
  right: auto;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

.hero-swiper,
.hero-swiper .swiper-slide {
  height: 100%;
}

.hero-slide-media {
  position: absolute;
  inset: 0;
}

.hero-slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(12, 28, 18, 0.78) 0%,
    rgba(12, 28, 18, 0.42) 42%,
    rgba(12, 28, 18, 0.12) 72%,
    rgba(12, 28, 18, 0.04) 100%
  );
}

.hero-section .hero-slide-content {
  padding-bottom: 6.5rem;
  color: #fff;
}

.hero-section .hero-slide-content h1,
.hero-section .hero-slide-content h2,
.hero-section .hero-slide-content h3,
.hero-section .hero-slide-content p,
.hero-section .hero-slide-content span,
.hero-section .hero-slide-content a {
  color: #fff;
}

.hero-section .hero-slide-content > p:first-child,
.hero-section .hero-slide-content .text-secondary {
  color: var(--color-secondary, #ffca00) !important;
}

.hero-section .hero-slide-content p.mt-3 {
  color: rgba(255, 255, 255, 0.8);
}

.hero-section .hero-slide-content a.bg-primary,
.hero-section .hero-slide-content a[class*="bg-primary"] {
  color: #fff !important;
}

.hero-section .hero-slide-content a.bg-secondary,
.hero-section .hero-slide-content a[class*="bg-secondary"] {
  color: var(--color-text, #171717) !important;
}

.hero-section .hero-promo-card,
.hero-section .hero-promo-card h2,
.hero-section .hero-promo-card h3,
.hero-section .hero-promo-card p,
.hero-section .hero-promo-card span {
  color: #fff;
}

.hero-section .hero-promo-card p {
  color: rgba(255, 255, 255, 0.8);
}

.hero-section .hero-promo-card .text-secondary,
.hero-section .hero-promo-card span[class*="text-secondary"] {
  color: var(--color-secondary, #ffca00) !important;
}

.hero-section .hero-promo-card span[class*="bg-secondary"] {
  color: var(--color-text, #171717) !important;
}

.elementor-widget-db-hero .hero-slide-content h1,
.elementor-widget-db-hero .hero-slide-content h2,
.elementor-widget-db-hero .hero-promo-card h2,
.elementor .hero-section .hero-slide-content h1,
.elementor .hero-section .hero-slide-content h2,
.elementor .hero-section .hero-promo-card h2 {
  color: #fff !important;
}

.elementor-widget-db-hero .hero-slide-content p,
.elementor-widget-db-hero .hero-promo-card p,
.elementor .hero-section .hero-slide-content p,
.elementor .hero-section .hero-promo-card p {
  color: rgba(255, 255, 255, 0.8) !important;
}

.elementor-widget-db-hero .hero-slide-content > p:first-of-type,
.elementor .hero-section .hero-slide-content > p:first-of-type {
  color: var(--color-secondary, #ffca00) !important;
}

@media (min-width: 640px) {
  .hero-section .hero-slide-content {
    padding-bottom: 7.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-section .hero-slide-content {
    padding-bottom: 7.75rem;
  }
}

.hero-swiper-controls {
  z-index: 20;
  min-height: 3.25rem;
}

.hero-swiper-pagination .swiper-pagination-bullet {
  width: 0.5rem;
  height: 0.5rem;
  margin: 0 0.25rem !important;
  background: rgba(255, 255, 255, 0.55);
  opacity: 1;
  transition: width 200ms ease-out, background-color 200ms ease-out;
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
  width: 1.5rem;
  border-radius: 999px;
  background: var(--color-secondary, #ffca00);
}

.hero-nav-btn {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(8px);
  transition: background-color 200ms ease-out, border-color 200ms ease-out, transform 200ms ease-out;
}

.hero-nav-btn:hover,
.hero-nav-btn:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
  outline: none;
}

.hero-nav-btn:active {
  transform: scale(0.96);
}

.hero-promo-card {
  position: relative;
  display: flex;
  min-height: 0;
  flex: 1;
  overflow: hidden;
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: 1.5rem;
  background: #fff;
  transition: transform 250ms ease-out, box-shadow 250ms ease-out, border-color 250ms ease-out;
}

.hero-promo-card:hover,
.hero-promo-card:focus-visible {
  border-color: rgba(0, 114, 55, 0.28);
  box-shadow: 0 14px 30px rgba(23, 23, 23, 0.08);
  transform: translateY(-2px);
  outline: none;
}

.hero-promo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease-out;
}

.hero-promo-card:hover img {
  transform: scale(1.04);
}

.hero-promo-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 28, 18, 0.1) 0%,
    rgba(12, 28, 18, 0.55) 55%,
    rgba(12, 28, 18, 0.78) 100%
  );
}

@media (min-width: 1024px) {
  .hero-section .grid.lg\:col-span-4,
  .hero-section .lg\:col-span-4 {
    align-content: stretch;
  }

  .hero-section .lg\:col-span-4 > .hero-promo-card,
  .hero-section .lg\:col-span-4 .hero-promo-card {
    min-height: 0;
    height: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-promo-card,
  .hero-promo-card img,
  .hero-nav-btn,
  .hero-swiper-pagination .swiper-pagination-bullet {
    transition-duration: 0.01ms;
  }

  .hero-promo-card:hover img {
    transform: none;
  }
}
