:root {
  /* Professional, editorial theme: a deep forest-green identity on warm
     "paper" surfaces, paired with a refined brass accent used sparingly.
     Cooler, deeper primaries + a warm off-white base read as premium. */
  --primary: #0f5045;        /* deep forest green */
  --primary-dark: #0a352d;   /* near-black green for headings */
  --primary-tint: #ecf3f0;   /* soft green tint for hovers/fills */
  --primary-tint-deep: #d3e4de;
  --bg: #fbfaf6;             /* warm off-white "paper" base */
  --surface: #ffffff;        /* clean card surface */
  --surface-alt: #f1f4f1;    /* subtle neutral section background */
  --accent: #a97b2f;         /* refined brass/gold accent */
  --accent-soft: #e4c78a;    /* light gold for dark backgrounds */
  --ink: #1b241f;            /* deep ink body text */
  --muted: #566159;          /* muted secondary text */
  --line: #e5ebe6;           /* subtle neutral border */
  --field-border: #8a958f;
  --white: #ffffff;
  --error: #b3261e;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 6px 22px rgba(10, 53, 45, 0.07);
  --shadow-lg: 0 18px 44px rgba(10, 53, 45, 0.12);
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-body);
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 14px; color: var(--primary-dark); }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); text-align: center; letter-spacing: -0.01em; }
h2::after {
  content: ""; display: block; width: 44px; height: 3px; border-radius: 3px;
  background: var(--accent); margin: 16px auto 0;
}
h3 { font-size: 1.3rem; letter-spacing: -0.005em; }
p { margin: 0 0 12px; }

a { color: var(--primary); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--primary-dark); color: var(--white);
  padding: 12px 16px; min-height: 44px; display: inline-flex; align-items: center; z-index: 20;
}
.skip-link:focus { left: 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; flex-wrap: wrap; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  color: var(--primary-dark); text-decoration: none;
  padding: 6px 4px; border-radius: 12px; min-height: 44px;
}
.brand-logo { display: block; width: 36px; height: 36px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.site-nav a {
  color: var(--ink); text-decoration: none; padding: 11px 16px; display: inline-flex;
  align-items: center; min-height: 44px;
  border-radius: 999px; font-weight: 500;
}
.site-nav a:hover { background: var(--primary-tint); color: var(--primary-dark); }

.menu-toggle {
  display: none;
  background: var(--primary); color: var(--white);
  border: 0; border-radius: 999px; padding: 10px 20px; font: inherit; font-weight: 600; cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-block; padding: 13px 28px; border-radius: 999px;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; border: 2px solid var(--primary);
  transition: background-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 8px 20px rgba(10, 53, 45, 0.20); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(10, 53, 45, 0.26); }
.btn-secondary { background: transparent; color: var(--primary-dark); }
.btn-secondary:hover { background: var(--primary-tint-deep); }

/* Hero */
.hero {
  background:
    radial-gradient(circle at 88% 6%, var(--primary-tint-deep), transparent 48%),
    linear-gradient(180deg, var(--primary-tint), var(--bg));
  padding: 76px 0 64px;
  border-bottom: 1px solid var(--line);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-block; background: var(--surface); color: var(--primary);
  border: 1px solid var(--primary-tint-deep); border-radius: 999px; padding: 5px 15px;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-points { list-style: none; display: flex; gap: 8px 22px; flex-wrap: wrap; margin: 24px 0 0; padding: 0; color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.hero-art { max-width: 520px; width: 100%; margin: 0 auto; }
.hero-art img { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 28px rgba(10, 53, 45, 0.16)); }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--surface-alt); }
.section-intro { text-align: center; color: var(--muted); max-width: 640px; margin: 16px auto 36px; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* Products */
.product { padding: 0; overflow: hidden; }
.product-img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; }
.card-body { padding: 22px 26px 28px; }
.card-body p { color: var(--muted); margin-bottom: 0; }

/* Benefits */
.benefits { list-style: none; padding: 0; margin: 36px 0 0; }
.benefit {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  background: var(--surface); border-radius: var(--radius); padding: 28px 18px;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.benefit-icon { display: block; width: 64px; height: 64px; margin-bottom: 8px; }
.benefit strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--primary-dark); }
.benefit span { color: var(--muted); font-size: 0.95rem; }

/* Packs */
.pack { text-align: center; position: relative; }
.pack-featured { background: var(--primary); border-color: var(--primary); color: var(--white); top: -8px; }
.pack-featured h3, .pack-featured .pack-size { color: var(--white); }
.pack-featured .price { color: var(--accent-soft); }
.pack-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  margin: 0; background: #835f24; color: var(--white);
  padding: 3px 16px; border-radius: 999px; font-size: 0.85rem; font-weight: 700;
}
.pack-size { color: var(--muted); font-weight: 600; }
.price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }

/* Steps */
.steps { list-style: none; counter-reset: step; max-width: 680px; margin: 36px auto 0; padding: 0; }
.steps li {
  counter-increment: step; position: relative;
  background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 18px 20px 18px 76px; margin-bottom: 14px;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
}

/* Contact form */
.contact-wrap { max-width: 680px; }
.contact-form {
  background: var(--surface); border-radius: var(--radius); padding: 32px;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 13px 14px; font: inherit; color: var(--ink);
  border: 1px solid var(--field-border); border-radius: var(--radius-sm); background: var(--surface-alt);
}
.field input:focus, .field textarea:focus { border-color: var(--primary); background: var(--surface); }
.field textarea { resize: vertical; }
.error { color: var(--error); font-size: 0.9rem; margin: 4px 0 0; min-height: 0; }
.form-status { margin: 16px 0 0; color: var(--primary-dark); font-weight: 600; }

/* Footer */
.site-footer { background: var(--primary-dark); color: var(--primary-tint); padding: 44px 0; text-align: center; }
.site-footer p { margin: 0 0 6px; }
.site-footer .small { font-size: 0.85rem; opacity: 0.85; margin-top: 12px; }
.site-footer a { color: var(--accent-soft); }
.site-footer a:focus-visible { outline-color: var(--accent-soft); }
.footer-logo { display: block; width: 48px; height: 48px; margin: 0 auto 12px; }

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

@media (max-width: 720px) {
  .hero { padding: 40px 0; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-points { justify-content: center; }
  .hero-art { order: -1; max-width: 340px; }
  .grid-3 { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .pack-featured { top: 0; }
  .contact-form { padding: 22px; }

  /* Menu button and collapsed nav only apply when JavaScript is running,
     so the links stay visible without JS. */
  .js .menu-toggle { display: block; }
  .js .site-nav { display: none; width: 100%; }
  .js .site-nav.open { display: block; padding-bottom: 12px; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: 12px 8px; border-radius: 8px; }
}

@media (max-width: 420px) {
  .grid-4 { grid-template-columns: 1fr; }
  .btn { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
  .btn-primary:hover, .card:hover { transform: none; }
}
