/* ============================================================
   RITZ-CARLTON RESIDENCES, WASHINGTON DC
   Main Stylesheet — Squarespace-to-Static Migration
   ============================================================
   Typography:  Lato (all text — matching original Squarespace sans-serif)
   Palette:     #FFFFFF background, #333 text, #C9A84C gold accent
   Breakpoints: 768 px (tablet), 1024 px (desktop)
   Approach:    Mobile-first
   ============================================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Lato', Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.75;
  color: #222;
  background-color: #fff;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #C9A84C;
}

ul, ol {
  list-style: none;
}

::selection {
  background-color: #C9A84C;
  color: #fff;
}

/* -------------------------------------------------------
   1. TYPOGRAPHY UTILITIES
   ------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Lato', Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.25;
  color: #222;
}

.text-gold  { color: #C9A84C !important; }
.text-white { color: #fff !important; }
.text-center { text-align: center; }
.text-upper {
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

/* -------------------------------------------------------
   2. CONTAINER
   ------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* -------------------------------------------------------
   3. NAVIGATION
   ------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav.nav--scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

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

.nav-logo {
  font-family: 'Lato', Helvetica, Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #222;
  white-space: nowrap;
}

.nav-logo span {
  color: #C9A84C;
}

/* Desktop links — hidden on mobile */
.nav-links {
  display: none;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #333;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #C9A84C;
  transition: width 0.35s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: #C9A84C;
}

/* Hamburger — visible on mobile */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  cursor: pointer;
  background: none;
  border: none;
  gap: 6px;
  padding: 0;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: #333;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile overlay menu */
.nav-mobile {
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  height: calc(100vh - 72px);
  background-color: rgba(255, 255, 255, 0.98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 999;
}

.nav-mobile.open {
  opacity: 1;
  pointer-events: auto;
}

.nav-mobile a {
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #333;
  transition: color 0.3s ease;
}

.nav-mobile a:hover {
  color: #C9A84C;
}

/* Body offset for fixed nav */
body {
  padding-top: 72px;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
  .nav-hamburger {
    display: none;
  }
}

/* -------------------------------------------------------
   4. HERO
   ------------------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.55) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 24px;
  max-width: 800px;
}

.hero-title {
  font-family: 'Lato', Helvetica, Arial, sans-serif;
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-family: 'Lato', sans-serif;
  font-size: clamp(0.75rem, 1.4vw, 0.95rem);
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero .btn {
  margin-top: 8px;
}

@media (min-width: 768px) {
  .hero {
    min-height: 75vh;
  }
}

@media (min-width: 1024px) {
  .hero {
    min-height: 85vh;
  }
}

/* -------------------------------------------------------
   5. SECTIONS
   ------------------------------------------------------- */
.section {
  padding: 64px 0;
}

.section-gray {
  background-color: #F8F7F5;
}

.section--dark,
.section-dark {
  background-color: #1a1a1a;
  color: #f0f0f0;
}

.section--dark .section-title,
.section--dark h2,
.section--dark h3,
.section-dark .section-title,
.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section--dark p,
.section--dark .section-text,
.section-dark p,
.section-dark .section-text {
  color: #e8e8e8;
}

.section-title {
  font-family: 'Lato', Helvetica, Arial, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}

.section-title--upper {
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #C9A84C;
  margin-bottom: 12px;
  text-align: center;
}

.section-text {
  max-width: 680px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.85;
  color: #333;
}

.section-divider {
  width: 60px;
  height: 1px;
  background-color: #C9A84C;
  margin: 0 auto 40px;
  border: none;
}

@media (min-width: 768px) {
  .section {
    padding: 96px 0;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 120px 0;
  }
}

/* -------------------------------------------------------
   6. BUTTONS
   ------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 14px 36px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.35s ease;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: #C9A84C;
  color: #fff;
  border-color: #C9A84C;
}

.btn-primary:hover {
  background-color: #b8963e;
  border-color: #b8963e;
  color: #fff;
}

.btn-outline {
  background-color: transparent;
  color: #333;
  border-color: #333;
}

.btn-outline:hover {
  background-color: #333;
  color: #fff;
}

.btn-outline-white {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline-white:hover {
  background-color: #fff;
  color: #333;
  border-color: #fff;
}

.btn-outline--gold {
  color: #C9A84C;
  border-color: #C9A84C;
}

.btn-outline--gold:hover {
  background-color: #C9A84C;
  color: #fff;
}

/* -------------------------------------------------------
   7. LISTING GRID & CARDS
   ------------------------------------------------------- */
.listing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.listing-card {
  background-color: #fff;
  border: 1px solid #eee;
  overflow: hidden;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.listing-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.listing-card-image {
  position: relative;
  width: 100%;
  padding-top: 66.66%;        /* 3:2 aspect ratio */
  overflow: hidden;
  background-color: #eee;
}

.listing-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.listing-card:hover .listing-card-image img {
  transform: scale(1.04);
}

.listing-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: #C9A84C;
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 14px;
  z-index: 2;
}

.listing-badge.for-sale {
  background-color: #C9A84C;
}

.listing-badge.for-lease {
  background-color: #5a7a6d;
}

.listing-card-info {
  padding: 24px;
}

.listing-card-info h3 {
  font-family: 'Lato', Helvetica, Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 8px;
  color: #222;
}

.listing-card-info p {
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 6px;
  line-height: 1.6;
}

.listing-card-info .listing-description {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.55;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.listing-card-info .listing-price {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  margin-top: 12px;
}

/* Listing detail page — two-column layout */
.listing-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.listing-detail-sidebar {
  /* left rail: badge, title, price, button */
}

.listing-detail-body {
  text-align: left;
}

.listing-detail-body .section-text {
  text-align: left;
  max-width: none;
  margin: 0 0 24px;
}

@media (min-width: 768px) {
  .listing-detail {
    grid-template-columns: 300px 1fr;
    gap: 64px;
  }
}

.listing-card-info .listing-details {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  font-size: 0.8rem;
  color: #666;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .listing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .listing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* -------------------------------------------------------
   8. FEATURED LISTING (larger card)
   ------------------------------------------------------- */
.featured-listing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background-color: #fff;
  border: 1px solid #eee;
  overflow: hidden;
  margin-bottom: 48px;
  transition: box-shadow 0.35s ease;
}

.featured-listing:hover {
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.1);
}

.featured-listing .listing-card-image,
.featured-listing .featured-listing-image {
  padding-top: 56.25%;        /* 16:9 */
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #eee;
}

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

.featured-listing .listing-card-info,
.featured-listing .featured-listing-info {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-listing .listing-card-info h3,
.featured-listing .featured-listing-info h3 {
  font-family: 'Lato', Helvetica, Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 8px;
  color: #222;
}

.featured-listing .featured-listing-info .listing-meta {
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 6px;
}

.featured-listing .featured-listing-info .listing-description {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 12px;
}

.featured-listing .featured-listing-info .listing-price {
  font-family: 'Lato', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .featured-listing {
    grid-template-columns: 1fr 1fr;
  }

  .featured-listing .listing-card-image,
  .featured-listing .featured-listing-image {
    padding-top: 0;
    min-height: 360px;
  }

  .featured-listing .listing-card-info,
  .featured-listing .featured-listing-info {
    padding: 48px;
  }
}

/* -------------------------------------------------------
   9. IMAGE GALLERY GRID
   ------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.gallery-item {
  position: relative;
  padding-top: 75%;            /* 4:3 */
  overflow: hidden;
  cursor: pointer;
  background-color: #eee;
}

.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.35s ease;
  z-index: 1;
}

.gallery-item:hover::after {
  background-color: rgba(0, 0, 0, 0.15);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

/* -------------------------------------------------------
   10. LIGHTBOX
   ------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

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

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.75rem;
  cursor: pointer;
  z-index: 2001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.lightbox-close:hover {
  opacity: 0.6;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 2.5rem;
  cursor: pointer;
  padding: 16px;
  z-index: 2001;
  transition: color 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  color: #fff;
}

.lightbox-prev {
  left: 12px;
}

.lightbox-next {
  right: 12px;
}

.lightbox-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-align: center;
  white-space: nowrap;
}

.lightbox-counter {
  position: absolute;
  top: 24px;
  left: 24px;
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

/* -------------------------------------------------------
   11. CONTACT FORM
   ------------------------------------------------------- */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: #333;
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 14px 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;              /* sharp corners — luxury aesthetic */
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #C9A84C;
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #888;
  font-weight: 400;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.7;
}

.form-button {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 48px;
  background-color: #C9A84C;
  color: #fff;
  border: 1px solid #C9A84C;
  cursor: pointer;
  transition: background-color 0.35s ease;
  border-radius: 0;
}

.form-button:hover {
  background-color: #b8963e;
  border-color: #b8963e;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* -------------------------------------------------------
   12. SIDEBAR (subpage navigation)
   ------------------------------------------------------- */
.page-layout,
.page-with-sidebar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.page-content {
  min-width: 0;           /* prevent grid blowout */
}

.sidebar {
  border-top: 1px solid #eee;
  padding-top: 24px;
  order: 2;               /* below main content on mobile */
}

.sidebar-title {
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 20px;
}

.sidebar-link {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: #333;
  padding: 10px 0;
  border-bottom: 1px solid #f2f2f2;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.sidebar-link:hover,
.sidebar-link.active {
  color: #C9A84C;
  padding-left: 8px;
}

.sidebar-link.active {
  font-weight: 400;
}

@media (min-width: 1024px) {
  .page-layout,
  .page-with-sidebar {
    grid-template-columns: 240px 1fr;
    gap: 64px;
  }

  .sidebar {
    order: 0;             /* left side on desktop */
    border-top: none;
    border-right: 1px solid #eee;
    padding-right: 40px;
    padding-top: 0;
    position: sticky;
    top: 96px;
    align-self: start;
  }
}

/* -------------------------------------------------------
   13. AMENITY LIST (3-column)
   ------------------------------------------------------- */
.amenity-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px 32px;
  max-width: 860px;
  margin: 0 auto;
  list-style: none;
}

/* Support both flat <li> and nested <ul> structures */
.amenity-list > li,
.amenity-list > ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.amenity-list li {
  font-size: 0.95rem;
  font-weight: 400;
  color: #333;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  padding-left: 20px;
  position: relative;
}

.amenity-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background-color: #C9A84C;
  border-radius: 50%;
}

/* Dark section overrides for amenity list */
.section-dark .amenity-list li,
.section--dark .amenity-list li {
  color: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .amenity-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .amenity-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* -------------------------------------------------------
   14. FOOTER
   ------------------------------------------------------- */
.footer {
  background-color: #1a1a1a;
  color: rgba(255, 255, 255, 0.9);
  padding: 64px 0 32px;
  font-size: 0.85rem;
  line-height: 1.8;
}

.footer-inner,
.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-brand {
  font-family: 'Lato', Helvetica, Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand span {
  color: #C9A84C;
}

.footer-heading {
  font-family: 'Lato', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 16px;
}

.footer a {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #C9A84C;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 48px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 768px) {
  .footer-inner,
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-inner,
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .footer {
    padding: 80px 0 40px;
  }
}

/* -------------------------------------------------------
   15. BACK TO TOP
   ------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background-color: #C9A84C;
  color: #fff;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, background-color 0.35s ease;
  z-index: 900;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background-color: #b8963e;
}

/* -------------------------------------------------------
   16. LAZY-LOAD IMAGE PLACEHOLDERS
   ------------------------------------------------------- */
img[data-src],
img.lazy {
  background-color: #f0eeeb;
  background-image: linear-gradient(
    110deg,
    #f0eeeb 30%,
    #f7f6f3 50%,
    #f0eeeb 70%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}

img[data-src].loaded,
img.lazy.loaded {
  animation: none;
  background: none;
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Fade-in on load */
img.lazy-fade {
  opacity: 0;
  transition: opacity 0.5s ease;
}

img.lazy-fade.loaded {
  opacity: 1;
}

/* -------------------------------------------------------
   17. HORIZONTAL RULES / DIVIDERS
   ------------------------------------------------------- */
hr,
.divider {
  border: none;
  height: 1px;
  background-color: #e8e6e2;
  margin: 48px 0;
}

.divider-gold {
  background-color: #C9A84C;
  width: 60px;
  margin: 40px auto;
}

.divider--short {
  width: 60px;
  margin: 32px auto;
}

/* -------------------------------------------------------
   18. UTILITY HELPERS
   ------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mx-auto { margin-left: auto; margin-right: auto; }
.mb-0    { margin-bottom: 0; }
.mb-1    { margin-bottom: 8px; }
.mb-2    { margin-bottom: 16px; }
.mb-3    { margin-bottom: 24px; }
.mb-4    { margin-bottom: 32px; }
.mb-5    { margin-bottom: 48px; }
.mt-3    { margin-top: 24px; }
.mt-4    { margin-top: 32px; }
.mt-5    { margin-top: 48px; }

.flex       { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

/* -------------------------------------------------------
   19. ANIMATIONS
   ------------------------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger > .fade-in:nth-child(1) { transition-delay: 0s; }
.stagger > .fade-in:nth-child(2) { transition-delay: 0.1s; }
.stagger > .fade-in:nth-child(3) { transition-delay: 0.2s; }
.stagger > .fade-in:nth-child(4) { transition-delay: 0.3s; }
.stagger > .fade-in:nth-child(5) { transition-delay: 0.4s; }
.stagger > .fade-in:nth-child(6) { transition-delay: 0.5s; }

/* -------------------------------------------------------
   20. PRINT STYLES
   ------------------------------------------------------- */
@media print {
  .nav,
  .nav-mobile,
  .back-to-top,
  .lightbox,
  .nav-hamburger {
    display: none !important;
  }

  body {
    padding-top: 0;
    font-size: 12pt;
    color: #000;
  }

  .hero {
    min-height: auto;
    page-break-after: avoid;
  }

  .section {
    padding: 24pt 0;
  }

  a[href]::after {
    content: ' (' attr(href) ')';
    font-size: 0.8em;
    color: #666;
  }
}
