/* Residencial Evanya — landing (diseño handoff 2026-07-17) */

:root {
  --verde: #2d5a3d;
  --verde-oscuro: #0f2918;
  --verde-medio: #1e4530;
  --verde-claro: #3d7a52;
  --verde-hover: #1a3a26;
  --texto: #1a2e1f;
  --texto-suave: #5a7060;
  --crema: #faf9f6;
  --crema-oscuro: #f0ede6;
  --footer-bg: #0a1f10;
  --whatsapp: #25d366;
  --grad-oscuro: linear-gradient(160deg, #0f2918 0%, #1e4530 100%);
  --sombra-card: 0 4px 24px rgba(45, 90, 61, 0.08);
  --sombra-img: 0 16px 48px rgba(45, 90, 61, 0.15);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--texto);
  background: var(--crema);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--verde); text-decoration: none; }
a:hover { color: var(--verde-hover); }

h1, h2, h3 { font-family: var(--serif); }

h2 {
  font-size: clamp(26px, 4vw, 42px);
  color: var(--verde-oscuro);
  line-height: 1.2;
  margin-bottom: 24px;
}

.container { max-width: 1100px; margin: 0 auto; }
.center { text-align: center; }

.eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--verde);
  font-weight: 600;
  margin-bottom: 12px;
}

.eyebrow.light { color: rgba(255, 255, 255, 0.5); }
h2.light { color: #fff; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ---------- NAV ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(45, 90, 61, 0.12);
  padding: 0 5%;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo { height: 52px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13.5px;
  font-weight: 500;
}

.nav-links a { color: var(--verde); }
.nav-links a:hover { color: var(--verde-hover); }

.nav-cta {
  background: var(--verde);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 13px;
}

.nav-cta:hover { background: var(--verde-hover); }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, #0f2918 0%, #1e4530 40%, #2d5a3d 75%, #3d7a52 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 120px 5% 80px;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}

.hero-circle-tr { top: -80px; right: -80px; width: 400px; height: 400px; }
.hero-circle-bl { bottom: -120px; left: -60px; width: 500px; height: 500px; }

.hero-content {
  position: relative;
  z-index: 1;
  animation: fadeUp 1s ease both;
}

.hero-logo {
  height: 120px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 32px;
}

.hero-place {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 72px);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 700;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto 44px;
  line-height: 1.7;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-solid {
  background: #fff;
  color: var(--verde);
  padding: 16px 36px;
  border-radius: 32px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
}

.btn-solid:hover { background: var(--crema-oscuro); color: var(--verde); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 16px 36px;
  border-radius: 32px;
  font-weight: 500;
  font-size: 15px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.22); color: #fff; }

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ---------- STATS ---------- */
.stats { background: var(--verde); padding: 36px 5%; }

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-num {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 700;
  color: #fff;
}

.stat-label {
  font-size: 12px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  margin-top: 4px;
}

/* ---------- AMENIDADES ---------- */
.amenidades { padding: 100px 5%; background: var(--crema); }

.amenidades h2 { margin-bottom: 60px; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.card {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--sombra-card);
}

.card > picture img,
.card-media {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.card-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
}

.card-emoji { font-size: 48px; }

.card-tag { font-size: 13px; letter-spacing: 2px; opacity: 0.8; }

.grad-green { background: linear-gradient(135deg, #1e4530, #3d7a52); }
.grad-blue { background: linear-gradient(135deg, #0d3b5e, #1a6fa8); }
.grad-brown { background: linear-gradient(135deg, #3d2b1f, #7a5230); }
.grad-forest { background: linear-gradient(135deg, #1a3a26, #2d5a3d); }
.grad-night { background: linear-gradient(135deg, #1a1a2e, #2d2d4a); }

.card-body { padding: 22px; }

.card-body h3 {
  font-size: 18px;
  color: var(--verde-oscuro);
  margin-bottom: 6px;
}

.card-body p {
  font-size: 13.5px;
  color: var(--texto-suave);
  line-height: 1.6;
}

/* ---------- INFRAESTRUCTURA ---------- */
.infra { background: var(--grad-oscuro); padding: 90px 5%; }

.infra .container { max-width: 1000px; }

.infra h2 { margin-bottom: 60px; }

.infra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.infra-item {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 28px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}

.infra-icon { font-size: 32px; margin-bottom: 14px; }

/* ---------- LOTES ---------- */
.lotes { padding: 100px 5%; background: var(--crema); }

.lotes-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.lotes-desc {
  font-size: 15px;
  color: var(--texto-suave);
  line-height: 1.8;
  margin-bottom: 36px;
}

.features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(45, 90, 61, 0.07);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--verde);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.feature-title { font-weight: 600; color: var(--verde-oscuro); font-size: 15px; }
.feature-sub { font-size: 13px; color: var(--texto-suave); }

.btn-green {
  display: inline-block;
  background: var(--verde);
  color: #fff;
  padding: 14px 34px;
  border-radius: 28px;
  font-weight: 600;
  font-size: 15px;
}

.btn-green:hover { background: var(--verde-hover); color: #fff; }

.lotes-map {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--sombra-img);
}

.lotes-map img { display: block; width: 100%; }

/* ---------- MAPA FULL ---------- */
.mapa-full { padding: 80px 5%; background: var(--crema-oscuro); }

.mapa-full h2 { margin-bottom: 40px; font-size: clamp(24px, 3vw, 38px); }

.mapa-frame {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.mapa-frame img { display: block; width: 100%; }

/* ---------- UBICACIÓN ---------- */
.ubicacion { padding: 100px 5%; background: var(--crema); }

.ubicacion-head { margin-bottom: 50px; }

.ubicacion h2 { margin-bottom: 20px; font-size: clamp(24px, 3vw, 38px); }

.ubicacion-dir {
  font-size: 15px;
  color: var(--texto-suave);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

.map-embed {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  height: 420px;
}

.map-embed iframe { border: 0; display: block; width: 100%; height: 100%; }

/* ---------- CONTACTO ---------- */
.contacto { padding: 100px 5%; background: var(--grad-oscuro); }

.contacto-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contacto h2 { margin-bottom: 16px; }

.contacto-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 44px;
  line-height: 1.7;
}

#lead-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#lead-form input,
#lead-form select,
#lead-form textarea {
  width: 100%;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 15px;
  font-family: var(--sans);
  outline: none;
}

#lead-form input::placeholder,
#lead-form textarea::placeholder { color: rgba(255, 255, 255, 0.55); }

#lead-form select { color: rgba(255, 255, 255, 0.7); }
#lead-form select option { color: var(--texto); background: #fff; }

#lead-form input:focus,
#lead-form select:focus,
#lead-form textarea:focus { border-color: rgba(255, 255, 255, 0.45); }

#lead-form textarea { resize: vertical; }

#lead-form button {
  background: #fff;
  color: var(--verde);
  padding: 17px;
  border-radius: 32px;
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  letter-spacing: 0.3px;
}

#lead-form button:hover { background: var(--crema-oscuro); }
#lead-form button:disabled { opacity: 0.6; cursor: progress; }

/* Honeypot anti-bots: fuera de vista sin usar display:none (los bots lo omiten). */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lead-estado {
  font-size: 14px;
  margin: 0;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.lead-estado[data-estado="ok"] { background: rgba(46, 160, 106, 0.28); }
.lead-estado[data-estado="cargando"] { opacity: 0.75; }

.privacidad {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  text-align: left;
}

.form-note { font-size: 13px; color: rgba(255, 255, 255, 0.55); margin-top: 14px; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--footer-bg);
  padding: 40px 5%;
  text-align: center;
}

.footer-logo {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  margin: 0 auto 16px;
  display: block;
}

.site-footer p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.7;
}

/* ---------- WHATSAPP FLOTANTE ---------- */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 60px;
  height: 60px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  animation: pulse 2s ease infinite;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .nav-links a:not(.nav-cta) { display: none; }

  .hero-logo { height: 90px; }

  .stats-inner { grid-template-columns: repeat(2, 1fr); }

  .lotes-inner { grid-template-columns: 1fr; gap: 40px; }

  .amenidades, .lotes, .ubicacion, .contacto { padding: 70px 5%; }
  .infra { padding: 60px 5%; }
}
