:root {
  --ink: #171612;
  --ink-soft: #34312a;
  --paper: #f7f3eb;
  --paper-deep: #ece3d5;
  --sand: #c9b397;
  --sand-dark: #9b8061;
  --line: rgba(23, 22, 18, 0.18);
  --muted: #665f55;
  --white: #fffdf8;
  --whatsapp: #1f7a50;
  --display: Georgia, "Times New Roman", serif;
  --body: Arial, Helvetica, sans-serif;
  --step--1: clamp(0.78rem, 0.74rem + 0.15vw, 0.88rem);
  --step-0: clamp(0.98rem, 0.92rem + 0.25vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.05rem + 0.65vw, 1.55rem);
  --step-2: clamp(1.55rem, 1.25rem + 1.35vw, 2.35rem);
  --step-3: clamp(2.25rem, 1.55rem + 3vw, 4.5rem);
  --step-4: clamp(3.15rem, 2rem + 5.4vw, 7.25rem);
  --shell: min(90rem, calc(100% - 2rem));
  --section: clamp(4.5rem, 8vw, 9rem);
  --ease: 180ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

[hidden] {
  display: none !important;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section-pad {
  padding-block: var(--section);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-150%);
  transition: transform var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid #b46e1f;
  outline-offset: 4px;
}

.eyebrow,
.section-index {
  margin-bottom: 1.25rem;
  color: var(--sand-dark);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.section-index {
  color: var(--muted);
  letter-spacing: 0.08em;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.035em;
  text-decoration: none;
  transition: background var(--ease), color var(--ease), transform var(--ease);
}

.button:hover {
  background: transparent;
  color: var(--ink);
  transform: translateY(-2px);
}

.button-small {
  min-height: 44px;
  padding: 0.55rem 1rem;
}

.button-light {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.button-light:hover {
  border-color: var(--paper);
  background: transparent;
  color: var(--paper);
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.text-link span {
  transition: transform var(--ease);
}

.text-link:hover span {
  transform: translateX(0.3rem);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 243, 235, 0.97);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  object-fit: cover;
}

.brand span {
  display: grid;
  line-height: 1;
}

.brand strong {
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 500;
}

.brand small {
  margin-top: 0.26rem;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  margin-left: auto;
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: var(--step--1);
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover {
  text-decoration: underline;
}

.header-cta {
  margin-left: 0.5rem;
}

.menu-toggle {
  display: none;
  min-width: 64px;
  min-height: 44px;
  margin-left: auto;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 0;
  background: transparent;
  font-size: var(--step--1);
  font-weight: 700;
  cursor: pointer;
}

.menu-toggle i,
.menu-toggle i::before,
.menu-toggle i::after {
  width: 21px;
  height: 1px;
  background: currentColor;
  transition: transform var(--ease);
}

.menu-toggle i {
  position: relative;
}

.menu-toggle i::before,
.menu-toggle i::after {
  position: absolute;
  left: 0;
  content: "";
}

.menu-toggle i::before {
  top: -6px;
}

.menu-toggle i::after {
  top: 6px;
}

.menu-toggle[aria-expanded="true"] i {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] i::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] i::after {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  overflow: hidden;
  padding-block: clamp(3rem, 6vw, 7rem);
}

.hero-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.72fr);
  gap: clamp(2.5rem, 7vw, 8rem);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 13ch;
  margin-bottom: 1.75rem;
  font-family: var(--display);
  font-size: var(--step-4);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.hero h1 em {
  color: var(--sand-dark);
  font-weight: 400;
}

.hero-lead {
  max-width: 40rem;
  margin-bottom: 2rem;
  color: var(--ink-soft);
  font-size: var(--step-1);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.hero-notes {
  display: grid;
  margin: clamp(3rem, 6vw, 5rem) 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.hero-notes li {
  display: grid;
  gap: 0.2rem;
  padding-right: 1rem;
}

.hero-notes li + li {
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}

.hero-notes strong {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 500;
}

.hero-notes span {
  color: var(--muted);
  font-size: 0.75rem;
}

.hero-visual {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--paper-deep);
}

.hero-visual > img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.hero-property {
  position: absolute;
  right: -1px;
  bottom: -1px;
  left: 18%;
  display: grid;
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
}

.hero-property span,
.hero-property small {
  color: var(--sand);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-property strong {
  margin-block: 0.12rem;
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 500;
}

.brand-seal {
  position: absolute;
  top: -1.75rem;
  left: -1.75rem;
  display: grid;
  width: 5rem;
  height: 5rem;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: 0.12em;
}

.intro-band {
  padding-block: clamp(3rem, 5vw, 5rem);
  background: var(--ink);
  color: var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: 2rem;
}

.intro-band .section-index {
  color: var(--sand);
}

.intro-band blockquote {
  max-width: 31ch;
  margin-bottom: 0;
  font-family: var(--display);
  font-size: var(--step-2);
  line-height: 1.35;
}

.properties {
  background: var(--paper-deep);
}

.section-heading {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.55fr);
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-heading h2,
.services h2,
.about h2,
.credit-panel h2,
.contact h2 {
  margin-bottom: 0;
  font-family: var(--display);
  font-size: var(--step-3);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.03;
}

.section-heading > p {
  margin-bottom: 0;
  color: var(--muted);
}

.property-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1rem;
  border-block: 1px solid var(--line);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.filter-group button {
  min-height: 44px;
  padding: 0.55rem 0.85rem;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  cursor: pointer;
}

.filter-group button span {
  margin-left: 0.25rem;
  color: var(--muted);
  font-size: 0.72rem;
}

.filter-group button[aria-pressed="true"] {
  border-bottom-color: var(--ink);
  font-weight: 700;
}

.property-toolbar > p {
  margin: 0;
  color: var(--muted);
  font-size: var(--step--1);
}

.property-grid {
  display: grid;
  margin-top: 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 3rem);
}

.property-card {
  min-width: 0;
  border-top: 1px solid var(--ink);
  background: var(--paper);
}

.property-media {
  position: relative;
  overflow: hidden;
  background: #d8d0c4;
}

.property-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 500ms ease;
}

.property-card:hover .property-media img {
  transform: scale(1.018);
}

.property-operation {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.4rem 0.65rem;
  background: var(--ink);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.property-body {
  padding: clamp(1.25rem, 2.5vw, 2rem);
}

.property-location {
  margin-bottom: 0.45rem;
  color: var(--sand-dark);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.property-card h3 {
  margin-bottom: 0.55rem;
  font-family: var(--display);
  font-size: var(--step-2);
  font-weight: 500;
  line-height: 1.12;
}

.property-price {
  margin-bottom: 1.3rem;
  font-size: var(--step-1);
  font-weight: 700;
}

.property-specs {
  display: flex;
  margin: 0 0 1.25rem;
  padding: 1rem 0;
  border-block: 1px solid var(--line);
  list-style: none;
}

.property-specs li {
  display: grid;
  min-width: 4.2rem;
  padding-right: 1rem;
}

.property-specs li + li {
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}

.property-specs strong {
  font-size: 0.95rem;
}

.property-specs span {
  color: var(--muted);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.property-features {
  min-height: 4.5rem;
  margin: 0 0 1.25rem;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: var(--step--1);
  columns: 2;
  column-gap: 2rem;
}

.property-features li {
  break-inside: avoid;
}

.maintenance {
  margin: -0.5rem 0 1rem;
  color: var(--muted);
  font-size: var(--step--1);
}

.property-inquiry {
  border-bottom: 1px solid var(--ink);
}

.availability-note {
  max-width: 62rem;
  margin: 2.5rem 0 0;
  color: var(--muted);
  font-size: var(--step--1);
}

.services {
  background: var(--paper);
}

.services-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 9rem);
}

.services-intro {
  position: sticky;
  top: 7rem;
  align-self: start;
}

.services-intro > p:not(.eyebrow, .section-index) {
  max-width: 38rem;
  margin-block: 1.5rem;
  color: var(--muted);
  font-size: var(--step-1);
}

.service-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
  counter-reset: services;
}

.service-list li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding-block: 2rem;
  border-bottom: 1px solid var(--line);
}

.service-list > li > span {
  color: var(--sand-dark);
  font-family: var(--display);
}

.service-list h3 {
  margin-bottom: 0.5rem;
  font-family: var(--display);
  font-size: var(--step-1);
  font-weight: 500;
}

.service-list p {
  max-width: 42rem;
  margin: 0;
  color: var(--muted);
}

.credit-panel {
  padding-block: clamp(3.5rem, 6vw, 6rem);
  background: var(--sand-dark);
  color: var(--white);
}

.credit-grid {
  display: grid;
  align-items: end;
  grid-template-columns: 1fr 0.85fr auto;
  gap: clamp(2rem, 5vw, 5rem);
}

.credit-panel .eyebrow {
  color: var(--ink);
}

.credit-panel h2 {
  max-width: 16ch;
}

.credit-grid > p {
  margin-bottom: 0;
}

.about {
  background: var(--ink);
  color: var(--paper);
}

.about-grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(18rem, 0.7fr) minmax(0, 1fr);
  gap: clamp(3rem, 9vw, 10rem);
}

.about-mark {
  position: relative;
  max-width: 34rem;
  padding: clamp(1rem, 3vw, 2.5rem);
  border: 1px solid rgba(255, 253, 248, 0.24);
}

.about-mark::after {
  position: absolute;
  right: -1.5rem;
  bottom: -1.5rem;
  width: 40%;
  height: 40%;
  border-right: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
  content: "";
}

.about-mark img {
  width: 100%;
}

.about .section-index,
.about .eyebrow {
  color: var(--sand);
}

.about h2 {
  margin-bottom: 0.5rem;
}

.about-role {
  margin-bottom: 2rem;
  color: var(--sand);
  font-size: var(--step-1);
}

.about-copy > p:not(.eyebrow, .section-index, .about-role) {
  max-width: 43rem;
  color: #d8d0c4;
}

.about-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact {
  background: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(3rem, 8vw, 9rem);
}

.contact h2 {
  max-width: 13ch;
}

.contact-details {
  border-top: 1px solid var(--ink);
}

.contact-details > a,
.contact-details > p {
  display: grid;
  min-height: 88px;
  margin: 0;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.contact-details > a:hover strong {
  color: var(--sand-dark);
}

.contact-details span {
  color: var(--muted);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-details strong {
  overflow-wrap: anywhere;
  font-family: var(--display);
  font-size: var(--step-1);
  font-weight: 500;
  transition: color var(--ease);
}

.contact-primary strong {
  font-size: var(--step-2);
}

.contact-details small {
  color: var(--muted);
}

.site-footer {
  padding-block: 2.5rem;
  border-top: 1px solid rgba(255, 253, 248, 0.15);
  background: var(--ink);
  color: var(--paper);
}

.footer-grid {
  display: grid;
  align-items: end;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
}

.footer-brand img {
  border-color: rgba(255, 253, 248, 0.2);
}

.footer-brand small,
.footer-grid > p {
  color: #b9b0a4;
}

.footer-grid > p {
  margin: 0;
  font-size: var(--step--1);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: var(--step--1);
}

.legal {
  grid-column: 2 / -1;
}

@media (max-width: 64rem) {
  .hero-grid {
    gap: 3rem;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.72fr);
  }

  .header-cta {
    display: none;
  }

  .credit-grid {
    align-items: start;
    grid-template-columns: 1fr 1fr;
  }

  .credit-grid .button {
    justify-self: start;
  }
}

@media (max-width: 48rem) {
  :root {
    --shell: min(100% - 1.5rem, 44rem);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    z-index: -1;
    top: 75px;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    align-content: start;
    gap: 0;
    padding: 2rem max(1rem, calc((100% - var(--shell)) / 2));
    background: var(--paper);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-1rem);
    transition: opacity var(--ease), transform var(--ease);
  }

  .site-nav[data-open="true"] {
    z-index: 99;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    min-height: 60px;
    border-bottom: 1px solid var(--line);
    font-family: var(--display);
    font-size: var(--step-1);
    font-weight: 500;
  }

  .hero-grid,
  .intro-grid,
  .section-heading,
  .services-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 11ch;
  }

  .hero-visual {
    width: calc(100% - 1rem);
    margin-left: 1rem;
  }

  .brand-seal {
    top: -1rem;
    left: -1rem;
    width: 4rem;
    height: 4rem;
  }

  .hero-property {
    left: 10%;
  }

  .hero-notes {
    grid-template-columns: 1fr;
  }

  .hero-notes li,
  .hero-notes li + li {
    padding: 0.8rem 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .intro-grid {
    gap: 0.5rem;
  }

  .section-heading {
    align-items: start;
  }

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

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

  .property-features {
    columns: 1;
  }

  .services-intro {
    position: static;
  }

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

  .about-mark {
    width: calc(100% - 1.5rem);
  }

  .footer-grid {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .legal {
    grid-column: auto;
  }
}

@media (max-width: 24rem) {
  .header-inner {
    min-height: 68px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 0.98rem;
  }

  .menu-toggle span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .menu-toggle {
    min-width: 44px;
  }

  .site-nav {
    top: 67px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .filter-group {
    width: 100%;
  }

  .filter-group button {
    flex: 1;
    padding-inline: 0.45rem;
  }

  .property-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .property-specs li,
  .property-specs li + li {
    padding: 0.5rem;
    border-left: 0;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
