:root {
  --base-font-size: 18px;
  --base-line-height: 1.4rem;
  --font-size-xl: clamp(1.95rem, 1.56vi + 1.56rem, 2.81rem);
  --font-size-600: clamp(1.56rem, 1vi + 1.31rem, 2.11rem);
  --font-size-500: 1.25rem;
  --font-size-400: 1rem;
  --color-1: #183749;
  --color-2: #405B66;
  --color-3: #0C2029;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  font-family: "Lexend", sans-serif;
}

header {
  position: absolute;
  inset: 0 0 auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 1rem;
  text-align: center;
  z-index: 2;
}

.logo {
  display: block;
  width: min(360px, 75vw);
  height: auto;
  margin-inline: auto;
}

.hero {
  max-width: 1920px;
  margin-inline: auto;
}

.hero-swiper {
  position: relative;
  background: var(--color-3);
  aspect-ratio: 21 / 9;
}

.hero-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Keep the first photograph visible if the CDN or JavaScript is unavailable. */
.hero-swiper:not(.swiper-initialized) {
  overflow: hidden;
}

.hero-swiper:not(.swiper-initialized) .swiper-wrapper {
  display: flex;
  height: 100%;
}

.hero-swiper:not(.swiper-initialized) .swiper-slide {
  flex: 0 0 100%;
}

.hero-navigation[hidden] {
  display: none;
}

.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border-radius: 50%;
  color: #fff;
  background: rgb(12 32 41 / 75%);
  --swiper-navigation-size: 18px;
}

.hero-swiper .swiper-button-prev {
  left: 1rem;
}

.hero-swiper .swiper-button-next {
  right: 1rem;
}

.hero-toolbar {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .25rem .6rem;
  border-radius: 2rem;
  background: rgb(12 32 41 / 85%);
}

.hero-toolbar .swiper-pagination {
  position: static;
  display: flex;
  width: auto;
}

.hero-swiper .swiper-pagination-bullet {
  width: 32px;
  height: 36px;
  margin: 0 !important;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  opacity: 1;
  display: grid;
  place-items: center;
}

.hero-swiper .swiper-pagination-bullet::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: transparent;
}

.hero-swiper .swiper-pagination-bullet-active::before {
  background: #fff;
}

.hero-playback {
  min-width: 72px;
  min-height: 36px;
  padding: .25rem .5rem;
  font-size: .8rem;
}

.hero button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.hero-heading {
  padding: 2rem 1rem;
  text-align: center;
}

.hero-heading .main-heading {
  flex-direction: column;
  gap: .7rem;
  line-height: 1.2;
}

.sub-heading {
  font-size: .6em;
  font-weight: 400;
  letter-spacing: 1.2;
}

.hero-note {
  margin: 1rem 0 0;
  font-size: .75rem;
  color: var(--color-2);
}

@media (max-width: 600px) {
  header {
    padding: 1rem;
  }

  .hero-swiper .swiper-button-prev,
  .hero-swiper .swiper-button-next {
    width: 40px;
    height: 40px;
    margin-top: -20px;
  }

  .hero-swiper .swiper-button-prev {
    left: .5rem;
  }

  .hero-swiper .swiper-button-next {
    right: .5rem;
  }

  .hero-toolbar {
    bottom: .5rem;
    gap: .5rem;
  }

  .hero-heading {
    padding: 1.5rem 1rem;
  }
}

.margin-flow>*+* {
  margin-top: var(--flow-spacer, 1em) !important;
  margin-bottom: 0 !important;
}

main {
  font-size: var(--base-font-size);
  line-height: var(--base-line-height);
  color: var(--color-3);
  padding: 2rem;
  max-width: 1220px;
  margin-inline: auto;
}

.property-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  align-items: start;
  gap: clamp(2rem, 5vw, 4rem);
  line-height: 1.7;
}

.property-description > :first-child { margin-top: 0; }
.property-description h2 {
  font-size: var(--font-size-600);
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-1);
}

.property-highlights {
  padding-left: 2rem;
  border-left: 1px solid #e5e7e7;
  font-size: .875rem;
  line-height: 1.45;
}

.property-highlights h2 {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-1);
}

.contact-section {
  margin-top: 2.5rem !important;
  padding-top: 2rem;
  border-top: 1px solid #e5e7e7;
}
.contact-section h2 { margin: 0; }
.contact-section > p { margin: .75rem 0 1.5rem; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.contact-field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.contact-field-wide { grid-column: 1 / -1; }
.contact-field label { font-size: .875rem; font-weight: 500; }
.contact-optional { color: var(--color-2); font-weight: 400; }
.contact-field input, .contact-field textarea {
  width: 100%; min-height: 46px; padding: .75rem;
  border: 1px solid #bcc8cd; border-radius: .4rem;
  background: #fff; color: var(--color-3); font: inherit; line-height: 1.5;
}
.contact-field textarea { resize: vertical; }
.contact-submit {
  min-height: 46px; padding: .75rem 1.5rem; border-radius: 100px;
  background: var(--color-1); color: #fff; font: inherit; font-size: .9rem;
}
.contact-submit:hover:not(:disabled) { background: var(--color-3); }
.contact-submit:disabled { opacity: .55; cursor: not-allowed; }
.contact-form :is(input, textarea, button):focus-visible { outline: 2px solid var(--color-1); outline-offset: 3px; }
.contact-status { margin: .75rem 0 0; font-size: .875rem; color: var(--color-2); }
.contact-status:empty { display: none; }
.contact-status[data-state="error"] { color: #9b2525; }
.contact-status[data-state="success"] { color: #245d41; }
@media (max-width: 500px) {
  .contact-form { grid-template-columns: 1fr; }
  .contact-submit { width: 100%; }
}

aside section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7e7;
}

aside section h2 { margin-bottom: 1rem; }
.document-list { list-style: none; margin: 0; padding: 0; }
.document-list li + li { margin-top: .75rem; }
.document-download {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 44px;
  padding: .6rem .75rem;
  border: 1px solid #d9dfe1;
  border-radius: .5rem;
  color: var(--color-1);
  text-decoration: underline;
  text-underline-offset: .2em;
}
.document-download .highlight-icon { flex-shrink: 0; }
.document-download:hover { background: #f3f5f5; }
.document-download:focus-visible { outline: 2px solid var(--color-1); outline-offset: 3px; }
.document-meta { display: block; margin-top: .2rem; font-size: .75rem; color: var(--color-2); }
.document-pending { padding: .6rem .75rem; color: var(--color-2); }

.highlight-group+.highlight-group {
  margin-top: 1.75rem;
}

.highlight-icon {
  display: block;
  width: 24px;
  height: 24px;
}

.highlight-group h3 {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1em;
  margin: 0 0 .65rem;
  font-size: .875rem;
  font-weight: 600;
}

.highlight-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.highlight-tags li {
  padding: .3rem .65rem;
  border-radius: 100px;
  background: #eeedeb;
  font-size: .75rem;
}

@media (max-width: 800px) {
  .property-layout { grid-template-columns: 1fr; padding: 1.5rem; }
  .property-highlights { padding: 1.5rem 0 0; border-left: 0; border-top: 1px solid #e5e7e7; }
}

h1 {
  font-size: var(--font-size-xl);
  margin: 0;
  text-transform: uppercase;
}

.main-heading {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: .2em;
}

.main-heading .material-symbols-outlined {
  font-size: 1em;
  line-height: 1.2;
}

h1 {
  font-family: "Lexend", serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  line-height: 1;
  color: var(--color-1);
}

hr {
  border-top: 1px solid var(--color-2);
  opacity: .2;
}

.buttons,
.controls {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

button {
  display: inline-block;
  border: none;
  margin: 0;
  text-decoration: none;
  background: none;
  color: #ffffff;
  font-family: sans-serif;
  font-size: 1rem;
  cursor: pointer;
  text-align: center;
  -webkit-appearance: none;
  -moz-appearance: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  touch-action: manipulation;
}

button:active {
  transform: scale(0.98);
}

.button-set {
  position: relative;
}

.button {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: .2em;
  padding: 10px 20px;
  font-size: 1rem;
  border: 2px solid var(--color-2);
  background-color: #fff;
  color: var(--color-2);
  border-radius: 100vh;
  cursor: pointer;
}

@media (hover: hover) {

  .button:hover {
    background-color: var(--color-2);
    color: #fff;
  }
}
