@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000;
  --bg-raised: #141414;
  --bg-card: #1b1b1b;
  --text: #fff;
  --muted: #d5d5d5;
  --line: #2e2e2e;
  --red: #e10600;
  --red-deep: #9d0c14;
  --red-hot: #ff3b3b;
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --header-h: 76px;
  --measure: 68ch;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 380;
  line-height: 1.7;
  color-scheme: dark;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--text);
}

a:hover {
  color: var(--red-hot);
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--red-hot);
  outline-offset: 3px;
}

::selection {
  background: var(--red);
  color: #fff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  padding: 0.55rem 0.8rem;
}

.skip:focus {
  top: 0.6rem;
}

.layout__inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #000;
  border-bottom: 1px solid var(--red);
}

.header__bar {
  position: relative;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #fff;
  white-space: nowrap;
  flex: 0 0 auto;
}

.header__logo-img {
  width: 48px;
  height: 48px;
  object-fit: cover;
}

.header__brand {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 560;
  letter-spacing: 0.01em;
  line-height: 1;
}

.header__toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

.header__burger {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.header__burger-line,
.header__burger-line::before,
.header__burger-line::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  position: relative;
  content: "";
}

.header__burger-line::before {
  position: absolute;
  top: -7px;
  left: 0;
}

.header__burger-line::after {
  position: absolute;
  top: 7px;
  left: 0;
}

.header__toggle:focus-visible + .header__burger {
  outline: 2px solid var(--red-hot);
  outline-offset: 3px;
}

.header__toggle:checked + .header__burger .header__burger-line {
  background: transparent;
}

.header__toggle:checked + .header__burger .header__burger-line::before {
  top: 0;
  transform: rotate(45deg);
}

.header__toggle:checked + .header__burger .header__burger-line::after {
  top: 0;
  transform: rotate(-45deg);
}

.header__panel {
  display: none;
}

.header__menu,
.footer__menu,
.footer__legal {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__link,
.footer__link {
  text-decoration: none;
  white-space: nowrap;
}

.header__link--current {
  color: var(--red-hot);
}

.header__phone,
.header__address,
.footer__phone {
  margin: 0;
}

@media (max-width: 1199px) {
  .header__panel {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    background: #0c0c0c;
    border-top: 1px solid var(--red);
    padding: 1.4rem 1.4rem 2rem;
    z-index: 30;
    max-height: calc(100vh - var(--header-h));
    overflow: auto;
  }

  .header__toggle:checked ~ .header__panel {
    display: block;
  }

  .header__menu {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
  }

  .header__link {
    display: block;
    padding: 0.7rem 0;
    font-size: 1.35rem;
    font-family: var(--serif);
    border-bottom: 1px solid #2a2a2a;
  }

  .header__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1.2rem;
    padding-top: 0.4rem;
  }

  .header__phone,
  .header__email,
  .header__address {
    white-space: normal;
  }
}

@media (min-width: 1200px) {
  .header__burger {
    display: none;
  }

  .header__bar {
    justify-content: flex-start;
    flex-wrap: nowrap;
  }

  .header__panel,
  .header__toggle:checked ~ .header__panel {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 1.15rem;
    position: static;
    width: auto;
    transform: none;
    background: transparent;
    border: 0;
    padding: 0;
    max-height: none;
    overflow: visible;
  }

  .header__menu {
    display: flex;
    align-items: center;
    gap: 1.1rem;
  }

  .header__contacts {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
    white-space: nowrap;
  }

  .header__link,
  .header__phone,
  .header__email,
  .header__address,
  .header__brand {
    white-space: nowrap;
    font-size: 0.92rem;
  }

  .header__brand {
    font-size: 1.45rem;
  }
}

.banner {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
}

.banner__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  z-index: -2;
}

.banner__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.28) 40%, rgba(0, 0, 0, 0.88) 100%);
}

.banner__inner {
  padding: 4.5rem 0 3.2rem;
}

.banner__kicker,
.kicker {
  margin: 0 0 0.55rem;
  color: var(--red-hot);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.banner__title {
  font-size: clamp(2.7rem, 6.4vw, 5.4rem);
  max-width: 11ch;
  text-wrap: balance;
}

.banner__text {
  max-width: 38rem;
  font-size: 1.12rem;
  color: var(--muted);
}

.section {
  padding: 4.5rem 0;
}

.section--grey {
  background: var(--bg-raised);
}

.section__title {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  margin: 0 0 1rem;
  max-width: 16ch;
}

.prose {
  max-width: var(--measure);
}

.prose p::first-letter,
.faq__answer p::first-letter,
.legal__article p::first-letter,
.strengths__text::first-letter,
.mission__text::first-letter,
.timeline__text::first-letter,
.offers__text::first-letter,
.advantages__copy p::first-letter {
  color: var(--red-hot);
  font-family: var(--serif);
  font-weight: 560;
}

.dropcap::first-letter {
  float: left;
  font-size: 3.45rem;
  line-height: 0.75;
  padding: 0.15rem 0.48rem 0 0;
  color: var(--red-hot);
  font-family: var(--serif);
  font-weight: 560;
}

.strengths__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.6rem;
}

.strengths__item {
  padding: 1.35rem 1.2rem 1.45rem;
  border-radius: 18px;
  background:
    linear-gradient(180deg, #2a2a2a 0%, #161616 42%, #101010 100%) padding-box,
    linear-gradient(145deg, #ff5c5c 0%, #6a0810 42%, #ffd0d0 68%, #e10600 100%) border-box;
  border: 2px solid transparent;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -20px 30px rgba(0, 0, 0, 0.35),
    0 16px 28px rgba(0, 0, 0, 0.5),
    0 28px 48px rgba(160, 0, 0, 0.16);
}

.strengths__index {
  margin: 0 0 0.35rem;
  color: var(--red-hot);
  font-family: var(--serif);
  font-size: 1.4rem;
}

.strengths__heading {
  font-size: 1.7rem;
  margin-bottom: 0.45rem;
}

.strengths__text {
  margin: 0;
  color: var(--muted);
}

@media (min-width: 700px) and (max-width: 1199px) {
  .strengths__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1200px) {
  .strengths__list {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
  }

  .strengths__item {
    flex: 1;
  }

  .strengths__item:nth-child(1) { margin-top: 2.5rem; }
  .strengths__item:nth-child(2) { margin-top: 0; }
  .strengths__item:nth-child(3) { margin-top: 3.8rem; }
  .strengths__item:nth-child(4) { margin-top: 1.15rem; }
}

.offers__list {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
  grid-template-columns: 1fr;
}

.offers__card {
  background: var(--bg-card);
  border: 1px solid #2c2c2c;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.offers__card:hover {
  border-color: var(--red);
}

.offers__photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #111;
}

.offers__img,
.story__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.offers__body {
  padding: 1rem 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.offers__heading {
  font-size: 1.55rem;
}

.offers__text {
  margin: 0;
  color: var(--muted);
  flex: 1;
}

.offers__button,
.form__submit {
  display: inline-block;
  background: var(--red-deep);
  color: #fff;
  text-decoration: none;
  border: 2px solid var(--red-deep);
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}

.offers__button:hover,
.form__submit:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.offers__button {
  align-self: flex-start;
}

@media (min-width: 700px) {
  .offers__list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1200px) {
  .offers__list {
    grid-template-columns: repeat(6, 1fr);
  }

  .offers__card {
    grid-column: span 2;
  }

  .offers__card:nth-child(4),
  .offers__card:nth-child(5) {
    grid-column: span 3;
  }
}

.advantages__figures {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 1.2rem;
  display: grid;
  gap: 0.8rem;
}

.advantages__figure {
  background: #101010;
  border: 1px solid #3a1212;
  padding: 0.9rem 1rem;
}

.advantages__num {
  display: block;
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--red-hot);
  line-height: 1;
}

.advantages__label {
  color: var(--muted);
}

@media (min-width: 800px) {
  .advantages__figures {
    grid-template-columns: repeat(4, 1fr);
  }
}

.booking__layout,
.story__grid {
  display: grid;
  gap: 1.4rem;
}

.form {
  display: grid;
  gap: 0.9rem;
  max-width: 720px;
}

.form__row {
  display: grid;
  gap: 0.9rem;
}

.form__label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 500;
}

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  background: #070707;
  color: #fff;
  border: 1px solid #5c5c5c;
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  font: inherit;
}

.form__textarea {
  min-height: 150px;
  resize: vertical;
}

.form__input[aria-invalid="true"],
.form__select[aria-invalid="true"],
.form__textarea[aria-invalid="true"] {
  border-color: var(--red-hot);
}

.form__check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.form__check input {
  margin-top: 0.35rem;
  accent-color: var(--red);
}

.form__hint {
  color: var(--muted);
  margin: 0;
}

.form__notice {
  margin: 0;
  padding: 0.9rem 1rem;
  border: 1px solid var(--red);
  background: #1a0c0c;
}

.form__notice:empty {
  display: none;
}

.form__notice--ok {
  background: #141414;
  border-color: var(--red-hot);
}

.form__notice--bad {
  background: #2a1012;
  border-color: var(--red-hot);
}

.form__submit {
  justify-self: start;
}

@media (min-width: 740px) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.contact__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
}

.contact__item {
  border-bottom: 1px solid var(--red);
  padding-bottom: 0.15rem;
}

.contact__phone {
  margin: 0;
}

.faq__list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.faq__item {
  border: 1px solid #3a3a3a;
  background: #101010;
  padding: 0.35rem 1rem 0.2rem;
}

.faq__question {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.45rem;
  padding: 0.7rem 1.6rem 0.7rem 0;
  list-style: none;
  position: relative;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0.65rem;
  color: var(--red-hot);
  font-family: var(--sans);
}

.faq__item[open] .faq__question::after {
  content: "–";
}

.faq__answer p:last-child {
  margin-bottom: 0.8rem;
}

.story__figure {
  margin: 0;
}

.story__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.story__caption {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.45rem;
}

@media (min-width: 860px) {
  .story__grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .story__copy--wide {
    grid-column: 1 / -1;
  }
}

.mission__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.3rem;
}

.mission__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem;
  align-items: center;
  padding: 0.95rem 1.2rem;
  background: #1a1a1a;
  border-radius: 999px;
  border: 1px solid #3a3a3a;
  border-left: 4px solid var(--red);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.mission__label {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
}

.mission__text {
  margin: 0;
  color: var(--muted);
}

@media (min-width: 800px) {
  .mission__item {
    grid-template-columns: 11rem 1fr;
    gap: 1rem;
    padding-inline: 1.4rem;
  }
}

.timeline {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0 0 0 0.2rem;
  border-left: 2px solid var(--red);
}

.timeline__item {
  position: relative;
  padding: 0 0 1.5rem 1.4rem;
}

.timeline__item::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px #000;
  position: absolute;
  left: -7px;
  top: 0.35rem;
}

.section--grey .timeline__item::before {
  box-shadow: 0 0 0 4px var(--bg-raised);
}

.timeline__year {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--red-hot);
}

.timeline__heading {
  margin: 0.1rem 0 0.35rem;
  font-size: 1.5rem;
}

.timeline__text {
  margin: 0;
  color: var(--muted);
  max-width: var(--measure);
}

.footer {
  background: #0a0a0a;
  border-top: 1px solid var(--red);
  padding: 2.8rem 0 2rem;
}

.footer__grid {
  display: grid;
  gap: 1.5rem;
}

.footer__logo-img {
  width: 96px;
  height: 96px;
  object-fit: cover;
}

.footer__contacts,
.footer__meta {
  display: grid;
  gap: 0.35rem;
  align-content: start;
}

.footer__company,
.footer__owner,
.footer__reg,
.footer__copy {
  margin: 0;
}

.footer__reg,
.footer__copy,
.story__caption,
.form__hint {
  color: var(--muted);
}

.footer__menu,
.footer__legal {
  display: grid;
  gap: 0.35rem;
}

.footer__chats {
  display: flex;
  gap: 1rem;
}

@media (min-width: 860px) {
  .footer__grid {
    grid-template-columns: auto 0.8fr 1.3fr 1.3fr;
    align-items: start;
  }
}

.legal {
  padding: 3.2rem 0 4rem;
}

.legal__title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  margin-bottom: 1rem;
}

.legal__article h2 {
  font-size: 1.8rem;
  margin: 1.6rem 0 0.7rem;
}

.legal__article p {
  max-width: 72ch;
}

@media (max-width: 699px) {
  .banner {
    min-height: 70vh;
  }

  .section {
    padding: 3.2rem 0;
  }

  .mission__item {
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .header__burger-line::before,
  .header__burger-line::after {
    transition: none;
  }
}
