/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
}

/* ===== NAVBAR ===== */
.nav-scrolled {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 251, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(123, 45, 59, 0.08);
  transition: box-shadow 0.3s ease;
}

.nav-scrolled.scrolled {
  box-shadow: 0 1px 12px rgba(123, 45, 59, 0.08);
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--burgundy-700, #662633);
  text-decoration: none;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #7B2D3B;
  transition: width 0.25s ease;
}

.nav-link:hover {
  color: #7B2D3B;
}

.nav-link:hover::after {
  width: 100%;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 251, 247, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(123, 45, 59, 0.1);
  padding: 0.5rem 1.5rem 1.5rem;
  box-shadow: 0 8px 24px rgba(123, 45, 59, 0.08);
}

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

.mobile-nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: #662633;
  text-decoration: none;
  padding: 0.75rem 0;
  width: 100%;
  text-align: center;
  transition: color 0.2s ease;
}

.mobile-nav-link:hover {
  color: #7B2D3B;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #7B2D3B;
  color: #FFFBF7;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  background: #662633;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(123, 45, 59, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #FDE8E8;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  border: 1.5px solid rgba(253, 232, 232, 0.4);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn-secondary:hover {
  background: rgba(253, 232, 232, 0.1);
  border-color: rgba(253, 232, 232, 0.7);
  transform: translateY(-1px);
}

/* ===== STAT CARDS (HERO) ===== */
.stat-card {
  background: rgba(255, 251, 247, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 251, 247, 0.15);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: transform 0.25s ease, background 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 251, 247, 0.15);
}

.stat-card--accent {
  background: rgba(255, 251, 247, 0.15);
  border-color: rgba(255, 251, 247, 0.25);
}

.stat-card__number {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: #FFFBF7;
  line-height: 1;
}

.stat-card__label {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(253, 232, 232, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===== CARDS ===== */
.card {
  background: #FFFBF7;
  border-radius: 16px;
  border: 1px solid rgba(123, 45, 59, 0.08);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .stat-card, .card, img {
    transition: none;
  }
  .stat-card:hover, .card:hover {
    transform: none;
  }
  .stat-card:hover, .card:hover {
    transform: none;
  }
}

/* ===== UTILITY ===== */
@media (min-width: 768px) {
  .mobile-menu.open {
    display: flex !important;
  }
}
