/* SEVER hero + topbar — ported from hero-and-nav */

:root {
  --white: #f4f3ef;
  --hero-warm: #e8d7b8;
}

.hero-sever {
  --px: 0px;
  --py: 0px;
  /* Управляются из админки (Лендинг) */
  --hero-height: 100svh;
  --hero-shade: 0.3;
  position: relative;
  width: 100%;
  height: var(--hero-height);
  min-height: 650px;
  overflow: hidden;
  background: #142230;
  color: #fff;
  isolation: isolate;
}

.hero-sever .topbar {
  position: absolute;
  z-index: 12;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(28px, 3.2vw, 44px) clamp(28px, 4.8vw, 72px) 0;
  animation: severFadeDown 700ms ease 80ms both;
}

@keyframes severFadeDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
}

.hero-sever .brand {
  display: flex;
  width: max-content;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.98);
  font-size: clamp(15px, 1.05vw, 18px);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero-sever .brand-mark {
  width: clamp(48px, 3.4vw, 58px);
  height: auto;
  flex-shrink: 0;
}

.hero-sever .topbar nav {
  display: flex;
  justify-content: center;
  gap: clamp(28px, 3.8vw, 72px);
}

.hero-sever .topbar nav a {
  position: relative;
  color: #fff;
  font-size: clamp(13px, 0.95vw, 15px);
  font-weight: 400;
  opacity: 0.94;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}

.hero-sever .topbar nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.hero-sever .topbar nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero-sever .contact-button {
  display: inline-flex;
  justify-self: end;
  min-width: 148px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: clamp(13px, 0.9vw, 15px);
  font-weight: 400;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease;
}

.hero-sever .contact-button:hover {
  background: var(--white);
  color: #17191e;
}

.hero-sever .hero-background {
  position: absolute;
  z-index: -3;
  inset: -8% 0;
  background-color: #142230;
  background-image: url("../img/hero-kyrgyzstan-v2.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: translate3d(var(--px), var(--py), 0);
  will-change: transform;
  transition: none;
  animation: severHeroPhotoIn 900ms ease both;
}

.hero-sever .hero-overlay {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 16, 24, 0.32) 0%, rgba(9, 16, 24, 0.12) 40%, rgba(9, 16, 24, 0.02) 68%, rgba(9, 16, 24, 0.04) 100%),
    linear-gradient(180deg, rgba(7, 12, 18, 0.22) 0%, transparent 42%, rgba(5, 9, 14, 0.36) 100%),
    linear-gradient(180deg, rgba(6, 10, 16, var(--hero-shade)) 0%, rgba(6, 10, 16, var(--hero-shade)) 100%);
}

@keyframes severHeroPhotoIn {
  from { opacity: 0; }
}

.hero-sever .hero-copy {
  position: absolute;
  z-index: 4;
  top: 26%;
  left: clamp(28px, 4.8vw, 72px);
  /* Was min(540px, 40vw) — too narrow, clipped «ПРОСТРАНСТВО» */
  width: min(760px, 62vw);
  max-width: calc(100% - clamp(28px, 4.8vw, 72px) - 32px);
  overflow: visible;
  animation: severHeroCopyIn 900ms cubic-bezier(0.16, 1, 0.3, 1) 260ms both;
}

@keyframes severHeroCopyIn {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
}

.hero-sever .hero-eyebrow {
  display: block;
  margin-bottom: clamp(18px, 1.6vw, 28px);
  font-size: clamp(11px, 0.72vw, 12px);
  font-weight: 500;
  letter-spacing: 0.4em;
  opacity: 0.82;
}

.hero-sever .hero-copy h1 {
  margin: 0;
  font-size: clamp(42px, 4.6vw, 76px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.96;
  overflow: visible;
}

.hero-sever .hero-copy h1 span,
.hero-sever .hero-copy h1 .hero-line {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  overflow: visible;
}

/* When GSAP motion is on — kill CSS intro so timelines don't fight */
html.js-motion .hero-sever .topbar,
html.js-motion .hero-sever .hero-copy,
html.js-motion .hero-sever .hero-footer,
html.js-motion .hero-sever .hero-background {
  animation: none !important;
}
html.js-motion .hero-sever .hero-background {
  /* GSAP owns transform (scale + scroll + pointer) */
  transform: none;
}
html.js-motion .hero-sever .hero-line {
  will-change: clip-path;
}

/* Hide hero chrome until intro runs (loader covers page first) */
html.js-motion:not(.is-loaded) .hero-sever .topbar,
html.js-motion:not(.is-loaded) .hero-sever .hero-copy,
html.js-motion:not(.is-loaded) .hero-sever .hero-footer {
  opacity: 0;
}

.hero-sever .hero-copy p {
  margin: clamp(18px, 1.6vw, 28px) 0 0;
  max-width: 28em;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(13px, 0.9vw, 16px);
  font-weight: 400;
  line-height: 1.55;
}

.hero-sever .hero-actions {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.4vw, 40px);
  margin-top: clamp(24px, 2.4vw, 38px);
}

.hero-sever .primary-hero-action {
  display: flex;
  min-width: 236px;
  height: 54px;
  align-items: center;
  justify-content: space-between;
  padding-left: 26px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(12, 16, 22, 0.28);
  font-size: clamp(13px, 0.92vw, 15px);
  font-weight: 500;
  backdrop-filter: blur(6px);
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

.hero-sever .primary-hero-action i {
  display: grid;
  width: 44px;
  height: 44px;
  margin-right: 5px;
  place-items: center;
  border-radius: 50%;
  background: #f4f3ef;
  color: #14202a;
  font-size: 20px;
  font-style: normal;
  transition: transform 220ms ease;
}

.hero-sever .primary-hero-action:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.hero-sever .primary-hero-action:hover i {
  transform: translateX(2px);
}

@keyframes ctaGlow {
  0% {
    box-shadow: 0 0 14px 2px rgba(212, 163, 90, 0.55), 0 0 6px rgba(255, 255, 255, 0.4);
  }
  50% {
    box-shadow: 0 0 30px 10px rgba(212, 163, 90, 0.9), 0 0 14px 2px rgba(255, 255, 255, 0.7);
  }
  100% {
    box-shadow: 0 0 14px 2px rgba(212, 163, 90, 0.55), 0 0 6px rgba(255, 255, 255, 0.4);
  }
}

.hero-sever .secondary-hero-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff !important;
  font: inherit;
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  animation: none;
  transition: opacity 200ms ease, transform 200ms ease;
}

.hero-sever .secondary-hero-action * {
  color: #ffffff !important;
}

.hero-sever .secondary-hero-action span[aria-hidden],
.hero-sever .secondary-hero-action i {
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #ffffff !important;
  font-style: normal;
  font-size: 15px;
  line-height: 1;
  transition: transform 200ms ease;
}

.hero-sever .secondary-hero-action:hover {
  opacity: 0.85;
  background: transparent;
  color: #ffffff !important;
}

.hero-sever .secondary-hero-action:hover span[aria-hidden],
.hero-sever .secondary-hero-action:hover i {
  transform: translate(2px, -2px);
}

.hero-sever .hero-footer {
  position: absolute;
  z-index: 5;
  right: clamp(28px, 4.8vw, 72px);
  bottom: clamp(18px, 2vw, 28px);
  left: clamp(28px, 4.8vw, 72px);
  display: grid;
  grid-template-columns: minmax(420px, 1fr) auto auto auto;
  align-items: center;
  gap: clamp(22px, 3vw, 56px);
  min-height: 72px;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(12px, 0.9vw, 14px);
  animation: severFooterIn 700ms ease 200ms both;
}

@keyframes severFooterIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
}

.hero-sever .property-tabs {
  display: flex;
  align-self: stretch;
  align-items: center;
  gap: clamp(36px, 4.8vw, 88px);
}

.hero-sever .property-tabs a {
  position: relative;
  display: flex;
  height: 100%;
  align-items: center;
  font-weight: 500;
}

.hero-sever .property-tabs a::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--hero-warm);
  content: "";
  transition: width 220ms ease;
}

.hero-sever .property-tabs a:hover::after,
.hero-sever .property-tabs a.active::after {
  width: 34px;
}

.hero-sever .property-tabs a.active {
  color: #fff;
}

.hero-sever .hero-location,
.hero-sever .hero-counter {
  white-space: nowrap;
  font-weight: 500;
}

.hero-sever .hero-slider-controls {
  display: flex;
  gap: 10px;
}

.hero-sever .hero-slider-controls button {
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: transparent;
  color: white;
  cursor: pointer;
  font-size: 15px;
  transition: background 200ms ease, color 200ms ease;
}

.hero-sever .hero-slider-controls button:hover {
  background: white;
  color: #13212d;
}

@media (max-width: 1100px) {
  .hero-sever .topbar {
    padding-right: 4vw;
    padding-left: 4vw;
  }

  .hero-sever .hero-copy {
    left: 4vw;
    width: min(680px, 72vw);
    max-width: calc(100% - 8vw);
  }

  .hero-sever .hero-copy h1 {
    font-size: clamp(40px, 5.4vw, 64px);
  }

  .hero-sever .hero-footer {
    right: 4vw;
    left: 4vw;
    grid-template-columns: minmax(360px, 1fr) auto auto;
    gap: 24px;
  }

  .hero-sever .hero-location {
    display: none;
  }

  .hero-sever .property-tabs {
    gap: 40px;
  }
}

@media (max-width: 760px) {
  /*
   * Mobile hero: flex stack instead of absolute layers.
   * Avoids left-clip from scroll x-transforms + nowrap titles.
   */
  .hero-sever {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 100svh;
    min-height: 100dvh;
    padding:
      calc(18px + env(safe-area-inset-top, 0px))
      0
      calc(12px + env(safe-area-inset-bottom, 0px));
    overflow: hidden;
  }

  .hero-sever .topbar {
    position: relative;
    z-index: 12;
    flex-shrink: 0;
    padding: 4px max(18px, env(safe-area-inset-right, 0px)) 0 max(18px, env(safe-area-inset-left, 0px));
    gap: 12px;
  }

  .hero-sever .brand {
    gap: 10px;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }

  .hero-sever .brand-mark {
    width: 44px;
  }

  .hero-sever .contact-button {
    min-width: 0;
    flex-shrink: 0;
    padding: 10px 14px;
    font-size: 12px;
    gap: 6px;
  }

  .hero-sever .hero-background {
    inset: -4% -8%;
    background-position: 62% center;
  }

  .hero-sever .hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(6, 10, 16, 0.55) 0%,
        rgba(6, 10, 16, 0.22) 28%,
        rgba(6, 10, 16, 0.18) 52%,
        rgba(4, 8, 12, 0.78) 100%
      ),
      linear-gradient(
        90deg,
        rgba(6, 10, 16, 0.42) 0%,
        rgba(6, 10, 16, 0.12) 55%,
        transparent 100%
      );
  }

  .hero-sever .hero-copy {
    position: relative;
    z-index: 4;
    top: auto;
    left: auto;
    width: auto;
    max-width: none;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px max(18px, env(safe-area-inset-right, 0px)) 20px max(18px, env(safe-area-inset-left, 0px));
    box-sizing: border-box;
  }

  .hero-sever .hero-eyebrow {
    margin-bottom: 14px;
    font-size: 10px;
    letter-spacing: 0.22em;
    line-height: 1.4;
    max-width: 100%;
    white-space: normal;
  }

  .hero-sever .hero-copy h1 {
    max-width: none;
    font-size: clamp(32px, 9.2vw, 44px);
    line-height: 1.05;
    letter-spacing: -0.035em;
  }

  .hero-sever .hero-copy h1 span,
  .hero-sever .hero-copy h1 .hero-line {
    display: block;
    width: auto;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hero-sever .hero-copy p {
    margin-top: 14px;
    max-width: 34em;
    font-size: 13.5px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
  }

  .hero-sever .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    margin-top: 22px;
    width: 100%;
  }

  .hero-sever .primary-hero-action {
    width: 100%;
    min-width: 0;
    height: 52px;
    padding-left: 20px;
    justify-content: space-between;
    background: rgba(12, 16, 22, 0.42);
    border-color: rgba(255, 255, 255, 0.65);
  }

  .hero-sever .primary-hero-action i {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .hero-sever .secondary-hero-action {
    justify-content: flex-start;
    min-height: 44px;
    font-size: 14px;
  }

  .hero-sever .hero-footer {
    position: relative;
    z-index: 5;
    right: auto;
    bottom: auto;
    left: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 0;
    margin: 0 max(18px, env(safe-area-inset-left, 0px)) 0 max(18px, env(safe-area-inset-right, 0px));
    padding: 14px 0 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    box-sizing: border-box;
  }

  .hero-sever .property-tabs {
    flex: 1 1 auto;
    min-width: 0;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    mask-image: linear-gradient(90deg, #000 78%, transparent 100%);
  }

  .hero-sever .property-tabs::-webkit-scrollbar {
    display: none;
  }

  .hero-sever .property-tabs a {
    flex: 0 0 auto;
    font-size: 12.5px;
    letter-spacing: 0.02em;
    padding: 6px 14px 6px 0;
    white-space: nowrap;
  }

  .hero-sever .property-tabs a:nth-child(n + 3) {
    display: inline-flex;
  }

  .hero-sever .hero-location,
  .hero-sever .hero-counter {
    display: none;
  }

  .hero-sever .hero-slider-controls {
    flex-shrink: 0;
    gap: 8px;
  }

  .hero-sever .hero-slider-controls button {
    width: 40px;
    height: 40px;
  }

  .hero-sever .brand-logo {
    height: 34px;
  }
}

@media (max-width: 380px) {
  .hero-sever .hero-copy h1 {
    font-size: clamp(28px, 8.4vw, 36px);
  }

  .hero-sever .hero-eyebrow {
    letter-spacing: 0.16em;
    font-size: 9px;
  }

  .hero-sever .contact-button {
    padding: 10px 12px;
    font-size: 11px;
  }
}

/* Баннер из объекта — правая зона hero (фон hero не трогаем) */
.hero-feature {
  position: absolute;
  z-index: 6;
  right: clamp(28px, 4.8vw, 72px);
  top: 50%;
  transform: translateY(-42%);
  width: min(340px, 32vw);
  animation: severHeroCopyIn 900ms cubic-bezier(0.16, 1, 0.3, 1) 420ms both;
}
.hero-feature__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 2px;
}
.hero-feature__track {
  position: relative;
  width: 100%;
  /* высота от активного слайда — все слайды absolute поверх */
  min-height: 1px;
}
.hero-feature--carousel .hero-feature__track {
  display: grid;
}
.hero-feature--carousel .hero-feature__slide {
  grid-area: 1 / 1;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(18px, 10px, 0) scale(0.96);
  filter: blur(6px);
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.72s;
  will-change: opacity, transform, filter;
  z-index: 1;
}
.hero-feature--carousel .hero-feature__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
  transition-delay: 0s;
  z-index: 3;
}
.hero-feature--carousel .hero-feature__slide.is-enter-next {
  animation: heroBannerInNext 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-feature--carousel .hero-feature__slide.is-enter-prev {
  animation: heroBannerInPrev 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-feature--carousel .hero-feature__slide.is-leave-next {
  animation: heroBannerOutNext 0.72s cubic-bezier(0.4, 0, 0.2, 1) both;
  z-index: 2;
  pointer-events: none;
}
.hero-feature--carousel .hero-feature__slide.is-leave-prev {
  animation: heroBannerOutPrev 0.72s cubic-bezier(0.4, 0, 0.2, 1) both;
  z-index: 2;
  pointer-events: none;
}
.hero-feature--carousel .hero-feature__slide.is-active .hero-feature__media img {
  animation: heroBannerKen 6.2s ease-out both;
}
.hero-feature__slide {
  width: 100%;
}
.hero-feature__slide[hidden] {
  display: none !important;
}

@keyframes heroBannerInNext {
  from {
    opacity: 0;
    visibility: visible;
    transform: translate3d(28px, 12px, 0) scale(0.94);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}
@keyframes heroBannerInPrev {
  from {
    opacity: 0;
    visibility: visible;
    transform: translate3d(-28px, 12px, 0) scale(0.94);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}
@keyframes heroBannerOutNext {
  from {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
  to {
    opacity: 0;
    transform: translate3d(-22px, -8px, 0) scale(0.96);
    filter: blur(6px);
  }
}
@keyframes heroBannerOutPrev {
  from {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
  to {
    opacity: 0;
    transform: translate3d(22px, -8px, 0) scale(0.96);
    filter: blur(6px);
  }
}
@keyframes heroBannerKen {
  from { transform: scale(1.04); }
  to { transform: scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-feature--carousel .hero-feature__slide,
  .hero-feature--carousel .hero-feature__slide.is-enter-next,
  .hero-feature--carousel .hero-feature__slide.is-enter-prev,
  .hero-feature--carousel .hero-feature__slide.is-leave-next,
  .hero-feature--carousel .hero-feature__slide.is-leave-prev {
    animation: none !important;
    transition: opacity 0.2s ease !important;
    filter: none !important;
    transform: none !important;
  }
  .hero-feature--carousel .hero-feature__slide.is-active .hero-feature__media img {
    animation: none !important;
  }
}
.hero-feature__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(244, 243, 239, 0.22);
  border-radius: 2px;
  background: rgba(14, 24, 34, 0.52);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  color: #f4f3ef;
  text-align: left;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.hero-feature__card:hover {
  background: rgba(14, 24, 34, 0.68);
  border-color: rgba(212, 185, 120, 0.45);
  transform: translateY(-2px);
}
.hero-feature__media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1a2430;
}
.hero-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(.22,1,.36,1);
}
.hero-feature__card:hover .hero-feature__media img {
  transform: scale(1.05);
}
.hero-feature__badge {
  display: inline-flex;
  margin: 14px 18px 0;
  padding: 6px 10px;
  background: rgba(244, 243, 239, 0.92);
  color: #0e1822;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-feature__card > .hero-feature__badge:first-child {
  margin-top: 18px;
}
.hero-feature__price {
  margin: 4px 18px 0;
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.hero-feature__title {
  margin: 0 18px;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.hero-feature__meta,
.hero-feature__addr {
  margin: 0 18px;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(244, 243, 239, 0.72);
}
.hero-feature__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 8px 18px 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(244, 243, 239, 0.16);
  width: calc(100% - 36px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d4b978;
}
.hero-feature__card:hover .hero-feature__cta span {
  transform: translateX(3px);
}
.hero-feature__cta span {
  display: inline-block;
  transition: transform 0.2s ease;
}

.hero-feature__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}
.hero-feature__arrow {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(244, 243, 239, 0.28);
  background: rgba(14, 24, 34, 0.45);
  color: #f4f3ef;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.hero-feature__arrow:hover {
  background: rgba(14, 24, 34, 0.72);
  border-color: rgba(212, 185, 120, 0.5);
  transform: scale(1.05);
}
.hero-feature__arrow:active {
  transform: scale(0.96);
}
.hero-feature__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
}
.hero-feature__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(244, 243, 239, 0.35);
  cursor: pointer;
  transition: background 0.35s ease, transform 0.35s ease, width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-feature__dot.is-active {
  width: 22px;
  background: #d4b978;
  transform: none;
}
.hero-feature__counter {
  margin-top: 8px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(244, 243, 239, 0.7);
  transition: opacity 0.3s ease;
}

@media (max-width: 980px) {
  .hero-feature {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: min(420px, 100%);
    margin: 0 clamp(20px, 4vw, 40px) 18px;
    animation: none;
  }
  .hero-sever--banner {
    display: flex;
    flex-direction: column;
  }
  .hero-sever--banner .hero-copy {
    flex: 1 1 auto;
  }
  .hero-sever--banner .hero-footer {
    margin-top: auto;
  }
}

html.js-motion .hero-feature {
  animation: none !important;
}
html.js-motion:not(.is-loaded) .hero-feature {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .hero-sever .hero-background {
    transform: none !important;
    transition: none !important;
  }

  .hero-sever .topbar,
  .hero-sever .hero-copy,
  .hero-sever .hero-footer,
  .hero-sever .hero-background,
  .hero-feature,
  .moving-clouds,
  .fog-low,
  .fog-low.right {
    animation: none !important;
  }
}

/* ---------- Fog & Moving Clouds (Transition Hero -> Stats) ---------- */
.moving-clouds {
  position: absolute;
  z-index: 1;
  bottom: -50px;
  left: 0;
  width: 250%;
  height: 110px;
  background-repeat: repeat-x;
  background-size: contain;
  background-position: bottom left;
  pointer-events: none;
  opacity: 0.35;
  animation: severMovingClouds 35s linear infinite;
}

@keyframes severMovingClouds {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.fog-low {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: -95px;
  margin-left: -35%;
  width: 110%;
  opacity: 0.55;
  pointer-events: none;
  animation: severFogFloat 9s ease-in-out infinite alternate;
}

.fog-low.right {
  margin-left: 25%;
  bottom: -85px;
  opacity: 0.65;
  animation: severFogFloatRight 11s ease-in-out infinite alternate;
}

.fog-low img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes severFogFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(5%, -4px, 0) scale(1.03);
  }
}

@keyframes severFogFloatRight {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-5%, -6px, 0) scale(1.03);
  }
}
