/* Цвета и базовые настройки */
:root {
  --bg: #11120f;
  --gold: #c7ac72;
  --text: #f2eee5;
  --muted: #a6a69b;
  --line: #34362d;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    15px/1.65 Arial,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
/* Первый экран */
.hero {
  min-height: 780px;
  height: 95svh;
  max-height: 1100px;
  position: relative;
  overflow: hidden;
  background: #171912;
}
.hero-photo {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(9, 13, 10, 0.94) 0%,
      rgba(12, 16, 11, 0.79) 30%,
      rgba(12, 16, 11, 0.12) 75%
    ),
    linear-gradient(0deg, #11120f 0%, transparent 25%),
    url('assets/5013.jpg') center 55% / cover;
  animation: drift 18s ease-in-out infinite alternate;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 200px 7% 100px;
}
.eyebrow {
  font-size: 13px;
  letter-spacing: 2.7px;
  color: var(--gold);
  font-weight: bold;
  margin: 0 0 28px;
}
.eyebrow span {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin: 0 10px 1px 0;
}
/* Векторные стрелки не зависят от системного шрифта и emoji на iPhone. */
.arrow-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  vertical-align: -0.12em;
  overflow: visible;
  pointer-events: none;
}

.site-nav__links .arrow-icon {
  width: 27px;
  height: 27px;
}

h1,
h2,
h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  line-height: 1.07;
  letter-spacing: -2px;
  margin: 0;
}
h1 {
  font-size: clamp(60px, 6.7vw, 110px);
  max-width: 1050px;
}
em {
  font-weight: 400;
  color: var(--gold);
}
.intro {
  color: #c2c3b8;
  margin: 30px 0 34px;
  font-size: 18px;
  line-height: 1.8;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 65px;
  background: var(--gold);
  color: #181a13;
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 600;
  transition:
    background 0.3s,
    transform 0.3s;
}
.button:hover {
  background: #e0c58e;
  transform: translateY(-3px);
}
.button span {
  font-size: 22px;
}
.hero-bottom {
  position: absolute;
  bottom: 35px;
  left: 7%;
  right: 7%;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  letter-spacing: 1.5px;
  z-index: 2;
  color: #c1c4b5;
}
.hero-bottom a span {
  margin-left: 25px;
}
.hero-mark {
  position: absolute;
  right: 4%;
  bottom: 20px;
  font: 230px/1 Georgia;
  color: #dfca9812;
  letter-spacing: -20px;
}
.steam {
  position: absolute;
  width: 60%;
  height: 45%;
  background: radial-gradient(ellipse, #e6e3cd14, transparent 65%);
  filter: blur(25px);
  pointer-events: none;
  animation: steam 14s ease-in-out infinite;
  bottom: 10%;
  right: 5%;
}
.s2 {
  animation-delay: -7s;
  right: -15%;
}
/* Строка направлений отдыха */
.ribbon {
  padding: 26px 7%;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: 2px;
  color: #b9b9a9;
  gap: 18px;
}
.ribbon i {
  font-size: 17px;
  color: var(--gold);
}
.wrap {
  width: 86%;
  max-width: 1360px;
  margin: auto;
}
/* Знакомство с комплексом */
.welcome {
  padding: 110px 0;
  display: grid;
  grid-template-columns: 1fr 2.5fr 0.8fr;
  gap: 35px;
  align-items: start;
}
.welcome h2 {
  font-size: 50px;
}
.welcome p:not(.eyebrow) {
  max-width: 530px;
  color: var(--muted);
  margin: 25px 0 0;
}
.welcome .eyebrow {
  padding-top: 12px;
}
.seal {
  border: 2px solid #c7ac72b3;
  border-radius: 50%;
  width: 145px;
  height: 145px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font: 54px Georgia;
  color: var(--gold);
  transform: rotate(-12deg);
}
.seal small {
  font: 7px Arial;
  letter-spacing: 1px;
  margin-top: 12px;
}
/* Баня, чан и гостевой домик */
.spaces {
  border-top: 1px solid var(--line);
  padding: 85px 0 30px;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 55px;
}
.section-title h2,
.faq h2 {
  font-size: 60px;
}
.section-title > p {
  font-size: 16px;
  color: var(--muted);
  padding-bottom: 5px;
}
.feature {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 9%;
  align-items: center;
  margin-bottom: 100px;
}
.image-frame {
  height: 490px;
  overflow: hidden;
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s;
  filter: saturate(0.82);
}
.image-frame:hover img {
  transform: scale(1.045);
}
.feature-text {
  max-width: 420px;
}
.number {
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--gold);
}
h3 {
  font-size: 70px;
  margin: 26px 0;
}
.feature-text > p {
  color: var(--muted);
  font-size: 18px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 25px 0;
}
.tags span {
  font-size: 13px;
  border: 1px solid var(--line);
  padding: 5px 10px;
  color: #c1c1b2;
}
.text-link {
  display: inline-block;
  font-size: 16px;
  padding: 12px 0 8px;
  border-bottom: 1px solid #8c794c;
}
.reverse .image-frame {
  order: 2;
}
.reverse .feature-text {
  margin-left: 12%;
}
/* Галерея фотографий */
.gallery {
  padding: 85px 0;
  background: #1b1d17;
}
.photo-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 5px 7% 24px;
  scroll-snap-type: x mandatory;
  align-items: center;
  scrollbar-color: #887447 #25271f;
}
.photo {
  padding: 0;
  border: 0;
  background: none;
  color: white;
  flex: 0 0 350px;
  height: 360px;
  position: relative;
  cursor: zoom-in;
  overflow: hidden;
  scroll-snap-align: center;
}
.photo.tall {
  height: 450px;
  flex-basis: 300px;
}
.photo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  filter: saturate(0.72);
  transition: transform 0.7s;
}
.photo:hover img {
  transform: scale(1.04);
}
.photo span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 45px 20px 20px;
  background: linear-gradient(transparent, #000b);
  font-size: 16px;
  text-align: left;
}
.gallery-hint {
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--gold);
  padding-top: 15px;
}
/* Частые вопросы */
.faq {
  padding: 110px 0;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 6%;
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  padding: 23px 0;
  font-size: 18px;
}
summary::-webkit-details-marker {
  display: none;
}
summary span {
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
}
details[open] summary span {
  transform: rotate(45deg);
}
details p {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 24px;
  max-width: 530px;
}
/* Контакты и бронирование */
.booking {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
.booking h2 {
  font-size: 110px;
  margin-bottom: 55px;
}
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 50px;
}
.booking-grid > p {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
}
.booking small {
  display: block;
  font-size: 13px;
  margin-top: 20px;
  color: #838778;
}
.phone {
  display: block;
  font: 26px Georgia;
  white-space: nowrap;
  color: var(--gold);
  margin-bottom: 16px;
}
.phone.secondary {
  font-size: 21px;
  color: var(--text);
}
.address > span {
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 2px;
}
.address p {
  font-size: 18px;
  margin-top: 12px;
}
footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 30px 0;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--muted);
}
/* Полноэкранный просмотр фотографий */
dialog {
  border: 1px solid var(--line);
  background: #141610;
  color: var(--text);
  padding: 30px;
  max-width: 90vw;
  max-height: 95svh;
}
dialog::backdrop {
  background: #000d;
  backdrop-filter: blur(7px);
}
dialog img {
  max-width: 80vw;
  max-height: 73svh;
  object-fit: contain;
  display: block;
  margin: auto;
}
dialog p {
  text-align: center;
  font-size: 16px;
}
dialog button {
  background: none;
  border: 1px solid #706443;
  color: var(--gold);
  padding: 7px 20px;
  cursor: pointer;
}
.close {
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 20px;
}
dialog > div {
  display: flex;
  justify-content: center;
  gap: 15px;
}
/* Анимация появления секций */
.reveal {
  transition:
    opacity 0.85s,
    transform 0.85s;
}
.js .reveal {
  opacity: 0;
  transform: translateY(35px);
}
.js .reveal.visible {
  opacity: 1;
  transform: none;
}
/* Движение фонового изображения */
@keyframes drift {
  to {
    transform: scale(1.07);
  }
}
@keyframes steam {
  0%,
  100% {
    transform: translate(0, 20px) rotate(-15deg);
    opacity: 0.3;
  }
  50% {
    transform: translate(-100px, -80px) rotate(12deg);
    opacity: 1;
  }
}
@media (min-width: 1600px) {
  .hero-content {
    padding-top: 240px;
  }
}
/* Планшеты */
@media (max-width: 900px) {
  .hero {
    min-height: 720px;
  }
  .hero-content {
    padding-top: 200px;
  }
  h1 {
    font-size: 70px;
  }
  .welcome {
    grid-template-columns: 1fr 3fr;
  }
  .seal {
    display: none;
  }
  .welcome h2 {
    font-size: 42px;
  }
  .feature {
    gap: 5%;
  }
  .image-frame {
    height: 400px;
  }
  h3 {
    font-size: 54px;
  }
  .section-title h2,
  .faq h2 {
    font-size: 46px;
  }
  .booking-grid {
    grid-template-columns: 1fr 1fr;
  }
  .address {
    grid-column: 1/-1;
  }
  .ribbon {
    font-size: 13px;
    letter-spacing: 1px;
  }
  .booking h2 {
    font-size: 85px;
  }
}
/* Телефоны */
@media (max-width: 600px) {
  .hero {
    height: 92svh;
    min-height: 690px;
    max-height: 900px;
  }
  .hero-photo {
    background-position: 62% center;
  }
  .hero-content {
    padding: 175px 7% 100px;
  }
  h1 {
    font-size: 55px;
    letter-spacing: -2px;
  }
  .intro {
    font-size: 16px;
    margin: 26px 0;
  }
  .button {
    gap: 35px;
    padding: 15px 20px;
  }
  .hero-bottom {
    font-size: 13px;
    letter-spacing: 0.6px;
  }
  .hero-bottom > span:first-child {
    display: none;
  }
  .hero-mark {
    font-size: 160px;
    bottom: 60px;
  }
  .ribbon {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    text-align: center;
    padding: 22px 7%;
    gap: 13px;
  }
  .ribbon i:nth-of-type(2) {
    display: none;
  }
  .wrap {
    width: 86%;
  }
  .welcome {
    padding: 65px 0;
    display: block;
  }
  .welcome h2 {
    font-size: 39px;
  }
  .welcome p:not(.eyebrow) {
    font-size: 16px;
  }
  .spaces {
    padding: 60px 0 0;
  }
  .section-title {
    display: block;
    margin-bottom: 30px;
  }
  .section-title h2,
  .faq h2 {
    font-size: 43px;
  }
  .section-title > p {
    margin-top: 25px;
    font-size: 16px;
  }
  .feature {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: stretch;
    margin-bottom: 65px;
  }
  .image-frame {
    height: 310px;
  }
  .feature-text {
    max-width: none;
  }
  .reverse .image-frame {
    order: 0;
  }
  .reverse .feature-text {
    margin-left: 0;
  }
  h3 {
    font-size: 49px;
    margin: 18px 0;
  }
  h3 br {
    display: block;
  }
  .feature-text > p {
    font-size: 16px;
  }
  .gallery {
    padding: 60px 0 35px;
  }
  .photo {
    flex-basis: 270px;
    height: 300px;
  }
  .photo.tall {
    flex-basis: 240px;
    height: 350px;
  }
  .faq {
    padding: 65px 0;
    display: block;
  }
  .faq > div:first-child {
    margin-bottom: 25px;
  }
  .booking {
    padding: 60px 0;
  }
  .booking h2 {
    font-size: 64px;
    margin-bottom: 30px;
  }
  .booking-grid {
    display: block;
  }
  .booking-grid > div {
    margin-top: 30px;
  }
  .phone {
    font-size: 25px;
  }
  footer {
    flex-wrap: wrap;
    gap: 20px;
  }
  footer > span:nth-child(2) {
    display: none;
  }
  .eyebrow {
    font-size: 13px;
    letter-spacing: 2px;
  }
  dialog {
    padding: 25px 12px;
  }
  dialog img {
    max-width: 78vw;
  }
}
/* Уменьшение движения по системной настройке */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
.hero-content {
  padding-top: 230px;
}
.eyebrow {
  line-height: 1.6;
}
.intro {
  max-width: 620px;
  font-size: 20px;
  color: #e0dfd5;
}
.hero-bottom {
  font-size: 13px;
}
.hero-bottom a {
  margin-left: auto;
}
.feature-text > p,
.welcome p:not(.eyebrow),
.section-title > p,
.details p,
details p,
.booking-grid > p,
.address p {
  font-size: 18px;
}
.tags span {
  font-size: 14px;
}
.text-link {
  font-size: 18px;
}
.tariff-note {
  color: var(--gold) !important;
}
summary {
  font-size: 19px;
  line-height: 1.5;
  align-items: center;
  padding: 26px 0;
}
summary span {
  flex: 0 0 38px;
  height: 38px;
  border: 1px solid #796a45;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.faq {
  grid-template-columns: 0.8fr 1.3fr;
}
.faq h2 {
  font-size: 56px;
}
.booking small {
  font-size: 16px;
}
footer {
  font-size: 13px;
}

/* Основное действие: округлая кнопка и отдельный круг со стрелкой */
.button {
  border-radius: 999px;
  padding: 9px 10px 9px 26px;
  gap: 32px;
  font-size: 17px;
  min-height: 64px;
  background: #d9bd7f;
  box-shadow: 0 8px 35px #0004;
}
.button span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #202419;
  color: #e7cf98;
  transition: transform 0.35s;
}
.button:hover span {
  transform: rotate(45deg);
}

/* Моушн: первый экран, фотографии и последовательное появление текста */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: var(--gold);
  z-index: 30;
  transform: scaleX(0);
  transform-origin: left;
}
.hero-content > * {
  animation: enter-hero 1s both;
}
.hero-content > :nth-child(2) {
  animation-delay: 0.15s;
}
.hero-content > :nth-child(3) {
  animation-delay: 0.3s;
}
.hero-content > :nth-child(4) {
  animation-delay: 0.45s;
}
.hero-photo {
  --hero-shift: 0px;
  translate: 0 var(--hero-shift);
}
.steam {
  background: radial-gradient(ellipse, #e6e3cd30, transparent 65%);
  animation-duration: 10s;
}
.s2 {
  animation-delay: -5s;
}
.feature .image-frame {
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.js .feature:not(.visible) .image-frame {
  clip-path: inset(0 0 14% 0);
}
.js .feature .feature-text > * {
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 0.7s,
    transform 0.7s;
}
.js .feature.visible .feature-text > * {
  opacity: 1;
  transform: none;
}
.feature-text > :nth-child(2) {
  transition-delay: 0.12s !important;
}
.feature-text > :nth-child(3) {
  transition-delay: 0.22s !important;
}
.feature-text > :nth-child(4) {
  transition-delay: 0.32s !important;
}
.feature-text > :nth-child(5) {
  transition-delay: 0.42s !important;
}
.photo-track .photo {
  animation: none;
}
.photo:hover {
  box-shadow: 0 12px 30px #0005;
}
.seal {
  /* Заметное, но спокойное покачивание: 3 секунды в каждую сторону. */
  animation: seal-sway 3s ease-in-out infinite alternate;
}
details[open] p {
  animation: enter-hero 0.4s both;
}
@keyframes enter-hero {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes seal-sway {
  from {
    transform: rotate(-12deg);
  }
  to {
    transform: rotate(8deg);
  }
}

@media (max-width: 900px) {
  .hero-content {
    padding-top: 210px;
  }
  .faq {
    grid-template-columns: 1fr;
  }
  .faq > div:first-child {
    margin-bottom: 32px;
  }
}
@media (max-width: 600px) {
  .hero {
    min-height: 820px;
    height: 100svh;
  }
  .hero-content {
    padding: 180px 7% 110px;
  }
  h1 {
    font-size: clamp(46px, 11.6vw, 66px);
    line-height: 1.16;
    letter-spacing: -1.5px;
  }
  h1 em {
    display: block;
    margin-top: 5px;
  }
  h3 {
    line-height: 1.16;
  }
  h3 br {
    display: block;
  }
  .intro {
    font-size: 18px;
    line-height: 1.7;
    margin: 24px 0 30px;
  }
  .intro br {
    display: none;
  }
  .button {
    font-size: 16px;
    gap: 20px;
    padding-left: 22px;
  }
  .eyebrow {
    font-size: 12px;
    letter-spacing: 1.6px;
  }
  .hero-bottom {
    bottom: 25px;
  }
  .hero-bottom a {
    margin-left: 0;
    font-size: 13px;
  }
  .ribbon {
    font-size: 12px;
  }
  .welcome h2 {
    font-size: 38px;
    line-height: 1.15;
  }
  .feature-text > p,
  .welcome p:not(.eyebrow),
  .section-title > p,
  details p {
    font-size: 17px;
  }
  .section-title h2 {
    font-size: 41px;
    line-height: 1.15;
  }
  .faq h2 {
    font-size: 43px;
  }
  summary {
    font-size: 18px;
    gap: 12px;
  }
  summary span {
    flex-basis: 32px;
    height: 32px;
  }
  .number {
    font-size: 13px;
  }
  .photo span {
    font-size: 16px;
  }
  .booking h2 {
    font-size: 60px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .js .feature .feature-text > * {
    opacity: 1;
    transform: none;
  }
  .hero-photo {
    translate: none;
  }
}
.site-brand__image {
  display: block;
  position: relative;
  width: 82px;
  height: 78px;
  overflow: hidden;
}
.site-brand__image img {
  position: absolute;
  width: 92px;
  height: 84px;
  max-width: none;
  left: -5px;
  top: -3px;
  /* Чёрный фон исходника сливается с шапкой без прямоугольной рамки. */
  mix-blend-mode: screen;
}
.site-brand__text {
  font-size: 16px;
  line-height: 1.35;
  color: #eee8db;
}
.site-brand__text > span {
  display: block;
  font-size: 12px;
  color: #b3a68a;
  margin-top: 6px;
}
.site-header__booking {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  border: 1px solid #a58c57;
  border-radius: 30px;
  padding: 11px 20px;
  font-size: 15px;
  color: #e2c78e;
  white-space: nowrap;
  transition: background 0.25s;
}
.site-header__booking:hover {
  background: #c7ac721a;
}

@media (max-width: 1100px) {
  .site-brand__text {
    display: none;
  }
}
@media (max-width: 760px) {
  .site-brand__image {
    width: 72px;
    height: 70px;
  }
  .site-brand__image img {
    width: 82px;
    height: 75px;
    left: -5px;
    top: -2px;
  }
  .site-brand__text {
    display: block;
    font-size: 14px;
  }
  .site-brand__text > span {
    font-size: 11px;
    margin-top: 4px;
  }
  .site-header__booking {
    display: none;
  }
  .menu-toggle__icon {
    display: flex;
    width: 22px;
    height: 20px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
  }
  .menu-toggle__icon i {
    width: 22px;
    height: 1px;
    background: currentColor;
    transition: transform 0.25s;
  }
  .hero-content {
    padding-top: 155px;
  }
}
@media (max-width: 360px) {
  .site-brand__text {
    font-size: 12px;
  }
}
.site-brand__image {
  width: 138px;
  height: 122px;
  overflow: visible;
}
.site-brand__image img {
  width: 138px;
  height: 122px;
  inset: 0;
  object-fit: contain;
}
.site-brand__text {
  display: none;
}
.location {
  padding: 20px 0 80px;
}
.location .section-title h2 {
  font-size: 54px;
}
.location__map {
  height: 470px;
  border: 1px solid #c7ac7240;
  background: #24271e;
}
.location__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 760px) {
  .site-brand__image {
    width: 126px;
    height: 110px;
  }
  .site-brand__image img {
    width: 126px;
    height: 110px;
    inset: 0;
  }
  .hero-content {
    padding-top: 180px;
  }
  .location {
    padding-bottom: 50px;
  }
  .location .section-title h2 {
    font-size: 41px;
  }
  .location__map {
    height: 400px;
  }
}

/* Instagram: узнаваемый знак рядом с названием профиля. */
.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
}
.instagram-icon {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
}
.instagram-link:hover .instagram-icon {
  color: var(--text);
}

/* Ограничиваем размер логотипа в подвале на узких экранах. */
.brand-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 44px 0;
}
.brand-footer__logo {
  display: block;
  flex-shrink: 0;
}
.brand-footer__logo img {
  display: block;
  width: 220px;
  height: 200px;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: screen;
}
.brand-footer > p {
  font:
    36px/1.25 Georgia,
    serif;
  letter-spacing: -0.5px;
  color: var(--text);
  margin: 0;
}
.brand-footer__top {
  font-size: 15px;
  color: var(--gold);
}
@media (max-width: 760px) {
  .brand-footer {
    flex-direction: column;
    text-align: center;
    gap: 26px;
  }
  .brand-footer__logo img {
    width: 240px;
    height: 220px;
  }
  .brand-footer > p {
    font-size: 30px;
  }
}

/* Первый экран растёт вместе с содержимым: нижняя строка не накладывается на кнопку. */
.hero {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: max(780px, 95svh);
  max-height: none;
}
.hero-content {
  padding: 220px 7% 48px;
}
.hero-bottom {
  position: relative;
  inset: auto;
  flex-shrink: 0;
  margin-top: auto;
  padding: 0 7% 32px;
  gap: 24px;
}
@media (max-width: 600px) {
  .hero {
    height: auto;
    min-height: max(820px, 100svh);
    max-height: none;
  }
  .hero-content {
    padding: 200px 7% 40px;
  }
  .hero-bottom {
    bottom: auto;
    padding-bottom: 25px;
  }
}
