/* ─── TOKENS ─── */
:root {
  --teal:     #2f5058;
  --teal2:    #18323a;
  --sand:     #c8bfad;
  --gold:     #c9a84c;
  --cream:    #f7f3ec;
  --ink:      #15272d;
  --muted:    #65777c;
  --white:    #fff;
  --shadow:   0 24px 70px rgba(21,39,45,.16);
  --shadow-sm:0 10px 34px rgba(21,39,45,.08);
  --radius:   22px;
  --radius-sm:14px;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { padding: 0; margin: 0; list-style: none; }

/* ─── ACCESSIBILITY ─── */
.skip { position: absolute; left: -999px; }
.skip:focus {
  left: 1rem; top: 1rem;
  background: #fff; padding: .8rem;
  z-index: 999; border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.hidden { display: none !important; }
body.no-scroll { overflow: hidden; }

/* Focus visible — clear but elegant */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 {
  line-height: 1.1;
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}
h1 { font-size: clamp(2.1rem, 4.2vw, 4.6rem); max-width: 820px; }
h2 { font-size: clamp(1.75rem, 3.4vw, 3.6rem); }
h3 { font-size: 1.45rem; }
h4 { font-size: 1rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .17em;
  color: var(--sand);
  font-weight: 800;
  font-size: .74rem;
  margin: 0 0 12px;
  display: block;
}
.eyebrow.dark { color: var(--teal); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: .88rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease, background .15s ease;
  white-space: nowrap;
  line-height: 1;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary   { background: var(--sand); color: var(--teal2); border-color: var(--sand); }
.btn-primary:hover { background: #bbb39e; }
.btn-secondary { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); color: #fff; }
.btn-secondary:hover { background: rgba(255,255,255,.2); }
.btn-whatsapp  { background: #25D366; color: #fff; border-color: #25D366; }
.btn-whatsapp:hover { background: #1dbd5a; }
.btn-outline   { background: transparent; border-color: var(--teal); color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn-outline-dark { background: transparent; border-color: var(--teal2); color: var(--teal2); }
.btn-outline-dark:hover { background: var(--teal2); color: #fff; }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn-model {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal);
  padding: .6rem 1rem;
  font-size: .83rem;
  margin-top: auto;
  padding-top: 14px;
  width: 100%;
  justify-content: center;
}
.btn-model:hover { background: var(--teal); color: #fff; transform: none; }
.mt-btn { margin-top: 26px; }

/* ─── HEADER ─── */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 72px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 56px);
  background: rgba(24,50,58,.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.brand img { height: 50px; width: auto; }
.nav {
  display: flex;
  gap: 20px;
  align-items: center;
  color: #fff;
  font-size: .88rem;
}
.nav a { text-decoration: none; opacity: .85; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
.nav-cta {
  background: var(--sand);
  color: var(--teal2) !important;
  padding: .58rem 1.1rem;
  border-radius: 999px;
  font-weight: 800;
  opacity: 1 !important;
  transition: background .2s;
}
.nav-cta:hover { background: #bbb39e !important; }

/* Hamburger */
.menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
}
.menu span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* ─── HERO ─── */
.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--teal2);
}
.hero picture,
.hero picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(14,31,37,.86) 0%,
      rgba(14,31,37,.52) 50%,
      rgba(14,31,37,.08) 100%),
    linear-gradient(0deg,
      rgba(14,31,37,.60) 0%,
      transparent 40%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 860px;
  padding: 136px clamp(22px, 6vw, 88px) 80px;
}
.hero-content .eyebrow { margin-bottom: 16px; }
.hero-sub {
  font-size: clamp(.98rem, 1.7vw, 1.2rem);
  max-width: 660px;
  color: rgba(238,243,242,.9);
  margin: 0 0 30px;
}
.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.trust {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.trust li {
  padding: .44rem .8rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  font-size: .8rem;
  letter-spacing: .02em;
}

/* ─── METRICS ─── */
.metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--white);
  margin: -42px auto 0;
  position: relative;
  z-index: 10;
  width: min(1120px, 92vw);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.metrics div {
  padding: 26px 16px;
  text-align: center;
  border-right: 1px solid #edf0ef;
}
.metrics div:last-child { border-right: 0; }
.metrics strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 2.1rem;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 6px;
}
.metrics span {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  font-weight: 800;
}

/* ─── SECTIONS ─── */
.section { padding: clamp(56px, 8vw, 112px) clamp(22px, 6vw, 88px); }
.section > p,
.section-head p { font-size: 1.02rem; color: var(--muted); max-width: 760px; }
.section-head { max-width: 860px; margin-bottom: 40px; }
.section-head.centered { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.centered-p { margin-left: auto; margin-right: auto; }

/* ─── SPLIT ─── */
.split {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(300px,.9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.rounded { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ─── VALUE GRID ─── */
.value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
  margin-top: 22px;
}
.value-grid span {
  background: var(--white);
  border: 1px solid #e8e3da;
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  font-weight: 700;
  font-size: .88rem;
  color: var(--teal2);
}

/* ─── LOCATION ─── */
.location-section { background: var(--white); }
.location-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  max-width: 1200px;
}
.location-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 22px;
}
.location-list li {
  background: var(--cream);
  border: 1px solid #e8e3da;
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: .86rem;
  font-weight: 700;
  color: var(--teal2);
  display: flex;
  align-items: center;
  gap: 8px;
}
.location-list li::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.location-map { position: sticky; top: 88px; }
.map-embed-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 420px;
}
.map-embed-wrap iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}

/* ─── WHY ENALTO ─── */
.why-section { background: var(--cream); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
  margin-top: 0;
}
.why-card {
  background: var(--white);
  border: 1px solid #e8e3da;
  border-radius: var(--radius);
  padding: 26px 24px 28px;
  transition: box-shadow .25s, transform .25s;
}
.why-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.why-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: rgba(47,80,88,.09);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--teal);
}
.why-card h3 { font-size: 1.08rem; color: var(--ink); margin-bottom: 8px; }
.why-card p { font-size: .9rem; color: var(--muted); max-width: none; margin: 0; }

/* ─── TOWER STRIP ─── */
.tower-strip {
  display: flex;
  gap: 0;
  margin-bottom: 28px;
  border: 1px solid #e8e3da;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
}
.tower-panel {
  flex: 1;
  padding: 22px 26px;
  border-right: 1px solid #e8e3da;
}
.tower-panel-b { border-right: 0; }
.tower-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font-family: Georgia, serif;
  font-size: .85rem;
  color: var(--muted);
  font-style: italic;
  flex-shrink: 0;
  border-right: 1px solid #e8e3da;
}
.tower-panel-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.tower-tag {
  background: var(--teal);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .28rem .75rem;
  border-radius: 999px;
}
.tower-tag-b { background: var(--sand); color: var(--teal2); }
.tower-view-label { font-size: .85rem; color: var(--muted); font-weight: 600; }
.tower-models-label { font-size: .88rem; font-weight: 700; color: var(--teal2); margin: 0 0 4px; }
.tower-amenity-note { font-size: .84rem; color: var(--muted); margin: 0; max-width: none; }
.tower-amenity-note strong { color: var(--ink); }

/* ─── MODEL FILTERS ─── */
.models-filter-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.carousel-hint {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .79rem;
  color: var(--muted);
  white-space: nowrap;
  margin: 0;
  flex-shrink: 0;
}
.carousel-hint svg { color: var(--teal); }
.model-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: .52rem 1.2rem;
  border-radius: 14px;
  border: 1.5px solid #d4cec6;
  background: var(--white);
  font: inherit;
  font-size: .83rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all .15s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.filter-btn:hover,
.filter-btn.active { background: var(--teal); border-color: var(--teal); color: #fff; }
.filter-btn-main {
  display: flex;
  align-items: center;
  gap: 4px;
  line-height: 1.3;
}
.filter-count { font-weight: 700; }
.filter-btn-sub {
  display: block;
  font-size: .69rem;
  font-weight: 600;
  letter-spacing: .02em;
  opacity: .7;
  margin-top: 2px;
  white-space: nowrap;
  line-height: 1.2;
}
.filter-btn.active .filter-btn-sub { opacity: .85; }

/* ─── MODELS CAROUSEL ─── */
.models-section { background: var(--white); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }

.models-carousel-wrap {
  position: relative;
  margin: 20px calc(-1 * clamp(22px, 6vw, 88px)) 0;
}
.models-carousel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px clamp(22px, 6vw, 88px) 24px;
}
.models-carousel::-webkit-scrollbar { display: none; }

/* Gradient "peek" right — hints more content without covering card text/buttons */
.carousel-fade {
  position: absolute;
  top: 4px;
  right: 0;
  width: 48px;
  bottom: 24px;
  background: linear-gradient(to right, transparent, var(--white) 88%);
  pointer-events: none;
  z-index: 2;
  opacity: 1;
  transition: opacity .2s ease;
}

/* Prev / Next navigation */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 12px));
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid #ddd8d0;
  box-shadow: 0 2px 14px rgba(21,39,45,.14);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal2);
  transition: background .15s, color .15s, border-color .15s;
  padding: 0;
  font-family: inherit;
}
.carousel-btn:hover { background: var(--teal); color: var(--white); border-color: var(--teal); }
.carousel-btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.carousel-prev { left: clamp(4px, 1.5vw, 16px); }
.carousel-next { right: clamp(4px, 1.5vw, 16px); }

/* ─── MODEL CARD V3 — CAROUSEL ─── */
.model-card {
  background: var(--white);
  border: 1px solid #e8e3da;
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: box-shadow .25s, transform .2s;
  /* Carousel sizing — desktop: 300–340px */
  flex: 0 0 clamp(300px, 24vw, 340px);
  scroll-snap-align: start;
}
.model-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.model-card.featured { border-color: var(--teal); }
.model-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 5;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}

/* Card image */
.mcard-img {
  position: relative;
  height: 160px;
  overflow: hidden;
  flex-shrink: 0;
}
.mcard-img-btn {
  all: unset;
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.mcard-img-btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}
.mcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.model-card:hover .mcard-img img { transform: scale(1.06); }
.mcard-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(21,39,45,.92) 0%,
    rgba(21,39,45,.4) 40%,
    transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px 16px;
  pointer-events: none;
}
.mcard-img-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.mcard-name {
  color: #fff;
  font-weight: 800;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  white-space: nowrap;
}
.mcard-tag-top {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  background: var(--teal);
  color: #fff;
  font-size: .67rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: .26rem .65rem;
  border-radius: 999px;
  pointer-events: none;
}
.mcard-ref {
  position: absolute;
  bottom: 44px;
  right: 10px;
  background: rgba(0,0,0,.45);
  color: rgba(255,255,255,.75);
  font-size: .62rem;
  padding: .18rem .5rem;
  border-radius: 4px;
  letter-spacing: .03em;
  pointer-events: none;
}

/* Vista chips */
.vista-chip {
  padding: .26rem .62rem;
  border-radius: 999px;
  font-size: .66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
  flex-shrink: 0;
}
.vista-bahia   { background: rgba(47,80,88,.9);  color: #e8f0ef; }
.vista-urbana  { background: rgba(80,100,106,.88); color: #fff; }
.vista-variada { background: rgba(24,50,58,.85); color: var(--sand); }

/* Card body */
.mcard-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
/* New header row: m² + torre */
.mcard-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 8px;
}
.mcard-sqm-group {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.mcard-terr {
  font-size: .74rem;
  color: var(--muted);
  font-weight: 600;
}
/* Legacy meta (kept for backwards compat) */
.mcard-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 10px;
}
.mcard-sqm {
  font-family: Georgia, serif;
  font-size: 2.2rem;
  color: var(--teal2);
  line-height: 1;
  font-weight: 500;
}
.mcard-sqm em {
  font-style: normal;
  font-size: .95rem;
  color: var(--muted);
  margin-left: 3px;
}
.mcard-torre {
  font-size: .72rem;
  font-weight: 800;
  color: var(--teal2);
  background: rgba(47,80,88,.1);
  padding: .22rem .6rem;
  border-radius: 999px;
  white-space: nowrap;
}
.mcard-torre-b {
  background: rgba(201,168,76,.15);
  color: #7a6020;
}

/* Specs icon row */
.mcard-specs {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 10px 0;
  border-top: 1px solid #f0ede7;
  border-bottom: 1px solid #f0ede7;
  margin-bottom: 12px;
}
.mcard-specs span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .79rem;
  font-weight: 700;
  color: var(--teal2);
  padding-right: 14px;
  margin-right: 14px;
  border-right: 1px solid #ede9e2;
  white-space: nowrap;
}
.mcard-specs span:last-child { border-right: 0; padding-right: 0; margin-right: 0; }
.mcard-specs svg { color: var(--teal); flex-shrink: 0; }

/* Feature list */
.mcard-features {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.mcard-features li {
  font-size: .83rem;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.45;
}
.mcard-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 900;
  font-size: .76rem;
  top: 1px;
}

/* Profile box */
.mcard-profile {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  padding: 10px 13px;
  font-size: .82rem;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1;
}
.mcard-profile-label {
  display: block;
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold);
  font-weight: 800;
  margin-bottom: 4px;
}

/* Price row */
.mcard-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-top: 1px solid #f0ede7;
  margin-bottom: 8px;
}
.mcard-price-label {
  font-size: .72rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.mcard-price-val {
  font-size: .94rem;
  color: var(--teal2);
  font-weight: 800;
  font-family: Georgia, serif;
}

/* One-line profile (replaces mcard-features + mcard-profile) */
.mcard-ideal {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 12px;
  flex: 1;
}

.mcard-plano-link {
  display: inline-block;
  background: none;
  border: none;
  padding: 0;
  margin: 0 0 12px;
  font: inherit;
  font-size: .8rem;
  font-weight: 800;
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  text-align: left;
}
.mcard-plano-link:hover { color: var(--teal2); }

/* Smaller sqm for ranges */
.mcard-sqm-range { font-size: 1.55rem !important; }

/* Models CTA block */
.models-cta-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 40px;
  padding: 32px 36px;
  background: var(--teal2);
  border-radius: var(--radius);
  color: #fff;
}
.models-cta-text { flex: 1; }
.models-cta-text .eyebrow { color: var(--sand); }
.models-cta-text h3 { color: #fff; font-size: 1.3rem; margin: 0; }
.models-cta-actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }

/* ─── DISCLAIMER ─── */
.disclaimer {
  margin-top: 24px;
  font-size: .8rem;
  color: var(--muted);
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ─── LIGHTBOX: Plano completo ─── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 28, 32, .72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .2s ease;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }

.lightbox-dialog {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: min(1040px, 100%);
  max-height: min(880px, 92vh);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  overflow: hidden;
  transform: translateY(12px) scale(.98);
  transition: transform .25s ease;
}
.lightbox.is-open .lightbox-dialog { transform: translateY(0) scale(1); }

.lightbox-imgwrap {
  background: var(--teal2);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  max-height: min(880px, 92vh);
  padding: 18px;
}
.lightbox-img {
  width: 100%;
  height: 100%;
  max-height: calc(min(880px, 92vh) - 36px);
  object-fit: contain;
}

.lightbox-info {
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.lightbox-name {
  font-size: 1.5rem;
  color: var(--teal2);
  margin-bottom: 16px;
}
.lightbox-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0 0 24px;
}
.lightbox-specs div {
  background: var(--cream);
  border: 1px solid #e8e3da;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.lightbox-specs dt {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  font-weight: 800;
  margin: 0 0 3px;
}
.lightbox-specs dd {
  margin: 0;
  font-size: .9rem;
  font-weight: 700;
  color: var(--teal2);
}
.lightbox-cta { margin-top: auto; width: 100%; }

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  border: 1px solid #ddd8d0;
  box-shadow: 0 2px 14px rgba(21,39,45,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal2);
  cursor: pointer;
  padding: 0;
  transition: background .15s, color .15s;
}
.lightbox-close:hover,
.lightbox-nav:hover { background: var(--teal); color: #fff; }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { top: 50%; left: 16px; transform: translateY(-50%); }
.lightbox-next { top: 50%; right: 16px; transform: translateY(-50%); }

/* ─── STICKY WA BUTTON (mobile) ─── */
.sticky-wa {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 200;
  background: #25D366;
  color: #fff;
  border-radius: 999px;
  padding: .72rem 1.3rem .72rem .9rem;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: .88rem;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(37,211,102,.45);
  transition: transform .15s;
}
.sticky-wa:hover { transform: scale(1.04); }

/* ─── AMENITIES ─── */
.amenities { background: var(--cream); }
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}
.amenity-grid article {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s;
}
.amenity-grid article:hover { box-shadow: var(--shadow); }
.amenity-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.amenity-grid div { padding: 22px 24px 26px; }
.amenity-grid h3 { color: var(--teal2); margin-bottom: 6px; }
.amenity-grid p { font-size: .93rem; color: var(--muted); max-width: none; margin: 0; }
.amenity-cta { margin-top: 36px; text-align: center; }

/* ─── INCLUDES ─── */
.includes {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 48px;
  align-items: start;
  background: var(--white);
}
.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}
.checklist li {
  background: var(--cream);
  border: 1px solid #e8e3da;
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  font-weight: 700;
  font-size: .88rem;
  color: var(--teal2);
}
.checklist li::before { content: '✓ '; color: var(--teal); font-weight: 900; }

/* ─── DARK BLOCK ─── */
.dark-block { background: var(--teal2); color: var(--white); }
.dark-block h2 { color: var(--white); }
.dark-p { color: rgba(216,224,223,.88) !important; max-width: 600px; }
.light span { background: rgba(255,255,255,.08) !important; border-color: rgba(255,255,255,.12) !important; color: #fff !important; }


/* ─── OPPORTUNITY ─── */
.opportunity {
  background:
    linear-gradient(rgba(24,50,58,.84), rgba(24,50,58,.84)),
    url('assets/encielo-rooftop.webp') center/cover no-repeat;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.panel {
  max-width: 840px;
  background: rgba(18,40,46,.7);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 56px);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin: 0 auto;
}
.panel h2 { color: var(--white); }
.panel > p { color: rgba(238,243,242,.88); }
.opportunity-list {
  margin: 18px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.opportunity-list li {
  color: rgba(238,243,242,.88);
  font-size: .98rem;
  padding-left: 20px;
  position: relative;
}
.opportunity-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ─── FORM ─── */
.form-section {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 48px;
  align-items: start;
  background: var(--cream);
}
.form-intro > p { max-width: none; }
.form-benefits {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.form-benefits li {
  font-size: .93rem;
  color: var(--muted);
  padding-left: 20px;
  position: relative;
}
.form-benefits li::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 900; }
.lead-form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}
.lead-form label {
  font-weight: 800;
  color: var(--teal2);
  font-size: .86rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid #d8d6cf;
  border-radius: 11px;
  background: #fbfaf7;
  font: inherit;
  font-size: .93rem;
  color: var(--ink);
  transition: border-color .2s;
  -webkit-appearance: none;
}
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: #fff;
}
.lead-form input[aria-invalid="true"],
.lead-form select[aria-invalid="true"] {
  border-color: #b3261e;
}
.lead-form .full { grid-column: 1 / -1; }
.lead-form small { color: var(--muted); font-size: .8rem; line-height: 1.55; }
.field-error {
  display: none;
  font-weight: 700;
  font-size: .78rem;
  color: #b3261e;
}
.field-error.is-visible { display: block; }

/* ─── FORM PREMIUM ADDITIONS ─── */

/* Pill / radio groups */
.pill-group {
  border: none;
  padding: 0;
  margin: 0;
}
.pill-group legend {
  font-weight: 800;
  color: var(--teal2);
  font-size: .86rem;
  margin-bottom: 10px;
  display: block;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  display: inline-flex;
  cursor: pointer;
  font-weight: 700 !important;
  flex-direction: row !important;
  gap: 0 !important;
}
.pill input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.pill span {
  display: inline-flex;
  align-items: center;
  padding: .46rem .95rem;
  border: 1.5px solid #d8d6cf;
  border-radius: 999px;
  background: #fbfaf7;
  font-size: .83rem;
  font-weight: 700;
  color: var(--teal2);
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
  white-space: nowrap;
  line-height: 1;
}
.pill:hover span {
  border-color: var(--teal);
  background: rgba(47,80,88,.06);
}
.pill input[type="radio"]:checked + span {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}
.pill input[type="radio"]:focus-visible + span {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* Privacy checkbox */
.privacy-label {
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 10px !important;
  font-weight: 400 !important;
  font-size: .88rem !important;
  color: var(--muted) !important;
  cursor: pointer;
}
.privacy-label input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: checkbox;
  width: 18px;
  height: 18px;
  min-width: 18px;
  padding: 0;
  border: none;
  background: none;
  flex-shrink: 0;
  margin: 2px 0 0;
  accent-color: var(--teal);
  cursor: pointer;
  pointer-events: auto;
  border-radius: 4px;
}
.privacy-label a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.privacy-label a:hover { color: var(--teal2); }

/* General form error message */
.form-error-msg {
  background: #fdf2f2;
  border: 1px solid #f5c6c6;
  border-radius: 10px;
  color: #b3261e;
  font-size: .88rem;
  font-weight: 700;
  padding: 12px 16px;
  margin: 0;
}

/* Disabled submit button */
.form-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none !important;
}

/* ─── FAQ ─── */
.faq { background: var(--white); }
.faq-list { max-width: 960px; }
.faq-list details {
  margin: 8px 0;
  border: 1px solid #e8e3da;
  border-radius: var(--radius-sm);
  background: var(--cream);
  overflow: hidden;
}
.faq-list details[open] { background: var(--white); }
.faq-list summary {
  font-weight: 800;
  font-size: .96rem;
  cursor: pointer;
  padding: 18px 20px;
  color: var(--teal2);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
  -webkit-user-select: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--teal);
  flex-shrink: 0;
  line-height: 1;
  transition: transform .2s;
}
.faq-list details[open] summary::after { content: '−'; }
.faq-answer { padding: 0 20px 18px; }
.faq-answer p {
  color: var(--muted);
  font-size: .93rem;
  margin: 0;
  max-width: none;
  line-height: 1.65;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--teal2);
  color: var(--white);
  padding: 52px clamp(22px, 6vw, 88px) 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 40px;
  align-items: start;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand img { margin-bottom: 12px; }
.footer-name { font-weight: 700; margin: 0 0 4px; }
.footer-address {
  color: rgba(255,255,255,.55);
  font-size: .86rem;
  line-height: 1.65;
  margin: 0;
  font-weight: 400;
}
.footer-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.footer-links a { color: var(--sand); text-decoration: none; font-size: .88rem; opacity: .9; }
.footer-links a:hover { opacity: 1; }
.footer-disclaimer {
  padding: 18px 0 28px;
  color: rgba(255,255,255,.38);
  font-size: .76rem;
  line-height: 1.65;
  max-width: 960px;
}

/* ─── RESPONSIVE: 1100px ─── */
@media (max-width: 1100px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .cards    { grid-template-columns: repeat(2, 1fr); }
  /* carousel nav buttons visible only on wider screens */
}
@media (max-width: 900px) and (min-width: 601px) {
  /* Tablet: ~42vw */
  .model-card { flex: 0 0 clamp(280px, 42vw, 340px); }
}

/* ─── RESPONSIVE: 900px ─── */
@media (max-width: 900px) {
  /* Nav mobile */
  .nav {
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    display: none;
    flex-direction: column;
    padding: 22px 24px 28px;
    background: var(--teal2);
    border-top: 1px solid rgba(255,255,255,.1);
    gap: 16px;
    font-size: .96rem;
    box-shadow: 0 12px 40px rgba(0,0,0,.3);
  }
  .nav.is-open { display: flex; }
  .menu { display: flex; }

  /* Collapse grids */
  .metrics,
  .amenity-grid,
  .includes,
  .form-section,
  .split,
  .location-inner,
  .why-grid { grid-template-columns: 1fr; }

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

  .metrics { margin-top: 0; border-radius: 0; width: 100%; }
  .metrics div { border-right: 0; border-bottom: 1px solid #edf0ef; padding: 20px 16px; }
  .metrics div:last-child { border-bottom: 0; }

  .checklist { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .location-list { grid-template-columns: 1fr; }
  .lead-form { grid-template-columns: 1fr; }
  .location-map { position: static; }
  .map-embed-wrap { min-height: 300px; }
  .map-embed-wrap iframe { min-height: 300px; }

  .hero-content { padding: 116px 22px 68px; }

  .opportunity { background-attachment: scroll; }

  /* Reorder split images */
  .split picture,
  .split img { order: -1; }
  .dark-block picture,
  .dark-block img { order: 0; }

  /* Carousel: hide desktop nav buttons on mobile (swipe native) */
  .carousel-btn { display: none; }
  .carousel-fade { width: 32px; }
  .models-filter-area { flex-direction: column; align-items: flex-start; gap: 10px; }
  .carousel-hint { font-size: .75rem; }

  /* Models CTA block stacks */
  .models-cta-block { flex-direction: column; align-items: flex-start; gap: 20px; }

  /* Show sticky WA button */
  .sticky-wa { display: flex; }

  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-actions { align-items: flex-start; }
  .footer-links { align-items: flex-start; flex-direction: row; flex-wrap: wrap; gap: 16px; }
}

/* ─── RESPONSIVE: 600px ─── */
@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
  .mcard-img { height: 150px; }
  /* Mobile: 86vw, max 340px */
  .model-card { flex: 0 0 min(86vw, 340px); }
  .filter-btn-sub { display: none; }
  .filter-btn { border-radius: 999px; }

  /* Metrics: compact 2-col, last item spans full width */
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metrics div { border-right: 1px solid #edf0ef; }
  .metrics div:nth-child(even) { border-right: 0; }
  .metrics div:last-child { grid-column: 1 / -1; border-bottom: 0; }

  /* Lightbox: stack image above details, full screen */
  .lightbox { padding: 0; }
  .lightbox-dialog {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    width: 100%;
    height: 100%;
    max-height: 100vh;
    border-radius: 0;
  }
  .lightbox-imgwrap { min-height: 36vh; max-height: 46vh; padding: 12px; }
  .lightbox-img { max-height: 44vh; }
  .lightbox-info { padding: 22px 20px; overflow-y: auto; }
  .lightbox-specs { grid-template-columns: 1fr 1fr; }
  /* Keep prev/next centered on the image area, not the full dialog */
  .lightbox-prev,
  .lightbox-next { top: 20vh; left: auto; right: auto; transform: translateY(-50%); }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

/* ─── RESPONSIVE: 480px ─── */
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
  .trust { gap: 6px; }
  .trust li { font-size: .76rem; padding: .38rem .7rem; }
  .section { padding: 48px 18px; }
  /* Keep carousel bleed in sync with .section's flat 18px padding at this breakpoint */
  .models-carousel-wrap { margin-left: -18px; margin-right: -18px; }
  .models-carousel { padding-left: 18px; padding-right: 18px; }
  h2 { font-size: clamp(1.55rem, 7vw, 2.2rem); }
  .mcard-sqm { font-size: 1.9rem; }
  .panel { padding: 24px 20px; }
  .lead-form { padding: 24px 20px; }
  .models-cta-actions { flex-direction: column; width: 100%; }
  .models-cta-actions .btn { text-align: center; justify-content: center; }

  /* Footer CTAs: clean full-width stack */
  .footer-actions { width: 100%; align-items: stretch; }
  .footer-actions .btn { width: 100%; text-align: center; }
}

/* Anti-spam honeypot: hidden visually and from normal keyboard flow. */
.hp-field{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
