/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --navy:           #0D2137;
  --navy-mid:       #0C3B60;
  --blue:           #0F8DD8;
  --blue-dark:      #0C5783;
  --cream:          #FAF7F4;
  --cream-border:   #EDE8E3;
  --terracota:      #C26A3A;
  --terracota-light:#fdf0e8;
  --white:          #FFFFFF;
  --text:           #1e293b;
  --muted:          #64748b;
  --light:          #94a3b8;
  --green-wa:       #25D366;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  14px;

  --shadow-card: 0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.06);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
[hidden] { display: none !important; }

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; }
h1 { font-size: clamp(32px, 5vw, 54px); }
h2 { font-size: clamp(24px, 3.5vw, 38px); }
h3 { font-size: clamp(16px, 2vw, 20px); font-weight: 700; }

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
}
.section-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-label--terra { color: var(--terracota); }
.section-label--blue  { color: var(--blue); }
.section-label--light { color: rgba(255,255,255,.5); }

.section-intro {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 36px;
}
.divider { height: 1px; background: var(--cream-border); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  transition: opacity .15s, transform .15s;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover  { opacity: .9; }
.btn:active { transform: scale(.98); }

.btn--wa     { background: var(--green-wa); color: #fff; }
.btn--blue   { background: var(--blue);     color: #fff; }
.btn--ghost  {
  background: transparent;
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.25);
}
.btn--ghost-dark {
  background: transparent;
  color: var(--blue-dark);
  border: 1px solid var(--cream-border);
}
.btn--sm { font-size: 13px; padding: 9px 18px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,33,55,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}
.nav__logo img { height: 32px; width: auto; filter: brightness(0) invert(1); }
.nav__links {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.nav__links a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  transition: color .15s;
}
.nav__links a:hover { color: #fff; }
.nav__cta { margin-left: 8px; }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,.8);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav__mobile {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.nav__mobile a {
  color: rgba(255,255,255,.75);
  font-size: 15px;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav__mobile .btn { margin-top: 12px; width: 100%; justify-content: center; }

/* Burger active state */
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Responsive nav */
@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; margin-left: auto; }
  .container { padding: 0 20px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-mid) 55%, #0a4a78 100%);
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(15,141,216,.022) 0,
    rgba(15,141,216,.022) 1px,
    transparent 0,
    transparent 50%
  );
  background-size: 28px 28px;
  pointer-events: none;
}

.hero__content {
  padding-top: 80px;
  padding-bottom: 40px;
  position: relative;
  z-index: 1;
}
.hero__h1 {
  color: #fff;
  margin: 12px 0 16px;
  max-width: 680px;
}
.hero__price {
  font-size: 18px;
  color: rgba(255,255,255,.55);
  margin-bottom: 8px;
}
.hero__price strong { color: rgba(255,255,255,.85); }
.hero__sub {
  font-size: 16px;
  color: rgba(255,255,255,.5);
  margin-bottom: 36px;
  max-width: 500px;
}
.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Stat bar */
.hero__stats {
  display: flex;
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.2);
  backdrop-filter: blur(6px);
  position: relative;
  z-index: 1;
}
.hero__stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 12px;
  border-right: 1px solid rgba(255,255,255,.07);
  text-align: center;
}
.hero__stat:last-child { border-right: none; }
.hero__stat-num {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.hero__stat-num--accent { color: #46A4FE; }
.hero__stat-num--muted  { color: rgba(255,255,255,.4); font-size: 13px; }
.hero__stat-label {
  font-size: 10px;
  color: rgba(255,255,255,.4);
  margin-top: 3px;
}

@media (max-width: 768px) {
  .hero { min-height: 85vh; }
  .hero__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .hero__stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
  .hero__stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.07); }
  .hero__stat:nth-last-child(-n+2) { border-bottom: none; }
}

@media (max-width: 480px) {
  .hero__h1 { font-size: 28px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   UBICACIÓN
   ============================================================ */
.ubicacion { background: var(--cream); padding: 72px 0 0; }
.ubicacion__intro { padding-bottom: 36px; }
.ubicacion__map { width: 100%; line-height: 0; }
.ubicacion__map iframe { display: block; width: 100%; }

/* Distance strip — full width divided */
.ubicacion__strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--cream-border);
}
.dist-item {
  padding: 20px 32px;
  background: var(--white);
  border-right: 1px solid var(--cream-border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dist-item:last-child { border-right: none; }
.dist-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1.1;
}
.dist-place { font-size: 12px; color: var(--muted); }

@media (max-width: 768px) {
  .ubicacion { padding-top: 56px; }
  .ubicacion__map iframe { height: 250px; }
  .ubicacion__strip { grid-template-columns: 1fr 1fr; }
  .dist-item:nth-child(2) { border-right: none; }
  .dist-item:nth-child(3) { border-right: 1px solid var(--cream-border); border-top: 1px solid var(--cream-border); }
  .dist-item:nth-child(4) { border-right: none; border-top: 1px solid var(--cream-border); }
  .dist-item { padding: 16px 20px; }
}

/* ============================================================
   VIDA REAL
   ============================================================ */
.vida-real {
  background: var(--navy);
  padding: 64px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 100%;
}
.vida-real__text h2 {
  color: #fff;
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 16px;
}
.vida-real__text h2 em {
  color: #46A4FE;
  font-style: normal;
}
.vida-real__text p {
  color: rgba(255,255,255,.55);
  font-size: 15px;
  line-height: 1.7;
}
.vida-real__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.vida-photo { margin: 0; border-radius: var(--radius-md); overflow: hidden; }
.vida-photo img { width: 100%; height: 160px; object-fit: cover; }
.vida-photo__placeholder {
  width: 100%;
  height: 160px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.25);
  font-size: 11px;
  font-weight: 500;
}
.vida-photo__placeholder::after { content: attr(data-label); }

@media (max-width: 768px) {
  .vida-real {
    grid-template-columns: 1fr;
    padding: 48px 20px;
    gap: 32px;
  }
}

/* ============================================================
   EL EDIFICIO
   ============================================================ */
.edificio { background: var(--white); padding: 80px 0; }

/* Render + bullets */
.edificio__top {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  align-items: start;
}
.edificio__render { margin: 0; }
.edificio__render-placeholder {
  background: var(--cream);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-lg);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  font-size: 12px;
  text-align: center;
  padding: 24px;
}
.edificio__render img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.edificio__bullets { list-style: none; display: flex; flex-direction: column; gap: 0; }
.edificio__bullet {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--cream-border);
}
.edificio__bullet:last-child { border-bottom: none; }
.edificio__bullet-icon {
  width: 36px;
  height: 36px;
  background: var(--terracota-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--terracota);
}
.edificio__bullet strong { font-size: 14px; font-weight: 700; display: block; margin-bottom: 2px; }
.edificio__bullet span  { font-size: 12px; color: var(--muted); }

/* Dept filter pills */
.dept__filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.dept__filter {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: var(--cream);
  border: 1px solid var(--cream-border);
  border-radius: 999px;
  white-space: nowrap;
  transition: color .15s, background .15s, border-color .15s;
}
.dept__filter:hover { color: var(--blue-dark); border-color: var(--blue-dark); }
.dept__filter--active {
  color: var(--white);
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}
.dept__filter-count {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 700;
  background: var(--cream-border);
  color: var(--muted);
  border-radius: 999px;
  line-height: 1.4;
}
.dept__filter--active .dept__filter-count {
  background: rgba(255,255,255,.2);
  color: var(--white);
}

/* Dept grid + cards */
.dept__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.dept-card {
  background: var(--cream);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .15s, box-shadow .15s;
}
.dept-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.dept-card[hidden] { display: none !important; }
.dept-card__head {
  display: flex;
  gap: 12px;
  padding: 16px 16px 0;
  align-items: flex-start;
}
.dept-card__symbol {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--terracota);
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.5px;
}
.dept-card__symbol--gold {
  background: linear-gradient(135deg, #d4a343, #b8862a);
}
.dept-card__head h3 { font-size: 16px; margin-bottom: 4px; }
.dept-card__meta { font-size: 12px; color: var(--muted); line-height: 1.4; }
.dept-card__render { margin: 12px 0 0; background: var(--white); border-top: 1px solid var(--cream-border); border-bottom: 1px solid var(--cream-border); }
.dept-card__render img { width: 100%; height: 140px; object-fit: contain; padding: 8px; }
.dept-card__cta {
  margin: 16px;
  justify-content: center;
}

/* CTA bar */
.dept__cta-bar {
  margin-top: 28px;
  background: var(--cream);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.dept__cta-text strong { font-size: 14px; display: block; margin-bottom: 2px; }
.dept__cta-text span  { font-size: 12px; color: var(--muted); }

@media (max-width: 768px) {
  .edificio__top { grid-template-columns: 1fr; gap: 28px; }
  .dept__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .dept-card__head { padding: 12px 12px 0; gap: 10px; }
  .dept-card__symbol { width: 40px; height: 40px; font-size: 17px; }
  .dept-card__render img { height: 100px; }
  .dept-card__cta { margin: 12px; padding: 8px 12px; font-size: 12px; }
  .dept__cta-bar { flex-direction: column; align-items: flex-start; }
  .dept__cta-bar .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   CASAS CRECE
   ============================================================ */
.crece { background: var(--cream); padding: 80px 0; }
.crece__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.crece__copy p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin: 12px 0 0;
  max-width: 480px;
}
.crece__stats {
  display: flex;
  gap: 32px;
  margin: 24px 0 20px;
}
.crece__stats > div { display: flex; flex-direction: column; }
.crece__stat-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1.1;
}
.crece__stat-label {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 2px;
}
.crece__testimonial {
  background: var(--white);
  border: 1px solid var(--cream-border);
  border-left: 3px solid var(--terracota);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 14px 16px;
  margin-top: 4px;
}
.crece__testimonial p {
  font-size: 13px;
  font-style: italic;
  color: var(--muted);
  margin: 0 0 6px;
  max-width: none;
}
.crece__testimonial cite {
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  font-style: normal;
}

/* Previous project cards */
.crece__projects { display: flex; flex-direction: column; gap: 12px; }
.prev-card {
  background: var(--white);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  gap: 14px;
  align-items: center;
  box-shadow: var(--shadow-card);
}
.prev-card__img { flex-shrink: 0; }
.prev-card__img-placeholder {
  width: 64px;
  height: 56px;
  background: linear-gradient(135deg, #dce8f4, #b8d2e8);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  color: var(--light);
  text-align: center;
}
.prev-card__img img {
  width: 64px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.prev-card__body { flex: 1; }
.prev-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 3px;
}
.prev-card__header strong { font-size: 13px; font-weight: 700; }
.prev-card__tag {
  font-size: 9px;
  font-weight: 700;
  background: #ecfdf5;
  color: #059669;
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
}
.prev-card__meta { font-size: 11px; color: var(--muted); }
.prev-card__meta a,
.crece__testimonial a { color: var(--blue-dark); font-weight: 700; }

/* Badge slot when no photo — mirrors the 64x56 photo footprint */
.prev-card__badge {
  flex-shrink: 0;
  width: 64px;
  height: 56px;
  background: var(--terracota-light);
  color: var(--terracota);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  gap: 2px;
}
.prev-card__badge-num { font-size: 18px; font-weight: 800; letter-spacing: -.5px; }
.prev-card__badge-lbl { font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.prev-card__badge--summary {
  background: var(--navy);
  color: var(--white);
}
.prev-card__badge--summary .prev-card__badge-num { font-size: 15px; }

.prev-card__tag--live {
  background: #fef3c7;
  color: #b45309;
}
.prev-card__tag--history {
  background: #eef2ff;
  color: #4338ca;
}
.prev-card--summary {
  background: var(--cream);
  border-style: dashed;
}
.prev-card--current {
  border-color: var(--terracota);
  box-shadow: 0 1px 3px rgba(194,106,58,.15), 0 4px 16px rgba(194,106,58,.10);
}
.prev-card__badge--current {
  background: var(--terracota);
  color: var(--white);
}

@media (max-width: 768px) {
  .crece__grid { grid-template-columns: 1fr; gap: 36px; }
  .crece__stats { gap: 20px; }
}

/* ============================================================
   INVERSIÓN
   ============================================================ */
.inversion { background: var(--white); padding: 80px 0; }
.inv__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.inv__block {
  background: var(--cream);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.inv__block h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--terracota);
  margin-bottom: 16px;
}
.inv__table { width: 100%; border-collapse: collapse; }
.inv__table td {
  padding: 11px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--cream-border);
  vertical-align: middle;
}
.inv__table tr:last-child td { border-bottom: none; }
.inv__table td:first-child { color: var(--muted); }
.inv__table td:last-child { text-align: right; font-weight: 700; }
.inv__val { color: var(--blue-dark); }
.inv__val--high { color: var(--terracota); }
.inv__val--muted { color: var(--light); font-weight: 500 !important; }
.inv__disclaimer {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 12px 16px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .inv__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PROCESO
   ============================================================ */
.proceso { background: var(--cream); padding: 72px 0; }
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  counter-reset: steps;
}
.steps::before {
  content: '';
  position: absolute;
  top: 19px;
  left: calc(12.5% + 19px);
  right: calc(12.5% + 19px);
  height: 2px;
  background: var(--cream-border);
  z-index: 0;
}
.step {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}
.step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--blue-dark);
  color: #fff;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 800;
  margin: 0 auto 14px;
}
.step__title { font-size: 14px; margin-bottom: 6px; }
.step__desc { font-size: 12px; color: var(--muted); line-height: 1.55; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(15,141,216,.022) 0,
    rgba(15,141,216,.022) 1px,
    transparent 0,
    transparent 50%
  );
  background-size: 28px 28px;
}
.cta-final__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta-final__inner h2 {
  color: #fff;
  max-width: 560px;
  margin: 0 auto 12px;
}
.cta-final__inner p {
  color: rgba(255,255,255,.55);
  font-size: 16px;
  margin-bottom: 32px;
}
.cta-final__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #050e1a; padding: 52px 0 24px; }
.footer__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
.footer__detail {
  font-size: 12px;
  color: rgba(255,255,255,.35);
  line-height: 1.85;
}
.footer__detail a { color: rgba(255,255,255,.45); }
.footer__col-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 14px;
}
.footer__link {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,.45);
  margin-bottom: 10px;
  transition: color .15s;
}
.footer__link:hover { color: rgba(255,255,255,.75); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255,255,255,.2);
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .steps::before { display: none; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; }
  .cta-final__actions { flex-direction: column; align-items: center; }
  .cta-final__actions .btn { width: 100%; max-width: 360px; justify-content: center; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  width: 54px;
  height: 54px;
  background: var(--green-wa);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,.55);
}
.wa-float:active { transform: scale(.96); }

@media (max-width: 768px) {
  .wa-float { bottom: 20px; right: 16px; width: 50px; height: 50px; }
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-page {
  background: var(--cream);
  min-height: 100vh;
}
.legal-header {
  background: var(--navy);
  color: #fff;
  padding: 22px 0;
}
.legal-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.legal-header__logo img {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
}
.legal-header__nav {
  display: flex;
  gap: 18px;
  align-items: center;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 600;
}
.legal-header__nav a:hover { color: #fff; }
.legal-doc {
  background: var(--white);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  margin: 48px auto 72px;
  padding: 42px;
  max-width: 880px;
}
.legal-doc h1 {
  color: var(--navy);
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 10px;
}
.legal-doc h2 {
  color: var(--navy);
  font-size: 20px;
  margin: 30px 0 10px;
}
.legal-doc p,
.legal-doc li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.legal-doc ul {
  padding-left: 22px;
  margin: 10px 0 0;
}
.legal-doc a {
  color: var(--blue-dark);
  font-weight: 700;
}
.legal-updated {
  color: var(--light);
  font-size: 13px;
  margin-bottom: 28px;
}
.legal-note {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 16px;
  margin-top: 26px;
}

@media (max-width: 768px) {
  .legal-header__inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .legal-header__nav { flex-wrap: wrap; }
  .legal-doc {
    margin: 28px auto 48px;
    padding: 28px 22px;
  }
}

/* ============================================================
   MODEL DETAIL MODAL
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modal-fade-in .15s ease-out;
}
.modal[hidden] { display: none !important; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 33, 55, .72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.modal__panel {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  animation: modal-panel-in .2s ease-out;
}
.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--text);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background .15s;
}
.modal__close:hover { background: var(--cream-border); }
.modal__content { padding: 32px; }

@keyframes modal-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-panel-in {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

/* Modal internals */
.model-detail__header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--cream-border);
}
.model-detail__symbol {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  background: var(--terracota);
  color: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  line-height: 1;
  position: relative;
  padding: 6px;
}
.model-detail__symbol--gold {
  background: linear-gradient(135deg, #d4a343, #b8862a);
}
.model-detail__symbol-atomic {
  position: absolute;
  top: 6px;
  left: 8px;
  font-size: 11px;
  font-weight: 600;
  opacity: .8;
}
.model-detail__symbol-letters { font-size: 40px; letter-spacing: -1px; }
.model-detail__symbol-mass {
  position: absolute;
  bottom: 6px;
  font-size: 10px;
  font-weight: 600;
  opacity: .8;
}
.model-detail__title h2 { font-size: 24px; margin: 0 0 4px; }
.model-detail__title p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.model-detail__render {
  margin: 20px 0;
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 12px;
}
.model-detail__render img { width: 100%; height: auto; max-height: 280px; object-fit: contain; }
.model-detail__specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.model-detail__spec {
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.model-detail__spec-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 4px;
  display: block;
}
.model-detail__spec-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.model-detail__section-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 12px;
}
.model-detail__units {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
  margin-bottom: 24px;
}
.model-detail__unit {
  border: 1px solid var(--cream-border);
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.model-detail__unit--sold { opacity: .55; background: var(--cream); }
.model-detail__unit-id { font-weight: 700; font-size: 13px; }
.model-detail__unit-loc { font-size: 11px; color: var(--muted); }
.model-detail__unit-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  background: #ecfdf5;
  color: #059669;
  white-space: nowrap;
}
.model-detail__unit-badge--sold { background: #f1f5f9; color: var(--muted); }
.model-detail__unit-badge--reserved { background: #fef3c7; color: #b45309; }
.model-detail__cta {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}
.model-detail__cta .btn { width: 100%; max-width: 320px; justify-content: center; }

@media (max-width: 640px) {
  .modal { padding: 0; align-items: stretch; }
  .modal__panel { max-height: 100vh; border-radius: 0; }
  .modal__content { padding: 20px; }
  .model-detail__header { flex-direction: column; gap: 12px; }
  .model-detail__symbol { width: 64px; height: 64px; }
  .model-detail__symbol-letters { font-size: 28px; }
  .model-detail__title h2 { font-size: 20px; }
}

body.modal-open { overflow: hidden; }
