:root {
  --black: #11110f;
  --dark: #181816;
  --cream: #f2efe7;
  --paper: #e8e4db;
  --white: #fff;
  --muted: #77736b;
  --bronze: #a89470;
  --line: rgba(17,17,15,.15);

  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;

  --container: min(1380px, calc(100% - 80px));
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--black);
  font-family: var(--sans);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}


/* =====================================================
   LOADER
===================================================== */

.loader {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: grid;
  place-items: center;

  background: var(--black);
  color: var(--cream);

  transition:
    opacity .8s ease,
    visibility .8s ease;
}

.loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  width: min(450px, 80%);
  text-align: center;
}

.loader-content span {
  font-size: 8px;
  letter-spacing: .3em;
  opacity: .55;
}

.loader-content h1 {
  margin-top: 15px;

  font-family: var(--serif);
  font-weight: 400;

  font-size: clamp(60px, 10vw, 110px);
  letter-spacing: -.06em;
}

.loader-line {
  height: 1px;
  margin-top: 25px;

  background: rgba(255,255,255,.15);
}

.loader-line i {
  display: block;
  width: 0;
  height: 100%;

  background: var(--cream);

  animation: loaderLine 2s ease forwards;
}

@keyframes loaderLine {
  to {
    width: 100%;
  }
}


/* =====================================================
   HEADER
===================================================== */

.header {
  position: fixed;
  z-index: 5000;

  top: 0;
  left: 0;

  width: 100%;
  height: 90px;

  padding: 0 40px;

  display: flex;
  align-items: center;

  color: white;

  transition:
    background .4s ease,
    color .4s ease,
    height .4s ease;
}

.header.scrolled {
  height: 74px;

  background: rgba(242,239,231,.94);

  color: var(--black);

  backdrop-filter: blur(18px);

  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-symbol {
  width: 34px;
  height: 34px;

  border: 1px solid currentColor;

  display: grid;
  place-items: center;

  font-family: var(--serif);
  font-size: 20px;

  transform: rotate(45deg);
}

.brand strong {
  display: block;

  font-size: 14px;
  font-weight: 500;
  letter-spacing: .16em;
}

.brand small {
  display: block;

  margin-top: 4px;

  font-size: 6px;
  letter-spacing: .3em;

  opacity: .5;
}

.desktop-nav {
  display: flex;
  gap: 34px;

  margin-left: auto;
  margin-right: 40px;
}

.desktop-nav a {
  position: relative;

  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.desktop-nav a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -7px;

  width: 0;
  height: 1px;

  background: currentColor;

  transition: width .3s ease;
}

.desktop-nav a:hover::after {
  width: 100%;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 14px;

  padding: 12px 16px;

  border: 1px solid currentColor;

  font-size: 8px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.header-contact:hover {
  background: currentColor;
  color: var(--black);
}

.menu-button {
  display: none;

  width: 40px;
  height: 40px;

  border: 0;
  background: transparent;

  cursor: pointer;
}

.menu-button span {
  display: block;

  width: 24px;
  height: 1px;

  margin: 6px auto;

  background: currentColor;
}


/* =====================================================
   MOBILE MENU
===================================================== */

.mobile-menu {
  position: fixed;
  inset: 0;

  z-index: 4500;

  visibility: hidden;
  opacity: 0;

  background: var(--black);

  transition:
    opacity .5s ease,
    visibility .5s ease;
}

.mobile-menu.active {
  visibility: visible;
  opacity: 1;
}

.mobile-menu-inner {
  height: 100%;

  padding: 120px 25px 40px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.mobile-small {
  color: var(--bronze);

  font-size: 8px;
  letter-spacing: .25em;

  margin-bottom: 35px;
}

.mobile-menu-inner > a:not(.mobile-whatsapp) {
  color: var(--cream);

  font-family: var(--serif);
  font-size: clamp(38px, 10vw, 65px);

  line-height: 1.05;

  margin: 6px 0;
}

.mobile-whatsapp {
  color: var(--cream);

  margin-top: 35px;

  padding-bottom: 8px;

  border-bottom: 1px solid var(--cream);

  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
}


/* =====================================================
   HERO
===================================================== */

.hero {
  position: relative;

  min-height: 100vh;
  height: 900px;

  color: white;

  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: -5%;

  width: 110%;
  height: 110%;
}

.hero-background img {
  transform: scale(1.06);

  animation: heroZoom 9s ease forwards;
}

@keyframes heroZoom {
  from {
    transform: scale(1.13);
  }

  to {
    transform: scale(1.05);
  }
}

.hero-dark {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,.58),
      rgba(0,0,0,.05) 45%,
      rgba(0,0,0,.72)
    );
}

.hero-inner {
  position: relative;
  z-index: 2;

  width: var(--container);
  height: 100%;

  margin: auto;

  padding-top: 135px;

  display: flex;
  flex-direction: column;
}

.hero-top {
  display: flex;
  justify-content: space-between;

  font-size: 8px;
  letter-spacing: .22em;

  opacity: .75;
}

.hero-content {
  margin-top: auto;
  margin-bottom: 100px;

  max-width: 900px;
}

.eyebrow,
.eyebrow-dark {
  font-size: 8px;
  letter-spacing: .28em;
}

.eyebrow {
  color: rgba(255,255,255,.68);
}

.eyebrow-dark {
  color: var(--muted);
}

.hero-title {
  margin-top: 23px;

  font-family: var(--serif);
  font-weight: 400;

  font-size: clamp(65px, 9vw, 135px);

  line-height: .87;

  letter-spacing: -.065em;
}

.hero-title em {
  font-style: italic;
}

.hero-text {
  width: 350px;

  margin-top: 35px;

  color: rgba(255,255,255,.7);

  font-size: 12px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 30px;

  margin-top: 35px;
}

.light-button {
  min-height: 52px;

  padding: 0 22px;

  display: inline-flex;
  align-items: center;
  gap: 24px;

  background: var(--cream);
  color: var(--black);

  font-size: 8px;
  letter-spacing: .17em;
  text-transform: uppercase;

  transition: transform .3s ease;
}

.light-button:hover {
  transform: translateY(-4px);
}

.hero-link {
  display: flex;
  gap: 12px;

  padding-bottom: 7px;

  border-bottom: 1px solid rgba(255,255,255,.5);

  font-size: 8px;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.hero-bottom {
  position: absolute;

  left: 40px;
  right: 40px;
  bottom: 30px;

  z-index: 3;

  display: flex;
  justify-content: space-between;

  font-size: 7px;
  letter-spacing: .2em;

  opacity: .65;
}


/* =====================================================
   COMMON
===================================================== */

.section {
  padding: 150px 0;
}

.section-number {
  width: var(--container);

  margin: 0 auto 70px;

  display: flex;
  align-items: center;
  gap: 18px;

  color: var(--muted);

  font-size: 8px;
  letter-spacing: .2em;
}

.section-number span {
  color: var(--bronze);
}


/* =====================================================
   INTRO
===================================================== */

.intro {
  background: var(--cream);
}

.intro-grid {
  width: var(--container);
  margin: auto;

  display: grid;
  grid-template-columns: 1.25fr .75fr;

  gap: 100px;
}

.big-title {
  font-family: var(--serif);
  font-weight: 400;

  font-size: clamp(55px, 7vw, 105px);

  line-height: .93;

  letter-spacing: -.06em;
}

.big-title em {
  font-style: italic;
}

.intro-copy {
  padding-top: 10px;

  max-width: 420px;
}

.intro-copy p {
  color: #66625b;

  font-size: 13px;
  line-height: 1.9;

  margin-bottom: 24px;
}

.line-link {
  display: inline-flex;
  gap: 24px;

  padding-bottom: 8px;

  border-bottom: 1px solid #8d887f;

  font-size: 8px;
  letter-spacing: .17em;
  text-transform: uppercase;
}


/* =====================================================
   PROPERTIES
===================================================== */

.properties {
  background: var(--paper);
}

.section-heading {
  width: var(--container);

  margin: 0 auto 75px;

  display: flex;
  align-items: end;
  justify-content: space-between;
}

.section-heading h2 {
  margin-top: 20px;

  font-family: var(--serif);
  font-weight: 400;

  font-size: clamp(55px, 7vw, 105px);

  line-height: .9;

  letter-spacing: -.06em;
}

.section-heading h2 em {
  font-style: italic;
}

.section-heading p {
  width: 300px;

  color: var(--muted);

  font-size: 11px;
  line-height: 1.8;
}

.property-grid {
  width: var(--container);
  margin: auto;

  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 75px 28px;
}

.property-wide {
  grid-column: span 2;
}

.property-photo {
  position: relative;

  height: 570px;

  overflow: hidden;
}

.property-wide .property-photo {
  height: 720px;
}

.property-photo img {
  transition: transform 1.1s cubic-bezier(.2,.7,.2,1);
}

.property-card:hover .property-photo img {
  transform: scale(1.055);
}

.property-photo::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,.15),
      transparent 50%,
      rgba(0,0,0,.35)
    );
}

.photo-number {
  position: absolute;

  top: 25px;
  left: 25px;

  z-index: 2;

  color: white;

  font-size: 9px;
  letter-spacing: .15em;
}

.photo-location {
  position: absolute;

  right: 25px;
  top: 25px;

  z-index: 2;

  padding: 8px 12px;

  border: 1px solid rgba(255,255,255,.5);

  color: white;

  font-size: 7px;
  letter-spacing: .16em;
}

.property-info {
  padding-top: 22px;

  display: flex;
  justify-content: space-between;

  gap: 30px;
}

.property-info span {
  color: var(--muted);

  font-size: 7px;
  letter-spacing: .18em;
}

.property-info h3 {
  margin-top: 9px;

  font-family: var(--serif);
  font-weight: 400;

  font-size: 30px;
}

.property-info p {
  max-width: 330px;

  color: var(--muted);

  font-size: 11px;
  line-height: 1.8;
}


/* =====================================================
   LOCATIONS
===================================================== */

.locations {
  background: var(--cream);
}

.location-header {
  width: var(--container);
  margin: auto;
}

.location-header h2 {
  margin-top: 25px;

  max-width: 900px;

  font-family: var(--serif);
  font-weight: 400;

  font-size: clamp(55px, 7vw, 105px);

  line-height: .9;

  letter-spacing: -.06em;
}

.location-header h2 em {
  font-style: italic;
}

.location-header p {
  margin-top: 25px;

  color: var(--muted);

  font-size: 12px;
}

.location-tabs {
  width: var(--container);

  margin: 70px auto 35px;

  display: grid;
  grid-template-columns: repeat(5, 1fr);

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.location-tab {
  padding: 23px 17px;

  border: 0;
  border-right: 1px solid var(--line);

  background: transparent;

  text-align: left;

  cursor: pointer;

  color: var(--muted);

  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;

  transition:
    background .35s ease,
    color .35s ease;
}

.location-tab:first-child {
  border-left: 1px solid var(--line);
}

.location-tab small {
  display: block;

  margin-bottom: 12px;

  color: var(--bronze);

  font-size: 7px;
}

.location-tab:hover,
.location-tab.active {
  background: var(--black);
  color: var(--cream);
}

.location-display {
  width: var(--container);
  min-height: 650px;

  margin: auto;

  display: grid;
  grid-template-columns: 1.35fr .65fr;
}

.location-image {
  position: relative;

  overflow: hidden;
}

.location-image img {
  transition:
    opacity .4s ease,
    transform .9s ease;
}

.location-image.change img {
  opacity: 0;
  transform: scale(1.04);
}

.image-shade {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,.12),
      transparent 50%,
      rgba(0,0,0,.4)
    );
}

.location-number {
  position: absolute;

  left: 28px;
  bottom: 25px;

  z-index: 2;

  color: white;

  font-size: 8px;
  letter-spacing: .18em;
}

.location-number strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;

  margin-right: 7px;
}

.location-info {
  background: var(--black);
  color: var(--cream);

  padding: 65px 50px;

  display: flex;
  flex-direction: column;
}

.location-country {
  color: var(--bronze);

  font-size: 7px;
  letter-spacing: .25em;
}

.location-info h3 {
  margin-top: 18px;

  font-family: var(--serif);
  font-weight: 400;

  font-size: clamp(42px, 4vw, 65px);

  line-height: .94;

  letter-spacing: -.05em;
}

.location-info > p {
  max-width: 350px;

  margin-top: 28px;

  color: rgba(242,239,231,.6);

  font-size: 11px;
  line-height: 1.9;
}

.location-line {
  width: 100%;
  height: 1px;

  margin: auto 0 25px;

  background: rgba(255,255,255,.15);
}

.location-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  margin-bottom: 30px;
}

.location-meta div {
  padding-right: 12px;
}

.location-meta span {
  display: block;

  color: rgba(242,239,231,.4);

  font-size: 6px;
  letter-spacing: .15em;

  margin-bottom: 7px;
}

.location-meta strong {
  font-family: var(--serif);

  font-size: 13px;
  font-weight: 400;
}

.dark-button {
  min-height: 53px;

  padding: 0 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: var(--cream);
  color: var(--black);

  font-size: 8px;
  letter-spacing: .14em;
  text-transform: uppercase;

  transition: transform .3s ease;
}

.dark-button:hover {
  transform: translateY(-4px);
}


/* =====================================================
   ABOUT
===================================================== */

.about {
  background: var(--paper);

  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 80px;

  padding-left: max(40px, calc((100vw - 1380px)/2));
  padding-right: max(40px, calc((100vw - 1380px)/2));
}

.about-image {
  height: 700px;
}

.about-content {
  align-self: center;

  max-width: 600px;
}

.about-content h2 {
  margin-top: 23px;

  font-family: var(--serif);
  font-weight: 400;

  font-size: clamp(50px, 6vw, 90px);

  line-height: .94;

  letter-spacing: -.055em;
}

.about-content h2 em {
  font-style: italic;
}

.about-content p {
  max-width: 420px;

  margin: 35px 0;

  color: var(--muted);

  font-size: 12px;
  line-height: 1.9;
}


/* =====================================================
   SERVICES
===================================================== */

.services {
  background: var(--cream);
}

.services-grid {
  width: var(--container);

  margin: auto;

  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 120px;
}

.services-title h2 {
  font-family: var(--serif);
  font-weight: 400;

  font-size: clamp(55px, 7vw, 100px);

  line-height: .92;

  letter-spacing: -.06em;
}

.services-title h2 em {
  font-style: italic;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service {
  display: grid;
  grid-template-columns: 45px 1fr;

  padding: 28px 0;

  border-bottom: 1px solid var(--line);
}

.service > span {
  color: var(--bronze);

  font-size: 8px;
}

.service h3 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
}

.service p {
  max-width: 390px;

  margin-top: 10px;

  color: var(--muted);

  font-size: 11px;
  line-height: 1.8;
}


/* =====================================================
   CTA
===================================================== */

.cta {
  position: relative;

  min-height: 780px;

  display: grid;
  place-items: center;

  text-align: center;

  color: white;

  overflow: hidden;
}

.cta-background {
  position: absolute;
  inset: -5%;

  width: 110%;
  height: 110%;
}

.cta-background img {
  transform: scale(1.04);
}

.cta-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      rgba(0,0,0,.55),
      rgba(0,0,0,.7)
    );
}

.cta-content {
  position: relative;
  z-index: 2;

  max-width: 900px;
}

.cta-content > span {
  color: rgba(255,255,255,.65);

  font-size: 8px;
  letter-spacing: .28em;
}

.cta h2 {
  margin-top: 25px;

  font-family: var(--serif);
  font-weight: 400;

  font-size: clamp(60px, 8vw, 120px);

  line-height: .88;

  letter-spacing: -.06em;
}

.cta h2 em {
  font-style: italic;
}

.cta p {
  max-width: 500px;

  margin: 35px auto;

  color: rgba(255,255,255,.68);

  font-size: 12px;
  line-height: 1.8;
}

.cta-button {
  min-height: 55px;

  padding: 0 23px;

  display: inline-flex;
  align-items: center;
  gap: 30px;

  background: var(--cream);
  color: var(--black);

  font-size: 8px;
  letter-spacing: .17em;
  text-transform: uppercase;

  transition: transform .3s ease;
}

.cta-button:hover {
  transform: translateY(-4px);
}


/* =====================================================
   CONTACT
===================================================== */

.contact {
  background: var(--cream);
}

.contact-heading {
  width: var(--container);

  margin: auto;
}

.contact-heading h2 {
  margin-top: 25px;

  font-family: var(--serif);
  font-weight: 400;

  font-size: clamp(60px, 8vw, 120px);

  line-height: .88;

  letter-spacing: -.06em;
}

.contact-heading h2 em {
  font-style: italic;
}

.contact-row {
  width: var(--container);

  margin: 100px auto 0;

  padding-top: 28px;

  border-top: 1px solid var(--line);

  display: flex;
  align-items: end;
  justify-content: space-between;
}

.contact-row p {
  max-width: 450px;

  color: var(--muted);

  font-size: 12px;
  line-height: 1.9;
}

.big-whatsapp {
  min-width: 370px;

  padding: 15px 0;

  border-bottom: 1px solid var(--black);

  display: flex;
  justify-content: space-between;
  align-items: center;

  font-family: var(--serif);

  font-size: 25px;

  transition:
    padding .3s ease;
}

.big-whatsapp:hover {
  padding-left: 15px;
  padding-right: 15px;
}


/* =====================================================
   FOOTER
===================================================== */

.footer {
  background: var(--black);
  color: var(--cream);

  padding: 85px 40px 30px;
}

.footer-top {
  width: min(1380px, 100%);
  margin: auto;

  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);

  gap: 50px;
}

.footer-brand p {
  max-width: 210px;

  margin-top: 25px;

  color: rgba(242,239,231,.45);

  font-size: 10px;
  line-height: 1.8;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  gap: 13px;
}

.footer-column > span {
  margin-bottom: 7px;

  color: var(--bronze);

  font-size: 7px;
  letter-spacing: .2em;
}

.footer-column a {
  color: rgba(242,239,231,.6);

  font-size: 9px;

  transition: color .25s ease;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  width: min(1380px, 100%);

  margin: 90px auto 0;

  padding-top: 25px;

  border-top: 1px solid rgba(255,255,255,.12);

  display: flex;
  justify-content: space-between;

  color: rgba(242,239,231,.35);

  font-size: 7px;
  letter-spacing: .16em;
}


/* =====================================================
   REVEAL
===================================================== */

.reveal {
  opacity: 0;

  transform: translateY(40px);

  transition:
    opacity 1s cubic-bezier(.2,.7,.2,1),
    transform 1s cubic-bezier(.2,.7,.2,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1050px) {

  :root {
    --container: calc(100% - 50px);
  }

  .header {
    padding: 0 25px;
  }

  .desktop-nav {
    gap: 18px;
    margin-right: 20px;
  }

  .location-display {
    grid-template-columns: 1fr;
  }

  .location-image {
    height: 600px;
  }

  .location-info {
    min-height: 600px;
  }

}


@media (max-width: 800px) {

  :root {
    --container: calc(100% - 36px);
  }

  .header {
    height: 75px;
    padding: 0 18px;
  }

  .desktop-nav,
  .header-contact {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero {
    height: 820px;
    min-height: 820px;
  }

  .hero-inner {
    padding-top: 110px;
  }

  .hero-top span:last-child {
    display: none;
  }

  .hero-title {
    font-size: 65px;
  }

  .hero-text {
    width: 320px;
  }

  .hero-buttons {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
  }

  .section {
    padding: 100px 0;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 25px;
  }

  .property-grid {
    grid-template-columns: 1fr;
  }

  .property-wide {
    grid-column: auto;
  }

  .property-photo,
  .property-wide .property-photo {
    height: 500px;
  }

  .property-info {
    display: block;
  }

  .property-info p {
    margin-top: 17px;
  }

  .location-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .location-tab {
    border-bottom: 1px solid var(--line);
  }

  .location-image {
    height: 500px;
  }

  .location-info {
    min-height: 620px;
    padding: 50px 30px;
  }

  .about {
    display: block;

    padding-left: 18px;
    padding-right: 18px;
  }

  .about-image {
    height: 500px;
  }

  .about-content {
    padding: 80px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .contact-row {
    display: block;
  }

  .big-whatsapp {
    width: 100%;
    min-width: 0;

    margin-top: 45px;
  }

  .footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 2;
  }

}


@media (max-width: 520px) {

  .hero-title {
    font-size: 58px;
  }

  .hero-text {
    width: 290px;
  }

  .property-photo,
  .property-wide .property-photo {
    height: 390px;
  }

  .property-info h3 {
    font-size: 27px;
  }

  .location-tabs {
    grid-template-columns: 1fr;
  }

  .location-image {
    height: 390px;
  }

  .location-meta {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .location-meta strong {
    font-size: 11px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

}