/* ═══════════════════════════════════════════════════════════════
   350DIAS — styles.css
   Mobile-first, premium real estate
═══════════════════════════════════════════════════════════════ */

:root {
  --color-bg:       #faf9f7;
  --color-surface:  #f3f1ee;
  --color-border:   #e4e0d8;
  --color-text:     #1c1a17;
  --color-muted:    #67635f;
  --color-accent:   #b8a98a;
  --color-accent-dk:#72654f;
  --color-white:    #ffffff;
  --color-sold:     #c0392b;
  --color-avail:    #5a7a5a;

  /* Brochure navy — matched to the staircase line-art illustration */
  --color-navy:     #1f2c5d;
  --color-navy-dk:  #141d3f;

  --font-display: 'Bodoni Moda 18pt', Georgia, serif;
  --font-body:    'Urbanist', system-ui, sans-serif;

  --container: 1200px;
  --nav-h:     72px;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast:    0.18s var(--ease);
  --t-med:     0.35s var(--ease);
}

/* ── RESET ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  { font-family: var(--font-body); font-weight: 300; color: var(--color-text); background: var(--color-bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img   { display: block; max-width: 100%; height: auto; }
ul    { list-style: none; }
a     { color: inherit; text-decoration: none; transition: opacity var(--t-fast); }
a:hover { opacity: 0.65; }

/* Visible keyboard-focus ring on every interactive element */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--color-navy); outline-offset: 2px;
}

.skip-link {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--color-navy); color: var(--color-white);
  padding: 0.75rem 1.25rem; border-radius: 4px;
  font-size: 0.85rem; z-index: 1000;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 1rem; }

/* ── CONTAINER ───────────────────────────── */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 3rem); }

/* ── SECTION ─────────────────────────────── */
.section      { padding-block: clamp(4rem, 10vw, 7rem); }
.section--alt { background: var(--color-surface); }

.section-header { margin-bottom: clamp(2rem, 5vw, 3.5rem); }

.section-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent-dk);
  margin-bottom: 0.75rem;
}

.section-heading {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.2;
  max-width: 36ch;
}
.section-sub {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: var(--color-muted);
  max-width: 46ch;
  margin-top: 0.85rem;
  line-height: 1.6;
}

/* ── BUTTONS ─────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  border-radius: 2px;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.btn--full { width: 100%; justify-content: center; }
.btn--primary { background: var(--color-navy); color: var(--color-white); border-color: var(--color-navy); }
.btn--primary:hover { background: var(--color-accent-dk); border-color: var(--color-accent-dk); opacity: 1; }
.btn--ghost   { background: transparent; color: var(--color-white); border-color: rgba(255,255,255,0.5); }
.btn--ghost:hover { background: rgba(255,255,255,0.12); opacity: 1; }
.btn--outline { background: transparent; color: var(--color-text); border-color: var(--color-border); }
.btn--outline:hover { border-color: var(--color-text); opacity: 1; }

/* ── NAVIGATION ──────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: var(--color-navy);
  transition: box-shadow var(--t-med), background var(--t-med);
}
.nav.scrolled {
  background: var(--color-navy-dk);
  box-shadow: 0 1px 0 rgba(0,0,0,0.15);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; padding-inline: clamp(1.25rem, 5vw, 3rem);
  max-width: var(--container); margin-inline: auto;
}
.nav__logo {
  display: flex; align-items: center;
}
.nav__logo img {
  display: block; height: 20px; width: auto;
}

.nav__links { display: none; gap: 2.5rem; }
@media (min-width: 900px) { .nav__links { display: flex; } }
.nav__links a {
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color var(--t-fast);
}
.nav__links a:hover { color: var(--color-white); opacity: 1; }

.nav__controls { display: flex; align-items: center; gap: 1.25rem; }

.lang-toggle { display: flex; align-items: center; gap: 0.4rem; }
.lang-btn {
  background: none; border: none;
  font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.65); cursor: pointer; padding: 0;
  transition: color var(--t-fast);
}
.lang-btn.active { color: var(--color-white); font-weight: 500; }
.lang-sep { color: rgba(255,255,255,0.3); font-size: 0.72rem; }

.nav__burger {
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer; padding: 0.25rem;
  color: var(--color-white);
}
.nav__burger svg { width: 22px; height: 22px; }
@media (min-width: 900px) { .nav__burger { display: none; } }

.nav__drawer {
  display: flex; flex-direction: column;
  background: var(--color-navy-dk);
  border-top: 1px solid rgba(255,255,255,0.12);
  max-height: 0; overflow: hidden;
  transition: max-height var(--t-med), padding var(--t-med);
}
.nav__drawer.open { max-height: 400px; padding-block: 1.5rem; }
.drawer-link {
  padding: 0.85rem clamp(1.25rem, 5vw, 3rem);
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--color-white);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.drawer-link:last-child { border-bottom: none; }

/* ── HERO ────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh; min-height: 600px;
  display: flex; align-items: flex-end;
  padding-bottom: clamp(3rem, 8vw, 6rem);
  overflow: hidden;
}

/* Slideshow */
.hero__slideshow { position: absolute; inset: 0; z-index: 0; }
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.hero__slide.active { opacity: 1; }

.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(19,25,48,0.78) 0%, rgba(19,25,48,0.22) 60%, rgba(19,25,48,0.1) 100%);
}
.hero__content {
  position: relative; z-index: 2;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  max-width: var(--container); margin-inline: auto; width: 100%;
}
.hero__location {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.7); margin-bottom: 1.25rem;
}
.hero__location svg { width: 13px; height: 13px; }
.hero__heading {
  margin-bottom: 1.25rem;
}
.hero__heading img {
  display: block; width: clamp(260px, 34vw, 540px); height: auto;
}
.hero__sub {
  font-size: clamp(0.9rem, 2vw, 1.1rem); font-weight: 300;
  color: rgba(255,255,255,0.75); margin-bottom: 0.35rem; max-width: 44ch;
}
.hero__by {
  font-size: clamp(0.85rem, 1.8vw, 1rem); font-weight: 300;
  color: rgba(255,255,255,0.75); margin-bottom: 2.5rem; max-width: 44ch;
}
.hero__by strong {
  font-weight: 600; letter-spacing: 0.1em;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__ctas .btn { min-width: 190px; justify-content: center; }
@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; min-width: 0; }
}
.hero__scroll {
  position: absolute; bottom: 2rem; right: clamp(1.25rem, 5vw, 3rem); z-index: 2;
  color: rgba(255,255,255,0.5); animation: bounce 2s infinite;
}
.hero__scroll svg { width: 22px; height: 22px; }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ── STATS ───────────────────────────────── */
.stats { background: var(--color-navy); padding-block: clamp(2rem, 5vw, 3rem); }
.stats__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 1.75rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat:last-child { border-right: none; }
@media (max-width: 639px) {
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.1); }
}
.stats__disclaimer {
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  margin-top: 1.25rem;
}
.stat__value {
  font-family: var(--font-body); font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600; color: var(--color-white); line-height: 1.1; margin-bottom: 0.4rem;
  min-height: clamp(3.4rem, 7.5vw, 5.6rem);
  display: flex; align-items: flex-end; justify-content: center;
}
.stat__label { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.45); }

/* ── ABOUT ───────────────────────────────── */
.about__grid {
  display: grid; grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 5rem); align-items: center;
}
@media (min-width: 900px) { .about__grid { grid-template-columns: 1fr 1fr; } }

.about__image-wrap {
  position: relative;
  height: clamp(320px, 55vw, 560px);
  overflow: hidden; border-radius: 4px;
}
.about__image {
  position: absolute; inset: -20% 0;
  background-size: cover; background-position: center;
  will-change: transform;
}
.about__text { max-width: 48ch; }
.about__body { display: flex; flex-direction: column; gap: 1.25rem; margin-block: 1.75rem 2.25rem; }
.about__body p { font-size: clamp(0.95rem, 1.5vw, 1.05rem); line-height: 1.8; color: var(--color-muted); }

/* ── HERITAGE (navy brand moment) ─────────── */
.heritage {
  background: var(--color-navy);
  color: var(--color-white);
}
.heritage__grid {
  display: grid; grid-template-columns: 1fr;
}
@media (min-width: 800px) { .heritage__grid { grid-template-columns: 1fr 1fr; } }

.heritage__image-wrap {
  position: relative;
  min-height: 340px;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(2rem, 5vw, 3.5rem);
}
.heritage__image-wrap img {
  width: 100%; max-width: 460px; height: auto;
  object-fit: contain;
}

.heritage__panel {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 5vw, 4rem);
}
.heritage__bars {
  display: flex; gap: 5px; margin-bottom: 1.75rem;
}
.heritage__bars span {
  display: block; width: 3px; height: 22px;
  background: var(--color-white); opacity: 0.85;
}
.heritage__label {
  display: block;
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.25em;
  text-transform: uppercase; color: rgba(255,255,255,0.65);
  margin-bottom: 0.75rem;
}
.heritage__heading {
  font-family: var(--font-body); font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.2;
  max-width: 14ch; margin-bottom: 1.5rem;
}
.heritage__body {
  max-width: 42ch;
}
.heritage__body p { font-size: 0.95rem; line-height: 1.8; color: rgba(255,255,255,0.85); text-align: left; }

/* ── APARTMENTS ──────────────────────────── */
.apt-tabs {
  display: flex; flex-wrap: wrap; gap: 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  overflow-x: auto; scrollbar-width: none;
}
.apt-tabs::-webkit-scrollbar { display: none; }

.apt-tab {
  background: none; border: none;
  border-bottom: 2px solid transparent;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body); font-size: 0.78rem;
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-muted); cursor: pointer; white-space: nowrap;
  margin-bottom: -1px;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.apt-tab:hover  { color: var(--color-navy); }
.apt-tab.active { color: var(--color-navy); border-bottom-color: var(--color-navy); }

.apt-panel {
  display: flex; flex-direction: column;
  gap: clamp(1.75rem, 4vw, 2.5rem);
  animation: fadeUp 0.4s ease both;
}

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

/* Unit image */
.apt-image-wrap {
  display: flex; flex-direction: column;
  justify-content: center; gap: clamp(1rem, 3vw, 1.75rem);
  max-width: 1100px; /* base width for the largest unit (fills the container); JS scales smaller units down proportionally */
  margin-inline: 0; width: 100%;
  transition: max-width 0.3s ease;
}
.apt-floor {
  width: 100%;
  height: clamp(220px, 28vw, 420px);
  display: flex; align-items: center; justify-content: center;
}
.apt-floor img {
  display: block; width: auto; height: 100%; max-width: 100%;
  object-fit: contain;
  background: #fff;
  transition: opacity 0.3s ease;
}
.apt-floor__label {
  display: block;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--color-navy);
  margin-bottom: 0.6rem;
}
/* Two-floor duplex units (e.g. Unit E): show floors side by side, not stacked */
.apt-image-wrap--split {
  flex-direction: row;
  align-items: stretch;
}
.apt-image-wrap--split .apt-floor {
  width: auto;
  flex: 1 1 0%;
  min-width: 0; /* allow flex children to shrink below image intrinsic width */
}
.apt-image-wrap--split .apt-floor:not(:last-child) {
  padding-bottom: 0;
  padding-right: clamp(1rem, 3vw, 1.75rem);
  border-bottom: none;
  border-right: 1px solid rgba(31,44,93,0.15);
}
@media (max-width: 639px) {
  /* Too narrow for side-by-side floor plans — stack instead */
  .apt-image-wrap--split { flex-direction: column; }
  .apt-image-wrap--split .apt-floor:not(:last-child) {
    padding-bottom: clamp(1rem, 3vw, 1.75rem);
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid rgba(31,44,93,0.15);
  }
  /* Wide/elongated plans (e.g. larger units) become unreadably short if
     squeezed to the full screen width. Fix the height instead and let
     the plan scroll horizontally so it stays legible. */
  .apt-image-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .apt-floor { width: max-content; max-width: none; height: 260px; }
  .apt-floor img { width: auto; height: 100%; max-width: none; }
  .apt-floor__hint {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    margin-top: 0.85rem;
    font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--color-muted);
  }
}
@media (min-width: 640px) {
  .apt-floor__hint { display: none; }
}

/* Unit details */
.apt-details { max-width: 640px; margin-inline: 0; width: 100%; }
.apt-details__header {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.75rem;
}
.apt-details__name {
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600;
}

/* Status badge */
.apt-status {
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.25rem 0.75rem; border-radius: 20px;
}
.apt-status--available { background: rgba(90,122,90,0.1); color: var(--color-avail); }
.apt-status--sold      { background: rgba(192,57,43,0.1);  color: var(--color-sold); }

.apt-details__list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--color-border);
  margin-bottom: 2rem;
}
.apt-detail {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--color-border);
}
.apt-detail dt {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-muted);
}
.apt-detail dt svg { width: 14px; height: 14px; flex-shrink: 0; }
.apt-detail dd { font-size: 0.95rem; color: var(--color-text); }

/* ── GALLERY ─────────────────────────────── */
.gallery .section-header { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.gallery__heading { max-width: none; font-size: clamp(1.5rem, 3vw, 2.6rem); white-space: nowrap; }
@media (max-width: 640px) { .gallery__heading { white-space: normal; font-size: clamp(1.5rem, 5vw, 2rem); } }
.gallery__wrapper { position: relative; width: 100%; }
.gallery__track {
  display: flex; gap: clamp(0.75rem, 2vw, 1.25rem);
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scroll-behavior: smooth;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  scrollbar-width: none; cursor: grab;
}
.gallery__track:active { cursor: grabbing; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__item {
  flex: 0 0 auto;
  width: clamp(320px, 58vw, 640px);
  height: clamp(320px, 44vw, 480px);
  scroll-snap-align: start;
  border-radius: 4px; overflow: hidden;
  background: var(--color-surface);
  cursor: zoom-in;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); pointer-events: none; }
.gallery__item:hover img { transform: scale(1.03); }

.gallery__arrow {
  display: none; position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 5; background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: 50%; width: 48px; height: 48px;
  align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08); color: var(--color-text);
  transition: background var(--t-fast), color var(--t-fast);
}
.gallery__arrow:hover { background: var(--color-navy); color: var(--color-white); }
.gallery__arrow svg   { width: 20px; height: 20px; }
@media (min-width: 768px) { .gallery__arrow { display: flex; } }
.gallery__arrow--prev { left:  max(0.5rem, calc(50vw - var(--container)/2 - 24px)); }
.gallery__arrow--next { right: max(0.5rem, calc(50vw - var(--container)/2 - 24px)); }

.gallery__hint {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-muted);
}
.gallery__hint svg { width: 16px; height: 16px; }
@media (min-width: 768px) { .gallery__hint { display: none; } }

/* ── LOCATION ────────────────────────────── */
.location__grid {
  display: grid; grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: stretch;
}
@media (min-width: 768px) { .location__grid { grid-template-columns: 0.85fr 1.15fr; } }

.location__info { display: flex; flex-direction: column; }
.location__map {
  height: clamp(260px, 32vw, 340px);
  border-radius: 4px; overflow: hidden;
  border: 1px solid var(--color-border);
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}
.location__map { position: relative; }
.location__map iframe { display: block; width: 100%; height: 100%; }
.location__address {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.9rem; color: var(--color-text);
  margin-bottom: 2rem; line-height: 1.5;
}
.location__address svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--color-accent-dk); }
.location__list { border-top: 1px solid var(--color-border); margin-bottom: 2.5rem; }
.location__list li {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.9rem 0; border-bottom: 1px solid var(--color-border);
  font-size: 0.88rem;
}
.location__list li svg { width: 16px; height: 16px; color: var(--color-accent-dk); flex-shrink: 0; }

.location__gallery {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  height: 100%;
}
.location__photo {
  position: relative;
  min-height: 155px;
  border-radius: 4px; overflow: hidden;
  cursor: zoom-in;
}
.location__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; transition: transform 0.5s var(--ease); }
.location__photo:hover img { transform: scale(1.03); }
.location__photo-caption {
  position: absolute; left: 0.85rem; bottom: 0.85rem;
  padding: 0.3rem 0.7rem;
  background: rgba(20, 29, 63, 0.75);
  color: var(--color-white);
  font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 3px;
}

/* ── CONTACT ─────────────────────────────── */
.contact__grid {
  display: grid; grid-template-columns: 1fr;
  gap: clamp(3rem, 6vw, 5rem); align-items: start;
}
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1fr 1.4fr; } }
.contact__sub { font-size: 0.95rem; color: var(--color-muted); margin-top: 1rem; margin-bottom: 2.5rem; line-height: 1.7; }
.contact__channels { border-top: 1px solid var(--color-border); }
.contact__channels li a {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 1rem 0; border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}
.contact__channels li a svg { width: 17px; height: 17px; color: var(--color-accent-dk); }
.contact__form-wrap {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: 4px; padding: clamp(1.5rem, 4vw, 2.5rem);
}
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.25rem; }
.form-row .form-group { margin-bottom: 0; }
.form-group label { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-muted); }
.form-group input,
.form-group textarea {
  width: 100%; padding: 0.85rem 1rem;
  font-family: var(--font-body); font-size: 0.9rem;
  background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: 2px; outline: none; resize: vertical;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(31,44,93,0.12);
}
.form__note { margin-top: 0.75rem; font-size: 0.72rem; color: var(--color-muted); text-align: center; }
.form__status { margin-top: 0.6rem; font-size: 0.8rem; text-align: center; min-height: 1em; }
.form__status--success { color: var(--color-avail); }
.form__status--error   { color: var(--color-sold); }

/* ── FOOTER ──────────────────────────────── */
.footer { background: var(--color-navy-dk); padding-block: 2.5rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer__logo  { display: inline-flex; align-items: center; }
.footer__logo img { display: block; height: 16px; width: auto; }
.footer__copy  { font-size: 0.75rem; color: rgba(255,255,255,0.4); }
.footer__privacy { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.35); }
.footer__privacy:hover { color: rgba(255,255,255,0.7); opacity: 1; }

/* ── PARALLAX ────────────────────────────── */
.parallax-section { overflow: hidden; }

/* ── SCROLL REVEAL ───────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── LOCATION LIST — rich items ─────────────────────────────── */
.location__list--rich {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.location__item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.location__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
  color: var(--color-accent-dk);
}
.location__icon svg { width: 18px; height: 18px; stroke-width: 1.5; }

.location__item-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.location__item-text strong {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.01em;
}

.location__item-text span {
  font-size: 0.82rem;
  color: var(--color-muted);
  line-height: 1.4;
}

/* ── FLOOR PLAN LIGHTBOX ─────────────────── */
.apt-floor img { cursor: zoom-in; }

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1.5rem, 5vw, 4rem);
  background: rgba(20, 29, 63, 0.92);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }

.lightbox__img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  transform: scale(0.96);
  transition: transform 0.25s ease;
}
.lightbox.open .lightbox__img { transform: scale(1); }

.lightbox__close {
  position: absolute; top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem);
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%; color: var(--color-white);
  font-size: 1.6rem; line-height: 1; cursor: pointer;
  transition: background var(--t-fast);
}
.lightbox__close:hover { background: rgba(255,255,255,0.2); }

.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%; color: var(--color-white); cursor: pointer;
  transition: background var(--t-fast);
}
.lightbox__nav:hover { background: rgba(255,255,255,0.2); }
.lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__nav--prev { left: clamp(0.75rem, 3vw, 2rem); }
.lightbox__nav--next { right: clamp(0.75rem, 3vw, 2rem); }
.lightbox__nav[hidden] { display: none; }

.lightbox__counter {
  position: absolute; bottom: clamp(1rem, 3vw, 1.75rem); left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.75);
}
.lightbox__counter:empty { display: none; }

/* ── DEVELOPERS ──────────────────────────── */
.developers__inner { max-width: 760px; }
.developers__logo { display: block; width: 340px; max-width: 100%; height: auto; margin-bottom: 1.75rem; }
.developers__body p { max-width: 68ch; }

.about__by {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent-dk);
  margin-bottom: 0.75rem;
}
