/* ==========================================================================
   CERCANÍAS 1 — Luxury Residences
   Tigre, Buenos Aires, Argentina
   ========================================================================== */

/* --------------------------------------------------------------------------
   CUSTOM PROPERTIES
   -------------------------------------------------------------------------- */
:root {
  /* Colours */
  --bg:           #06080E;
  --bg-deep:      #090C15;
  --bg-card:      #0E1521;
  --bg-med:       #131D2E;

  --gold:         #C9A96E;
  --gold-lt:      #DDB97E;
  --gold-dk:      #8A6F3A;
  --gold-border:  rgba(201, 169, 110, 0.22);
  --gold-glow:    rgba(201, 169, 110, 0.08);

  --ivory:        #F3ECD8;
  --ivory-muted:  #B8AD94;
  --white:        #FFFFFF;
  --text:         #E5DECA;
  --text-muted:   #7A7260;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-ui:      'Raleway', system-ui, sans-serif;

  /* Fluid scale */
  --fs-hero:   clamp(3.5rem, 9vw, 9.5rem);
  --fs-h1:     clamp(2.2rem, 5vw, 5.5rem);
  --fs-h2:     clamp(1.8rem, 3.5vw, 3.6rem);
  --fs-h3:     clamp(1.2rem, 2vw, 1.7rem);
  --fs-body:   clamp(0.875rem, 1.1vw, 1rem);
  --fs-sm:     0.8rem;
  --fs-label:  0.68rem;

  /* Spacing */
  --sp-xs:  0.5rem;
  --sp-sm:  1rem;
  --sp-md:  2rem;
  --sp-lg:  4.5rem;
  --sp-xl:  8rem;
  --sp-2xl: 14rem;

  /* Motion */
  --ease:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --trans:  0.6s var(--ease);
  --fast:   0.3s ease;

  /* Layout */
  --max-w:  1440px;
  --px:     clamp(1.5rem, 5vw, 5rem);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-loading { overflow: hidden; }

img { display: block; max-width: 100%; height: 100%; object-fit: cover; }
a   { text-decoration: none; color: inherit; }
button { cursor: pointer; background: none; border: none; font-family: inherit; }

/* --------------------------------------------------------------------------
   LOADER
   -------------------------------------------------------------------------- */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 1s ease, visibility 1s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader__name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ivory);
  margin-bottom: 2.5rem;
}
.loader__name span {
  color: var(--gold);
  font-weight: 500;
  font-variant-numeric: lining-nums;
}

.loader__bar {
  width: 160px;
  height: 1px;
  background: var(--gold-border);
  overflow: hidden;
}
.loader__bar-fill {
  height: 100%;
  background: var(--gold);
  width: 0;
  animation: loadBar 1.6s var(--ease) forwards;
}
@keyframes loadBar { to { width: 100%; } }

/* --------------------------------------------------------------------------
   LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}

.section-label {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 1.08;
  color: var(--ivory);
  margin-bottom: 1.5rem;
}

.section-sub {
  color: var(--ivory-muted);
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  line-height: 1.9;
  max-width: 58ch;
  font-weight: 300;
  margin-inline: auto;
}

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].visible {
  opacity: 1;
  transform: none;
}
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }

/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 2.5rem;
  font-family: var(--font-ui);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid;
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
  z-index: 0;
}
.btn:hover::after { transform: scaleX(1); }
.btn > * { position: relative; z-index: 1; }

.btn--gold  { color: var(--gold); border-color: var(--gold); }
.btn--gold::after  { background: var(--gold); }
.btn--gold:hover   { color: var(--bg); }

.btn--ivory { color: var(--ivory); border-color: var(--ivory); }
.btn--ivory::after { background: var(--ivory); }
.btn--ivory:hover  { color: var(--bg); }

.btn--lg { padding: 1.2rem 3.5rem; font-size: 0.72rem; }

/* --------------------------------------------------------------------------
   NAVIGATION
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem var(--px);
  transition: background 0.5s ease, padding 0.5s ease, border-color 0.5s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(6, 8, 14, 0.93);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding-block: 1rem;
  border-color: var(--gold-border);
}

.nav__logo { display: flex; flex-direction: column; gap: 2px; }

.nav__logo-main {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--ivory);
  line-height: 1;
}

.logo__num {
  font-weight: 500;
  font-variant-numeric: lining-nums;
}

.nav__logo-sub {
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__link {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-muted);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--fast);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--fast);
}
.nav__link:hover { color: var(--ivory); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__apply {
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.55rem 1.6rem;
  transition: all var(--fast);
}
.nav__apply:hover { background: var(--gold); color: var(--bg); }

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: var(--sp-sm);
  padding-left: var(--sp-sm);
  border-left: 1px solid rgba(201,169,110,0.25);
}
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--ff-ui);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  font-weight: 400;
  color: var(--text-muted);
  padding: 4px 5px;
  transition: color var(--fast);
  text-transform: uppercase;
}
.lang-btn:hover        { color: var(--gold-lt); }
.lang-btn.is-active    { color: var(--gold); border-bottom: 1px solid var(--gold); }

/* Navbar lang switcher — sits persistently in the nav bar, visible on mobile */
.lang-switcher--navbar {
  display: none; /* hidden on desktop; shown via media query below */
  margin-left: auto;
  margin-right: 0.9rem;
  padding-left: 0;
  padding-right: 0.9rem;
  border-left: none;
  border-right: 1px solid rgba(201,169,110,0.25);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 600;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ivory);
  transition: all 0.35s ease;
}
.nav__hamburger.open span:first-child { transform: rotate(45deg) translate(4px, 4px); }
.nav__hamburger.open span:last-child  { transform: rotate(-45deg) translate(4px, -4px); }
.nav__hamburger.open span:nth-child(2){ opacity: 0; }

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Carousel slides */
.hero__slides { position: absolute; inset: 0; }

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease;
  will-change: transform;
}
.hero__slide.is-active {
  opacity: 1;
  animation: kenBurns 14s ease-in-out infinite alternate;
}
@keyframes kenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.1); }
}

/* Gradient overlay — heavier at bottom so text pops */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6,8,14,0.35)  0%,
    rgba(6,8,14,0.15) 35%,
    rgba(6,8,14,0.55) 68%,
    rgba(6,8,14,0.90) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-inline: var(--px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__eyebrow {
  font-size: 0.63rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.6rem;
  animation: fadeUp 1.2s var(--ease) 0.6s both;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 300;
  line-height: 0.95;
  color: var(--ivory);
  letter-spacing: 0.01em;
  margin-bottom: 1.6rem;
  animation: fadeUp 1.2s var(--ease) 0.85s both;
}

.hero__num {
  font-weight: 500;
  font-variant-numeric: lining-nums;
}

.hero__divider {
  width: 72px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 1.6rem;
  animation: fadeUp 1.2s var(--ease) 1.05s both;
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 2.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--ivory);
  line-height: 1.3;
  margin-bottom: 0.9rem;
  animation: fadeUp 1.2s var(--ease) 1.2s both;
}

.hero__sub {
  font-size: 0.67rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ivory-muted);
  margin-bottom: 3rem;
  animation: fadeUp 1.2s var(--ease) 1.35s both;
}

.hero__cta { animation: fadeUp 1.2s var(--ease) 1.5s both; }

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  animation: fadeIn 1s ease 2s both;
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.25; transform: scaleY(0.7) translateY(0); }
  50%       { opacity: 1;    transform: scaleY(1)   translateY(4px); }
}
.hero__scroll span {
  font-size: 0.58rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ivory-muted);
}

/* Slide counter dots */
.hero__nav {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.hero__dot {
  width: 3px;
  height: 14px;
  background: rgba(243, 236, 216, 0.3);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.4s ease;
}
.hero__dot.is-active {
  background: var(--gold);
  height: 28px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* --------------------------------------------------------------------------
   STATEMENT SECTION
   -------------------------------------------------------------------------- */
.statement {
  padding: var(--sp-xl) var(--px);
  background: var(--bg-deep);
  text-align: center;
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
}
.statement__inner { max-width: 820px; margin-inline: auto; }

.statement__quote {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 3.1rem);
  font-weight: 300;
  font-style: italic;
  color: var(--ivory);
  line-height: 1.25;
  margin-bottom: 2rem;
}

.statement__body {
  color: var(--ivory-muted);
  font-size: clamp(0.9rem, 1.35vw, 1.05rem);
  line-height: 2;
  font-weight: 300;
}

/* --------------------------------------------------------------------------
   TERRACE GALLERY
   -------------------------------------------------------------------------- */
.terrace {
  padding-block: var(--sp-xl);
  background: var(--bg);
}
.terrace__header {
  text-align: center;
  padding-inline: var(--px);
  margin-bottom: var(--sp-lg);
}

.terrace__mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding-inline: var(--px);
}
.terrace__photo {
  overflow: hidden;
  position: relative;
  height: 420px;
}
.terrace__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.terrace__photo:hover img { transform: scale(1.05); }

.terrace__wide {
  grid-column: 1 / -1;
  height: 420px;
}

.terrace__caption {
  max-width: 64ch;
  margin: var(--sp-md) auto 0;
  text-align: center;
  padding-inline: var(--px);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 300;
  color: var(--ivory-muted);
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   FULL TERRACE SLIDESHOW
   -------------------------------------------------------------------------- */
.terrace-show {
  position: relative;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
  cursor: pointer;
}
.terrace-show__track {
  display: flex;
  height: 100%;
  transition: transform 0.9s var(--ease);
}
.terrace-show__img {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.terrace-show__prev,
.terrace-show__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: var(--ivory);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 1.5rem;
  border: 1px solid rgba(243,236,216,0.3);
  background: rgba(6,8,14,0.4);
  backdrop-filter: blur(8px);
  transition: all var(--fast);
}
.terrace-show__prev { left: 2rem; }
.terrace-show__next { right: 2rem; }
.terrace-show__prev:hover,
.terrace-show__next:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}
.terrace-show__counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--ivory-muted);
}

/* --------------------------------------------------------------------------
   RESIDENCE FEATURES
   -------------------------------------------------------------------------- */
.residence {
  padding-block: var(--sp-xl);
  background: var(--bg-deep);
}
.residence__header {
  text-align: center;
  margin-bottom: var(--sp-lg);
}
.residence__photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: var(--sp-lg);
}
.residence__photo {
  overflow: hidden;
  border: 1px solid var(--gold-border);
}
.residence__photo img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.residence__photo:hover img {
  transform: scale(1.04);
}

.residence__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--gold-border);
}
.feature {
  padding: var(--sp-lg) var(--sp-md);
  border-right: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease;
}
.feature:nth-child(3n)   { border-right: none; }
.feature:nth-last-child(-n+3) { border-bottom: none; }
.feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-glow);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.feature:hover::before { opacity: 1; }

.feature__glyph {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 1.2rem;
  line-height: 1;
}
.feature__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 0.7rem;
}
.feature__text {
  color: var(--ivory-muted);
  font-size: var(--fs-sm);
  line-height: 1.85;
  font-weight: 300;
}

/* --------------------------------------------------------------------------
   BUILDING GALLERY
   -------------------------------------------------------------------------- */
.building {
  padding-block: var(--sp-xl);
  background: var(--bg);
}
.building__header {
  text-align: center;
  padding-inline: var(--px);
  margin-bottom: var(--sp-lg);
}
.building__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding-inline: var(--px);
}
.building__item {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.building__item img {
  width: 100%;
  transition: transform 0.9s var(--ease);
}
.building__item:hover img { transform: scale(1.05); }

/* --------------------------------------------------------------------------
   LOCATION
   -------------------------------------------------------------------------- */
.location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 75vh;
  background: var(--bg-deep);
}
.location__visual { overflow: hidden; position: relative; }

/* --- Tigre photo slideshow --- */
.loc-slider { position: relative; width: 100%; height: 100%; }
.loc-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}
.loc-slide.is-active { opacity: 1; }
.loc-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 8s linear;
}
.loc-slide.is-active img { transform: scale(1.06); }

.loc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10,8,6,.45);
  color: var(--gold);
  border: 1px solid var(--gold-border);
  width: 2.6rem; height: 2.6rem;
  font-size: 1rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.loc-arrow:hover { background: var(--gold); color: var(--bg-deep); }
.loc-arrow--prev { left: 1rem; }
.loc-arrow--next { right: 1rem; }

.loc-dots {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}
.loc-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.loc-dot.is-active { background: var(--gold); }

.location__body {
  padding: var(--sp-xl) clamp(2.5rem, 6vw, 7rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.location__body .section-title { margin-bottom: 2rem; }

.location__para {
  color: var(--ivory-muted);
  font-size: clamp(0.875rem, 1.25vw, 1rem);
  line-height: 2;
  margin-bottom: 1.4rem;
  font-weight: 300;
}

.location__stats {
  display: flex;
  gap: 3rem;
  margin-top: var(--sp-md);
  padding-top: var(--sp-md);
  border-top: 1px solid var(--gold-border);
}
.location__stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.location__stat-label {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory-muted);
}

/* --------------------------------------------------------------------------
   DESIGNED FOR
   -------------------------------------------------------------------------- */
.for-whom {
  padding-block: var(--sp-xl);
  background: var(--bg);
}
.for-whom__header {
  text-align: center;
  margin-bottom: var(--sp-lg);
}
.for-whom__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--gold-border);
  border: 1px solid var(--gold-border);
  margin-inline: var(--px);
}
.for-whom__card {
  background: var(--bg);
  padding: var(--sp-lg);
  transition: background 0.4s ease;
}
.for-whom__card:hover { background: var(--bg-card); }
.for-whom__card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 300;
  color: var(--ivory);
  margin-bottom: 0.9rem;
}
.for-whom__card p {
  color: var(--ivory-muted);
  font-size: var(--fs-sm);
  line-height: 1.9;
}

/* --------------------------------------------------------------------------
   HOW IT WORKS
   -------------------------------------------------------------------------- */
.process {
  padding-block: var(--sp-xl);
  background: var(--bg-deep);
}
.process__header {
  text-align: center;
  margin-bottom: var(--sp-lg);
}
.process__steps {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1fr;
  align-items: start;
  gap: 0;
  padding-inline: var(--px);
}
.step {
  text-align: center;
  padding-inline: 1.5rem;
}
.step__num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 1.2rem;
  transition: opacity 0.3s ease;
  display: block;
}
.step:hover .step__num { opacity: 1; }

.step__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 0.8rem;
}
.step__desc {
  color: var(--ivory-muted);
  font-size: var(--fs-sm);
  line-height: 1.85;
}

.step__connector {
  height: 1px;
  background: var(--gold-border);
  margin-top: 2rem;
  align-self: start;
}

/* --------------------------------------------------------------------------
   APPLY CTA BANNER
   -------------------------------------------------------------------------- */
.apply-cta {
  position: relative;
  height: 65vh;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.apply-cta__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 12s linear;
}
.apply-cta:hover .apply-cta__bg { transform: scale(1.04); }
.apply-cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6,8,14,0.6);
  z-index: 1;
}
.apply-cta__content {
  position: relative;
  z-index: 2;
  padding-inline: var(--px);
}
.apply-cta__title {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 300;
  color: var(--ivory);
  margin-bottom: 1.5rem;
}
.apply-cta__body {
  color: var(--ivory-muted);
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: 2.8rem;
  line-height: 1.9;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: #040609;
  padding-block: var(--sp-lg);
  border-top: 1px solid var(--gold-border);
}
.footer__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  gap: var(--sp-md);
}
.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--ivory);
  display: block;
  margin-bottom: 0.3rem;
}
.footer__brand-loc {
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: center;
}
.footer__nav a {
  font-size: 0.63rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory-muted);
  transition: color var(--fast);
}
.footer__nav a:hover { color: var(--gold); }

.footer__tagline {
  text-align: right;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ivory-muted);
}

.footer__bottom {
  grid-column: 1 / -1;
  border-top: 1px solid var(--gold-border);
  padding-top: var(--sp-md);
  text-align: center;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  opacity: 0.55;
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .process__steps {
    grid-template-columns: 1fr;
    gap: var(--sp-md);
  }
  .step__connector {
    width: 1px;
    height: 36px;
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .location { grid-template-columns: 1fr; }
  .location__visual { height: 50vw; min-height: 260px; }

  .residence__photos { grid-template-columns: repeat(2, 1fr); }
  .residence__features { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(3n) { border-right: 1px solid var(--gold-border); }
  .feature:nth-child(2n) { border-right: none; }
  .feature:nth-last-child(-n+3) { border-bottom: 1px solid var(--gold-border); }
  .feature:nth-last-child(-n+2) { border-bottom: none; }

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

  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__tagline { text-align: left; }
}

@media (max-width: 680px) {
  .nav__menu {
    position: fixed;
    inset: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.2rem;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    z-index: 400;
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__hamburger { display: flex; }
  .nav__link { font-size: 0.9rem; }

  /* Show persistent lang switcher in nav bar; hide the one inside the slide-out menu */
  .lang-switcher--navbar { display: flex; }
  .lang-switcher--menu   { display: none; }

  .terrace__mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .terrace__photo--tall { grid-row: auto; height: 300px; }
  .terrace__stack { grid-template-rows: auto; gap: 4px; }
  .terrace__stack .terrace__photo { height: 250px; }

  .for-whom__grid { grid-template-columns: 1fr; }

  .residence__photos { grid-template-columns: 1fr; }
  .residence__photo img { height: 260px; }
  .residence__features { grid-template-columns: 1fr; }
  .feature { border-right: none; border-bottom: 1px solid var(--gold-border); }
  .feature:last-child { border-bottom: none; }

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

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer__nav { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .footer__tagline { text-align: center; }

  .hero__nav { display: none; }
}
