/* ═══════════════════════════════════════════════════════════════════════════
   AETERNA EVENTS — Stylesheet
   A refined, warm aesthetic for Italian venue finding
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────────────────
   1. CUSTOM PROPERTIES (Design Tokens)
   ───────────────────────────────────────────────────────────────────────────── */

:root {
  /* ─── Primary Colors ─── */
  --color-charcoal:      #2C2C2C;
  --color-warm-white:    #F5F0E8;
  --color-ivory:         #FAF7F0;
  --color-antique-gold:  #C4A265;
  --color-light-gold:    #D4B876;

  /* ─── Supporting Colors ─── */
  --color-deep-olive:    #5A6B4A;
  --color-terracotta:    #B87850;
  --color-soft-sage:     #A8B89A;
  --color-stone-grey:    #9B9485;

  /* ─── Dark Variants ─── */
  --color-deep-navy:     #1E2A3A;

  /* ─── Semantic Aliases ─── */
  --bg-primary:          var(--color-warm-white);
  --bg-secondary:        var(--color-ivory);
  --bg-dark:             var(--color-charcoal);
  --bg-dark-alt:         var(--color-deep-navy);
  --text-primary:        var(--color-charcoal);
  --text-secondary:      var(--color-stone-grey);
  --text-on-dark:        var(--color-ivory);
  --accent-primary:      var(--color-antique-gold);
  --accent-hover:        var(--color-light-gold);
  --accent-warm:         var(--color-terracotta);

  /* ─── Typography ─── */
  --font-serif:     'Lora', Georgia, 'Times New Roman', serif;
  --font-sans:      'Poppins', 'Helvetica Neue', Arial, sans-serif;

  /* ─── Font Sizes (Fluid) ─── */
  --text-xs:        clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
  --text-sm:        clamp(0.8rem, 0.75rem + 0.3vw, 0.9rem);
  --text-base:      clamp(0.95rem, 0.9rem + 0.3vw, 1.05rem);
  --text-lg:        clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  --text-xl:        clamp(1.4rem, 1.2rem + 1vw, 1.8rem);
  --text-2xl:       clamp(1.8rem, 1.5rem + 1.5vw, 2.5rem);
  --text-3xl:       clamp(2.2rem, 1.8rem + 2vw, 3.2rem);
  --text-hero:      clamp(2.8rem, 2rem + 3vw, 4.5rem);

  /* ─── Spacing ─── */
  --space-xs:       0.25rem;
  --space-sm:       0.5rem;
  --space-md:       1rem;
  --space-lg:       1.5rem;
  --space-xl:       2rem;
  --space-2xl:      3rem;
  --space-3xl:      4rem;
  --space-4xl:      6rem;
  --space-section:  clamp(4rem, 3rem + 5vw, 8rem);

  /* ─── Borders & Radius ─── */
  --border-thin:    1px solid rgba(196, 162, 101, 0.3);
  --border-accent:  1px solid var(--color-antique-gold);
  --radius-sm:      4px;
  --radius-md:      8px;
  --radius-lg:      12px;
  --radius-full:    9999px;

  /* ─── Shadows ─── */
  --shadow-sm:      0 1px 3px rgba(44, 44, 44, 0.06);
  --shadow-md:      0 4px 12px rgba(44, 44, 44, 0.08);
  --shadow-lg:      0 8px 30px rgba(44, 44, 44, 0.10);
  --shadow-gold:    0 4px 20px rgba(196, 162, 101, 0.15);

  /* ─── Transitions ─── */
  --ease-out:       cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast:  150ms;
  --duration-base:  300ms;
  --duration-slow:  500ms;
}

/* ─────────────────────────────────────────────────────────────────────────────
   2. RESET / BASE
   ───────────────────────────────────────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-serif);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ─────────────────────────────────────────────────────────────────────────────
   3. TYPOGRAPHY
   ───────────────────────────────────────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: var(--text-hero);
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--text-3xl);
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--text-2xl);
}

h4 {
  font-size: var(--text-xl);
}

h5 {
  font-size: var(--text-lg);
}

h6 {
  font-size: var(--text-base);
  font-weight: 500;
}

p {
  margin-bottom: var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

.text-serif {
  font-family: var(--font-serif);
}

.text-sans {
  font-family: var(--font-sans);
}

/* Label text - Poppins Light uppercase */
.label {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-primary);
}

.label--olive {
  color: var(--color-deep-olive);
}

/* Section subtitle */
.subtitle {
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Pull quote */
.quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-xl);
  line-height: 1.5;
  color: var(--text-primary);
  position: relative;
  padding-left: var(--space-xl);
  border-left: 2px solid var(--accent-primary);
}

.quote-attribution {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--accent-primary);
  margin-top: var(--space-md);
}

/* ─────────────────────────────────────────────────────────────────────────────
   4. LAYOUT
   ───────────────────────────────────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--narrow {
  max-width: 900px;
}

.container--wide {
  max-width: 1440px;
}

.section {
  padding: var(--space-section) 0;
}

.section--dark {
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark h5,
.section--dark h6 {
  color: var(--text-on-dark);
}

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

/* Layered gradient backgrounds for depth */
.bg-gradient-warm {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.bg-gradient-ivory {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.bg-gradient-dark {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-alt) 100%);
}

/* Grid utilities */
.grid {
  display: grid;
  gap: var(--space-xl);
}

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

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

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

/* Asymmetric grid for editorial layouts */
.grid-asymmetric {
  grid-template-columns: 1fr 1.5fr;
}

.grid-asymmetric-reverse {
  grid-template-columns: 1.5fr 1fr;
}

/* Flex utilities */
.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.flex-col {
  flex-direction: column;
}

.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }
.gap-2xl { gap: var(--space-2xl); }

/* Text alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Spacing utilities */
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mt-3xl { margin-top: var(--space-3xl); }

.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }

/* ─────────────────────────────────────────────────────────────────────────────
   5. COMPONENTS
   ───────────────────────────────────────────────────────────────────────────── */

/* ─── Navbar ─── */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-lg) 0;
  transition: background-color var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out),
              padding var(--duration-base) var(--ease-out);
}

.navbar--scrolled {
  background-color: var(--bg-primary);
  box-shadow: var(--shadow-md);
  padding: var(--space-md) 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  position: relative;
  height: 50px;
  display: flex;
  align-items: center;
}

.navbar-logo img {
  height: 100%;
  width: auto;
  transition: opacity var(--duration-base) var(--ease-out);
}

.navbar-logo .logo-light {
  position: absolute;
  opacity: 0;
}

.navbar-logo .logo-dark {
  position: absolute;
  opacity: 0;
}

.navbar-logo .logo-hero {
  opacity: 1;
}

.navbar--scrolled .navbar-logo .logo-light {
  opacity: 1;
}

.navbar--scrolled .navbar-logo .logo-dark {
  opacity: 0;
}

.navbar--scrolled .navbar-logo .logo-hero {
  opacity: 0;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.navbar-links a {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text-on-dark);
  position: relative;
  padding: var(--space-xs) var(--space-sm);
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-primary);
  transition: width var(--duration-base) var(--ease-out);
}

.navbar-links a:hover::after {
  width: 100%;
}

.navbar--scrolled .navbar-links a {
  color: var(--text-primary);
}

.navbar-lang {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.navbar-lang a {
  color: var(--text-on-dark);
  opacity: 0.6;
  transition: opacity var(--duration-fast) var(--ease-out);
}

.navbar-lang a.active,
.navbar-lang a:hover {
  opacity: 1;
}

.navbar--scrolled .navbar-lang a {
  color: var(--text-primary);
}

.navbar-lang span {
  color: var(--text-on-dark);
  opacity: 0.4;
}

.navbar--scrolled .navbar-lang span {
  color: var(--text-primary);
}

/* Hamburger menu */
.navbar-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 6px;
  z-index: 1001;
}

.navbar-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-on-dark);
  transition: transform var(--duration-base) var(--ease-out),
              opacity var(--duration-base) var(--ease-out);
}

.navbar--scrolled .navbar-hamburger span {
  background-color: var(--text-primary);
}

.navbar-hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.navbar-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.navbar-hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-dark);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-base) var(--ease-out),
              visibility var(--duration-base) var(--ease-out);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  color: var(--text-on-dark);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out),
              color var(--duration-fast) var(--ease-out);
}

.mobile-menu.active a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu a:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu a:nth-child(5) { transition-delay: 0.3s; }

.mobile-menu a:hover {
  color: var(--accent-primary);
}

.mobile-menu .mobile-lang {
  margin-top: var(--space-2xl);
  display: flex;
  gap: var(--space-md);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ─── Buttons ─── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-sm);
  transition: all var(--duration-base) var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-warm);
  color: var(--text-on-dark);
  border: 2px solid var(--accent-warm);
}

.btn-primary:hover {
  background-color: #a56840;
  border-color: #a56840;
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 2px solid var(--text-primary);
}

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

.btn-ghost {
  background-color: transparent;
  color: var(--text-on-dark);
  border: 2px solid var(--text-on-dark);
}

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

.btn-sm {
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-xs);
}

.btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--text-base);
}

/* Nav CTA button spacing */
.navbar-links .btn {
  margin-left: var(--space-md);
}

/* ─── Hero Section ─── */

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

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(44, 44, 44, 0.3) 0%,
    rgba(44, 44, 44, 0.5) 50%,
    rgba(44, 44, 44, 0.7) 100%
  );
}

.hero-content {
  position: relative;
  text-align: center;
  color: var(--text-on-dark);
  padding: var(--space-4xl) var(--space-lg);
  max-width: 900px;
}

.hero-content h1 {
  color: var(--text-on-dark);
  margin-bottom: var(--space-lg);
}

.hero-content .subtitle {
  color: rgba(250, 247, 240, 0.85);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
}

/* Hero entrance animation */
.hero-anim {
  opacity: 0;
  transform: translateY(30px);
}

.hero-anim.visible {
  animation: heroFadeUp var(--duration-slow) var(--ease-out) forwards;
}

.hero-anim:nth-child(1) { animation-delay: 0s; }
.hero-anim:nth-child(2) { animation-delay: 0.15s; }
.hero-anim:nth-child(3) { animation-delay: 0.3s; }
.hero-anim:nth-child(4) { animation-delay: 0.45s; }

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-on-dark);
  opacity: 0;
  animation: fadeIn var(--duration-slow) var(--ease-out) 0.6s forwards;
}

.scroll-indicator span {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-indicator-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--accent-primary) 0%, transparent 100%);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ─── Section Header ─── */

.section-header {
  margin-bottom: var(--space-3xl);
}

.section-header .label {
  margin-bottom: var(--space-md);
  display: block;
}

.section-header h2 {
  margin-bottom: var(--space-lg);
}

.section-header .gold-line {
  width: 60px;
  height: 1px;
  background-color: var(--accent-primary);
  margin-top: var(--space-lg);
}

.section-header.text-center .gold-line {
  margin-left: auto;
  margin-right: auto;
}

/* ─── Cards ─── */

.card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

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

.card-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

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

.card-content {
  padding: var(--space-xl);
  border-bottom: 2px solid transparent;
  transition: border-color var(--duration-base) var(--ease-out);
}

.card:hover .card-content {
  border-bottom-color: var(--accent-primary);
}

.card-content h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.card-content p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* Service Card (larger) */
.service-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: var(--space-3xl);
  text-align: center;
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-gold);
}

.service-card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--accent-primary);
  stroke-width: 1;
  fill: none;
}

.service-card h3 {
  margin-bottom: var(--space-md);
}

.service-card p {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

/* ─── Testimonial ─── */

.testimonial {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-2xl);
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: var(--space-xl);
  position: relative;
}

.testimonial-quote::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 6rem;
  color: var(--accent-primary);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-author {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 300;
}

.testimonial-author strong {
  font-weight: 500;
  color: var(--text-primary);
  display: block;
  margin-bottom: var(--space-xs);
}

.testimonial-author span {
  color: var(--text-secondary);
}

.section--dark .testimonial-quote {
  color: var(--text-on-dark);
}

.section--dark .testimonial-author strong {
  color: var(--text-on-dark);
}

/* ─── Process Steps ─── */

.process-steps {
  display: grid;
  gap: var(--space-2xl);
  counter-reset: step;
}

.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-sans);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--accent-primary);
  opacity: 0.3;
  line-height: 1;
}

.process-step h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.process-step p {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text-secondary);
}

/* ─── Footer ─── */

.footer {
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  height: 60px;
  margin-bottom: var(--space-lg);
}

.footer-logo img {
  height: 100%;
  width: auto;
}

.footer-tagline {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 300;
  color: rgba(250, 247, 240, 0.7);
  line-height: 1.6;
}

.footer-nav h4,
.footer-contact h4 {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: var(--space-lg);
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-nav a {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 300;
  color: rgba(250, 247, 240, 0.7);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-nav a:hover {
  color: var(--text-on-dark);
}

.footer-email {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 300;
  color: rgba(250, 247, 240, 0.7);
  margin-bottom: var(--space-lg);
  display: block;
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-email:hover {
  color: var(--text-on-dark);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(250, 247, 240, 0.2);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--duration-fast) var(--ease-out),
              background-color var(--duration-fast) var(--ease-out);
}

.footer-social a:hover {
  border-color: var(--accent-primary);
  background-color: rgba(196, 162, 101, 0.1);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: var(--text-on-dark);
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(250, 247, 240, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 300;
  color: rgba(250, 247, 240, 0.5);
}

/* ─── Contact Form ─── */

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

.form-group {
  margin-bottom: var(--space-xl);
}

.form-group label {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 400;
  color: var(--text-primary);
  background-color: transparent;
  border: none;
  border-bottom: 1px solid rgba(44, 44, 44, 0.2);
  padding: var(--space-sm) 0;
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-bottom-color: var(--accent-primary);
  box-shadow: 0 2px 0 0 rgba(196, 162, 101, 0.3);
}

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

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239B9485' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.form-error {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--accent-warm);
  margin-top: var(--space-xs);
}

.form-success {
  background-color: rgba(90, 107, 74, 0.1);
  border: 1px solid var(--color-deep-olive);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  text-align: center;
}

.form-success h3 {
  color: var(--color-deep-olive);
  margin-bottom: var(--space-sm);
}

.form-success p {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text-secondary);
}

/* Honeypot field for spam protection */
.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* ─── CTA Section ─── */

.cta-section {
  text-align: center;
  padding: var(--space-4xl) var(--space-lg);
}

.cta-section h2 {
  margin-bottom: var(--space-lg);
}

.cta-section p {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto var(--space-2xl);
}

.section--dark .cta-section p {
  color: rgba(250, 247, 240, 0.7);
}

/* ─── Image Grid ─── */

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.image-grid-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.image-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.image-grid-item:hover img {
  transform: scale(1.05);
}

/* Feature image - asymmetric */
.image-grid-item--large {
  grid-column: span 2;
  grid-row: span 2;
}

/* ─── Stats ─── */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  text-align: center;
}

.stat-number {
  font-family: var(--font-sans);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--text-secondary);
}

/* ─── Value Props ─── */

.value-props {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

.value-prop {
  text-align: center;
  padding: var(--space-xl);
}

.value-prop-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-primary);
  border-radius: var(--radius-full);
}

.value-prop-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent-primary);
  stroke-width: 1.5;
  fill: none;
}

.value-prop h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}

.value-prop p {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--text-secondary);
}

/* ─────────────────────────────────────────────────────────────────────────────
   6. PAGE-SPECIFIC
   ───────────────────────────────────────────────────────────────────────────── */

/* Home - Services Split */
.services-split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  min-height: 60vh;
}

.services-split-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4xl) var(--space-2xl);
  overflow: hidden;
}

.services-split-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(44, 44, 44, 0.4) 0%,
    rgba(44, 44, 44, 0.6) 100%
  );
  z-index: 1;
}

.services-split-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.services-split-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.services-split-item:hover .services-split-bg img {
  transform: scale(1.05);
}

.services-split-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-on-dark);
  max-width: 400px;
}

.services-split-content .label {
  margin-bottom: var(--space-md);
}

.services-split-content h3 {
  font-size: var(--text-2xl);
  color: var(--text-on-dark);
  margin-bottom: var(--space-md);
}

.services-split-content p {
  font-family: var(--font-sans);
  font-weight: 300;
  color: rgba(250, 247, 240, 0.8);
  margin-bottom: var(--space-xl);
}

/* About - Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-2xl);
}

.team-member {
  text-align: center;
}

.team-member-image {
  width: 200px;
  height: 200px;
  margin: 0 auto var(--space-lg);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 2px solid var(--accent-primary);
}

.team-member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h4 {
  margin-bottom: var(--space-xs);
}

.team-member-role {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--accent-primary);
}

/* Contact - Split Layout */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: start;
}

.contact-info h2 {
  margin-bottom: var(--space-lg);
}

.contact-info > p {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
}

.contact-detail {
  margin-bottom: var(--space-xl);
}

.contact-detail h4 {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: var(--space-sm);
}

.contact-detail a,
.contact-detail p {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text-primary);
}

/* ─── Timeline ─── */

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--space-2xl) 0;
}

/* Vertical gold line */
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--color-antique-gold) 5%,
    var(--color-antique-gold) 95%,
    transparent 100%
  );
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:last-child {
  margin-bottom: 0;
}

/* Alternating layout */
.timeline-item:nth-child(odd) .timeline-content {
  grid-column: 1;
  text-align: right;
}

.timeline-item:nth-child(odd) .timeline-marker {
  grid-column: 2;
}

.timeline-item:nth-child(odd) .timeline-spacer {
  grid-column: 3;
}

.timeline-item:nth-child(even) .timeline-spacer {
  grid-column: 1;
}

.timeline-item:nth-child(even) .timeline-marker {
  grid-column: 2;
}

.timeline-item:nth-child(even) .timeline-content {
  grid-column: 3;
  text-align: left;
}

/* Timeline marker (numbered circle) */
.timeline-marker {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-antique-gold);
  background-color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-antique-gold);
  position: relative;
  z-index: 2;
  transition: background-color var(--duration-base) var(--ease-out),
              color var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
}

.timeline-item:hover .timeline-marker {
  background-color: var(--color-antique-gold);
  color: var(--text-on-dark);
  transform: scale(1.1);
}

/* Timeline content card */
.timeline-content {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
}

.timeline-item:hover .timeline-content {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.timeline-content-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.timeline-item:nth-child(odd) .timeline-content-icon {
  margin-left: auto;
}

.timeline-content-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--accent-primary);
  stroke-width: 1.5;
  fill: none;
}

.timeline-content h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.timeline-content p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Spacer element for grid alignment */
.timeline-spacer {
  display: block;
}

/* Services Page - Hero (70vh) */
.hero--services {
  min-height: 70vh;
}

/* Services Page - Intro Section */
.services-intro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
}

.services-intro-item {
  text-align: center;
  padding: var(--space-xl);
}

.services-intro-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-primary);
  border-radius: var(--radius-full);
}

.services-intro-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--accent-primary);
  stroke-width: 1.5;
  fill: none;
}

.services-intro-item h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}

.services-intro-item p {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--text-secondary);
}

/* Services Page - Services Split Cards */
.services-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2xl);
}

.services-card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--duration-base) var(--ease-out),
              box-shadow var(--duration-base) var(--ease-out);
}

.services-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.services-card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.services-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

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

.services-card-content {
  padding: var(--space-2xl);
}

.services-card-content .label {
  margin-bottom: var(--space-sm);
  display: block;
}

.services-card-content h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
}

.services-card-content p {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
}

/* Services Page - Included Grid */
.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.included-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.included-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-primary);
  border-radius: var(--radius-full);
}

.included-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent-primary);
  stroke-width: 1.5;
  fill: none;
}

.included-text h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-xs);
}

.included-text p {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--text-secondary);
}

/* Services Page - Pricing Note */
.pricing-note {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-2xl);
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(196, 162, 101, 0.2);
}

.pricing-note h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-md);
}

.pricing-note p {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text-secondary);
}

.pricing-note p:last-child {
  margin-bottom: 0;
}

/* ─────────────────────────────────────────────────────────────────────────────
   7. ANIMATIONS
   ───────────────────────────────────────────────────────────────────────────── */

/* Fade in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

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

/* Staggered children animation */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }

/* Scale in */
.scale-in {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity var(--duration-base) var(--ease-out),
              transform var(--duration-base) var(--ease-out);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* ─────────────────────────────────────────────────────────────────────────────
   8. MEDIA QUERIES
   ───────────────────────────────────────────────────────────────────────────── */

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

  .grid-asymmetric,
  .grid-asymmetric-reverse {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 2;
    max-width: 100%;
    margin-bottom: var(--space-xl);
  }

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

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

  .contact-split {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }

  .services-split {
    grid-template-columns: 1fr;
  }

  .services-split-item {
    min-height: 50vh;
  }

  /* Timeline tablet */
  .services-intro {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-cards {
    grid-template-columns: 1fr;
  }

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

/* Mobile */
@media (max-width: 768px) {
  .navbar-links {
    display: none;
  }

  .navbar-hamburger {
    display: flex;
  }

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

  .hero-content {
    padding: var(--space-2xl) var(--space-lg);
  }

  .hero-content h1 {
    font-size: var(--text-3xl);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    grid-column: 1;
    margin: 0 auto var(--space-2xl);
  }

  .footer-nav ul {
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .value-props {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .process-step {
    grid-template-columns: 1fr;
  }

  .process-step::before {
    font-size: var(--text-2xl);
  }

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

  .image-grid-item--large {
    grid-column: span 2;
    grid-row: span 1;
    aspect-ratio: 16/9;
  }

  .testimonial-quote {
    font-size: var(--text-xl);
  }

  .quote {
    font-size: var(--text-lg);
  }

  /* Timeline mobile - left-aligned layout */
  .timeline::before {
    left: 30px;
    transform: none;
  }

  .timeline-item {
    grid-template-columns: 60px 1fr;
    gap: var(--space-lg);
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    grid-column: 2;
    text-align: left;
  }

  .timeline-item:nth-child(odd) .timeline-marker,
  .timeline-item:nth-child(even) .timeline-marker {
    grid-column: 1;
  }

  .timeline-item:nth-child(odd) .timeline-spacer,
  .timeline-item:nth-child(even) .timeline-spacer {
    display: none;
  }

  .timeline-item:nth-child(odd) .timeline-content-icon {
    margin-left: 0;
  }

  .timeline-marker {
    width: 50px;
    height: 50px;
    font-size: var(--text-xs);
  }

  .timeline-content {
    padding: var(--space-lg);
  }

  .timeline-content-icon {
    width: 40px;
    height: 40px;
  }

  /* Services page mobile */
  .services-intro {
    grid-template-columns: 1fr;
  }

  .included-grid {
    grid-template-columns: 1fr;
  }

  /* Cookie banner mobile */
  .cookie-banner-inner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner-actions {
    width: 100%;
    flex-direction: column;
  }

  .cookie-banner .btn {
    width: 100%;
  }

  /* Footer legal links mobile */
  .footer-legal {
    justify-content: center;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .btn + .btn {
    margin-top: var(--space-md);
  }

  .image-grid {
    grid-template-columns: 1fr;
  }

  .image-grid-item--large {
    grid-column: 1;
  }
}

/* ─── Cookie Consent Banner ─── */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
  padding: var(--space-lg) 0;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform var(--duration-base) var(--ease-out);
  box-shadow: 0 -4px 20px rgba(44, 44, 44, 0.15);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1;
  min-width: 280px;
}

.cookie-banner-text p {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 300;
  color: rgba(250, 247, 240, 0.85);
  margin-bottom: 0;
}

.cookie-banner-text a {
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-text a:hover {
  color: var(--accent-hover);
}

.cookie-banner-actions {
  display: flex;
  gap: var(--space-md);
  flex-shrink: 0;
}

.cookie-banner .btn {
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-xs);
}

/* ─── Form Checkbox (Consent) ─── */

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--accent-primary);
  cursor: pointer;
}

.form-checkbox label {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--text-secondary);
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.5;
  cursor: pointer;
}

.form-checkbox label a {
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-checkbox label a:hover {
  color: var(--accent-warm);
}

/* ─── Legal Pages (Privacy & Cookie Policy) ─── */

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

.legal-content h1 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
}

.legal-content .last-updated {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--text-secondary);
  margin-bottom: var(--space-3xl);
}

.legal-content h2 {
  font-size: var(--text-xl);
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(196, 162, 101, 0.3);
}

.legal-content h3 {
  font-size: var(--text-lg);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.legal-content p {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.legal-content ul,
.legal-content ol {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
  list-style: disc;
}

.legal-content ol {
  list-style: decimal;
}

.legal-content li {
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

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

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

.legal-content strong {
  font-weight: 500;
  color: var(--text-primary);
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-xl) 0;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
}

.legal-content th,
.legal-content td {
  text-align: left;
  padding: var(--space-md);
  border-bottom: 1px solid rgba(44, 44, 44, 0.1);
}

.legal-content th {
  font-weight: 500;
  color: var(--text-primary);
  background-color: var(--bg-secondary);
}

.legal-content td {
  color: var(--text-secondary);
  font-weight: 300;
}

/* ─── Footer Legal Links ─── */

.footer-legal {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-md);
}

.footer-legal a {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 300;
  color: rgba(250, 247, 240, 0.5);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-legal a:hover {
  color: var(--text-on-dark);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
