/* ═══════════════════════════════════════════════════
   VARIABLES & RESET
═══════════════════════════════════════════════════ */
:root {
  --navy:    #1A365D;
  --navy-dark: #0F2240;
  --green:   #2C5E3B;
  --green-light: #3a7a4f;
  --light:   #F7FAFC;
  --light-2: #EDF2F7;
  --text:    #2D3748;
  --text-light: #718096;
  --white:   #ffffff;
  --radius:  12px;
  --shadow:  0 4px 24px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.15);
  --trans:   all .3s ease;
}

*, *::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);
  overflow-x: hidden;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; }

/* ═══════════════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════════════ */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
}
h1 { font-size: clamp(3.12rem, 6.5vw, 5.2rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { line-height: 1.7; }

/* ═══════════════════════════════════════════════════
   LAYOUT HELPERS
═══════════════════════════════════════════════════ */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 80px 0; }
.bg-light { background: var(--light); }

/* ═══════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  transition: var(--trans);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover { background: var(--navy-dark); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-white {
  background: var(--white);
  color: var(--navy-dark);
}
.btn-white:hover { background: var(--light-2); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.7);
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

.btn-full { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════════════
   SECTION HEADERS
═══════════════════════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: .75rem;
}
.eyebrow.light { color: rgba(255,255,255,.7); }
.section-desc {
  max-width: 600px;
  margin: 1rem auto 0;
  color: var(--text-light);
  font-size: 1.05rem;
}
.section-desc.light { color: rgba(255,255,255,.75); }

/* ═══════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: var(--trans);
}
#header.scrolled {
  background: var(--navy-dark);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.nav-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: .75rem 1.5rem;
  max-width: 1180px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-img {
  height: 72px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  justify-content: flex-end;
  gap: 1.8rem;
  grid-column: 2 / 4;
}
.nav-links a {
  color: rgba(255,255,255,.85);
  font-size: .92rem;
  font-weight: 500;
  transition: var(--trans);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 2px;
  background: var(--white);
  transition: width .3s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

/* hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  grid-column: 3;
  justify-self: end;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--trans);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  background: var(--navy-dark);
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.mobile-menu.open { max-height: 400px; }
.mobile-menu ul { padding: 1rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .2rem; }
.mobile-menu a {
  display: block;
  padding: .75rem 0;
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: var(--trans);
}
.mobile-menu a:hover { color: var(--white); }

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-carousel {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  /* capa base oscura para legibilidad del texto */
  background: linear-gradient(
    135deg,
    rgba(5, 12, 32, .92) 0%,
    rgba(10, 25, 55, .85) 45%,
    rgba(15, 40, 28, .78) 100%
  );
}
/* sombra difusa adicional detrás del bloque de texto */
.hero-content::before {
  content: '';
  position: absolute;
  inset: -3rem -2.5rem;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.55) 0%, transparent 75%);
  pointer-events: none;
  z-index: -1;
  border-radius: 24px;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 8rem 1.5rem 4rem;
  margin: 0 auto 0 max(1.5rem, calc((100vw - 1180px) / 2 + 1.5rem));
}
.hero-eyebrow {
  font-size: 1.01rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: 1.2rem;
}
.hero-title {
  color: var(--white);
  margin-bottom: 1.4rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero-subtitle {
  font-size: 1.43rem;
  color: rgba(255,255,255,.85);
  max-width: 560px;
  margin-bottom: 2.2rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.hero-badges {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}
.badge-pill {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  font-size: .8rem;
  font-weight: 600;
  padding: .4rem .9rem;
  border-radius: 100px;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.6);
  animation: bounce 2s infinite;
  z-index: 2;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ═══════════════════════════════════════════════════
   STATS
═══════════════════════════════════════════════════ */
.stats-section {
  background: var(--navy);
  padding: 3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stat-item {
  text-align: center;
  color: var(--white);
  padding: 1.5rem;
}
.stat-number-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .1rem;
  margin-bottom: .5rem;
}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-symbol {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}
.stat-item p {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════
   CATALOG
═══════════════════════════════════════════════════ */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}
.prop-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--trans);
  display: flex;
  flex-direction: column;
}
.prop-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.prop-image {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.prop-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.prop-card:hover .prop-image img { transform: scale(1.04); }

.prop-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border-radius: 100px;
  color: var(--white);
}
.badge-res   { background: var(--navy); }
.badge-com   { background: #702459; }
.badge-quinta{ background: var(--green); }

.prop-tag {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: .7rem;
  font-weight: 700;
  padding: .3rem .75rem;
  border-radius: 100px;
}
.tag-ok  { background: rgba(44,94,59,.92); color: var(--white); }

.prop-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  flex: 1;
}
.prop-location {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.prop-location svg { flex-shrink: 0; fill: var(--text-light); }
.prop-body h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin: 0;
}
.prop-specs {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.prop-specs span {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .82rem;
  color: var(--text-light);
}
.prop-price {
  border-top: 1px solid var(--light-2);
  border-bottom: 1px solid var(--light-2);
  padding: .6rem 0;
  display: flex;
  align-items: baseline;
  gap: .75rem;
}
.price-gs {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
}
.price-usd {
  font-size: .82rem;
  color: var(--text-light);
  font-weight: 500;
}
.prop-financing {
  display: flex;
  align-items: flex-start;
  gap: .4rem;
  font-size: .82rem;
  color: var(--green);
  font-weight: 600;
}
.prop-financing svg { flex-shrink: 0; margin-top: 2px; fill: var(--green); }
.prop-ready { color: var(--navy); }
.prop-ready svg { fill: var(--navy); }

.btn-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.2rem;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  font-size: .88rem;
  font-weight: 600;
  transition: var(--trans);
  margin-top: auto;
}
.btn-card:hover { background: var(--green); }

/* próximamente */
.catalog-soon {
  margin-bottom: 2.5rem;
}
.catalog-soon h3 {
  text-align: center;
  color: var(--navy);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}
.catalog-soon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.soon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  text-align: center;
  padding: 2.5rem 1.5rem;
  border: 2px dashed var(--light-2);
  border-radius: var(--radius);
  background: var(--white);
  transition: var(--trans);
}
.soon-card:hover {
  border-color: var(--navy);
  transform: translateY(-4px);
}
.soon-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--light-2);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.soon-card h4 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 1.05rem;
}
.soon-tag {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-light);
  background: var(--light-2);
  padding: .25rem .75rem;
  border-radius: 100px;
}

/* soon-card con galería de imágenes ya disponible */
.soon-card--gallery {
  padding: 0 0 1.5rem;
  border-style: solid;
  overflow: hidden;
}
.soon-cover {
  width: 100%;
  height: 160px;
  overflow: hidden;
}
.soon-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.soon-card--gallery:hover .soon-cover img {
  transform: scale(1.06);
}
.soon-card--gallery h4 {
  margin-top: 1.25rem;
}
.soon-gallery-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .6rem 1.1rem;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--trans);
}
.soon-gallery-btn:hover {
  background: var(--green);
}

/* ═══════════════════════════════════════════════════
   LIGHTBOX — galería de proyectos
═══════════════════════════════════════════════════ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 15, 25, .92);
  align-items: center;
  justify-content: center;
}
.lightbox.open {
  display: flex;
}
.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}
.lightbox-content img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
}
.lightbox-counter {
  color: var(--white);
  font-size: .85rem;
  letter-spacing: .04em;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans);
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, .25);
}
.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  z-index: 2;
}
.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.1rem;
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

/* ═══════════════════════════════════════════════════
   GALERÍA — MARQUEE INFINITO
═══════════════════════════════════════════════════ */
.marquee-wrap {
  overflow: hidden;
  height: 338px;
  position: relative;
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  animation: marquee-scroll 28s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-track img {
  height: 100%;
  width: auto;
  object-fit: contain;
  margin: 0 1.25rem;
  flex-shrink: 0;
  border-radius: 8px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.marquee-track img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-25%); }
}

/* ═══════════════════════════════════════════════════
   ABOUT / QUIÉN SOY
═══════════════════════════════════════════════════ */
.about-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}
.about-content h2 { color: var(--navy); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.gallery-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}
.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

/* ═══════════════════════════════════════════════════
   SERVICIOS
═══════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--trans);
  padding-bottom: 1.5rem;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-image {
  height: 180px;
  overflow: hidden;
}
.service-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.service-card:hover .service-image img { transform: scale(1.04); }
.service-card h3 {
  color: var(--navy);
  margin: 1.2rem 1.5rem .5rem;
}
.service-card p {
  color: var(--text-light);
  font-size: .92rem;
  margin: 0 1.5rem;
}

/* ═══════════════════════════════════════════════════
   BLOG: POR QUÉ INVERTIR EN PARAGUAY
═══════════════════════════════════════════════════ */
.invest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.invest-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.75rem;
  transition: var(--trans);
}
.invest-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.invest-icon {
  width: 56px; height: 56px;
  background: var(--light-2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--navy);
}
.invest-card h3 { color: var(--navy); margin-bottom: .5rem; font-size: 1.05rem; }
.invest-card p { color: var(--text-light); font-size: .92rem; }

/* ═══════════════════════════════════════════════════
   LEADS / FORMULARIOS DE CAPTACIÓN
═══════════════════════════════════════════════════ */
.leads-section {
  background: var(--navy-dark);
  padding: 80px 0;
}
.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.lead-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 16px 60px rgba(0,0,0,.3);
}
.lead-card h3 {
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: .6rem;
}
.lead-card > p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: .95rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin-bottom: 1.25rem;
}
.form-group label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
}
.form-group label span { color: var(--navy); }
.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  padding: .75rem 1rem;
  border: 2px solid var(--light-2);
  border-radius: 10px;
  outline: none;
  transition: border-color .2s;
  color: var(--text);
  background: var(--white);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--navy); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-note {
  font-size: .78rem;
  color: var(--text-light);
  text-align: center;
  margin-top: .75rem;
}

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.footer {
  position: relative;
  background: var(--navy-dark);
  padding: 60px 0 0;
  color: rgba(255,255,255,.7);
  overflow: hidden;
}
.footer-watermark {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 420px;
  width: auto;
  opacity: .06;
  pointer-events: none;
  user-select: none;
}
.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo-img {
  display: block;
  height: 67px;
  width: auto;
  margin-bottom: .9rem;
}
.footer-brand p { font-size: .88rem; line-height: 1.7; }
.footer h4 {
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: .55rem; }
.footer-links a {
  font-size: .88rem;
  transition: var(--trans);
}
.footer-links a:hover { color: var(--white); }
.footer-wa {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  transition: var(--trans);
  margin-bottom: .5rem;
}
.footer-wa svg { fill: #25D366; }
.footer-wa:hover { color: #25D366; }
.footer-social {
  display: flex;
  gap: .75rem;
  margin-top: 1.25rem;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: var(--white);
  transition: var(--trans);
}
.footer-social a:hover { background: var(--navy); }
.footer-bottom {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.35);
}
/* ═══════════════════════════════════════════════════
   LEGAL PAGES (Privacidad / Términos)
═══════════════════════════════════════════════════ */
.legal-page h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--navy);
  margin-bottom: .5rem;
}
.legal-page h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  color: var(--navy);
  margin-top: 2rem;
  margin-bottom: .5rem;
}
.legal-page p { color: var(--text); margin-bottom: 1rem; }
.legal-page a { color: var(--navy); }

.footer-legal-links {
  margin-top: .5rem;
}
.footer-legal-links a {
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: var(--trans);
}
.footer-legal-links a:hover { color: var(--white); }
.footer-legal-links span { margin: 0 .5rem; }
.footer-credit {
  margin-top: .5rem;
}
.footer-credit a {
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: var(--trans);
}
.footer-credit a:hover { color: var(--white); }

/* ═══════════════════════════════════════════════════
   WHATSAPP FLOAT
═══════════════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  z-index: 999;
  transition: var(--trans);
  color: var(--white);
}
.wa-float:hover {
  background: #1da851;
  transform: scale(1.1);
}
.wa-float:hover .wa-tooltip { opacity: 1; transform: translateX(0); }
.wa-tooltip {
  position: absolute;
  right: 68px;
  background: var(--navy-dark);
  color: var(--white);
  font-size: .8rem;
  font-weight: 600;
  padding: .4rem .9rem;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: var(--trans);
  pointer-events: none;
}
.wa-tooltip::after {
  content: '';
  position: absolute;
  right: -6px; top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--navy-dark);
  border-right: none;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — TABLET
═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .catalog-grid       { grid-template-columns: 1fr 1fr; }
  .catalog-soon-grid  { grid-template-columns: repeat(2, 1fr); }
  .stats-grid         { grid-template-columns: repeat(2, 1fr); }
  .footer-grid        { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .lead-grid          { gap: 1.5rem; }
  .services-grid      { grid-template-columns: repeat(2, 1fr); }
  .invest-grid        { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — MOBILE
═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-container { padding: 1rem 1.25rem; }

  .hero-content { padding: 7rem 1.25rem 4rem; margin: 0; }
  .hero-title   { font-size: 2.86rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .stats-grid    { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
  .stat-number   { font-size: 2.2rem; }

  .catalog-grid  { grid-template-columns: 1fr; }
  .catalog-soon-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .invest-grid   { grid-template-columns: 1fr; }

  .gallery-grid  { grid-template-columns: 1fr; }

  .lead-grid     { grid-template-columns: 1fr; }
  .lead-card     { padding: 1.75rem; }

  .footer-grid   { grid-template-columns: 1fr; gap: 2rem; }

  .marquee-wrap  { height: 247px; }

  .section { padding: 56px 0; }

  .lightbox-close { top: 1rem; right: 1rem; width: 38px; height: 38px; font-size: 1.4rem; }
  .lightbox-prev,
  .lightbox-next  { width: 40px; height: 40px; }
  .lightbox-prev  { left: .5rem; }
  .lightbox-next  { right: .5rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.47rem; }
  .badge-pill { font-size: .72rem; }
  .prop-image { height: 180px; }
  .gallery-grid img { height: 220px; }
  .lead-card { padding: 1.5rem; }
  .stat-number { font-size: 2rem; }
  .marquee-wrap { height: 195px; }
}
