/* ============================================================
   CoMo Crates — styles.css
   Mobile-first. Two fonts, six colors, no framework.
   ============================================================ */

:root {
  /* Brand palette (see BRAND-GUIDE.md) */
  --ozark-ink: #16324F;   /* primary */
  --crate-blue: #2D6CDF;  /* secondary / interactive */
  --flare-orange: #F25C1B;/* accent / CTA */
  --limestone: #F5F2EC;   /* light neutral / page bg */
  --charcoal: #232A31;    /* dark neutral / text */
  --meadow: #2E9E5B;      /* semantic success only */

  --white: #FFFFFF;
  --ink-10: rgba(22, 50, 79, 0.10);
  --ink-60: rgba(22, 50, 79, 0.60);

  --font-display: "Archivo", "Arial Black", Impact, sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 2px 12px rgba(22, 50, 79, 0.08);
  --shadow-lift: 0 8px 24px rgba(22, 50, 79, 0.14);
  --max-w: 1120px;
  --gutter: 1.25rem;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--limestone);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--crate-blue); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--crate-blue);
  outline-offset: 2px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--ozark-ink);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: 1.125rem; letter-spacing: 0.01em; }

.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
section { padding-block: 3.5rem; }
.section-kicker {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--flare-orange);
  margin-bottom: 0.25rem;
}
.section-lede { max-width: 46ch; color: var(--ink-60); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-primary { background: var(--flare-orange); color: var(--white); }
.btn-secondary { background: var(--ozark-ink); color: var(--white); }
.btn-outline { background: transparent; color: var(--ozark-ink); border-color: var(--ozark-ink); }
.btn-block { display: block; width: 100%; text-align: center; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--ink-10);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 900; /* matches Archivo Black logo wordmark */
  text-transform: uppercase;
  font-size: 1.15rem;
  color: var(--ozark-ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.logo .logo-mark { flex: none; }
.nav-toggle {
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
  display: block;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--ozark-ink);
  margin: 5px 0;
  border-radius: 2px;
}
.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--ink-10);
  padding: 0.5rem var(--gutter) 1rem;
  box-shadow: var(--shadow-lift);
}
.nav-links a {
  display: block;
  padding: 0.6rem 0.75rem;
  color: var(--ozark-ink);
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius);
}
.nav-links a:hover { background: var(--limestone); }
.nav-links a.nav-cta {
  background: var(--flare-orange);
  color: var(--white);
  text-align: center;
  margin-top: 0.5rem;
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-links, .nav-links.open {
    display: flex;
    flex-direction: row;
    position: static;
    align-items: center;
    gap: 0.25rem;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
  }
  .nav-links a.nav-cta { margin: 0 0 0 0.75rem; padding-inline: 1.25rem; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--ozark-ink);
  color: var(--white);
  padding-block: 4rem 3rem;
}
.hero h1 { color: var(--white); max-width: 16ch; }
.hero .hero-sub {
  font-size: 1.15rem;
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.hero .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.6); }

.booking-panel {
  background: var(--white);
  color: var(--charcoal);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-lift);
}
.booking-panel h2 {
  font-size: 1rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.mount-placeholder {
  border: 2px dashed var(--ink-10);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--ink-60);
  font-size: 0.9rem;
}

/* ---------- Benefit row ---------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.25rem;
}
.benefit {
  text-align: center;
  padding: 1rem 0.5rem;
}
.benefit .benefit-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  color: var(--crate-blue);
}
.benefit h3 { font-size: 0.95rem; }
.benefit p { font-size: 0.875rem; color: var(--ink-60); margin: 0; }

/* ---------- How it works ---------- */
.steps-grid {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}
@media (min-width: 700px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }
.step {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--flare-orange);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.step p { font-size: 0.9rem; color: var(--ink-60); margin: 0; }

/* ---------- Pricing tiers ---------- */
.tiers-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 700px) { .tiers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .tiers-grid { grid-template-columns: repeat(5, 1fr); } }
.tier {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  border-top: 5px solid var(--crate-blue);
}
.tier.tier-featured { border-top-color: var(--flare-orange); }
.tier .tier-size {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-60);
}
.tier h3 { font-size: 1.25rem; margin-bottom: 0.25rem; }
.tier .tier-tagline { font-size: 0.85rem; color: var(--ink-60); min-height: 3em; }
.tier .tier-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--ozark-ink);
  margin: 0.5rem 0;
}
.tier .tier-price .price-note { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.75rem; color: var(--ink-60); }
.tier ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.875rem;
}
.tier ul li { padding: 0.3rem 0 0.3rem 1.5rem; position: relative; }
.tier ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--meadow);
  font-weight: 700;
}
.tier .tier-cta { margin-top: auto; }

/* ---------- Local trust ---------- */
.trust {
  background: var(--ozark-ink);
  color: var(--white);
}
.trust h2 { color: var(--white); }
.trust-grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .trust-grid { grid-template-columns: 1.2fr 1fr; align-items: center; } }
.trust p { color: rgba(255,255,255,0.85); }
.trust-points { list-style: none; padding: 0; margin: 1rem 0 0; }
.trust-points li {
  padding: 0.5rem 0 0.5rem 2rem;
  position: relative;
  font-weight: 500;
}
.trust-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--meadow);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
}

/* ---------- Photo placeholders (no photography yet) ---------- */
.photo-placeholder {
  background: var(--crate-blue);
  border-radius: var(--radius-lg);
  min-height: 260px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
  opacity: 0.9;
}
.photo-placeholder.alt { background: #4a5a6a; }

/* ---------- Testimonials ---------- */
.testimonials-grid { display: grid; gap: 1.25rem; }
@media (min-width: 800px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  font-size: 0.95rem;
}
.testimonial blockquote { margin: 0 0 1rem; font-style: italic; color: var(--ink-60); }
.testimonial cite { font-style: normal; font-weight: 600; color: var(--ozark-ink); }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 760px; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow);
}
.faq-item summary {
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: var(--ozark-ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--flare-orange);
  flex: none;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body { padding: 0 1.25rem 1.25rem; color: var(--ink-60); font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--flare-orange);
  color: var(--white);
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band .btn-secondary { background: var(--ozark-ink); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.8);
  padding-block: 3rem 2rem;
  font-size: 0.9rem;
}
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.site-footer h3 { color: var(--white); font-size: 0.9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 0.2rem 0; }
.site-footer a { color: rgba(255,255,255,0.8); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 2rem;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.8rem;
}

/* ---------- Generic page (secondary pages) ---------- */
.page-hero {
  background: var(--ozark-ink);
  color: var(--white);
  padding-block: 3rem;
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 52ch; }

.prose { max-width: 68ch; }
.prose h2 { margin-top: 2rem; }

.card-grid { display: grid; gap: 1.25rem; }
@media (min-width: 800px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.9rem; color: var(--ink-60); }

/* ---------- Calculator ---------- */
.calc-wrap { max-width: 640px; }
.calc-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.calc-form fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 1.5rem;
}
.calc-form legend {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--ozark-ink);
  margin-bottom: 0.6rem;
}
.option-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.option-row label {
  border: 2px solid var(--ink-10);
  border-radius: var(--radius);
  padding: 0.55rem 0.9rem;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  user-select: none;
}
.option-row input[type="radio"] { position: absolute; opacity: 0; }
.option-row input[type="radio"]:checked + span { color: var(--white); }
.option-row label:has(input:checked) {
  background: var(--crate-blue);
  border-color: var(--crate-blue);
  color: var(--white);
}
.option-row input[type="radio"]:focus-visible + span { outline: 3px solid var(--flare-orange); outline-offset: 4px; }

.calc-result {
  margin-top: 1.5rem;
  background: var(--ozark-ink);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: none;
}
.calc-result.visible { display: block; }
.calc-result h2 { color: var(--white); font-size: 1.1rem; }
.calc-result .calc-count {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3rem;
  color: var(--flare-orange);
  line-height: 1;
}
.calc-result .calc-bundle { font-weight: 600; margin: 0.5rem 0 1rem; }
.calc-result .calc-note { font-size: 0.85rem; color: rgba(255,255,255,0.75); }

/* ---------- Forms (contact / business) ---------- */
.form-grid { display: grid; gap: 1rem; }
.form-grid label { font-weight: 600; font-size: 0.9rem; color: var(--ozark-ink); display: block; margin-bottom: 0.3rem; }
.form-grid input, .form-grid select, .form-grid textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 2px solid var(--ink-10);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
}
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus {
  outline: none;
  border-color: var(--crate-blue);
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.badge {
  display: inline-block;
  background: var(--flare-orange);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border-radius: 99px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }
