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

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

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

:root {
  --bg: #5c2b24;
  --bg-deep: #3c1c18;
  --black: #111111;
  --ink: #ffffff;
  --red: #e31c1c;
  --red-deep: #c81018;
  --card: #161616;
  --line: rgba(255, 255, 255, 0.16);
  --header-h: 84px;
  --content: 1120px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
}

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

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

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

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

:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

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

.skip:focus {
  top: 0.6rem;
}

.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;
}

main:focus {
  outline: none;
}

/* Header entrance plus a light that keeps travelling along the bottom edge. */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg-deep);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  line-height: 1.2;
}

.header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #6d1814, #ff3b3b, #fff4f2, #ff3b3b, #6d1814);
  background-size: 200% 100%;
  animation: header-sheen 2.8s linear infinite;
  pointer-events: none;
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0 1.25rem;
  animation: header-drop 0.75s cubic-bezier(0.16, 0.84, 0.32, 1) both;
}

.header__logo {
  display: flex;
  flex-shrink: 0;
}

.header__logo-img {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: cover;
  border: 2px solid var(--red);
}

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

.header__burger {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--red);
  border-radius: 12px;
  cursor: pointer;
}

.header__burger-box {
  position: relative;
  width: 22px;
  height: 16px;
}

.header__burger-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #fff;
  transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}

.header__burger-line:nth-child(1) {
  top: 0;
}

.header__burger-line:nth-child(2) {
  top: 7px;
}

.header__burger-line:nth-child(3) {
  top: 14px;
}

.header__toggle:checked + .header__burger .header__burger-line:nth-child(1),
.header__toggle:checked + .header__burger .header__burger-line:nth-child(3) {
  top: 7px;
}

.header__toggle:checked + .header__burger .header__burger-line:nth-child(1) {
  transform: rotate(45deg);
}

.header__toggle:checked + .header__burger .header__burger-line:nth-child(2) {
  opacity: 0;
}

.header__toggle:checked + .header__burger .header__burger-line:nth-child(3) {
  transform: rotate(-45deg);
}

.header__toggle:focus-visible + .header__burger {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.header__panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 30;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.4rem 1.25rem 1.2rem;
  background: var(--bg-deep);
  border-top: 1px solid rgba(227, 28, 28, 0.55);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
  max-height: calc(100vh - var(--header-h));
  overflow: auto;
}

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

.header__menu {
  list-style: none;
  display: flex;
  flex-direction: column;
}

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

.header__link {
  display: inline-block;
  padding: 0.75rem 0;
  text-decoration: none;
  font-weight: 500;
}

.header__link--current {
  box-shadow: inset 0 -2px 0 var(--red);
}

.header__contacts {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.header__phone,
.header__address {
  margin: 0;
}

.header__email {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 0.18em;
}

.banner {
  position: relative;
  width: 100%;
}

.banner__image {
  display: block;
  width: 100%;
  height: clamp(420px, 68vh, 760px);
  object-fit: cover;
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 8, 6, 0.05) 15%, rgba(28, 8, 6, 0.78) 100%);
}

.banner__title {
  position: absolute;
  z-index: 1;
  left: max(1.25rem, calc((100% - var(--content)) / 2));
  right: 1.25rem;
  bottom: 11%;
  max-width: 11em;
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2.7rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.strengths,
.offer,
.advantages,
.booking,
.faq,
.story,
.mission,
.timeline,
.service-list,
.order-steps,
.perks,
.bonus,
.contact {
  padding: 4.5rem 0;
}

.strengths__inner,
.offer__inner,
.advantages__inner,
.booking__inner,
.faq__inner,
.story__inner,
.mission__inner,
.timeline__inner,
.service-list__inner,
.order-steps__inner,
.perks__inner,
.bonus__inner,
.contact__inner,
.footer__inner,
.legal__article {
  width: min(var(--content), calc(100% - 2.5rem));
  margin-inline: auto;
}

.strengths__title,
.offer__title,
.advantages__title,
.booking__title,
.faq__title,
.story__title,
.mission__title,
.timeline__title,
.service-list__title,
.order-steps__title,
.perks__title,
.bonus__title,
.contact__title,
.legal__title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.2rem, 4.4vw, 3.7rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-wrap: pretty;
}

.strengths__title,
.offer__title,
.advantages__title,
.booking__title,
.faq__title,
.story__title,
.mission__title,
.timeline__title,
.service-list__title,
.order-steps__title,
.perks__title,
.bonus__title,
.contact__title {
  margin-bottom: 1.1rem;
}

.prose {
  max-width: 72ch;
  font-size: 1.125rem;
  line-height: 1.75;
  hyphens: auto;
}

.prose p + p {
  margin-top: 1.1rem;
}

.prose p::first-letter {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 3.15rem;
  float: left;
  line-height: 0.78;
  padding: 0.42rem 0.45rem 0 0;
  color: #ff3b30;
}

.prose a {
  text-underline-offset: 0.18em;
  text-decoration-color: var(--red);
}

.offer,
.booking,
.mission,
.order-steps,
.bonus,
.footer {
  background: var(--black);
}

.strengths__list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.strengths__card {
  min-width: 0;
  padding: 1.35rem 1.25rem 1.5rem;
  color: var(--ink);
  background:
    linear-gradient(#141414, #141414) padding-box,
    linear-gradient(145deg, #ff5a5a, #6a2e26 38%, #ffd0c8 62%, #c81018) border-box;
  border: 3px solid transparent;
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -10px 18px rgba(0, 0, 0, 0.35),
    0 14px 24px rgba(0, 0, 0, 0.38),
    0 28px 42px rgba(120, 16, 16, 0.28);
}

.strengths__name,
.offer__name,
.service-card__name,
.faq__question,
.perks__name,
.bonus__name,
.mission__name,
.timeline__year {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
}

.strengths__name {
  font-size: 1.7rem;
  margin-bottom: 0.55rem;
}

.strengths__text {
  margin: 0;
}

.offer__list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.offer__card,
.service-card,
.perks__item,
.bonus__item,
.contact__card {
  background: var(--card);
  border: 2px solid var(--red);
  border-radius: 18px;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.32);
}

.offer__card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.75rem;
}

.offer__photo,
.service-card__photo,
.story__photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
}

.offer__name {
  font-size: 1.45rem;
  padding: 0 0.35rem;
}

.offer__note,
.offer__price {
  margin: 0;
  padding: 0 0.35rem;
}

.offer__price,
.service-card__price {
  color: #ff3b30;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.45rem;
}

.offer__card .button {
  width: 100%;
  margin-top: auto;
}

#booking {
  scroll-margin-top: 110px;
}

.advantages__number {
  font-family: "Fraunces", Georgia, serif;
  color: #ff3b30;
  font-size: 1.35em;
  font-weight: 600;
}

.faq__list {
  margin-top: 1.5rem;
}

.faq__item {
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.faq__item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq__question {
  font-size: 1.55rem;
  margin-bottom: 0.4rem;
}

.faq__answer {
  margin: 0;
  max-width: 72ch;
}

.story__photos {
  display: grid;
  gap: 1rem;
  margin: 1.6rem 0;
}

.story__photo {
  border: 2px solid var(--red);
  border-radius: 18px;
}

.mission__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.mission__stick {
  width: 100%;
  padding: 1rem 1.35rem;
  background:
    linear-gradient(#141414, #141414) padding-box,
    linear-gradient(90deg, #e31c1c, #ffb2aa) border-box;
  border: 2px solid transparent;
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 22px rgba(0, 0, 0, 0.35);
}

.mission__name {
  font-size: 1.45rem;
  margin-bottom: 0.2rem;
}

.mission__text {
  margin: 0;
}

.timeline__list {
  list-style: none;
  margin-top: 1.8rem;
  margin-left: 0.4rem;
  padding-left: 1.6rem;
  border-left: 3px solid var(--red);
}

.timeline__item {
  position: relative;
  padding: 0 0 1.8rem 0.4rem;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -1.6rem;
  top: 0.45rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px var(--bg);
  transform: translateX(-8px);
}

.timeline__year {
  display: block;
  font-size: 2rem;
  color: #ffd0cc;
  margin-bottom: 0.25rem;
}

.timeline__text {
  margin: 0;
  max-width: 68ch;
}

.service-list__items {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.8rem;
}

.service-card {
  display: grid;
  gap: 1.15rem;
  padding: 1rem;
}

.service-card__name {
  font-size: 2rem;
}

.service-card__price {
  margin: 0.35rem 0 0.8rem;
  font-size: 1.8rem;
}

.service-card__label {
  margin: 1rem 0 0.3rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  color: #ff3b30;
}

.service-card__guarantee,
.service-card__terms {
  margin: 0;
}

.service-card__button {
  margin-top: 1.1rem;
}

.order-steps__list,
.contact__hours {
  margin: 1.2rem 0 0;
  padding-left: 1.2rem;
  max-width: 72ch;
}

.order-steps__list li + li,
.contact__hours li + li {
  margin-top: 0.45rem;
}

.perks__list {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.perks__item {
  padding: 1rem 1.1rem 1.15rem;
}

.perks__name {
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}

.perks__text {
  margin: 0;
}

.bonus__list {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin: 1.6rem 0 2rem;
}

.bonus__item {
  padding: 1rem;
}

.bonus__icon {
  width: 42px;
  height: 42px;
  display: block;
  margin-bottom: 0.65rem;
  color: var(--red);
}

.bonus__name {
  font-size: 1.35rem;
  margin-bottom: 0.3rem;
}

.bonus__text {
  margin: 0;
}

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

.contact__phone,
.contact__email,
.contact__address,
.contact__social {
  display: inline-block;
  margin: 0.35rem 0.8rem 0 0;
}

.contact__email,
.contact__address,
.contact__social {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 0.18em;
}

.contact__card {
  padding: 1.25rem;
}

.contact__hours-title {
  margin-top: 1.2rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.6rem;
}

.form {
  display: grid;
  gap: 0.95rem;
  margin-top: 1.4rem;
  max-width: 760px;
}

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

.form__label {
  font-weight: 600;
}

.form__req {
  color: #ff3b30;
  font-weight: 500;
  font-size: 0.92em;
}

.form__input {
  width: 100%;
  padding: 0.85rem 0.9rem;
  background: #1b1b1b;
  color: #fff;
  border: 1px solid var(--red);
  border-radius: 12px;
}

.form__input::placeholder {
  color: #e7c7c2;
}

.form__input[aria-invalid="true"] {
  box-shadow: 0 0 0 2px #fff;
}

.form__check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
}

.form__checkbox {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.25rem;
  accent-color: var(--red);
}

.form__note {
  margin: 0;
  max-width: 68ch;
}

.form__note a {
  text-decoration-color: var(--red);
  text-underline-offset: 0.18em;
}

.form__status {
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--red);
  background: #1a0b0b;
}

.form__status:empty {
  display: none;
}

.form__status--ok {
  background: #141414;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  background: var(--red-deep);
  color: #fff;
  border: 2px solid var(--red-deep);
  border-radius: 999px;
  font-family: "Outfit", "Avenir Next", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(140, 0, 0, 0.35);
}

.button:hover {
  background: #a10e15;
}

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

.legal__updated {
  margin: 0.4rem 0 1.4rem;
  color: #ffd0cc;
}

.footer {
  padding: 3rem 0 2.2rem;
}

.footer__inner {
  display: grid;
  gap: 2rem 1.5rem;
}

.footer__logo {
  display: block;
  width: 112px;
  height: 112px;
  object-fit: cover;
  border: 2px solid var(--red);
}

.footer__menu,
.footer__legal {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer__link,
.footer__email,
.footer__address,
.footer__social {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 0.18em;
}

.footer__contacts,
.footer__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

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

.footer__company {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.55rem;
  margin-bottom: 0.2rem;
}

.footer__legal {
  margin-top: 0.6rem;
}

@media (min-width: 720px) {
  .offer__list,
  .perks__list,
  .bonus__list {
    grid-template-columns: 1fr 1fr;
  }

  .story__photos {
    grid-template-columns: 1fr 1fr;
  }

  .form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.95rem;
  }

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

  .contact__layout {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
  }
}

@media (min-width: 860px) {
  .service-card {
    grid-template-columns: 280px 1fr;
    align-items: start;
  }

  .mission__stick:nth-child(2) {
    width: 94%;
  }

  .mission__stick:nth-child(3) {
    width: 86%;
  }

  .mission__stick:nth-child(4) {
    width: 78%;
  }
}

@media (min-width: 900px) {
  .footer__inner {
    grid-template-columns: 140px 1fr 1.15fr 1fr;
    align-items: start;
  }

  .strengths__list {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .strengths__card:nth-child(2) {
    margin-top: 2.4rem;
  }

  .strengths__card:nth-child(4) {
    margin-top: 2.8rem;
  }
}

@media (min-width: 1100px) {
  .strengths__list {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .strengths__card {
    flex: 1 1 0;
    margin-top: 0;
  }

  .strengths__card:nth-child(1) {
    margin-top: 0;
  }

  .strengths__card:nth-child(2) {
    margin-top: 3.4rem;
  }

  .strengths__card:nth-child(3) {
    margin-top: 1.15rem;
  }

  .strengths__card:nth-child(4) {
    margin-top: 4.6rem;
  }
}

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

  .bonus__list {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

  .header__inner > .header__panel {
    display: flex;
    position: static;
    flex: 1;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1.5rem;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .header__menu {
    flex-direction: row;
    align-items: center;
    gap: 1.2rem;
    flex-shrink: 0;
  }

  .header__link {
    padding: 0;
  }

  .header__contacts {
    flex-direction: row;
    align-items: center;
    gap: 1.15rem;
    margin-left: auto;
    padding: 0;
    border: 0;
    flex-shrink: 0;
  }

  .header__phone,
  .header__email,
  .header__address {
    font-size: 0.95rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@keyframes header-drop {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes header-sheen {
  from {
    background-position: 0% 0;
  }

  to {
    background-position: 200% 0;
  }
}
