/* ===== HERO SLIDER ===== */

.hs {
  position: relative;
  height: 100vh;
  max-height: 1000px;
  min-height: 600px;
  margin-top: -90px;
  overflow: hidden;
  background: #0a1628;
  display: block;
}

/* === Slides === */
.hs__track {
  position: absolute;
  inset: 0;
}
.hs__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  z-index: 0;
}
.hs__slide.active {
  opacity: 1;
  z-index: 1;
}
.hs__slide img,
.hs__slide video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.08);
  transition: transform 9s ease;
}
.hs__slide.active img,
.hs__slide.active video {
  transform: scale(1.0);
}

/* === Gradient overlay === */
.hs__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(to right, rgba(0,0,0,.4) 0%, transparent 60%),
    linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.25) 55%, transparent 100%);
  pointer-events: none;
}

/* === Left social bar === */
.hs__aside {
  position: absolute;
  left: 2.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.hs__aside-line {
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,.3);
  margin-bottom: .25rem;
}
.hs__aside a {
  color: rgba(255,255,255,.55);
  font-size: .85rem;
  line-height: 1;
  transition: color .3s;
  text-decoration: none;
}
.hs__aside a:hover { color: var(--brown); }

/* === Slide content === */
.hs__content {
  position: absolute;
  left: 8%;
  bottom: 5.5rem;
  z-index: 10;
  max-width: 660px;
}
.hs__tag {
  display: block;
  font-family: "Raleway", serif;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .3rem;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: .9rem;
}
.hs__title {
  display: block;
  font-family: "EB Garamond", serif;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 300;
  color: #fff;
  line-height: 1.12;
  text-transform: uppercase;
  margin-bottom: 2rem;
  letter-spacing: .03rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.hs__title.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.hs__cta {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: "Raleway", serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2rem;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255,255,255,.5);
  padding: .8rem 2rem;
  background: transparent;
  text-decoration: none;
  transition: background .3s, border-color .3s, color .3s;
}
.hs__cta i {
  font-size: .65rem;
  transition: transform .3s ease;
}
.hs__cta:hover {
  background: var(--brown);
  border-color: var(--brown);
  color: #fff;
}
.hs__cta:hover i { transform: translateX(5px); }

/* === Bottom bar === */
.hs__bottom {
  position: absolute;
  bottom: 1.75rem;
  left: 8%;
  right: 12rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hs__counter {
  display: flex;
  align-items: baseline;
  gap: .45rem;
  font-family: "EB Garamond", serif;
}
.hs__num {
  font-size: 1.55rem;
  font-weight: 400;
  color: #fff;
  line-height: 1;
}
.hs__sep {
  font-size: .8rem;
  color: var(--brown);
  margin: 0 .1rem;
}
.hs__total {
  font-size: .85rem;
  color: rgba(255,255,255,.45);
}
.hs__phone a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: "Raleway", serif;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12rem;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  transition: color .3s;
  text-decoration: none;
}
.hs__phone a:hover { color: var(--brown); }
.hs__phone .hs__phone-icon {
  width: 26px;
  height: 26px;
  border: 1px solid var(--brown);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .58rem;
  color: var(--brown);
  flex-shrink: 0;
}

/* === Progress bar === */
.hs__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,.1);
  z-index: 12;
}
.hs__bar {
  height: 100%;
  width: 0%;
  background: var(--brown);
}

/* === Dot nav === */
.hs__dots {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.hs__dot {
  display: block;
  width: 5px;
  height: 5px;
  background: rgba(255,255,255,.3);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  transition: background .3s, height .35s, border-radius .35s;
}
.hs__dot.active {
  background: var(--brown);
  height: 22px;
  border-radius: 3px;
}
.hs__dot:hover:not(.active) {
  background: rgba(255,255,255,.65);
}

/* === Arrows === */
.hs__arrow {
  position: absolute;
  z-index: 10;
  bottom: 1.5rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: .8rem;
  border-radius: 2px;
  transition: background .3s, border-color .3s;
  text-decoration: none;
}
.hs__arrow:hover { background: var(--brown); border-color: var(--brown); }
.hs__arrow--prev { right: 5.5rem; }
.hs__arrow--next { right: 1.75rem; }

/* === Responsive === */
@media screen and (max-width: 900px) {
  .hs__aside { display: none; }
  .hs__content { left: 6%; }
  .hs__bottom { left: 6%; }
}
@media screen and (max-width: 600px) {
  .hs {
    height: 100svh;
    min-height: 500px;
  }
  .hs__content { left: 5%; right: 5%; bottom: 5rem; }
  .hs__title { font-size: clamp(1.8rem, 7vw, 2.6rem); margin-bottom: 1.5rem; }
  .hs__bottom { left: 5%; right: 4.5rem; bottom: 1.25rem; }
  .hs__dots { right: 1rem; }
  .hs__arrow { width: 36px; height: 36px; bottom: 1rem; }
  .hs__arrow--prev { right: 5rem; }
  .hs__arrow--next { right: 1rem; }
  .hs__phone { display: none; }
}
