:root {
  --green: #5abe37;
  --green-deep: #3d9a24;
  --green-soft: rgba(90, 190, 55, 0.14);
  --magenta: #a91f4b;
  --ink: #141414;
  --ink-soft: #2a2a2a;
  --mist: #e8ebe6;
  --paper: #f4f6f2;
  --muted: #6b7268;
  --white: #ffffff;
  --forest: #0c1a12;
  --forest-mid: #13261a;
  --glass: rgba(12, 26, 18, 0.72);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button,
input {
  font: inherit;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--green), var(--green-deep));
  z-index: 1000;
  transform-origin: left;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  background: transparent;
  color: var(--white);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease),
    box-shadow 0.4s var(--ease), color 0.4s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(12, 26, 18, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.brand img {
  height: 36px;
  width: auto;
}

.nav {
  display: none;
  gap: 1.75rem;
  font-size: 0.9rem;
  font-weight: 450;
  letter-spacing: 0.01em;
}

.nav a {
  opacity: 0.82;
  transition: opacity 0.25s var(--ease);
}

.nav a:hover {
  opacity: 1;
}

.site-header .btn-sm {
  display: none;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  display: grid;
  place-content: center;
  gap: 6px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 auto;
  z-index: 99;
  display: grid;
  gap: 0.25rem;
  padding: 1.25rem 1.5rem 1.75rem;
  background: rgba(12, 26, 18, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  color: var(--white);
  padding: 0.85rem 0.25rem;
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }

  .site-header .btn-sm {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.btn:hover {
  background: var(--green-deep);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(61, 154, 36, 0.28);
}

.btn-sm {
  min-height: 42px;
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroZoom 18s var(--ease) forwards;
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 16, 12, 0.45) 0%, rgba(8, 16, 12, 0.15) 35%, rgba(8, 16, 12, 0.78) 100%),
    linear-gradient(90deg, rgba(8, 16, 12, 0.55) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 2.5rem));
  margin: 0 auto 0 clamp(1.25rem, 4vw, 2.5rem);
  padding: calc(var(--header-h) + 4rem) 0 6.5rem;
  animation: riseIn 1s var(--ease) both;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand-signal {
  margin: 0 0 1rem;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.88);
}

.brand-signal .brand-name {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.15em;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 5.75rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.hero-lead {
  margin: 1.25rem 0 0;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.scroll-hint {
  position: absolute;
  left: clamp(1.25rem, 4vw, 2.5rem);
  bottom: 1.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.scroll-hint::after {
  content: "";
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--green), transparent);
  animation: pulseLine 1.8s ease-in-out infinite;
}

@keyframes pulseLine {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleY(0.85);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* Sections */
.section {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.75rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-deep);
}

h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 5vw, 3.35rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-lead,
.split-copy p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 350;
  max-width: 38rem;
}

.split {
  display: grid;
  gap: 3rem;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 4.5rem;
  }
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 0;
}

.facts > div {
  padding: 1.35rem 0;
  border-top: 1px solid rgba(20, 20, 20, 0.12);
}

.facts dt {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 550;
  color: var(--ink);
  line-height: 1.1;
}

.facts dd {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.section-media {
  padding: 0;
}

.full-bleed {
  position: relative;
  height: clamp(280px, 52vw, 620px);
  overflow: hidden;
}

.full-bleed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.full-bleed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(12, 26, 18, 0.25));
  pointer-events: none;
}

/* Amenities */
.amenities {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

@media (min-width: 760px) {
  .amenities {
    grid-template-columns: 1fr 1fr;
  }
}

.amenities li {
  display: grid;
  gap: 0.35rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(20, 20, 20, 0.1);
}

.amenities li:nth-child(odd) {
  padding-right: 1.5rem;
}

.amenities li:nth-child(even) {
  padding-left: 0;
}

@media (min-width: 760px) {
  .amenities li:nth-child(even) {
    padding-left: 1.5rem;
    border-left: 1px solid rgba(20, 20, 20, 0.08);
  }
}

.amenities strong {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}

.amenities span {
  color: var(--muted);
  font-size: 0.98rem;
}

.amenity-showcase {
  padding-top: 0;
  background: linear-gradient(180deg, transparent, rgba(19, 38, 26, 0.04));
}

.showcase-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .showcase-grid {
    grid-template-columns: 1.2fr 0.9fr;
    grid-template-rows: 1fr 1fr;
    gap: 1.15rem;
    min-height: 560px;
  }

  .showcase-grid figure:first-child {
    grid-row: 1 / -1;
  }
}

.showcase-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  min-height: 220px;
}

.showcase-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.showcase-grid figure:hover img {
  transform: scale(1.04);
}

.showcase-grid figcaption {
  position: absolute;
  left: 1.1rem;
  bottom: 1rem;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

/* Infra */
#infra {
  background:
    radial-gradient(ellipse at top right, rgba(90, 190, 55, 0.1), transparent 50%),
    linear-gradient(160deg, var(--forest) 0%, var(--forest-mid) 100%);
  color: var(--white);
}

#infra .eyebrow {
  color: var(--green);
}

#infra h2 {
  color: var(--white);
}

#infra .section-lead {
  color: rgba(255, 255, 255, 0.7);
}

.infra-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem 2rem;
}

@media (min-width: 700px) {
  .infra-list {
    grid-template-columns: 1fr 1fr;
  }
}

.infra-list li {
  position: relative;
  padding: 1rem 0 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.05rem;
}

.infra-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.45rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

/* Gallery */
.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 78vw);
  gap: 0.85rem;
  overflow-x: auto;
  padding: 0 1.25rem 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--green) transparent;
}

@media (min-width: 900px) {
  .gallery {
    grid-auto-columns: minmax(340px, 38vw);
    padding-inline: max(1.25rem, calc((100vw - 1120px) / 2));
  }
}

.gallery-item {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  scroll-snap-align: start;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.4s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.03);
  filter: brightness(1.05);
}

/* Location */
.map-frame {
  min-height: 320px;
  overflow: hidden;
  border: 0;
  background: #dfe5db;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  filter: grayscale(0.25) contrast(1.05);
}

.text-link {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--green-deep);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.15rem;
  transition: color 0.2s var(--ease);
}

.text-link:hover {
  color: var(--ink);
}

/* CTA / Form */
.cta-section {
  background:
    linear-gradient(135deg, rgba(90, 190, 55, 0.08), transparent 40%),
    var(--paper);
}

.cta-wrap {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .cta-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }
}

.contact-meta {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.contact-meta a:hover {
  color: var(--green-deep);
}

.lead-form {
  display: grid;
  gap: 1rem;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid rgba(20, 20, 20, 0.08);
}

.lead-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form input[type="email"] {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(20, 20, 20, 0.14);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
  font-size: 1rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.lead-form input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-soft);
}

.lead-form .check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.45;
}

.lead-form .check input {
  margin-top: 0.2rem;
  accent-color: var(--green);
}

.lead-form .check a {
  color: var(--green-deep);
  text-decoration: underline;
}

.form-note {
  margin: 0;
  min-height: 1.25rem;
  font-size: 0.9rem;
  color: var(--green-deep);
}

.form-note.is-error {
  color: var(--magenta);
}

/* Footer */
.site-footer {
  background: var(--forest);
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.site-footer img {
  height: 34px;
  width: auto;
  margin-bottom: 0.85rem;
}

.footer-label {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

.site-footer p {
  margin: 0.25rem 0;
  font-size: 0.95rem;
}

.footer-bottom {
  display: grid;
  gap: 0.75rem;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s var(--ease);
}

.whatsapp-float:hover {
  transform: scale(1.06);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: rgba(8, 14, 10, 0.92);
  backdrop-filter: blur(8px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .hero-img,
  .reveal,
  .hero-content,
  .scroll-hint::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-img {
    transform: none;
  }
}
