/* ===== Hero Slider (Modern) ===== */
.ea-hero{ position:relative; overflow:hidden; }
.ea-hero__splide{ border-radius: 18px; }
.ea-hero__slide{ position:relative; height:min(72vh, 780px); display:flex; align-items:center; justify-content:center; }
.ea-hero__media{ position:absolute; inset:0; overflow:hidden; }
.ea-hero__image, .ea-hero__video{ width:100%; height:100%; object-fit:cover; display:block; }
.ea-hero__video-wrapper{ position:absolute; inset:0; }
.ea-hero__overlay{ position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.25));
  pointer-events:none;
}
/* overlay strength via class */
[class*='overlay-'] .ea-hero__overlay{ opacity: .4; }
.overlay-20 .ea-hero__overlay{ opacity:.20; }
.overlay-35 .ea-hero__overlay{ opacity:.35; }
.overlay-40 .ea-hero__overlay{ opacity:.40; }
.overlay-60 .ea-hero__overlay{ opacity:.60; }

/* Ken Burns */
.kenburns .ea-hero__image{ transform: scale(1.05); transition: transform 6s ease; }
.splide__slide.is-active .kenburns .ea-hero__image{ transform: scale(1.12); }

/* Caption */
.ea-hero__caption{ position:relative; z-index:2; width: min(960px, 90%); }
.ea-hero__caption-inner{
  display:flex; flex-direction:column; gap:14px;
  color:#fff; padding: 22px 24px; border-radius: 14px;
  background: rgba(20,20,20,.30); backdrop-filter: blur(4px);
}
.ea-hero__badge{ display:inline-block; font-size:12px; letter-spacing:.15em; text-transform:uppercase; opacity:.9; }
.ea-hero__eyebrow{ font-size:14px; opacity:.85; }
.ea-hero__title{ font-size: clamp(28px, 5vw, 54px); line-height:1.10; margin:0; }
.ea-hero__text{ font-size: clamp(16px, 2.3vw, 20px); line-height:1.6; margin: 2px 0 6px; opacity:.95; }
.ea-btn{ display:inline-flex; align-items:center; justify-content:center; height:44px; padding:0 18px; border-radius:999px; text-decoration:none; font-weight:700; }
.ea-btn--primary{ background: #6f5854;
    color: white; }
.is-dark .ea-hero__caption-inner{ background: rgba(255,255,255,.14); color:#111; }
.is-dark .ea-hero__title, .is-dark .ea-hero__text{ color:#111; }
.align-left .ea-hero__caption{ margin-left: 8%; }
.align-center .ea-hero__caption{ margin: 0 auto; text-align:center; }
.align-right .ea-hero__caption{ margin-left:auto; margin-right: 8%; text-align:right; }

/* Arrows & dots */
.ea-hero__arrows .splide__arrow{ background: rgba(0,0,0,.35); border:1px solid rgba(255,255,255,.2); width:40px; height:40px; border-radius:10px; }
.ea-hero__dots{ bottom: 14px !important; }
.ea-hero__dots .splide__pagination__page{ background: rgba(255,255,255,.5); }
.ea-hero__dots .splide__pagination__page.is-active{ transform: scale(1.2); background:#fff; }

/* Progress bar */
.ea-hero__progress{ position:absolute; left:18px; right:18px; bottom:8px; height:3px; background:rgba(255,255,255,.18); border-radius:2px; overflow:hidden; }
.ea-hero__bar{ display:block; width:100%; height:100%; background:#fff; transform:scaleX(0); transform-origin:left center; }

/* Mobile */
@media (max-width: 768px){
  .ea-hero__slide{ height: 58vh; }
  .ea-hero__caption-inner{ padding:16px 16px; }
  .ea-hero__progress{ left:12px; right:12px; }
}
