.acc-hero-slider {
  --acc-accent: #2cb45c;
  --acc-overlay-left: rgba(23, 27, 29, 0.94);
  --acc-overlay-middle: rgba(23, 27, 29, 0.7);
  --acc-overlay-right: rgba(23, 27, 29, 0.18);
  --acc-indicator-inactive: rgba(255, 255, 255, 0.28);
  --acc-arrow-border: rgba(255, 255, 255, 0.32);
  --acc-duration: 7000ms;
  --acc-image-zoom: 1.02;
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 740px;
  min-height: 740px;
  overflow: hidden;
  background: #1a1d1f;
  color: #fff;
  outline: none;
  touch-action: pan-y;
}

.acc-hero-slider:focus-visible {
  box-shadow: inset 0 0 0 2px var(--acc-accent);
}

.acc-hero-slider *,
.acc-hero-slider *::before,
.acc-hero-slider *::after {
  box-sizing: border-box;
}

.acc-hero-slider__slides,
.acc-hero-slider__slide,
.acc-hero-slider__media,
.acc-hero-slider__overlay {
  position: absolute;
  inset: 0;
}

.acc-hero-slider__slide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 700ms ease, visibility 0s linear 700ms;
}

.acc-hero-slider__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
  z-index: 1;
}

.acc-hero-slider__media {
  overflow: hidden;
}

.acc-hero-slider__media {
  background: #1a1d1f;
}

.acc-hero-slider__image {
  display: block;
  width: 100%;
  height: 100%;
  transform: scale(1);
  transition: transform 9000ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* Per-slide image framing.
   Keep these declarations scoped + !important because some Elementor themes
   ship global img/object-position rules with !important. The values live on
   each slide as CSS variables, so changing Image Position in the repeater
   reliably changes the actual <img> crop/focal point. */
.acc-hero-slider .acc-hero-slider__slide .acc-hero-slider__image {
  object-fit: var(--acc-slide-image-fit, cover) !important;
  object-position: var(--acc-slide-image-position, 50% 50%) !important;
  transform-origin: var(--acc-slide-image-position, 50% 50%) !important;
}

.acc-hero-slider__slide.is-active .acc-hero-slider__image {
  transform: scale(var(--acc-image-zoom));
}

.acc-hero-slider__overlay {
  z-index: 1;
  background: linear-gradient(
    90deg,
    var(--acc-overlay-left) 0%,
    var(--acc-overlay-middle) 48%,
    var(--acc-overlay-right) 100%
  );
}

.acc-hero-slider__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  height: 100%;
  margin-inline: auto;
  padding-inline: 32px;
}

.acc-hero-slider__slide .acc-hero-slider__inner {
  display: flex;
  align-items: center;
}

.acc-hero-slider__content {
  width: 100%;
  max-width: 650px;
  padding-block: 48px 110px;
}

.acc-hero-slider__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--acc-accent);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.acc-hero-slider__eyebrow-line {
  display: block;
  width: 24px;
  height: 1px;
  flex: 0 0 24px;
  background: currentColor;
}

.acc-hero-slider__title {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 4.6vw, 72px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.acc-hero-slider__body {
  max-width: 610px;
  margin: 0;
}

.acc-hero-slider__body--primary {
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.72;
}

.acc-hero-slider__body--secondary {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
  line-height: 1.65;
}

.acc-hero-slider__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.acc-hero-slider__button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 16px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.acc-hero-slider__button:hover,
.acc-hero-slider__button:focus-visible {
  transform: translateY(-1px);
}

.acc-hero-slider__button:focus-visible,
.acc-hero-slider__arrow:focus-visible,
.acc-hero-slider__indicator:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.acc-hero-slider__button--primary {
  background: var(--acc-accent);
  color: #fff;
}

.acc-hero-slider__button--primary:hover,
.acc-hero-slider__button--primary:focus-visible {
  filter: brightness(1.05);
}

.acc-hero-slider__button--secondary {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.acc-hero-slider__button--secondary:hover,
.acc-hero-slider__button--secondary:focus-visible {
  border-color: var(--acc-accent);
  background: var(--acc-accent);
}

.acc-hero-slider__button-icon {
  display: inline-flex;
  width: 17px;
  height: 17px;
}

.acc-hero-slider__button-icon svg,
.acc-hero-slider__arrow svg {
  width: 100%;
  height: 100%;
}

.acc-hero-slider__animate {
  opacity: 0;
  transform: translateY(18px);
}

.acc-hero-slider__slide.is-active .acc-hero-slider__animate {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 600ms cubic-bezier(0.22, 1, 0.36, 1), transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.acc-hero-slider__slide.is-active .acc-hero-slider__animate--1 { transition-delay: 100ms; }
.acc-hero-slider__slide.is-active .acc-hero-slider__animate--2 { transition-delay: 180ms; }
.acc-hero-slider__slide.is-active .acc-hero-slider__animate--3 { transition-delay: 260ms; }
.acc-hero-slider__slide.is-active .acc-hero-slider__animate--4 { transition-delay: 340ms; }
.acc-hero-slider__slide.is-active .acc-hero-slider__animate--5 { transition-delay: 420ms; }

.acc-hero-slider__navigation {
  position: absolute;
  z-index: 5;
  inset-inline: 0;
  bottom: 30px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  pointer-events: none;
}

.acc-hero-slider__indicators {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 10px;
  max-width: 330px;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: auto;
}

.acc-hero-slider__indicator-item {
  flex: 1 1 0;
  max-width: 64px;
  margin: 0;
  padding: 0;
}

.acc-hero-slider__indicator {
  display: block;
  width: 100%;
  padding: 11px 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

/* Prevent Elementor/theme global button hover/focus colors (for example #c36)
   from leaking into the slider indicator controls. */
.acc-hero-slider button.acc-hero-slider__indicator,
.acc-hero-slider button.acc-hero-slider__indicator:hover,
.acc-hero-slider button.acc-hero-slider__indicator:focus,
.acc-hero-slider button.acc-hero-slider__indicator:focus-visible,
.acc-hero-slider button.acc-hero-slider__indicator:active {
  border-color: transparent !important;
  background: transparent !important;
  background-color: transparent !important;
  color: inherit !important;
  box-shadow: none !important;
}

.acc-hero-slider__indicator-track {
  position: relative;
  display: block;
  width: 100%;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--acc-indicator-inactive);
}

.acc-hero-slider__indicator-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--acc-accent);
  transform: scaleX(0);
  transform-origin: left center;
}

.acc-hero-slider__indicator.is-active .acc-hero-slider__indicator-fill {
  animation: accHeroProgress var(--acc-duration) linear forwards;
}

.acc-hero-slider[data-autoplay="false"] .acc-hero-slider__indicator.is-active .acc-hero-slider__indicator-fill,
.acc-hero-slider.is-reduced-motion .acc-hero-slider__indicator.is-active .acc-hero-slider__indicator-fill {
  animation: none;
  transform: scaleX(1);
}

.acc-hero-slider.is-paused .acc-hero-slider__indicator.is-active .acc-hero-slider__indicator-fill {
  animation-play-state: paused;
}

.acc-hero-slider__arrows {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}

.acc-hero-slider__arrow {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--acc-arrow-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Lock arrow states against Elementor/theme global button styles. */
.acc-hero-slider button.acc-hero-slider__arrow {
  border-color: var(--acc-arrow-border) !important;
  background: rgba(255, 255, 255, 0.02) !important;
  background-color: rgba(255, 255, 255, 0.02) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.acc-hero-slider__arrow svg {
  width: 17px;
  height: 17px;
}

.acc-hero-slider button.acc-hero-slider__arrow:hover,
.acc-hero-slider button.acc-hero-slider__arrow:focus,
.acc-hero-slider button.acc-hero-slider__arrow:focus-visible,
.acc-hero-slider button.acc-hero-slider__arrow:active,
.acc-hero-slider button.acc-hero-slider__arrow--next {
  border-color: var(--acc-accent) !important;
  background: var(--acc-accent) !important;
  background-color: var(--acc-accent) !important;
  color: #fff !important;
}

.acc-hero-slider__arrow:hover {
  transform: translateY(-1px);
}

@keyframes accHeroProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Reference-proportion desktop mode.
   It reduces the fixed-height crop that becomes obvious on narrower desktop widths. */
@media (min-width: 1025px) {
  .acc-hero-slider.acc-hero-slider--adaptive-height {
    height: clamp(600px, 41.35vw, 740px) !important;
    min-height: clamp(600px, 41.35vw, 740px) !important;
  }
}

@media (max-width: 1024px) {
  .acc-hero-slider {
    height: 680px;
    min-height: 680px;
  }

  /* Tablet/mobile must stay full-bleed like the reference hero.
     This intentionally overrides a per-slide `contain` choice so the media
     always fills the complete slider height and never exposes the dark
     slider background underneath the image. */
  .acc-hero-slider .acc-hero-slider__slide .acc-hero-slider__image {
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    /* Do not reset object-position here: the selected per-slide focal point
       must continue to work on tablet/mobile. */
    object-position: var(--acc-slide-image-position, 50% 50%) !important;
    transform-origin: var(--acc-slide-image-position, 50% 50%) !important;
  }

  .acc-hero-slider__inner {
    padding-inline: 28px;
  }

  .acc-hero-slider__content {
    max-width: 610px;
  }

  .acc-hero-slider__title {
    font-size: clamp(40px, 6vw, 62px);
  }
}

@media (max-width: 767px) {
  .acc-hero-slider {
    height: 600px;
    min-height: 600px;
  }

  .acc-hero-slider__overlay {
    background: linear-gradient(
      90deg,
      var(--acc-overlay-left) 0%,
      var(--acc-overlay-middle) 68%,
      var(--acc-overlay-right) 100%
    );
  }

  .acc-hero-slider__inner {
    padding-inline: 20px;
  }

  .acc-hero-slider__content {
    max-width: 100%;
    padding-block: 42px 100px;
  }

  .acc-hero-slider__eyebrow {
    margin-bottom: 15px;
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .acc-hero-slider__eyebrow-line {
    width: 20px;
    flex-basis: 20px;
  }

  .acc-hero-slider__title {
    font-size: clamp(36px, 10.5vw, 50px);
    line-height: 1.04;
  }

  .acc-hero-slider__body--primary {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.6;
  }

  .acc-hero-slider__body--secondary {
    display: none;
  }

  .acc-hero-slider__actions {
    margin-top: 24px;
    gap: 10px;
  }

  .acc-hero-slider__button {
    min-height: 46px;
    padding: 14px 17px;
    font-size: 14px;
  }

  .acc-hero-slider__navigation {
    bottom: 18px;
    gap: 16px;
  }

  .acc-hero-slider__indicators {
    max-width: 220px;
    gap: 7px;
  }

  .acc-hero-slider__indicator-item {
    max-width: 46px;
  }

  .acc-hero-slider__arrow {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
}

@media (max-width: 520px) {
  .acc-hero-slider__button--secondary {
    max-width: 100%;
  }

  .acc-hero-slider__indicators {
    max-width: 170px;
  }

  .acc-hero-slider__indicator-item {
    max-width: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .acc-hero-slider__slide,
  .acc-hero-slider__image,
  .acc-hero-slider__animate,
  .acc-hero-slider__button,
  .acc-hero-slider__arrow {
    transition: none !important;
    animation: none !important;
  }

  .acc-hero-slider__slide.is-active .acc-hero-slider__image {
    transform: none;
  }

  .acc-hero-slider__slide.is-active .acc-hero-slider__animate {
    opacity: 1;
    transform: none;
  }

  .acc-hero-slider__indicator.is-active .acc-hero-slider__indicator-fill {
    animation: none !important;
    transform: scaleX(1);
  }
}
