html,
body {
  margin: 0;
}

.contact-page {
  overflow-x: hidden;
  overflow-y: auto;
  background: #aeb0b5;
  color: #101214;
}

.contact-page .nav-shell {
  position: fixed;
  z-index: 1000;
}

.contact-page .nav-shell nav a.active,
.contact-page .nav-shell nav a.active:hover {
  color: #fff !important;
  background: transparent !important;
}

.contact-hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 720px;
  overflow: hidden;
  background: #afb0b6;
}

.contact-hero picture {
  position: absolute;
  inset: 0;
}

.contact-background {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.contact-caption {
  position: absolute;
  left: var(--site-content-edge);
  bottom: 7.5vh;
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  white-space: nowrap;
}

.contact-card {
  position: absolute;
  right: var(--site-content-edge);
  bottom: 46px;
  box-sizing: border-box;
  width: 720px;
  height: 420px;
  padding: 33px 38px;
  border-radius: 30px;
  background: #fffcf5;
  color: #000;
}

.contact-card > span {
  display: block;
  margin: 0;
  color: rgba(0, 0, 0, .5);
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
}

.contact-card h1 {
  width: 553px;
  margin: 11px 0 0;
  color: #000;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: 0;
  text-shadow: none;
}

.contact-card p {
  margin: 16px 0 0;
  color: rgba(0, 0, 0, .5);
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  white-space: nowrap;
}

.contact-open {
  position: absolute;
  left: 38px;
  bottom: 38px;
  width: 145px;
  height: 54px;
  padding: 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 50px;
  background: #000;
  color: #fff;
  box-sizing: border-box;
  min-width: max-content;
  white-space: nowrap;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
}

.contact-open > span {
  flex-shrink: 0;
}

.contact-open img {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  display: block;
}

.contact-modal {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility 0s linear .3s;
}

.contact-modal.is-open {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
}

.contact-modal-panel {
  position: relative;
  box-sizing: border-box;
  width: 906px;
  height: 571px;
  border-radius: 30px;
  background: #fffcf5;
  color: #000;
  transform: translateY(22px) scale(.98);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}

.contact-modal.is-open .contact-modal-panel {
  transform: none;
}

.contact-modal-panel h2 {
  position: absolute;
  top: 27px;
  left: 43px;
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.contact-modal-close {
  position: absolute;
  top: 35px;
  right: 37px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #000;
  cursor: pointer;
}

.contact-modal-close span {
  position: absolute;
  top: 21px;
  left: 12px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
}

.contact-modal-close span:first-child {
  transform: rotate(45deg);
}

.contact-modal-close span:last-child {
  transform: rotate(-45deg);
}

.contact-modal-body {
  position: static;
}

.contact-modal-copy h3 {
  position: absolute;
  top: 349px;
  left: 43px;
  width: 305px;
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 28px;
}

.contact-modal-copy a {
  position: absolute;
  top: 492px;
  left: 43px;
  color: rgba(0, 0, 0, .5);
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-qrs {
  position: absolute;
  top: 353px;
  right: 44px;
  display: flex;
  gap: 19px;
}

.contact-qrs figure {
  width: 131px;
  margin: 0;
  text-align: center;
}

.contact-qrs img {
  box-sizing: border-box;
  width: 131px;
  height: 132px;
  display: block;
  border: 1px solid #ede9df;
  border-radius: 11px;
  object-fit: cover;
  background: #fff;
}

.contact-qrs figcaption {
  margin-top: 7px;
  color: rgba(0, 0, 0, .6);
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
}

@media (max-width: 1100px) and (min-width: 801px) {
  .contact-card {
    right: 24px;
    width: min(720px, calc(100vw - 48px));
  }
}

@media (max-width: 800px) {
  .contact-page {
    overflow: auto;
  }

  .contact-page .nav-shell {
    position: fixed;
    top: 12px;
    width: calc(100% - 20px);
    height: 44px;
    padding: 0;
    overflow: hidden;
    align-items: start;
    border-radius: 999px;
    transition: height .38s ease, border-radius .3s ease, background-color .3s ease;
  }

  .contact-page .nav-shell .brand {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 59px;
    height: 15px;
  }

  .contact-page .nav-shell .brand img {
    width: 59px;
    height: 15px;
  }

  .contact-page .nav-shell nav {
    position: absolute;
    top: 94px;
    right: 14px;
    left: 14px;
    display: grid;
    gap: 7px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .3s ease, visibility .25s;
  }

  .contact-page .nav-shell nav a,
  .contact-page .nav-shell nav a.active {
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 0 15px;
    justify-content: flex-start;
    color: #fff !important;
    background: rgba(255, 255, 255, .14) !important;
  }

  .contact-page .nav-shell nav a::after,
  .contact-page .nav-shell .login::after {
    content: "›";
    position: absolute;
    right: 16px;
    font-size: 19px;
  }

  .contact-page .nav-shell .login {
    position: absolute;
    right: auto;
    bottom: 16px;
    left: 14px;
    width: calc(100% - 28px);
    height: 40px;
    padding: 0 15px;
    display: none;
    justify-content: flex-start;
  }

  .contact-page .mobile-menu-toggle {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 44px;
    height: 30px;
    padding: 0;
    display: grid;
    place-content: center;
    gap: 5px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .13);
  }

  .contact-page .mobile-menu-toggle i {
    width: 13px;
    height: 1px;
    display: block;
    border-radius: 2px;
    background: #fff;
    transition: .2s ease;
  }

  .contact-page .nav-shell.mobile-menu-open {
    height: 390px;
    border-radius: 28px;
    background: rgba(107, 108, 113, .88);
  }

  .contact-page .nav-shell.mobile-menu-open nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .contact-page .nav-shell.mobile-menu-open .login {
    display: flex;
  }

  .contact-page .mobile-menu-open .mobile-menu-toggle i:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .contact-page .mobile-menu-open .mobile-menu-toggle i:nth-child(2) {
    opacity: 0;
  }

  .contact-page .mobile-menu-open .mobile-menu-toggle i:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .contact-hero {
    height: 100svh;
    min-height: 640px;
  }

  .contact-background {
    object-position: center;
  }

  .contact-caption {
    display: none;
  }

  .contact-card {
    right: 2.7vw;
    bottom: 4.2%;
    left: 2.7vw;
    width: auto;
    height: 34.07%;
    min-height: 0;
    padding: 0;
    border-radius: 15px;
  }

  .contact-card > span {
    position: absolute;
    top: 9.57%;
    left: 4.08%;
    font-size: 10px;
    line-height: 11px;
  }

  .contact-card h1 {
    position: absolute;
    top: 17.33%;
    left: 4.08%;
    width: 84.51%;
    margin: 0;
    font-size: 11px;
    line-height: 14px;
  }

  .contact-card p {
    position: absolute;
    top: 45.31%;
    left: 4.08%;
    width: 76%;
    margin: 0;
    font-size: 11px;
    line-height: 14px;
    white-space: normal;
  }

  .contact-open {
    right: 4.08%;
    bottom: 5.6%;
    left: 4.08%;
    width: auto;
    height: 37px;
    padding: 0;
    justify-content: center;
    gap: 4px;
    font-size: 9px;
  }

  .contact-open img {
    display: none;
  }

  .contact-modal {
    padding-top: 19px;
  }

  .contact-modal-panel {
    width: calc(100% - 20px);
    height: 51.41vh;
    min-height: 418px;
    max-height: 460px;
    border-radius: 15px;
  }

  .contact-modal-panel h2 {
    top: 20px;
    left: 14px;
    font-size: 20px;
  }

  .contact-modal-close {
    top: 20px;
    right: 14px;
    width: 30px;
    height: 30px;
  }

  .contact-modal-close span {
    top: 14px;
    left: 8px;
    width: 14px;
    height: 1px;
  }

  .contact-modal-copy h3 {
    top: 226px;
    left: 14px;
    width: 125px;
    font-size: 11px;
    line-height: 14px;
  }

  .contact-modal-copy a {
    top: 378px;
    bottom: auto;
    left: 14px;
    font-size: 10px;
    line-height: 11px;
  }

  .contact-qrs {
    top: 226px;
    right: 14px;
    left: auto;
    justify-content: flex-start;
    gap: 7px;
  }

  .contact-qrs figure,
  .contact-qrs img {
    width: 79px;
  }

  .contact-qrs img {
    height: 79px;
    border-radius: 6px;
  }

  .contact-qrs figcaption {
    margin-top: 3px;
    font-size: 9px;
    line-height: 16px;
  }

  .contact-modal-panel::after {
    content: "";
    position: absolute;
    top: 357px;
    right: 14px;
    left: 14px;
    height: 1px;
    background: #ede9df;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-modal,
  .contact-modal-panel {
    transition: none;
  }
}


@media (min-width: 801px) {
  .contact-hero {
    --contact-unit: min(1px,calc(100vw / 1920));
    background: #9d9ea7;
    min-height: 640px;
  }

  .contact-hero picture {
    inset: .37037% .10417% auto auto;
    width: auto;
    aspect-ratio: 811 / 1081;
    height: 100.09259%;
  }

  .contact-card {
    top: 38.61111%;
    left: max(var(--site-content-edge),14.0625%);
    right: auto;
    bottom: auto;
    width: calc(720 * var(--contact-unit));
    height: calc(420 * var(--contact-unit));
    padding: calc(33 * var(--contact-unit)) calc(38 * var(--contact-unit));
    border-radius: calc(30 * var(--contact-unit));
  }

  .contact-card > span {
    font-size: calc(14 * var(--contact-unit));
    line-height: calc(22 * var(--contact-unit));
  }

  .contact-card h1 {
    width: calc(553 * var(--contact-unit));
    margin-top: calc(11 * var(--contact-unit));
    font-size: calc(16 * var(--contact-unit));
    line-height: calc(22 * var(--contact-unit));
  }

  .contact-card p {
    margin-top: calc(16 * var(--contact-unit));
    font-size: calc(16 * var(--contact-unit));
    line-height: calc(22 * var(--contact-unit));
  }

  .contact-open {
    left: calc(38 * var(--contact-unit));
    bottom: calc(38 * var(--contact-unit));
    width: calc(145 * var(--contact-unit));
    height: calc(54 * var(--contact-unit));
    padding-inline: calc(25 * var(--contact-unit));
    gap: calc(7 * var(--contact-unit));
    font-size: calc(14 * var(--contact-unit));
  }
}

@media (max-width: 800px) {
  .contact-hero { --contact-mobile-unit: calc(100vw / 750); }
  .contact-card { border-radius: calc(30 * var(--contact-mobile-unit)); }
  .contact-card > span {
    font-size: calc(20 * var(--contact-mobile-unit));
    line-height: calc(22 * var(--contact-mobile-unit));
  }
  .contact-card h1,
  .contact-card p {
    font-size: calc(22 * var(--contact-mobile-unit));
    line-height: calc(28 * var(--contact-mobile-unit));
  }
  .contact-open {
    height: 13.36%;
    font-size: calc(18 * var(--contact-mobile-unit));
  }
}
