:root {
  --paper: #f3efe7;
  --paper-soft: #fbf8f1;
  --ink: #263036;
  --muted: #687174;
  --moss: #3d6870;
  --moss-deep: #18333b;
  --sage: #dbe4df;
  --clay: #b56f4e;
  --mist: #d6e1df;
  --line: rgba(38, 48, 54, 0.16);
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: hidden;
}

body {
  width: 100%;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  overflow-x: hidden;
}

body.intro-active {
  overflow: hidden;
}

.landing-intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: #fff;
  opacity: 1;
  transition: opacity 1200ms ease, filter 1200ms ease;
}

.landing-intro-video {
  width: auto;
  height: 80vh;
  max-width: 100vw;
  object-fit: contain;
  transition: filter 1200ms ease, opacity 1200ms ease, transform 1200ms ease;
}

.landing-intro.is-leaving {
  opacity: 0;
  filter: blur(18px);
  pointer-events: none;
}

.landing-intro.is-leaving .landing-intro-video {
  opacity: 0;
  filter: blur(22px);
  transform: scale(1.02);
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  padding: 0 clamp(18px, 4vw, 54px);
  background: rgba(251, 248, 241, 0.94);
  color: var(--ink);
  box-shadow: 0 1px 24px rgba(24, 51, 59, 0.08);
  backdrop-filter: blur(14px);
  transition: background 280ms ease, color 280ms ease, box-shadow 280ms ease;
}

.site-header.is-scrolled {
  background: rgba(243, 239, 231, 0.92);
  box-shadow: 0 1px 24px rgba(24, 51, 59, 0.1);
  color: var(--ink);
  backdrop-filter: blur(14px);
}

.brand {
  justify-self: center;
  display: grid;
  place-items: center;
  width: 156px;
  min-height: 96px;
  padding: 0;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: width 280ms ease, min-height 280ms ease, background 280ms ease, border-color 280ms ease;
}

.site-header.is-scrolled .brand {
  width: 58px;
  min-height: 68px;
  padding: 0;
  background: transparent;
  border-color: transparent;
}

.brand img {
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  transition: opacity 220ms ease, transform 220ms ease;
}

.logo-symbol {
  opacity: 0;
  transform: scale(0.82);
}

.site-header.is-scrolled .logo-full {
  opacity: 0;
  transform: scale(0.86);
}

.site-header.is-scrolled .logo-symbol {
  opacity: 1;
  transform: scale(0.72);
}

nav {
  display: flex;
  gap: clamp(16px, 2.6vw, 36px);
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-left {
  justify-self: start;
}

.nav-right {
  justify-self: end;
}

nav a {
  opacity: 0.86;
}

nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 94vh;
  overflow: hidden;
  padding: 120px clamp(22px, 6vw, 82px) 96px;
  color: var(--paper-soft);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(24, 51, 59, 0.78), rgba(24, 51, 59, 0.34) 48%, rgba(24, 51, 59, 0.08)),
    linear-gradient(0deg, rgba(24, 51, 59, 0.52), transparent 44%);
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
}

.kicker {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .kicker {
  color: #e8d7bf;
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h1 {
  max-width: 900px;
  font-size: clamp(2.8rem, 6.8vw, 6.9rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 4.4rem);
}

.hero p:not(.kicker) {
  max-width: 620px;
  margin: 24px 0 34px;
  color: rgba(251, 250, 246, 0.9);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid rgba(251, 250, 246, 0.46);
  border-radius: 999px;
  background: var(--paper-soft);
  color: var(--moss-deep);
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--moss-deep);
  color: var(--paper-soft);
}

.whatsapp-button {
  gap: 8px;
}

.whatsapp-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  flex: 0 0 auto;
}

.button.is-disabled,
.button.is-disabled:hover {
  cursor: not-allowed;
  transform: none;
  border-color: rgba(38, 48, 54, 0.18);
  background: #d9d7d0;
  color: #686a67;
}

.scroll-cue {
  position: absolute;
  right: clamp(22px, 6vw, 82px);
  bottom: 42px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 64px;
  border: 1px solid rgba(251, 250, 246, 0.5);
  border-radius: 999px;
}

.scroll-cue span {
  width: 2px;
  height: 18px;
  background: var(--paper-soft);
  animation: breathe 1.9s infinite ease-in-out;
}

@keyframes breathe {
  0%, 100% { transform: translateY(-8px); opacity: 0.35; }
  50% { transform: translateY(8px); opacity: 1; }
}

.section {
  padding: clamp(76px, 10vw, 150px) clamp(22px, 6vw, 82px);
  scroll-margin-top: 96px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1.2fr);
  gap: clamp(34px, 8vw, 120px);
  background: var(--paper-soft);
}

.intro-mark {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 3.5rem);
  line-height: 1.22;
}

.intro-copy {
  max-width: 740px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.36rem);
}

.intro-copy p:first-child {
  margin-top: 0;
}

.earth-band {
  background: #e8e1d5;
}

.moss-band {
  background: var(--moss-deep);
  color: var(--paper-soft);
}

.section-heading {
  max-width: 980px;
  margin-bottom: clamp(34px, 6vw, 74px);
}

.section-heading.narrow {
  max-width: 760px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.08rem;
}

.place-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.place {
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 0;
}

.place .section-heading,
.place .place-copy,
.place .map-hint {
  padding-right: clamp(22px, 6vw, 82px);
  padding-left: clamp(22px, 6vw, 82px);
}

.place-copy {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

.map-hint {
  margin: 0;
  color: var(--moss);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.interactive-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}

.map-full-bleed {
  width: 100%;
  max-width: none;
}

.map-canvas {
  position: relative;
  height: 150vh;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(38, 48, 54, 0.18);
  background: rgba(251, 248, 241, 0.56);
}

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

.panel-kicker {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel-description {
  margin: 18px 0 22px;
  color: var(--muted);
}

.lot-meta {
  display: grid;
  gap: 12px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.lot-meta li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(38, 48, 54, 0.13);
  padding-bottom: 10px;
  color: var(--muted);
}

.lot-meta strong {
  color: var(--ink);
}

.status-pill {
  align-self: start;
  margin-top: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--sage);
  color: var(--moss-deep);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-pill.reservado {
  background: #edd7bf;
  color: #7c4e31;
}

.status-pill.vendido {
  background: #d9d7d0;
  color: #686a67;
}

.lot-popup {
  position: absolute;
  z-index: 3;
  left: var(--popup-left, 50%);
  top: var(--popup-top, 50%);
  width: min(330px, calc(100vw - 44px));
  max-height: min(520px, calc(100% - 32px));
  overflow: auto;
  padding: 22px;
  border: 1px solid rgba(38, 48, 54, 0.14);
  background: rgba(251, 248, 241, 0.95);
  box-shadow: 0 22px 70px rgba(24, 51, 59, 0.22);
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
}

.lot-popup[hidden] {
  display: none;
}

.lot-popup h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.18;
}

.lot-popup .button {
  display: flex;
  width: fit-content;
  margin-inline: auto;
  border-color: var(--moss-deep);
  background: var(--moss-deep);
  color: var(--paper-soft);
}

.feature-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.feature-list div {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(240px, 1fr);
  gap: clamp(20px, 6vw, 90px);
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.feature-list strong {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 2rem);
  font-weight: 400;
}

.feature-list span {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.84fr) minmax(280px, 1.16fr);
  gap: clamp(36px, 8vw, 120px);
}

.moss-band .kicker {
  color: #e0b28e;
}

.split-copy {
  max-width: 760px;
  color: rgba(251, 250, 246, 0.78);
  font-size: clamp(1.05rem, 1.55vw, 1.26rem);
}

.earth-band .split-copy {
  color: var(--muted);
}

.quiet-line {
  color: var(--paper-soft);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 2.15rem);
  line-height: 1.32;
}

.rhythm {
  min-height: 720px;
  background:
    linear-gradient(rgba(243, 239, 231, 0.94), rgba(243, 239, 231, 0.94)),
    url("assets/hero.jpg") center / cover fixed;
}

.rhythm-inner {
  max-width: 1060px;
}

.rituals {
  display: grid;
  grid-template-columns: repeat(7, minmax(112px, 1fr));
  gap: clamp(18px, 3vw, 34px);
  margin: clamp(40px, 7vw, 86px) 0 0;
  padding: 0;
  list-style: none;
}

.rituals li {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 16px;
  min-height: 142px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1rem, 1.35vw, 1.34rem);
  line-height: 1.35;
}

.rituals svg {
  width: 34px;
  height: 34px;
  color: var(--moss);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.audience {
  background: var(--paper-soft);
}

.audience-lines {
  display: grid;
  border-top: 1px solid var(--line);
}

.audience-lines p {
  margin: 0;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.7rem);
}

figure {
  max-width: 1000px;
  margin: 0;
}

.media-band {
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
  background: var(--paper);
}

.media-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.parallax-band img {
  height: 118%;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  will-change: transform;
}

.media-band-50 {
  height: 50vh;
}

.media-band-60 {
  height: 60vh;
}

.media-band-70 {
  height: 70vh;
}

.media-band-80 {
  height: 80vh;
}

figcaption {
  margin-bottom: 24px;
  color: #e0b28e;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.2vw, 3.8rem);
  line-height: 1.24;
}

.developer-bajada {
  max-width: 860px;
  margin: 24px 0 0;
  color: rgba(251, 250, 246, 0.78);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.7;
}

.developer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
}

.developer-inner figure {
  max-width: 980px;
}

.quote-author {
  display: grid;
  justify-content: start;
  gap: 2px;
  margin-top: 28px;
  padding: 0;
  background: transparent;
  color: rgba(251, 250, 246, 0.72);
  font-size: 0.9rem;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
}

.quote-author strong {
  color: var(--paper-soft);
  font-size: 1rem;
}

.developer-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(251, 250, 246, 0.18);
  background: rgba(251, 250, 246, 0.08);
}

.developer-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.photo-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: rgba(251, 250, 246, 0.72);
  font-family: var(--serif);
  font-size: clamp(3.5rem, 7vw, 6rem);
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 0.8fr);
  gap: clamp(36px, 8vw, 110px);
  align-items: start;
  background: var(--paper-soft);
}

.contact-copy p:not(.kicker) {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.1rem;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding-top: 8px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  outline: none;
  padding: 12px 0;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--moss);
}

input:user-invalid,
textarea:user-invalid {
  border-color: var(--clay);
}

.contact-form .button {
  justify-self: center;
  margin-top: 8px;
  border-color: var(--moss-deep);
  background: var(--moss-deep);
  color: var(--paper-soft);
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--moss);
  font-weight: 700;
  text-align: center;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  gap: 24px;
  padding: 34px clamp(22px, 6vw, 82px);
  background: var(--paper);
  color: var(--muted);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.site-footer img {
  width: 160px;
}

@media (max-width: 980px) {
  nav {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .brand {
    width: 136px;
    min-height: 84px;
  }

  .site-header.is-scrolled .brand {
    width: 54px;
    min-height: 64px;
  }

  .intro,
  .place-grid,
  .interactive-map,
  .split,
  .developer-inner,
  .contact {
    grid-template-columns: 1fr;
  }

  .developer-photo {
    width: min(340px, 100%);
  }

  .rituals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 84px;
  }

  .section {
    scroll-margin-top: 84px;
  }

  .site-header {
    padding-inline: 18px;
  }

  .brand {
    width: 112px;
    min-height: 84px;
  }

  .hero {
    min-height: 88vh;
    padding-bottom: 70px;
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.6rem);
  }

  h2 {
    font-size: clamp(2rem, 9vw, 3.1rem);
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(24, 51, 59, 0.72), rgba(24, 51, 59, 0.12)),
      linear-gradient(90deg, rgba(24, 51, 59, 0.72), rgba(24, 51, 59, 0.16));
  }

  .scroll-cue {
    display: none;
  }

  .feature-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .map-canvas {
    width: 100%;
    max-width: 100%;
    height: 150vh;
    min-height: 520px;
    margin-left: 0;
    border-left: 0;
    border-right: 0;
  }

  .rituals {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .rituals li {
    grid-template-columns: 38px 1fr;
    align-items: center;
    min-height: auto;
  }

  .site-footer {
    align-items: center;
  }

  .media-band-50 {
    height: 25vh;
  }

  .media-band-60 {
    height: 30vh;
  }

  .media-band-70 {
    height: 35vh;
  }

  .media-band-80 {
    height: 40vh;
  }

  .parallax-band img {
    height: 108%;
  }
}
