:root {
  --bg: #ffffff;
  --secondary: #f7f4ef;
  --text: #1a1a1a;
  --muted: #68625a;
  --accent: #b89c65;
  --accent-dark: #8b7143;
  --border: rgba(0,0,0,0.08);
  --dark: #11100e;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Lato", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--text);
  color: #fff;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 64px);
  color: #fff;
  transition: background .35s ease, color .35s ease, box-shadow .35s ease, padding .35s ease;
}
.site-header.is-scrolled {
  padding-block: 14px;
  color: var(--text);
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  backdrop-filter: blur(16px);
}
.brand {
  display: grid;
  gap: 0;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .86rem;
  font-weight: 900;
}
.brand small {
  font-size: .58rem;
  font-weight: 400;
  letter-spacing: .32em;
}
.site-nav {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.site-nav a { position: relative; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 1px;
  background: var(--accent);
  transition: right .25s ease;
}
.site-nav a:hover::after { right: 0; }
.nav-toggle { display: none; }

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
}
.hero picture,
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.34) 48%, rgba(0,0,0,.52));
}
.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 40px));
  padding-top: 68px;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}
h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.05;
  margin: 0;
  font-weight: 600;
}
h1 {
  max-width: 820px;
  font-size: clamp(3.2rem, 8vw, 7.8rem);
}
h2 { font-size: clamp(2.25rem, 4.2vw, 4.5rem); }
h3 { font-size: 1.45rem; }
.hero-content > p:not(.eyebrow) {
  max-width: 560px;
  margin: 28px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: rgba(255,255,255,.86);
}
.hero-actions,
.developer-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-outline { border-color: var(--border); color: var(--text); }
.btn-whatsapp {
  gap: 10px;
}
.btn-whatsapp svg,
.floating-whatsapp svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex: 0 0 auto;
}
.hero-meta {
  position: absolute;
  left: clamp(20px, 5vw, 64px);
  right: clamp(20px, 5vw, 64px);
  bottom: 28px;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  color: rgba(255,255,255,.78);
  font-size: .78rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.section {
  padding: clamp(84px, 12vw, 150px) clamp(20px, 5vw, 64px);
}
.section-grid,
.location-layout,
.contact {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(38px, 6vw, 86px);
  align-items: center;
}
.section-copy p,
.contact-copy p,
.developer-copy p,
.feature-row p,
.section-heading {
  color: var(--muted);
  font-size: 1rem;
}
.section-copy p:first-of-type { margin-top: 28px; }
.editorial-image,
.location-image,
.feature-row picture {
  overflow: hidden;
  background: var(--secondary);
}
.editorial-image img,
.location-image img,
.feature-row img,
.carousel img {
  transition: transform 1s ease;
}
.editorial-image:hover img,
.location-image:hover img,
.feature-row:hover img,
.carousel:hover img {
  transform: scale(1.04);
}
.story { background: var(--secondary); }
.story .section-grid {
  width: min(1320px, 100%);
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr);
  gap: clamp(42px, 5.2vw, 76px);
}
.story .section-copy h2 {
  max-width: 620px;
  font-size: clamp(2.45rem, 3.8vw, 4.2rem);
}
.story .editorial-image {
  align-self: stretch;
  min-height: clamp(420px, 42vw, 620px);
}
.story .editorial-image img {
  height: 100%;
  object-fit: cover;
}

.section-heading {
  width: min(var(--max), 100%);
  margin: 0 auto 44px;
}
.section-heading h2 {
  max-width: 880px;
  color: var(--text);
}
.location-layout { align-items: stretch; }
.location-image img { height: 100%; object-fit: cover; }
.icon-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.icon-grid article,
.why-grid article {
  background: #fff;
  padding: 28px;
}
.icon-grid span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 900;
}
.icon-grid p,
.why-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.connectivity {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #2a2723;
  color: #fff;
}
.stat {
  min-height: 280px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 34px 20px;
  background: var(--dark);
  text-align: center;
}
.stat strong {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--accent);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1;
  font-weight: 500;
}
.stat span {
  margin-top: 16px;
  color: rgba(255,255,255,.78);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
}

.facilities { background: var(--secondary); overflow: hidden; }
.carousel {
  position: relative;
  width: min(1320px, 100%);
  margin: 0 auto;
}
.carousel-track {
  position: relative;
  min-height: clamp(380px, 60vw, 680px);
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.slide.is-active {
  opacity: 1;
  transform: translateX(0);
  z-index: 1;
}
.slide img {
  height: 100%;
  object-fit: cover;
}
.slide figcaption {
  position: absolute;
  left: 28px;
  bottom: 28px;
  padding: 10px 16px;
  background: rgba(255,255,255,.9);
  letter-spacing: .13em;
  text-transform: uppercase;
  font-size: .75rem;
  font-weight: 900;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.65);
  background: rgba(0,0,0,.34);
  color: #fff;
  cursor: pointer;
}
.carousel-btn.prev { left: 18px; }
.carousel-btn.next { right: 18px; }

.architecture {
  display: grid;
  gap: clamp(54px, 8vw, 110px);
}
.feature-row {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
}
.feature-row.reverse {
  grid-template-columns: .82fr 1.18fr;
}
.feature-row.reverse picture { order: 2; }
.feature-row p:last-child { margin-bottom: 0; }

.plans { background: #fff; }
.tabs {
  width: min(var(--max), 100%);
  margin: 0 auto;
}
.tab-list {
  display: flex;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}
.tab-list button {
  flex: 1;
  min-width: 220px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  padding: 18px 16px;
  color: var(--muted);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.tab-list button.is-active {
  color: var(--text);
  border-color: var(--accent);
}
.tab-panel {
  display: none;
  grid-template-columns: 1fr 320px;
  gap: 34px;
  align-items: center;
  padding-top: 34px;
}
.tab-panel.is-active { display: grid; }
.tab-panel img {
  border: 1px solid var(--border);
  background: var(--secondary);
}
.tab-panel div {
  padding: 30px;
  background: var(--secondary);
}
.tab-panel p {
  margin: 12px 0 0;
  color: var(--muted);
}

.why { background: var(--secondary); }
.why-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
}

.developer {
  padding: clamp(90px, 12vw, 150px) clamp(20px, 5vw, 64px);
  background: linear-gradient(rgba(0,0,0,.72), rgba(0,0,0,.78)), url("../images/green-features.jpg") center/cover;
  color: #fff;
}
.developer-copy {
  width: min(850px, 100%);
  margin: 0 auto;
  text-align: center;
}
.developer-copy p { color: rgba(255,255,255,.76); }
.developer-points {
  justify-content: center;
}
.developer-points span {
  border: 1px solid rgba(255,255,255,.22);
  padding: 12px 18px;
  color: rgba(255,255,255,.82);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact {
  align-items: start;
}
.contact-card {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 4.4vw, 54px);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #f7f4ef, #fff);
}
.contact-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(184,156,101,.22);
  pointer-events: none;
}
.contact-card > * {
  position: relative;
  z-index: 1;
}
.contact-card h3 {
  max-width: 520px;
  font-size: clamp(2rem, 3vw, 3.2rem);
}
.contact-card p {
  color: var(--muted);
}
.contact-label {
  margin: 0 0 18px;
  color: var(--accent-dark);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.contact-whatsapp {
  width: 100%;
  margin-top: 22px;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
}
.mobile-cta { display: none; }
.site-footer {
  padding: 58px clamp(20px, 5vw, 64px);
  background: var(--dark);
  color: rgba(255,255,255,.62);
  font-size: .82rem;
  text-align: center;
}
.site-footer p {
  width: min(1040px, 100%);
  margin: 18px auto 0;
}
.footer-brand {
  font-family: "Playfair Display", Georgia, serif;
  color: #fff;
  font-size: 1.5rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 26px;
}
.footer-links button {
  border: 0;
  border-right: 1px solid rgba(255,255,255,.1);
  background: transparent;
  padding: 6px 20px;
  color: rgba(255,255,255,.62);
  cursor: pointer;
  font-size: .92rem;
}
.footer-links button:last-child { border-right: 0; }
.footer-links button:hover,
.footer-links button:focus {
  color: #fff;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 34px);
  background: rgba(0,0,0,.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.modal-panel {
  position: relative;
  width: min(1180px, 100%);
  max-height: min(86vh, 900px);
  overflow: auto;
  padding: clamp(34px, 6vw, 78px);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0,0,0,.24);
}
.modal-panel h2 {
  margin-bottom: 36px;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.modal-panel h3 {
  margin: 34px 0 16px;
  font-size: clamp(1.45rem, 2.3vw, 2.45rem);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.modal-panel p {
  color: #85858b;
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  line-height: 1.9;
}
.modal-close {
  position: absolute;
  top: 26px;
  right: 28px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #7d7d82;
  cursor: pointer;
  font-size: 2.4rem;
  line-height: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .site-nav {
    position: fixed;
    inset: 66px 16px auto;
    display: grid;
    gap: 0;
    padding: 12px;
    background: rgba(255,255,255,.97);
    color: var(--text);
    box-shadow: 0 20px 60px rgba(0,0,0,.12);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
  }
  .site-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .site-nav a { padding: 14px 16px; }
  .nav-toggle {
    display: grid;
    gap: 6px;
    width: 42px;
    height: 42px;
    border: 1px solid currentColor;
    background: transparent;
    color: inherit;
    place-content: center;
  }
  .nav-toggle span {
    width: 18px;
    height: 1px;
    background: currentColor;
  }
  .section-grid,
  .location-layout,
  .feature-row,
  .feature-row.reverse,
  .contact,
  .tab-panel {
    grid-template-columns: 1fr;
  }
  .story .section-grid {
    grid-template-columns: 1fr;
  }
  .story .editorial-image {
    min-height: 360px;
  }
  .feature-row.reverse picture { order: 0; }
  .connectivity { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  body { padding-bottom: 62px; }
  .site-header { padding: 16px 18px; }
  .hero-content { width: calc(100% - 34px); }
  h1 { font-size: clamp(3rem, 17vw, 4.8rem); }
  h2,
  .story .section-copy h2 { font-size: clamp(2.15rem, 10vw, 3.05rem); }
  .hero-meta {
    display: grid;
    gap: 8px;
    font-size: .68rem;
  }
  .hero-actions .btn { width: 100%; }
  .section { padding: 74px 18px; }
  .story .editorial-image {
    min-height: 280px;
  }
  .contact-card {
    padding: 30px 24px;
  }
  .contact-card::before {
    inset: 12px;
  }
  .contact-card h3 {
    font-size: clamp(1.85rem, 9vw, 2.45rem);
  }
  .icon-grid,
  .why-grid,
  .connectivity {
    grid-template-columns: 1fr;
  }
  .stat { min-height: 190px; }
  .carousel-track { min-height: 420px; }
  .carousel-btn { top: auto; bottom: 18px; }
  .floating-whatsapp { display: none; }
  .mobile-cta {
    position: fixed;
    inset: auto 0 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--dark);
  }
  .mobile-cta a {
    min-height: 62px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
  }
  .mobile-cta a:first-child { background: var(--accent); }
  .site-footer {
    padding: 48px 18px 34px;
  }
  .footer-brand {
    font-size: 1.05rem;
  }
  .footer-links {
    display: grid;
    gap: 8px;
  }
  .footer-links button {
    border: 1px solid rgba(255,255,255,.1);
    padding: 10px 14px;
  }
  .modal {
    padding: 10px;
  }
  .modal-panel {
    max-height: 88vh;
    border-radius: 18px;
    padding: 38px 24px;
  }
  .modal-panel h2 {
    margin-bottom: 24px;
    letter-spacing: .1em;
  }
  .modal-panel h3 {
    letter-spacing: .09em;
  }
  .modal-close {
    top: 12px;
    right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
