/* Bentonville Bike Guide — shared styles
   Mobile-first, approachable, fast */

:root {
  --forest: #1a4d3e;
  --forest-dark: #0f3329;
  --forest-mid: #2d6b55;
  --sage: #e8f2ed;
  --sage-border: #c5ddd2;
  --clay: #c45c26;
  --clay-hover: #a84b1c;
  --ink: #1a1f1c;
  --ink-muted: #4a554f;
  --ink-soft: #6b756f;
  --paper: #faf9f6;
  --white: #ffffff;
  --line: #e2e6e3;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 12px rgba(26, 77, 62, 0.08);
  --shadow-md: 0 8px 28px rgba(26, 77, 62, 0.12);
  --max: 1080px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --focus: 0 0 0 3px rgba(196, 92, 38, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--forest-mid);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--clay);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--forest);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* Layout */
.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: 3rem 0;
}

.section--tight {
  padding: 2rem 0;
}

.section--sage {
  background: var(--sage);
}

.section--forest {
  background: var(--forest);
  color: var(--white);
}

.section--forest a {
  color: #b8e0d0;
}

.section--forest a:hover {
  color: #fff;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clay);
  margin: 0 0 0.5rem;
}

.section h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.25;
  margin: 0 0 0.75rem;
  color: var(--forest-dark);
}

.section--forest h2 {
  color: var(--white);
}

.lede {
  font-size: 1.125rem;
  color: var(--ink-muted);
  max-width: 38rem;
  margin: 0 0 1.5rem;
}

.section--forest .lede {
  color: rgba(255, 255, 255, 0.85);
}

/* Header / nav */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  min-height: 3.5rem;
}

.logo {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--forest-dark);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.logo:hover {
  color: var(--forest-mid);
  text-decoration: none;
}

.logo span {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  color: var(--ink);
  padding: 0;
}

.nav-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

.nav-toggle[aria-expanded="true"] {
  background: var(--sage);
  border-color: var(--sage-border);
}

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 1rem 1rem;
  box-shadow: var(--shadow);
}

.site-nav.is-open {
  display: block;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.site-nav a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  border-radius: var(--radius-sm);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--sage);
  color: var(--forest-dark);
}

.site-nav a.nav-cta {
  background: var(--clay);
  color: var(--white);
  text-align: center;
  margin-top: 0.35rem;
}

.site-nav a.nav-cta:hover {
  background: var(--clay-hover);
  color: var(--white);
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: block;
    position: static;
    border: none;
    box-shadow: none;
    padding: 0;
    background: transparent;
  }

  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
  }

  .site-nav a {
    padding: 0.45rem 0.75rem;
    font-size: 0.95rem;
  }

  .site-nav a.nav-cta {
    margin-top: 0;
    margin-left: 0.35rem;
    padding: 0.5rem 1rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.35rem;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn--primary {
  background: var(--clay);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--clay-hover);
  color: var(--white);
  text-decoration: none;
}

.btn--secondary {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}

.btn--secondary:hover {
  background: var(--sage);
  color: var(--forest-dark);
  text-decoration: none;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
  text-decoration: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Hero */
.hero {
  padding: 2.5rem 0 3rem;
  background:
    linear-gradient(165deg, var(--sage) 0%, var(--paper) 55%, #f3efe6 100%);
}

.hero h1 {
  font-size: clamp(1.85rem, 5.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--forest-dark);
  max-width: 18ch;
}

.hero .tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--ink-muted);
  margin: 0 0 1rem;
  font-weight: 500;
  max-width: 32rem;
}

.hero .intro {
  max-width: 36rem;
  color: var(--ink-muted);
  margin: 0;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
  list-style: none;
  padding: 0;
}

.chips li {
  background: var(--white);
  border: 1px solid var(--sage-border);
  color: var(--ink-muted);
  font-size: 0.875rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

/* Steps */
.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem 1.15rem 3.5rem;
  position: relative;
  box-shadow: var(--shadow);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--forest);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps strong {
  display: block;
  color: var(--forest-dark);
  margin-bottom: 0.2rem;
}

@media (min-width: 700px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Ride cards */
.ride-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .ride-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .ride-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ride-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ride-card h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--forest-dark);
}

.ride-card .meta {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0;
}

.ride-card .who {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.ride-card .price {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink);
}

.ride-card .price strong {
  color: var(--forest);
}

.price-note {
  font-size: 0.8rem;
  color: var(--ink-soft);
  display: block;
  margin-top: 0.25rem;
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--sage);
  color: var(--forest);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  width: fit-content;
}

/* Callout / note boxes */
.callout {
  background: var(--white);
  border: 1px solid var(--sage-border);
  border-left: 4px solid var(--forest-mid);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.25rem;
  margin: 1.5rem 0 0;
}

.callout p {
  margin: 0;
  color: var(--ink-muted);
}

.callout p + p {
  margin-top: 0.5rem;
}

.bikewhip {
  background: var(--white);
  border: 1px dashed var(--sage-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  margin-top: 1.5rem;
}

.bikewhip strong {
  color: var(--forest-dark);
}

/* CTA band */
.cta-band {
  text-align: center;
}

.cta-band .lede {
  margin-inline: auto;
}

.cta-band .btn-row {
  justify-content: center;
}

/* Form */
.form-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 840px) {
  .form-layout {
    grid-template-columns: 1.4fr 0.9fr;
    align-items: start;
  }
}

.inquiry-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .form-grid--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--forest-dark);
}

.field .hint {
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  font: inherit;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  width: 100%;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--sage-border);
}

.field textarea {
  min-height: 6rem;
  resize: vertical;
}

.form-note {
  font-size: 0.875rem;
  color: var(--ink-soft);
  margin: 1rem 0 0;
  padding: 0.85rem;
  background: var(--sage);
  border-radius: var(--radius-sm);
}

.form-actions {
  margin-top: 1.25rem;
}

.side-panel {
  background: var(--sage);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.side-panel h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.side-panel ol {
  margin: 0;
  padding-left: 1.25rem;
}

.side-panel li {
  margin-bottom: 0.85rem;
  color: var(--ink-muted);
}

.side-panel li strong {
  color: var(--forest-dark);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.65rem;
  max-width: 42rem;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0;
  box-shadow: var(--shadow);
}

.faq-list summary {
  padding: 1rem 1.15rem;
  font-weight: 600;
  color: var(--forest-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--clay);
  font-weight: 400;
  flex-shrink: 0;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list .answer {
  padding: 0 1.15rem 1.15rem;
  color: var(--ink-muted);
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
}

.faq-list .answer p {
  margin: 0 0 0.65rem;
}

.faq-list .answer p:last-child {
  margin-bottom: 0;
}

.faq-list .answer ul {
  margin: 0.35rem 0 0;
  padding-left: 1.25rem;
}

/* About */
.prose {
  max-width: 40rem;
}

.prose p {
  color: var(--ink-muted);
  margin: 0 0 1rem;
}

.prose h2 {
  margin-top: 2rem;
}

/* Footer */
.site-footer {
  background: var(--forest-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 2.5rem 0 2rem;
  margin-top: 2rem;
  font-size: 0.925rem;
}

.site-footer a {
  color: #b8e0d0;
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand {
  font-weight: 700;
  color: var(--white);
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
}

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-nav a {
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-meta {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-meta p {
  margin: 0 0 0.35rem;
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

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