@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  --color-navy: #0f172a;
  --color-navy-light: #1e293b;
  --color-burgundy: #7c2d12;
  --color-burgundy-dark: #450a0a;
  --color-gold: #ca8a04;
  --color-gold-light: #eab308;
  --color-cream: #faf8f5;
  --color-cream-dark: #f5f0eb;
  --color-stone: #78716c;
  --color-stone-light: #a8a29e;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --shadow-soft: 0 4px 24px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 8px 32px rgba(15, 23, 42, 0.12);
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --nav-height: 5rem;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 1rem);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  background-color: var(--color-cream);
  color: var(--color-navy);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.font-display { font-family: var(--font-display); }
.font-body { font-family: var(--font-body); }

.text-balance { text-wrap: balance; }

/* Navigation */
.site-nav {
  position: fixed;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 50;
  max-width: 80rem;
  margin: 0 auto;
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-nav.scrolled {
  background: rgba(250, 248, 245, 0.95);
  box-shadow: var(--shadow-card);
}

.nav-link {
  position: relative;
  color: var(--color-navy);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-burgundy);
  background: rgba(124, 45, 18, 0.06);
}

.nav-link:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  border: none;
}

.btn:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

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

.btn-primary:hover {
  background: var(--color-burgundy-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(124, 45, 18, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--color-navy);
  border: 1.5px solid rgba(15, 23, 42, 0.2);
}

.btn-secondary:hover {
  border-color: var(--color-burgundy);
  color: var(--color-burgundy);
  background: rgba(124, 45, 18, 0.04);
}

.btn-gold {
  background: var(--color-gold);
  color: var(--color-navy);
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn-primary:disabled:hover {
  background: var(--color-burgundy);
  transform: none;
  box-shadow: none;
}

/* Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.service-card {
  overflow: hidden;
  cursor: pointer;
}

.service-card img {
  transition: transform 0.4s ease;
}

.service-card:hover img {
  transform: scale(1.05);
}

/* Hero */
.hero-gradient {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.75) 0%, rgba(124, 45, 18, 0.55) 100%),
    url('../images/332921138_1240386823286692_2032590077628615775_n.jpg') center/cover no-repeat;
}

.page-hero {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 50%, var(--color-burgundy) 100%);
}

/* Stats */
.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
}

/* Section labels */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
}

/* Prose for articles */
.prose-custom {
  max-width: 42rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #334155;
}

.prose-custom h2 {
  font-size: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-navy);
}

.prose-custom h3 {
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--color-navy-light);
}

.prose-custom p { margin-bottom: 1.25rem; }

.prose-custom ul, .prose-custom ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.prose-custom li { margin-bottom: 0.5rem; }

.prose-custom a {
  color: var(--color-burgundy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose-custom a:hover { color: var(--color-burgundy-dark); }

.prose-custom blockquote {
  border-left: 3px solid var(--color-gold);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--color-stone);
}

/* Gallery */
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
  aspect-ratio: 4/3;
}

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

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

/* Footer */
.site-footer {
  background: var(--color-navy);
  color: #cbd5e1;
}

.site-footer a {
  color: #e2e8f0;
  transition: color 0.2s ease;
}

.site-footer a:hover { color: var(--color-gold-light); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

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

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* Mobile menu */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-menu.open { max-height: 24rem; }

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

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

/* Form */
.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  background: white;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-burgundy);
  box-shadow: 0 0 0 3px rgba(124, 45, 18, 0.1);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-navy);
}

/* Breadcrumb */
.breadcrumb a {
  color: var(--color-stone);
  text-decoration: none;
  font-size: 0.875rem;
}

.breadcrumb a:hover { color: var(--color-burgundy); }

/* Process steps */
.process-step {
  position: relative;
}

.process-step::before {
  content: attr(data-step);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(202, 138, 4, 0.15);
  line-height: 1;
}

/* Article cards */
.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
}

.article-card .read-more {
  margin-top: auto;
  color: var(--color-burgundy);
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--color-gold);
  color: var(--color-navy);
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.skip-link:focus { top: 1rem; }
