/**
 * PriGro — Styles personnalisés
 * Complément à Tailwind CSS pour l'esthétique luxe méditerranéenne.
 */

/* ─── Variables CSS ─────────────────────────────────────────── */
:root {
  --color-emerald: #1e3f20;
  --color-emerald-light: #2d5a30;
  --color-emerald-dark: #152e17;
  --color-gold: #d4af37;
  --color-gold-light: #e8c96a;
  --color-gold-muted: rgba(212, 175, 55, 0.15);
  --color-alabaster: #fbfbf9;
  --color-charcoal: #222222;
  --color-charcoal-muted: #555555;
  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --nav-height: 72px;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--color-charcoal);
  background-color: var(--color-alabaster);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background-color: var(--color-gold-muted);
  color: var(--color-emerald-dark);
}

/* ─── Typography ────────────────────────────────────────────── */
.font-serif {
  font-family: var(--font-serif);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ─── Navigation ──────────────────────────────────────────── */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background-color 0.4s var(--transition-smooth),
    box-shadow 0.4s var(--transition-smooth),
    backdrop-filter 0.4s var(--transition-smooth);
}

.nav-bar--transparent {
  background-color: transparent;
  box-shadow: none;
}

.nav-bar--solid {
  background-color: rgba(251, 251, 249, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(30, 63, 32, 0.08);
}

.nav-bar--transparent .nav-link {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nav-bar--transparent .nav-logo {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nav-bar--transparent .nav-icon {
  color: #fff;
}

.nav-bar--solid .nav-link,
.nav-bar--solid .nav-logo,
.nav-bar--solid .nav-icon {
  color: var(--color-charcoal);
  text-shadow: none;
}

.nav-link {
  position: relative;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s var(--transition-smooth);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-gold);
  transition: width 0.3s var(--transition-smooth);
}

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

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: color 0.3s var(--transition-smooth);
  text-decoration: none;
}

/* Logo Prix Gros — lettres x et s en gris */
.logo-brand {
  color: var(--color-charcoal);
}

.logo-brand__grey {
  color: #888888;
}

.nav-bar--transparent .logo-brand {
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nav-bar--transparent .logo-brand__grey {
  color: rgba(255, 255, 255, 0.55);
  text-shadow: none;
}

.nav-bar--solid .logo-brand {
  color: var(--color-charcoal);
  text-shadow: none;
}

.nav-bar--solid .logo-brand__grey {
  color: #888888;
}

.footer .logo-brand {
  color: #ffffff;
}

.footer .logo-brand__grey {
  color: rgba(255, 255, 255, 0.45);
}

.nav-bar--transparent .nav-logo {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Mobile menu */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.4s var(--transition-smooth);
}

.mobile-menu.open {
  transform: translateX(0);
}

/* ─── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

.hero:hover .hero__bg {
  transform: scale(1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 63, 32, 0.75) 0%,
    rgba(30, 63, 32, 0.45) 50%,
    rgba(21, 46, 23, 0.65) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 900px;
}

.hero__slogan {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero__slogan em {
  font-style: italic;
  color: var(--color-gold-light);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── Buttons ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background-color: var(--color-gold);
  color: var(--color-emerald-dark);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.35s var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 100%
  );
  transform: translateX(-100%);
  transition: transform 0.5s var(--transition-smooth);
}

.btn-primary:hover {
  background-color: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
}

.btn-primary:hover::before {
  transform: translateX(100%);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: transparent;
  color: var(--color-emerald);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--color-emerald);
  cursor: pointer;
  transition: all 0.35s var(--transition-smooth);
}

.btn-outline:hover {
  background-color: var(--color-emerald);
  color: #fff;
}

/* ─── Value Proposition Cards ─────────────────────────────── */
.value-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border: 1px solid rgba(30, 63, 32, 0.08);
  background: #fff;
  transition: all 0.4s var(--transition-smooth);
}

.value-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(30, 63, 32, 0.08);
}

.value-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem;
  color: var(--color-gold);
}

.value-card__title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  color: var(--color-emerald);
  margin-bottom: 0.75rem;
}

.value-card__text {
  font-size: 0.9375rem;
  color: var(--color-charcoal-muted);
  line-height: 1.6;
}

/* ─── Section Headers ─────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.section-header__title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-emerald);
  margin-bottom: 1rem;
}

.section-header__subtitle {
  font-size: 1.0625rem;
  color: var(--color-charcoal-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── Filter Tabs ───────────────────────────────────────────── */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.filter-tab {
  padding: 0.625rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-charcoal-muted);
  background: transparent;
  border: 1px solid rgba(30, 63, 32, 0.12);
  cursor: pointer;
  transition: all 0.3s var(--transition-smooth);
  white-space: nowrap;
}

.filter-tab:hover {
  border-color: var(--color-gold);
  color: var(--color-emerald);
}

.filter-tab.active {
  background-color: var(--color-emerald);
  border-color: var(--color-emerald);
  color: #fff;
}

/* ─── Product Grid ──────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(30, 63, 32, 0.06);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s var(--transition-smooth);
}

.product-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 16px 48px rgba(30, 63, 32, 0.1);
  transform: translateY(-6px);
}

.product-card__image-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f5f5f3;
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition-smooth);
}

.product-card:hover .product-card__image {
  transform: scale(1.06);
}

.product-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--color-emerald);
  color: #fff;
}

.product-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(30, 63, 32, 0.85) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.product-card:hover .product-card__overlay {
  opacity: 1;
}

.product-card__prices {
  color: #fff;
}

.product-card__retail {
  font-size: 0.875rem;
  text-decoration: line-through;
  opacity: 0.7;
  margin-bottom: 0.25rem;
}

.product-card__wholesale {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-gold-light);
}

.product-card__wholesale span {
  font-size: 0.75rem;
  font-family: var(--font-sans);
  opacity: 0.8;
}

.product-card__body {
  padding: 1.5rem;
}

.product-card__category {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.product-card__name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-emerald);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.product-card__subtitle {
  font-size: 0.875rem;
  color: var(--color-charcoal-muted);
}

/* ─── Heritage Section ────────────────────────────────────── */
.heritage {
  position: relative;
  background-color: var(--color-emerald);
  color: #fff;
  overflow: hidden;
}

.heritage::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(
    ellipse,
    rgba(212, 175, 55, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.heritage__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ─── Contact Form ────────────────────────────────────────── */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-emerald);
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--color-charcoal);
  background: #fff;
  border: 1px solid rgba(30, 63, 32, 0.15);
  transition: border-color 0.3s var(--transition-smooth),
    box-shadow 0.3s var(--transition-smooth);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px var(--color-gold-muted);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

/* ─── Modal ───────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(34, 34, 34, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--transition-smooth);
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  z-index: 2001;
  width: 95%;
  max-width: 900px;
  max-height: 90vh;
  background: #fff;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--transition-smooth);
}

.modal.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  transition: background 0.3s var(--transition-smooth);
}

.modal__close:hover {
  background: #fff;
}

.modal__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-height: 90vh;
  overflow-y: auto;
}

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

.modal__image {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.modal__body {
  padding: 2.5rem;
  overflow-y: auto;
}

.modal__category {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.modal__title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--color-emerald);
  margin-bottom: 0.5rem;
}

.modal__subtitle {
  font-size: 0.9375rem;
  color: var(--color-charcoal-muted);
  margin-bottom: 1.5rem;
}

.modal__description {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-charcoal-muted);
  margin-bottom: 2rem;
}

.modal__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.25rem;
  background: var(--color-alabaster);
}

.modal__spec-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-charcoal-muted);
  margin-bottom: 0.25rem;
}

.modal__spec-value {
  font-size: 0.875rem;
  color: var(--color-charcoal);
}

.modal__packs-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--color-emerald);
  margin-bottom: 1rem;
}

.modal__pack {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(30, 63, 32, 0.08);
}

.modal__pack:last-child {
  border-bottom: none;
}

.modal__pack-qty {
  font-size: 0.875rem;
  color: var(--color-charcoal);
}

.modal__pack-price {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-gold);
}

.modal__pack-unit {
  font-size: 0.75rem;
  font-family: var(--font-sans);
  color: var(--color-charcoal-muted);
}

/* ─── Footer ──────────────────────────────────────────────── */
.footer {
  background-color: var(--color-charcoal);
  color: rgba(255, 255, 255, 0.7);
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s var(--transition-smooth);
}

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

.footer__logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #fff;
}

.footer__logo .dot {
  color: var(--color-gold);
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s var(--transition-smooth);
}

.social-icon:hover {
  border-color: var(--color-gold);
  background: var(--color-gold);
  color: var(--color-charcoal);
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #25d366;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s var(--transition-smooth);
}

.whatsapp-btn:hover {
  background: #20bd5a;
  color: #fff;
  transform: translateY(-2px);
}

/* ─── Scroll Animations ───────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--transition-smooth),
    transform 0.7s var(--transition-smooth);
}

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

.fade-in-delay-1 {
  transition-delay: 0.1s;
}
.fade-in-delay-2 {
  transition-delay: 0.2s;
}
.fade-in-delay-3 {
  transition-delay: 0.3s;
}

/* ─── Scroll indicator ──────────────────────────────────────── */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-8px);
  }
  60% {
    transform: translateX(-50%) translateY(-4px);
  }
}

/* ─── Utility ─────────────────────────────────────────────── */
.gold-line {
  width: 60px;
  height: 1px;
  background: var(--color-gold);
  margin: 1.5rem auto;
}

.text-gold {
  color: var(--color-gold);
}

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

/* Prevent body scroll when modal open */
body.modal-open {
  overflow: hidden;
}

/* ─── Form success state ──────────────────────────────────── */
.form-success {
  text-align: center;
  padding: 3rem 2rem;
}

.form-success__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  color: var(--color-emerald);
}

.form-success__title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--color-emerald);
  margin-bottom: 0.75rem;
}

.form-success__text {
  color: var(--color-charcoal-muted);
  margin-bottom: 1.5rem;
}

/* ─── Language switcher ─────────────────────────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.lang-switcher__btn {
  padding: 0.35rem 0.5rem;
  color: inherit;
  text-decoration: none;
  opacity: 0.65;
  transition: opacity 0.3s var(--transition-smooth), color 0.3s var(--transition-smooth);
}

.lang-switcher__btn:hover,
.lang-switcher__btn.active {
  opacity: 1;
  color: var(--color-gold);
}

.lang-switcher__sep {
  opacity: 0.35;
  font-size: 0.65rem;
}

.nav-bar--transparent .lang-switcher__btn {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.nav-bar--solid .lang-switcher__btn {
  color: var(--color-charcoal);
  text-shadow: none;
}

/* ─── RTL (Arabic) ──────────────────────────────────────────── */
[dir="rtl"] body {
  font-family: "Noto Sans Arabic", "Inter", system-ui, sans-serif;
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] .font-serif,
[dir="rtl"] .hero__slogan,
[dir="rtl"] .section-header__title,
[dir="rtl"] .value-card__title,
[dir="rtl"] .product-card__name,
[dir="rtl"] .modal__title,
[dir="rtl"] .legal-page__title,
[dir="rtl"] .faq-question {
  font-family: "Amiri", "Cormorant Garamond", Georgia, serif;
}

[dir="rtl"] .mobile-menu {
  transform: translateX(-100%);
}

[dir="rtl"] .mobile-menu.open {
  transform: translateX(0);
}

[dir="rtl"] .nav-link::after {
  left: auto;
  right: 0;
}

[dir="rtl"] .legal-content ul,
[dir="rtl"] .legal-content ol {
  padding-left: 0;
  padding-right: 1.5rem;
}

[dir="rtl"] .faq-question {
  text-align: right;
}

[dir="rtl"] .modal__pack {
  flex-direction: row-reverse;
}

/* ─── Pages légales ───────────────────────────────────────── */
.page-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background-color: rgba(251, 251, 249, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(30, 63, 32, 0.08);
}

.page-nav .nav-link,
.page-nav .nav-logo {
  color: var(--color-charcoal);
  text-shadow: none;
}

.legal-page {
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: 4rem;
  min-height: 100vh;
}

.legal-page__header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(30, 63, 32, 0.1);
}

.legal-page__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--color-emerald);
  margin-bottom: 0.75rem;
}

.legal-page__updated {
  font-size: 0.875rem;
  color: var(--color-charcoal-muted);
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  color: var(--color-emerald);
  margin: 2.5rem 0 1rem;
}

.legal-content h3 {
  font-size: 1.0625rem;
  color: var(--color-charcoal);
  margin: 1.5rem 0 0.75rem;
  font-weight: 600;
}

.legal-content p,
.legal-content li {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-charcoal-muted);
  margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content a {
  color: var(--color-emerald);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--color-gold);
}

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid rgba(30, 63, 32, 0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--color-emerald);
  transition: color 0.3s var(--transition-smooth);
}

.faq-question:hover {
  color: var(--color-gold);
}

.faq-question svg {
  flex-shrink: 0;
  transition: transform 0.3s var(--transition-smooth);
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--transition-smooth);
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding-bottom: 1.25rem;
}
