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

:root {
  --cream: #F0E8DC;
  --stone: #D4C6B0;
  --gold: #C9A46A;
  --gold-deep: #9E7A3E;
  --ink: #0F0E0C;
  --font-display: 'Libre Baskerville', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
}

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
}

.hero {
  position: relative;
  height: 100svh;
  max-height: 100svh;
  overflow: hidden;
  opacity: 0;
  animation: fadeIn 0.7s ease forwards;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  display: block;
  animation: drift 16s ease-in-out infinite alternate;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(15, 14, 12, 0.86) 0%, rgba(15, 14, 12, 0.42) 48%, rgba(15, 14, 12, 0.2) 100%),
    linear-gradient(180deg, rgba(15, 14, 12, 0.55) 0%, rgba(15, 14, 12, 0.15) 40%, rgba(15, 14, 12, 0.75) 100%);
}

.hero__content {
  position: absolute;
  z-index: 2;
  left: 22%;
  top: 0;
  bottom: 0;
  width: min(34rem, calc(78% - 2rem));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(18vh, 22vh, 24vh) 0 clamp(6vh, 8vh, 10vh);
}

.hero__top {
  flex-shrink: 0;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.2rem);
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.hero__content h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.4vw, 3.15rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 18ch;
  color: var(--cream);
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.55);
}

.hero__points {
  list-style: none;
  display: grid;
  gap: clamp(0.65rem, 2vh, 1.1rem);
  flex: 1;
  align-content: center;
  max-width: 28rem;
  margin: 0;
}

.hero__points li {
  padding: 0.75rem 1rem;
  background: rgba(15, 14, 12, 0.55);
  border: 1px solid rgba(201, 164, 106, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: clamp(0.98rem, 1.6vw, 1.12rem);
  line-height: 1.35;
  color: var(--cream);
}

.hero__points li span {
  display: block;
}

.hero__points li span + span {
  margin-top: 0.2rem;
  color: var(--stone);
  font-size: 0.95em;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-left: clamp(10rem, 34%, 16rem);
  padding: 1.15rem 2.15rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: 1px solid rgba(240, 232, 220, 0.25);
  transition: filter 0.25s, transform 0.25s;
  flex-shrink: 0;
}

.hero__btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.requisites-block {
  position: absolute;
  right: clamp(1rem, 2.5vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 4;
  max-width: 17rem;
  padding: 0.85rem 1rem;
  background: rgba(15, 14, 12, 0.72);
  border: 1px solid rgba(201, 164, 106, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

.requisites-block__label {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.45rem;
}

.requisites-block__name {
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.requisites-block__field {
  font-size: 0.78rem;
  color: var(--stone);
  letter-spacing: 0.04em;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes drift {
  from { transform: scale(1); }
  to { transform: scale(1.025); }
}

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

  .hero {
    position: relative;
    display: block;
    height: auto;
    min-height: 100svh;
    max-height: none;
    overflow: visible;
    background: var(--ink);
  }

  /* Херо-фото только на первый экран */
  .hero__bg {
    position: absolute;
    inset: auto;
    top: 0;
    left: 0;
    right: 0;
    height: 100svh;
    z-index: 0;
  }

  .hero__bg img {
    object-position: center 42%;
    animation: none;
  }

  /* Затемнение первого экрана */
  .hero__shade {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100svh;
    z-index: 1;
    background: linear-gradient(
      180deg,
      rgba(15, 14, 12, 0.42) 0%,
      rgba(15, 14, 12, 0.5) 45%,
      rgba(15, 14, 12, 0.82) 100%
    );
  }

  /* Текст с середины херо; что не влезло — уезжает ниже на чёрный фон */
  .hero__content {
    position: relative;
    z-index: 2;
    left: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    min-height: 0;
    margin: 0;
    padding: 62svh 1rem 1.5rem;
    background: transparent;
    justify-content: flex-start;
    gap: 1.15rem;
  }

  .hero__content h1 {
    max-width: none;
  }

  .hero__top {
    position: absolute;
    top: 30svh;
    left: 1rem;
    right: 1rem;
    transform: translateY(-50%);
  }

  .hero__brand {
    font-size: 1.15rem;
    margin-bottom: 0.85rem;
  }

  .hero__content h1 {
    font-size: clamp(2.15rem, 9vw, 3rem);
    line-height: 1.12;
  }

  .hero__points {
    flex: 0 0 auto;
  }

  .hero__btn {
    width: 100%;
    max-width: none;
    margin-left: 0;
    font-size: 1.02rem;
    padding: 1.05rem 1.6rem;
  }

  .requisites-block {
    position: relative;
    z-index: 2;
    right: auto;
    bottom: auto;
    margin: 0 1rem 1.25rem;
    max-width: none;
    width: calc(100% - 2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg img { animation: none; }
}
