/* ===================================================
   AMS Promotions - Professional Corporate Stylesheet
   =================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Backgrounds */
  --bg-main: #ffffff;
  --bg-alt: #f8fafc;
  --bg-subtle: #f1f5f9;
  --bg-footer: #0f172a;
  --bg-card: #ffffff;
  --bg-nav: #ffffff;
  --bg-hero-overlay: rgba(15, 23, 42, 0.55);

  /* Text */
  --text-heading: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-on-dark: #f1f5f9;
  --text-on-primary: #ffffff;

  /* Accents */
  --primary-dark: #1e40af;
  --primary: #2563eb;
  --primary-light: #3b82f6;
  --primary-tint: #dbeafe;

  /* Status */
  --status-available: #16a34a;
  --status-available-bg: #dcfce7;
  --status-reserved: #d97706;
  --status-reserved-bg: #fef3c7;
  --status-sold: #dc2626;
  --status-sold-bg: #fee2e2;

  /* Borders & Shadows */
  --border: #e2e8f0;
  --border-emphasis: #cbd5e1;
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);

  /* Misc */
  --radius: 8px;
  --radius-sm: 6px;
  --transition: 0.2s ease;
  --nav-height: 72px;
  --container-max: 1200px;
}

/* ---------- Dark Theme ---------- */
[data-theme="dark"] {
  --bg-main: #0f172a;
  --bg-alt: #1e293b;
  --bg-subtle: #334155;
  --bg-footer: #0f172a;
  --bg-card: #1e293b;
  --bg-nav: #0f172a;
  --bg-hero-overlay: rgba(15, 23, 42, 0.7);

  --text-heading: #f1f5f9;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;

  --primary-dark: #2563eb;
  --primary: #3b82f6;
  --primary-light: #60a5fa;
  --primary-tint: #1e3a5f;

  --status-available-bg: #14532d;
  --status-reserved-bg: #713f12;
  --status-sold-bg: #7f1d1d;

  --border: #334155;
  --border-emphasis: #475569;
  --shadow: 0 1px 3px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.25), 0 2px 4px rgba(0,0,0,0.2);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.3), 0 4px 6px rgba(0,0,0,0.2);
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background-color: var(--bg-main);
  transition: background-color 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  color: var(--text-heading);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 700;
  transition: color 0.3s ease;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.625rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--primary-dark); }

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

ul, ol { list-style: none; }

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--alt {
  background-color: var(--bg-alt);
}

.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 640px;
  margin-bottom: 48px;
}

.section-subtitle--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.4;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--primary);
  color: var(--text-on-primary);
}

.btn--primary:hover {
  background-color: var(--primary-dark);
  color: var(--text-on-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background-color: var(--bg-subtle);
  color: var(--text-body);
  border: 1px solid var(--border);
}

.btn--secondary:hover {
  background-color: var(--border);
  color: var(--text-heading);
}

.btn--outline {
  background-color: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn--outline:hover {
  background-color: var(--primary);
  color: var(--text-on-primary);
}

.btn--large {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn--small {
  padding: 8px 18px;
  font-size: 0.8125rem;
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--bg-nav);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background-color: var(--primary-tint);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-muted);
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--border-emphasis);
  color: var(--text-heading);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.theme-toggle .icon-moon { display: none; }
.theme-toggle .icon-sun { display: block; }

[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  gap: 5px;
  flex-shrink: 0;
  transition: all var(--transition);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--text-body);
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-main);
  z-index: 999;
  padding: 24px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  transition: background-color 0.3s ease;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--primary);
  background-color: var(--primary-tint);
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: var(--nav-height);
}

.hero--full { min-height: calc(100vh - var(--nav-height)); }

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--bg-hero-overlay);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 60px 0;
}

.hero__content h1 {
  color: #ffffff;
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  margin-bottom: 20px;
}

.hero__content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 560px;
}

.hero__content .btn--primary {
  background-color: var(--primary);
}

.hero__content .btn--primary:hover {
  background-color: var(--primary-light);
}

/* Hero compact for project pages */
.hero--compact {
  min-height: 50vh;
}

.hero--compact .hero__content {
  padding: 40px 0;
}

.hero--compact h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

/* Page header (no image) */
.page-header {
  padding: 120px 0 60px;
  margin-top: var(--nav-height);
  background-color: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

/* ---------- Cards ---------- */
.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

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

.card__image {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .card__image img {
  transform: scale(1.02);
}

.card__body {
  padding: 24px;
}

.card__tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.card__tag--available {
  background-color: var(--status-available-bg);
  color: var(--status-available);
}

.card__tag--reserved {
  background-color: var(--status-reserved-bg);
  color: var(--status-reserved);
}

.card__tag--sold {
  background-color: var(--status-sold-bg);
  color: var(--status-sold);
}

.card__title {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.card__meta {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 4px;
}

.card__footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---------- Grid Layouts ---------- */
.grid {
  display: grid;
  gap: 24px;
}

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

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

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

@media (max-width: 480px) {
  .grid--4 { grid-template-columns: 1fr; }
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat {
  text-align: center;
  padding: 32px 16px;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.stat:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.stat__number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat__label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

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

@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
}

/* ---------- Feature / Spec Lists ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature {
  padding: 28px;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.feature:hover {
  box-shadow: var(--shadow-md);
}

.feature__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-tint);
  color: var(--primary);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.feature__icon svg {
  width: 22px;
  height: 22px;
}

.feature__title {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
  letter-spacing: 0;
}

.feature__text {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ---------- Tables ---------- */
.table-wrapper {
  overflow-x: auto;
  margin: 32px 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.table thead {
  background-color: var(--bg-alt);
}

.table th {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text-body);
  white-space: nowrap;
}

.table tbody tr:last-child td {
  border-bottom: none;
}

.table tbody tr {
  transition: background-color var(--transition);
}

.table tbody tr:hover {
  background-color: var(--bg-alt);
}

/* Status badges */
.badge {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge--available {
  background-color: var(--status-available-bg);
  color: var(--status-available);
}

.badge--reserved {
  background-color: var(--status-reserved-bg);
  color: var(--status-reserved);
}

.badge--sold {
  background-color: var(--status-sold-bg);
  color: var(--status-sold);
}

.badge--large {
  font-size: 0.875rem;
  padding: 8px 20px;
}

/* ---------- Two Column Layout ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.two-col--reverse {
  direction: rtl;
}

.two-col--reverse > * {
  direction: ltr;
}

.two-col__image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.two-col__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .two-col--reverse { direction: ltr; }
}

/* ---------- Project Detail Specs ---------- */
.specs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.spec {
  padding: 20px;
  background-color: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.spec__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.spec__value {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-heading);
}

/* ---------- Gallery Grid ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.gallery-item__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(15,23,42,0.85));
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 500;
}

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

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

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ---------- Filter Buttons ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  justify-content: center;
}

.filter-btn {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background-color: var(--bg-card);
  color: var(--text-body);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background-color: var(--primary);
  color: var(--text-on-primary);
  border-color: var(--primary);
}

/* ---------- Contact Info ---------- */
.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.contact-card {
  text-align: center;
  padding: 40px 24px;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
}

.contact-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-tint);
  color: var(--primary);
  border-radius: 50%;
  margin: 0 auto 16px;
}

.contact-card__icon svg {
  width: 24px;
  height: 24px;
}

.contact-card__title {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
  letter-spacing: 0;
}

.contact-card__text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.contact-card__text a {
  color: var(--primary);
}

@media (max-width: 768px) {
  .contact-info { grid-template-columns: 1fr; }
}

/* ---------- Map ---------- */
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}

/* ---------- Mortgage Calculator (Simulateur) ---------- */
.calc-tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 32px;
  gap: 0;
}

.calc-tab {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 14px 24px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  white-space: nowrap;
}

.calc-tab::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: transparent;
  transition: background-color var(--transition);
}

.calc-tab:hover { color: var(--text-heading); }

.calc-tab.active {
  color: var(--primary);
}

.calc-tab.active::after {
  background-color: var(--primary);
}

.calc-panel {
  display: none;
}

.calc-panel.active {
  display: block;
}

.calc-form {
  max-width: 600px;
}

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

.form-group label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: var(--text-body);
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-tint);
}

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

@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
  .calc-tabs { overflow-x: auto; }
}

.calc-result {
  margin-top: 32px;
  padding: 28px;
  background-color: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.calc-result__label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.calc-result__value {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.calc-result__details {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.calc-result__details span {
  display: block;
  margin-bottom: 4px;
}

/* ---------- Pricing Cards (Bergem) ---------- */
.pricing-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.pricing-card:hover {
  box-shadow: var(--shadow-md);
}

.pricing-card__title {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.pricing-card__price {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.pricing-card__note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.pricing-card__list {
  margin-bottom: 0;
}

.pricing-card__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  color: var(--text-body);
}

.pricing-card__list li:last-child {
  border-bottom: none;
}

.pricing-card__list li strong {
  color: var(--text-heading);
}

/* ---------- Footer ---------- */
.footer {
  background-color: var(--bg-footer);
  color: var(--text-on-dark);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand img {
  height: 48px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer__brand p {
  color: rgba(241, 245, 249, 0.7);
  font-size: 0.9375rem;
  max-width: 320px;
}

.footer h4 {
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(241, 245, 249, 0.7);
  font-size: 0.9375rem;
  transition: color var(--transition);
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(241, 245, 249, 0.7);
  font-size: 0.9375rem;
  margin-bottom: 12px;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  opacity: 0.7;
}

.footer-contact-item a {
  color: rgba(241, 245, 249, 0.7);
  text-decoration: none;
}

.footer-contact-item a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(241, 245, 249, 0.5);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ---------- Scroll to Top ---------- */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--text-on-primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  z-index: 900;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
}

/* ---------- Lightbox (Gallery) ---------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lightbox__close:hover {
  background: rgba(255,255,255,0.3);
}

.lightbox__caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.8);
  font-size: 0.9375rem;
  text-align: center;
  max-width: 600px;
}

/* ---------- Sold-out Banner ---------- */
.sold-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background-color: var(--status-sold-bg);
  color: var(--status-sold);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 24px;
}

/* ---------- Body spacer for fixed nav ---------- */
.main-content {
  margin-top: var(--nav-height);
}

/* When hero exists, it already has margin-top */
.hero + .section,
.hero + .main-content {
  margin-top: 0;
}

/* ---------- Responsive Global ---------- */
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .hero { min-height: 60vh; }
  .hero--compact { min-height: 40vh; }
  .container { padding: 0 16px; }
}

@media (max-width: 480px) {
  .section { padding: 40px 0; }
  .hero__content h1 { font-size: 1.75rem; }
}

/* ---------- Print Styles ---------- */
@media print {
  .navbar,
  .nav-mobile,
  .scroll-top,
  .theme-toggle,
  .nav-toggle,
  .footer { display: none !important; }

  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 12pt;
  }

  .hero { min-height: auto; margin-top: 0; }
  .section { padding: 20px 0; }
  .card { box-shadow: none; border: 1px solid #ddd; }

  a { color: #000 !important; text-decoration: underline; }

  .table { font-size: 10pt; }
  .table th, .table td { padding: 6px 10px; }
}
