*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0A0C12;
  --text: #F0E8DC;
  --accent: #7A2435;
  --gold: #C9A962;
  --gold-soft: rgba(201, 169, 98, 0.18);
  --muted: #9A9084;
  --card: rgba(201, 169, 98, 0.07);
  --panel: rgba(12, 14, 22, 0.94);
  --line: rgba(201, 169, 98, 0.22);
  --line-strong: rgba(201, 169, 98, 0.45);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Noto Sans', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow: hidden;
  height: 100svh;
  max-height: 100svh;
  -webkit-font-smoothing: antialiased;
}

.hero {
  position: relative;
  height: 100svh;
  max-height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 30% 70%;
  align-items: stretch;
  opacity: 0;
}

.hero__aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  max-height: 100svh;
  padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1rem, 2vw, 1.5rem);
  border-right: 1px solid var(--line);
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(201, 169, 98, 0.1) 0%, transparent 70%),
    radial-gradient(ellipse 60% 30% at 80% 100%, rgba(122, 36, 53, 0.12) 0%, transparent 70%),
    linear-gradient(180deg, #0A0C12 0%, #0E1018 55%, #080A10 100%);
  overflow: hidden;
}

.aside-top {
  flex-shrink: 0;
  text-align: center;
  opacity: 0;
}

.aside-top__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.aside-top__line {
  flex: 1;
  max-width: 4rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.aside-top__mark {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  color: var(--gold);
  opacity: 0.95;
  line-height: 1;
}

.hero__logo {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.55rem;
}

.aside-top__tagline {
  font-size: clamp(0.88rem, 1.6vw, 1.05rem);
  color: var(--muted);
  letter-spacing: 0.07em;
  line-height: 1.45;
}

.aside-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0.5rem 0;
}

.aside-panel {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  padding: clamp(0.85rem, 1.5vw, 1.1rem) clamp(0.9rem, 1.4vw, 1.15rem);
  background:
    linear-gradient(160deg, rgba(201, 169, 98, 0.08) 0%, transparent 40%),
    var(--panel);
  border: 1px solid var(--line-strong);
  box-shadow:
    inset 0 1px 0 rgba(201, 169, 98, 0.12),
    0 8px 28px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px);
}

.aside-panel__corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0.7;
}

.aside-panel__corner--tl { top: 6px; left: 6px; border-width: 1px 0 0 1px; }
.aside-panel__corner--tr { top: 6px; right: 6px; border-width: 1px 1px 0 0; }
.aside-panel__corner--bl { bottom: 6px; left: 6px; border-width: 0 0 1px 1px; }
.aside-panel__corner--br { bottom: 6px; right: 6px; border-width: 0 1px 1px 0; }

.aside-panel__head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.aside-panel__label {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

.aside-panel__rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}

.benefits-carousel {
  border-top: 1px solid rgba(201, 169, 98, 0.12);
  padding-top: 0.75rem;
}

.benefits-carousel__stage {
  position: relative;
  min-height: clamp(9.5rem, 20vw, 13rem);
}

.benefit-card {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  padding: 0.15rem 0.1rem 0;
}

.benefit-card.is-active {
  visibility: visible;
}

.benefit-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2rem);
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.65rem;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.benefit-card p {
  font-size: clamp(1.08rem, 2.1vw, 1.28rem);
  line-height: 1.5;
  color: var(--text);
  opacity: 0.9;
  font-weight: 400;
}

.benefits-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.85rem;
}

.benefits-carousel__dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.25;
  transition: opacity 0.3s, transform 0.3s;
}

.benefits-carousel__dots span.is-active {
  opacity: 0.9;
  transform: scale(1.35);
}

.aside-bottom {
  flex-shrink: 0;
  text-align: center;
  opacity: 0;
}

.aside-bottom__rule {
  display: block;
  width: 100%;
  height: 1px;
  margin-bottom: 0.75rem;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}

.hero__visual {
  position: relative;
  overflow: hidden;
  height: 100svh;
  max-height: 100svh;
  background: #0A0C12;
}

.hero__moon {
  position: absolute;
  width: clamp(160px, 24vw, 300px);
  height: clamp(160px, 24vw, 300px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 98, 0.55) 0%, transparent 70%);
  opacity: 0;
  top: 10%;
  right: 8%;
  transform: scale(0);
  z-index: 0;
}

.hero__image-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  clip-path: inset(100% 0 0 0);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}

.hero__btn-wrap {
  position: absolute;
  bottom: clamp(4rem, 9vw, 6.5rem);
  left: 0;
  right: 0;
  display: flex;
  z-index: 3;
  padding: 0 clamp(0.65rem, 2vw, 0.85rem);
  pointer-events: none;
}

.hero__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: clamp(1.15rem, 3vw, 1.5rem) 1.5rem;
  background: linear-gradient(135deg, var(--accent) 0%, #5A1A28 100%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2.8vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid rgba(201, 169, 98, 0.35);
  border-radius: 2px;
  opacity: 0;
  transform: scale(0.85);
  transition: filter 0.25s;
  pointer-events: auto;
  white-space: nowrap;
  text-align: center;
}

.hero__btn:hover {
  filter: brightness(1.1);
}

@media (max-width: 768px) {
  html,
  body {
    height: auto;
    min-height: 100svh;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .hero {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 100svh;
    max-height: none;
    overflow: visible;
  }

  .hero__visual {
    order: 1;
    flex-shrink: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    min-height: 0;
    max-height: none;
  }

  .hero__aside {
    order: 2;
    border-right: none;
    border-top: 1px solid var(--line);
    padding: 1rem 1rem 1.25rem;
    max-height: none;
    height: auto;
    overflow: visible;
    justify-content: flex-start;
    gap: 0;
  }

  .aside-center {
    padding: 0.5rem 0 0.35rem;
    flex: 0 0 auto;
  }

  .aside-top__ornament { margin-bottom: 0.7rem; }

  .aside-top__mark { font-size: 1.45rem; }

  .hero__logo { font-size: 1.35rem; margin-bottom: 0.35rem; }

  .aside-top__tagline { font-size: 0.85rem; }

  .aside-panel {
    padding: 0.75rem 0.85rem;
  }

  .aside-panel__label {
    font-size: 0.88rem;
  }

  .benefits-carousel__stage {
    min-height: 8.5rem;
  }

  .benefit-card__title {
    font-size: 1.5rem;
  }

  .benefit-card p {
    font-size: 1.08rem;
  }

  .aside-bottom { display: none; }

  .hero__image-wrap {
    position: absolute;
    inset: 0;
  }

  .hero-image {
    position: absolute;
    inset: 0;
  }

  .hero-image img {
    object-fit: contain;
    object-position: center top;
  }

  .hero__btn-wrap {
    bottom: clamp(0.85rem, 3vw, 1.25rem);
    padding: 0 clamp(0.55rem, 2.5vw, 0.75rem);
  }

  .hero__btn {
    font-size: clamp(1.12rem, 4.2vw, 1.28rem);
    padding: clamp(1.05rem, 3.8vw, 1.25rem) 1rem;
    white-space: normal;
    text-align: center;
    max-width: none;
  }
}

@media (max-width: 390px) {
  .benefit-card__title { font-size: 1.35rem; }
  .benefit-card p { font-size: 1rem; }
}

.requisites { position: relative; display: inline-flex; }

.requisites__btn {
  font-family: inherit;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.38rem 0.7rem;
  border-radius: 2px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.requisites__btn:hover { color: var(--gold); }

.requisites__popup {
  position: absolute;
  bottom: calc(100% + 0.5rem);
  left: 0;
  min-width: 15rem;
  padding: 0.8rem 0.9rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  z-index: 200;
  text-align: left;
  color: var(--text);
}

.requisites__popup[hidden] { display: none !important; }

.requisites__label {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.12rem;
}

.requisites__field { font-size: 0.78rem; line-height: 1.4; }

.requisites__name {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 0.55rem;
}

.requisites__field + .requisites__field { margin-top: 0.55rem; }

.requisites--panel { margin-top: 0.75rem; }

.site-foot--dock {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 50;
  padding: 0.65rem 0.85rem;
  pointer-events: none;
}

.site-foot--dock .requisites { pointer-events: auto; }

@media (min-width: 769px) {
  .site-foot--dock { display: none; }
}

@media (max-width: 768px) {
  .requisites--panel { display: none; }
}
