/* resupply.bike — shared styles */

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

:root {
  --bg:         #f7f4ef;
  --surface:    #eee8dc;
  --border:     #d0c8b8;
  --text:       #1a1610;
  --muted:      #6b6254;
  --green:      #2d5016;
  --green-dark: #1e3a0e;
  --amber:      #8c4e0a;
  --white:      #ffffff;
  --radius:     12px;
  --max-w:      1080px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: Georgia, 'Palatino Linotype', serif;
  font-weight: normal;
  line-height: 1.2;
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Nav ──────────────────────────────────────────────────── */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 36px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  line-height: 1;
}
.nav-logo img {
  height: 88px;
  width: auto;
  border-radius: 18px;
  display: block;
}
.nav-logo:hover { text-decoration: none; opacity: 0.88; transition: opacity 0.15s; }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--green); text-decoration: none; }

.nav-links a.nav-btn {
  background: var(--green);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.15s;
}
.nav-links a.nav-btn:hover { background: var(--green-dark); color: var(--white); }

/* ── Shared button ────────────────────────────────────────── */
.btn {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.15s;
}
.btn:hover { background: var(--green-dark); text-decoration: none; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 36px 80px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(32px, 4vw, 50px);
  margin-bottom: 20px;
  max-width: 16ch;
}

.hero-sub {
  font-size: 19px;
  color: var(--muted);
  max-width: 44ch;
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero-phones {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: flex-end;
}

/* ── How it works ─────────────────────────────────────────── */
.how {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 36px;
}

.how-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 52px;
  align-items: start;
}

.how-step { text-align: center; }

.how-num {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 19px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.how-step h3 { font-size: 19px; margin-bottom: 8px; }
.how-step p  { font-size: 15px; color: var(--muted); line-height: 1.55; }

/* ── Features ─────────────────────────────────────────────── */
.features {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 72px 36px 60px;
}

.features > h2 {
  font-size: clamp(24px, 3vw, 36px);
  text-align: center;
  margin-bottom: 64px;
  color: var(--text);
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.feature-block.flip .feature-phone { order: -1; }

.feature-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}

.feature-text h2 {
  font-size: clamp(24px, 2.8vw, 34px);
  margin-bottom: 16px;
}

.feature-text p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 44ch;
}

.feature-text p + p { margin-top: 14px; }

.feature-phone {
  display: flex;
  justify-content: center;
}

/* ── Events strip ─────────────────────────────────────────── */
.events-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 72px 36px;
}

.events-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 36px;
}

.section-header h2 { font-size: clamp(22px, 3vw, 32px); }
.section-header a   { font-size: 15px; font-weight: 500; }

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.event-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: box-shadow 0.15s, border-color 0.15s;
  display: block;
  color: inherit;
}
.event-card:hover {
  border-color: #a89e8e;
  box-shadow: 0 4px 18px rgba(0,0,0,0.07);
  text-decoration: none;
}

.event-card-region {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.event-card h3 {
  font-size: 22px;
  color: var(--text);
  margin-bottom: 6px;
}

.event-card-dist {
  font-size: 15px;
  color: var(--muted);
}

.event-card-dist strong { color: var(--green); font-weight: 700; }

.event-card.placeholder {
  background: transparent;
  border-style: dashed;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-style: italic;
  font-size: 15px;
  min-height: 120px;
}

/* ── CTA band ─────────────────────────────────────────────── */
.cta-band {
  background: var(--green);
  padding: 72px 36px;
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(24px, 3.5vw, 40px);
  margin-bottom: 14px;
}

.cta-band p {
  color: rgba(255,255,255,0.72);
  font-size: 18px;
  max-width: 48ch;
  margin: 0 auto 34px;
  line-height: 1.6;
}

.btn-outline {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.55);
  color: var(--white);
  padding: 13px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  transition: border-color 0.15s, background 0.15s;
}
.btn-outline:hover {
  border-color: rgba(255,255,255,1);
  background: rgba(255,255,255,0.1);
  text-decoration: none;
}

/* ── Footer ───────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 36px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

footer a { color: var(--muted); }
footer a:hover { color: var(--text); }

/* ── Events page ──────────────────────────────────────────── */
.page-header {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 52px 36px 40px;
  border-bottom: 1px solid var(--border);
}

.page-header h1 { font-size: clamp(28px, 4vw, 46px); margin-bottom: 12px; }
.page-header p  { font-size: 18px; color: var(--muted); max-width: 54ch; line-height: 1.6; }

.events-page {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 52px 36px 80px;
}

/* ── FAQ page ─────────────────────────────────────────────── */
.faq-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 52px 36px 80px;
}

.faq-section {
  margin-bottom: 52px;
}

.faq-section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

details {
  border-bottom: 1px solid var(--border);
}

details + details {
  margin-top: 0;
}

summary {
  font-family: Georgia, 'Palatino Linotype', serif;
  font-size: 18px;
  font-weight: normal;
  color: var(--text);
  padding: 20px 36px 20px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  line-height: 1.3;
}
summary::-webkit-details-marker { display: none; }

summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1;
  font-family: -apple-system, sans-serif;
}
details[open] summary::after { content: '−'; }

summary:hover { color: var(--green); }

.faq-answer {
  padding: 0 0 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  max-width: 62ch;
}

.faq-answer p + p { margin-top: 12px; }

.faq-answer ol,
.faq-answer ul {
  margin: 12px 0 12px 20px;
}

.faq-answer li { margin-bottom: 6px; }

.faq-answer strong { color: var(--text); font-weight: 600; }

.faq-answer .tip {
  background: var(--surface);
  border-left: 3px solid var(--green);
  border-radius: 0 6px 6px 0;
  padding: 10px 14px;
  margin-top: 14px;
  font-size: 15px;
}

/* ── FAQ callout strip ────────────────────────────────────── */
.faq-callout {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 28px 36px;
  text-align: center;
  font-size: 16px;
  color: var(--muted);
}

.faq-callout a {
  color: var(--green);
  font-weight: 500;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 820px) {
  .site-nav  { padding: 18px 20px; }

  .hero {
    grid-template-columns: 1fr;
    padding: 36px 20px 56px;
    gap: 40px;
  }
  .hero-phones { order: -1; }
  .hero h1, .hero-sub { max-width: 100%; }

  .how { padding: 48px 20px; }
  .how-inner { grid-template-columns: 1fr; gap: 36px; }

  .features { padding: 48px 20px; }
  .feature-block {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 0;
  }
  .feature-block.flip .feature-phone { order: 0; }

  .events-strip { padding: 52px 20px; }
  .section-header { flex-direction: column; gap: 10px; }

  .cta-band { padding: 52px 20px; }

  footer { padding: 28px 20px; }
  .page-header { padding: 36px 20px 28px; }
  .events-page { padding: 36px 20px 60px; }
}
