:root {
  --accent: oklch(0.42 0.07 150);
  --accent-dark: oklch(0.34 0.07 150);
  --ink: oklch(0.2 0.008 250);
  --ink-soft: oklch(0.5 0.01 250);
  --bg: oklch(0.98 0.004 90);
  --bg-alt: oklch(0.96 0.004 90);
  --border: oklch(0.9 0.005 90);
  --warn: oklch(0.5 0.08 30);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: oklch(0.42 0.07 150 / 0.25); }

.eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 8px;
}
.eyebrow--light { color: rgba(255,255,255,0.85); }

h1, h2, h3 { letter-spacing: -0.02em; margin: 0; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.btn--primary { background: var(--accent); color: white; transition: background 0.15s ease; }
.btn--primary:hover { background: var(--accent-dark); }

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 12px;
  max-width: 1400px;
  margin: 0 auto;
}
.nav__brand { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.nav__logo { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.nav__tagline { font-size: 13px; color: var(--ink-soft); font-weight: 500; white-space: nowrap; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav__links a:hover { color: var(--accent); }
.nav__cta {
  padding: 10px 20px;
  background: var(--accent);
  color: white !important;
  border-radius: 4px;
  font-weight: 600;
}
.nav__cta:hover { background: var(--accent-dark); color: white; }
.nav__burger {
  display: none;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}
.nav__burger span { width: 16px; height: 2px; background: var(--ink); }

@media (max-width: 900px) {
  .nav__links {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 16px;
    gap: 0;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 0; font-size: 15px; border-bottom: 1px solid var(--border); }
  .nav__links a:last-child { border-bottom: none; }
  .nav__cta { margin-top: 8px; text-align: center; }
  .nav__burger { display: flex; }
}

/* HERO */
.hero {
  position: relative;
  width: 100%;
  height: 640px;
  overflow: hidden;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.08) 55%);
}
.hero__content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 48px;
  max-width: 1400px;
  margin: 0 auto;
}
.hero__content h1 { font-size: 52px; font-weight: 700; color: white; max-width: 720px; }
.hero__subtitle { font-size: 17px; color: rgba(255,255,255,0.88); margin: 10px 0 28px; }

@media (max-width: 640px) {
  .hero { height: 520px; }
  .hero__content { padding: 28px; }
  .hero__content h1 { font-size: 34px; }
}

/* FACTS */
.facts {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
}
.facts__item {
  flex: 1 1 200px;
  padding: 22px 40px;
  border-right: 1px solid var(--border);
}
.facts__label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); font-weight: 600; }
.facts__value { font-size: 20px; font-weight: 600; margin-top: 4px; }

/* SECTIONS */
.section { padding: 72px 24px; }
.section--alt { background: var(--bg-alt); }
.section__inner { max-width: 1200px; margin: 0 auto; }
.section h2 { font-size: 32px; font-weight: 700; margin-top: 8px; margin-bottom: 16px; }
.section__desc { font-size: 14px; color: var(--ink-soft); margin: 0 0 40px; max-width: 640px; line-height: 1.5; }

.grid { display: grid; gap: 28px; margin-top: 24px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg);
}
.card h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.card p { font-size: 14px; color: var(--ink-soft); line-height: 1.5; margin: 0; }
.dot { display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); margin-bottom: 16px; }

/* SCROLLER (plantas / tipologias) */
.scroller {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-top: 24px;
  margin-bottom: 48px;
  -webkit-overflow-scrolling: touch;
}
.scroller::-webkit-scrollbar { height: 8px; }
.scroller::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.plan-card {
  flex: 0 0 300px;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg);
}
.plan-card img { width: 100%; height: 340px; object-fit: contain; background: white; }
.plan-card figcaption { padding: 16px 20px; font-size: 15px; font-weight: 600; }
.plan-card { position: relative; }
.plan-card--unit img { height: 220px; }

.zoom-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: white;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.specs {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 640px;
}
.specs__row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.specs__row span { color: var(--ink-soft); }
.specs__row strong { font-weight: 600; }

/* UNIT CARDS */
.unit-card {
  flex: 0 0 300px;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg);
  margin: 0;
}
.unit-card__body { padding: 20px; }
.unit-card__body h3 { font-size: 18px; font-weight: 700; }
.unit-card__meta { font-size: 14px; color: var(--ink-soft); margin: 4px 0 0; }

/* GALLERY */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.gallery__item {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: 4px;
  overflow: hidden;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }

/* LOCATION MAP */
.location-map {
  margin: 24px 0 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.location-map img { width: 100%; height: auto; }

/* DOCUMENTOS */
.doc-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  margin-top: 24px;
}
.doc-panel h3 { font-size: 18px; font-weight: 700; }
.doc-panel p { font-size: 14px; color: var(--ink-soft); margin: 6px 0 0; max-width: 480px; line-height: 1.5; }

/* FOOTER */
.footer { padding: 56px 24px; }
.footer__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.footer__inner h3 { font-size: 16px; font-weight: 700; }
.footer__inner p { font-size: 14px; color: var(--ink-soft); margin: 4px 0 0; }
.footer__inner a:hover { color: var(--accent); }
.footer__copy { font-size: 13px; color: oklch(0.6 0.01 250); margin: 0; }

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  padding: 48px;
  cursor: zoom-out;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: default; }
.lightbox__close {
  position: absolute;
  top: 24px;
  right: 32px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: white;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
