*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0A0D12;
  --text: #F2F0EC;
  --accent: #DA291C;
  --accent-bright: #E8453A;
  --gold: #E8E0D0;
  --gold-soft: rgba(232, 224, 208, 0.14);
  --muted: #9AA3B0;
  --panel: rgba(10, 13, 18, 0.94);
  --line: rgba(232, 224, 208, 0.2);
  --line-strong: rgba(232, 224, 208, 0.38);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', 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(218, 41, 28, 0.12) 0%, transparent 70%),
    linear-gradient(180deg, #0A0D12 0%, #101520 55%, #080A0F 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(--accent-bright);
  opacity: 0.95;
  line-height: 1;
}

.hero__logo {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  letter-spacing: 0.14em;
  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.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%;
  flex-shrink: 0;
  padding: clamp(0.85rem, 1.5vw, 1.1rem) clamp(0.9rem, 1.4vw, 1.15rem);
  background:
    linear-gradient(160deg, rgba(218, 41, 28, 0.05) 0%, transparent 40%),
    var(--panel);
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(232, 224, 208, 0.1), 0 8px 28px rgba(0, 0, 0, 0.32);
  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.65;
}

.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.1em;
  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(232, 224, 208, 0.1);
  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;
}

.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;
}

.aside-bottom__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.55rem;
}

.aside-bottom__dots { display: flex; gap: 0.25rem; }

.aside-bottom__dots i {
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.55;
}

.aside-bottom__dots i:nth-child(2) { opacity: 0.85; }

.hero__visual {
  position: relative;
  overflow: hidden;
  height: 100svh;
  max-height: 100svh;
}

.hero__glow {
  position: absolute;
  width: clamp(160px, 24vw, 300px);
  height: clamp(160px, 24vw, 300px);
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-bright) 0%, transparent 70%);
  opacity: 0;
  top: 12%;
  right: 10%;
  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: 48% center;
  display: block;
}

.hero__caption {
  position: absolute;
  top: 42%;
  left: 42%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
  width: max-content;
  max-width: min(94%, 42rem);
  text-align: left;
}

.hero__caption-plate {
  display: inline-block;
  padding: 0.55rem 1.15rem;
  background:
    linear-gradient(160deg, rgba(218, 41, 28, 0.08) 0%, transparent 45%),
    rgba(10, 13, 18, 0.72);
  border: 1px solid var(--line-strong);
  box-shadow:
    inset 0 1px 0 rgba(232, 224, 208, 0.1),
    0 10px 28px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero__caption-plate p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 1.65vw, 1.25rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: var(--gold);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
}

.hero__caption-plate p + p {
  margin-top: 0.2rem;
}

.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(1.05rem, 2.8vw, 1.35rem) clamp(2rem, 4.5vw, 3.1rem);
  background: linear-gradient(135deg, var(--accent) 0%, #9E1A12 100%);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid rgba(232, 224, 208, 0.3);
  border-radius: 2px;
  opacity: 0;
  transform: scale(0.85);
  transition: filter 0.25s;
  pointer-events: auto;
  white-space: nowrap;
}

.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; height: 70svh; min-height: 70svh; max-height: 70svh; }
  .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; }
  .aside-center { padding: 0.5rem 0 0.35rem; flex: 0 0 auto; }
  .aside-bottom {
    display: block;
    margin-top: 0.75rem;
    padding-bottom: 0.25rem;
  }
  .hero-image img { object-position: center 55%; }
  .hero__caption {
    top: 48%;
    left: 50%;
    width: max-content;
    max-width: 96%;
  }
  .hero__caption-plate {
    padding: 0.45rem 0.75rem;
    max-width: 100%;
  }
  .hero__caption-plate p {
    font-size: clamp(0.62rem, 2.7vw, 0.85rem);
    white-space: nowrap;
  }
  .hero__btn-wrap { bottom: clamp(0.85rem, 3vw, 1.25rem); padding: 0 1rem; }
  .hero__btn { white-space: normal; text-align: center; max-width: 100%; }
}

@media (max-width: 390px) {
  .benefit-card__title { font-size: 1.35rem; }
  .benefit-card p { font-size: 1rem; }
}

/* без скриптов */
@media (scripting: none) {
  .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; }
