/* ── Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background-color: #F7F1E8;
  color: #1A0E05;
  -webkit-font-smoothing: antialiased;
}

/* ── Focus ───────────────────────────────────── */
*:focus-visible {
  outline: 2px solid #C4622D;
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Skip nav ────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -999px;
  left: 1rem;
  z-index: 9999;
  background: #C4622D;
  color: white;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: 0 0 4px 4px;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
}
.skip-link:focus { top: 0; }

/* ── Marquee ─────────────────────────────────── */
.marquee-track {
  display: flex;
  align-items: center;
  animation: marquee 22s linear infinite;
  white-space: nowrap;
  will-change: transform;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Grain overlay (hero) ─────────────────────── */
.grain-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.45;
  mix-blend-mode: overlay;
}

/* ── Gold rule ───────────────────────────────── */
.rule-gold {
  display: block;
  width: 48px;
  height: 2px;
  background: #D4953A;
  margin-top: 1rem;
}

/* ── Reveal animation ────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.12s; }
.reveal.delay-2 { transition-delay: 0.24s; }
.reveal.delay-3 { transition-delay: 0.36s; }
.reveal.delay-4 { transition-delay: 0.48s; }

/* ── Product card image zoom ─────────────────── */
.product-card .thumb {
  overflow: hidden;
}
.product-card .thumb img {
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.product-card:hover .thumb img {
  transform: scale(1.06);
}

/* ── Nav shadow on scroll ────────────────────── */
.nav-solid {
  box-shadow: 0 1px 0 rgba(26,14,5,0.08);
}

/* ── Payment badge ───────────────────────────── */
.badge-pay {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 11px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  background: rgba(212,149,58,0.12);
  color: #8B7355;
  border: 1px solid rgba(139,115,85,0.22);
  letter-spacing: 0.01em;
}

/* ── Service card hover ──────────────────────── */
.service-card {
  border: 1px solid rgba(255,255,255,0.08);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.service-card:hover {
  border-color: rgba(212,149,58,0.35);
  background-color: rgba(255,255,255,0.03);
}

/* ── Map privacy shield ──────────────────────── */
.map-shield {
  background: linear-gradient(135deg, #EDE3D0 0%, #F7F1E8 100%);
}

/* ── Scrollbar ───────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #EDE3D0; }
::-webkit-scrollbar-thumb { background: #D4953A; border-radius: 3px; }
