/* ============================================================
   ALTARA GROUP — SOVEREIGN EDITORIAL v2.0
   Santiago, Chile
   ============================================================ */

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

:root {
  --bg:           #0A0E1A;
  --surface-low:  #171B28;
  --surface-high: #262A37;
  --gold:         #C9A84C;
  --gold-light:   #E6C364;
  --on-gold:      #2A1F00;
  --gray:         #9B9B8E;
  --white:        #F0EDE6;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Outfit', 'Manrope', sans-serif;

  --nav-h:  72px;
  --pad-v:  7rem;
  --pad-h:  6%;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: var(--font-sans); cursor: pointer; }

/* ── TYPOGRAPHY ── */
.display-lg {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.headline-md {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  font-weight: 300;
  line-height: 1.3;
}

.body-md {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--gray);
}

.eyebrow {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem 0 2.5rem;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: var(--gold);
  color: var(--on-gold);
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  border-radius: 0;
  transition: background 0.25s, border-color 0.25s;
}

.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); }

.btn-ghost {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: transparent;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  border-radius: 0;
  transition: background 0.25s, color 0.25s;
}

.btn-ghost:hover { background: rgba(201,168,76,0.1); color: var(--gold); }

.btn-sm { padding: 0.5rem 1rem; font-size: 0.58rem; letter-spacing: 0.1em; }

.btn-danger {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: transparent;
  color: #c25c5c;
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid #c25c5c;
  border-radius: 0;
  transition: background 0.25s;
}

.btn-danger:hover { background: rgba(194,92,92,0.1); }

/* ── ADMIN ── */
.admin-bar {
  display: none;
  background: var(--surface-high);
  border-bottom: 1px solid var(--gold);
  padding: 0.6rem var(--pad-h);
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: var(--nav-h);
  z-index: 150;
}

body.admin-mode .admin-bar { display: flex; }

.admin-bar-label {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.admin-badge {
  display: none;
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--on-gold);
  padding: 0.15rem 0.45rem;
  font-weight: 700;
  margin-left: 0.5rem;
  vertical-align: middle;
}

body.admin-mode .admin-badge { display: inline-block; }

.admin-add-btn { display: none !important; }
body.admin-mode .admin-add-btn { display: inline-flex !important; }

.listing-admin { display: none !important; }
body.admin-mode .listing-admin { display: flex !important; }

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad-h);
  background: rgba(10, 14, 26, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gold);
  transition: background 0.3s;
}

nav.scrolled { background: rgba(10, 14, 26, 0.96); }

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  white-space: nowrap;
  transition: color 0.25s;
}

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

.nav-cta { padding: 0.5rem 1.1rem !important; font-size: 0.58rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  z-index: 210;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--white);
  transition: transform 0.35s, opacity 0.35s;
}

.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 190;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 var(--pad-h);
  gap: 1.8rem;
  list-style: none;
  border-top: 1px solid var(--gold);
  overflow-y: auto;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 300;
  color: var(--white);
  transition: color 0.25s;
}

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

/* ── HERO (full page) ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 4rem) var(--pad-h) 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 80% 35%, rgba(201,168,76,0.05) 0%, transparent 70%),
    radial-gradient(ellipse 30% 40% at 5% 80%, rgba(201,168,76,0.03) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner { max-width: 680px; position: relative; z-index: 1; }

.hero-bg-text {
  position: absolute;
  right: -1%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: clamp(6rem, 16vw, 14rem);
  font-weight: 300;
  color: rgba(201,168,76,0.025);
  letter-spacing: 0.1em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  right: var(--pad-h);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--gray);
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

/* ── INNER PAGE HERO ── */
.page-hero {
  padding: calc(var(--nav-h) + 5rem) var(--pad-h) 5rem;
  border-bottom: 1px solid var(--gold);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 85% 50%, rgba(201,168,76,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-inner { max-width: 560px; position: relative; }

/* ── SECTIONS ── */
section { padding: var(--pad-v) var(--pad-h); }
.surface-low  { background: var(--surface-low); }
.surface-high { background: var(--surface-high); }

/* ── STAT BAR ── */
.stat-bar {
  display: grid;
  background: var(--surface-low);
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}

.stat-col {
  padding: 2.2rem var(--pad-h);
  position: relative;
}

.stat-col::after {
  content: '';
  position: absolute;
  top: 20%; right: 0;
  height: 60%;
  width: 1px;
  background: rgba(201,168,76,0.25);
}

.stat-col:last-child::after { display: none; }

.stat-label-sm {
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.5rem;
}

.stat-val {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.stat-val-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.02em;
}

/* ── UNIT CARDS (Home) ── */
.units-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(201,168,76,0.1);
  margin-top: 3rem;
}

.unit-card {
  background: var(--surface-low);
  padding: 2.5rem 2rem;
  border-top: 2px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.unit-card:not(.disabled):hover {
  border-top-color: var(--gold);
  background: var(--surface-high);
}

.unit-card.disabled { opacity: 0.35; cursor: default; }

.unit-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 1.5rem;
  opacity: 0.65;
}

.unit-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.unit-tag {
  font-size: 0.72rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.unit-link {
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  transition: color 0.25s;
}

.unit-link:hover { color: var(--gold-light); }

.unit-soon {
  display: inline-block;
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 0.2rem 0.5rem;
  margin-top: 0.5rem;
}

/* ── WHY ALTARA ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 3rem;
}

.why-col {
  border-top: 2px solid var(--gold);
  padding: 2.5rem 2.5rem 2.5rem 0;
}

.why-col:not(:first-child) { padding-left: 2.5rem; border-left: none; }

.why-num {
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 300;
  color: rgba(201,168,76,0.07);
  line-height: 1;
  margin-bottom: 1rem;
}

.why-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.6rem;
  letter-spacing: 0.03em;
}

.why-body {
  font-size: 0.78rem;
  color: var(--gray);
  line-height: 1.8;
}

/* ── SERVICE CARDS (Legal / Media) ── */
.services-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(201,168,76,0.1);
  margin-top: 3rem;
}

.service-card {
  background: var(--surface-low);
  padding: 2.2rem 2rem;
  border-bottom: 2px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}

.service-card:hover {
  background: var(--surface-high);
  border-bottom-color: var(--gold);
}

.service-card-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.45rem;
}

.service-card-desc {
  font-size: 0.75rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ── LISTING CARDS (Properties / Motors / Media) ── */
.listings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.listings-count {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--white);
}

.listings-count span { color: var(--gold); }

.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(201,168,76,0.1);
}

.listing-card {
  background: var(--surface-low);
  display: flex;
  flex-direction: column;
  transition: background 0.3s;
}

.listing-card:hover { background: var(--surface-high); }

.listing-photo {
  height: 220px;
  background: linear-gradient(145deg, #1a1f30 0%, #0d1120 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.listing-photo-icon { opacity: 0.1; }

.listing-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  border-radius: 0;
}

.badge-gold    { background: var(--gold); color: var(--on-gold); }
.badge-outline { background: transparent; border: 1px solid var(--gold); color: var(--gold); }
.badge-gray    { background: transparent; border: 1px solid var(--gray); color: var(--gray); }

.listing-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.listing-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.listing-desc {
  font-size: 0.75rem;
  color: var(--gray);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1rem;
}

.listing-price {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.listing-meta {
  font-size: 0.65rem;
  color: var(--gray);
  letter-spacing: 0.04em;
}

.listing-admin {
  padding: 0 1.5rem 1.5rem;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* ── MEDIA PORTFOLIO ── */
.media-thumb {
  height: 180px;
  background: linear-gradient(145deg, #1a1f30 0%, #0d1120 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border: 1px solid rgba(201,168,76,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
}

.media-category {
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-top: 1rem;
  margin-bottom: 0.3rem;
}

.media-card {
  background: var(--surface-low);
  transition: background 0.3s;
}

.media-card:hover { background: var(--surface-high); }

.media-card-body { padding: 0 1.5rem 1.5rem; }

/* ── VALUES LIST (Nosotros) ── */
.values-list { margin-top: 1rem; }

.value-item {
  display: flex;
  gap: 1rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid rgba(201,168,76,0.1);
}

.value-item:first-child { padding-top: 0; }

.value-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.38rem;
}

.value-item-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.4rem;
  letter-spacing: 0.04em;
}

.value-item-body {
  font-size: 0.78rem;
  color: var(--gray);
  line-height: 1.75;
}

/* ── CONTACT INFO ── */
.ci-rows { margin-top: 1.5rem; }

.ci-row {
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(201,168,76,0.12);
}

.ci-row:first-child { padding-top: 0; }

.ci-label {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.ci-value {
  font-size: 0.875rem;
  color: var(--white);
}

.ci-value a { transition: color 0.25s; }
.ci-value a:hover { color: var(--gold); }

/* ── FORM ── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
}

.form-full { grid-column: 1 / -1; }

.form-field { display: flex; flex-direction: column; gap: 0.45rem; }

.form-field label {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}

.form-field input,
.form-field textarea,
.form-field select {
  background: var(--surface-high);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.25s;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(155,155,142,0.4); }

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: var(--gold); }

.form-field textarea { resize: vertical; min-height: 130px; }
.form-field select option { background: var(--surface-high); }

.form-success {
  display: none;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-top: 1rem;
}

/* ── MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 26, 0.88);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.modal-overlay.open { opacity: 1; pointer-events: auto; }

.modal {
  background: var(--surface-low);
  border: 1px solid var(--gold);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  padding: 1.8rem 2rem;
  border-bottom: 1px solid rgba(201,168,76,0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--white);
}

.modal-close {
  background: none;
  border: none;
  color: var(--gray);
  font-size: 1.4rem;
  line-height: 1;
  padding: 0;
  transition: color 0.2s;
}

.modal-close:hover { color: var(--white); }

.modal-body { padding: 2rem; }
.modal-body .form-grid { gap: 1.2rem 1.5rem; }

.modal-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(201,168,76,0.15);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

/* ── SPLIT LAYOUT ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.split-image-wrap { position: relative; }

.split-image-wrap::after {
  content: '';
  position: absolute;
  top: -1.2rem; right: -1.2rem;
  bottom: 1.2rem; left: 1.2rem;
  border: 1px solid rgba(201,168,76,0.18);
  pointer-events: none;
}

.split-placeholder {
  aspect-ratio: 4 / 5;
  background: var(--surface-high);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.split-placeholder svg { opacity: 0.18; }
.split-placeholder p {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--surface-high);
  padding: 5rem var(--pad-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}

.cta-banner-actions { display: flex; gap: 1rem; flex-wrap: wrap; flex-shrink: 0; }

/* ── EMPTY STATE ── */
.empty-state {
  grid-column: 1 / -1;
  padding: 5rem 2rem;
  text-align: center;
}

.empty-state p { font-size: 0.82rem; color: var(--gray); }

/* ── FOOTER ── */
footer {
  background: var(--surface-low);
  border-top: 1px solid var(--gold);
  padding: 5rem var(--pad-h) 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(201,168,76,0.1);
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--gray);
  line-height: 1.85;
  max-width: 240px;
}

.footer-institutional {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(201,168,76,0.45);
  margin-top: 1.2rem;
  line-height: 1.6;
  max-width: 240px;
}

.footer-col h4 {
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.65rem; }

.footer-col a {
  font-size: 0.75rem;
  color: var(--gray);
  transition: color 0.25s;
}

.footer-col a:hover { color: var(--white); }
.footer-col p { font-size: 0.75rem; color: var(--gray); line-height: 1.7; }

.footer-link-disabled {
  font-size: 0.75rem;
  color: rgba(155,155,142,0.3);
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  color: var(--gray);
}

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── KEYFRAMES ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 1; }
}

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
  :root { --pad-h: 5%; }
  .units-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-col:nth-child(3),
  .why-col:nth-child(4) { margin-top: 0; }
}

@media (max-width: 840px) {
  :root { --pad-v: 5rem; }
  .split { grid-template-columns: 1fr; gap: 3rem; }
  .split-image-wrap::after { display: none; }
  .services-3col { grid-template-columns: 1fr 1fr; }
  .listings-grid { grid-template-columns: 1fr 1fr; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .units-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .why-col {
    border-top: none;
    border-left: 2px solid var(--gold);
    padding: 1.2rem 0 1.2rem 1.5rem;
  }
}

@media (max-width: 560px) {
  :root { --pad-h: 5%; }
  .services-3col,
  .listings-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-scroll,
  .hero-bg-text { display: none; }
  .stat-bar { overflow-x: auto; }
  .modal-overlay { padding: 1rem; }
  .units-grid { grid-template-columns: 1fr 1fr; }
}
