*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0A0A0C;
  --text: #EDE8E4;
  --accent: #A4161A;
  --accent-bright: #D42B2F;
  --gold: #B8A88A;
  --platinum: #C0C0C0;
  --muted: #9A9590;
  --panel: rgba(14, 12, 14, 0.95);
  --line: rgba(184, 168, 138, 0.2);
  --line-strong: rgba(192, 192, 192, 0.28);
  --font-display: 'Cinzel', Georgia, serif;
  --font-body: 'Lato', 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: 70% 30%;
  align-items: stretch;
  opacity: 0;
}

.hero--text-right .hero__visual { order: 1; }
.hero--text-right .hero__aside {
  order: 2;
  border-right: none;
  border-left: 1px solid var(--line);
}

.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);
  background:
    radial-gradient(ellipse 70% 35% at 50% 100%, rgba(164, 22, 26, 0.09) 0%, transparent 70%),
    linear-gradient(180deg, #0A0A0C 0%, #111014 50%, #0C0B0E 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.65rem;
  margin-bottom: 0.9rem;
}

.aside-top__line {
  flex: 1;
  max-width: 3.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--platinum), transparent);
}

.aside-top__mark {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  color: var(--accent-bright);
  line-height: 1;
}

.hero__logo {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--platinum);
  margin-bottom: 0.5rem;
}

.aside-top__tagline {
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  color: var(--muted);
  letter-spacing: 0.05em;
  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%;
  padding: clamp(0.9rem, 1.5vw, 1.15rem) clamp(0.95rem, 1.4vw, 1.2rem);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.38);
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px);
}

.aside-panel--rounded .aside-panel__accent {
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-bright), var(--gold), transparent);
  border-radius: 0 0 2px 2px;
}

.aside-panel__head { margin-bottom: 0.7rem; text-align: center; }

.aside-panel__label {
  font-family: var(--font-display);
  font-size: clamp(0.88rem, 1.4vw, 1rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.benefits-carousel { border-top: 1px solid rgba(184, 168, 138, 0.12); padding-top: 0.7rem; }

.benefits-carousel__stage { position: relative; min-height: clamp(9.5rem, 20vw, 13rem); }

.benefit-card {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  text-align: center;
  padding: 0.1rem 0.25rem;
}

.benefit-card.is-active { visibility: visible; }

.benefit-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 600;
  color: var(--platinum);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.benefit-card p {
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  line-height: 1.52;
  color: var(--text);
  opacity: 0.88;
}

.benefits-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.8rem;
}

.benefits-carousel__dots span {
  width: 6px;
  height: 2px;
  border-radius: 1px;
  background: var(--platinum);
  opacity: 0.3;
  transition: opacity 0.3s, width 0.3s;
}

.benefits-carousel__dots span.is-active { opacity: 0.95; width: 18px; }

.aside-bottom {
  flex-shrink: 0;
  text-align: center;
  opacity: 0;
  overflow: visible;
  position: relative;
  z-index: 30;
}

.aside-bottom__rule {
  display: block;
  width: 60%;
  margin: 0 auto 0.7rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--platinum), transparent);
  opacity: 0.4;
}

.aside-bottom__link {
  font-size: clamp(0.8rem, 1.2vw, 0.92rem);
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(184, 168, 138, 0.3);
  padding-bottom: 2px;
  transition: color 0.2s;
}

.aside-bottom__link:hover { color: var(--accent-bright); }

.hero__visual {
  position: relative;
  overflow: hidden;
  height: 100svh;
  max-height: 100svh;
}

.hero__glow {
  position: absolute;
  width: clamp(140px, 22vw, 280px);
  height: clamp(140px, 22vw, 280px);
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 68%);
  opacity: 0;
  top: 8%;
  left: 12%;
  transform: scale(0);
  z-index: 0;
}

.hero__image-wrap { position: absolute; inset: 0; z-index: 1; }

.hero-image {
  position: absolute;
  inset: 0;
  clip-path: inset(0 100% 0 0);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% center;
  display: block;
}

.hero__btn-wrap {
  position: absolute;
  bottom: clamp(4rem, 9vw, 6.5rem);
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 3;
  pointer-events: none;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 2.6vw, 1.3rem) clamp(1.9rem, 4.2vw, 3rem);
  background: linear-gradient(135deg, var(--accent) 0%, #5C0E12 100%);
  color: var(--text);
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: 1px solid rgba(192, 192, 192, 0.3);
  border-radius: 24px;
  opacity: 0;
  transform: scale(0.85);
  transition: filter 0.25s;
  pointer-events: auto;
}

.hero__btn:hover { filter: brightness(1.12); }

@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 !important; height: 70svh; min-height: 70svh; max-height: 70svh; }
  .hero__aside { order: 2 !important; border-left: none; border-top: 1px solid var(--line); padding: 1rem; max-height: none; height: auto; }
  .aside-bottom { display: none; }
  .hero-image { clip-path: inset(100% 0 0 0); }
  .hero-image img { object-position: center 58%; }
  .hero__btn-wrap { bottom: clamp(0.85rem, 3vw, 1.25rem); padding: 0 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: 20px;
  cursor: pointer;
  transition: color 0.2s;
}

.requisites__btn:hover { color: var(--platinum); }

.requisites__popup {
  position: absolute;
  bottom: calc(100% + 0.5rem);
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  min-width: 15rem;
  padding: 0.85rem 1rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
  z-index: 300;
  text-align: left;
}

.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;
  margin-bottom: 0.55rem;
}

.requisites--panel { margin-top: 0.7rem; }

.site-foot--dock {
  position: fixed;
  bottom: 0;
  right: 0;
  left: auto;
  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; }
  .site-foot--dock {
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    padding: 0.65rem 1rem;
  }
  .site-foot--dock .requisites__popup {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    min-width: min(15rem, calc(100vw - 2rem));
    max-width: calc(100vw - 2rem);
  }
}

/* без скриптов */
.hero { opacity: 1 !important; }
.hero-image { clip-path: none !important; }
.aside-top, .aside-panel, .aside-bottom, .hero__btn, .hero__glow { opacity: 1 !important; transform: none !important; }
.aside-panel { transform: none !important; }
.benefit-card:first-child { opacity: 1 !important; visibility: visible !important; position: relative !important; }
.benefit-card:not(:first-child) { display: none !important; }
.benefits-carousel__dots { display: none !important; }
.hero__btn { white-space: normal; line-height: 1.25; text-align: center; font-size: clamp(0.78rem, 2vw, 1.05rem); }
.requisites { position: relative; display: inline-flex; flex-direction: column; align-items: center; }
.requisites summary.requisites__btn { list-style: none; cursor: pointer; 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: 20px; }
.requisites summary.requisites__btn::-webkit-details-marker { display: none; }
.requisites__popup { position: absolute; bottom: calc(100% + 0.5rem); left: 50%; transform: translateX(-50%); min-width: 15rem; padding: 0.85rem 1rem; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5); z-index: 300; text-align: left; }
.requisites:not([open]) .requisites__popup { display: none; }
.requisites__name { font-size: 0.82rem; font-weight: 600; margin-bottom: 0.35rem; }
.requisites__field { font-size: 0.78rem; line-height: 1.4; }
.requisites--panel { margin-top: 0.65rem; }
