/* ═══════════════════════════════════════════════
   ALTA VISTA DE LA HERRADURA — Stylesheet
   ═══════════════════════════════════════════════ */

:root {
  --navy:       #0d2137;
  --navy-l:     #162d4a;
  --ocean:      #1a6b8a;
  --ocean-l:    #2a8aad;
  --gold:       #c9a84c;
  --gold-l:     #e2c46e;
  --sand:       #f5f0e8;
  --sand-l:     #faf8f3;
  --white:      #ffffff;
  --text:       #111827;
  --text-b:     #374151;
  --muted:      #6b7280;
  --green-wa:   #25d366;
  --green-wa-d: #1da851;
  --red-res:    #dc2626;
  --shadow-sm:  0 1px 4px rgba(0,0,0,.10);
  --shadow-md:  0 4px 20px rgba(0,0,0,.12);
  --shadow-lg:  0 8px 40px rgba(0,0,0,.16);
  --r:          12px;
  --r-sm:       8px;
  --r-lg:       20px;
  --tr:         .3s ease;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.2; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--navy); margin-bottom: .6rem; }
h3 { font-size: 1.15rem; margin-bottom: .4rem; }

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--navy);
  padding: 14px 28px; border-radius: 50px;
  font-weight: 600; font-size: .95rem;
  transition: var(--tr); white-space: nowrap;
}
.btn-primary:hover { background: var(--gold-l); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-wa); color: #fff;
  padding: 14px 28px; border-radius: 50px;
  font-weight: 600; font-size: .95rem;
  transition: var(--tr); white-space: nowrap;
}
.btn-wa:hover { background: var(--green-wa-d); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ─── SECTION HEADER ─── */
.s-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.s-header p { color: var(--text-b); font-size: 1.05rem; margin-top: .5rem; }
.s-header.light h2, .s-header.light .s-tag { color: var(--white); }
.s-header.light p { color: rgba(255,255,255,.8); }
.s-tag {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold); background: rgba(201,168,76,.12);
  padding: 4px 14px; border-radius: 50px; margin-bottom: 12px;
  border: 1px solid rgba(201,168,76,.3);
}
.s-header.light .s-tag { color: var(--gold-l); background: rgba(201,168,76,.15); border-color: rgba(201,168,76,.4); }

/* ─── FADE-IN ANIMATION ─── */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0;
  background: transparent;
  transition: background var(--tr), padding var(--tr), box-shadow var(--tr);
}
#navbar.scrolled {
  background: rgba(13,33,55,.97);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
  backdrop-filter: blur(12px);
}
.nav-container {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; flex-direction: column; gap: 0; }
.logo-main {
  font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 700;
  color: var(--white); letter-spacing: .02em; line-height: 1;
}
.logo-sub {
  font-size: .68rem; font-weight: 500; letter-spacing: .15em;
  text-transform: uppercase; color: var(--gold); line-height: 1.4;
}
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  color: rgba(255,255,255,.85); font-size: .9rem; font-weight: 500;
  padding: 8px 14px; border-radius: 8px; transition: var(--tr);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.1); }
.nav-cta {
  background: var(--gold) !important; color: var(--navy) !important;
  font-weight: 600 !important; border-radius: 50px !important;
  padding: 9px 20px !important;
}
.nav-cta:hover { background: var(--gold-l) !important; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none;
  cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px; transition: var(--tr);
}

/* ═══════════════════════════════════════════
   HERO
════════════════════════════════════════════ */
.hero {
  position: relative; height: 100vh; min-height: 640px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center bottom;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1.08); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,33,55,.55) 0%,
    rgba(13,33,55,.35) 40%,
    rgba(13,33,55,.72) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center; color: var(--white);
  padding: 80px 24px 0; max-width: 780px;
  animation: heroIn .9s ease both;
}
@keyframes heroIn { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:none; } }

.hero-eyebrow {
  display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold-l); margin-bottom: 20px;
  background: rgba(255,255,255,.08); padding: 6px 18px; border-radius: 50px;
  border: 1px solid rgba(201,168,76,.35);
}
.hero-title {
  font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 700;
  line-height: 1.08; margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.hero-title em { font-style: italic; color: var(--gold-l); }
.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem); color: rgba(255,255,255,.88);
  margin-bottom: 28px; font-weight: 300;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(13,33,55,.65); backdrop-filter: blur(8px);
  border: 1px solid rgba(201,168,76,.5);
  padding: 10px 24px; border-radius: 50px; margin-bottom: 32px;
}
.badge-desde { font-size: .8rem; color: rgba(255,255,255,.7); }
.badge-price { font-size: 1.35rem; font-weight: 700; color: var(--gold-l); font-family: 'Playfair Display', serif; }
.badge-credit { font-size: .8rem; color: rgba(255,255,255,.6); }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }

.hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 0;
  background: rgba(13,33,55,.55); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r); padding: 16px 24px;
  flex-wrap: wrap; gap: 4px;
}
.hstat { text-align: center; padding: 4px 20px; }
.hstat strong { display: block; font-size: 1.3rem; font-weight: 700; color: var(--gold-l); font-family: 'Playfair Display', serif; }
.hstat span { font-size: .75rem; color: rgba(255,255,255,.65); letter-spacing: .06em; text-transform: uppercase; }
.hstat-div { width: 1px; height: 36px; background: rgba(255,255,255,.2); }

.hero-scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.5); font-size: 1.2rem;
  animation: bounce 2s infinite; z-index: 2;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ═══════════════════════════════════════════
   URGENCIA BAR
════════════════════════════════════════════ */
.urgencia-bar {
  background: linear-gradient(90deg, #7f1d1d, #dc2626, #b91c1c);
  color: #fff; text-align: center; padding: 12px 24px;
  font-size: .9rem; display: flex; align-items: center;
  justify-content: center; gap: 10px; flex-wrap: wrap;
}
.urgencia-bar i { font-size: 1rem; }
.urgencia-bar a { color: #fde68a; font-weight: 600; text-decoration: underline; }
.urgencia-bar a:hover { color: #fff; }

/* ═══════════════════════════════════════════
   BENEFICIOS
════════════════════════════════════════════ */
.s-benef { padding: 100px 0; background: var(--sand-l); }
.benef-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; margin-bottom: 48px;
}
.benef-card {
  background: var(--white); border-radius: var(--r-lg);
  padding: 36px 30px; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.06);
  transition: var(--tr);
}
.benef-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.benef-highlight { background: var(--navy); }
.benef-highlight h3, .benef-highlight p { color: var(--white); }
.benef-highlight .benef-icon { background: rgba(255,255,255,.1); color: var(--gold-l); }
.benef-icon {
  width: 58px; height: 58px; border-radius: 16px;
  background: rgba(26,107,138,.1); color: var(--ocean);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 18px;
  transition: var(--tr);
}
.benef-card:hover .benef-icon:not(.benef-highlight .benef-icon) { background: var(--ocean); color: #fff; }
.benef-card p { color: var(--muted); font-size: .92rem; }

/* Portón card */
.benef-porton {
  padding: 0; overflow: hidden; position: relative;
  min-height: 260px; display: flex; align-items: flex-end;
  border: none !important;
}
.benef-porton:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.porton-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.benef-porton:hover .porton-img { transform: scale(1.05); }
.porton-overlay {
  position: relative; z-index: 1;
  background: linear-gradient(transparent 0%, rgba(13,33,55,.88) 55%);
  padding: 24px 28px 28px; width: 100%;
}
.porton-overlay .benef-icon {
  background: rgba(255,255,255,.15); color: var(--gold-l);
  margin-bottom: 10px;
}
.porton-overlay h3 { color: #fff; }
.porton-overlay p { color: rgba(255,255,255,.75); }
.porton-label {
  display: inline-block; margin-top: 10px;
  font-size: .68rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold-l);
  background: rgba(201,168,76,.2); border: 1px solid rgba(201,168,76,.4);
  padding: 3px 10px; border-radius: 50px;
}

/* Financiamiento strip */
.fin-strip {
  background: var(--navy); border-radius: var(--r-lg);
  padding: 32px 40px;
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.fin-item {
  display: flex; align-items: center; gap: 16px;
  padding: 8px 32px; color: var(--white);
}
.fin-item i { font-size: 1.6rem; color: var(--gold); }
.fin-item strong { display: block; font-size: 1rem; }
.fin-item span { font-size: .82rem; color: rgba(255,255,255,.6); }
.fin-sep { width: 1px; height: 52px; background: rgba(255,255,255,.15); }

/* ═══════════════════════════════════════════
   GALERÍA
════════════════════════════════════════════ */
.s-galeria { padding: 100px 0; background: var(--navy); }
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 10px;
}
.gal-item {
  position: relative; overflow: hidden;
  border-radius: var(--r-sm); cursor: pointer;
  aspect-ratio: 4/3;
}
.gal-large {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: unset;
}
.gal-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gal-item:hover img { transform: scale(1.06); }
.gal-cap {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: #fff; padding: 20px 16px 12px;
  font-size: .85rem; font-weight: 500;
}
.gal-hover {
  position: absolute; inset: 0;
  background: rgba(13,33,55,.4);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.4rem;
  opacity: 0; transition: var(--tr);
}
.gal-item:hover .gal-hover { opacity: 1; }

/* Portón — 2 columnas, misma altura que vecinos */
.gal-porton { grid-column: span 2; aspect-ratio: 8/3; }

/* Bahía — ancho completo, fila final */
.gal-full { grid-column: span 4; aspect-ratio: 21/7; }

/* ─── LIGHTBOX ─── */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lb-wrap { max-width: 90vw; max-height: 90vh; text-align: center; }
.lb-wrap img { max-width: 90vw; max-height: 80vh; object-fit: contain; border-radius: var(--r-sm); }
#lbCaption { color: rgba(255,255,255,.7); margin-top: 12px; font-size: .9rem; }
.lb-close {
  position: absolute; top: 20px; right: 24px;
  background: rgba(255,255,255,.1); border: none; color: #fff;
  width: 44px; height: 44px; border-radius: 50%; font-size: 1.1rem;
  cursor: pointer; transition: var(--tr); display: flex; align-items: center; justify-content: center;
}
.lb-close:hover { background: rgba(255,255,255,.25); }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.1); border: none; color: #fff;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1rem;
  cursor: pointer; transition: var(--tr); display: flex; align-items: center; justify-content: center;
}
.lb-nav:hover { background: rgba(255,255,255,.25); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }

/* ═══════════════════════════════════════════
   LOTES
════════════════════════════════════════════ */
.s-lotes { padding: 100px 0; background: var(--sand-l); }

/* Plano del condominio */
.plano-wrap {
  position: relative; margin-bottom: 48px;
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,0,0,.08);
  cursor: zoom-in;
}
.plano-img {
  width: 100%; display: block;
  transition: transform .4s ease;
}
.plano-wrap:hover .plano-img { transform: scale(1.02); }
.plano-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(13,33,55,.8));
  color: rgba(255,255,255,.85); font-size: .8rem; font-weight: 500;
  padding: 28px 16px 12px; text-align: center;
  opacity: 0; transition: opacity .3s ease;
}
.plano-wrap:hover .plano-label { opacity: 1; }

.lotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px; margin-bottom: 24px;
}
.lote-card {
  border-radius: var(--r-lg); padding: 28px 22px;
  text-align: center; position: relative;
  transition: var(--tr); overflow: hidden;
}
.lote-card.disponible {
  background: var(--white); border: 1.5px solid rgba(0,0,0,.08);
  box-shadow: var(--shadow-sm);
}
.lote-card.disponible:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.lote-card.reservado {
  background: #f9f9f9; border: 1.5px solid #e5e7eb;
  opacity: .7;
}
.lote-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700; color: var(--navy);
  margin-bottom: 4px;
}
.lote-m2 { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.btn-lote {
  display: block; background: var(--navy); color: #fff;
  padding: 10px 0; border-radius: 50px; font-size: .85rem; font-weight: 600;
  transition: var(--tr); width: 100%;
}
.btn-lote:hover { background: var(--ocean); }
.lote-badge-res {
  position: absolute; top: 0; right: 0;
  background: var(--red-res); color: #fff;
  font-size: .65rem; font-weight: 700; letter-spacing: .12em;
  padding: 4px 12px; border-radius: 0 var(--r-lg) 0 var(--r-sm);
}
.lote-tag-disp {
  font-size: .8rem; font-weight: 600; color: #059669;
  background: #ecfdf5; border: 1px solid #a7f3d0;
  border-radius: 50px; padding: 4px 12px; margin-bottom: 18px;
  display: inline-block;
}
.lote-tag-disp i { margin-right: 4px; }
.lote-tag-res {
  font-size: .8rem; color: var(--muted);
  margin-bottom: 18px; display: inline-block;
}
.lotes-nota { text-align: center; font-size: .82rem; color: var(--muted); }

/* ═══════════════════════════════════════════
   UBICACIÓN
════════════════════════════════════════════ */
.s-ubicacion { padding: 100px 0; background: var(--navy); }
.ubic-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: start;
}
.ubic-map { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.ubic-info { display: flex; flex-direction: column; gap: 24px; }
.ubic-item { display: flex; gap: 16px; align-items: flex-start; }
.ubic-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: rgba(255,255,255,.08); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1rem;
}
.ubic-item strong { display: block; color: var(--white); font-size: .95rem; margin-bottom: 2px; }
.ubic-item span { font-size: .85rem; color: rgba(255,255,255,.6); }
.btn-directions {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--navy);
  padding: 12px 24px; border-radius: 50px; font-weight: 600; font-size: .9rem;
  transition: var(--tr); align-self: flex-start;
}
.btn-directions:hover { background: var(--gold-l); transform: translateY(-2px); }

/* ═══════════════════════════════════════════
   COTIZACIÓN
════════════════════════════════════════════ */
.s-cotizar { padding: 100px 0; background: var(--sand-l); }
.cotizar-wrap {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 60px; align-items: start;
}
.cotizar-info h2 { margin-bottom: 14px; }
.cotizar-info p { color: var(--text-b); margin-bottom: 32px; font-size: 1.02rem; }
.contact-list { display: flex; flex-direction: column; gap: 16px; }
.clist-item {
  display: flex; align-items: center; gap: 14px;
  background: var(--white); border-radius: var(--r);
  padding: 16px 20px; border: 1px solid rgba(0,0,0,.07);
  box-shadow: var(--shadow-sm); transition: var(--tr);
}
.clist-item:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.clist-icon {
  width: 44px; height: 44px; min-width: 44px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; color: #fff;
}
.clist-icon.phone { background: var(--ocean); }
.clist-icon.wa { background: var(--green-wa); }
.clist-item strong { display: block; font-size: .9rem; color: var(--navy); }
.clist-item span { font-size: .82rem; color: var(--muted); }
.qr-wrap { cursor: default; }
.qr-wrap:hover { transform: none !important; }
.qr-static { width: 90px; height: 90px; border-radius: 8px; display: block; }
.qr-static-footer { width: 100px; height: 100px; border-radius: 6px; display: block; }

/* Form */
.cotizar-form-box {
  background: var(--white); border-radius: var(--r-lg);
  padding: 40px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,0,0,.06);
}
.fg { margin-bottom: 18px; }
.fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg label { display: block; font-size: .83rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.fg input, .fg select, .fg textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid #e5e7eb; border-radius: var(--r-sm);
  font-family: 'Inter', sans-serif; font-size: .92rem; color: var(--text);
  background: #fafafa; transition: var(--tr);
  outline: none;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--ocean); background: #fff;
  box-shadow: 0 0 0 3px rgba(26,107,138,.1);
}
.fg textarea { resize: vertical; min-height: 90px; }
.fg-check { display: flex !important; flex-direction: row; align-items: center; gap: 10px; }
.fg-check input { width: auto !important; accent-color: var(--ocean); }
.fg-check label { margin: 0; font-weight: 400; font-size: .9rem; }
.btn-submit {
  width: 100%; padding: 15px; background: var(--navy); color: #fff;
  border: none; border-radius: 50px; font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: var(--tr);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 8px;
}
.btn-submit:hover { background: var(--ocean); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.form-privacy { text-align: center; font-size: .78rem; color: var(--muted); margin-top: 10px; }
.form-privacy i { color: var(--ocean); }
.form-success {
  text-align: center; padding: 40px 20px;
}
.form-success i { font-size: 3rem; color: var(--green-wa); margin-bottom: 16px; }
.form-success h3 { font-size: 1.5rem; color: var(--navy); margin-bottom: 8px; }
.form-success p { color: var(--text-b); margin-bottom: 24px; }

/* ═══════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
.footer { background: #07151f; color: rgba(255,255,255,.75); padding: 72px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1.4fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
.footer-brand .footer-logo { margin-bottom: 14px; }
.footer-brand p { font-size: .88rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; transition: var(--tr);
}
.footer-social a:hover { background: var(--gold); color: var(--navy); }
.footer-nav h4, .footer-contact h4, .footer-qr-col h4 {
  color: var(--white); font-size: .9rem; font-weight: 600;
  margin-bottom: 16px; font-family: 'Inter', sans-serif;
  text-transform: uppercase; letter-spacing: .08em;
}
.footer-nav ul li { margin-bottom: 8px; }
.footer-nav ul li a { font-size: .88rem; transition: var(--tr); }
.footer-nav ul li a:hover { color: var(--gold-l); padding-left: 4px; }
.footer-contact p { font-size: .88rem; margin-bottom: 10px; display: flex; gap: 10px; align-items: flex-start; }
.footer-contact i { color: var(--gold); margin-top: 2px; min-width: 14px; }
.footer-contact a:hover { color: var(--gold-l); }
.footer-vende { margin-top: 16px !important; font-size: .82rem !important; color: rgba(255,255,255,.5) !important; }
.footer-vende strong { color: rgba(255,255,255,.8); }
.footer-qr-col { text-align: center; }
.qr-box { display: inline-block; background: #fff; padding: 10px; border-radius: 10px; margin-bottom: 8px; }
.footer-qr-col p { font-size: .8rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0; text-align: center;
  font-size: .8rem; color: rgba(255,255,255,.35);
}

/* ═══════════════════════════════════════════
   LLAVE EN MANO
════════════════════════════════════════════ */
.s-llave {
  padding: 80px 0;
  background: var(--sand-l);
}
.llave-inner {
  max-width: 900px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
.llave-img-wrap {
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.llave-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform .5s ease;
}
.llave-img-wrap:hover img { transform: scale(1.04); }
.llave-content h2 { margin-bottom: 14px; }
.llave-content p { color: var(--text-b); margin-bottom: 28px; font-size: 1rem; line-height: 1.7; }

@media (max-width: 768px) {
  .llave-inner { grid-template-columns: 1fr; gap: 32px; }
  .llave-content { text-align: center; }
}

/* ═══════════════════════════════════════════
   MODAL ÉXITO
════════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(0,0,0,.6); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.modal-box {
  background: #fff; border-radius: var(--r-lg);
  padding: 48px 40px; text-align: center;
  max-width: 420px; width: 100%;
  box-shadow: var(--shadow-xl);
  animation: modalIn .3s ease;
}
@keyframes modalIn { from{opacity:0;transform:scale(.9)} to{opacity:1;transform:scale(1)} }
.modal-box i.fa-check-circle { font-size: 3.5rem; color: var(--green-wa); margin-bottom: 16px; display: block; }
.modal-box h3 { font-size: 1.6rem; color: var(--navy); margin-bottom: 10px; }
.modal-box p { color: var(--text-b); margin-bottom: 24px; line-height: 1.6; }
.modal-close {
  display: block; width: 100%; padding: 11px;
  background: none; border: 1.5px solid #e5e7eb;
  border-radius: 50px; color: var(--muted);
  font-size: .9rem; cursor: pointer; transition: var(--tr);
}
.modal-close:hover { border-color: var(--navy); color: var(--navy); }

/* ═══════════════════════════════════════════
   FLOATING WHATSAPP
════════════════════════════════════════════ */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--green-wa); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.65rem; box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: var(--tr); animation: waIn .5s ease .8s both;
}
@keyframes waIn { from{opacity:0;transform:scale(.5)translateY(20px)} to{opacity:1;transform:scale(1)translateY(0)} }
.wa-float:hover { background: var(--green-wa-d); transform: scale(1.1); }
.wa-float::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: var(--green-wa); animation: waPulse 2s ease infinite;
}
@keyframes waPulse { 0%{transform:scale(1);opacity:.6} 100%{transform:scale(1.6);opacity:0} }
.wa-float i { position: relative; z-index: 1; }
.wa-tip {
  position: absolute; right: 70px; background: var(--navy);
  color: #fff; font-size: .8rem; font-weight: 600; white-space: nowrap;
  padding: 6px 12px; border-radius: 8px;
  opacity: 0; transform: translateX(8px); transition: var(--tr);
  pointer-events: none;
}
.wa-float:hover .wa-tip { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ubic-wrap { grid-template-columns: 1fr; }
  .cotizar-wrap { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  /* Navbar */
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 75vw; max-width: 300px;
    height: 100vh; background: var(--navy);
    flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 80px 24px 40px; transition: right var(--tr);
    box-shadow: -4px 0 40px rgba(0,0,0,.3); z-index: 999;
  }
  .nav-links.open { right: 0; }
  .nav-links a { width: 100%; padding: 12px 16px; font-size: 1rem; border-radius: var(--r-sm); }
  .nav-cta { width: 100%; text-align: center; }
  .nav-toggle { display: flex; z-index: 1000; }

  /* Hero */
  .hero-desc br { display: none; }
  .hstat-div { display: none; }
  .hero-stats { gap: 16px; }
  .badge-credit { display: none; }
  .hero-btns { flex-direction: column; align-items: center; }

  /* Gallery */
  .galeria-grid { grid-template-columns: 1fr 1fr; }
  .gal-large { grid-column: span 2; grid-row: span 1; aspect-ratio: 16/9; }

  /* Lotes */
  .lotes-grid { grid-template-columns: 1fr 1fr; }

  /* Form */
  .fg-row { grid-template-columns: 1fr; }
  .cotizar-form-box { padding: 28px 20px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-qr-col { display: none; }

  /* Fin strip */
  .fin-strip { flex-direction: column; padding: 28px 20px; gap: 16px; }
  .fin-sep { width: 80%; height: 1px; }

  /* Urgencia */
  .urgencia-bar { flex-direction: column; gap: 4px; }
}

@media (max-width: 480px) {
  .galeria-grid { grid-template-columns: 1fr; }
  .gal-large { grid-column: span 1; }
  .lotes-grid { grid-template-columns: 1fr; }
  .hero-badge { flex-direction: column; gap: 4px; }
}
