/* ============================================================
   Pedal to the Meadow — Redesign Mockup
   Palette: Meadow Green + Kauai Purple on warm cream
   Headlines: Gill Sans (falls back to similar humanist sans)
   ============================================================ */

:root {
  --green: #2f6b3a;
  --green-dark: #1e4a28;
  --green-light: #e8f0e3;
  --purple: #5b3e96;
  --purple-dark: #46307a;
  --purple-light: #efeaf7;
  --cream: #faf7f0;
  --ink: #2b2b28;
  --ink-soft: #5c5c55;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 2px 14px rgba(30, 50, 30, 0.10);
  --heads: "Gill Sans", "Gill Sans MT", "Trebuchet MS", "Segoe UI", Calibri, sans-serif;
  --body: "Gill Sans", "Gill Sans MT", "Trebuchet MS", "Segoe UI", Calibri, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
}

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

h1, h2, h3, h4 { font-family: var(--heads); line-height: 1.15; color: var(--green-dark); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 0.5em; }
h3 { font-size: 1.25rem; margin-bottom: 0.4em; }
p { margin-bottom: 1em; }
a { color: var(--purple); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 3px solid var(--green);
  box-shadow: 0 1px 8px rgba(0,0,0,0.07);
}
.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px 22px; max-width: 1080px; margin: 0 auto;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green);
  color: #fff; font-family: var(--heads); font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; letter-spacing: 0.5px;
  border: 2px solid var(--purple);
}
.brand-text { line-height: 1.1; }
.brand-text .title { font-family: var(--heads); font-weight: 700; color: var(--green-dark); font-size: 1.15rem; display: block; }
.brand-text .tagline { font-size: 0.75rem; color: var(--purple); letter-spacing: 0.03em; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; flex-wrap: wrap; }
.nav-links a {
  text-decoration: none; color: var(--ink);
  font-family: var(--heads); font-size: 0.98rem;
  padding: 8px 12px; border-radius: 8px;
}
.nav-links a:hover { background: var(--green-light); color: var(--green-dark); }
.nav-links a.active { color: var(--green-dark); font-weight: 700; }

.btn {
  display: inline-block; text-decoration: none;
  font-family: var(--heads); font-weight: 700;
  padding: 12px 26px; border-radius: 999px;
  transition: transform 0.12s ease, background 0.12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-purple { background: var(--purple); color: #fff !important; }
.btn-purple:hover { background: var(--purple-dark); }
.btn-green { background: var(--green); color: #fff !important; }
.btn-green:hover { background: var(--green-dark); }
.btn-outline { border: 2px solid #fff; color: #fff !important; }
.btn-outline:hover { background: rgba(255,255,255,0.15); }
.nav-links .btn { padding: 9px 20px; font-size: 0.95rem; }

/* Hamburger toggle (mobile) */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 8px; border-radius: 8px;
}
.nav-toggle span {
  display: block; width: 26px; height: 3px; border-radius: 2px;
  background: var(--green-dark); margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle:hover { background: var(--green-light); }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .nav-bar { flex-wrap: nowrap; }
  .nav-bar nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white);
    border-bottom: 3px solid var(--green);
    box-shadow: 0 10px 22px rgba(0,0,0,0.12);
  }
  .nav-open .nav-bar nav { display: block; }
  .nav-links {
    flex-direction: column; align-items: stretch;
    gap: 0; padding: 10px 18px 18px;
  }
  .nav-links a { display: block; padding: 13px 10px; font-size: 1.05rem; border-bottom: 1px solid #eee; border-radius: 0; }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-links .btn { text-align: center; border-radius: 999px; margin-top: 12px; padding: 12px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff;
  min-height: 520px; display: flex; align-items: center;
  background: var(--green-dark);
}
.hero .bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20,40,22,0.82) 0%, rgba(20,40,22,0.45) 55%, rgba(91,62,150,0.35) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 90px 22px; max-width: 1080px; margin: 0 auto; width: 100%; }
.hero .kicker {
  display: inline-block; background: var(--purple);
  padding: 6px 16px; border-radius: 999px;
  font-family: var(--heads); font-size: 0.85rem; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 18px;
}
.hero h1 {
  color: #fff; font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 10px; text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.hero .sub { font-size: clamp(1.05rem, 2.2vw, 1.4rem); max-width: 34em; margin-bottom: 8px; }
.hero .date { font-family: var(--heads); font-weight: 700; font-size: 1.2rem; margin-bottom: 26px; color: #dcd0f5; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Fast facts band ---------- */
.facts { background: var(--green); color: #fff; }
.facts-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 1080px; margin: 0 auto; padding: 26px 22px; gap: 18px;
  text-align: center;
}
.fact .num { font-family: var(--heads); font-weight: 700; font-size: 1.9rem; display: block; }
.fact .label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.07em; opacity: 0.9; }

/* ---------- Sections ---------- */
section.block { padding: 64px 0; }
section.block.alt { background: var(--white); }
section.block.tint-purple { background: var(--purple-light); }
section.block.tint-green { background: var(--green-light); }

.two-col { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }
.two-col.flip { grid-template-columns: 1fr 1.1fr; }

.eyebrow {
  font-family: var(--heads); text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 0.82rem; color: var(--purple); font-weight: 700; margin-bottom: 6px;
}

.photo-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-card figcaption { padding: 10px 16px; font-size: 0.85rem; color: var(--ink-soft); background: #fff; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.gallery .photo-card img { aspect-ratio: 4 / 3; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.card {
  background: var(--white); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
  border-top: 4px solid var(--green);
}
.card.purple { border-top-color: var(--purple); }
.card h3 { color: var(--green-dark); }
.badge-icon {
  display: inline-block; font-family: var(--heads); font-weight: 700;
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--green); color: #fff;
  padding: 5px 14px; border-radius: 999px; margin-bottom: 12px;
}
.card.purple .badge-icon { background: var(--purple); }

/* ---------- Pricing ---------- */
.price-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 30px 0; }
.price {
  background: var(--white); border-radius: var(--radius); padding: 26px 22px;
  text-align: center; box-shadow: var(--shadow);
}
.price.featured { border: 3px solid var(--purple); position: relative; }
.price .tier { font-family: var(--heads); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; color: var(--ink-soft); }
.price .amount { font-family: var(--heads); font-weight: 700; font-size: 2.4rem; color: var(--green-dark); display: block; margin: 6px 0; }
.price .deadline { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- Tables ---------- */
table.simple { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
table.simple th { background: var(--green); color: #fff; text-align: left; padding: 12px 16px; font-family: var(--heads); }
table.simple td { padding: 11px 16px; border-bottom: 1px solid #eee; font-size: 0.95rem; }
table.simple tr:last-child td { border-bottom: none; }

/* ---------- Inner page hero ---------- */
.page-hero {
  position: relative; color: #fff; background: var(--green-dark);
  padding: 70px 0 56px; overflow: hidden;
}
.page-hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); }
.page-hero p { color: #e6e0f2; max-width: 40em; margin-bottom: 0; }

/* ---------- Checklist ---------- */
ul.checklist { list-style: none; margin: 0 0 1em; }
ul.checklist li { padding-left: 30px; position: relative; margin-bottom: 9px; }
ul.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--green); font-weight: 700;
}
ul.dots { margin: 0 0 1em 1.2em; }
ul.dots li { margin-bottom: 7px; }

/* ---------- Callout ---------- */
.callout {
  background: var(--purple-light); border-left: 5px solid var(--purple);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px; margin: 24px 0;
}
.callout.green { background: var(--green-light); border-left-color: var(--green); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-dark); color: #dfe8da; padding: 54px 0 30px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; margin-bottom: 10px; font-size: 1.05rem; }
.site-footer a { color: #cdbdf0; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .small { font-size: 0.82rem; opacity: 0.75; margin-top: 34px; text-align: center; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 7px; }
.footer-tagline { font-family: var(--heads); color: #a9d3a0; font-style: italic; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .two-col, .two-col.flip { grid-template-columns: 1fr; gap: 26px; }
  .card-grid, .price-row, .gallery { grid-template-columns: 1fr 1fr; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .card-grid, .price-row, .gallery { grid-template-columns: 1fr; }
  .nav-links { justify-content: center; }
  .hero { min-height: 440px; }
}
