/* =====================================================================
   SADEGHI GROUP — Global Styles
   Ported from the InfinitiBlu design system (see sensitive/infiniti-style-doc.md)
   to the existing Sadeghi Group HTML class set.

   Architecture:
     1. Design tokens (:root)
     2. Reset + base typography + noise overlay
     3. Layout helpers (.container, .grid, utilities, .reveal)
     4. Buttons (.btn, .btn-dark, .btn-ghost, .btn-outline, .btn-accent)
     5. Navbar (.site-header, .nav-links, .mobile-toggle, language switcher)
     6. Hero (homepage slideshow) + Page Hero (inner pages)
     7. Section system (.section + .section-light/.section-night/.section-gilded
        /.section-faq/.section-marble/.parallax-section/...)
     8. Section heading + kicker + separator
     9. Cards (.gilded-card, .experience-card, .faq-card, .plan-card,
        .testimonial-card, .card, listing cards)
    10. Intro collage, stats, plans table
    11. Forms (.field, contact form)
    12. Footer (.site-footer.footer-enhanced)
    13. Lightbox + misc
    14. Responsive
   ===================================================================== */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Brand neutrals — visually near-black */
  --primary-900: #1E1E1E;
  --primary-800: #2A2A2A;
  --primary-700: #333333;
  --primary-600: #3D3D3D;
  --primary-500: #4A4A4A;
  --primary-400: #5C5C5C;
  --primary-300: #B8A98F;

  /* Gold accent — the only saturated brand color */
  --gold-600: #B8994A;
  --gold-500: #C5AC5A;
  --gold-400: #DABF73;
  --gold-300: #EED189;
  --gold-200: #F5E4AC;
  --gold-solid: #D1B770; /* flat solid surface (navbar, stats bar) */

  /* Supporting */
  --aqua: #B8A98F;
  --sand: #D6CFC3;

  /* Backgrounds */
  --bg-dark:  #1E1E1E;
  --bg-light: #F7F5F2;   /* warm off-white */
  --bg-cream: #f0ede8;
  --bg-card:        rgba(255,255,255,0.03);
  --bg-card-hover:  rgba(255,255,255,0.06);
  --bg-glass:       rgba(255,255,255,0.05);

  /* Text */
  --text-primary:        #f8fafc;
  --text-secondary:      rgba(248, 250, 252, 0.7);
  --text-muted:          rgba(248, 250, 252, 0.5);
  --text-dark:           #1E1E1E;
  --text-dark-secondary: rgba(30, 30, 30, 0.72);
  --text-dark-muted:     rgba(30, 30, 30, 0.55);

  /* Glass / glow */
  --glass-bg:     rgba(255, 255, 255, 0.02);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur:   blur(20px);
  --glow-gold:    0 0 40px rgba(218, 191, 115, 0.10);
  --glow-soft:    0 4px 20px rgba(0, 0, 0, 0.08);

  /* Layered shadows (teal-tinted darks for cohesion) */
  --shadow-color: 0 0% 12%;
  --shadow-elevation-low:
    0 0.5px 0.6px hsl(var(--shadow-color) / 0.15),
    0 0.8px 1px -1.2px hsl(var(--shadow-color) / 0.15),
    0 2px 2.5px -2.5px hsl(var(--shadow-color) / 0.15);
  --shadow-elevation-medium:
    0 0.5px 0.6px hsl(var(--shadow-color) / 0.16),
    0 1.6px 2px -0.8px hsl(var(--shadow-color) / 0.16),
    0 4px 5px -1.7px hsl(var(--shadow-color) / 0.16),
    0 10px 12.5px -2.5px hsl(var(--shadow-color) / 0.16);
  --shadow-elevation-high:
    0 0.5px 0.6px hsl(var(--shadow-color) / 0.14),
    0 2.9px 3.6px -0.4px hsl(var(--shadow-color) / 0.14),
    0 5.4px 6.8px -0.7px hsl(var(--shadow-color) / 0.14),
    0 8.9px 11.1px -1.1px hsl(var(--shadow-color) / 0.14),
    0 14.3px 17.9px -1.4px hsl(var(--shadow-color) / 0.14),
    0 22.4px 28px -1.8px hsl(var(--shadow-color) / 0.14);

  /* Typography */
  --font-heading: 'Libre Baskerville', 'Playfair Display', Georgia, serif;
  --font-body:    'Neue Haas Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --heading-tracking: -0.035em;
  --heading-leading:  1.05;

  /* Motion */
  --ease-out-expo:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-circ: cubic-bezier(0.85, 0, 0.15, 1);
  --transition-fast:  0.2s var(--ease-out-expo);
  --transition-base:  0.4s var(--ease-out-expo);
  --transition-slow:  0.6s var(--ease-out-expo);

  /* Radii — pills for buttons, gentle on cards */
  --radius-sm:  4px;
  --radius-md:  6px;
  --radius-lg:  8px;
  --radius-xl:  12px;
  --radius-2xl: 16px;

  /* Spacing scale (kept for legacy utilities) */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  96px;

  /* Layout */
  --header-height: 80px;
  --max-width:     1320px;
}

/* ---------- 2. Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-dark);
  background: var(--bg-light);
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeSpeed;
  position: relative;
}

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

img, picture, video { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-cream); }
::-webkit-scrollbar-thumb {
  background: rgba(30, 30, 30, 0.42);
  border-radius: 8px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: rgba(30, 30, 30, 0.7); }
html { scrollbar-width: thin; scrollbar-color: rgba(30,30,30,0.42) var(--bg-cream); }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: var(--heading-tracking);
  line-height: var(--heading-leading);
  color: var(--text-dark);
}
h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
}
h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}
h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
h4 {
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  font-family: var(--font-body);
}

p { margin-bottom: 1rem; color: var(--text-dark-secondary); line-height: 1.85; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); line-height: 1.9; letter-spacing: 0.01em; }
.small { font-size: 0.82rem; line-height: 1.55; }
.muted { color: var(--text-dark-muted) !important; }

strong, b { font-weight: 600; color: var(--text-dark); }

/* ---------- 3. Layout helpers ---------- */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
  max-width: var(--max-width);
}

/* Generic grid utilities used across the site */
.grid { display: grid; gap: 24px; }
.grid.gap-3 { gap: 12px; }
.grid.gap-4 { gap: 16px; }
.grid.gap-5 { gap: 24px; }
.grid.gap-6 { gap: 32px; }
.grid.gap-7 { gap: 48px; }

.grid-auto       { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-cols-2-sm  { grid-template-columns: 1fr; }
.grid-cols-3-md  { grid-template-columns: 1fr; }
.grid-cols-4-lg  { grid-template-columns: 1fr; }
.grid-feature    { grid-template-columns: 1fr; }

@media (min-width: 640px){
  .grid-cols-2-sm { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (min-width: 900px){
  .grid-cols-3-md { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .grid-feature   { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (min-width: 1100px){
  .grid-cols-4-lg { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

.text-center { text-align: center; }
.text-right  { text-align: right; }
.space-between { display: flex; justify-content: space-between; }

.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mt-5 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }
.mt-7 { margin-top: 64px; }
.mb-0 { margin-bottom: 0 !important; }
.mb-3 { margin-bottom: 16px; }

.max-w-prose { max-width: 64ch; }
.max-w-prose.center { margin-left: auto; margin-right: auto; }

.list-vertical { display: grid; gap: 6px; }
.list-vertical li::before { content: '— '; color: var(--gold-500); margin-right: 4px; }

/* Scroll reveal — JS adds .visible */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce){
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 4. Buttons ---------- */
.btn,
.btn-primary,
.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-400) 100%);
  color: var(--primary-900);
  padding: 16px 32px;
  border: none;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  cursor: pointer;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 4px 20px rgba(218, 191, 115, 0.2),
    0 1px 3px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  line-height: 1;
}

.btn::before,
.btn-primary::before,
.btn-accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: 0.7s;
}
.btn:hover,
.btn-primary:hover,
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 40px rgba(218, 191, 115, 0.3),
    0 4px 12px rgba(0, 0, 0, 0.1);
}
.btn:hover::before,
.btn-primary:hover::before,
.btn-accent:hover::before { left: 100%; }

/* Dark filled pill — Sadeghi default secondary "Explore All" buttons */
.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--primary-900);
  color: #fff;
  padding: 16px 32px;
  border: 1px solid var(--primary-900);
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-base);
}
.btn-dark:hover {
  background: var(--primary-700);
  border-color: var(--primary-700);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

/* Outline pill — light bg */
.btn-outline,
.btn-secondary-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: var(--primary-900);
  padding: 15px 32px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-base);
}
.btn-outline:hover,
.btn-secondary-light:hover {
  background: var(--primary-900);
  color: #fff;
  border-color: var(--primary-900);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Ghost pill — used over hero / dark backgrounds */
.btn-ghost,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 15px 32px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-decoration: none;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition-base);
}
.btn-ghost:hover,
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* ---------- 5. Navbar ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 14px 0;
  background: var(--gold-solid);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: padding var(--transition-base),
              background var(--transition-base),
              border-color var(--transition-base);
}

/* Scrolled / inner pages: solid gold, slightly tighter */
.site-header.solid {
  background: var(--gold-solid);
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* "Rent" cross-site link, pinned far-left of the window (absolute on the fixed header) */
.nav-rent {
  position: absolute;
  left: clamp(12px, 1.5vw, 24px);
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary-900);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  padding: 6px 0;
  opacity: 0.85;
  text-decoration: none;
  transition: var(--transition-fast);
  flex-shrink: 0;
}
.nav-rent:hover { opacity: 1; }
body.home-page .site-header.transparent .nav-rent { color: #fff; }

/* Homepage hero: transparent over the slideshow until the user scrolls */
body.home-page .site-header.transparent {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
body.home-page .site-header.transparent .nav-links a:not(.btn):not(.btn-dark) { color: #fff; }
body.home-page .site-header.transparent .brand img { filter: brightness(0) invert(1); }
body.home-page .site-header.transparent .lang-dropdown-btn { color: #fff; border-color: rgba(255,255,255,0.3); }
body.home-page .site-header.transparent .mobile-toggle span,
body.home-page .site-header.transparent .mobile-toggle span::before,
body.home-page .site-header.transparent .mobile-toggle span::after { background-color: #fff; }
body.home-page .site-header.transparent .nav-whatsapp { color: #fff; }

.nav-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-900);
  opacity: 0.85;
  padding: 6px;
  text-decoration: none;
  transition: var(--transition-fast);
}
.nav-whatsapp:hover { opacity: 1; }
.nav-whatsapp svg {
  display: block;
  width: 22px;
  height: 22px;
}

/* Inner pages always render the gold treatment */
.site-header .container.navbar,
.container.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) saturate(100%);
  transition: var(--transition-base);
}
.site-header.solid .brand img { height: 34px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}
.nav-links a {
  position: relative;
  display: inline-block;
  color: var(--primary-900);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  padding: 6px 0;
  opacity: 0.85;
  transition: var(--transition-fast);
}
.nav-links a:not(.btn):not(.btn-dark)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--primary-900), transparent);
  transition: width var(--transition-base);
}
body.home-page .site-header.transparent .nav-links a:not(.btn):not(.btn-dark)::after {
  background: linear-gradient(90deg, #fff, transparent);
}
.nav-links a:not(.btn):not(.btn-dark):hover { opacity: 1; }
.nav-links a:not(.btn):not(.btn-dark):hover::after { width: 100%; }
.nav-links a.active { opacity: 1; }

.nav-links .btn,
.nav-links .btn-dark {
  padding: 10px 22px;
  font-size: 0.6rem;
  letter-spacing: 2.5px;
  margin-left: 10px;
}

/* Language switcher (Sadeghi uses .lang-dropdown wrapper) */
.lang-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.lang-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 1px solid rgba(30, 30, 30, 0.3);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  color: var(--primary-900);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-fast);
  opacity: 0.85;
}
.lang-dropdown-btn:hover { opacity: 1; border-color: rgba(30,30,30,0.5); }
.lang-dropdown-btn svg { width: 14px; height: 14px; transition: transform var(--transition-fast); }
.lang-dropdown.open .lang-dropdown-btn svg { transform: rotate(180deg); }

.lang-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  background: rgba(30, 30, 30, 0.94);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 6px 0;
  box-shadow: var(--shadow-elevation-high);
  z-index: 1200;
}
.lang-dropdown.open .lang-dropdown-menu { display: block; }
.lang-dropdown-menu a {
  display: block;
  padding: 9px 18px;
  font-size: 0.7rem !important;
  letter-spacing: 1.2px;
  color: #fff !important;
  opacity: 0.75;
  text-transform: none;
  font-weight: 500;
}
.lang-dropdown-menu a::after { display: none !important; }
.lang-dropdown-menu a:hover { background: rgba(255,255,255,0.06); opacity: 1; }
.lang-dropdown-menu a.active { opacity: 1; }
.lang-dropdown-menu a.active::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 8px;
  background: var(--gold-solid);
  border-radius: 50%;
  vertical-align: middle;
}

/* Mobile menu toggle */
.mobile-toggle {
  display: none;
  width: 32px;
  height: 32px;
  position: relative;
  background: transparent;
  border: 0;
  padding: 0;
  z-index: 1100;
}
.mobile-toggle span,
.mobile-toggle span::before,
.mobile-toggle span::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 24px;
  height: 1.6px;
  background-color: var(--primary-900);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: var(--transition-base);
}
.mobile-toggle span        { top: 50%; transform: translate(-50%, -50%); }
.mobile-toggle span::before { top: -8px; }
.mobile-toggle span::after  { top:  8px; }
.mobile-toggle.active span        { background-color: transparent; }
.mobile-toggle.active span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.mobile-toggle.active span::after  { top: 0; transform: translateX(-50%) rotate(-45deg); }

/* ---------- 6. Hero (homepage) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background: #000;
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-height) + 20px) 20px 60px;
  isolation: isolate;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s var(--ease-out-expo);
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.02);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.18) 40%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-centerpiece {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInUp 1.2s var(--ease-out-expo) 0.35s backwards;
}
.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  max-width: min(36rem, 94vw);
}
.hero-tagline {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}
.hero-tagline__accent {
  color: inherit;
  font-weight: 600;
  font-size: 2em;
  line-height: 1.1;
  display: inline-block;
}
.hero-subline {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 8vw, 4.25rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.95);
  max-width: min(16ch, 92vw);
  text-wrap: balance;
}
.hero > .hero-location {
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 3.5vh, 32px);
  transform: translateX(-50%);
  z-index: 2;
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  animation: fadeInUp 1s var(--ease-out-expo) 0.75s backwards;
}

.hero-actions {
  position: relative;
  z-index: 2;
  margin-top: 44px;
  animation: fadeInUp 1s var(--ease-out-expo) 0.65s backwards;
}
.hero-action-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

@keyframes fadeInUp   { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: none; } }

/* ---------- Compact page banner (condos, land, pricing, about, contact) ---------- */
.page-hero-banner {
  position: relative;
  height: clamp(160px, 28vh, 300px);
  margin-top: 60px;
  overflow: hidden;
  background: var(--primary-900);
}
.page-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
.page-hero-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.22) 100%);
  pointer-events: none;
}

/* ---------- Inner-page hero ("page hero") — `.section-marble` is reused
       by inner pages (condos, about, pricing, contact, land) as the title
       strip below the page banner (or navbar when no banner). When
       `.section-marble` appears mid-page (e.g. villa.html / property detail
       pages) it should behave as a regular light section — navbar offset
       applies to the first element in <main>. ---------- */
.section-marble {
  position: relative;
  background: var(--bg-light);
  padding: clamp(60px, 9vw, 110px) 0 clamp(40px, 6vw, 70px);
  overflow: hidden;
}
main > .page-hero-banner:first-child,
main > .section-marble:first-child {
  margin-top: 60px;
}
.page-hero-banner + .section-marble {
  padding-top: clamp(36px, 5vw, 56px);
}
.section-marble::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 1px;
  background: var(--gold-500);
  opacity: 0.6;
}
.section-marble .section-heading {
  align-items: flex-start;
  max-width: 720px;
}
.section-marble h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  letter-spacing: -0.035em;
}

/* ---------- 7. Sections ---------- */
.section {
  position: relative;
  padding: clamp(60px, 10vw, 120px) 0;
  background: var(--bg-light);
}
.section + .section { border-top: 1px solid rgba(0,0,0,0.04); }

/* Alternate light/cream by index, but allow explicit overrides */
main > .section:nth-of-type(even):not(.section-night):not(.section-gilded):not(.parallax-section):not(.section-light):not(.section-marble) {
  background: var(--bg-cream);
}

.section-light { background: var(--bg-light); }
.section-cream { background: var(--bg-cream); }

/* Formerly dark sections — now white with dark text */
.section-night,
.section-gilded {
  background: #fff;
  color: var(--text-dark);
}
.section-night h1, .section-night h2, .section-night h3, .section-night h4,
.section-gilded h1, .section-gilded h2, .section-gilded h3, .section-gilded h4 {
  color: var(--primary-900);
}
.section-night p,
.section-gilded p { color: var(--text-dark-secondary); }
.section-night .muted,
.section-gilded .muted { color: var(--text-dark-muted) !important; }

/* Parallax sections (used as full-bleed cinematic breaks) */
.parallax-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-color: var(--primary-900);
  color: #fff;
  overflow: hidden;
}
.parallax-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.75) 100%);
}
.parallax-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: clamp(40px, 8vw, 90px) 30px;
  display: grid;
  gap: 18px;
  justify-items: center;
}
.parallax-section h1,
.parallax-section h2 { color: #fff; }
.parallax-section p { color: rgba(255,255,255,0.88); margin-bottom: 0; }
.parallax-section .section-kicker { color: var(--gold-300); }
.parallax-section .section-kicker::before { background: var(--gold-300); opacity: 0.8; }
.parallax-section--shore    { background-image: url('../best-images/3.jpg'); }
.parallax-section--twilight { background-image: url('../best-images/7.jpg'); }
@media (max-width: 900px){
  .parallax-section { background-attachment: scroll; min-height: 55vh; }
}

/* Section variants */
.section-full {
  min-height: 90dvh;
  display: flex;
  align-items: center;
}
.section-full .container { max-width: 1100px; }
.section-tight { padding: 48px 0; }

.canopy-section, .palm-section, .dunes-section, .feature-suite {
  position: relative;
  overflow: hidden;
}

.section-home-cta { text-align: center; }
.section-home-cta h2 { margin-bottom: 20px; }
.section-home-cta p  { margin: 0 auto 32px; }

/* ---------- 8. Section heading + kicker + separator ---------- */
.section-heading {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 680px;
  margin-bottom: 48px;
  position: relative;
}
.section-heading h2,
.section-heading h1 { margin-bottom: 0; }
.section-heading h2::after,
.section-heading h1::after {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: var(--gold-500);
  opacity: 0.7;
  margin-top: 18px;
  border-radius: 999px;
}
.section-heading > p { margin-bottom: 0; }

/* eyebrow / tagline */
.section-kicker,
.tagline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-600);
}
.section-kicker::before,
.tagline::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold-500);
  opacity: 0.85;
  flex-shrink: 0;
}
.section-night .section-kicker,
.section-gilded .section-kicker { color: var(--gold-600); }
.parallax-section .section-kicker { color: var(--gold-300); }

/* Centered section headers (when used inside sections that want centered) */
.section-faq .section-heading,
.section-home-cta .section-heading,
.section-gilded .section-heading,
.parallax-section .section-heading {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  align-items: center;
}
.section-faq .section-heading .section-kicker,
.section-gilded .section-heading .section-kicker { justify-content: center; }

.separator {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--gold-500);
  opacity: 0.7;
  margin: 24px auto;
}

/* ---------- 9. Cards ---------- */
/* Shared modern card base — applies to gilded/experience/faq/plan cards.
   We keep the gold hairline accent but make it persistent and subtle
   (no antique "scale-on-hover" sweep), use a tighter radius, and use the
   body sans-serif font for card titles for a cleaner, contemporary feel. */
.gilded-card,
.faq-card,
.experience-card,
.plan-card,
.card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  padding: clamp(26px, 2.8vw, 38px) clamp(22px, 2.4vw, 32px);
  box-shadow: 0 8px 24px rgba(20, 20, 20, 0.06),
              0 1px 2px rgba(20, 20, 20, 0.04);
  transition: transform var(--transition-base),
              box-shadow var(--transition-base),
              border-color var(--transition-base);
}

.gilded-card:hover,
.faq-card:hover,
.experience-card:hover,
.plan-card:hover,
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(20, 20, 20, 0.12),
              0 2px 4px rgba(20, 20, 20, 0.05);
  border-color: rgba(0, 0, 0, 0.12);
}

/* Modern, sans-serif card titles for feature cards (keep the serif
   reserved for big section H1/H2 headlines). */
.gilded-card h3,
.faq-card h3,
.experience-card h3,
.plan-card h3,
.plan-card .plan-card__title,
.testimonial-card figcaption {
  font-family: var(--font-body);
}
.gilded-card h3,
.faq-card h3,
.experience-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.35;
  color: var(--primary-900);
  margin-bottom: 12px;
}

/* Cards inside section-night / section-gilded — same light-surface treatment */
.section-night .experience-card,
.section-night .gilded-card,
.section-gilded .gilded-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 8px 24px rgba(20, 20, 20, 0.06),
              0 1px 2px rgba(20, 20, 20, 0.04);
}
.section-night .experience-card h3,
.section-night .gilded-card h3,
.section-gilded .gilded-card h3 { color: var(--primary-900); }
.section-night .experience-card p,
.section-night .gilded-card p,
.section-gilded .gilded-card p { color: var(--text-dark-secondary); }

/* Gilded card layout */
.gilded-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 16px;
}
@media (min-width: 720px){
  .gilded-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (min-width: 1100px){
  .gilded-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
.gilded-card h3 { margin-bottom: 12px; }
.gilded-card p  { margin-bottom: 16px; }
.gilded-accent {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.66rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-600);
}
.section-night .gilded-accent,
.section-gilded .gilded-accent { color: var(--gold-600); }

/* Experience cards (dark section grid 1fr / 1.1fr) */
.experience-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 1000px){
  .experience-grid { grid-template-columns: 1fr 1.1fr; align-items: start; }
}
.experience-list { display: grid; gap: 20px; }
.experience-card h3 { margin-bottom: 8px; }
.experience-card p  { margin-bottom: 0; }

/* FAQ */
.section-faq { background: var(--bg-cream); }
.faq-wrapper { display: grid; gap: 48px; }
.faq-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px){
  .faq-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
.faq-card h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--primary-900); }
.faq-card p  { margin: 0; color: var(--text-dark-secondary); }
.faq-card ol { padding-left: 1.2rem; margin: 0; display: grid; gap: 6px; color: var(--text-dark-secondary); }
.faq-card ul { margin: 0; }
.faq-card li strong { color: var(--primary-900); }

/* Plans grid + plan card */
.plan-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  margin-top: 8px;
}
@media (min-width: 800px){
  .plan-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
.plan-card { display: flex; flex-direction: column; gap: 14px; }
.plan-card__badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--bg-cream);
  color: var(--gold-600);
  border: 1px solid rgba(197, 172, 90, 0.4);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
}
.plan-card__title { margin: 4px 0 4px; font-size: clamp(1.3rem, 2.4vw, 1.65rem); }
.plan-card__lead  { margin: 0; color: var(--text-dark-secondary); }
.plan-card__highlights {
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.plan-card__highlights li {
  position: relative;
  padding-left: 18px;
  color: var(--text-dark-secondary);
  font-size: 0.92rem;
}
.plan-card__highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: var(--gold-500);
}
.plan-card__highlights strong { color: var(--primary-900); }
.plan-card__cta { margin-top: auto; padding-top: 18px; }

.plan-grid__disclaimer {
  margin-left: auto;
  margin-right: auto;
  max-width: 64ch;
  text-align: center;
}

/* Testimonial card */
.testimonial-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 36px 32px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 12px 36px rgba(20,20,20,0.06);
}
.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 12px;
  left: 28px;
  font-family: var(--font-heading);
  font-size: 72px;
  line-height: 0.8;
  color: var(--gold-400);
  opacity: 0.4;
}
.testimonial-card blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--primary-900);
  line-height: 1.5;
  margin: 0 0 16px;
  padding-left: 24px;
}
.testimonial-card figcaption {
  padding-left: 24px;
  font-size: 0.7rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-dark-muted);
}

/* ---------- 10. Intro collage / Stats / Plans table ---------- */
.intro-wrap {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1000px){
  .intro-wrap { grid-template-columns: 1fr 1.1fr; }
}
.intro-copy { display: flex; flex-direction: column; gap: 18px; }
.intro-pill {
  width: 38px;
  height: 1px;
  background: var(--gold-500);
  opacity: 0.8;
}
.intro-body {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.85;
  color: var(--text-dark-secondary);
}
.intro-body strong { color: var(--primary-900); font-weight: 500; }

.intro-collage {
  position: relative;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 220px 160px;
}
.intro-collage__item {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(20,20,20,0.12);
}
.intro-collage__item img { width: 100%; height: 100%; object-fit: cover; }
.intro-collage__item--primary   { grid-column: 1 / 3; grid-row: 1 / 2; }
.intro-collage__item--secondary { grid-column: 1 / 2; grid-row: 2 / 3; }
.intro-collage__item--tertiary  { grid-column: 2 / 3; grid-row: 2 / 3; }

/* Plans table */
.plans-table-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(20,20,20,0.06);
}
.plans-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.plans-table th,
.plans-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.plans-table th {
  background: var(--bg-cream);
  color: var(--primary-900);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.plans-table th.num,
.plans-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.plans-table tbody tr { transition: background var(--transition-fast); }
.plans-table tbody tr:hover { background: var(--bg-cream); }
.plans-table tbody tr:last-child td { border-bottom: 0; }

/* ---------- 11. Forms ---------- */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 0.62rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary-900);
  opacity: 0.75;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(0,0,0,0.18);
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--primary-900);
  outline: none;
  transition: border-color var(--transition-fast);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-bottom-color: var(--gold-500);
}
.field textarea { resize: vertical; }
.required-star { color: var(--gold-600); margin-left: 2px; }
.form-meta { position: absolute; left: -10000px; }

/* Contact form card uses .card; tighten on small screens */
form.card { padding: 32px; }

/* ---------- 12. Footer ---------- */
.site-footer,
.site-footer.footer-enhanced {
  background: var(--gold-solid);
  color: var(--text-dark-secondary);
  padding: clamp(64px, 8vw, 100px) 0 clamp(28px, 4vw, 36px);
  margin-top: 0;
  border-top: none;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08), transparent);
  pointer-events: none;
}
.footer-top {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  position: relative;
}
.footer-grid {
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  grid-template-columns: 1fr;
  align-items: start;
}
.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  width: 100%;
}
.footer-column h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary-900);
  margin: 0 0 10px;
}
.footer-brand.footer-column {
  align-items: flex-start;
  text-align: left;
  gap: 20px;
  max-width: 340px;
}
.footer-brand .footer-copy {
  color: rgba(30, 30, 30, 0.68);
  margin: 0;
  max-width: 34ch;
  font-size: 0.9rem;
  line-height: 1.75;
  font-weight: 400;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.footer-links li { margin: 0; padding: 0; }
.footer-links a {
  font-size: 0.78rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(30, 30, 30, 0.68);
  transition: var(--transition-fast);
  display: inline-block;
}
.footer-links a:hover {
  color: var(--primary-900);
  transform: translateX(2px);
}
.footer-divider {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin: clamp(24px, 4vw, 44px) 0 18px;
}
.legal {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(30, 30, 30, 0.55);
  text-align: center;
  margin: 0;
}

@media (min-width: 860px){
  .footer-grid {
    grid-template-columns: minmax(240px, 340px) repeat(3, minmax(0, 1fr));
    column-gap: clamp(40px, 6vw, 80px);
    align-items: start;
  }
  .footer-enhanced .footer-column:not(.footer-brand) {
    padding-top: 4px;
  }
}

@media (max-width: 720px){
  .footer-enhanced .footer-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(28px, 6vw, 40px);
  }
  .footer-enhanced .footer-brand,
  .footer-brand.footer-column {
    align-items: center;
    text-align: center;
    max-width: 100%;
  }
  .footer-enhanced .footer-copy {
    max-width: 36ch;
    text-align: center;
  }
  .footer-enhanced .footer-column:not(.footer-brand) {
    align-items: center;
    text-align: center;
  }
  .footer-enhanced .footer-column--quicklinks { display: none; }
  .footer-enhanced .footer-column--explore h4 { display: none; }
  .footer-enhanced .footer-column--explore .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
  }
}

/* ---------- 13. Listing / property cards (rendered by main.js .card) ----------
   Sub-classes used in JS: .card-media, .card-badge, .card-content,
   .card-meta, .card-id, .card-title, .card-footer, .price */

/* Cap listing grids at 3 columns max so cards stay close to square,
   regardless of the grid-cols-4-lg utility on the wrapper. */
[data-listings] {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px){
  [data-listings] { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (min-width: 1000px){
  [data-listings] { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
[data-listings].grid-auto { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

/* Listing card is just `.card` from main.js — we already give .card the
   base white-surface treatment. Make property cards specifically more
   modern: tighter radius, no antique top-border accent, sans-serif title. */
/* Apply the "image-led" card treatment to any `.card` whose first
   element is a `.card-media` (property listings AND blog cards). */
.card[data-type],
.card:has(> .card-media) {
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(20, 20, 20, 0.06),
              0 1px 2px rgba(20, 20, 20, 0.04);
  overflow: hidden;
  transition: transform var(--transition-base),
              box-shadow var(--transition-base),
              border-color var(--transition-base);
}
.card[data-type]:hover,
.card:has(> .card-media):hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(20, 20, 20, 0.12),
              0 2px 4px rgba(20, 20, 20, 0.05);
  border-color: rgba(0, 0, 0, 0.12);
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-cream);
  overflow: hidden;
}
.card-media a { display: block; height: 100%; }
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.2s var(--ease-out-expo);
}
.card[data-type]:hover .card-media img { transform: scale(1.05); }

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(30, 30, 30, 0.92);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.58rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 3px;
  backdrop-filter: blur(6px);
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px 22px;
  flex: 1;
}
.card-content > div:first-child { display: flex; flex-direction: column; gap: 4px; }

.card-meta {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-dark-muted);
}
.card-id {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dark-muted);
  opacity: 0.7;
}
.card-title {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.35;
  margin: 4px 0 0;
  color: var(--primary-900);
}
.card-title a { color: inherit; transition: color var(--transition-fast); }
.card-title a:hover { color: var(--gold-600); }
.card-content .small.muted { font-size: 0.82rem; line-height: 1.55; margin: 0; }

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  margin-top: auto;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.card-footer .price {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--primary-900);
  white-space: nowrap;
}
/* Compact "Details" button inside the card footer */
.card-footer .btn,
.card-footer .btn-outline,
.card-footer .btn-dark {
  padding: 9px 18px;
  font-size: 0.58rem;
  letter-spacing: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* property-actions row (used on pricing.html) */
.property-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.property-actions--center { justify-content: center; }

/* ---------- 14. Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 15, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
  backdrop-filter: blur(10px);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox figure {
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
  margin: 0;
}
.lightbox img {
  max-width: 92vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  transition: var(--transition-fast);
}
.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(255,255,255,0.22); }
.lightbox-close { top: -56px; right: 0; }
.lightbox-prev  { left: -64px;  top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: -64px; top: 50%; transform: translateY(-50%); }
.lightbox-caption {
  margin-top: 14px;
  text-align: center;
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
}
.lightbox-counter {
  position: absolute;
  bottom: -42px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.6);
}
.lightbox:not(.has-multiple) .lightbox-nav,
.lightbox:not(.has-multiple) .lightbox-counter { display: none; }

@media (max-width: 800px){
  .lightbox-prev  { left: 8px;  top: auto; bottom: 16px; transform: none; }
  .lightbox-next  { right: 8px; top: auto; bottom: 16px; transform: none; }
  .lightbox-close { top: 8px; right: 8px; }
}

/* Gallery grid (used in some pages) */
.gallery-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px){ .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px){ .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-md);
  cursor: zoom-in;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.gallery-grid img:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,0.18); }

/* ---------- Gallery slideshow (progressive enhancement of .gallery-grid) ---------- */
.gallery-grid.is-slideshow {
  display: block;
}
.gallery-slideshow {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gallery-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--primary-900);
}
.gallery-stage__img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  cursor: zoom-in;
  transition: opacity var(--transition-base);
}
.gallery-stage__img.is-floorplan {
  object-fit: contain;
  background: #fff;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(30, 30, 30, 0.55);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background var(--transition-base), transform var(--transition-base);
}
.gallery-slideshow.has-multiple .gallery-nav { display: inline-flex; }
.gallery-nav:hover { background: var(--gold-600); }
.gallery-nav:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 3px; }
.gallery-nav--prev { left: 14px; }
.gallery-nav--next { right: 14px; }
.gallery-stage__counter {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(30, 30, 30, 0.65);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  z-index: 2;
}
.gallery-slideshow:not(.has-multiple) .gallery-stage__counter { display: none; }
.gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.gallery-thumb {
  flex: 0 0 auto;
  width: 92px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--primary-900);
  opacity: 0.65;
  transition: opacity var(--transition-base), border-color var(--transition-base);
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-thumb.is-floorplan img { object-fit: contain; background: #fff; }
.gallery-thumb:hover { opacity: 1; }
.gallery-thumb.is-active {
  opacity: 1;
  border-color: var(--gold-500);
}
.gallery-thumb:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 2px; }

/* ---------- 15. Responsive ---------- */
@media (max-width: 960px){
  .nav-links {
    position: fixed;
    inset: 0 -100% 0 auto;
    width: min(86vw, 360px);
    min-height: 100dvh;
    background: var(--primary-900);
    padding: 100px 32px 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    transition: right var(--transition-base);
    box-shadow: -20px 0 60px rgba(0,0,0,0.4);
    right: -100%;
    overflow-y: auto;
  }
  .nav-links.open { right: 0; }
  .nav-links a,
  .nav-links a:not(.btn):not(.btn-dark) { color: #fff !important; font-size: 0.85rem; letter-spacing: 3px; }
  .nav-links a:not(.btn):not(.btn-dark)::after { background: linear-gradient(90deg, var(--gold-300), transparent) !important; }
  .nav-links .lang-dropdown { width: 100%; }
  .nav-links .lang-dropdown-btn { color: #fff; border-color: rgba(255,255,255,0.3); }
  .lang-dropdown-menu { position: static; margin-top: 8px; min-width: 0; width: 100%; background: rgba(255,255,255,0.04); }
  .nav-links > .nav-rent {
    position: static;
    transform: none;
    margin-top: auto;
    width: 100%;
    padding-top: 28px;
    margin-bottom: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff !important;
    font-size: 0.85rem !important;
    letter-spacing: 3px !important;
    opacity: 0.9;
  }
  .nav-links > .nav-rent:hover { opacity: 1; }
  .mobile-toggle { display: inline-block; }
  .site-header .brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
  }
  .nav-whatsapp {
    position: relative;
    z-index: 3;
    margin-left: auto;
  }
  .mobile-toggle {
    position: relative;
    z-index: 3;
    margin-left: 0;
  }

  .hero { padding-top: calc(var(--header-height) + 24px); }
  .hero-action-buttons { gap: 10px; }

  .intro-wrap { grid-template-columns: 1fr; }
  .intro-collage { grid-template-rows: 180px 130px; }

  main > .page-hero-banner:first-child,
  main > .section-marble:first-child { margin-top: 56px; }
  .section-marble { padding: 70px 0 40px; }
  .page-hero-banner + .section-marble { padding-top: 40px; }

  form.card { padding: 22px; }
}

@media (max-width: 600px){
  h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .section-heading { margin-bottom: 32px; }
  .gilded-grid,
  .plan-grid,
  .faq-grid { gap: 16px; }
}

/* =====================================================================
   16. Property detail page
   ===================================================================== */

/* Hero strip with full-bleed background image set inline by main.js. */
.property-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 62vh;
  margin-top: 0;
  padding: calc(var(--header-height) + 60px) 0 56px;
  color: #fff;
  background-color: var(--primary-900);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  isolation: isolate;
}
.property-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
              rgba(0,0,0,0.30) 0%,
              rgba(0,0,0,0.45) 55%,
              rgba(0,0,0,0.78) 100%);
  z-index: 0;
}
.property-hero .container,
.property-hero .overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}
.property-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  text-shadow: 0 4px 32px rgba(0,0,0,0.4);
  margin-bottom: 14px;
  max-width: 900px;
}
.property-hero p,
.property-hero .muted {
  color: rgba(255,255,255,0.86) !important;
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 18px;
}

/* Inline info chips (Living area, Roof, Garden, ID, etc.) */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 100px;
  padding: 7px 14px;
  font-size: 0.65rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Big price display in the hero (and elsewhere) */
.property-hero .price {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--gold-300);
  margin-top: 18px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.3);
}

/* On the property hero, .property-actions sits above the fold */
.property-hero .property-actions {
  display: none;
}

/* Property body / description block */
.property-overview { padding-top: clamp(50px, 8vw, 90px); }
.property-layout   { display: grid; gap: 40px; }
.property-description h2 { margin-bottom: 18px; }
.property-body { color: var(--text-dark-secondary); }
.property-body p,
.property-body ul,
.property-body ol { margin-bottom: 14px; }
.property-body ul { padding-left: 1.1rem; list-style: disc; }
.property-body strong { color: var(--primary-900); font-weight: 600; }

/* Video + Map columns side-by-side */
.media-columns {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  grid-template-columns: 1fr;
}
@media (min-width: 880px){
  .media-columns { grid-template-columns: 1fr 1fr; }
}
.media-column h2 { margin-bottom: 16px; }
.video-wrapper,
.map-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-cream);
  box-shadow: 0 10px 30px rgba(20,20,20,0.10);
}
.video-wrapper iframe,
.map-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

/* Gallery section on property pages */
.property-gallery h2 { margin-bottom: 8px; }
.property-gallery .muted { margin-bottom: 24px; }
.gallery-floorplan {
  background: #fff;
  object-fit: contain !important;
  padding: 8px;
}

/* Inquiry section forms (.property-inquiry uses .card / form.card) */
.property-inquiry .card { display: flex; flex-direction: column; }
.property-inquiry form.card { padding: clamp(24px, 3vw, 36px); }

/* =====================================================================
   17. Plan card variants + contrast hardening
   ===================================================================== */

/* Compact plan cards rendered on property detail pages */
.plan-grid--compact { gap: 18px; }
.plan-card--compact { padding: 26px 24px; gap: 10px; }
.plan-card__amount {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--primary-900);
  margin: 4px 0 2px;
  line-height: 1.1;
}
.plan-card__amount span {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dark-muted);
  margin-left: 6px;
  vertical-align: middle;
}
.plan-card__sub {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gold-600);
  margin: 0 0 4px;
  letter-spacing: 0.01em;
}
.plan-card--disabled { opacity: 0.7; }
.plan-card--disabled .plan-card__title { color: var(--text-dark-muted); }

/* CRITICAL — keep plan card text dark/readable even when the surrounding
   section is dark (.section-night / .section-gilded). Otherwise the
   inherited `color: var(--text-secondary)` rule from dark sections turns
   the card text white on a white card surface. */
.section-night .plan-card,
.section-gilded .plan-card,
.section-night .faq-card,
.section-gilded .faq-card,
.section-night .testimonial-card,
.section-gilded .testimonial-card,
.section-night .card,
.section-gilded .card { color: var(--text-dark); }

.section-night .plan-card h3,
.section-gilded .plan-card h3,
.section-night .plan-card p,
.section-gilded .plan-card p,
.section-night .plan-card li,
.section-gilded .plan-card li,
.section-night .plan-card .small,
.section-gilded .plan-card .small,
.section-night .plan-card .muted,
.section-gilded .plan-card .muted,
.section-night .faq-card h3,
.section-gilded .faq-card h3,
.section-night .faq-card p,
.section-gilded .faq-card p,
.section-night .faq-card li,
.section-gilded .faq-card li,
.section-night .card h2,
.section-night .card h3,
.section-night .card p,
.section-night .card li,
.section-night .card label,
.section-night .card .muted,
.section-gilded .card h2,
.section-gilded .card h3,
.section-gilded .card p,
.section-gilded .card li,
.section-gilded .card label,
.section-gilded .card .muted { color: inherit !important; }

.section-night .plan-card .muted,
.section-gilded .plan-card .muted,
.section-night .faq-card .muted,
.section-gilded .faq-card .muted,
.section-night .card .muted,
.section-gilded .card .muted { color: var(--text-dark-muted) !important; }

.section-night .plan-card__title,
.section-gilded .plan-card__title,
.section-night .plan-card__amount,
.section-gilded .plan-card__amount { color: var(--primary-900) !important; }

.section-night .plan-card__sub,
.section-gilded .plan-card__sub { color: var(--gold-600) !important; }

/* =====================================================================
   18. Pricing page — plans table cell elements
   ===================================================================== */
.plans-table__name {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--primary-900);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}
.plans-table__name:hover {
  color: var(--gold-600);
  border-bottom-color: var(--gold-400);
}

/* Small button variant used inside the plans table */
.btn-sm,
.btn.btn-sm,
.btn-outline.btn-sm,
.btn-dark.btn-sm {
  padding: 7px 16px;
  font-size: 0.56rem;
  letter-spacing: 1.8px;
}

.plans-table-wrap { overflow-x: auto; }
.plans-table { min-width: 760px; }

/* =====================================================================
   19. Condos page filter bar
   ===================================================================== */
.filters {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: 0 6px 18px rgba(20, 20, 20, 0.04);
  margin-bottom: 28px;
}

/* Condos listings — tight spacing around filter bar (matches .grid gap: 24px) */
.condos-intro.section-marble {
  padding-bottom: 0;
}
.condos-intro p.muted {
  margin-bottom: 0;
}
.condos-listings.section {
  padding-top: 24px;
  padding-bottom: clamp(48px, 8vw, 96px);
}
.condos-listings .filters {
  margin-bottom: 24px;
}
@media (min-width: 640px){
  .filters { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; }
}
.filters .field { gap: 6px; }

/* =====================================================================
   20. Misc polish — scroll-top, links, contrast hardening
   ===================================================================== */
.scroll-top,
button.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-900);
  color: #fff;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  z-index: 900;
  box-shadow: 0 10px 30px rgba(20,20,20,0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base), transform var(--transition-base);
}
.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.scroll-top:hover { transform: translateY(-2px); background: var(--primary-700); }
.scroll-top__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  color: inherit;
  background: none;
  box-shadow: none;
  width: auto;
  height: auto;
  position: static;
}

/* Body links inside text areas get a subtle gold underline on hover */
.property-body a,
.intro-body a,
main p a:not(.btn):not(.btn-dark):not(.btn-outline):not(.btn-accent):not(.btn-ghost) {
  color: var(--primary-900);
  border-bottom: 1px solid var(--gold-400);
  transition: color var(--transition-fast), border-color var(--transition-fast);
}
.property-body a:hover,
.intro-body a:hover,
main p a:not(.btn):not(.btn-dark):not(.btn-outline):not(.btn-accent):not(.btn-ghost):hover {
  color: var(--gold-600);
  border-bottom-color: var(--gold-500);
}

/* Ensure .small.muted always renders muted dark on light surfaces */
.card .small.muted,
.gilded-card .small.muted,
.faq-card .small.muted,
.plan-card .small.muted { color: var(--text-dark-muted) !important; }

/* The hero on property/villa pages should stack actions on mobile */
@media (max-width: 700px){
  .property-hero { min-height: 50vh; padding-top: calc(var(--header-height) + 30px); padding-bottom: 36px; }
  .property-hero h1 { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .property-hero .property-actions { width: 100%; }
  .property-hero .property-actions .btn,
  .property-hero .property-actions .btn-dark,
  .property-hero .property-actions .btn-accent { flex: 1 1 100%; }
}

/* Stretch sub-cards on property inquiry section so the two columns
   are equal height. */
.property-inquiry .grid > .card,
.property-inquiry .grid > form.card { height: 100%; }

/* =====================================================================
   21. Blog index + blog post
   ===================================================================== */

.blog-index-hero { padding-bottom: clamp(40px, 5vw, 60px); }

.blog-index-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px){ .blog-index-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1100px){ .blog-index-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }

.blog-index-grid .card { display: flex; flex-direction: column; }
.blog-index-grid .card .card-media,
.blog-index-grid .card > a.card-media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
}
.blog-index-grid .card .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out-expo);
}
.blog-index-grid .card:hover .card-media img { transform: scale(1.05); }

.blog-index-grid .card .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 26px 26px;
}
.blog-index-grid .card .card-content > * + .btn-tertiary { margin-top: auto; }

.blog-index-label {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-600);
}

/* h2.h4 inside blog cards: render the h2 at h4 scale */
.blog-index-grid h2,
h2.h4 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.4;
  color: var(--primary-900);
  margin: 0;
}
.blog-index-grid h2 a { color: inherit; transition: color var(--transition-fast); }
.blog-index-grid h2 a:hover { color: var(--gold-600); }
.blog-index-grid .card .card-content p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-dark-secondary);
  margin: 0;
}

/* Tertiary button: text-only CTA with gold underline */
.btn-tertiary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-600);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--gold-400);
  border-radius: 0;
  align-self: flex-start;
  padding-bottom: 4px;
  text-decoration: none;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}
.btn-tertiary::after {
  content: '→';
  transition: transform var(--transition-fast);
  display: inline-block;
}
.btn-tertiary:hover {
  color: var(--primary-900);
  border-bottom-color: var(--primary-900);
}
.btn-tertiary:hover::after { transform: translateX(4px); }

/* Breadcrumbs */
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-dark-muted);
}
.breadcrumbs ol li:not(:last-child)::after {
  content: '/';
  margin-left: 8px;
  color: var(--text-dark-muted);
  opacity: 0.7;
}
.breadcrumbs ol li[aria-current="page"] { color: var(--primary-900); }
.breadcrumbs ol a {
  color: var(--text-dark-muted);
  transition: color var(--transition-fast);
}
.breadcrumbs ol a:hover { color: var(--gold-600); }

/* Blog article layout */
.blog-article { padding-top: clamp(60px, 8vw, 90px); }
.blog-article > .container > .section-heading {
  max-width: 800px;
  margin-bottom: 32px;
}
.blog-article h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  margin-bottom: 16px;
}
.hero-media {
  margin: 0 0 48px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(20,20,20,0.10);
  background: var(--bg-cream);
}
.hero-media img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.hero-media figcaption {
  padding: 12px 18px;
  background: #fff;
  font-size: 0.82rem;
  color: var(--text-dark-muted);
  border-top: 1px solid rgba(0,0,0,0.06);
}

.blog-layout {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px){
  .blog-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
  }
}
.blog-sidebar { display: grid; gap: 24px; position: sticky; top: calc(var(--header-height) + 20px); }
.blog-sidebar .card { padding: 24px; }
.blog-sidebar h2 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 14px;
}
.blog-sidebar ol,
.blog-sidebar ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: toc;
}
.blog-sidebar ol li { counter-increment: toc; }
.blog-sidebar ol li::before {
  content: counter(toc, decimal-leading-zero) ' ';
  color: var(--gold-600);
  font-weight: 600;
  margin-right: 6px;
}
.blog-sidebar a {
  color: var(--text-dark-secondary);
  font-size: 0.85rem;
  transition: color var(--transition-fast);
}
.blog-sidebar a:hover { color: var(--gold-600); }

@media (max-width: 1023px){
  .blog-sidebar { position: static; }
}

/* Rich text article body */
.rich-text { font-size: 1.02rem; line-height: 1.9; color: var(--text-dark-secondary); }
.rich-text > section + section { margin-top: 40px; }
.rich-text h2 {
  margin: 36px 0 14px;
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  font-weight: 400;
  color: var(--primary-900);
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.rich-text h2:first-child { margin-top: 0; }
.rich-text h3 {
  margin: 28px 0 10px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-900);
}
.rich-text p { margin-bottom: 16px; }
.rich-text ul,
.rich-text ol {
  margin: 0 0 18px 1.25rem;
  padding: 0;
  list-style: disc;
}
.rich-text ol { list-style: decimal; }
.rich-text li { margin-bottom: 6px; }
.rich-text li::marker { color: var(--gold-500); }
.rich-text strong { color: var(--primary-900); font-weight: 600; }
.rich-text a {
  color: var(--primary-900);
  border-bottom: 1px solid var(--gold-400);
  transition: color var(--transition-fast), border-color var(--transition-fast);
}
.rich-text a:hover { color: var(--gold-600); border-bottom-color: var(--gold-500); }
.rich-text blockquote {
  margin: 28px 0;
  padding: 22px 28px;
  border-left: 3px solid var(--gold-500);
  background: var(--bg-cream);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--primary-900);
}
.rich-text img {
  border-radius: var(--radius-md);
  margin: 24px 0;
  box-shadow: 0 12px 30px rgba(20,20,20,0.10);
}

/* Blog CTA callout */
.blog-cta {
  margin: 36px 0 0;
  padding: 32px clamp(24px, 3vw, 40px);
  background: #fff;
  color: var(--text-dark);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(20, 20, 20, 0.06);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.blog-cta h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 400;
  color: var(--primary-900);
  margin: 0;
  letter-spacing: -0.01em;
}
.blog-cta p { color: var(--text-dark-secondary); margin: 0; }
.blog-cta a.btn { margin-top: 4px; }

/* ---------- Price request (modal + inline) ---------- */
.price-request-modal {
  position: fixed;
  inset: 0;
  z-index: 6000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}
.price-request-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.price-request-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.72);
  backdrop-filter: blur(6px);
}
.price-request-modal__panel {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: clamp(24px, 4vw, 36px);
  margin: 0;
}
.price-request-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: none;
  background: transparent;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text-dark-secondary);
}
.price-request-form__fields { gap: var(--space-4); }
.price-request-form__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-4);
}
.price-request-inline {
  max-width: 640px;
  padding: clamp(20px, 3vw, 28px);
  border-radius: 14px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: 0 12px 36px rgba(0,0,0,0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-dark);
}
.price-request-inline .field label {
  color: var(--primary-900);
  opacity: 0.85;
}
.price-request-inline .price-request-form__fields { gap: 12px; }
.price-request-hero .btn-accent { box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.plans-table__row-link { cursor: pointer; }
.plans-table__row-link:hover td { background: rgba(197,172,90,0.08); }

/* =====================================================================
   21. Pricing Admin
   ===================================================================== */
.pricing-admin-login {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  padding: var(--space-5);
}
.pricing-admin-login.hidden { display: none; }

.pricing-admin-login__inner { width: min(420px, 100%); }

.pricing-admin-login__card {
  display: grid;
  gap: var(--space-5);
  text-align: left;
}
.pricing-admin-login__card:hover {
  transform: none;
  box-shadow: 0 8px 24px rgba(20, 20, 20, 0.06), 0 1px 2px rgba(20, 20, 20, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
}

.pricing-admin-login__brand {
  display: flex;
  justify-content: center;
}
.pricing-admin-login__brand img {
  height: 40px;
  width: auto;
  filter: brightness(0) saturate(100%);
}

.pricing-admin-login__heading {
  margin-bottom: 0;
  align-items: center;
  text-align: center;
  max-width: none;
}
.pricing-admin-login__heading h1 {
  font-size: clamp(1.6rem, 4vw, 2rem);
  letter-spacing: -0.03em;
}
.pricing-admin-login__heading .section-kicker { justify-content: center; }

.pricing-admin-login__form {
  display: grid;
  gap: var(--space-5);
}
.pricing-admin-login__submit { width: 100%; }

.pricing-admin-login__error {
  min-height: 1.2em;
  font-size: 0.82rem;
  color: #9a3412;
  text-align: center;
  margin: 0;
}

.pricing-admin-app.hidden { display: none; }

/* Print friendliness */
@media print {
  .site-header, .site-footer, .mobile-toggle, .lightbox, .scroll-top, .price-request-modal { display: none !important; }
  body { background: #fff !important; }
  body::after { display: none; }
}
