/* =====================================================
   ABOGADOS & PROPIEDAD RAÍZ — Hoja de estilos principal
   ===================================================== */

/* ===== VARIABLES ===== */
:root {
  --gold:        #C9A84C;
  --gold-light:  #E0BA6A;
  --gold-dark:   #A8872A;
  --gold-subtle: rgba(201, 168, 76, 0.12);
  --gold-border: rgba(201, 168, 76, 0.2);

  --black:   #0A0A0A;
  --dark:    #111111;
  --dark-2:  #161616;
  --dark-3:  #1E1E1E;
  --dark-4:  #282828;
  --gray:    #555555;
  --gray-lt: #888888;

  --white:    #FFFFFF;
  --white-80: rgba(255, 255, 255, 0.8);
  --white-60: rgba(255, 255, 255, 0.6);
  --white-20: rgba(255, 255, 255, 0.2);
  --white-08: rgba(255, 255, 255, 0.08);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --trans:     all 0.3s var(--ease);
  --trans-slow: all 0.6s var(--ease);

  --shadow-gold: 0 0 40px rgba(201, 168, 76, 0.12);
  --shadow-card: 0 12px 50px rgba(0, 0, 0, 0.45);

  --radius:    4px;
  --radius-lg: 10px;
  --radius-xl: 16px;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background-color: var(--black);
  color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img   { max-width: 100%; display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
input, select, textarea, button { font-family: inherit; }

/* ===== UTILITIES ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 0.98rem;
  color: var(--white-60);
  max-width: 520px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-desc { margin: 0 auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 34px;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: var(--trans);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  color: var(--black);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-light) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(201, 168, 76, 0.4);
}

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

.btn-gold-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  padding: 14px 44px;
}
.btn-gold-outline:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(201, 168, 76, 0.4);
}

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--gold-border);
  transition: var(--trans);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.97);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  padding: 0 24px;
  max-width: 1300px;
  margin: 0 auto;
}

.nav-logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: none;
  flex-direction: row;
  gap: 38px;
  align-items: center;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-80);
  position: relative;
  transition: var(--trans);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: var(--trans);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.btn-whatsapp {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #25D366;
  color: var(--white);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--trans);
  white-space: nowrap;
}
.btn-whatsapp:hover {
  background: #1fb95a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--trans);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(145deg, #080808 0%, #130f06 35%, #0e0e0e 65%, #08080f 100%);
  background-image: url('images/header.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Brillo dorado radial sutil */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 15% 55%, rgba(201,168,76,0.09) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 85% 25%, rgba(201,168,76,0.06) 0%, transparent 60%);
  pointer-events: none;
}

/* Retícula arquitectónica decorativa */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.025) 1px, transparent 1px);
  background-size: 90px 90px;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 130px 24px 90px;
  max-width: 960px;
  width: 100%;
}

.hero-location {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.38em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 7.5vw, 5.2rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 26px;
  text-shadow: 0 4px 40px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--white-60);
  font-weight: 300;
  margin-bottom: 52px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.02em;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-chips {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.chip {
  padding: 9px 22px;
  border: 1px solid rgba(201, 168, 76, 0.28);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--white-80);
  cursor: pointer;
  transition: var(--trans);
  backdrop-filter: blur(8px);
  letter-spacing: 0.04em;
}
.chip:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-subtle);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-indicator span {
  display: block;
  width: 1px;
  height: 64px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  margin: 0 auto;
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  30%, 70% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--dark-2);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  padding: 44px 24px;
}

.stats-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 48px;
  gap: 6px;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--gold);
}

.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--white-60);
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 54px;
  background: var(--gold-border);
  flex-shrink: 0;
}

/* ===== FILTROS ===== */
.filters-section {
  background: var(--dark-2);
  padding: 90px 0;
}

.filters-bar {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: flex-end;
  background: var(--dark-3);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}

.filter-select {
  flex: 1;
  min-width: 145px;
  background: var(--dark-4);
  border: 1px solid var(--white-08);
  border-radius: var(--radius);
  color: var(--white);
  padding: 13px 38px 13px 14px;
  font-size: 0.88rem;
  cursor: pointer;
  outline: none;
  transition: var(--trans);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A84C' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.filter-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.14);
}
.filter-select option {
  background: var(--dark-3);
  color: var(--white);
}

.price-range-wrapper {
  flex: 1.5;
  min-width: 200px;
}

.price-label {
  display: block;
  font-size: 0.78rem;
  color: var(--white-60);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.price-label span { color: var(--gold); font-weight: 600; }

.range-track {
  position: relative;
  height: 6px;
  background: var(--dark-4);
  border-radius: 3px;
}

.range-slider {
  position: absolute;
  width: 100%;
  height: 6px;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  pointer-events: none;
  outline: none;
}
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: all;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--black);
  cursor: pointer;
  transition: var(--trans);
  box-shadow: 0 2px 10px rgba(201,168,76,0.45);
}
.range-slider::-webkit-slider-thumb:hover {
  background: var(--gold-light);
  transform: scale(1.2);
}
.range-slider::-moz-range-thumb {
  pointer-events: all;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--black);
  cursor: pointer;
}

/* ===== PROPIEDADES ===== */
.properties-section {
  padding: 110px 0;
  background: var(--black);
}

.properties-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 64px;
}

.section-cta { text-align: center; }

/* Tarjeta de propiedad */
.property-card {
  background: var(--dark-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--white-08);
  transition: var(--trans-slow);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.property-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 70px rgba(0,0,0,0.55), 0 0 0 1px rgba(201,168,76,0.22);
}
.property-card:hover .property-img {
  transform: scale(1.07);
}

.property-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 248px;
  flex-shrink: 0;
}
.property-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}

.property-badge {
  position: absolute;
  top: 16px; left: 16px;
  padding: 5px 15px;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 1;
}
.badge-venta    { background: linear-gradient(135deg, var(--gold-light), var(--gold-dark)); color: var(--black); }
.badge-arriendo { background: linear-gradient(135deg, #4A90E2, #2C6FBF); color: var(--white); }

.property-wishlist {
  position: absolute;
  top: 16px; right: 16px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(10,10,10,0.75);
  border: 1px solid var(--white-20);
  color: var(--white-60);
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans);
  backdrop-filter: blur(10px);
}
.property-wishlist:hover {
  color: #e74c3c;
  background: rgba(10,10,10,0.95);
}

.property-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.property-price {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}

.property-title {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.35;
}

.property-location {
  font-size: 0.8rem;
  color: var(--white-60);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.property-meta {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--white-08);
  border-bottom: 1px solid var(--white-08);
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--white-60);
}

.property-desc {
  font-size: 0.84rem;
  color: var(--white-60);
  line-height: 1.65;
  margin-bottom: 14px;
  flex: 1;
}

.property-admin {
  font-size: 0.76rem;
  color: var(--gray-lt);
  margin-bottom: 20px;
}

.property-footer {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: auto;
}

.btn-card {
  flex: 1;
  padding: 11px 18px;
  background: var(--dark-3);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--trans);
  text-align: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.btn-card:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.btn-card-wa {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 11px 16px;
  background: rgba(37,211,102,0.12);
  border: 1px solid rgba(37,211,102,0.28);
  color: #25D366;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--trans);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.btn-card-wa:hover { background: rgba(37,211,102,0.22); }

/* Tarjeta placeholder */
.property-card-placeholder {
  background: var(--dark-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--white-08);
  position: relative;
  min-height: 420px;
}
.placeholder-img {
  height: 248px;
  background: var(--dark-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: var(--dark-4);
}
.placeholder-body { padding: 26px; }
.placeholder-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.72);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  backdrop-filter: blur(6px);
}
.placeholder-tag {
  padding: 9px 26px;
  border: 1px solid rgba(201,168,76,0.38);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.placeholder-desc {
  font-size: 0.8rem;
  color: var(--white-60);
}

/* Sin resultados */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: var(--white-60);
}
.no-results-icon { font-size: 3rem; margin-bottom: 20px; }
.no-results p:first-of-type { font-size: 1.1rem; margin-bottom: 8px; color: var(--white-80); }
.no-results p:last-of-type  { font-size: 0.9rem; }

/* ===== GALERÍA ===== */
.gallery-section {
  padding: 110px 0;
  background: var(--dark-2);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: var(--dark-3);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}
.gallery-item:hover img { transform: scale(1.09); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans);
}
.gallery-item:hover .gallery-overlay { background: rgba(0,0,0,0.42); }

.gallery-overlay-icon {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  font-size: 1.2rem;
  opacity: 0;
  transform: scale(0.6);
  transition: var(--trans);
}
.gallery-item:hover .gallery-overlay-icon {
  opacity: 1;
  transform: scale(1);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}
.lightbox.active { display: flex; }

.lightbox-image-wrapper {
  max-width: 90vw;
  max-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img {
  max-width: 100%;
  max-height: 86vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 40px 120px rgba(0,0,0,0.85);
}

.lightbox-close {
  position: fixed;
  top: 20px; right: 20px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--white-20);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans);
  z-index: 10000;
}
.lightbox-close:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--white-20);
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans);
  z-index: 10000;
  line-height: 1;
}
.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }
.lightbox-nav:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }

.lightbox-counter {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.82rem;
  color: var(--white-60);
  letter-spacing: 0.12em;
}

/* ===== NOSOTROS ===== */
.about-section {
  padding: 110px 0;
  background: var(--black);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

.about-desc {
  font-size: 1.05rem;
  color: var(--white-60);
  line-height: 1.82;
  margin-bottom: 44px;
}
.about-desc strong { color: var(--gold); }

.about-features {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.feature-icon {
  font-size: 2rem;
  min-width: 50px;
  text-align: center;
  margin-top: 2px;
}
.feature-item h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 5px;
}
.feature-item p {
  font-size: 0.88rem;
  color: var(--white-60);
  line-height: 1.65;
}

.about-visual { display: flex; justify-content: center; }

.about-card {
  background: var(--dark-2);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl);
  padding: 52px 44px;
  text-align: center;
  max-width: 340px;
  width: 100%;
  box-shadow: var(--shadow-gold);
  position: relative;
}
.about-card::before {
  content: '';
  position: absolute;
  top: -1px; left: 18%; right: 18%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 2px;
}
.about-logo {
  width: 108px; height: 108px;
  object-fit: contain;
  margin: 0 auto 24px;
  border-radius: 50%;
}
.about-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
}
.about-card > p {
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.about-stats {
  display: flex;
  justify-content: center;
  gap: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--white-08);
}
.about-stats div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.about-stats strong {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--gold);
}
.about-stats span {
  font-size: 0.7rem;
  color: var(--white-60);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ===== CONTACTO ===== */
.contact-section {
  padding: 110px 0;
  background: var(--dark-2);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}

.contact-item {
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--white-08);
}
.contact-icon {
  font-size: 1.5rem;
  min-width: 46px;
  text-align: center;
}
.contact-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white-60);
  margin-bottom: 5px;
}
.contact-value {
  font-size: 0.98rem;
  color: var(--white);
  font-weight: 500;
  transition: var(--trans);
}
.contact-value:hover { color: var(--gold); }

.btn-whatsapp-large {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 20px;
  background: #25D366;
  color: var(--white);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 700;
  transition: var(--trans);
  margin-top: 36px;
  letter-spacing: 0.04em;
}
.btn-whatsapp-large:hover {
  background: #1fb95a;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37,211,102,0.42);
}

/* Formulario */
.contact-form {
  background: var(--dark-3);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-xl);
  padding: 44px;
}

.form-group { margin-bottom: 22px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 22px;
}
.form-row .form-group { margin-bottom: 0; }

label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-60);
  margin-bottom: 9px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  background: var(--dark-4);
  border: 1px solid var(--white-08);
  border-radius: var(--radius);
  color: var(--white);
  padding: 13px 16px;
  font-size: 0.9rem;
  outline: none;
  transition: var(--trans);
  resize: vertical;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201,168,76,0.13);
}
input::placeholder,
textarea::placeholder { color: var(--gray); }

input.error, textarea.error { border-color: #e74c3c; }

.form-success {
  display: none;
  text-align: center;
  padding: 16px;
  background: rgba(37,211,102,0.1);
  border: 1px solid rgba(37,211,102,0.3);
  border-radius: var(--radius);
  color: #25D366;
  font-weight: 600;
  margin-top: 18px;
  font-size: 0.9rem;
}
.form-success.visible { display: block; }

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
}

.footer-top-line {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  padding: 64px 0 44px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-brand img { height: 62px; width: auto; object-fit: contain; }
.footer-brand h3 { font-family: var(--font-serif); font-size: 1.2rem; color: var(--white); line-height: 1.35; }
.footer-brand p  { font-size: 0.85rem; color: var(--white-60); }

.footer-links h4,
.footer-social h4 {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  font-weight: 600;
}

.footer-links ul { display: flex; flex-direction: column; gap: 11px; }
.footer-links a {
  font-size: 0.9rem;
  color: var(--white-60);
  transition: var(--trans);
}
.footer-links a:hover { color: var(--gold); padding-left: 6px; }

.social-icons {
  display: flex;
  gap: 12px;
  margin-bottom: 26px;
}

.social-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--dark-2);
  border: 1px solid var(--white-08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-60);
  transition: var(--trans);
}
.social-icon:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact a {
  font-size: 0.83rem;
  color: var(--white-60);
  transition: var(--trans);
}
.footer-contact a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--white-08);
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: 0.78rem; color: var(--white-60); }

/* ===== ANIMACIONES ===== */
.fade-in {
  animation: fadeInUp 1s var(--ease) both;
}

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

.fade-in-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE — 768px ===== */
@media (min-width: 768px) {
  .nav-links    { display: flex; }
  .nav-toggle   { display: none; }

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

  .about-grid   { grid-template-columns: 1fr 1fr; gap: 80px; }

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

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

  .stat-divider { display: block; }
}

/* ===== RESPONSIVE — 1024px ===== */
@media (min-width: 1024px) {
  .properties-grid { grid-template-columns: repeat(3, 1fr); }

  .filters-bar { flex-wrap: nowrap; }
}

/* ===== MOBILE (<768px) ===== */
@media (max-width: 767px) {
  .nav-links {
    position: fixed;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px 24px 32px;
    gap: 22px;
    border-bottom: 1px solid var(--gold-border);
    transform: translateY(-110%);
    transition: transform 0.32s var(--ease);
    pointer-events: none;
  }
  .nav-links.open {
    display: flex;
    transform: translateY(0);
    pointer-events: all;
  }

  .stat-divider { display: none; }
  .stats-container { gap: 0; }
  .stat-item { flex: 1 1 50%; padding: 14px 16px; }

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

  .form-row { grid-template-columns: 1fr; }

  .contact-form { padding: 26px 20px; }

  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }

  .footer-bottom { flex-direction: column; text-align: center; }

  .about-grid { gap: 40px; }

  .filters-bar { padding: 22px 20px; }
}
