:root {
  --ink: #1c1f1b;
  --muted: #656b63;
  --paper: #f7f8f4;
  --surface: #ffffff;
  --forest: #21372f;
  --forest-2: #16251f;
  --moss: #63765b;
  --lake: #86aeb1;
  --clay: #ad6d45;
  --stone: #d9d4c9;
  --line: rgba(28, 31, 27, 0.14);
  --white-line: rgba(255, 255, 255, 0.2);
  --shadow: 0 22px 70px rgba(24, 33, 27, 0.14);
  --container: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 110px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--container);
  margin: 18px auto 0;
  padding: 12px 14px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(20, 27, 22, 0.38);
  backdrop-filter: blur(16px);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(247, 248, 244, 0.94);
  box-shadow: 0 14px 40px rgba(18, 24, 20, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #fff;
  background: var(--forest);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1;
  letter-spacing: 0;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 500;
}

.brand small {
  margin-top: 4px;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.9rem;
}

.main-nav a {
  opacity: 0.9;
}

.main-nav a:hover {
  opacity: 1;
}

.main-nav .nav-cta {
  padding: 10px 14px;
  color: #fff;
  background: var(--clay);
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  color: inherit;
  border: 1px solid currentColor;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 2px 0;
  background: currentColor;
}

.nav-toggle svg,
.button svg,
.metric-card svg,
.feature-list svg,
.location-points svg,
.contact-lines svg,
.whatsapp-fab svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  color: #fff;
  background: var(--forest-2);
}

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

.hero-media,
.hero-fallback {
  object-fit: cover;
}

.hero-media {
  z-index: 0;
}

.hero-fallback {
  z-index: -1;
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(14, 18, 15, 0.82) 0%, rgba(14, 18, 15, 0.46) 48%, rgba(14, 18, 15, 0.22) 100%),
    linear-gradient(0deg, rgba(14, 18, 15, 0.72) 0%, rgba(14, 18, 15, 0.06) 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: var(--container);
  min-height: 88svh;
  margin: 0 auto;
  padding: 150px 0 116px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e7c5aa;
}

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

h1,
h2 {
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 8vw, 8.8rem);
  font-weight: 500;
  line-height: 0.95;
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 4.3vw, 4.55rem);
  font-weight: 500;
  line-height: 1.04;
}

h3 {
  font-size: 1.05rem;
  line-height: 1.32;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.04rem, 1.6vw, 1.34rem);
}

.hero-actions,
.contact-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: var(--clay);
}

.button-primary:hover {
  background: #9c5d39;
}

.button-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.hero-facts {
  position: absolute;
  right: max(20px, calc((100vw - 1180px) / 2));
  bottom: 26px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(112px, 1fr));
  border: 1px solid var(--white-line);
  background: rgba(16, 23, 18, 0.48);
  backdrop-filter: blur(14px);
}

.hero-facts div {
  padding: 16px 18px;
  border-right: 1px solid var(--white-line);
}

.hero-facts div:last-child {
  border-right: 0;
}

.hero-facts strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1;
}

.hero-facts span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 96px 0;
}

.section-dark,
.section-contact {
  width: 100%;
  color: #fff;
  background: var(--forest);
}

.section-dark > *,
.section-contact > * {
  width: var(--container);
  margin-inline: auto;
}

.intro-grid,
.section-heading,
.location-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: 64px;
  align-items: start;
}

.identity-strip {
  display: grid;
  grid-template-columns: minmax(220px, 380px) 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 58px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 14px 38px rgba(31, 39, 33, 0.06);
}

.identity-strip img {
  width: 100%;
  max-width: 360px;
  mix-blend-mode: multiply;
}

.identity-strip strong,
.identity-strip span {
  display: block;
}

.identity-strip strong {
  margin-bottom: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
  font-weight: 500;
  line-height: 1.08;
}

.identity-strip span {
  color: var(--clay);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.intro-grid p,
.section-heading p,
.split-copy p,
.location-layout p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.02rem;
}

.section-dark p,
.section-contact p {
  color: rgba(255, 255, 255, 0.76);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 54px;
}

.metric-card,
.location-points article,
.plan-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(31, 39, 33, 0.06);
}

.metric-card {
  min-height: 206px;
  padding: 24px;
}

.metric-card svg {
  margin-bottom: 28px;
  color: var(--clay);
}

.metric-card strong,
.metric-card span {
  display: block;
}

.metric-card strong {
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.metric-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 0.8fr);
  gap: 58px;
  align-items: center;
}

.split-media {
  overflow: hidden;
  min-height: 540px;
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
}

.split-copy .section-kicker {
  color: #e5b48f;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 34px;
}

.feature-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 14px;
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--white-line);
}

.feature-list svg {
  flex: 0 0 auto;
  color: #e5b48f;
}

.section-heading {
  margin-bottom: 46px;
}

.architecture-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
}

.feature-image {
  position: relative;
  min-height: 310px;
  margin: 0;
  overflow: hidden;
  background: var(--stone);
}

.feature-image-large {
  grid-row: span 2;
  min-height: 636px;
}

.feature-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 400ms ease;
}

.feature-image:hover img,
.gallery-item:hover img {
  transform: scale(1.035);
}

.feature-image figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 9px 11px;
  color: #fff;
  background: rgba(23, 28, 23, 0.64);
  backdrop-filter: blur(10px);
  font-size: 0.86rem;
}

.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.plan-card {
  overflow: hidden;
}

.plan-card img {
  width: 100%;
  aspect-ratio: 1.36;
  object-fit: cover;
  background: #fff;
}

.plan-card div {
  padding: 22px;
}

.plan-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.plan-card h3 {
  margin: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 12px;
}

.gallery-item {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--stone);
  cursor: pointer;
}

.gallery-item.wide {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.location {
  padding-top: 76px;
}

.location-points {
  display: grid;
  gap: 12px;
}

.location-points article {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 4px 14px;
  padding: 20px;
}

.location-points svg {
  grid-row: span 2;
  color: var(--clay);
}

.location-points strong,
.location-points span {
  display: block;
}

.location-points span {
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(360px, 0.66fr);
  gap: 72px;
  align-items: start;
}

.contact-copy .section-kicker {
  color: #e5b48f;
}

.contact-lines {
  margin-top: 30px;
}

.contact-lines a,
.contact-lines span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--white-line);
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: #3a3f38;
  font-size: 0.86rem;
  font-weight: 700;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(28, 31, 27, 0.18);
  background: #f8f8f5;
  padding: 13px 12px;
  color: var(--ink);
  outline: 0;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--clay);
  background: #fff;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form .consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.lead-form .consent input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--clay);
}

.lead-form .button {
  width: 100%;
}

.form-note {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: var(--container);
  margin: 0 auto;
  padding: 30px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand img {
  width: 136px;
  mix-blend-mode: multiply;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--ink);
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  padding-right: 150px;
}

.site-footer a {
  color: var(--forest);
  font-weight: 700;
}

.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 18;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 13px 17px;
  color: #fff;
  background: #1f7a4d;
  box-shadow: 0 16px 38px rgba(18, 24, 20, 0.22);
}

.whatsapp-fab:hover {
  background: #166a40;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(9, 14, 11, 0.84);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(1120px, 100%);
  max-height: 84svh;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

@media (max-width: 980px) {
  :root {
    --container: calc(100vw - 28px);
  }

  .site-header {
    left: 14px;
    right: 14px;
    width: auto;
    margin-top: 12px;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex: 0 0 42px;
  }

  .main-nav {
    position: fixed;
    top: 74px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    color: var(--ink);
    border: 1px solid var(--line);
    background: rgba(247, 248, 244, 0.98);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(28, 31, 27, 0.09);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .main-nav .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .hero,
  .hero-content {
    min-height: 88svh;
  }

  .hero-content {
    width: calc(100vw - 28px);
    padding: 122px 0 142px;
  }

  h1 {
    font-size: clamp(3.2rem, 16vw, 5.8rem);
  }

  .hero-facts {
    left: 14px;
    right: 14px;
    grid-template-columns: repeat(3, 1fr);
  }

  .intro-grid,
  .section-heading,
  .location-layout,
  .split,
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .identity-strip {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

  .architecture-grid,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .feature-image-large {
    grid-row: auto;
    min-height: 420px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 190px;
  }
}

@media (max-width: 640px) {
  .section:not(.section-dark):not(.section-contact),
  .section-dark > *,
  .section-contact > *,
  .site-footer {
    width: calc(100vw - 28px);
  }

  .site-header {
    padding: 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

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

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(14, 18, 15, 0.84) 0%, rgba(14, 18, 15, 0.54) 100%),
      linear-gradient(0deg, rgba(14, 18, 15, 0.76) 0%, rgba(14, 18, 15, 0.08) 48%);
  }

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

  .hero-facts {
    overflow: hidden;
  }

  .hero-facts div {
    padding: 13px 10px;
  }

  .hero-facts strong {
    font-size: 1.42rem;
  }

  .hero-facts span {
    font-size: 0.72rem;
  }

  .section {
    padding: 70px 0;
  }

  h2 {
    font-size: clamp(2rem, 12vw, 3.05rem);
  }

  .metrics,
  .feature-list,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .metric-card {
    min-height: 0;
  }

  .split-media,
  .split-media img {
    min-height: 360px;
  }

  .feature-image,
  .feature-image-large {
    min-height: 320px;
  }

  .gallery-grid {
    grid-auto-rows: 230px;
  }

  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: auto;
    grid-row: auto;
  }

  .lead-form {
    padding: 18px;
  }

  .contact-copy h2 {
    font-size: 2.25rem;
    line-height: 1.04;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .footer-brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .footer-brand img {
    width: 150px;
  }

  .footer-actions {
    justify-content: flex-start;
    gap: 10px 14px;
    padding-right: 0;
  }

  .site-footer {
    padding-bottom: 86px;
  }

  .whatsapp-fab {
    right: 14px;
    bottom: 14px;
    min-height: 46px;
    padding: 12px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
