/* =====================================================
   ESPERANZA ROMERO · BROKER INMOBILIARIA PREMIUM
   Bogotá, Colombia · 2025
   ===================================================== */

/* ─── VARIABLES ─────────────────────────────────────── */
:root {
  --arena:   #D8C8B8;
  --beige:   #EDE5DB;
  --cafe:    #8C6F5B;
  --marron:  #3B3028;
  --negro:   #1A1A1A;
  --marfil:  #F8F5F1;

  --f-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --f-body:    'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --f-mono:    'Space Mono', 'Courier New', monospace;

  --nav-h: 76px;
  --ease:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --font-display: var(--f-display);
}

/* ─── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  background: var(--marfil);
  color: var(--negro);
  line-height: 1.6;
  overflow-x: hidden;
}
body.splash-on { overflow: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ─── SCROLLBAR ──────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--marfil); }
::-webkit-scrollbar-thumb { background: var(--arena); }

/* ─── UTILITY ────────────────────────────────────────── */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--cafe);
  margin-bottom: 1.4rem;
}
.eyebrow--light { color: var(--cafe); opacity: 0.85; }

.placeholder-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--f-mono);
  font-size: 0.5rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  text-align: center;
  line-height: 2;
  pointer-events: none;
  user-select: none;
}

/* ─── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 2.4rem;
  border: 1px solid transparent;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease), transform 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--marron);
  color: var(--marfil);
  border-color: var(--marron);
}
.btn--primary:hover {
  background: var(--cafe);
  border-color: var(--cafe);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59,48,40,.25);
}
.btn--ghost {
  background: transparent;
  color: var(--marfil);
  border-color: rgba(248,245,241,.45);
}
.btn--ghost:hover {
  background: rgba(248,245,241,.08);
  border-color: var(--marfil);
}
.btn--outline {
  background: transparent;
  color: var(--marron);
  border-color: var(--marron);
}
.btn--outline:hover {
  background: var(--marron);
  color: var(--marfil);
  transform: translateY(-2px);
}

/* ─── SCROLL REVEAL ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.35s; }
.reveal-delay-4 { transition-delay: 0.5s; }

/* =====================================================
   SPLASH SCREEN
   ===================================================== */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--marron);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1s var(--ease), visibility 1s var(--ease);
}
.splash.out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash__inner { text-align: center; padding: 2rem; }

.splash__decor {
  width: 1px;
  background: var(--arena);
  margin: 0 auto;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: center;
  transition: opacity 0.7s var(--ease), transform 0.9s var(--ease-out);
}
.splash__decor--top  { height: 56px; margin-bottom: 2.2rem; }
.splash__decor--bottom { height: 56px; margin-top: 2.2rem; }
.splash__decor.in { opacity: 1; transform: scaleY(1); }

.splash__content { overflow: hidden; }

.splash__label {
  font-family: var(--f-mono);
  font-size: 0.58rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--arena);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  margin-bottom: 1.6rem;
}
.splash__label.in { opacity: 1; transform: none; }

.splash__name { line-height: 1.02; }

.splash__name-line {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(3.2rem, 10vw, 7.5rem);
  font-weight: 300;
  color: var(--marfil);
  opacity: 0;
  transform: translateY(70%);
  transition: opacity 0.75s var(--ease), transform 0.9s var(--ease-out);
}
.splash__name-line--italic {
  font-style: italic;
  color: var(--arena);
}
.splash__name-line.in { opacity: 1; transform: none; }

.splash__tagline {
  font-family: var(--f-mono);
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cafe);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  margin-top: 1.6rem;
}
.splash__tagline.in { opacity: 1; transform: none; }

/* =====================================================
   NAVIGATION
   ===================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 800;
  height: var(--nav-h);
  padding: 0 2.5rem;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(248,245,241,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,.07);
}

.nav__container {
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo { display: flex; flex-direction: column; line-height: 1; }
.nav__logo-name {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--marron);
  transition: color 0.4s;
}
.nav__logo-sub {
  font-family: var(--f-mono);
  font-size: 0.46rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cafe);
  margin-top: 3px;
  transition: color 0.4s;
}

.nav.hero-mode .nav__logo-name { color: var(--marfil); }
.nav.hero-mode .nav__logo-sub  { color: var(--arena); opacity: 0.8; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--marron);
  transition: background 0.4s, transform 0.35s var(--ease), opacity 0.25s;
}
.nav.hero-mode .nav__toggle span { background: var(--marfil); }
.nav__toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 2.8rem;
}
.nav__link {
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--marron);
  position: relative;
  transition: color 0.35s;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0; right: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__link:hover { color: var(--cafe); }
.nav__link:hover::after { transform: scaleX(1); }
.nav.hero-mode .nav__link { color: rgba(248,245,241,.8); }
.nav.hero-mode .nav__link:hover { color: var(--marfil); }

/* Featured nav link — "Propiedades" pill */
.nav__link--featured {
  border: 1px solid rgba(140,111,91,.55);
  padding: 0.38rem 1.1rem !important;
  color: var(--marron) !important;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.nav__link--featured::after { display: none; }
.nav__link--featured:hover {
  background: rgba(140,111,91,.1);
  border-color: var(--cafe) !important;
  color: var(--cafe) !important;
}
.nav.hero-mode .nav__link--featured {
  border-color: rgba(248,245,241,.45);
  color: var(--marfil) !important;
}
.nav.hero-mode .nav__link--featured:hover {
  background: rgba(248,245,241,.1);
  border-color: rgba(248,245,241,.8) !important;
  color: var(--marfil) !important;
}

.nav__cta {
  font-family: var(--f-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--marfil);
  background: var(--marron);
  padding: 0.55rem 1.4rem;
  border: 1px solid var(--marron);
  transition: background 0.35s, border-color 0.35s, transform 0.3s;
}
.nav__cta:hover { background: var(--cafe); border-color: var(--cafe); transform: translateY(-1px); }
.nav.hero-mode .nav__cta { background: rgba(248,245,241,.12); border-color: rgba(248,245,241,.4); }
.nav.hero-mode .nav__cta:hover { background: var(--marfil); color: var(--marron); border-color: var(--marfil); }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__placeholder {
  width: 100%;
  height: 100%;
  position: relative;
  background:
    linear-gradient(135deg, #2e2620 0%, #4a3a30 30%, #7a5c48 55%, #5a4035 80%, #1e1a16 100%);
  background-size: 300% 300%;
  animation: heroShimmer 22s ease-in-out infinite;
}
@keyframes heroShimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 30%; }
  100% { background-position: 0% 50%; }
}

/* Floating ambient light orbs */
.hero__placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 70% 35%, rgba(160,110,75,.22) 0%, transparent 65%),
    radial-gradient(ellipse 35% 40% at 20% 75%, rgba(100,65,45,.18) 0%, transparent 60%);
  animation: heroOrb 26s ease-in-out infinite;
}
@keyframes heroOrb {
  0%,100% { transform: translate(0,0) scale(1);    opacity: 0.7; }
  30%     { transform: translate(4vw,-3vh) scale(1.12); opacity: 1;   }
  60%     { transform: translate(-3vw,4vh) scale(0.92); opacity: 0.8; }
}

/* Second drifting orb */
.hero__placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 50% at 15% 25%, rgba(180,130,85,.14) 0%, transparent 60%),
    radial-gradient(ellipse 30% 35% at 80% 80%, rgba(80,55,38,.20) 0%, transparent 55%);
  animation: heroOrb2 34s ease-in-out infinite;
}
@keyframes heroOrb2 {
  0%,100% { transform: translate(0,0) scale(1);     opacity: 0.6; }
  40%     { transform: translate(-5vw,2vh) scale(1.08); opacity: 0.9; }
  70%     { transform: translate(3vw,-5vh) scale(0.95); opacity: 0.7; }
}

.hero__placeholder-texture {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg,   transparent, transparent 72px, rgba(216,200,184,.03) 72px, rgba(216,200,184,.03) 73px),
    repeating-linear-gradient(90deg,  transparent, transparent 72px, rgba(216,200,184,.03) 72px, rgba(216,200,184,.03) 73px);
}

.hero__placeholder .placeholder-label { color: rgba(216,200,184,.18); }

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(20,15,12,.78) 0%, rgba(20,15,12,.42) 50%, rgba(20,15,12,.1) 100%),
    linear-gradient(to top, rgba(20,15,12,.4) 0%, transparent 40%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 3rem;
  padding-top: var(--nav-h);
}

.hero__eyebrow {
  font-family: var(--f-mono);
  font-size: 0.58rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--arena);
  margin-bottom: 1.6rem;
  opacity: 0;
  transform: translateY(16px);
}
.hero__title {
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 6.5vw, 5.8rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--marfil);
  margin-bottom: 1.4rem;
  max-width: 680px;
  opacity: 0;
  transform: translateY(28px);
}
.hero__title em { font-style: italic; color: var(--arena); }

.hero__subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(248,245,241,.7);
  margin-bottom: 2.8rem;
  opacity: 0;
  transform: translateY(20px);
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}

.hero__eyebrow, .hero__title, .hero__subtitle, .hero__actions {
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.hero__eyebrow.in  { opacity: 1; transform: none; }
.hero__title.in    { opacity: 1; transform: none; }
.hero__subtitle.in { opacity: 1; transform: none; }
.hero__actions.in  { opacity: 1; transform: none; }

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  z-index: 2;
}
.hero__scroll span {
  font-family: var(--f-mono);
  font-size: 0.48rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(216,200,184,.5);
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(216,200,184,.55), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}

/* =====================================================
   MARQUEE
   ===================================================== */
.marquee {
  background: var(--marron);
  padding: 1.1rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(216,200,184,.08);
  border-bottom: 1px solid rgba(216,200,184,.08);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__row {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-right: 2rem;
  white-space: nowrap;
}
.marquee__row span {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 300;
  color: var(--arena);
  letter-spacing: 0.04em;
}
.marquee__sep { color: var(--cafe) !important; font-style: normal !important; }

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =====================================================
   ABOUT
   ===================================================== */
.about { padding: 9rem 2.5rem; background: var(--marfil); }

.about__container {
  max-width: 1340px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: start;
}

/* Portrait side */
.about__portrait {
  position: relative;
  margin-bottom: 2rem;
}
.about__portrait-img {
  width: 100%;
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(155deg, #e8d9cb 0%, #c9a98a 35%, #a07a62 60%, #6e4e3c 100%);
  background-size: 200% 200%;
  animation: portraitShimmer 14s ease-in-out infinite;
}
@keyframes portraitShimmer {
  0%,100% { background-position: 0% 0%; }
  50%     { background-position: 100% 100%; }
}
.about__portrait-img .placeholder-label { color: rgba(59,48,40,.22); }

.about__portrait-caption {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  font-family: var(--f-mono);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cafe);
}
.caption-line {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--cafe);
  flex-shrink: 0;
}

.about__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--beige);
}
.about__metric {
  padding: 1.5rem 1rem;
  text-align: center;
  border-right: 1px solid var(--beige);
}
.about__metric:last-child { border-right: none; }
.about__metric strong {
  display: block;
  font-family: var(--f-display);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--marron);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.about__metric span {
  font-family: var(--f-mono);
  font-size: 0.48rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cafe);
}

/* Editorial side */
.about__editorial { padding-top: 1rem; }
.about__title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--marron);
  margin-bottom: 2.5rem;
}
.about__title em { font-style: italic; }

.about__slogan {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  letter-spacing: 0.12em;
  color: var(--cafe);
  margin: 0.6rem 0 1.6rem;
  text-transform: uppercase;
}

.about__body p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: #5a5047;
  margin-bottom: 1.2rem;
}

.about__quote {
  border-left: 2px solid var(--cafe);
  padding-left: 1.6rem;
  margin: 2.5rem 0;
}
.about__quote p {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 400;
  color: var(--marron);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}
.about__quote cite {
  font-family: var(--f-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  color: var(--cafe);
  font-style: normal;
}

/* =====================================================
   PROPERTIES
   ===================================================== */
.properties {
  background: var(--marron);
  padding-top: 7rem;
  padding-bottom: 4rem;
}

.properties__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 6rem;
  padding: 0 2rem;
}
.properties__title {
  font-family: var(--f-display);
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--marfil);
  margin-bottom: 1.4rem;
}
.properties__title em { font-style: italic; color: var(--arena); }
.properties__subtitle {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(216,200,184,.6);
}

/* Individual property */
.property {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 680px;
  border-top: 1px solid rgba(216,200,184,.1);
  overflow: hidden;
}
.property--alt { grid-template-columns: 45% 55%; }
.property--alt .property__visual { order: 2; }
.property--alt .property__details { order: 1; }

/* Visual column */
.property__visual {
  position: relative;
  overflow: hidden;
}
.property__main-img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  position: relative;
  overflow: hidden;
  transition: transform 0.9s var(--ease);
}
.property:hover .property__main-img { transform: scale(1.03); }

.property__main-img .placeholder-label { color: rgba(216,200,184,.18); }

.prop-img--1 {
  background: linear-gradient(145deg, #5c4a40 0%, #8c6f5b 35%, #b89278 60%, #7a6050 85%, #3b3028 100%);
  background-size: 200% 200%;
  animation: propShimmer1 16s ease-in-out infinite;
}
.prop-img--2 {
  background: linear-gradient(145deg, #6e5848 0%, #9a7d68 30%, #c4a088 55%, #8a6c58 80%, #4a3832 100%);
  background-size: 200% 200%;
  animation: propShimmer2 18s ease-in-out infinite;
}
.prop-img--3 {
  background: linear-gradient(145deg, #28221e 0%, #3b3028 30%, #5a4a40 55%, #42362c 80%, #1a1612 100%);
  background-size: 200% 200%;
  animation: propShimmer3 20s ease-in-out infinite;
}
@keyframes propShimmer1 { 0%,100% { background-position: 0% 0%;   } 50% { background-position: 100% 100%; } }
@keyframes propShimmer2 { 0%,100% { background-position: 100% 0%; } 50% { background-position: 0% 100%;   } }
@keyframes propShimmer3 { 0%,100% { background-position: 0% 100%; } 50% { background-position: 100% 0%;   } }

.property__gallery {
  position: absolute;
  bottom: 1.4rem;
  right: 1.4rem;
  display: flex;
  gap: 0.4rem;
  z-index: 2;
}
.property__thumb {
  width: 58px;
  height: 58px;
  border: 2px solid rgba(255,255,255,.2);
  cursor: pointer;
  transition: border-color 0.3s, transform 0.3s;
}
.property__thumb:hover { border-color: var(--arena); transform: scale(1.04); }

.prop-thumb--1a { background: linear-gradient(135deg, #c4a080, #e0c4a8); }
.prop-thumb--1b { background: linear-gradient(135deg, #8c6f5b, #b89278); }
.prop-thumb--1c { background: linear-gradient(135deg, #5c4a40, #8c6f5b); }
.prop-thumb--2a { background: linear-gradient(135deg, #d4b090, #f0d8bc); }
.prop-thumb--2b { background: linear-gradient(135deg, #a07060, #c8967c); }
.prop-thumb--2c { background: linear-gradient(135deg, #6e5848, #9a7d68); }
.prop-thumb--3a { background: linear-gradient(135deg, #4a3c32, #6a5040); }
.prop-thumb--3b { background: linear-gradient(135deg, #38302a, #584438); }
.prop-thumb--3c { background: linear-gradient(135deg, #24201c, #3c3028); }

/* Details column */
.property__details {
  background: var(--marron);
  padding: 3.5rem 3.5rem 3.5rem 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  justify-content: center;
}

.property__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.property__location {
  font-family: var(--f-mono);
  font-size: 0.67rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--arena);
  opacity: 0.9;
}

.property__badge {
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--arena);
  color: var(--marron);
  padding: 0.28rem 0.85rem;
}
.property__badge--com { background: var(--cafe); color: var(--marfil); }

.property__name {
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--marfil);
}
.property__name em { font-style: italic; color: var(--arena); }

.property__price {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--marfil);
  letter-spacing: 0.02em;
}

.property__specs {
  display: flex;
  align-items: center;
  padding: 1.4rem 0;
  border-top: 1px solid rgba(216,200,184,.12);
  border-bottom: 1px solid rgba(216,200,184,.12);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.spec {
  flex: 1;
  min-width: 70px;
  text-align: center;
}
.spec strong {
  display: block;
  font-family: var(--f-display);
  font-size: 1.9rem;
  font-weight: 300;
  color: var(--marfil);
  line-height: 1;
}
.spec span {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--arena);
  opacity: 0.82;
  margin-top: 0.2rem;
}
.spec-div {
  width: 1px;
  height: 38px;
  background: rgba(216,200,184,.12);
  flex-shrink: 0;
}

.property__quote {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  color: var(--arena);
  opacity: 0.92;
}

.property__features h4 {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--arena);
  opacity: 0.9;
  margin-bottom: 1rem;
}
.property__features ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1.4rem;
}
.property__features li {
  font-size: 0.875rem;
  color: rgba(216,200,184,.88);
  line-height: 1.55;
  padding-left: 1.1rem;
  position: relative;
}
.property__features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--cafe);
  font-size: 0.78rem;
}

.property__admin {
  font-family: var(--f-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(216,200,184,.6);
  padding-top: 0.5rem;
  border-top: 1px solid rgba(216,200,184,.1);
}
.property__admin strong { color: rgba(216,200,184,.88); }

.property__cta { align-self: flex-start; margin-top: 0.5rem; }

/* =====================================================
   TRAYECTORIA — SOLD PROPERTIES
   ===================================================== */
.trayectoria { padding: 9rem 2.5rem; background: var(--negro); }

.trayectoria__container { max-width: 1340px; margin: 0 auto; }

.trayectoria__header { text-align: center; margin-bottom: 5rem; }
.trayectoria__header .eyebrow { color: var(--arena); opacity: 0.7; }

.trayectoria__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--marfil);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.trayectoria__title em { font-style: italic; color: var(--arena); }

.trayectoria__subtitle {
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: rgba(216,200,184,0.55);
}

.trayectoria__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  overflow: hidden;
}

/* ── Sold card ── */
.sold-card { display: flex; flex-direction: column; }

.sold-card__gallery {
  position: relative;
  height: 420px;
  overflow: hidden;
}
.sold-card__gallery .prop-gallery {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: unset;
}

/* Overlay + stamp */
.sold-stamp {
  position: absolute;
  inset: 0;
  z-index: 30;
  background: rgba(26,15,10,0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.sold-stamp__text {
  font-family: var(--font-mono);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: 0.25em;
  color: rgba(248,245,241,0.92);
  border: 3px solid rgba(248,245,241,0.75);
  padding: 0.35em 0.65em;
  transform: rotate(-12deg);
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  line-height: 1;
}

/* Card info bar */
.sold-card__info {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(216,200,184,0.12);
  border-top: none;
  padding: 1.4rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.sold-card__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--marfil);
  margin: 0;
}
.sold-card__location {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: rgba(216,200,184,0.55);
  margin: 0.2rem 0 0;
}
.sold-card__price {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--arena);
  text-transform: uppercase;
  margin: 0;
  white-space: nowrap;
}
.sold-card__features {
  list-style: none;
  padding: 1rem 1.8rem 1.4rem;
  margin: 0;
  border: 1px solid rgba(216,200,184,0.12);
  border-top: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1.5rem;
}
.sold-card__features li {
  font-size: 0.78rem;
  color: rgba(216,200,184,0.6);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}
.sold-card__features li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--cafe);
}

/* =====================================================
   PROCESS
   ===================================================== */
.process { padding: 9rem 2.5rem; background: var(--beige); }

.process__container { max-width: 1060px; margin: 0 auto; }

.process__header { margin-bottom: 5rem; }
.process__title {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--marron);
}
.process__title em { font-style: italic; }

.process__step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 3rem;
  padding: 2.8rem 0;
  border-bottom: 1px solid rgba(59,48,40,.1);
  transition: padding-left 0.35s var(--ease);
}
.process__step:first-of-type { border-top: 1px solid rgba(59,48,40,.1); }
.process__step:hover { padding-left: 0.75rem; }

.process__num {
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--cafe);
  padding-top: 0.4rem;
  flex-shrink: 0;
}
.process__body h3 {
  font-family: var(--f-display);
  font-size: 1.65rem;
  font-weight: 400;
  color: var(--marron);
  margin-bottom: 0.5rem;
}
.process__body p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: #6b5e52;
  max-width: 520px;
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials { padding: 9rem 2.5rem; background: var(--marfil); }

.testimonials__container { max-width: 1340px; margin: 0 auto; }

.testimonials__header {
  text-align: center;
  margin-bottom: 4.5rem;
}
.testimonials__title {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--marron);
}
.testimonials__title em { font-style: italic; }

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 2px;
  background: var(--beige);
  border: 1px solid var(--beige);
  margin-bottom: 4rem;
}

.testimonial {
  background: var(--marfil);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}
.testimonial--hero {
  background: var(--marron);
}

.testimonial__text {
  font-family: var(--f-display);
  font-size: 1.08rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.72;
  color: var(--marron);
  flex: 1;
}
.testimonial--hero .testimonial__text {
  color: var(--marfil);
  font-size: 1.15rem;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--beige);
  padding-top: 1.6rem;
}
.testimonial--hero .testimonial__author { border-top-color: rgba(216,200,184,.15); }

.testimonial__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--arena), var(--cafe));
  flex-shrink: 0;
}
.testimonial--hero .testimonial__avatar {
  background: linear-gradient(135deg, var(--cafe), var(--arena));
}

.testimonial__author strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--marron);
  margin-bottom: 2px;
}
.testimonial--hero .testimonial__author strong { color: var(--marfil); }

.testimonial__author span {
  font-family: var(--f-mono);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cafe);
}

.testimonials__cta { text-align: center; }

/* =====================================================
   STRATEGIC CTA
   ===================================================== */
.strategic { background: var(--beige); overflow: hidden; }

.strategic__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
}

.strategic__content {
  padding: 6rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.6rem;
}
.strategic__title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 300;
  line-height: 1.12;
  color: var(--marron);
}
.strategic__title em { font-style: italic; }
.strategic__text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #6b5e52;
  max-width: 420px;
}

.strategic__visual {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #c9b09a 0%, #a07860 40%, #6a4830 80%, #3a2418 100%);
  background-size: 200% 200%;
  animation: strategicShimmer 18s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes strategicShimmer {
  0%,100% { background-position: 0% 0%; }
  50%     { background-position: 100% 100%; }
}

/* Slogan panel — typographic "Hope in Your Home" */
.strategic__slogan-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 3rem;
  user-select: none;
}
.strategic__slogan-word {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 5.5vw, 5.8rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.06em;
  color: rgba(248, 245, 241, 0.12);
  display: block;
  transition: color 0.6s var(--ease);
}
.strategic__slogan-word:nth-child(1) { color: rgba(248,245,241,0.82); }
.strategic__slogan-word:nth-child(2) {
  font-style: italic;
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: 0.25em;
  color: rgba(248,245,241,0.45);
  padding-left: 0.2em;
  margin-top: 0.1em;
}
.strategic__slogan-word:nth-child(3) { color: rgba(248,245,241,0.82); }
.strategic__slogan-word:nth-child(4) {
  color: rgba(248,245,241,0.95);
  font-style: italic;
  border-bottom: 1.5px solid rgba(248,245,241,0.35);
  padding-bottom: 0.08em;
}

/* =====================================================
   PROPS GATEWAY (index.html — CTA hacia propiedades.html)
   ===================================================== */
.props-gateway {
  padding: 9rem 2.5rem;
  background: var(--negro);
}
.props-gateway__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.props-gateway__text .eyebrow { color: var(--arena); }
.props-gateway__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 300;
  color: var(--marfil);
  line-height: 1.1;
  margin: 0.6rem 0 1.4rem;
}
.props-gateway__title em { color: var(--arena); }
.props-gateway__desc {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(248,245,241,0.65);
  max-width: 440px;
  margin-bottom: 2.5rem;
}
.props-gateway__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.props-gateway__stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.8rem;
  border: 1px solid rgba(248,245,241,0.1);
  border-radius: 4px;
}
.props-gateway__stat strong {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  color: var(--marfil);
  line-height: 1;
}
.props-gateway__stat span {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248,245,241,0.45);
}

/* =====================================================
   PAGE HERO (encabezado en propiedades.html)
   ===================================================== */
.page-hero {
  padding: calc(76px + 5rem) 2.5rem 6rem;
  background: var(--negro);
  text-align: center;
  width: 100%;
}
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  color: var(--marfil);
  line-height: 1.05;
  margin: 0.6rem auto 1.2rem;
  max-width: 780px;
}
.page-hero__title em { color: var(--arena); }
.page-hero__sub {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(248,245,241,0.6);
  max-width: 560px;
  margin: 0 auto;
}
.page-hero .eyebrow { margin-left: auto; margin-right: auto; }

/* Sub-pages: nav always visible regardless of scroll */
.page-subpage .nav.hero-mode {
  background: var(--negro);
  box-shadow: 0 1px 0 rgba(248,245,241,0.08);
}
.page-subpage .nav.hero-mode .nav__logo-name { color: var(--marfil); }
.page-subpage .nav.hero-mode .nav__logo-sub  { color: var(--arena); }
.page-subpage .nav.hero-mode .nav__link      { color: rgba(248,245,241,0.75); }
.page-subpage .nav.hero-mode .nav__link:hover { color: var(--marfil); }
.page-subpage .nav.hero-mode .nav__cta {
  background: var(--cafe);
  color: var(--marfil);
}

/* Active nav link */
.nav__link--active { color: var(--marfil) !important; }

/* Inversión badge */
.property__badge--inv {
  background: rgba(90,140,90,0.15);
  color: #6aaf6a;
  border: 1px solid rgba(106,175,106,0.3);
}

/* properties--page: starts right after page-hero */
.properties--page { padding-top: 0; }
.properties--hidden { display: none !important; }

/* =====================================================
   PROPERTY CARD GRID (propiedades.html)
   ===================================================== */
body.page-subpage { background: var(--negro); }

.prop-cards-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 3rem 8rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.prop-card {
  background: var(--marron);
  cursor: pointer;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.prop-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 56px rgba(0,0,0,.38);
}
.prop-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.prop-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1s var(--ease);
}
.prop-card:hover .prop-card__media img { transform: scale(1.06); }
.prop-card__badge-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}
.prop-card__hover-cta {
  position: absolute;
  inset: 0;
  background: rgba(20,15,12,.52);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s;
}
.prop-card:hover .prop-card__hover-cta { opacity: 1; }
.prop-card__hover-cta span {
  font-family: var(--f-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--marfil);
  border: 1px solid rgba(248,245,241,.5);
  padding: 0.8rem 2rem;
}
.prop-card__info { padding: 1.6rem 2rem 2rem; }
.prop-card__location {
  font-family: var(--f-mono);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--arena);
  opacity: 0.7;
  margin-bottom: 0.6rem;
}
.prop-card__name {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--marfil);
  line-height: 1.15;
  margin-bottom: 0.7rem;
}
.prop-card__name em { font-style: italic; color: var(--arena); }
.prop-card__price {
  font-family: var(--f-display);
  font-size: 1.1rem;
  color: rgba(248,245,241,.75);
}

/* =====================================================
   PROPERTY DETAIL DRAWER (slide-over panel)
   ===================================================== */
.prop-drawer {
  position: fixed;
  inset: 0;
  z-index: 800;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}
.prop-drawer.is-open { pointer-events: auto; }

.prop-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20,15,12,.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.45s;
  cursor: pointer;
}
.prop-drawer.is-open .prop-drawer__overlay { opacity: 1; }

.prop-drawer__panel {
  position: relative;
  z-index: 1;
  width: min(580px, 100vw);
  height: 100%;
  background: var(--marron);
  overflow-y: auto;
  overflow-x: hidden;
  transform: translateX(100%);
  transition: transform 0.55s var(--ease-out);
  -webkit-overflow-scrolling: touch;
}
.prop-drawer.is-open .prop-drawer__panel { transform: translateX(0); }

.prop-drawer__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(216,200,184,.15);
  color: var(--marfil);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.prop-drawer__close:hover { background: rgba(216,200,184,.3); }

/* Drawer content: gallery block + info block */
.pd-gallery {
  width: 100%;
  height: 400px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--negro);
}
.pd-gallery .prop-gallery {
  width: 100%;
  height: 100%;
  min-height: 400px;
}
.pd-info {
  padding: 2rem 2rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  background: var(--marron);
}
.pd-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.pd-name {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 300;
  color: var(--marfil);
  line-height: 1.1;
}
.pd-name em { font-style: italic; color: var(--arena); }
.pd-price {
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--marfil);
}
.pd-specs {
  border-top: 1px solid rgba(216,200,184,.12);
  border-bottom: 1px solid rgba(216,200,184,.12);
  padding: 1.2rem 0;
}
.pd-info .property__features ul { grid-template-columns: 1fr; }

/* =====================================================
   INVESTMENT DRAWER CONTENT (inversiones.html)
   ===================================================== */
.pd-eyebrow-loc {
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--arena);
  opacity: 0.75;
  margin-bottom: 0.45rem;
}
.pd-developer {
  font-size: 0.72rem;
  color: var(--marfil);
  opacity: 0.55;
  margin-top: 0.5rem;
  line-height: 1.5;
}
.pd-desc {
  font-size: 0.87rem;
  line-height: 1.68;
  color: var(--marfil);
  opacity: 0.82;
}
.pd-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
  border-top: 1px solid rgba(216,200,184,.12);
  border-bottom: 1px solid rgba(216,200,184,.12);
  padding: 1.2rem 0;
}
.pd-spec {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.pd-spec span {
  font-family: var(--f-mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--marfil);
  opacity: 0.45;
}
.pd-spec strong {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--marfil);
}
.pd-section {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.pd-section-title {
  font-family: var(--f-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--arena);
  opacity: 0.65;
  margin: 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(216,200,184,.1);
}
.pd-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.pd-list--payment li {
  display: flex;
  gap: 0.8rem;
  align-items: baseline;
  font-size: 0.82rem;
  color: var(--marfil);
  opacity: 0.85;
}
.pd-list__pct {
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--arena);
  min-width: 3.5rem;
  flex-shrink: 0;
  opacity: 1 !important;
}
.pd-list--amenities li {
  font-size: 0.8rem;
  color: var(--marfil);
  opacity: 0.75;
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}
.pd-list--amenities li::before {
  content: '—';
  position: absolute;
  left: 0;
  opacity: 0.4;
}
.pd-price-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-top: 0.4rem;
}
.pd-price-label {
  font-family: var(--f-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--marfil);
  opacity: 0.45;
}
.pd-price-val {
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--marfil);
}
.btn-wa {
  display: block;
  text-align: center;
  background: #22c55e;
  color: #fff;
  font-family: var(--f-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1rem 1.5rem;
  text-decoration: none;
  transition: background 0.25s, opacity 0.25s;
}
.btn-wa:hover { background: #16a34a; }

/* =====================================================
   CONTACT
   ===================================================== */
.contact { padding: 9rem 2.5rem; background: var(--marfil); }

.contact__container { max-width: 1200px; margin: 0 auto; }

.contact__header { margin-bottom: 4rem; }
.contact__title {
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--marron);
  margin-bottom: 1rem;
}
.contact__title em { font-style: italic; }
.contact__subtitle {
  font-size: 0.95rem;
  color: #6a5e52;
  line-height: 1.7;
}

.contact__body {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}

.contact__left { display: flex; flex-direction: column; gap: 2.5rem; }

.contact__wa-card {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 2rem 1.8rem;
  border: 1px solid var(--beige);
  transition: all 0.38s var(--ease);
}
.contact__wa-card:hover {
  border-color: var(--marron);
  background: var(--marron);
}
.contact__wa-icon {
  width: 42px;
  height: 42px;
  color: #25D366;
  flex-shrink: 0;
  transition: color 0.35s;
}
.contact__wa-card:hover .contact__wa-icon { color: #25D366; }
.contact__wa-icon svg { width: 100%; height: 100%; }

.contact__wa-info { flex: 1; }
.contact__wa-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--marron);
  margin-bottom: 3px;
  transition: color 0.35s;
}
.contact__wa-card:hover .contact__wa-info strong { color: var(--marfil); }
.contact__wa-info span {
  display: block;
  font-size: 0.88rem;
  color: #555;
  margin-bottom: 4px;
  transition: color 0.35s;
}
.contact__wa-card:hover .contact__wa-info span { color: rgba(248,245,241,.75); }
.contact__wa-info em {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.52rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cafe);
  font-style: normal;
  transition: color 0.35s;
}
.contact__wa-card:hover .contact__wa-info em { color: var(--arena); }
.contact__wa-arrow {
  font-size: 1.2rem;
  color: var(--marron);
  transition: transform 0.35s var(--ease), color 0.35s;
}
.contact__wa-card:hover .contact__wa-arrow { transform: translateX(5px); color: var(--arena); }

.contact__tagline {}
.contact__quote {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.55;
  color: var(--marron);
  border-left: 2px solid var(--cafe);
  padding-left: 1.2rem;
  margin-bottom: 0.6rem;
}
.contact__tagline cite {
  font-family: var(--f-mono);
  font-size: 0.54rem;
  letter-spacing: 0.14em;
  color: var(--cafe);
  font-style: normal;
  padding-left: 1.2rem;
}

/* Form */
.contact__form { display: flex; flex-direction: column; gap: 1.8rem; }

.form-field { display: flex; flex-direction: column; gap: 0.5rem; }
.form-field label {
  font-family: var(--f-mono);
  font-size: 0.53rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cafe);
}
.form-field input,
.form-field textarea {
  font-family: var(--f-body);
  font-size: 0.9rem;
  color: var(--marron);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--beige);
  padding: 0.75rem 0;
  outline: none;
  width: 100%;
  resize: none;
  transition: border-color 0.3s;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(59,48,40,.28); }
.form-field input:focus,
.form-field textarea:focus { border-color: var(--marron); }

.form-note {
  font-family: var(--f-mono);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  color: rgba(59,48,40,.38);
  margin-top: -0.8rem;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer { background: var(--negro); padding: 4.5rem 2.5rem 2rem; }

.footer__container { max-width: 1440px; margin: 0 auto; }

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(216,200,184,.08);
  margin-bottom: 2rem;
}
.footer__brand h3 {
  font-family: var(--f-display);
  font-size: 1.55rem;
  font-weight: 300;
  color: var(--marfil);
  margin-bottom: 0.5rem;
}
.footer__brand p {
  font-family: var(--f-display);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--arena);
}

.footer__nav { display: flex; flex-direction: column; gap: 0.75rem; }
.footer__nav a {
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(216,200,184,.45);
  transition: color 0.35s;
}
.footer__nav a:hover { color: var(--arena); }

.footer__contact { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__contact a {
  font-size: 0.9rem;
  color: var(--arena);
  transition: color 0.35s;
}
.footer__contact a:hover { color: var(--marfil); }
.footer__contact p {
  font-family: var(--f-mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(216,200,184,.35);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__bottom p {
  font-family: var(--f-mono);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(216,200,184,.28);
}

.back-top {
  font-family: var(--f-mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(216,200,184,.38);
  transition: color 0.35s;
}
.back-top:hover { color: var(--arena); }

/* =====================================================
   WHATSAPP FLOAT
   ===================================================== */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 600;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(37,211,102,.35);
  animation: waPulse 2.8s ease-out infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1);    opacity: 0.7; }
  70%  { transform: scale(1.35); opacity: 0;   }
  100% { transform: scale(1.35); opacity: 0;   }
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,.55); }

.wa-float__tip {
  position: absolute;
  right: calc(100% + 14px);
  background: var(--marron);
  color: var(--marfil);
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.55rem 1.1rem;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}
.wa-float__tip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--marron);
}
.wa-float:hover .wa-float__tip { opacity: 1; transform: none; }

/* =====================================================
   GALERÍA DE PROPIEDADES
   ===================================================== */

/* Contenedor raíz — llena toda la columna visual */
.prop-gallery {
  width: 100%;
  height: 100%;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  background: var(--marron);
  overflow: hidden;
}

/* ── Stage (imagen grande) ── */
.prop-gallery__stage {
  position: relative;
  flex: 1;
  overflow: hidden;
  cursor: zoom-in;
}
.prop-gallery__stage:hover .prop-gallery__nav  { opacity: 1; }
.prop-gallery__stage:hover .prop-gallery__expand { opacity: 1; }

.prop-gallery__frame {
  position: absolute;
  inset: 0;
}

.prop-gallery__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 0.45s ease, transform 0.9s var(--ease);
}
.prop-gallery__img.active { opacity: 1; }
.prop-gallery__stage:hover .prop-gallery__img.active { transform: scale(1.03); }

/* Flechas de navegación */
.prop-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  background: rgba(248,245,241,.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(248,245,241,.22);
  color: var(--marfil);
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s, background 0.3s, transform 0.25s;
}
.prop-gallery__nav:hover {
  background: rgba(248,245,241,.3);
  transform: translateY(-50%) scale(1.06);
}
.prop-gallery__nav--prev { left: 1rem; }
.prop-gallery__nav--next { right: 1rem; }

/* Contador */
.prop-gallery__counter {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 4;
  font-family: var(--f-mono);
  font-size: 0.52rem;
  letter-spacing: 0.22em;
  color: rgba(248,245,241,.8);
  background: rgba(20,16,12,.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.28rem 0.65rem;
}

/* Botón expandir */
.prop-gallery__expand {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 4;
  width: 36px;
  height: 36px;
  background: rgba(248,245,241,.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(248,245,241,.22);
  color: var(--marfil);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s, background 0.3s;
}
.prop-gallery__expand:hover { background: rgba(248,245,241,.3); }

/* ── Thumbnail strip ── */
.prop-gallery__strip {
  display: flex;
  gap: 3px;
  padding: 3px;
  overflow-x: auto;
  flex-shrink: 0;
  background: rgba(20,16,12,.6);
  scrollbar-width: thin;
  scrollbar-color: var(--cafe) transparent;
}
.prop-gallery__strip::-webkit-scrollbar       { height: 3px; }
.prop-gallery__strip::-webkit-scrollbar-track { background: transparent; }
.prop-gallery__strip::-webkit-scrollbar-thumb { background: var(--cafe); border-radius: 0; }

.prop-gallery__thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.3s, transform 0.2s;
  background: rgba(59,48,40,.4);
}
.prop-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.42s var(--ease), opacity 0.3s;
}
.prop-gallery__thumb:hover img  { transform: scale(1.1); }
.prop-gallery__thumb.active     { border-color: var(--arena); }
.prop-gallery__thumb:focus-visible { outline: 2px solid var(--arena); outline-offset: 1px; }

/* ── Gradiente de espera (mientras no hay foto) ── */
#g1 .prop-gallery__stage { background: linear-gradient(145deg,#5c4a40,#8c6f5b 40%,#b89278 70%,#7a6050); }
#g2 .prop-gallery__stage { background: linear-gradient(145deg,#6e5848,#9a7d68 40%,#c4a088 70%,#8a6c58); }
#g3 .prop-gallery__stage { background: linear-gradient(145deg,#28221e,#3b3028 40%,#5a4a40 70%,#42362c); }

/* =====================================================
   LIGHTBOX
   ===================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(18,14,10,.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox__wrap {
  max-width: min(90vw, 1400px);
  max-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__wrap img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  display: block;
  user-select: none;
  pointer-events: none;
}

.lightbox__close {
  position: fixed;
  top: 1.4rem;
  right: 1.4rem;
  width: 46px;
  height: 46px;
  background: rgba(248,245,241,.1);
  border: 1px solid rgba(248,245,241,.18);
  color: var(--marfil);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.3s;
}
.lightbox__close:hover { background: rgba(248,245,241,.24); }

.lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  background: rgba(248,245,241,.1);
  border: 1px solid rgba(248,245,241,.18);
  color: var(--marfil);
  font-size: 2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.3s, transform 0.25s;
}
.lightbox__nav:hover { background: rgba(248,245,241,.24); }
.lightbox__prev { left: 1.4rem; }
.lightbox__next { right: 1.4rem; }
.lightbox__prev:hover { transform: translateY(-50%) translateX(-3px); }
.lightbox__next:hover { transform: translateY(-50%) translateX(3px);  }

.lightbox__foot {
  position: fixed;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  pointer-events: none;
}
.lightbox__foot-counter {
  font-family: var(--f-mono);
  font-size: 0.52rem;
  letter-spacing: 0.28em;
  color: rgba(216,200,184,.55);
}
.lightbox__foot-alt {
  font-family: var(--f-display);
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(216,200,184,.8);
}

/* =====================================================
   IMÁGENES REALES — estilos de integración
   Los gradientes de fondo permanecen como fallback
   elegante si una foto no carga.
   ===================================================== */

/* Hero */
.hero__placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}

/* Portrait Esperanza */
.about__portrait-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Imagen principal de propiedad */
.property__main-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
  transition: opacity 0.38s ease, transform 0.9s var(--ease);
}
.property__main-img img.fading {
  opacity: 0;
}
.property:hover .property__main-img img {
  transform: scale(1.03);
}

/* Thumbnails de galería */
.property__thumb {
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.property__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--ease);
}
.property__thumb:hover img { transform: scale(1.1); }
.property__thumb.active {
  border-color: var(--arena);
  box-shadow: 0 0 0 1px var(--arena);
}

/* =====================================================
   RESPONSIVE — Tablet 1024px
   ===================================================== */
@media (max-width: 1100px) {
  .about__container { grid-template-columns: 1fr; gap: 4.5rem; }
  .about__portrait-img { aspect-ratio: unset; height: auto; max-width: 100%; }
  .about__portrait-img img { position: static; width: 100%; height: auto; object-fit: unset; }

  .property { grid-template-columns: 1fr; min-height: auto; }
  .property--alt .property__visual { order: 0; }
  .property--alt .property__details { order: 0; }
  .property__main-img { min-height: 420px; }

  .testimonials__grid { grid-template-columns: 1fr; }
  .trayectoria__grid { grid-template-columns: 1fr; }
  .props-gateway__inner { grid-template-columns: 1fr; gap: 3rem; }
  .page-hero { padding: calc(68px + 3rem) 1.5rem 3rem; }
  .trayectoria { padding: 6rem 1.5rem; }
  .sold-card__gallery, .sold-card__gallery .prop-gallery { min-height: 300px; }

  .strategic__grid { grid-template-columns: 1fr; }
  .strategic__visual { height: 320px; }
  .strategic__slogan-panel { padding: 2rem; }
  .strategic__slogan-word { font-size: clamp(2.4rem, 10vw, 4rem); }

  .contact__body { grid-template-columns: 1fr; gap: 3.5rem; }

  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* =====================================================
   RESPONSIVE — Mobile 768px
   ===================================================== */
@media (max-width: 768px) {
  :root { --nav-h: 68px; }

  .nav { padding: 0 1.5rem; }
  .nav__toggle { display: flex; }

  .nav__menu {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--marfil);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--beige);
    box-shadow: 0 8px 32px rgba(0,0,0,.1);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease);
    z-index: 790;
  }
  .nav__menu.open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav__link { color: var(--marron) !important; }
  .nav__cta {
    background: var(--marron) !important;
    color: var(--marfil) !important;
    border-color: var(--marron) !important;
    align-self: flex-start;
  }

  .hero__content { padding: 0 1.5rem; padding-top: var(--nav-h); }
  .hero__actions { flex-direction: column; align-items: flex-start; }

  .about  { padding: 5rem 1.5rem; }
  .process { padding: 5rem 1.5rem; }
  .testimonials { padding: 5rem 1.5rem; }
  .contact { padding: 5rem 1.5rem; }

  .properties__header { padding: 0 1.5rem 3.5rem; }
  .property__details { padding: 2.5rem 1.5rem; }
  .property__gallery { display: none; }
  .property__features ul { grid-template-columns: 1fr; }

  .process__step { grid-template-columns: 64px 1fr; gap: 1.5rem; }

  .strategic__content { padding: 4rem 1.5rem; }

  .footer { padding: 3.5rem 1.5rem 2rem; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .footer__brand { grid-column: auto; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .wa-float { bottom: 1.5rem; right: 1.5rem; width: 54px; height: 54px; }
  .wa-float svg { width: 24px; height: 24px; }
  .wa-float__tip { display: none; }

  .prop-cards-grid {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem 5rem;
    gap: 1.8rem;
  }

  /* Reduce hero animation on mobile for perf */
  .hero__placeholder::before,
  .hero__placeholder::after { display: none; }
  .hero__placeholder { animation-duration: 40s; }

  .pd-gallery { height: 280px; }
  .pd-gallery .prop-gallery { min-height: 280px; }
}

/* =====================================================
   RESPONSIVE — Small 480px
   ===================================================== */
@media (max-width: 480px) {
  .props-gateway__stats { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .props-gateway__stat { padding: 1.2rem; }
  .about__metrics { grid-template-columns: 1fr; }
  .about__metric { border-right: none; border-bottom: 1px solid var(--beige); }
  .about__metric:last-child { border-bottom: none; }

  .property__specs { gap: 0.2rem; }
  .spec { min-width: 60px; }
  .spec strong { font-size: 1.5rem; }

  .testimonials__grid { gap: 1px; }

  .btn { padding: 0.9rem 1.8rem; }
}
