/* =========================================================
   Pine & Trail Electric Bikes — site styles
   Brand colors locked to the v1.0 brand sheet (2026).
   ========================================================= */

:root {
  /* Brand palette */
  --pine-green: #1F4E45;
  --sage: #A7D8B4;
  --spring-green: #5FB088;
  --deep-green: #2E8B66;
  --sun-orange: #D9772F;
  --bolt-yellow: #FFE34D;
  --amber: #E8A13A;
  --cream: #F4EFE6;

  /* Semantic roles */
  --color-primary: var(--pine-green);
  --color-secondary: var(--deep-green);
  --color-accent: var(--amber);
  --color-hot: var(--sun-orange);
  --color-bg: #FBF8F2;
  --color-surface: #ffffff;
  --color-text: #1A2A26;
  --color-text-light: #5A6C66;
  --color-border: #E5DFD2;

  /* Type */
  --font-heading: 'Archivo Black', 'Montserrat', system-ui, sans-serif;
  --font-body: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-serif: 'PT Serif', Georgia, serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.75rem;
  --text-hero: clamp(2.4rem, 5.5vw, 4.2rem);

  /* Layout */
  --max-width: 1200px;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 2px 12px rgba(31, 78, 69, 0.10);
  --shadow-lg: 0 12px 40px rgba(31, 78, 69, 0.18);

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-hot); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.15;
  letter-spacing: 0.5px;
  margin: 0 0 var(--space-2);
}
h1 { font-size: var(--text-hero); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: var(--text-xl); letter-spacing: 1px; }
h4 { font-size: var(--text-lg); letter-spacing: 0.5px; }

p { margin: 0 0 var(--space-2); }
.eyebrow {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: var(--text-xs);
  color: var(--color-accent);
  margin: 0 0 var(--space-2);
}

/* Focus */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

/* =========================================================
   Announcement Bar
   ========================================================= */
.announcement-bar {
  background: var(--color-accent);
  color: #1A1A1A;
  font-size: var(--text-sm);
  font-weight: 600;
}
.announcement-bar[hidden] { display: none !important; }
.announcement-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.55rem var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  justify-content: center;
  flex-wrap: wrap;
}
.announcement-text { margin: 0; }
.announcement-link {
  color: #1A1A1A;
  text-decoration: underline;
  font-weight: 700;
}
.announcement-close {
  margin-left: auto;
  background: transparent;
  border: 0;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: #1A1A1A;
  padding: 0 0.25rem;
}

/* =========================================================
   Navigation
   ========================================================= */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--pine-green);
  color: var(--cream);
  box-shadow: var(--shadow);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem var(--space-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 44px; width: auto; }
.nav-logo span {
  display: none;
  font-family: var(--font-heading);
  color: var(--cream);
  letter-spacing: 1px;
  margin-left: 0.6rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--cream);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 180ms ease, color 180ms ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--bolt-yellow);
  border-bottom-color: var(--amber);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 0.4rem;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--cream);
  border-radius: 2px;
  display: block;
  transition: transform 180ms ease, opacity 180ms ease;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.8em 1.6em;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
  border: 2px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: var(--sun-orange);
  color: #fff;
}
.btn-primary:hover {
  background: #C46625;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(217, 119, 47, 0.35);
}
.btn-outline {
  background: transparent;
  border-color: var(--cream);
  color: var(--cream);
}
.btn-outline:hover {
  background: var(--cream);
  color: var(--pine-green);
}
.btn-secondary {
  background: var(--pine-green);
  color: var(--cream);
}
.btn-secondary:hover {
  background: #163831;
  color: var(--bolt-yellow);
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  background: var(--pine-green);
  color: var(--cream);
  overflow: hidden;
  padding: var(--space-6) 0;
  border-bottom: 6px solid var(--amber);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 30%, rgba(217,119,47,0.30) 0%, transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(95,176,136,0.25) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-5);
  align-items: center;
}
.hero h1 { color: var(--cream); margin-bottom: var(--space-3); }
.hero h1 span { color: var(--bolt-yellow); }
.hero-tagline {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  color: var(--sage);
  font-style: italic;
  margin-bottom: var(--space-3);
}
.hero-actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-visual img {
  max-width: 475px;
  width: 100%;
  filter: drop-shadow(0 12px 32px rgba(0,0,0,0.35));
}

/* =========================================================
   Sections
   ========================================================= */
.section { padding: var(--space-6) 0; }
.section-narrow { padding: var(--space-5) 0; }
.section-light { background: var(--color-surface); }
.section-cream { background: var(--cream); }
.section-dark { background: var(--pine-green); color: var(--cream); }
.section-dark h2, .section-dark h3 { color: var(--cream); }
.section-dark .eyebrow { color: var(--bolt-yellow); }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-5);
}
.section-header p {
  color: var(--color-text-light);
  font-size: var(--text-lg);
}

/* =========================================================
   Tier Cards (homepage)
   ========================================================= */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.tier-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.tier-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--color-accent);
}
.tier-card.tier-value::before { background: var(--spring-green); }
.tier-card.tier-mid::before { background: var(--amber); }
.tier-card.tier-premium::before { background: var(--sun-orange); }
.tier-card h3 {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: var(--text-lg);
}
.tier-card .tier-price {
  font-family: var(--font-heading);
  color: var(--pine-green);
  font-size: var(--text-2xl);
  margin: var(--space-2) 0;
}
.tier-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-text-light);
}
.tier-card li::before {
  content: "▲ ";
  color: var(--deep-green);
  margin-right: 0.3rem;
}

/* =========================================================
   Product cards
   ========================================================= */
.filter-bar {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  align-items: center;
  margin-bottom: var(--space-4);
}
.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  justify-content: center;
  align-items: center;
}
.filter-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-light);
  margin-right: var(--space-1);
  min-width: 5.5rem;
  text-align: right;
}
.filter-empty {
  text-align: center;
  color: var(--color-text-light);
  font-size: var(--text-sm);
  padding: var(--space-4) 0;
}
.filter-btn {
  background: transparent;
  border: 2px solid var(--color-border);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  text-transform: capitalize;
  transition: all 180ms ease;
}
.filter-btn:hover { border-color: var(--pine-green); }
.filter-btn.is-active {
  background: var(--pine-green);
  color: var(--cream);
  border-color: var(--pine-green);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
/* Full-width brand (manufacturer) heading that separates card groups. */
.brand-group-heading {
  grid-column: 1 / -1;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--pine-green);
  letter-spacing: 1px;
  margin: 0;
  padding-bottom: var(--space-1);
  border-bottom: 2px solid var(--color-border);
}
.brand-group-heading:not(:first-child) { margin-top: var(--space-2); }
.brand-group-heading[hidden] { display: none; }
.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  box-shadow: var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.product-card[hidden] { display: none; }
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-image-wrap {
  position: relative;
  background: linear-gradient(135deg, var(--sage) 0%, var(--spring-green) 100%);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
}
.card-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.card-image-placeholder {
  width: 110px;
  height: 110px;
  opacity: 0.7;
}
.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--sun-orange);
  color: #fff;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  letter-spacing: 2px;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}
.card-body {
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.card-category {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--deep-green);
}
.card-brand {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--color-text-light);
}
.card-name {
  margin: 0;
  font-size: var(--text-lg);
  color: var(--pine-green);
}
.card-tagline {
  margin: 0;
  color: var(--color-text-light);
  font-size: var(--text-sm);
  flex: 1;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin-top: var(--space-2);
}
.card-price {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--pine-green);
}
.card-price-none {
  font-size: var(--text-sm);
  color: var(--color-text-light);
}
.card-cta {
  padding: 0.55em 1em;
  font-size: 0.78rem;
}
.card-datasheet {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: var(--space-2);
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
}
.card-datasheet svg { flex: none; }
.card-datasheet:hover,
.card-datasheet:focus-visible { text-decoration: underline; }
.modal-datasheet-wrap {
  margin: var(--space-3) 0 0;
}
.modal-datasheet {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}
.modal-datasheet svg { flex: none; }
.modal-datasheet:hover,
.modal-datasheet:focus-visible { text-decoration: underline; }

/* =========================================================
   Modal
   ========================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 30, 26, 0.7);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
  opacity: 0;
  transition: opacity 200ms ease;
}
.modal-overlay[hidden] { display: none; }
.modal-overlay.is-open { opacity: 1; }
.modal-panel {
  background: var(--color-surface);
  border-radius: var(--radius);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 220ms ease;
}
.modal-overlay.is-open .modal-panel { transform: translateY(0); }
.modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.9rem;
  background: transparent;
  border: 0;
  font-size: 2rem;
  cursor: pointer;
  color: var(--pine-green);
  line-height: 1;
  z-index: 1;
}
.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.modal-image-col {
  background: linear-gradient(135deg, var(--sage) 0%, var(--spring-green) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  min-height: 300px;
}
.modal-image { max-width: 100%; max-height: 360px; object-fit: contain; }
.modal-content-col { padding: var(--space-4); }

/* =========================================================
   Product image gallery (inside the modal)
   ========================================================= */
.gallery { width: 100%; display: flex; flex-direction: column; align-items: center; gap: var(--space-2); }
.gallery-stage {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}
.gallery-stage .modal-image { cursor: zoom-in; }
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--pine-green);
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background 150ms ease, transform 150ms ease;
}
.gallery-arrow:hover { background: #fff; }
.gallery-arrow:active { transform: translateY(-50%) scale(0.94); }
.gallery-arrow[hidden] { display: none; }
.gallery-prev { left: 8px; }
.gallery-next { right: 8px; }
.gallery-zoom {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--pine-green);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background 150ms ease;
}
.gallery-zoom:hover { background: #fff; }
.gallery-caption {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--deep-green);
  text-align: center;
}
.gallery-caption[hidden] { display: none; }
.gallery-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.gallery-dots[hidden] { display: none; }
.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: inset 0 0 0 1px var(--deep-green);
  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease;
}
.gallery-dot.is-active { background: var(--sun-orange); box-shadow: none; transform: scale(1.15); }

/* Photo-count hint on grid cards */
.card-photo-count {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(15, 30, 26, 0.72);
  color: #fff;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  line-height: 1;
}

/* =========================================================
   Lightbox (enlarged photo)
   ========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(10, 20, 17, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  transition: opacity 180ms ease;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox-figure {
  margin: 0;
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}
.lightbox-image {
  max-width: 92vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
.lightbox-caption {
  color: #fff;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-base);
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-arrow { background: rgba(255, 255, 255, 0.85); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.modal-category {
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--deep-green);
  display: block;
  margin-bottom: 0.4rem;
}
.modal-title { font-size: var(--text-2xl); margin-top: 0.2rem; }
.modal-brand {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--color-text-light);
  margin-bottom: var(--space-2);
}
.modal-description { color: var(--color-text); }
.modal-price {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--sun-orange);
  margin: var(--space-2) 0;
  display: inline-block;
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-2);
  font-size: var(--text-sm);
}
.specs-table td {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--color-border);
}
.specs-table td:first-child {
  font-weight: 700;
  color: var(--pine-green);
  width: 40%;
}

/* =========================================================
   About / story blocks
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-5);
  align-items: center;
}
.split-reverse { grid-template-columns: 1fr 1.1fr; }
.split-reverse .split-text { order: 2; }
.split-visual {
  background: var(--pine-green);
  border-radius: var(--radius);
  padding: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}
.split-visual img { max-width: 280px; }
/* Photo fills the visual box edge-to-edge instead of floating like a logo */
.split-visual.has-photo {
  padding: 0;
  overflow: hidden;
}
.split-visual.has-photo img {
  max-width: none;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.split-text p { color: var(--color-text-light); font-size: var(--text-lg); }
.split-text p:first-of-type { color: var(--color-text); }

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.value-card {
  text-align: center;
  padding: var(--space-3);
}
.value-card .value-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-2);
  background: var(--bolt-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  color: var(--pine-green);
  font-size: 1.5rem;
}
.value-card h4 { color: var(--pine-green); }
.value-card p { color: var(--color-text-light); font-size: var(--text-sm); }

/* =========================================================
   Contact / Hours
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
.info-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: var(--space-4);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--amber);
}
.info-card h3 {
  font-size: var(--text-lg);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: var(--text-base);
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--color-border);
}
.hours-list li:last-child { border-bottom: 0; }
.hours-list .day { font-weight: 700; color: var(--pine-green); }
.hours-list .time { color: var(--color-text-light); }

.map-frame {
  border: 0;
  width: 100%;
  height: 360px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--pine-green);
  margin: var(--space-2) 0 0.4rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-base);
  background: #fff;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--pine-green);
  outline: 2px solid var(--amber);
  outline-offset: 1px;
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .form-actions { margin-top: var(--space-3); }
.form-note {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  margin-top: var(--space-2);
}

/* =========================================================
   Brand strip / quote
   ========================================================= */
.brand-strip {
  background: var(--cream);
  padding: var(--space-4) 0;
  text-align: center;
}
.brand-strip h4 {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--pine-green);
  font-weight: 400;
  font-size: var(--text-xl);
  max-width: 720px;
  margin: 0 auto;
}

.brand-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
}
.brand-pill {
  background: #fff;
  color: var(--pine-green);
  border: 1px solid var(--color-border);
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  letter-spacing: 1.5px;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: #0F2F2A;
  color: var(--cream);
  padding: var(--space-5) 0 var(--space-3);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-3);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-4);
}
.footer-brand img {
  height: 56px;
  margin-bottom: var(--space-2);
}
.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--sage);
  font-size: var(--text-sm);
  max-width: 280px;
}
.site-footer h4 {
  color: var(--bolt-yellow);
  font-size: var(--text-sm);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 0.25rem 0; }
.site-footer a { color: var(--cream); font-size: var(--text-sm); }
.site-footer a:hover { color: var(--bolt-yellow); }
.site-footer address {
  font-style: normal;
  color: var(--cream);
  font-size: var(--text-sm);
  line-height: 1.7;
}
.footer-bottom {
  max-width: var(--max-width);
  margin: var(--space-4) auto 0;
  padding: var(--space-3) var(--space-3) 0;
  border-top: 1px solid rgba(244, 239, 230, 0.15);
  text-align: center;
  font-size: var(--text-xs);
  color: rgba(244, 239, 230, 0.65);
}

/* =========================================================
   CTA Banner
   ========================================================= */
.cta-banner {
  background:
    linear-gradient(135deg, rgba(31,78,69,0.92), rgba(31,78,69,0.92)),
    radial-gradient(circle at 80% 30%, rgba(217,119,47,0.4) 0%, transparent 60%);
  background-color: var(--pine-green);
  color: var(--cream);
  padding: var(--space-5) var(--space-3);
  border-radius: var(--radius);
  text-align: center;
  max-width: var(--max-width);
  margin: var(--space-5) auto;
}
.cta-banner h2 { color: var(--cream); }
.cta-banner p { color: var(--sage); font-size: var(--text-lg); margin-bottom: var(--space-3); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-visual img { max-width: 300px; }
  .tier-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .split-reverse { grid-template-columns: 1fr; }
  .split-reverse .split-text { order: 0; }
  .values { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .modal-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .filter-group { flex-direction: column; align-items: stretch; }
  .filter-label {
    text-align: left;
    min-width: 0;
    margin: 0 0 var(--space-1);
  }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--pine-green);
    flex-direction: column;
    padding: var(--space-2);
    gap: 0;
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 220ms ease;
  }
  .site-nav.is-open .nav-links { max-height: 320px; }
  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(244,239,230,0.1);
  }
  .nav-links a {
    display: block;
    padding: 0.85rem 0.5rem;
    border-bottom: 0;
  }
  .nav-logo img { height: 36px; }
  .product-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand img { margin: 0 auto var(--space-2); }
  .footer-tagline { margin: 0 auto; }
  .section, .hero { padding: var(--space-5) 0; }
}
