:root {
  --cream: #f5f0e8;
  --dark: #1a1a18;
  --earth: #8b7355;
  --earth-light: #b09a7a;
  --gold: #c9a96e;
  --green: #4a5e3a;
  --green-mid: #5c7248;
  --white: #ffffff;
  --text-body: #3a3830;
  --text-muted: #7a7568;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--text-body);
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.5s ease;
}

nav.scrolled {
  background: rgba(26,26,24,0.95);
  backdrop-filter: blur(10px);
  padding: 14px 60px;
  border-bottom: 1px solid rgba(201,169,110,0.2);
}

.nav-logo img {
  height: 54px;
  filter: invert(1) brightness(2);
  transition: filter 0.5s ease;
}

nav:not(.scrolled) .nav-logo img { filter: invert(1) brightness(2); }
nav.scrolled .nav-logo img { filter: invert(1) brightness(2); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.3s;
}

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

.nav-cta {
  background: var(--gold);
  color: var(--dark) !important;
  padding: 10px 24px;
  font-weight: 500 !important;
  letter-spacing: 0.15em !important;
}

.nav-cta:hover { background: var(--earth-light); color: var(--dark) !important; }

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.5s ease, transform 8s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,8,0.35) 0%,
    rgba(10,10,8,0.15) 40%,
    rgba(10,10,8,0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 60px 80px;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: white;
}

.hero-badge::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(52px, 7vw, 90px);
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 28px;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 48px;
}

.hero-sub span {
  color: rgba(255,255,255,0.9);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn-primary {
  background: var(--gold);
  color: var(--dark);
  padding: 16px 40px;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--earth-light);
  transform: translateY(-2px);
}

.btn-ghost {
  border: 1px solid rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.85);
  padding: 16px 40px;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* HERO INDICATORS */
.hero-indicators {
  position: absolute;
  bottom: 40px;
  right: 60px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.indicator {
  width: 28px;
  height: 2px;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.4s;
}

.indicator.active {
  background: var(--gold);
  width: 48px;
}

/* STATS BAR */
.stats-bar {
  background: var(--dark);
  padding: 0 60px;
  display: flex;
  gap: 0;
}

.stat-item {
  flex: 1;
  padding: 36px 40px;
  border-right: 1px solid rgba(255,255,255,0.08);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.stat-item:last-child { border-right: none; }
.stat-item.visible { opacity: 1; transform: translateY(0); }

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
}

/* INTRO */
.intro {
  padding: 120px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.section-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--earth);
}

.section-tag::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--earth);
}

.intro h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(36px, 3.5vw, 52px);
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 28px;
}

.intro p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 18px;
}

.intro-visual { position: relative; }
.intro-img-main { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.intro-img-accent {
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 55%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 6px solid var(--cream);
}

/* LOCATION */
.location {
  background: var(--dark);
  padding: 120px 60px;
}

.location-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.location-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: end;
}

.location h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(40px, 4vw, 60px);
  color: var(--white);
  line-height: 1.15;
}

.location-desc {
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255,255,255,0.5);
  font-weight: 200;
}

.location-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  margin-bottom: 60px;
}

.location-point {
  background: var(--dark);
  padding: 40px 32px;
  border-top: 2px solid transparent;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.5s ease;
}

.location-point.visible {
  opacity: 1;
  transform: translateY(0);
  border-top-color: var(--gold);
}

.location-point-icon { font-size: 22px; margin-bottom: 16px; }

.location-point h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--white);
  margin-bottom: 8px;
  font-weight: 400;
}

.location-point p {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  font-weight: 200;
  line-height: 1.7;
  letter-spacing: 0.03em;
}

.location-images {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4px;
  height: 400px;
}

.location-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
  transition: filter 0.4s;
}

.location-images img:hover { filter: brightness(1); }

/* SERVICIOS */
.servicios {
  padding: 120px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.servicios-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
}

.servicios h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(38px, 3.5vw, 54px);
  color: var(--dark);
  line-height: 1.2;
}

.servicios-intro {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-muted);
  font-weight: 200;
  padding-top: 16px;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(0,0,0,0.06);
}

.servicio-item {
  background: var(--cream);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.3s;
}

.servicio-item:hover { background: var(--white); }
.servicio-num { font-family: 'Cormorant Garamond', serif; font-size: 13px; color: var(--earth); letter-spacing: 0.1em; }
.servicio-title { font-family: 'Cormorant Garamond', serif; font-size: 24px; color: var(--dark); font-weight: 500; line-height: 1.2; }
.servicio-desc { font-size: 13px; color: var(--text-muted); line-height: 1.75; font-weight: 300; flex: 1; }
.servicio-line { width: 32px; height: 1px; background: var(--gold); margin-top: auto; }

/* INVERSION */
.inversion {
  background: var(--green);
  padding: 120px 60px;
  position: relative;
  overflow: hidden;
}

.inversion::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}

.inversion-inner {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.inversion-header { text-align: center; margin-bottom: 80px; }

.inversion h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(40px, 4vw, 62px);
  color: var(--white);
  margin-bottom: 20px;
}

.inversion-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  font-weight: 200;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

.inversion-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.inv-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 52px 40px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s;
}

.inv-card.visible { opacity: 1; transform: translateY(0); }
.inv-card:hover { background: rgba(255,255,255,0.1); border-color: var(--gold); transform: translateY(-6px); }
.inv-icon { font-size: 32px; margin-bottom: 24px; }

.inv-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  color: var(--white);
  margin-bottom: 14px;
  font-weight: 400;
}

.inv-card p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.8; font-weight: 200; }

/* GALERIA */
.galeria { padding: 0; }
.galeria-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 300px 300px; gap: 3px; }
.galeria-item { overflow: hidden; position: relative; }
.galeria-item:first-child { grid-column: span 2; grid-row: span 2; }
.galeria-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.galeria-item:hover img { transform: scale(1.06); }
.galeria-item::after { content: ''; position: absolute; inset: 0; background: rgba(10,10,8,0); transition: background 0.4s; }
.galeria-item:hover::after { background: rgba(10,10,8,0.15); }

/* CONTACTO */
.contacto {
  padding: 120px 60px;
  background: var(--dark);
}

.contacto-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.contacto-info .section-tag { color: var(--gold); }
.contacto-info .section-tag::before { background: var(--gold); }

.contacto h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(38px, 3.5vw, 56px);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 28px;
}

.contacto p {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  font-weight: 200;
  line-height: 1.9;
  margin-bottom: 48px;
}

.contacto-detail { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }

.detail-icon {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(201,169,110,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 14px;
  flex-shrink: 0;
}

.detail-text { padding-top: 6px; }

.detail-text strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  font-weight: 300;
  margin-bottom: 4px;
}

.detail-text span { font-size: 14px; color: rgba(255,255,255,0.8); font-weight: 200; }

/* FORM */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-group label { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(255,255,255,0.35); font-weight: 300; }

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 14px 18px;
  color: rgba(255,255,255,0.85);
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 200;
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group select option { background: var(--dark); }
.form-group textarea { resize: none; height: 100px; }

.form-submit {
  background: var(--gold);
  color: var(--dark);
  border: none;
  padding: 18px 48px;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s;
  margin-top: 8px;
}

.form-submit:hover { background: var(--earth-light); transform: translateY(-2px); }

/* FOOTER */
footer {
  background: #111110;
  padding: 48px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-logo img { height: 44px; filter: invert(1) brightness(0.5); }
.footer-text { font-size: 11px; color: rgba(255,255,255,0.2); font-weight: 200; text-align: center; line-height: 1.7; max-width: 500px; }
.footer-links { display: flex; gap: 28px; }

.footer-links a {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  font-weight: 300;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--gold); }

/* WHATSAPP FLOAT */
.wa-btn {
  position: fixed;
  bottom: 36px;
  right: 36px;
  z-index: 200;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}

.wa-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
}

.wa-btn svg { width: 28px; height: 28px; fill: white; }

/* ANIMATIONS */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible { opacity: 1; transform: translateY(0); }

/* SCROLL INDICATOR */
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 60px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: bounce 2.5s infinite;
}

.scroll-hint span { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(255,255,255,0.4); font-weight: 300; }
.scroll-arrow { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent); }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  nav.scrolled { padding: 12px 24px; }
  .nav-links { display: none; }
  .hero-content { padding: 0 24px 60px; }
  .stats-bar { padding: 0 24px; flex-wrap: wrap; }
  .stat-item { flex: 1 1 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .intro { grid-template-columns: 1fr; gap: 50px; padding: 80px 24px; }
  .intro-img-accent { display: none; }
  .location { padding: 80px 24px; }
  .location-header { grid-template-columns: 1fr; gap: 20px; }
  .location-points { grid-template-columns: 1fr 1fr; }
  .location-images { grid-template-columns: 1fr; height: auto; }
  .location-images img { height: 200px; }
  .servicios { padding: 80px 24px; }
  .servicios-header { grid-template-columns: 1fr; gap: 20px; }
  .servicios-grid { grid-template-columns: 1fr; }
  .inversion { padding: 80px 24px; }
  .inversion-cards { grid-template-columns: 1fr; gap: 16px; }
  .galeria-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 220px); }
  .galeria-item:first-child { grid-column: span 2; grid-row: span 1; }
  .contacto { padding: 80px 24px; }
  .contacto-inner { grid-template-columns: 1fr; gap: 50px; }
  .form-row { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 24px; padding: 36px 24px; text-align: center; }
  .scroll-hint { display: none; }
  .hero-indicators { right: 24px; }
}