/* ============================================================
   RIDGESPAN shared stylesheet (marketing pages + legal pages)
   ============================================================ */

:root {
  --green: #4a6741;
  --green-dark: #2e4228;
  --green-light: #6a8f61;
  --copper: #b05a2f;
  --copper-light: #d4763d;
  --charcoal: #1e2320;
  --off-white: #f5f2ee;
  --warm-gray: #e8e3dc;
  --text-dark: #1e2320;
  --text-mid: #4a5047;
  --white: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--off-white);
  color: var(--text-dark);
  overflow-x: hidden;
}

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

a { color: inherit; }

.container { max-width: 1200px; margin: 0 auto; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  background: var(--copper);
  color: white;
  padding: 10px 16px;
  z-index: 1000;
  border-radius: 2px;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 1px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- NAV ---------- */
nav.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 76px;
  background: rgba(30, 35, 32, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(176, 90, 47, 0.3);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  height: 100%;
}

.nav-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.nav-brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 2px;
  color: white;
  line-height: 1.1;
}

.nav-brand span {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--copper-light);
  font-weight: 400;
}

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

.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a:focus-visible { color: var(--copper-light); }
.nav-links a[aria-current="page"] { color: var(--copper-light); }

.mobile-nav a[aria-current="page"] { color: var(--copper-light); }

.footer-nav a[aria-current="page"] { color: var(--copper-light); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  letter-spacing: 1px;
  color: white;
  text-decoration: none;
  font-weight: 600;
}
.nav-phone svg { color: var(--copper-light); flex-shrink: 0; }
.nav-phone:hover { color: var(--copper-light); }

.nav-cta {
  background: var(--copper);
  color: white;
  padding: 10px 22px;
  border-radius: 2px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-cta:hover, .nav-cta:focus-visible { background: var(--copper-light); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 2px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
}

.mobile-nav {
  position: fixed;
  inset: 76px 0 0 0;
  background: var(--charcoal);
  z-index: 99;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  overflow-y: auto;
}
.mobile-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }

.mobile-nav-inner {
  padding: 32px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: white;
  text-decoration: none;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-nav .nav-cta {
  margin-top: 20px;
  text-align: center;
  font-size: 16px;
  padding: 16px;
}

.mobile-nav .nav-phone {
  margin-top: 16px;
  font-size: 18px;
  justify-content: center;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 2px;
}

/* ---------- BUTTONS ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--copper);
  color: white;
  padding: 16px 32px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover, .btn-primary:focus-visible { background: var(--copper-light); transform: translateY(-2px); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: white;
  padding: 16px 32px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.3);
  transition: all 0.2s;
}
.btn-secondary:hover, .btn-secondary:focus-visible { border-color: var(--green-light); color: var(--green-light); }

.btn-secondary--dark {
  color: var(--text-dark);
  border-color: var(--text-dark);
}
.btn-secondary--dark:hover, .btn-secondary--dark:focus-visible { color: var(--copper); border-color: var(--copper); }

/* ---------- PAGE HERO (subpages) ---------- */
.page-hero {
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
  padding: 168px 48px 80px;
}

.page-hero-inner { position: relative; z-index: 1; max-width: 760px; }

.page-hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1;
  color: white;
  margin-bottom: 20px;
}

.page-hero-title .accent { color: var(--copper-light); }

.page-hero-body {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.68);
  font-weight: 300;
  max-width: 620px;
  margin-bottom: 32px;
}

.page-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- HERO (homepage) ---------- */
.hero {
  min-height: 100vh;
  background: var(--charcoal);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  position: relative;
  overflow: hidden;
  align-items: center;
  padding-top: 76px;
}

.hero-bg-texture {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent, transparent 40px,
      rgba(74, 103, 65, 0.03) 40px, rgba(74, 103, 65, 0.03) 41px
    );
}

.hero-mountain-bg {
  position: absolute;
  bottom: 0; right: 0;
  width: 60%; height: 100%;
  opacity: 0.06;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 600'%3E%3Cpolygon points='0,600 200,200 350,350 500,100 650,300 800,150 800,600' fill='%234a6741'/%3E%3C/svg%3E") no-repeat bottom right;
  background-size: contain;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 24px 48px 64px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(176, 90, 47, 0.15);
  border: 1px solid rgba(176, 90, 47, 0.4);
  border-radius: 2px;
  padding: 8px 16px;
  margin-bottom: 28px;
  width: fit-content;
}

.hero-badge span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--copper-light);
  font-weight: 600;
}

.hero-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 0.97;
  color: white;
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease both;
}

.hero-headline .accent { color: var(--copper-light); }

.hero-body {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.68);
  max-width: 520px;
  margin-bottom: 36px;
  font-weight: 300;
  animation: fadeUp 0.8s 0.1s ease both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  animation: fadeUp 0.8s 0.2s ease both;
  margin-bottom: 32px;
}

.hero-phone-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  letter-spacing: 1px;
  color: white;
  text-decoration: none;
  font-weight: 700;
}
.hero-phone-line svg { color: var(--copper-light); }
.hero-phone-line:hover { color: var(--copper-light); }

.hero-trust {
  display: flex;
  gap: 12px 24px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.3s ease both;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
}
.trust-item svg { color: var(--green-light); flex-shrink: 0; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- HERO ROUTE CARD ---------- */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  padding: 40px 48px 48px;
}

.route-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 36px;
  width: 100%;
  max-width: 380px;
  animation: fadeUp 0.8s 0.4s ease both;
}

.route-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--copper-light);
  margin-bottom: 20px;
  font-weight: 600;
}

.route-list {
  list-style: none;
  position: relative;
}

.route-list li {
  position: relative;
  padding: 0 0 26px 30px;
  font-size: 15px;
  color: rgba(255,255,255,0.85);
}

.route-list li:last-child { padding-bottom: 0; }

.route-list li::before {
  content: '';
  position: absolute;
  left: 4px; top: 4px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--copper-light);
  box-shadow: 0 0 0 3px rgba(212, 118, 61, 0.2);
}

.route-list li::after {
  content: '';
  position: absolute;
  left: 8px; top: 16px;
  width: 2px;
  bottom: -6px;
  background: rgba(255,255,255,0.15);
}
.route-list li:last-child::after { display: none; }

.route-list li.route-done::before {
  background: var(--green-light);
  box-shadow: 0 0 0 3px rgba(106, 143, 97, 0.25);
}

.route-list li strong { display: block; color: white; font-weight: 600; margin-bottom: 2px; }
.route-list li span { color: rgba(255,255,255,0.5); font-size: 13px; }

.route-caption {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* ---------- TRUST STRIP ---------- */
.trust-strip {
  background: var(--green-dark);
  padding: 22px 48px;
  display: flex;
  justify-content: center;
  gap: 20px 48px;
  flex-wrap: wrap;
  border-bottom: 3px solid var(--copper);
}

.trust-strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-strip-item svg { color: var(--copper-light); flex-shrink: 0; }

.trust-strip-item span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- SECTION SHARED ---------- */
section { padding: 100px 48px; }

.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
  margin-bottom: 10px;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.02;
  color: var(--text-dark);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.section-title.on-dark { color: white; }

.section-body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-mid);
  max-width: 620px;
  font-weight: 300;
}

.section-body.on-dark { color: rgba(255,255,255,0.65); }

.section-head { margin-bottom: 56px; }
.section-head.centered { text-align: center; }
.section-head.centered .section-body { margin: 0 auto; }
.section-head.centered .section-label { justify-content: center; display: flex; }

/* ---------- PRICING ---------- */
.pricing-section { background: white; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.price-card {
  background: var(--off-white);
  border: 1px solid var(--warm-gray);
  border-top: 3px solid var(--copper);
  border-radius: 2px;
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.08); }

.price-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.price-detail { font-size: 13px; color: var(--text-mid); margin-bottom: 18px; }

.price-from {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-mid);
}

.price-amount {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px;
  color: var(--copper);
  line-height: 1.1;
}

.price-card--business { background: var(--green-dark); border-top-color: var(--copper-light); }
.price-card--business h3, .price-card--business .price-amount { color: white; }
.price-card--business .price-detail { color: rgba(255,255,255,0.6); }
.price-amount--label { font-size: 24px; letter-spacing: 0.5px; }

.pricing-note {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-mid);
  max-width: 720px;
  padding-top: 8px;
  border-top: 1px solid var(--warm-gray);
}

/* ---------- PRICE CALCULATOR ---------- */
.calculator {
  background: var(--off-white);
  border: 1px solid var(--warm-gray);
  border-radius: 4px;
  padding: 40px;
  margin-top: 40px;
}

.calculator-head h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  letter-spacing: 0.5px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.calculator-head p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-mid);
  max-width: 640px;
  margin-bottom: 28px;
}

.calculator-body {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: stretch;
}

.calculator-controls {
  background: white;
  border: 1px solid var(--warm-gray);
  border-radius: 2px;
  padding: 24px;
}

.calculator-controls .form-group { margin-bottom: 20px; }
.calculator-controls .form-group:last-child { margin-bottom: 0; }

.calculator-controls input[type="number"] {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.5px;
}

.calc-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.5;
  cursor: pointer;
}

.calc-checkbox input {
  width: 18px; height: 18px;
  margin-top: 1px;
  accent-color: var(--copper);
  flex-shrink: 0;
}

.calc-addons {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--warm-gray);
}

.calc-addons-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-mid);
  font-weight: 600;
  margin-bottom: 14px;
}

.calc-addons select {
  width: 100%;
  background: white;
  border: 1px solid var(--warm-gray);
  border-radius: 2px;
  padding: 12px 14px;
  color: var(--text-dark);
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  outline: none;
}
.calc-addons select:focus { border-color: var(--copper); }

.calc-addons-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calc-addon {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.calc-addon input {
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--copper);
  flex-shrink: 0;
}

.calc-addon-text { display: flex; flex-direction: column; gap: 2px; }
.calc-addon-text .calc-addon-title { font-size: 14px; color: var(--text-dark); font-weight: 600; cursor: pointer; }
.calc-addon-text .calc-addon-detail { font-size: 12.5px; color: var(--text-mid); line-height: 1.5; }

.calculator-result {
  background: var(--charcoal);
  border-radius: 2px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calc-result-tier {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--copper-light);
  font-weight: 600;
  margin-bottom: 10px;
}

.calc-result-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  color: white;
  line-height: 1;
  margin-bottom: 10px;
}

.calc-result-price span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-right: 8px;
}

.calc-result-detail {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 420px;
}

.calc-result .btn-primary,
.calc-result .nav-phone {
  align-self: flex-start;
}

.calc-result .nav-phone {
  color: white;
  font-size: 18px;
}
.calc-result .nav-phone svg { color: var(--copper-light); }
.calc-result .nav-phone:hover { color: var(--copper-light); }

.calc-group-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  font-weight: 600;
  margin: 18px 0 8px;
}
.calc-group-label:first-child { margin-top: 0; }
.calc-group-label--muted { color: rgba(255,255,255,0.3); font-weight: 400; letter-spacing: 1px; text-transform: none; font-family: 'Barlow', sans-serif; font-size: 13px; }

.calc-lineitems {
  list-style: none;
  margin-bottom: 4px;
}

.calc-lineitem {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.calc-lineitem-label { font-size: 14.5px; color: rgba(255,255,255,0.8); }
.calc-lineitem-label span {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
  font-weight: 400;
}

.calc-lineitem-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: white;
  white-space: nowrap;
}

.calc-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 14px;
  margin-bottom: 20px;
}

.calc-total-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.calc-total-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px;
  color: white;
  line-height: 1;
}
.calc-total-price span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-right: 6px;
}

.pricing-actions { margin-top: 28px; }

/* ---------- PAIN POINT ---------- */
.pain-section { background: var(--charcoal); }

.pain-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 48px;
  margin-bottom: 48px;
}

.pain-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid var(--copper);
  border-radius: 2px;
  padding: 24px 20px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  font-style: italic;
}

.pain-resolution {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.pain-resolution p {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(30px, 3.4vw, 44px);
  color: white;
  letter-spacing: 0.5px;
}

.pain-resolution .accent { color: var(--copper-light); }

/* ---------- MULTI-STOP FLOW ---------- */
.flow-section { background: white; }

.flow-diagram {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 48px 0 40px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.flow-node {
  flex: 1 0 140px;
  text-align: center;
  padding: 22px 14px;
  border-radius: 2px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
}

.flow-node--endpoint { background: var(--charcoal); color: white; }
.flow-node--pickup { background: var(--green-dark); color: white; }
.flow-node--stop { background: var(--off-white); border: 1px solid var(--warm-gray); color: var(--text-dark); }
.flow-node--done { background: var(--copper); color: white; }

.flow-arrow {
  flex: 0 0 auto;
  color: var(--copper);
  font-size: 20px;
  line-height: 1;
}

.flow-stops-group {
  display: flex;
  flex: 2 0 320px;
  gap: 8px;
}
.flow-stops-group .flow-node { flex: 1 1 0; }

.flow-example {
  background: var(--off-white);
  border-left: 4px solid var(--copper);
  padding: 24px 28px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dark);
  max-width: 760px;
  margin-bottom: 40px;
}

.use-case-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 24px;
  list-style: none;
  max-width: 900px;
}

.use-case-list li {
  font-size: 15px;
  color: var(--text-mid);
  padding-left: 20px;
  position: relative;
}
.use-case-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  background: var(--copper);
}

/* ---------- SERVICES ---------- */
.services-section { background: var(--off-white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.service-card {
  background: white;
  border-radius: 4px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  border-bottom: 3px solid transparent;
  transition: all 0.25s;
}
.service-card:hover { border-bottom-color: var(--copper); transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.09); }

.service-icon {
  width: 48px; height: 48px;
  background: var(--green-dark);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.service-card p { font-size: 14.5px; color: var(--text-mid); line-height: 1.6; }

/* ---------- RECURRING ---------- */
.recurring-section {
  background: var(--green-dark);
  position: relative;
  overflow: hidden;
}

.recurring-inner {
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.recurring-section .section-body { max-width: 640px; margin-bottom: 16px; }
.recurring-section .section-body + .section-body { margin-bottom: 32px; }

/* ---------- INDUSTRIES ---------- */
.industries-section { background: white; }

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.industry-card {
  background: var(--off-white);
  border: 1px solid var(--warm-gray);
  padding: 22px 20px;
  border-radius: 2px;
}

.industry-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.industry-card p { font-size: 13.5px; color: var(--text-mid); line-height: 1.5; }

.industries-note { margin-top: 28px; font-size: 14px; color: var(--text-mid); font-style: italic; }

/* ---------- HOW IT WORKS ---------- */
.how-it-works { background: var(--off-white); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 16px;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--copper), var(--green));
  z-index: 0;
}

.step { text-align: center; padding: 0 24px; position: relative; z-index: 1; }

.step-num {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--charcoal);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: var(--copper-light);
  border: 3px solid var(--copper);
}

.step h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.step p { font-size: 14px; color: var(--text-mid); line-height: 1.6; }

/* ---------- SERVICE AREA ---------- */
.service-area-section {
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}

.service-area-bg {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 300'%3E%3Cpolygon points='0,300 120,120 220,200 340,60 460,190 600,40 740,180 860,90 980,210 1100,70 1200,180 1200,300' fill='%236a8f61'/%3E%3C/svg%3E") no-repeat bottom center;
  background-size: cover;
}

.service-area-inner { position: relative; z-index: 1; }

.service-area-copy {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  max-width: 780px;
  margin-bottom: 44px;
  font-weight: 300;
}

.chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
}

.chip {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 2px;
  padding: 10px 18px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
}

.service-area-footnote {
  margin-top: 32px;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}
.service-area-footnote a { color: var(--copper-light); text-decoration: underline; }

/* ---------- WHY RIDGESPAN ---------- */
.why-section { background: var(--off-white); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.why-card {
  background: white;
  border-radius: 4px;
  padding: 26px 24px;
  border-bottom: 3px solid transparent;
  transition: all 0.3s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.why-card:hover { border-bottom-color: var(--copper); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }

.why-icon {
  width: 52px; height: 52px;
  background: var(--green-dark);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}

.why-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.why-card p { font-size: 15px; color: var(--text-mid); line-height: 1.6; }

/* ---------- BUSINESS ACCOUNT ---------- */
.account-section {
  background: var(--charcoal);
}

.account-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.account-benefits {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.account-benefits li {
  padding-left: 20px;
  border-left: 2px solid var(--copper);
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
}

.account-benefits li strong { display: block; color: white; font-size: 16px; margin-bottom: 2px; }

.account-panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 40px;
  text-align: center;
}

.account-panel p {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 24px;
}

.account-panel .btn-primary { width: 100%; justify-content: center; margin-bottom: 16px; }

.account-panel .nav-phone { justify-content: center; font-size: 18px; }

/* ---------- DELIVERY FORM ---------- */
.form-section { background: white; }

.form-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.form-info { padding-top: 8px; }
.form-info .section-body { margin-bottom: 36px; }

.form-contact-block {
  background: var(--off-white);
  border: 1px solid var(--warm-gray);
  border-radius: 4px;
  padding: 28px;
}

.form-contact-block p.eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 12px;
}

.form-contact-block .nav-phone {
  color: var(--text-dark);
  font-size: 24px;
  margin-bottom: 8px;
}
.form-contact-block .nav-phone svg { color: var(--copper); }
.form-contact-block .nav-phone:hover { color: var(--copper); }

.form-contact-block .js-email-link { color: var(--copper); font-size: 15px; text-decoration: none; }
.form-contact-block .js-email-link:hover { text-decoration: underline; }

.quote-form-wrap {
  background: var(--off-white);
  border-radius: 4px;
  padding: 40px;
  border: 1px solid var(--warm-gray);
}

.quote-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 12.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 8px;
  font-weight: 600;
  font-family: 'Barlow Condensed', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: white;
  border: 1px solid var(--warm-gray);
  border-radius: 2px;
  padding: 13px 16px;
  color: var(--text-dark);
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--copper); }

.form-group textarea { resize: vertical; min-height: 90px; }

.quote-form button[type="submit"] {
  width: 100%;
  justify-content: center;
  font-size: 16px;
  padding: 18px;
  margin-top: 4px;
}

.form-fine-print {
  text-align: center;
  margin-top: 14px;
  font-size: 12px;
  color: #97938c;
  line-height: 1.6;
}
.form-fine-print a { color: var(--text-mid); text-decoration: underline; }

.form-response-time {
  text-align: center;
  margin-top: 8px;
  font-size: 12.5px;
  color: #97938c;
  letter-spacing: 0.3px;
}

.form-status {
  background: var(--green-dark);
  color: white;
  border-radius: 4px;
  padding: 40px;
  text-align: center;
}
.form-status h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.form-status p { font-size: 15px; color: rgba(255,255,255,0.75); line-height: 1.6; }
.form-status--error { background: #6b3a2a; }

.hp-field { position: absolute; left: -9999px; top: -9999px; }

/* ---------- FINAL CTA (subpages) ---------- */
.final-cta {
  background: var(--charcoal);
  text-align: center;
}

.final-cta-inner { max-width: 640px; margin: 0 auto; }

.final-cta .section-title { margin-bottom: 16px; }
.final-cta .section-body { margin: 0 auto 32px; }

.final-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- EXPLORE GRID (homepage teasers) ---------- */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.explore-card {
  background: white;
  border-radius: 4px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  border-bottom: 3px solid transparent;
  transition: all 0.25s;
  text-decoration: none;
  display: block;
}
.explore-card:hover { border-bottom-color: var(--copper); transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.09); }

.explore-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.explore-card p { font-size: 14.5px; color: var(--text-mid); line-height: 1.6; margin-bottom: 14px; }

.explore-card span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--copper);
}

/* ---------- FOOTER ---------- */
footer.site-footer {
  background: var(--charcoal);
  padding: 56px 48px 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand-block { display: flex; align-items: center; gap: 14px; }
.footer-brand-block img { height: 40px; width: auto; }

.footer-brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 2px;
  color: white;
}
.footer-brand span {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.4);
  font-weight: 400;
  text-transform: uppercase;
  margin-top: 4px;
}

.footer-nav {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  list-style: none;
}
.footer-nav a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--copper-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
}

.footer-contact {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: rgba(255,255,255,0.5);
}
.footer-contact a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-contact a:hover { color: var(--copper-light); }

.footer-legal {
  display: flex;
  gap: 20px;
  list-style: none;
  font-size: 12.5px;
}
.footer-legal a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-legal a:hover { color: var(--copper-light); }

.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); letter-spacing: 0.3px; margin-top: 4px; }

/* ============================================================
   LEGAL PAGES (privacy-policy.html / terms-of-service.html)
   ============================================================ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 140px 32px 80px;
}

.legal-content h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 46px;
  letter-spacing: 1.5px;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.legal-content .last-updated {
  font-size: 13px;
  color: var(--text-mid);
  margin-bottom: 40px;
  letter-spacing: 0.5px;
}

.legal-content h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--green-dark);
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal-content p, .legal-content li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 12px;
}

.legal-content ul { padding-left: 24px; margin-bottom: 16px; }
.legal-content a { color: var(--copper); text-decoration: none; }
.legal-content a:hover { color: var(--copper-light); text-decoration: underline; }

.back-link {
  display: inline-block;
  margin-top: 40px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
  text-decoration: none;
}

/* ============================================================
   THANK YOU PAGE
   ============================================================ */
.confirm-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 32px 80px;
  background: var(--off-white);
}
.confirm-box { max-width: 560px; text-align: center; }
.confirm-box h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 44px;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: var(--charcoal);
}
.confirm-box p { font-size: 16px; color: var(--text-mid); line-height: 1.7; margin-bottom: 28px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .pain-cards { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .use-case-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .page-hero { padding: 116px 24px 56px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 76px; }
  .hero-left { padding: 48px 24px 32px; }
  .hero-right { padding: 0 24px 56px; }
  .nav-links, .nav-right .nav-phone, .nav-right .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  section { padding: 72px 24px; }
  .why-grid, .services-grid, .industries-grid, .use-case-list, .explore-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .pain-cards { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps-grid::before { display: none; }
  .account-inner, .form-inner { grid-template-columns: 1fr; }
  .calculator { padding: 28px 24px; }
  .calculator-body { grid-template-columns: 1fr; }
  .flow-diagram { flex-wrap: wrap; }
  .flow-stops-group { flex: 1 1 100%; flex-wrap: wrap; }
  .flow-arrow { display: none; }
  .quote-form .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .why-grid, .services-grid, .industries-grid, .use-case-list, .pricing-grid, .explore-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .pain-resolution { flex-direction: column; align-items: flex-start; }
  nav.site-nav { padding: 0 20px; }
  .hero-actions, .page-hero-actions, .final-cta-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary, .hero-actions .btn-secondary,
  .page-hero-actions .btn-primary, .page-hero-actions .btn-secondary,
  .final-cta-actions .btn-primary, .final-cta-actions .btn-secondary { justify-content: center; }
}
