:root {
  --bg: #e8e2d6;
  --brown: #3a2e25;
  --brown-2: #6b5d52;
  --brown-deep: #221b16;
  --brown-black: #17120e;
  --white: #ffffff;
  --cream: #fffcf1;
  --gold: #ddb252;
  --text: #3a2e25;
  --body: "Inter Tight", Arial, sans-serif;
  --heading: "EB Garamond", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-weight: 400;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.page {
  min-width: 320px;
  overflow: hidden;
  background: var(--bg);
}

body.info-page {
  background: var(--brown);
  color: var(--bg);
}

.info-shell {
  position: relative;
  min-width: 320px;
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(34, 27, 22, .62) 0%, var(--brown) 46%, var(--brown-deep) 100%),
    url("../img/footer-bg.jpg") center top / cover no-repeat;
}

.info-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(23, 18, 14, .48);
  pointer-events: none;
}

.info-header,
.info-main,
.info-footer {
  position: relative;
  z-index: 1;
}

.info-header {
  display: grid;
  width: 1564px;
  max-width: calc(100% - 96px);
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  margin: 0 auto;
  padding: 24px 0 0;
}

.info-header__logo {
  width: 124px;
}

.info-header__logo img {
  width: 124px;
  height: 41.926px;
}

.info-header__line {
  display: block;
  grid-column: 1 / -1;
  width: 100%;
  height: 1px;
  background: rgba(217, 217, 217, .3);
}

.info-main {
  width: 1564px;
  max-width: calc(100% - 96px);
  margin: 0 auto;
  padding: clamp(96px, 10vw, 170px) 0 120px;
}

.info-hero {
  width: min(1040px, 100%);
}

.info-hero h1 {
  margin: 28px 0 0;
  color: var(--white);
  font-family: var(--heading);
  font-size: clamp(72px, 7.5vw, 144px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -1px;
}

.info-hero__lead {
  width: min(760px, 100%);
  margin: 36px 0 0;
  color: var(--bg);
  font-size: clamp(20px, 1.45vw, 28px);
  line-height: 1.45;
}

.info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.info-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1.3px solid rgba(232, 226, 214, .72);
  border-radius: 999px;
  color: var(--bg);
  font-size: 15px;
  line-height: 1;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.info-action:hover,
.info-action:focus-visible {
  border-color: var(--white);
  background: rgba(232, 226, 214, .12);
  color: var(--white);
}

.info-action--primary {
  border-color: var(--bg);
  background: var(--bg);
  color: var(--brown);
}

.info-action--primary:hover,
.info-action--primary:focus-visible {
  border-color: var(--white);
  background: var(--white);
  color: var(--brown);
}

.info-content {
  display: grid;
  width: min(1060px, 100%);
  gap: 0;
  margin-top: clamp(72px, 8vw, 132px);
}

.info-section {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 96px);
  padding: 38px 0;
  border-top: 1px solid rgba(232, 226, 214, .22);
}

.info-section:last-child {
  border-bottom: 1px solid rgba(232, 226, 214, .22);
}

.info-section h2 {
  margin: 0;
  color: var(--white);
  font-family: var(--heading);
  font-size: clamp(28px, 2vw, 38px);
  font-weight: 400;
  line-height: 1.1;
}

.info-section p,
.info-section li {
  color: rgba(232, 226, 214, .82);
  font-size: 18px;
  line-height: 1.65;
}

.info-section p {
  margin: 0;
}

.info-section p + p {
  margin-top: 18px;
}

.info-section ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 22px;
}

.info-page--legal .info-content {
  width: min(920px, 100%);
}

.info-page--legal .info-section {
  display: block;
  padding: 42px 0;
}

.info-page--legal .info-section h2 {
  width: min(620px, 100%);
  margin-bottom: 20px;
  font-size: clamp(36px, 3vw, 54px);
}

.info-page--legal .info-section p,
.info-page--legal .info-section li {
  width: min(780px, 100%);
}

.info-page--legal .info-section p + p {
  margin-top: 14px;
}

.info-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 69px;
  padding: 24px max(48px, calc((100% - 1564px) / 2));
  background: var(--brown-black);
  color: var(--bg);
  font-size: 14px;
  line-height: 1.5;
}

.info-footer p {
  margin: 0;
}

.info-footer__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.info-footer nav {
  display: flex;
  gap: 32px;
}

.info-footer a:hover,
.info-footer a:focus-visible {
  color: var(--white);
}

.cookie-consent {
  position: fixed;
  z-index: 80;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent__panel {
  width: min(1060px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid rgba(232, 226, 214, .26);
  border-radius: 8px;
  background: var(--brown-deep);
  color: var(--bg);
  box-shadow: 0 26px 86px rgba(0, 0, 0, .42);
  padding: clamp(22px, 2.5vw, 34px);
  pointer-events: auto;
}

.cookie-consent__intro {
  display: grid;
  gap: 12px;
}

.cookie-consent__intro h2,
.cookie-preferences__heading h2 {
  margin: 0;
  color: var(--white);
  font-family: var(--heading);
  font-size: clamp(34px, 3vw, 52px);
  font-weight: 400;
  line-height: 1.05;
}

.cookie-consent__intro p:not(.section-kicker),
.cookie-preferences__heading p:not(.section-kicker),
.cookie-category p {
  margin: 0;
  color: rgba(232, 226, 214, .78);
  font-size: 16px;
  line-height: 1.55;
}

.cookie-consent__intro a {
  width: fit-content;
  color: var(--bg);
  font-size: 15px;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cookie-consent__settings {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.cookie-consent__settings[hidden] {
  display: none;
}

.cookie-consent__actions,
.cookie-preferences__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

.cookie-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1.3px solid rgba(232, 226, 214, .72);
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--body);
  font-size: 15px;
  line-height: 1;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.cookie-button--ghost {
  background: transparent;
  color: var(--bg);
}

.cookie-button--solid {
  border-color: var(--bg);
  background: var(--bg);
  color: var(--brown);
}

.cookie-button:hover,
.cookie-button:focus-visible {
  border-color: var(--white);
  background: rgba(232, 226, 214, .12);
  color: var(--white);
}

.cookie-button--solid:hover,
.cookie-button--solid:focus-visible {
  background: var(--white);
  color: var(--brown);
}

.cookie-category {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  border: 1px solid rgba(232, 226, 214, .16);
  border-radius: 8px;
  background: rgba(232, 226, 214, .06);
  padding: 18px;
}

.cookie-category h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-family: var(--heading);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.05;
}

.cookie-switch {
  display: grid;
  min-width: 122px;
  justify-items: center;
  gap: 8px;
  color: rgba(232, 226, 214, .8);
  font-size: 13px;
  line-height: 1.2;
}

.cookie-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cookie-switch span {
  position: relative;
  display: block;
  width: 54px;
  height: 30px;
  border: 1px solid rgba(232, 226, 214, .38);
  border-radius: 999px;
  background: rgba(23, 18, 14, .42);
  transition: background-color .2s ease, border-color .2s ease;
}

.cookie-switch span::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg);
  transition: transform .2s ease, background-color .2s ease;
}

.cookie-switch input:checked + span {
  border-color: var(--gold);
  background: rgba(221, 178, 82, .26);
}

.cookie-switch input:checked + span::before {
  background: var(--gold);
  transform: translateX(24px);
}

.cookie-switch input:focus-visible + span {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.cookie-switch input:disabled + span {
  opacity: .72;
}

.cookie-preferences {
  width: min(1060px, 100%);
  margin-top: clamp(42px, 5vw, 78px);
  border-top: 1px solid rgba(232, 226, 214, .22);
  padding-top: 38px;
}

.cookie-preferences__heading {
  display: grid;
  width: min(760px, 100%);
  gap: 14px;
}

.cookie-preferences__categories {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.cookie-preferences__status {
  min-height: 24px;
  margin: 18px 0 0;
  color: var(--gold);
  font-size: 15px;
  line-height: 1.5;
}

.hero {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  color: var(--white);
  background-image: url("../img/hero-bg.jpg");
  background-position: center;
  background-size: cover;
}

.media-backdrop {
  position: absolute;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.media-backdrop__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.hero__media {
  inset: 0;
  background-image: url("../img/hero-bg.jpg");
}

@supports (height: 100dvh) {
  .hero {
    height: 100dvh;
    min-height: 100dvh;
  }
}

.hero__shade {
  position: absolute;
  inset: 0;
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .8) 0, rgba(0, 0, 0, 0) 63%),
    linear-gradient(0deg, rgba(0, 0, 0, .8) 0, rgba(0, 0, 0, 0) 63%),
    rgba(0, 0, 0, .2);
  pointer-events: none;
}

.site-header {
  position: absolute;
  z-index: 3;
  top: 24px;
  left: clamp(32px, 6.25vw, 120px);
  right: clamp(32px, 5.94vw, 114px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.site-header__row {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

.site-header__logo {
  width: 124px;
}

.site-header__logo img {
  width: 124px;
  height: 41.926px;
}

.site-header__line,
.closing__line {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(217, 217, 217, .3);
}

.header-button {
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 46px;
  padding: 8px 8px 8px 16px;
  border: 1.3px solid var(--white);
  border-radius: 999px;
  color: var(--white);
  font-size: 15px;
  line-height: 1;
  letter-spacing: .15px;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}

.header-button:hover {
  background: rgba(255, 255, 255, .14);
}

.header-button__icon {
  position: relative;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--white);
}

.header-button__icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 13px;
  transform: translate(-50%, -50%) rotate(-45deg);
  background: url("../icons/arrow-button.svg") center / contain no-repeat;
}

.contact-modal {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 32px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .24s ease, visibility .24s ease;
}

.contact-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 18, 14, .76);
  backdrop-filter: blur(10px);
}

.contact-modal__panel {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100vh - 64px);
  overflow: auto;
  border: 1px solid rgba(232, 226, 214, .26);
  border-radius: 8px;
  background: var(--brown);
  color: var(--bg);
  padding: clamp(32px, 4vw, 56px);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .42);
  transform: translateY(18px);
  transition: transform .24s ease;
}

.contact-modal.is-open .contact-modal__panel {
  transform: translateY(0);
}

.contact-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(232, 226, 214, .42);
  border-radius: 50%;
  background: transparent;
  color: var(--bg);
  cursor: pointer;
}

.contact-modal__close:hover,
.contact-modal__close:focus-visible {
  background: rgba(232, 226, 214, .12);
}

.contact-modal__close span {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
}

.contact-modal__close span::before,
.contact-modal__close span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
}

.contact-modal__close span::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.contact-modal__close span::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.contact-modal__heading {
  width: min(560px, calc(100% - 42px));
  margin-bottom: 34px;
}

.contact-modal__heading p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, .34);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.contact-modal__heading h2 {
  margin: 0;
  color: var(--white);
  font-family: var(--heading);
  font-size: clamp(42px, 4.375vw, 64px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -1px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.contact-form label span {
  color: rgba(232, 226, 214, .72);
  font-size: 14px;
  line-height: 1.5;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(232, 226, 214, .34);
  border-radius: 8px;
  background: rgba(23, 18, 14, .3);
  color: var(--white);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  outline: none;
  transition: border-color .2s ease, background-color .2s ease;
}

.contact-form input,
.contact-form select {
  height: 52px;
  padding: 0 16px;
}

.contact-form textarea {
  min-height: 148px;
  padding: 14px 16px;
  resize: vertical;
}

.contact-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--bg) 50%),
    linear-gradient(135deg, var(--bg) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 22px,
    calc(100% - 14px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 255, 255, .8);
  background-color: rgba(23, 18, 14, .48);
}

.contact-form .select2-container {
  display: block;
  width: 100% !important;
}

.contact-form .select2-container--default .select2-selection--single {
  height: 52px;
  border: 1px solid rgba(232, 226, 214, .34);
  border-radius: 8px;
  background: rgba(23, 18, 14, .3);
  outline: none;
  transition: border-color .2s ease, background-color .2s ease;
}

.contact-form .select2-container--default.select2-container--focus .select2-selection--single,
.contact-form .select2-container--default.select2-container--open .select2-selection--single {
  border-color: rgba(255, 255, 255, .8);
  background: rgba(23, 18, 14, .48);
}

.contact-form .select2-container--default .select2-selection--single .select2-selection__rendered {
  height: 50px;
  padding: 0 48px 0 16px;
  color: var(--white);
  font-family: var(--body);
  font-size: 17px;
  line-height: 50px;
}

.contact-form .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 0;
  right: 13px;
  width: 28px;
  height: 50px;
}

.contact-form .select2-container--default .select2-selection--single .select2-selection__arrow b {
  width: 10px;
  height: 10px;
  margin-top: -7px;
  margin-left: -5px;
  border: 0;
  border-right: 1.5px solid var(--bg);
  border-bottom: 1.5px solid var(--bg);
  transform: rotate(45deg);
  transition: transform .2s ease, margin-top .2s ease;
}

.contact-form .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  margin-top: -2px;
  transform: rotate(225deg);
}

.contact-modal__panel .select2-dropdown {
  overflow: hidden;
  border: 1px solid rgba(232, 226, 214, .34);
  border-radius: 8px;
  background: var(--brown);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .28);
}

.contact-modal__panel .select2-results__option {
  padding: 13px 16px;
  color: var(--bg);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.35;
}

.contact-modal__panel .select2-results__option--highlighted.select2-results__option--selectable,
.contact-modal__panel .select2-results__option--selected {
  background: rgba(232, 226, 214, .12);
  color: var(--white);
}

.contact-modal__panel .select2-container--default .select2-results > .select2-results__options {
  max-height: none;
  overflow-y: visible;
}

.contact-form input.is-invalid,
.contact-form textarea.is-invalid {
  border-color: #ddb252;
}

.contact-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 8px;
}

.contact-form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__status {
  min-height: 21px;
  margin: 0;
  color: rgba(232, 226, 214, .68);
  font-size: 14px;
  line-height: 1.5;
}

.contact-form__status.is-success {
  color: #d8bf7a;
}

.contact-form__status.is-error {
  color: #f0a98f;
}

.contact-form__submit {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 8px 24px;
  border: 1.3px solid var(--bg);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-family: var(--body);
  font-size: 15px;
  line-height: 1;
}

.contact-form__submit:hover,
.contact-form__submit:focus-visible {
  background: rgba(232, 226, 214, .12);
}

.contact-form__submit:disabled {
  cursor: wait;
  opacity: .58;
}

body.modal-open {
  overflow: hidden;
}

.hero__title {
  position: absolute;
  z-index: 2;
  top: 29.45%;
  left: 50%;
  width: 1262px;
  max-width: calc(100% - 48px);
  transform: translateX(-50%);
  text-align: center;
}

.hero__title h1,
.closing__title {
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(76px, 6.6667vw, 128px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -1px;
}

.hero__facts {
  position: absolute;
  z-index: 2;
  top: 68.5%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 1564px;
  max-width: calc(100% - 96px);
  transform: translateX(-50%);
}

.hero-fact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.hero-fact--year {
  width: 356px;
}

.hero-fact--quote {
  width: 283px;
}

.hero-fact strong {
  font-family: var(--heading);
  font-size: 84px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -1px;
}

.hero-fact span {
  color: var(--bg);
  font-size: 22px;
  line-height: 33px;
}

.hero-fact img {
  width: 46px;
  height: 34.688px;
}

.hero-scroll {
  position: absolute;
  z-index: 2;
  right: auto;
  bottom: clamp(18px, 3.2vh, 35px);
  left: 50%;
  display: flex;
  width: 283px;
  transform: translateX(-50%);
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, .5);
  font-size: 14px;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-scroll img {
  width: 32px;
  height: 32px;
  transform: rotate(90deg);
}

.features {
  min-height: 414px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

.features__grid {
  display: flex;
  width: min(1407px, calc(100% - 120px));
  justify-content: center;
  gap: 149px;
}

.feature {
  position: relative;
  display: flex;
  width: 240px;
  flex: 0 0 240px;
  min-height: 174px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.feature + .feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: -74.5px;
  width: 1px;
  height: 174px;
  background: #b9b4ab;
}

.feature img {
  width: 66px;
  height: 66px;
  object-fit: contain;
}

.feature p {
  margin: 0;
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 22px;
  line-height: 33px;
}

.spaces {
  display: grid;
  min-height: 1080px;
  grid-template-columns: minmax(480px, 830px) 1fr;
  background: var(--brown);
}

.spaces__photo {
  position: relative;
  min-height: 1080px;
  overflow: hidden;
  background: #000;
}

.spaces__photo img {
  position: absolute;
  top: -1.57%;
  left: -66.18%;
  width: 243.69%;
  height: 105.37%;
  max-width: none;
}

.spaces__content {
  position: relative;
  min-height: 1080px;
  padding-top: 87px;
  padding-left: min(8vw, 161px);
  color: var(--bg);
}

.section-kicker {
  margin: 0;
  color: rgba(255, 255, 255, .3);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.services {
  width: min(822px, calc(100% - 80px));
  margin: 142px 0 0;
  padding: 0;
  list-style: none;
}

.services__item {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  column-gap: 34px;
  align-items: start;
  padding-bottom: 34px;
}

.services__item + .services__item {
  padding-top: 34px;
  border-top: 1px solid var(--brown-2);
}

.services__number {
  font-family: var(--heading);
  font-size: 25px;
  line-height: 1.05;
  letter-spacing: -1px;
}

.services__name {
  display: block;
  width: 645px;
  max-width: 100%;
  font-family: var(--heading);
  font-size: 84px;
  line-height: 1.05;
  letter-spacing: -1px;
}

.closing {
  position: relative;
  min-height: 1202px;
  overflow: hidden;
  color: var(--bg);
  background: var(--brown-deep);
}

.closing__media {
  position: absolute;
  inset: 0 0 auto;
  height: 858px;
  background-image: url("../img/footer-bg.jpg");
}

.closing__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(34, 27, 22, 0) 0%, var(--brown-deep) 100%);
  pointer-events: none;
}

.closing__base {
  position: absolute;
  top: 858px;
  left: 0;
  right: 0;
  height: 344px;
  background: var(--brown-deep);
}

.closing__title {
  position: absolute;
  z-index: 2;
  top: 160px;
  left: 50%;
  width: 1262px;
  max-width: calc(100% - 48px);
  transform: translateX(-50%);
  color: var(--white);
  text-align: center;
}

.closing__line {
  position: absolute;
  z-index: 2;
  top: 643px;
  left: 50%;
  width: 1668px;
  max-width: calc(100% - 252px);
  transform: translateX(-50%);
  background: rgba(217, 217, 217, .5);
}

.closing__content {
  position: absolute;
  z-index: 2;
  top: 771px;
  left: 50%;
  display: flex;
  width: 1564px;
  max-width: calc(100% - 96px);
  transform: translateX(-50%);
  align-items: flex-start;
  justify-content: space-between;
}

.footer-brand {
  width: 318px;
}

.footer-brand img {
  width: 252px;
  height: 85px;
}

.footer-brand p {
  margin: 37px 0 0;
  color: var(--bg);
  font-size: 17px;
  line-height: 1.5;
}

.footer-contact {
  width: 189px;
  margin: 0;
  color: var(--cream);
  font-style: normal;
}

.footer-contact h2 {
  margin: 0 0 24px;
  color: var(--white);
  font-family: var(--heading);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.1;
}

.footer-contact > a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 32px;
  color: var(--cream);
  font-size: 17px;
  line-height: 1.5;
}

.footer-contact > a img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.socials {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 40px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg);
  transition: background-color .2s ease;
}

.socials a:hover,
.socials a:focus-visible {
  background: var(--white);
}

.socials img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.legal {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 69px;
  padding: 24px max(48px, calc((100% - 1564px) / 2));
  background: var(--brown-black);
  color: var(--bg);
  font-size: 14px;
  line-height: 1.5;
  white-space: nowrap;
}

.legal p {
  margin: 0;
}

.legal__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.legal a:hover,
.footer-contact > a:hover {
  color: var(--white);
}

@media (max-width: 1500px) {
  .features__grid {
    gap: clamp(48px, 4.8vw, 96px);
  }

  .hero__title {
    top: 29.45%;
  }

  .hero__facts {
    top: 68.5%;
  }

  .hero-scroll {
    bottom: clamp(18px, 3.2vh, 35px);
  }

  .spaces {
    grid-template-columns: 43.2vw 1fr;
  }

  .services__name {
    font-size: clamp(58px, 4.375vw, 84px);
  }
}

@media (max-width: 1024px) {
  .info-header,
  .info-main {
    max-width: calc(100% - 56px);
  }

  .info-main {
    padding: 104px 0 100px;
  }

  .info-section {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .info-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 28px;
  }

  .info-footer__links {
    flex-wrap: wrap;
    gap: 12px 28px;
  }

  .site-header {
    left: 28px;
    right: 28px;
  }

  .hero__title {
    top: 27%;
  }

  .hero__title h1 {
    font-size: clamp(60px, 7vw, 74px);
  }

  .hero__facts {
    top: 67%;
    max-width: calc(100% - 56px);
  }

  .hero-fact strong {
    font-size: 64px;
  }

  .hero-fact span,
  .feature p {
    font-size: 18px;
    line-height: 27px;
  }

  .hero-scroll {
    bottom: 24px;
  }

  .features {
    min-height: auto;
    padding: 80px 28px;
  }

  .features__grid {
    width: 100%;
    flex-wrap: wrap;
    column-gap: 120px;
    row-gap: 48px;
  }

  .feature:nth-child(3)::before {
    display: none;
  }

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

  .spaces__photo,
  .spaces__content {
    min-height: auto;
  }

  .spaces__photo {
    height: 760px;
  }

  .spaces__content {
    padding: 80px 48px 100px;
  }

  .services {
    width: 100%;
    margin-top: 80px;
  }

  .closing__line,
  .closing__content {
    max-width: calc(100% - 56px);
  }

  .legal {
    padding: 24px 28px;
  }
}

@media (max-width: 720px) {
  .cookie-consent {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .cookie-consent__panel {
    max-height: calc(100vh - 24px);
    padding: 20px;
  }

  .cookie-category {
    grid-template-columns: 1fr;
  }

  .cookie-switch {
    width: 100%;
    grid-template-columns: auto 1fr;
    justify-items: start;
    align-items: center;
  }

  .cookie-consent__actions,
  .cookie-preferences__actions {
    flex-direction: column;
  }

  .cookie-button {
    width: 100%;
  }

  .info-header {
    max-width: calc(100% - 40px);
    gap: 16px;
    padding-top: 18px;
  }

  .info-header__logo {
    width: 104px;
  }

  .info-header__logo img {
    width: 104px;
    height: 35.16px;
  }

  .info-header__button {
    max-width: 148px;
    height: 40px;
    gap: 10px;
    padding-left: 12px;
    font-size: 14px;
  }

  .info-header__button > span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .info-main {
    max-width: calc(100% - 40px);
    padding: 76px 0 78px;
  }

  .info-hero h1 {
    font-size: clamp(58px, 17vw, 76px);
    line-height: 1.02;
  }

  .info-hero__lead {
    margin-top: 28px;
    font-size: 19px;
  }

  .info-actions {
    margin-top: 34px;
  }

  .info-action {
    width: 100%;
  }

  .info-content {
    margin-top: 66px;
  }

  .info-section {
    padding: 30px 0;
  }

  .info-section p,
  .info-section li {
    font-size: 16px;
  }

  .info-footer {
    padding: 24px 20px;
  }

  .info-footer nav {
    flex-direction: column;
    gap: 8px;
  }

  .info-footer__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .hero {
    background-position: center top;
  }

  .contact-modal {
    padding: 16px;
  }

  .contact-modal__panel {
    max-height: calc(100vh - 32px);
    padding: 30px 20px 24px;
  }

  .contact-modal__close {
    top: 14px;
    right: 14px;
  }

  .contact-modal__heading {
    width: calc(100% - 46px);
    margin-bottom: 26px;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .contact-form__footer {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .contact-form__submit {
    width: 100%;
  }

  .site-header {
    top: 18px;
    gap: 16px;
    left: 20px;
    right: 20px;
    width: auto;
  }

  .site-header__row {
    gap: 16px;
  }

  .site-header__logo {
    width: 104px;
  }

  .site-header__logo img {
    width: 104px;
    height: 35.16px;
  }

  .header-button {
    max-width: 138px;
    flex: 0 0 auto;
    height: 40px;
    gap: 10px;
    padding-left: 12px;
    font-size: 14px;
  }

  .header-button > span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-button__icon {
    width: 23px;
    height: 23px;
  }

  .hero__title {
    max-width: calc(100% - 40px);
    top: clamp(120px, 22vh, 176px);
  }

  .hero__title h1 {
    font-size: 66.85px;
    line-height: 1.08;
  }

  .closing__title {
    font-size: clamp(54px, 14vw, 76px);
  }

  .hero__facts {
    left: 20px;
    right: 20px;
    width: auto;
    max-width: none;
    transform: none;
    top: 66%;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
  }

  .hero-fact--year,
  .hero-fact--quote {
    width: min(170px, calc(50% - 8px));
  }

  .hero-fact--quote {
    align-items: flex-end;
    text-align: right;
  }

  .hero-fact strong {
    font-size: 52px;
  }

  .hero-fact span {
    font-size: 15px;
    line-height: 22px;
  }

  .hero-scroll {
    bottom: 20px;
  }

  .features__grid {
    flex-direction: column;
    align-items: center;
    row-gap: 26px;
  }

  .feature {
    min-height: 150px;
  }

  .feature + .feature::before {
    top: -13px;
    left: 50%;
    width: 160px;
    height: 1px;
    transform: translateX(-50%);
  }

  .feature:nth-child(3)::before {
    display: block;
  }

  .spaces__photo {
    height: 620px;
  }

  .spaces__content {
    padding: 64px 28px 82px;
  }

  .services__item {
    grid-template-columns: 24px minmax(0, 1fr);
    column-gap: 22px;
  }

  .services__name {
    font-size: clamp(48px, 14vw, 68px);
  }

  .closing {
    min-height: 1130px;
  }

  .closing__title {
    top: 128px;
  }

  .closing__line {
    top: 470px;
  }

  .closing__content {
    top: 565px;
    left: 20px;
    right: 20px;
    width: auto;
    max-width: none;
    transform: none;
    flex-direction: column;
    gap: 64px;
  }

  .footer-contact {
    width: 100%;
  }

  .legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 24px 20px;
    white-space: normal;
  }

  .legal__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
