/* ============================================================
   HOME & SPACES JDP — ESTILOS PRINCIPALES
   ============================================================ */

/* === VARIABLES DE DISEÑO === */
:root {
  --sage:       #6B7F5E;
  --sage-dark:  #4A5C40;
  --cream:      #F5F0E8;
  --warm-gray:  #8C8680;
  --text:       #2B2B2B;
  --text-soft:  #555555;
  --white:      #FFFFFF;

  --font-title: 'Playfair Display', Georgia, serif;
  --font-body:  'Montserrat', Arial, sans-serif;

  --shadow-xs: 0 1px 4px rgba(0,0,0,0.07);
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.09);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.13);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.18);

  --radius:    8px;
  --radius-lg: 16px;
  --ease:      all 0.3s ease;
  --max-w:     1180px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html   { scroll-behavior: smooth; font-size: 16px; }
body   { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img    { max-width: 100%; height: auto; display: block; }
a      { text-decoration: none; color: inherit; }
ul     { list-style: none; }
h1,h2,h3,h4 { font-family: var(--font-title); line-height: 1.2; }

/* === CONTENEDOR === */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border: 2px solid transparent;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}
.btn-primary:hover {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--sage);
  border-color: var(--sage);
}
.btn-outline:hover {
  background: var(--sage);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  padding: 15px 32px;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
  font-size: 0.9rem;
  padding: 15px 32px;
}
.btn-whatsapp:hover {
  background: #1db954;
  border-color: #1db954;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
}

.btn-sm   { padding: 9px 20px; font-size: 0.75rem; }
.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   SECCIONES — ESTILOS COMUNES
   ============================================================ */
.section { padding: 96px 0; }

.section-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 56px;
}
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 10px;
  display: block;
}
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--text);
  margin-bottom: 14px;
}
.section-desc {
  font-size: 0.97rem;
  color: var(--text-soft);
  line-height: 1.75;
}
.section-footer { text-align: center; margin-top: 48px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: var(--ease);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(74, 92, 64, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 16px rgba(40, 55, 30, 0.3);
  padding: 14px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo { display: flex; align-items: center; }
.logo-img {
  height: 130px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1); /* siempre blanco */
}

/* Menú */
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: rgba(255,255,255,0.88);
  padding: 8px 14px;
  border-radius: 4px;
  transition: var(--ease);
}
.navbar.scrolled .nav-link { color: rgba(255,255,255,0.88); }
.nav-link:hover { background: rgba(255,255,255,0.15); color: var(--white); }
.navbar.scrolled .nav-link:hover { background: rgba(255,255,255,0.15); color: var(--white); }

.nav-link.nav-cta {
  background: var(--sage);
  color: var(--white) !important;
  padding: 9px 20px;
}
.nav-link.nav-cta:hover { background: var(--sage-dark); }

/* Language toggle */
.nav-lang-item {
  display: flex;
  align-items: center;
  margin-left: 8px;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 4px;
  color: rgba(255,255,255,0.88);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 6px 11px;
  cursor: pointer;
  transition: var(--ease);
  white-space: nowrap;
}
.lang-toggle:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}
.lang-toggle i { font-size: 0.78rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--ease);
}
.navbar.scrolled .nav-toggle span { background: var(--text); }

/* Hamburger animado */
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    140deg,
    rgba(74,92,64,0.88) 0%,
    rgba(40,60,30,0.82) 55%,
    rgba(25,40,20,0.94) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 740px;
  padding: 20px 24px;
}
.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 18px;
  display: block;
}
.hero-title {
  font-size: clamp(2.6rem, 6.5vw, 4.8rem);
  color: var(--white);
  margin-bottom: 22px;
  line-height: 1.12;
}
.hero-title em { color: #b5d4a8; font-style: italic; }
.hero-subtitle {
  font-size: clamp(0.97rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin: 0 auto 38px;
  line-height: 1.85;
  font-weight: 300;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.55);
  font-size: 0.68rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  animation: bob 2.2s ease-in-out infinite;
  cursor: pointer;
}
@keyframes bob {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(9px); }
}

/* ============================================================
   PROPIEDADES
   ============================================================ */
.properties { background: var(--cream); }

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 26px;
}

.property-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}
.property-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
}
.property-card.active {
  box-shadow: 0 0 0 3px var(--sage), var(--shadow-lg);
  transform: translateY(-4px);
}

.property-image {
  position: relative;
  height: 218px;
  overflow: hidden;
}
.property-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.property-card:hover .property-image img { transform: scale(1.06); }

.property-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--sage);
  color: var(--white);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 20px;
}
.property-tag.tag-rent    { background: #7A5C30; }
.property-tag.tag-project { background: #3A6B8A; }

.property-price {
  position: absolute;
  bottom: 14px; right: 14px;
  background: rgba(0,0,0,0.72);
  color: var(--white);
  font-size: 0.97rem;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 5px;
  backdrop-filter: blur(4px);
}

.property-info { padding: 22px; }
.property-info h3 { font-size: 1.1rem; margin-bottom: 7px; }
.property-location {
  font-size: 0.82rem;
  color: var(--sage);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}
.property-desc { font-size: 0.86rem; color: var(--text-soft); line-height: 1.65; margin-bottom: 14px; }
.property-features {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.property-features span {
  font-size: 0.8rem;
  color: var(--warm-gray);
  display: flex;
  align-items: center;
  gap: 4px;
}
.property-features i { color: var(--sage); }

.property-hint {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sage);
  margin-top: 6px;
  letter-spacing: 0.2px;
}
.property-hint i { font-size: 0.7rem; transition: transform 0.3s ease; }
.property-card.active .property-hint i { transform: rotate(180deg); }

/* ── Panel de detalle ── */
.property-detail-panel {
  grid-column: 1 / -1;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.property-detail-panel.open {
  max-height: 700px;
}

.panel-inner {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 55% 45%;
  overflow: hidden;
  position: relative;
}

.panel-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.1);
  color: var(--text);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: background 0.2s;
}
.panel-close:hover { background: rgba(0,0,0,0.22); }

.panel-gallery {
  background: var(--cream);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.panel-main-img-wrap {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  min-height: 0;
}
.panel-main-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}
.panel-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  flex-shrink: 0;
}
.panel-thumb {
  height: 80px;
  width: 100%;
  object-fit: cover;
  border-radius: 7px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s, opacity 0.2s;
}
.panel-thumb:hover { opacity: 0.82; }
.panel-thumb.active-thumb { border-color: var(--sage); }

.panel-details {
  padding: 32px 44px 32px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  overflow-y: auto;
}
.panel-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.panel-tag { position: static; font-size: 0.66rem; }
.panel-price {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--sage-dark);
  font-family: var(--font-title);
}
.panel-title {
  font-size: 1.4rem;
  color: var(--text);
  margin: 0;
  line-height: 1.3;
}
.panel-location {
  font-size: 0.85rem;
  color: var(--sage);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
}
.panel-feats {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-top: 1px solid rgba(107,127,94,0.15);
  border-bottom: 1px solid rgba(107,127,94,0.15);
}
.panel-feats span {
  font-size: 0.85rem;
  color: var(--warm-gray);
  display: flex;
  align-items: center;
  gap: 5px;
}
.panel-feats i { color: var(--sage); }
.panel-desc {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px) {
  .panel-inner { grid-template-columns: 1fr; }
  .panel-gallery { max-height: 300px; }
  .panel-details { padding: 22px; }
  .property-detail-panel.open { max-height: 1000px; }
}

/* ============================================================
   BENEFICIOS
   ============================================================ */
.benefits { background: var(--white); }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.benefit-card {
  text-align: center;
  padding: 38px 26px;
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(107,127,94,0.14);
  transition: var(--ease);
}
.benefit-card:hover {
  border-color: var(--sage);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}
.benefit-icon {
  width: 68px; height: 68px;
  background: linear-gradient(135deg, var(--sage), var(--sage-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  box-shadow: 0 8px 20px rgba(107,127,94,0.3);
}
.benefit-icon i { font-size: 1.45rem; color: var(--white); }
.benefit-card h3 { font-size: 1.1rem; margin-bottom: 12px; }
.benefit-card p  { font-size: 0.9rem; color: var(--text-soft); line-height: 1.75; }

/* ============================================================
   ZONAS
   ============================================================ */
.zones { background: var(--cream); }

.zones-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.zone-card { border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; }
.zone-image {
  position: relative;
  height: 290px;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.zone-card:hover .zone-image { transform: scale(1.03); }
.zone-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(40,60,30,0.9) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  transition: background 0.4s ease;
}
.zone-card:hover .zone-overlay {
  background: linear-gradient(to top, rgba(40,60,30,0.95) 0%, rgba(40,60,30,0.35) 100%);
}
.zone-overlay h3 { font-size: 1.55rem; color: var(--white); margin-bottom: 6px; }
.zone-overlay p  {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, opacity 0.45s ease;
  opacity: 0;
}
.zone-card:hover .zone-overlay p { max-height: 120px; opacity: 1; }

/* ============================================================
   NOSOTROS
   ============================================================ */
.about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
  align-items: center;
}
.about-image-wrap { position: relative; }
.about-image-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
}
.about-badge {
  position: absolute;
  bottom: -22px; right: -22px;
  background: var(--sage);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.badge-num {
  display: block;
  font-family: var(--font-title);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
}
.badge-label { font-size: 0.72rem; opacity: 0.88; white-space: nowrap; }

.about-content .section-eyebrow,
.about-content .section-title { text-align: left; }
.about-content .section-title { margin-bottom: 22px; }
.about-content p { color: var(--text-soft); margin-bottom: 15px; line-height: 1.82; }

.about-values {
  display: flex;
  gap: 22px;
  margin: 28px 0 32px;
  flex-wrap: wrap;
}
.value-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--sage-dark);
}
.value-item i { color: var(--sage); font-size: 0.95rem; }

/* ============================================================
   TESTIMONIOS
   ============================================================ */
.testimonials { background: var(--sage-dark); }
.testimonials .section-eyebrow { color: rgba(255,255,255,0.55); }
.testimonials .section-title   { color: var(--white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(278px, 1fr));
  gap: 26px;
}
.testimonial-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: var(--ease);
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-5px);
}
.testimonial-stars { color: #F5C842; font-size: 0.85rem; letter-spacing: 3px; margin-bottom: 18px; }
.testimonial-text {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: 22px;
  font-style: italic;
  position: relative;
  padding-left: 24px;
}
.testimonial-text::before {
  content: '\201C';
  font-family: var(--font-title);
  font-size: 3.5rem;
  color: var(--sage);
  position: absolute;
  left: -4px;
  top: -12px;
  line-height: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--sage);
}
.testimonial-author strong { display: block; color: var(--white); font-size: 0.88rem; }
.testimonial-author span   { font-size: 0.78rem; color: rgba(255,255,255,0.5); }

/* ============================================================
   CONTACTO
   ============================================================ */
.contact { background: var(--cream); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 72px;
  align-items: start;
}
.contact-info .section-eyebrow,
.contact-info .section-title { text-align: left; }
.contact-info .section-title { margin-bottom: 12px; }
.contact-info > p { color: var(--text-soft); margin-bottom: 36px; line-height: 1.8; }

.contact-methods { display: flex; flex-direction: column; gap: 14px; }
.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  box-shadow: var(--shadow-xs);
  transition: var(--ease);
}
.contact-method:hover { transform: translateX(5px); box-shadow: var(--shadow-sm); }
.contact-method.whatsapp:hover { border-color: #25D366; }
.contact-method.email:hover    { border-color: var(--sage); }
.contact-method.instagram:hover { border-color: #E1306C; }

.contact-method i           { font-size: 1.35rem; width: 28px; text-align: center; }
.contact-method.whatsapp i  { color: #25D366; }
.contact-method.email i     { color: var(--sage); }
.contact-method.instagram i { color: #E1306C; }

.contact-method strong { display: block; font-size: 0.88rem; color: var(--text); }
.contact-method span   { font-size: 0.78rem; color: var(--warm-gray); }

/* Formulario */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 15px;
  border: 1.5px solid rgba(140,134,128,0.3);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: var(--ease);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(107,127,94,0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #bbb; }
.form-group textarea { resize: vertical; min-height: 116px; }
.form-note {
  font-size: 0.76rem;
  color: var(--warm-gray);
  text-align: center;
  margin-top: 14px;
  line-height: 1.6;
}

/* ============================================================
   BOTÓN FLOTANTE WHATSAPP
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 58px; height: 58px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 18px rgba(37,211,102,0.5);
  z-index: 998;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse-wa 2.5s infinite;
}
.whatsapp-float:hover {
  background: #1db954;
  transform: scale(1.12);
  box-shadow: 0 6px 26px rgba(37,211,102,0.65);
  animation: none;
}
@keyframes pulse-wa {
  0%,100% { box-shadow: 0 4px 18px rgba(37,211,102,0.5); }
  50%      { box-shadow: 0 4px 30px rgba(37,211,102,0.85); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #1E2A1A;
  color: rgba(255,255,255,0.7);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 44px;
  padding-bottom: 56px;
}

.footer-logo { margin-bottom: 16px; }
.footer-logo-img {
  height: 130px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1); /* blanco sobre fondo oscuro del footer */
  opacity: 0.92;
}

.footer-brand p { font-size: 0.86rem; line-height: 1.72; margin-bottom: 22px; max-width: 250px; }

.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.09);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  transition: var(--ease);
}
.social-links a:hover { background: var(--sage); color: var(--white); transform: translateY(-2px); }

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-links ul li     { margin-bottom: 9px; }
.footer-links ul a      { font-size: 0.86rem; color: rgba(255,255,255,0.58); transition: var(--ease); }
.footer-links ul a:hover { color: var(--white); padding-left: 4px; }

.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.58);
  margin-bottom: 10px;
  line-height: 1.5;
}
.footer-contact ul li i { color: var(--sage); width: 15px; text-align: center; margin-top: 2px; flex-shrink: 0; }
.footer-contact ul a    { color: rgba(255,255,255,0.58); transition: var(--ease); }
.footer-contact ul a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.38);
}
.footer-bottom i { color: #c0392b; }

/* ============================================================
   ANIMACIÓN REVEAL AL HACER SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   INVERSIÓN / CONFOTUR
   ============================================================ */
.invest { background: var(--sage-dark); }
.invest .section-eyebrow { color: rgba(245,240,232,0.65); }
.invest .section-title   { color: var(--white); }
.invest .section-desc    { color: rgba(245,240,232,0.80); }

.invest-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 48px 0;
}

.invest-stat {
  text-align: center;
  padding: 30px 18px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
}

.stat-number {
  display: block;
  font-family: var(--font-title);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(245,240,232,0.75);
  line-height: 1.55;
}

.confotur-box {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
}

.confotur-icon {
  flex-shrink: 0;
  width: 58px; height: 58px;
  background: rgba(255,255,255,0.13);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
}

.confotur-content h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.confotur-content p {
  color: rgba(245,240,232,0.82);
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 22px;
}

.confotur-content strong { color: var(--white); }

/* ============================================================
   PROCESO DE COMPRA
   ============================================================ */
.process { background: var(--white); }

.process-steps {
  display: flex;
  align-items: flex-start;
  margin-top: 52px;
}

.process-step {
  flex: 1;
  text-align: center;
  padding: 0 16px;
}

.step-number {
  font-family: var(--font-title);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(107,127,94,0.1);
  line-height: 1;
  margin-bottom: -8px;
}

.step-icon {
  width: 62px; height: 62px;
  background: var(--sage);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  color: var(--white);
  font-size: 1.25rem;
  position: relative;
  z-index: 1;
}

.process-step h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--text);
}

.process-step p {
  font-size: 0.86rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.process-connector {
  flex-shrink: 0;
  width: 50px;
  height: 2px;
  background: var(--sage);
  opacity: 0.25;
  margin-top: 92px;
  position: relative;
}

.process-connector::after {
  content: '';
  position: absolute;
  right: -5px; top: -4px;
  width: 8px; height: 8px;
  border-top: 2px solid var(--sage);
  border-right: 2px solid var(--sage);
  transform: rotate(45deg);
  opacity: 0.6;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid   { gap: 48px; }
  .contact-grid { gap: 48px; }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 36px; }
  .invest-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 68px 0; }

  /* Nav móvil */
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 28px 32px;
    gap: 2px;
    box-shadow: -4px 0 24px rgba(0,0,0,0.12);
    transition: right 0.32s ease;
  }
  .nav-menu.open { right: 0; }
  .nav-link {
    color: var(--text) !important;
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
  }
  .nav-link:hover {
    background: rgba(107,127,94,0.1) !important;
    color: var(--sage) !important;
  }
  .nav-link.nav-cta { margin-top: 8px; text-align: center; }

  .nav-lang-item {
    width: 100%;
    border-top: 1px solid rgba(107,127,94,0.15);
    margin-top: 8px;
    padding-top: 8px;
  }
  .lang-toggle {
    color: var(--text);
    background: rgba(107,127,94,0.08);
    border-color: rgba(107,127,94,0.25);
    width: 100%;
    justify-content: flex-start;
    padding: 12px 16px;
    font-size: 0.85rem;
  }
  .lang-toggle:hover {
    background: rgba(107,127,94,0.15);
    color: var(--sage);
    border-color: rgba(107,127,94,0.4);
  }

  /* Hero */
  .hero { background-attachment: scroll; }
  .hero-buttons { flex-direction: column; align-items: center; }

  /* Zonas */
  .zones-grid { grid-template-columns: 1fr; }

  /* Nosotros */
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-badge { right: 14px; bottom: -14px; }

  /* Contacto */
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 26px 18px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 7px; text-align: center; }

  /* Inversión / CONFOTUR */
  .confotur-box { flex-direction: column; padding: 28px; }

  /* Proceso */
  .process-steps { flex-direction: column; align-items: center; gap: 0; }
  .process-connector { width: 2px; height: 36px; margin: 0; }
  .process-connector::after {
    right: -4px; top: auto; bottom: -5px;
    transform: rotate(135deg);
  }
}

@media (max-width: 480px) {
  .properties-grid  { grid-template-columns: 1fr; }
  .benefits-grid    { grid-template-columns: 1fr; }
  .stat-number { font-size: 2rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .section-title    { font-size: 1.55rem; }
  .hero-title       { font-size: 2.4rem; }
  .zone-image       { height: 240px; }
  .about-badge      { position: static; margin-top: 16px; display: inline-flex; gap: 10px; align-items: center; }
}
