/* ================================================================
   RESIDENCIAS SAN ANTONIO – LANDING CSS (v2 – Diseño Frontend Pro)
   Estética: Lujo Refinado / Editorial / Art Déco suave
   Fuentes: Cormorant Garamond (display) + DM Sans (cuerpo)
   Paleta extraída del logo:
     copper  → #8A5A2B   dark copper → #6B4320
     gold    → #C9943A   gold-light  → #E4B86A
     espresso→ #1C0F04   dark bg     → #130A02
     cream   → #F7F1E8   sand        → #EDE3D4
================================================================ */

:root {
  --copper:     #8A5A2B;
  --copper-dk:  #6B4320;
  --gold:       #C9943A;
  --gold-lt:    #E4B86A;
  --espresso:   #1C0F04;
  --dark-bg:    #130A02;
  --cream:      #F7F1E8;
  --sand:       #EDE3D4;
  --white:      #FFFFFF;
  --muted:      #7A6654;

  --radius-sm:  6px;
  --radius-md:  14px;
  --radius-lg:  22px;
  --shadow-sm:  0 4px 18px rgba(28,15,4,.12);
  --shadow-md:  0 10px 40px rgba(28,15,4,.22);
  --shadow-lg:  0 24px 72px rgba(28,15,4,.32);
  --ease:       cubic-bezier(.4,0,.2,1);
  --dur:        .4s;

  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'DM Sans', system-ui, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--espresso);
  overflow-x: hidden;
  line-height: 1.75;
}
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
strong { font-weight: 700; }
em { font-style: italic; }

/* ── Helpers ── */
.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--gold-lt); }

.section-heading {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--espresso);
  margin-bottom: 20px;
}
.section-heading--light { color: var(--white); }
.section-heading em { font-style: italic; font-weight: 400; color: var(--copper); }
.section-heading--light em { color: var(--gold-lt); }

.ornament-line {
  width: 48px; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 28px;
}
.ornament-line--gold { background: linear-gradient(90deg, var(--gold-lt), transparent); }

.section-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.7);
  max-width: 800px;
  margin: 0 auto;
}
.body-text { font-size: .97rem; color: var(--muted); margin-bottom: 18px; line-height: 1.8; }

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--copper);
  color: var(--white);
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 16px 40px;
  border: 2px solid var(--copper);
  border-radius: var(--radius-sm);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn-primary:hover {
  background: var(--copper-dk);
  border-color: var(--copper-dk);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(138,90,43,.35);
}
.btn-primary.btn-sm  { padding: 12px 28px; font-size: .76rem; }
.btn-primary.btn-wide { width: 100%; text-align: center; margin-top: 32px; }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 16px 40px;
  border: 2px solid rgba(255,255,255,.55);
  border-radius: var(--radius-sm);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); }

/* ── Grain Overlay ── */
.grain-overlay {
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: .032;
  mix-blend-mode: overlay;
}

/* ── Reveal Animation ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.reveal--delay { transition-delay: .18s; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ================================================================
   NAVBAR
================================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  transition: background var(--dur) var(--ease), padding var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.navbar.is-scrolled {
  background: rgba(19,10,2,.93);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  padding: 10px 0;
  box-shadow: 0 2px 24px rgba(0,0,0,.45);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo in navbar – direct img with white bg for contrast on dark header */
#nav-logo-img {
  height: 130px;
  width: auto;
  object-fit: contain;
  display: block;
  background: var(--cream);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: height var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
#nav-logo-img:hover { opacity: .88; }
.navbar.is-scrolled #nav-logo-img { height: 90px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  position: relative;
  transition: color var(--dur) var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -5px; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width var(--dur) var(--ease);
}
.nav-links a:hover { color: var(--gold-lt); }
.nav-links a:hover::after { width: 100%; }
.nav-links .nav-cta {
  background: var(--copper);
  color: var(--white) !important;
  padding: 10px 26px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--copper);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { background: var(--copper-dk); border-color: var(--copper-dk); transform: translateY(-2px); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 6px;
}
.hamburger span { display: block; width: 28px; height: 2px; background: var(--white); border-radius: 2px; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   HERO
================================================================ */
.hero {
  position: relative;
  height: 100vh; min-height: 680px;
  display: flex; align-items: flex-end;
  overflow: hidden;
}

.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-vignette {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(19,10,2,.25) 0%,
    rgba(19,10,2,.1)  40%,
    rgba(19,10,2,.65) 75%,
    rgba(19,10,2,.92) 100%
  );
}

.hero-content {
  position: relative; z-index: 2;
  padding: 0 64px 100px;
  max-width: 900px;
}
.hero-eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-lt);
  display: block;
  margin-bottom: 20px;
}
.hero-heading {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 300;
  line-height: 1;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -.01em;
}
.hero-heading-line { display: block; }
.hero-heading-italic {
  display: block;
  font-style: italic;
  font-weight: 600;
  color: var(--gold-lt);
  font-size: clamp(3.5rem, 9vw, 8rem);
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.72);
  font-weight: 300;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* scroll indicator (bottom left) */
.hero-scroll {
  position: absolute; z-index: 3;
  bottom: 44px; left: 32px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.hero-scroll span {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  writing-mode: vertical-rl;
}
.hero-scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: .5; }
  50%       { transform: scaleY(1.3); opacity: 1; }
}

/* ================================================================
   BAND TICKER
================================================================ */
.band {
  overflow: hidden;
  background: var(--espresso);
  padding: 14px 0;
  border-top: 1px solid rgba(201,148,58,.2);
  border-bottom: 1px solid rgba(201,148,58,.2);
}
.band-track {
  display: flex; gap: 40px; align-items: center;
  white-space: nowrap; will-change: transform;
}
.band-track span {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.band-sep { color: var(--gold) !important; opacity: .7; }

/* ================================================================
   ABOUT / NOSOTROS
================================================================ */
.about {
  padding: 130px 0;
}
.about-layout {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}

/* Images - building only, full height */
.about-visuals { position: relative; }
.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 580px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }


.about-img-badge {
  position: absolute; bottom: 28px; left: 28px;
  background: var(--espresso);
  border: 1px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 14px 22px;
  display: flex; flex-direction: column; align-items: center;
  gap: 2px;
}
.badge-num {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.badge-lbl {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
/* accent image removed */

/* Text */
.about-body { padding-left: 0; }
.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.pillar-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--gold);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.pillar-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.pillar-icon { font-size: 1.2rem; color: var(--gold); margin-bottom: 10px; }
.pillar-card h3 {
  font-family: var(--serif);
  font-size: 1.2rem; font-weight: 700;
  color: var(--espresso); margin-bottom: 8px;
}
.pillar-card p { font-size: .88rem; color: var(--muted); line-height: 1.65; }

/* ================================================================
   STATS RIBBON
================================================================ */
.stats-ribbon {
  background: var(--espresso);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}
.stats-ribbon::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(138,90,43,.25) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 50%, rgba(201,148,58,.15) 0%, transparent 55%);
  pointer-events: none;
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
}
.stat-block {
  display: flex; flex-direction: column; align-items: center;
  padding: 12px 64px; text-align: center;
}
.stat-n {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-l {
  font-size: .75rem; 
  font-weight: 700;
  letter-spacing: .25em; 
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.stat-rule {
  width: 1px; height: 56px;
  background: rgba(255,255,255,.12);
}

/* ================================================================
   TEXT TICKER (CINTILLO)
================================================================ */
.text-ticker {
  background: #0d0d0d;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
  padding: 14px 0;
  position: relative;
  z-index: 10;
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: scroll-text 45s linear infinite;
  gap: 60px;
  width: max-content;
}
.ticker-track span {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-lt);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.ticker-dot {
  color: var(--gold);
  opacity: 0.5;
  font-size: 1.1rem;
}
@keyframes scroll-text {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .ticker-track { gap: 40px; animation-duration: 30s; }
  .ticker-track span { font-size: 0.75rem; }
}

/* ================================================================
   APARTMENTS
================================================================ */
.apartments {
  padding: 130px 0;
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
}
.apartments::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 10% 80%, rgba(138,90,43,.18) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 20%, rgba(201,148,58,.1)  0%, transparent 50%);
  pointer-events: none;
}
.apt-header {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
  text-align: center;
  margin-bottom: 72px;
}

.apt-cards {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 64px;
}
.apt-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  backdrop-filter: blur(4px);
}
.apt-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(201,148,58,.3); }
/* Apartment card header - decorative panel, no photo */
.apt-card-header {
  position: relative;
  overflow: hidden;
  padding: 48px 36px 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: flex-end;
  min-height: 200px;
}
.apt-card-header--doble, .apt-card-header--simple { background: var(--dark-bg); }
.apt-card-header--doble::before,
.apt-card-header--simple::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 0%, rgba(19,10,2,.85) 100%);
}
.apt-card-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.75;
  transition: transform 1.2s var(--ease), opacity var(--dur) var(--ease);
}
.apt-card:hover .apt-card-video {
  transform: scale(1.08); opacity: 1;
}
/* Large ghost number behind content */
.apt-ghost-num {
  font-family: var(--serif);
  font-size: 10rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(255,255,255,.04);
  position: absolute;
  top: -10px; right: 16px;
  pointer-events: none;
  user-select: none;
  letter-spacing: -.04em;
}
.apt-header-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.apt-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--dark-bg);
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 30px;
  align-self: flex-start;
  margin-bottom: 4px;
}
.apt-card-body { padding: 32px; }
.apt-card-header h3 {
  font-family: var(--serif);
  font-size: 2rem; font-weight: 600;
  color: var(--white);
  line-height: 1.1;
}
.apt-card-header .apt-units {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-lt);
  opacity: .8;
}
.apt-type-row { display: none; }
.apt-type-row h3 {
  font-family: var(--serif);
  font-size: 1.7rem; font-weight: 600;
  color: var(--white);
}
.apt-units {
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold);
}
.apt-list { margin-bottom: 28px; }
.apt-list li {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex; align-items: center; gap: 10px;
}
.apt-list li::before { content: '—'; color: var(--gold); font-size: .8rem; flex-shrink: 0; }
.apt-list li:last-child { border-bottom: none; }

/* ================================================================
   FEATURED PENTHOUSE
================================================================ */
.ph-featured {
  max-width: 1240px;
  margin: 100px auto;
  padding: 0 48px;
}
.ph-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  background: var(--dark-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(201,148,58,.15);
}
.ph-visual {
  position: relative;
  min-height: 500px;
}
.ph-visual video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.ph-video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(19,10,2,0) 0%, rgba(19,10,2,.9) 100%);
  z-index: 1;
}
.ph-content {
  padding: 64px 60px;
  display: flex; flex-direction: column;
  justify-content: center;
  position: relative; z-index: 2;
  background: rgba(19,10,2,.8);
  backdrop-filter: blur(10px);
}
.ph-title {
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.1;
}
.underline-gold {
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}
.underline-gold::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 80px; height: 2px; background: var(--gold);
}
.ph-intro {
  font-size: 1.1rem;
  color: var(--gold-lt);
  margin-bottom: 16px;
  font-weight: 500;
}
.ph-desc {
  font-size: .95rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 32px;
  line-height: 1.7;
}
.ph-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.ph-feat {
  font-size: .85rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
}
.ph-feat span {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 2px;
}
.ph-amenities {
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.ph-amenities li {
  font-size: .9rem;
  color: rgba(255,255,255,.75);
  display: flex; align-items: center; gap: 10px;
}
.ph-amenities li::before {
  content: '✦'; color: var(--gold); font-size: .7rem;
}
.ph-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: rgba(255,255,255,.4);
  margin-bottom: 40px;
  padding-left: 24px;
  border-left: 2px solid var(--gold);
}

/* Uniform Mosaic Grid */
.apt-mosaic {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.mosaic-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-sm);
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
  cursor: pointer;
}

.mosaic-item:hover img {
  transform: scale(1.1);
}

@media (max-width: 1024px) {
  .apt-mosaic {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .apt-mosaic {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}



/* ================================================================
   SERVICES
================================================================ */
.services {
  padding: 130px 0;
  background: var(--sand);
}
.svc-layout {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 96px;
  align-items: start;
}
.svc-intro { position: sticky; top: 100px; }
.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(138,90,43,.1);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(138,90,43,.15);
}
.svc-item {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 28px 24px;
  background: var(--white);
  transition: background var(--dur) var(--ease);
}
.svc-item:hover { background: var(--cream); }
/* Service icons – Lucide SVG line icons */
.svc-ico {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sand);
  border-radius: 10px;
  border: 1px solid rgba(138,90,43,.18);
  color: var(--copper);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
  margin-top: 2px;
}
.svc-ico svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.svc-item:hover .svc-ico {
  background: var(--copper);
  color: var(--white);
  border-color: var(--copper);
}
.svc-item h4 {
  font-family: var(--serif);
  font-size: 1.1rem; font-weight: 700;
  color: var(--espresso);
  margin-bottom: 4px;
}
.svc-item p { font-size: .85rem; color: var(--muted); line-height: 1.55; }

/* ================================================================
   INSTAGRAM BANNER
================================================================ */
.insta-banner {
  display: block; position: relative; text-decoration: none; overflow: hidden;
  height: 280px; background: var(--dark-bg);
  border-top: 2px solid rgba(201,148,58,.15);
  border-bottom: 2px solid rgba(201,148,58,.15);
}
.insta-header {
  position: absolute; inset: 0; z-index: 10;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: var(--white);
  background: rgba(19, 10, 2, 0.65);
  transition: background 0.6s var(--ease);
}
.insta-banner:hover .insta-header { background: rgba(19, 10, 2, 0.35); }
.insta-header i { width: 36px; height: 36px; margin-bottom: 12px; color: var(--gold-lt); }
.insta-header h3 { font-family: var(--serif); font-size: 2.2rem; margin-bottom: 6px; }
.insta-header span { font-size: 1.05rem; font-weight: 500; letter-spacing: 0.05em; color: rgba(255,255,255,.7); }

.strip-gallery {
  display: flex; height: 100%; width: 100%; overflow: hidden;
}
.strip-track {
  display: flex; height: 100%; gap: 10px; will-change: transform;
}
.strip-track img {
  flex: 0 0 auto; width: 260px; height: 100%; object-fit: cover;
  opacity: .4; transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.insta-banner:hover .strip-track img { opacity: .75; transform: scale(1.05); }

/* ================================================================
   SURROUNDINGS
================================================================ */
.surroundings {
  padding: 130px 0;
  background: var(--cream);
  border-top: 1px solid rgba(138,90,43,.12);
}
.surr-layout {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 100px;
  align-items: start;
}
.surr-intro {
  position: sticky;
  top: 130px;
}
.surr-intro .section-sub {
  color: var(--muted);
  max-width: 100%;
  margin: 0;
}
.surr-directory {
  display: flex;
  flex-direction: column;
}
.dir-item {
  display: flex;
  gap: 48px;
  padding: 48px 0;
  border-bottom: 1px solid rgba(138,90,43,.15);
  transition: padding-left var(--dur) var(--ease);
}
.dir-item:first-child { padding-top: 0; }
.dir-item:last-child { border-bottom: none; padding-bottom: 0; }
.dir-item:hover { padding-left: 20px; }

.dir-num {
  font-family: var(--serif);
  font-size: 3.2rem;
  color: var(--gold);
  line-height: .9;
  font-style: italic;
  opacity: .5;
}
.dir-content h3 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--espresso);
  margin-bottom: 14px;
}
.dir-content p {
  font-size: .95rem;
  color: var(--muted);
  margin-bottom: 10px;
  line-height: 1.6;
}
.dir-content p:last-child { margin-bottom: 0; }
.dir-content ul { list-style: none; padding: 0; margin: 0; }
.dir-content li {
  font-size: .95rem;
  color: var(--muted);
  margin-bottom: 8px;
  position: relative;
  padding-left: 18px;
}
.dir-content li::before {
  content: '✦';
  position: absolute;
  left: 0; top: 1px;
  color: var(--copper);
  font-size: .8rem;
  opacity: .7;
}

/* ================================================================
   CONTACT
================================================================ */
.contact {
  padding: 130px 0;
  background: var(--sand);
}
.contact-layout {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 48px;
  align-items: start;
}
.contact-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
  position: sticky; top: 100px;
}

/* Logo in contact – show on white background naturally */
.contact-logo-box {
  margin-bottom: 32px;
  display: flex; justify-content: center;
}
.contact-logo-box img {
  height: 90px;
  width: auto;
  object-fit: contain;
}

.cinfo-row {
  border-bottom: 1px solid var(--sand);
  padding: 16px 0;
}
.cinfo-row:last-of-type { border-bottom: none; }
.cinfo-label {
  display: block;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px;
}
.cinfo-row p { font-size: .92rem; color: var(--muted); line-height: 1.8; }
.cinfo-row a { color: var(--copper); font-weight: 500; transition: color var(--dur) var(--ease); }
.cinfo-row a:hover { color: var(--gold); }

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative; /* Contexto para el botón flotante */
  min-height: 540px;
}
.contact-map iframe { width: 100%; height: 100%; min-height: 540px; border: none; display: block; }

/* Elegant Route Button Over Map */
.btn-map-video {
  position: absolute;
  bottom: 30px;
  right: 30px;
  z-index: 10;
  background: rgba(28,15,4,0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(228,184,106,0.3);
  padding: 14px 24px;
  border-radius: 50px;
  color: var(--gold-lt);
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--dur) var(--ease);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.btn-map-video:hover {
  background: var(--gold);
  color: var(--espresso);
  transform: translateY(-4px);
  border-color: transparent;
}
.btn-map-video i {
  width: 22px;
  height: 22px;
}

/* Modal Experience */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s var(--ease);
}
.modal.active {
  visibility: visible;
  opacity: 1;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(19,10,2,0.6);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}
.modal-wrap {
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 900px;
  transform: scale(0.9) translateY(40px);
  transition: all 0.6s var(--ease);
}
.modal.active .modal-wrap {
  transform: scale(1) translateY(0);
}
.modal-close {
  position: absolute;
  top: -60px;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
  transition: transform var(--dur) var(--ease);
}
.modal-close:hover {
  transform: rotate(90deg) scale(1.2);
  color: var(--gold);
}
.modal-video-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
  background: #000;
  line-height: 0;
}
.modal-video-container video {
  width: 100%;
  max-height: 80vh;
  display: block;
}

@media (max-width: 768px) {
  .btn-map-video {
    bottom: 20px;
    right: 20px;
    padding: 10px 18px;
    font-size: 0.8rem;
  }
}

/* ================================================================
   FOOTER
================================================================ */
.footer {
  background: var(--dark-bg);
  padding: 72px 48px 48px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute; top: 0; left: 48px; right: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .35;
}
.footer-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

/* Footer logo – on dark background, show in cream-tinted container */
.footer-logo-wrap {
  display: flex; justify-content: center;
  margin-bottom: 24px;
}
.footer-logo-wrap img {
  height: 90px;
  width: auto;
  object-fit: contain;
  background: var(--cream);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
}

.footer-tagline {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255,255,255,.45);
  margin-bottom: 36px;
}
.footer-nav {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 28px;
  margin-bottom: 40px;
}
.footer-nav a {
  font-size: .72rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: rgba(255,255,255,.38);
  transition: color var(--dur) var(--ease);
}
.footer-nav a:hover { color: var(--gold-lt); }
.footer-divider {
  height: 1px;
  background: rgba(255,255,255,.07);
  margin-bottom: 28px;
}
.footer-copy {
  font-size: .78rem;
  color: rgba(255,255,255,.22);
  line-height: 1.6;
}

/* ================================================================
   FLOATING WHATSAPP
================================================================ */
.floating-wa {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease;
  z-index: 9999;
}
.floating-wa svg {
  width: 32px;
  height: 32px;
}
.floating-wa:hover {
  transform: scale(1.1);
  background-color: #1EBE55;
  color: white;
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 1100px) {
  .about-layout   { grid-template-columns: 1fr; gap: 64px; }
  .about-visuals  { max-width: 540px; margin: 0 auto; }
  .about-img-main { height: 420px; }
  .about-img-accent { right: -20px; bottom: -20px; width: 175px; height: 205px; }
  .svc-layout     { grid-template-columns: 1fr; gap: 48px; }
  .svc-intro      { position: static; }
  .surr-layout    { grid-template-columns: 1fr; gap: 48px; }
  .surr-intro     { position: static; }
  .dir-item       { gap: 24px; flex-direction: column; padding: 40px 0; }
  .dir-item:hover { padding-left: 0; }
  .dir-num        { font-size: 2.2rem; margin-bottom: -16px; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-panel  { position: static; }
  .contact-map    { min-height: 380px; }
  .contact-map iframe { min-height: 380px; }
}
@media (max-width: 900px) {
  .apt-cards  { grid-template-columns: 1fr; }
  .apt-mosaic { grid-template-columns: repeat(3,1fr); grid-template-rows: auto; gap: 12px; }
  .stat-block { padding: 12px 32px; }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 300px; height: 100vh;
    background: var(--espresso);
    flex-direction: column; justify-content: center;
    gap: 24px; padding: 60px 40px;
    transition: right var(--dur) var(--ease);
    z-index: 999;
    border-left: 1px solid rgba(201,148,58,.15);
  }
  .nav-links.is-open  { right: 0; }
  .nav-links a { font-size: .9rem; }
  .hero-content  { padding: 0 32px 90px; }
  .hero-scroll   { left: 32px; }

  .about-layout, .contact-layout { padding: 0 24px; }
  .apt-header, .apt-cards, .apt-mosaic,
  .surr-header,  .surr-grid,
  .svc-layout    { padding: 0 24px; }
  .stats-ribbon  { padding: 40px 24px; }
  .surr-layout   { padding: 0 24px; }
  .svc-grid      { grid-template-columns: 1fr; }
  .footer        { padding: 60px 24px 40px; }
  
  /* Penthouse Mobile Optimization */
  .ph-featured .ph-layout { display: block !important; text-align: center !important; }
  .ph-featured .ph-visual { display: none !important; }
  .ph-featured .ph-content { padding: 40px 24px !important; text-align: center !important; }
  .ph-featured .ph-features-grid { justify-content: center !important; }
  .ph-featured .ph-amenities { display: inline-block !important; text-align: left !important; }
  
  .about, .apartments, .services, .surroundings, .contact { padding: 90px 0; }
}
@media (max-width: 480px) {
  .hero-heading  { font-size: 3.2rem; }
  .hero-heading-italic { font-size: 3.2rem; }
  .hero-actions  { flex-direction: column; align-items: flex-start; }
  .pillars       { grid-template-columns: 1fr; }
  .stat-rule     { display: none; }
  .stat-block    { padding: 20px 20px; }
}

/* ================================================================
   LIGHTBOX
================================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(19, 10, 2, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  transform: scale(0.95);
  transition: transform 0.4s var(--ease);
}
.lightbox.active .lightbox-content img {
  transform: scale(1);
}
.lightbox-caption {
  font-family: var(--serif);
  color: var(--gold-lt);
  font-size: 1.1rem;
  font-style: italic;
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: 40px;
  right: 40px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  z-index: 110;
  opacity: 0.6;
  transition: opacity 0.3s;
}
.lightbox-close:hover { opacity: 1; }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
  z-index: 105;
}
.lightbox-nav:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--espresso);
}
.lightbox-prev { left: 40px; }
.lightbox-next { right: 40px; }

@media (max-width: 768px) {
  .lightbox-nav { width: 44px; height: 44px; font-size: 1.2rem; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { top: 20px; right: 20px; }
}


