@font-face {
  font-family: "Resolve";
  src: url("../fonts/Resolve-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Resolve";
  src: url("../fonts/Resolve-Semibold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Suisse";
  src: url("../fonts/SuisseIntl-Book.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #3f4f34;
  --green-dark: #33422c;
  --green-line: #526241;
  --brown: #9c7b50;
  --paper: #f4f4f1;
  --text: #8b8d87;
  --white: #ffffff;
  --display: "Resolve", "Montserrat", Arial, sans-serif;
  --heavy: "Montserrat", Arial, sans-serif;
  --body: "Suisse", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--green);
  font-family: var(--body);
  line-height: 1.45;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  background: var(--paper);
  opacity: 1;
  transition: opacity 520ms ease;
}

body.is-loaded::before {
  opacity: 0;
}

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

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

button,
input {
  font: inherit;
}

::selection {
  background: rgba(156, 123, 80, 0.35);
}

:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 5px;
}

.skip-link {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 3;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-top: 0;
  border-left: 0;
  transform: translateX(-50%) rotate(45deg);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  animation: hero-arrow-float 2.2s ease-in-out infinite;
}

body:not(.is-loaded) .skip-link {
  opacity: 0;
  transform: translateX(-50%) translateY(10px) rotate(45deg);
}

.skip-link:hover {
  opacity: 0.75;
  transform: translate(-50%, 4px) rotate(45deg);
  animation-play-state: paused;
}

@keyframes hero-arrow-float {
  0%,
  100% {
    transform: translateX(-50%) rotate(45deg);
  }

  50% {
    transform: translateX(-50%) translateY(7px) rotate(45deg);
  }
}

.hero-lobby {
  position: relative;
  min-height: clamp(780px, 100svh, 960px);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(70px, 8vh, 110px) 28px clamp(72px, 8vh, 108px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.08) 45%, rgba(0, 0, 0, 0.42)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.34)),
    url("../img/pdf/lobby.jpg") center / cover no-repeat;
}

.hero-lobby::after,
.lead-form::after,
.viewport-band--copy::after,
.viewport-band--appointment::after,
.contact::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: clamp(40px, 7vh, 84px);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(244, 244, 241, 0), rgba(244, 244, 241, 0.92));
}

.contact::after {
  display: none;
}

.hero-lobby__content {
  --hero-offset: clamp(34px, 9vh, 86px);
  width: min(390px, 52vw);
  opacity: 0;
  transform: translateY(calc(var(--hero-offset) + 22px));
  transition:
    opacity 820ms ease,
    transform 980ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-lobby__logo {
  width: 100%;
  filter: brightness(0) invert(1);
}

.hero-lobby__home-link {
  display: block;
}

.hero-lobby__tagline {
  position: absolute;
  left: 50%;
  bottom: clamp(34px, 5vh, 50px);
  width: min(920px, calc(100% - 48px));
  margin: 0;
  transform: translateX(-50%);
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(17px, 1.55vw, 30px);
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  transition:
    opacity 820ms ease 120ms,
    transform 980ms cubic-bezier(0.22, 1, 0.36, 1) 120ms;
}

body:not(.is-loaded) .hero-lobby__tagline {
  transform: translateX(-50%) translateY(18px);
}

body.is-loaded .hero-lobby__content {
  opacity: 1;
  transform: translateY(var(--hero-offset));
}

body.is-loaded .hero-lobby__tagline {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.slider-arrow {
    position: absolute;
    z-index: 2;
    right: clamp(34px, 4vw, 72px);
    top: 50%;
    width: clamp(26px, 2.4vw, 42px);
    height: clamp(26px, 2.4vw, 42px);
    padding: 0;
    background: transparent;
    border-left: 0;
    border-bottom: 0;
    border-top: 4px solid var(--white);
    border-right: 4px solid var(--white);
    transform: translateY(-50%) rotate(45deg);
    cursor: pointer;
    transition: opacity 180ms ease, transform 180ms ease;
  }

.slider-arrow:hover,
.slider-arrow:focus-visible {
    opacity: 0.82;
    transform: translateY(-50%) rotate(45deg) scale(1.06);
  }

.slider-arrow:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 10px;
  }

.lead-form {
  position: relative;
  min-height: clamp(760px, 55vw, 930px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(500px, 0.72fr);
  gap: clamp(30px, 5vw, 90px);
  align-items: start;
  padding: clamp(54px, 6vw, 88px) clamp(34px, 5vw, 86px);
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(9, 32, 43, 0.16), rgba(9, 32, 43, 0.18)),
    url("../img/pdf/hero-fachada.jpg") center 48% / cover no-repeat;
}

.lead-form__title h1 {
  margin: 0;
  max-width: 830px;
  color: var(--white);
  font-family: var(--heavy);
  font-size: clamp(38px, 4.4vw, 78px);
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

.form-panel {
  width: min(100%, 720px);
  margin-top: clamp(22px, 4vw, 72px);
  padding: clamp(34px, 3.7vw, 64px) clamp(34px, 4.5vw, 76px);
  background: var(--green);
  color: var(--white);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.form-panel p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(24px, 2vw, 36px);
  line-height: 1.2;
  text-align: center;
}

.form-panel h2 {
  margin: 24px 0 26px;
  font-family: var(--display);
  font-size: clamp(30px, 2.5vw, 47px);
  font-weight: 300;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.design-form {
  display: grid;
  gap: clamp(18px, 1.45vw, 25px);
}

.design-form label {
  display: grid;
  gap: 15px;
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--display);
  font-size: clamp(15px, 1.2vw, 21px);
}

.design-form input {
  width: 100%;
  min-height: 38px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--white);
}

.design-form input:focus {
  border-bottom-color: var(--white);
}

.design-form button,
.button {
  display: inline-grid;
  min-width: 210px;
  min-height: 50px;
  place-items: center;
  justify-self: center;
  border: 0;
  border-radius: 0;
  margin-top: 18px;
  padding: 12px 30px;
  background: var(--white);
  color: var(--green);
  cursor: pointer;
  font-family: var(--display);
  font-size: clamp(18px, 1.4vw, 27px);
  line-height: 1;
  text-transform: uppercase;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.design-form button:hover,
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.design-form button:active,
.button:active {
  transform: translateY(0);
}

.design-form small {
  min-height: 20px;
  text-align: center;
}

.media-panel {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    background-position: center;
    background-size: 104%;
    background-repeat: no-repeat;
    transition:
      opacity 180ms ease,
      background-image 180ms ease,
      background-position 180ms ease,
      background-size 1200ms cubic-bezier(0.22, 1, 0.36, 1);
  }

.media-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.12)),
      linear-gradient(90deg, rgba(0, 0, 0, 0.10), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.10));
    opacity: 0.22;
    transition: opacity 700ms ease;
  }

.media-panel.is-visible::before {
    opacity: 0.1;
  }

.media-panel.is-visible {
    background-size: 100%;
  }

.media-panel.is-switching {
    opacity: 0.94;
  }

.media-panel--terrace {
  background-image: url("../img/pdf/terraza.jpg");
  background-position: center 46%;
}

.media-panel--bedroom {
  background-image: url("../img/pdf/dormitorio.jpg");
  background-position: center 52%;
}

.media-panel--facade {
  background-image: url("../img/pdf/fachada-detalle.jpg");
  background-position: center 44%;
}

.viewport-band {
  position: relative;
  display: grid;
  width: 100%;
}

.viewport-band--copy {
  min-height: 40svh;
  background: var(--paper);
}

.viewport-band--appointment {
  min-height: 20svh;
  background: var(--paper);
}

.viewport-band--contact {
  min-height: 50svh;
}

.copy-band {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(22px, 4vw, 64px);
  align-items: center;
  background: var(--paper);
  min-height: 100%;
  padding: clamp(22px, 2.6vw, 44px) clamp(34px, 5.6vw, 104px);
  position: relative;
  z-index: 1;
}

.copy-band__intro {
  position: relative;
  padding-left: clamp(24px, 2.8vw, 48px);
  max-width: 720px;
}

.copy-band__intro::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: clamp(88px, 6.8vw, 152px);
  background: rgba(63, 79, 52, 0.55);
  transform: translateY(-50%);
}

.copy-band p {
  margin: 0;
  color: #a59e90;
  font-family: var(--display);
  font-size: clamp(17px, 1.12vw, 22px);
  line-height: 1.3;
  text-transform: uppercase;
}

.copy-band h2 {
  margin: clamp(12px, 1.2vw, 18px) 0 0;
  color: var(--green);
  font-family: var(--heavy);
  font-size: clamp(28px, 2.5vw, 50px);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  max-width: 12.5ch;
}

.nowrap {
  white-space: nowrap;
}

.amenities__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px clamp(22px, 3vw, 44px);
  align-content: center;
  color: var(--text);
  font-family: var(--display);
  font-size: clamp(15px, 1vw, 19px);
  line-height: 1.34;
}

.amenities__list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.amenities__list li {
  margin-bottom: 7px;
}

.amenities__list li::before {
  content: "\00b7";
  margin-right: 10px;
}

.button {
  width: fit-content;
  margin-top: 24px;
  min-width: 245px;
  font-size: clamp(18px, 1.25vw, 25px);
}

.button--brown {
  background: var(--brown);
  color: var(--white);
}

.button--brown:hover {
  background: #876943;
}

.button--green {
  background: var(--green);
  color: var(--white);
}

.button--green:hover {
  background: var(--green-dark);
}

.button--light {
  background: var(--white);
  color: var(--green);
}

.button--light:hover {
  background: #ecece7;
}

.copy-band--project .copy-band__intro h2 {
  margin-top: 0;
  color: var(--brown);
  max-width: 11ch;
}

.project__copy {
  display: grid;
  align-content: center;
  justify-items: start;
  color: var(--text);
  font-family: var(--display);
  font-size: clamp(16px, 1vw, 19px);
  line-height: 1.42;
  max-width: 510px;
}

.project__copy p {
  max-width: 510px;
  color: var(--text);
  text-transform: none;
}

.project__copy .button {
  margin-top: 22px;
}

.appointment {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 12px 24px;
  background: var(--paper);
  position: relative;
  z-index: 1;
}

.gallery-split {
  display: grid;
  align-items: stretch;
  min-height: clamp(580px, 52vw, 920px);
  background: #ebe9e3;
}

.gallery-split--amenities {
  grid-template-columns: minmax(0, 60vw) minmax(0, 40vw);
}

.gallery-split--project {
  grid-template-columns: minmax(0, 80vw) minmax(0, 20vw);
}

.gallery-split__main,
.gallery-split__rail {
  min-width: 0;
}

.gallery-split__rail {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 0;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  min-height: 0;
  background: #d8d5cf;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.22));
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card span {
  position: absolute;
  left: 26px;
  bottom: 24px;
  z-index: 1;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(14px, 1vw, 18px);
  line-height: 1.2;
  text-transform: uppercase;
}

.gallery-card--feature {
  height: 100%;
}

.gallery-card--feature::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 24%;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.3));
}

.detail-form {
  position: relative;
  min-height: clamp(720px, 53vw, 910px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(520px, 0.85fr);
  align-items: center;
  gap: clamp(28px, 4vw, 76px);
  padding: clamp(50px, 6vw, 90px) clamp(34px, 6vw, 100px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.50), rgba(255, 255, 255, 0.08)),
    url("../img/pdf/sala.jpg") center 48% / cover no-repeat;
}

.detail-form__brand {
  width: min(520px, 70vw);
  margin-inline: auto;
}

.detail-form__brand img {
  filter: brightness(0) invert(1);
}

.form-panel--large {
  margin: 0;
  width: min(100%, 760px);
}

.contact,
.thank-you {
  position: relative;
  overflow: hidden;
  background: var(--green);
  color: var(--white);
}

.contact::before,
.thank-you::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  opacity: 0.28;
  background:
    radial-gradient(ellipse at 76% 17%, transparent 0 9%, var(--green-line) 9.2% 14%, transparent 14.2%),
    radial-gradient(ellipse at 53% 52%, transparent 0 18%, var(--green-line) 18.2% 23%, transparent 23.2%),
    linear-gradient(28deg, transparent 0 35%, var(--green-line) 35.2% 42%, transparent 42.2% 100%);
}

.contact__inner {
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  width: min(1150px, calc(100vw - 64px));
  margin-inline: auto;
  padding: clamp(20px, 1.8vw, 30px) 0 clamp(16px, 1.4vw, 22px);
}

.contact__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  padding-bottom: clamp(14px, 1.2vw, 18px);
}

.contact h2 {
  margin: 0;
  font-family: var(--heavy);
  font-size: clamp(40px, 4.4vw, 82px);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.social-links {
  display: flex;
  gap: 14px;
  align-items: center;
}

.social-links a {
  display: grid;
  width: clamp(26px, 2vw, 38px);
  aspect-ratio: 1;
  place-items: center;
}

.social-links img {
  width: 100%;
  filter: brightness(0) invert(1);
}

.contact__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.2fr 0.9fr;
  gap: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  padding: clamp(14px, 1.2vw, 18px) 0;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--display);
  font-size: clamp(15px, 0.94vw, 18px);
  line-height: 1.28;
  text-align: center;
}

.contact__grid p,
.contact__grid address {
  margin: 0;
  font-style: normal;
}

.contact__grid div:first-child {
  text-align: left;
}

.contact__grid div:last-child {
  text-align: right;
}

.map-link {
  display: inline-block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  margin-top: 10px;
}

.copyright {
  align-self: end;
  margin: 12px 0 0;
  font-family: var(--display);
  font-size: clamp(12px, 0.8vw, 15px);
  text-align: center;
}

.copyright a {
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.thank-you {
  min-height: clamp(720px, 100svh, 940px);
  display: grid;
  align-content: center;
  justify-items: center;
  padding: clamp(74px, 9vh, 104px) 28px 0;
  text-align: center;
}

.thank-you.is-visible {
  display: grid;
}

.thank-you--page {
  min-height: 100svh;
}

.thank-you > * {
  position: relative;
  z-index: 1;
}

.thank-you img {
  width: min(500px, 75vw);
  margin-bottom: clamp(70px, 11vh, 118px);
  filter: brightness(0) invert(1);
}

.thank-you p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.35;
  text-transform: uppercase;
}

.thank-you .button {
  margin-top: clamp(56px, 8vh, 96px);
}

.whatsapp-float {
  position: fixed;
  z-index: 10;
  right: clamp(18px, 3vw, 46px);
  bottom: clamp(18px, 3vw, 42px);
  display: grid;
  width: clamp(66px, 6vw, 104px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 999px;
  box-shadow: 0 15px 32px rgba(0, 0, 0, 0.2);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.26);
}

.whatsapp-float img {
  width: 100%;
}

.contact-page-body {
  background: #d8d5cf;
}

.contact-page {
  min-height: 100svh;
}

.contact-page__hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 0.88fr);
  align-items: center;
  gap: clamp(28px, 4vw, 82px);
  padding: clamp(40px, 5vw, 78px) clamp(32px, 5vw, 96px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.08)),
    url("../img/interiores/interior-01.jpg") center / cover no-repeat;
}

.contact-page__brand {
  width: min(540px, 72vw);
  margin-inline: auto;
}

.contact-page__home-link {
  display: block;
}

.contact-page__brand img {
  display: block;
  width: 100%;
  filter: brightness(0) invert(1);
}

.contact-page__panel {
  justify-self: end;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 760ms ease,
    transform 920ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal--left {
  transform: translateX(-34px);
}

.reveal--right {
  transform: translateX(34px);
}

.reveal--soft {
  transform: translateY(20px);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-group > * {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 620ms ease,
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-group.is-visible > * {
  opacity: 1;
  transform: none;
}

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

  body::before,
  .hero-lobby__content,
  .hero-lobby__tagline,
  .skip-link,
  .reveal,
  .reveal-group > *,
  .media-panel::before,
  .slider-arrow,
  .whatsapp-float,
  .design-form button,
  .button {
    transition: none !important;
  }

  .skip-link {
    animation: none !important;
  }

  .hero-lobby::after,
  .lead-form::after,
  .viewport-band--copy::after,
  .viewport-band--appointment::after,
  .contact::after {
    transition: none !important;
  }

  .hero-lobby__content,
  .hero-lobby__tagline,
  .reveal,
  .reveal-group > * {
    opacity: 1 !important;
    transform: none !important;
  }

  .media-panel {
    background-size: cover !important;
  }
}

@media (max-width: 980px) {
  .media-panel,
  .viewport-band--copy,
  .viewport-band--appointment,
  .viewport-band--contact,
  .contact-page__hero {
    min-height: auto;
  }

  .lead-form,
  .detail-form,
  .copy-band {
    grid-template-columns: 1fr;
  }

  .lead-form {
    min-height: auto;
  }

  .form-panel {
    margin-top: 0;
  }

  .copy-band {
    min-height: auto;
    padding: 34px 28px;
  }

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

  .gallery-split,
  .gallery-split--amenities,
  .gallery-split--project,
  .contact-page__hero {
    grid-template-columns: 1fr;
  }

  .gallery-split__main {
    min-height: 54vw;
  }

  .gallery-split__rail {
    grid-auto-rows: minmax(220px, 1fr);
  }

  .detail-form__brand {
    width: min(380px, 82vw);
  }

  .contact-page__panel {
    justify-self: stretch;
  }

  .contact-page__brand {
    width: min(420px, 68vw);
    margin: 0 0 10px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .contact__inner {
    grid-template-rows: auto auto auto;
  }

        .contact__grid div:last-child,
  .contact__grid div:first-child {
        text-align: left;
  }
}

@media (max-width: 640px) {
  .viewport-band--copy,
  .viewport-band--appointment,
  .viewport-band--contact {
    min-height: auto;
  }

  .hero-lobby__content,
  .contact-page__brand {
    width: min(310px, 78vw);
  }

  .contact-page__hero {
    gap: 22px;
    padding-top: 34px;
  }

  .contact-page__brand {
    margin-bottom: 0;
  }

  .lead-form__title h1,
  .copy-band h2,
  .contact h2 {
    max-width: 12ch;
  }

  .form-panel,
  .contact-page__hero,
  .lead-form,
  .copy-band,
  .contact__inner {
    padding-inline: 20px;
  }

  .gallery-card span {
    left: 18px;
    bottom: 18px;
  }

  .button,
  .design-form button {
    min-width: 190px;
  }
}

@media (max-width: 640px) {
  .hero-lobby {
    min-height: 720px;
    background-position: center;
  }

  .hero-lobby__content {
    width: min(330px, 78vw);
    transform: translateY(4vh);
  }

  .lead-form,
  .detail-form {
    padding: 38px 20px;
  }

  .lead-form__title h1 {
    font-size: 34px;
  }

  .form-panel {
    padding: 32px 22px;
  }

  .media-panel {
    min-height: 470px;
  }

  .copy-band__intro {
    padding-left: 24px;
  }

  .copy-band h2 {
    font-size: 30px;
  }

  .contact__top {
    align-items: flex-start;
    flex-direction: column;
  }

  .social-links a {
    width: 34px;
  }
}
