/* ==========================================================================
   NOVA ESTATE — Shared UI Components (assets/css/components.css)
   Includes: Header, Footer, Buttons, Badges, Property Cards, Development
   Cards, Favorites Drawer, Filter Chips, Forms, Lightbox & State Boxes.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HEADER & PRIMARY NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  height: var(--header-height);
  background-color: var(--brand-navy);
  color: var(--text-inverse);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: var(--shadow-xs);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.brand-logo {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  color: var(--text-inverse);
}

.brand-logo__en {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: var(--weight-bold);
  letter-spacing: 0.08em;
  line-height: 1.1;
  color: var(--text-inverse);
  direction: ltr;
  unicode-bidi: isolate;
}

.brand-logo__en span {
  color: var(--accent-gold);
}

.brand-logo__sub {
  font-size: 0.72rem;
  color: var(--text-inverse-muted);
  letter-spacing: 0.03em;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-block: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-inverse-muted);
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link--active {
  color: var(--text-inverse);
}

.nav-link--active::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  height: 2px;
  background-color: var(--accent-gold);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Header Favorites Trigger Button with Live Count Badge */
.fav-trigger-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  background-color: var(--brand-navy-soft);
  color: var(--text-inverse);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.fav-trigger-btn:hover {
  background-color: rgba(185, 154, 87, 0.18);
  border-color: var(--accent-gold);
}

.fav-trigger-btn .icon {
  color: var(--accent-gold);
}

.fav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding-inline: 6px;
  border-radius: var(--radius-pill);
  background-color: var(--accent-gold);
  color: var(--brand-navy);
  font-family: var(--font-numeric);
  font-variant-numeric: var(--numeric-spacing);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  line-height: 1;
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background-color: var(--brand-navy-soft);
  color: var(--text-inverse);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* --------------------------------------------------------------------------
   2. BUTTON SYSTEM
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  line-height: 1.3;
  border: 1px solid transparent;
  transition: background-color var(--transition-fast),
              color var(--transition-fast),
              border-color var(--transition-fast),
              transform var(--transition-fast);
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

/* Primary Gold CTA — Always paired with Brand Navy #12243B text for high contrast */
.btn--primary {
  background-color: var(--accent-gold);
  color: var(--brand-navy);
  border-color: var(--accent-gold);
}

.btn--primary:hover {
  background-color: var(--accent-gold-hover);
  border-color: var(--accent-gold-hover);
  color: var(--brand-navy-deep);
}

/* Institutional Navy Button */
.btn--navy {
  background-color: var(--brand-navy);
  color: var(--text-inverse);
  border-color: var(--brand-navy);
}

.btn--navy:hover {
  background-color: var(--brand-navy-soft);
  border-color: var(--brand-navy-soft);
}

/* Outline Button on Light Surfaces */
.btn--outline {
  background-color: transparent;
  color: var(--brand-navy);
  border-color: var(--border-strong);
}

.btn--outline:hover {
  background-color: var(--brand-navy);
  color: var(--text-inverse);
  border-color: var(--brand-navy);
}

/* Outline Button on Dark Surfaces */
.btn--outline-light {
  background-color: transparent;
  color: var(--text-inverse);
  border-color: rgba(255, 255, 255, 0.32);
}

.btn--outline-light:hover {
  background-color: rgba(255, 255, 255, 0.10);
  border-color: var(--accent-gold);
}

/* Ghost Subtle Button */
.btn--ghost {
  background-color: transparent;
  color: var(--text-secondary);
  padding: 0.5rem 0.85rem;
}

.btn--ghost:hover {
  background-color: var(--bg-subtle);
  color: var(--brand-navy);
}

.btn--sm {
  padding: 0.5rem 0.95rem;
  font-size: var(--text-xs);
  border-radius: var(--radius-sm);
}

.btn--lg {
  padding: 0.9rem 1.75rem;
  font-size: var(--text-body);
}

.btn--full {
  width: 100%;
}

/* --------------------------------------------------------------------------
   3. SEMANTIC STATUS & PURPOSE BADGES
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  line-height: 1.3;
  border: 1px solid transparent;
}

/* Available: #15623A on #E8F5EE */
.badge--available {
  background-color: var(--status-available-bg);
  color: var(--status-available-text);
  border-color: var(--status-available-border);
}

/* Reserved: #8A5A00 on #FEF4E0 */
.badge--reserved {
  background-color: var(--status-reserved-bg);
  color: var(--status-reserved-text);
  border-color: var(--status-reserved-border);
}

/* Sold: #8F2424 on #FDECEC */
.badge--sold {
  background-color: var(--status-sold-bg);
  color: var(--status-sold-text);
  border-color: var(--status-sold-border);
}

/* Purpose (Sale / Rent): #12243B on #EDF2F7 */
.badge--purpose {
  background-color: var(--status-purpose-bg);
  color: var(--status-purpose-text);
  border-color: var(--status-purpose-border);
}

/* Editorial Gold Badge on Light Background: #856A2B on #FAF6EC (WCAG AA compliant) */
.badge--gold {
  background-color: var(--accent-gold-subtle);
  color: var(--accent-gold-text);
  border-color: var(--border-gold);
}

/* --------------------------------------------------------------------------
   4. PROPERTY CARD ANATOMY (Shared across Home, Listings & Developments)
   -------------------------------------------------------------------------- */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
}

.property-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-smooth),
              box-shadow var(--transition-smooth),
              border-color var(--transition-fast);
}

.property-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-subtle);
}

/* 4:3 Image Container with Smooth 1.04 Hover Scale */
.property-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: var(--bg-subtle);
  overflow: hidden;
}

.property-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.property-card:hover .property-card__img {
  transform: scale(1.04);
}

/* Top-Right Badges in RTL */
.property-card__badges {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* Top-Left Circular Favorite Button in RTL */
.property-card__fav-btn,
.fav-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  background-color: var(--bg-glass);
  color: var(--brand-navy);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-xs);
  transition: background-color var(--transition-fast),
              color var(--transition-fast),
              transform var(--transition-fast);
}

.property-card__fav-btn {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 2;
}

.property-card__fav-btn:hover,
.fav-icon-btn:hover {
  background-color: var(--bg-page);
  transform: scale(1.05);
}

.property-card__fav-btn[aria-pressed="true"],
.fav-icon-btn[aria-pressed="true"] {
  background-color: var(--brand-navy);
  color: var(--accent-gold);
  border-color: var(--brand-navy);
}

.property-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-5);
}

.property-card__price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.property-card__price {
  font-family: var(--font-numeric);
  font-variant-numeric: var(--numeric-spacing);
  font-size: 1.25rem;
  font-weight: var(--weight-bold);
  color: var(--brand-navy);
  direction: ltr;
  unicode-bidi: isolate;
}

.property-card__type-tag {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--accent-gold-text);
}

.property-card__title {
  font-size: 1.05rem;
  font-weight: var(--weight-bold);
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.property-card__title a {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.property-card__title a:hover {
  color: var(--accent-gold-text);
}

.property-card__location {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.property-card__location .icon {
  color: var(--accent-gold-text);
}

/* Horizontal Specs Row with 1px Hairline Divider */
.property-card__specs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-top: var(--space-3);
  margin-top: auto;
  border-top: 1px solid var(--border-hairline);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.property-card__spec-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.property-card__spec-item .icon {
  color: var(--text-muted);
}

.property-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding-top: var(--space-3);
  margin-top: var(--space-3);
  border-top: 1px solid var(--border-hairline);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.property-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: var(--weight-bold);
  color: var(--brand-navy);
}

.property-card__cta:hover {
  color: var(--accent-gold-text);
}

/* --------------------------------------------------------------------------
   5. DEVELOPMENT CARD
   -------------------------------------------------------------------------- */
.developments-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
}

.dev-card {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.dev-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.dev-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: var(--bg-subtle);
  overflow: hidden;
}

.dev-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.dev-card:hover .dev-card__img {
  transform: scale(1.04);
}

.dev-card__overlay-badges {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  left: var(--space-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.dev-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-6);
}

.dev-card__title {
  font-size: var(--text-h3);
  margin-bottom: var(--space-2);
}

.dev-card__title a:hover {
  color: var(--accent-gold-text);
}

.dev-card__summary {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-5);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dev-card__progress {
  margin-bottom: var(--space-5);
}

.dev-card__progress-header {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background-color: var(--bg-subtle);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.progress-bar__fill {
  height: 100%;
  background-color: var(--accent-gold);
  border-radius: var(--radius-pill);
  transition: width 400ms ease;
}

.dev-card__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  padding-top: var(--space-4);
  margin-top: auto;
  border-top: 1px solid var(--border-hairline);
}

.dev-card__meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dev-card__meta-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.dev-card__meta-val {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--brand-navy);
}

/* --------------------------------------------------------------------------
   6. FAVORITES DRAWER & BACKDROP
   -------------------------------------------------------------------------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: var(--z-backdrop);
  background-color: var(--bg-backdrop);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
}

.drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: var(--z-drawer);
  width: var(--drawer-width);
  background-color: var(--bg-page);
  box-shadow: var(--shadow-drawer);
  display: flex;
  flex-direction: column;
  transform: translateX(-105%);
  visibility: hidden;
  transition: transform var(--transition-smooth), visibility var(--transition-smooth);
}

.drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}

.drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-5);
  background-color: var(--brand-navy);
  color: var(--text-inverse);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.drawer__title {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 1.1rem;
  font-weight: var(--weight-bold);
  color: var(--text-inverse);
}

.drawer__title .icon {
  color: var(--accent-gold);
}

.drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.10);
  color: var(--text-inverse);
  transition: background-color var(--transition-fast);
}

.drawer__close:hover {
  background-color: rgba(255, 255, 255, 0.20);
}

.drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-5);
}

.fav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.fav-item {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  background-color: var(--bg-card);
  transition: border-color var(--transition-fast);
}

.fav-item:hover {
  border-color: var(--border-subtle);
}

.fav-item__img {
  width: 84px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background-color: var(--bg-subtle);
}

.fav-item__info {
  min-width: 0;
}

.fav-item__title {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.fav-item__title:hover {
  color: var(--accent-gold-text);
}

.fav-item__meta {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: 4px;
}

.fav-item__price {
  font-family: var(--font-numeric);
  font-variant-numeric: var(--numeric-spacing);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: var(--brand-navy);
  direction: ltr;
  unicode-bidi: isolate;
}

.fav-item__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.fav-item__remove:hover {
  background-color: var(--status-sold-bg);
  color: var(--status-sold-text);
}

.drawer__footer {
  padding: var(--space-4) var(--space-5);
  border-top: 1px solid var(--border-hairline);
  background-color: var(--bg-subtle);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

/* --------------------------------------------------------------------------
   7. ACTIVE FILTER CHIPS
   -------------------------------------------------------------------------- */
.active-chips-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  background-color: var(--brand-navy-tint);
  color: var(--brand-navy);
  border: 1px solid var(--border-subtle);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
}

.filter-chip__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.filter-chip__remove:hover {
  background-color: var(--brand-navy);
  color: var(--text-inverse);
}

/* --------------------------------------------------------------------------
   8. FORMS & INPUT CONTROLS
   -------------------------------------------------------------------------- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: var(--text-secondary);
}

.form-control,
.form-select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-size: var(--text-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:hover,
.form-select:hover {
  border-color: var(--border-strong);
}

.form-control:focus,
.form-select:focus {
  outline: none;
  border-color: var(--brand-navy);
  box-shadow: var(--focus-ring);
}

.form-control.is-invalid {
  border-color: var(--status-sold-text);
  background-color: #FFFBFB;
}

.form-error {
  font-size: var(--text-xs);
  color: var(--status-sold-text);
  font-weight: var(--weight-medium);
}

.form-hint {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.demo-notice {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  background-color: var(--accent-gold-subtle);
  border: 1px solid var(--border-gold);
  color: var(--text-secondary);
  font-size: var(--text-xs);
  line-height: 1.6;
}

.demo-notice .icon {
  color: var(--accent-gold-text);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   9. FEEDBACK STATES (Loading / Empty / Error / Confirmation)
   -------------------------------------------------------------------------- */
.state-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-12) var(--space-6);
  background-color: var(--bg-subtle);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-lg);
  gap: var(--space-3);
}

.state-box__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-pill);
  background-color: var(--bg-page);
  color: var(--accent-gold-text);
  border: 1px solid var(--border-hairline);
}

.state-box__title {
  font-size: var(--text-h4);
  color: var(--text-primary);
}

.state-box__desc {
  max-width: 460px;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   10. LIGHTBOX MODAL FOR GALLERY
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-lightbox);
  background-color: rgba(11, 23, 38, 0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}

.lightbox__top {
  position: absolute;
  top: var(--space-4);
  inset-inline: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-inverse);
}

.lightbox__counter {
  font-family: var(--font-numeric);
  font-variant-numeric: var(--numeric-spacing);
  font-size: var(--text-sm);
  color: var(--text-inverse-muted);
}

.lightbox__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1080px;
  width: 100%;
  max-height: 80vh;
}

.lightbox__img {
  max-height: 78vh;
  max-width: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  background-color: rgba(18, 36, 59, 0.85);
  color: var(--text-inverse);
  border: 1px solid rgba(255, 255, 255, 0.20);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast);
}

.lightbox__nav:hover {
  background-color: var(--accent-gold);
  color: var(--brand-navy);
}

.lightbox__nav--prev {
  right: var(--space-4);
}

.lightbox__nav--next {
  left: var(--space-4);
}

/* --------------------------------------------------------------------------
   11. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--brand-navy-deep);
  color: var(--text-inverse-muted);
  padding-top: var(--space-16);
  border-top: 2px solid var(--accent-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-brand-desc {
  margin-top: var(--space-4);
  margin-bottom: var(--space-5);
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--text-inverse-muted);
}

.footer-demo-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  background-color: rgba(185, 154, 87, 0.14);
  border: 1px solid rgba(185, 154, 87, 0.35);
  color: var(--accent-gold);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
}

.footer-col__title {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--text-inverse);
  margin-bottom: var(--space-4);
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: var(--text-sm);
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  font-size: var(--text-sm);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.footer-contact-item .icon {
  color: var(--accent-gold);
  margin-top: 3px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-6);
  font-size: var(--text-xs);
  color: var(--text-inverse-muted);
}
