/* ============================================
   TOKENS
   ============================================ */
:root {
  --navy-900: #071E45;
  --navy-700: #0A3474;
  --navy-600: #123E82;
  --sky-500: #04A2E9;
  --orange-500: #E86A2C;
  --orange-600: #CC5620;
  --ink: #16202B;
  --slate: #5B6B7C;
  --paper: #FFFFFF;
  --mist: #F3F5F8;
  --line: #DCE2E9;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --shadow-card: 0 1px 2px rgba(11, 28, 51, 0.06), 0 8px 24px -12px rgba(11, 28, 51, 0.18);
  --shadow-float: 0 20px 50px -16px rgba(11, 28, 51, 0.35);
}

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

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  margin: 0 0 0.4em;
  letter-spacing: 0.2px;
}

p { margin: 0 0 1em; color: var(--slate); }

a { color: inherit; }

ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}
.wrap-narrow { max-width: 760px; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy-900);
  color: white;
  padding: 12px 18px;
  z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible {
  outline: 3px solid var(--orange-500);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-orange {
  background: var(--orange-500);
  color: white;
}
.btn-orange:hover { background: var(--orange-600); }
.btn-full { width: 100%; }
.btn-small { padding: 10px 20px; font-size: 0.9rem; }
.btn-outline {
  background: transparent;
  border-color: var(--navy-700);
  color: var(--navy-900);
}
.btn-outline:hover { background: var(--navy-900); color: white; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--navy-900);
}
.logo-img {
  height: 46px;
  width: auto;
  display: block;
}
.site-nav {
  display: flex;
  gap: 30px;
  font-weight: 500;
  font-size: 0.98rem;
}
.site-nav a { text-decoration: none; color: var(--ink); }
.site-nav a:hover { color: var(--orange-500); }

@media (max-width: 860px) {
  .site-nav { display: none; }
}

/* ============================================
   PLACEHOLDER IMAGES
   ============================================ */
.placeholder-img {
  background: linear-gradient(150deg, #E7ECF2 0%, #D9E0E9 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #7C8CA0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}
.placeholder-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,0.4) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.4) 75%),
    linear-gradient(45deg, rgba(255,255,255,0.4) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.4) 75%);
  background-size: 26px 26px;
  background-position: 0 0, 13px 13px;
  opacity: 0.4;
}
.placeholder-img span { position: relative; padding: 12px; max-width: 220px; }

/* ============================================
   HERO — asymmetrical
   ============================================ */
.hero {
  padding: 64px 0 130px;
  background: var(--paper);
  overflow: visible;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-areas:
    "copy visual"
    "form form";
  column-gap: 40px;
  row-gap: 32px;
  position: relative;
}
.hero-copy { grid-area: copy; align-self: start; padding-top: 14px; }
.hero-visual { grid-area: visual; align-self: start; }
.hero-form-card { grid-area: form; align-self: start; z-index: 5; }

.hero-kicker {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--orange-500);
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 3.9rem);
  color: var(--navy-900);
  max-width: 11.5ch;
}
.hero-sub {
  font-size: 1.2rem;
  color: var(--ink);
  max-width: 42ch;
  margin-top: 18px;
}
.hero-points {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-points li {
  position: relative;
  padding-left: 24px;
  color: var(--slate);
  font-size: 1rem;
}
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange-500);
}
.points-spaced { margin-top: 36px; }

.hero-img {
  aspect-ratio: 4 / 5;
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transform: translateY(-18px);
}

.hero-form-card {
  scroll-margin-top: 100px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-float);
  padding: 32px;
  max-width: 460px;
}
.hero-form-card h2 {
  font-size: 1.5rem;
  color: var(--navy-900);
}
.hero-form-card > p { font-size: 0.95rem; margin-bottom: 22px; }
.hero-form-card form { display: flex; flex-direction: column; gap: 4px; }
.form-fields-grid { display: flex; flex-direction: column; gap: 4px; }
.form-field { display: flex; flex-direction: column; }
.hero-form-card label,
.final-cta-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-top: 14px;
  margin-bottom: 6px;
}
.hero-form-card input,
.final-cta-form input {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--mist);
  color: var(--ink);
}
.hero-form-card input:focus,
.final-cta-form input:focus {
  border-color: var(--orange-500);
  background: white;
}
.hero-form-card button { margin-top: 22px; }
.form-fineprint {
  font-size: 0.78rem;
  color: var(--slate);
  margin: 12px 0 0;
  text-align: center;
}
.form-fineprint a {
  color: var(--orange-600);
  font-weight: 600;
  text-decoration: underline;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual"
      "form";
    row-gap: 0;
  }
  .hero-form-card { margin-top: 28px; max-width: none; }
  .hero-img { transform: none; margin-top: 28px; aspect-ratio: 16/9; }
  .hero { padding-bottom: 64px; }
}

@media (min-width: 981px) {
  .hero-form-card { max-width: none; width: 100%; }
  .hero-form-card .form-fields-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 20px;
    row-gap: 36px;
  }
  .hero-form-card .form-row { display: contents; }
  .hero-form-card .form-field { min-width: 0; }
  .hero-form-card .form-fields-grid label { margin-top: 0; }
  .hero-form-card .form-fields-grid input {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0;
  }
  .hero-form-card button.btn-full { max-width: 320px; margin-left: auto; margin-right: auto; margin-top: 8px; }
}

/* ============================================
   SOCIAL PROOF STRIP
   ============================================ */
.proof-strip {
  background: var(--mist);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
}
.proof-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.proof-label {
  color: var(--slate);
  font-size: 0.95rem;
  margin: 0;
  font-weight: 500;
}
.proof-categories {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}
.proof-categories li {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: #8C99A8;
  letter-spacing: 0.3px;
}

/* ============================================
   SHARED SECTION
   ============================================ */
.section { padding: 96px 0; }
.section-alt { background: var(--mist); }
.section-navy { background: var(--navy-900); color: white; }
.section-head { max-width: 620px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); color: var(--navy-900); }
.section-head p { font-size: 1.08rem; }
.section-head-light h2 { color: white; }
.section-head-light p { color: #AEBBCC; }

/* ============================================
   PRODUCT GRID
   ============================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.product-card { text-align: left; }
.product-img {
  width: 100%;
  max-width: 240px;
  height: auto;
  display: block;
  margin: 0 auto 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.product-card h3 { font-size: 1.4rem; color: var(--navy-900); }
.product-card p { font-size: 0.98rem; }

@media (max-width: 860px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* ============================================
   ROUTE TIMELINE (How it works)
   ============================================ */
.route-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  position: relative;
  counter-reset: step;
}
.route-timeline::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 12%;
  right: 12%;
  height: 2px;
  background-image: linear-gradient(to right, var(--orange-500) 50%, transparent 50%);
  background-size: 16px 2px;
}
.route-step { position: relative; padding-top: 70px; text-align: left; }
.route-marker {
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy-900);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  z-index: 2;
}
.route-step h3 { font-size: 1.3rem; color: var(--navy-900); }
.route-step p { font-size: 0.98rem; }

@media (max-width: 860px) {
  .route-timeline { grid-template-columns: 1fr; gap: 36px; }
  .route-timeline::before { display: none; }
}

/* ============================================
   BENEFITS (Why businesses add vending)
   ============================================ */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.benefit-card {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 28px;
}
.benefit-card h3 { font-size: 1.3rem; color: var(--navy-900); }
.benefit-card p { font-size: 0.96rem; }
.benefit-card ul { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.benefit-card li {
  font-size: 0.92rem;
  color: var(--ink);
  padding-left: 20px;
  position: relative;
}
.benefit-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--orange-500);
  border-radius: 50%;
}

.soft-cta {
  margin-top: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.soft-cta p {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--navy-900);
  margin: 0;
}

@media (max-width: 860px) {
  .benefit-grid { grid-template-columns: 1fr; }
}

/* ============================================
   WHO WE SERVE
   ============================================ */
.serve-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.serve-card {
  background: var(--navy-700);
  border-radius: var(--radius-md);
  padding: 28px 22px;
}
.serve-icon {
  display: inline-flex;
  font-size: 1.6rem;
  color: var(--orange-500);
  margin-bottom: 16px;
}
.serve-card h3 { font-size: 1.15rem; color: white; }
.serve-card p { font-size: 0.92rem; color: #AEBBCC; margin: 0; }

@media (max-width: 860px) {
  .serve-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .serve-grid { grid-template-columns: 1fr; }
}

/* ============================================
   FAQ
   ============================================ */
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-left: 20px;
}
.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  background: var(--orange-500);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.faq-toggle::before { width: 18px; height: 2px; }
.faq-toggle::after { width: 2px; height: 18px; transition: transform 0.2s ease; }
.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item p { margin-top: 16px; font-size: 1rem; padding-right: 40px; }

/* ============================================
   SERVICE AREA
   ============================================ */
.area-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.area-list a {
  display: block;
  text-align: center;
  padding: 18px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy-900);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.area-list a:hover { border-color: var(--orange-500); color: var(--orange-600); }

@media (max-width: 900px) {
  .area-list { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
  background: var(--navy-900);
  color: white;
  padding: 96px 0;
}
.final-cta-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
.final-cta-copy h2 {
  color: white;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  max-width: 13ch;
}
.final-cta-copy p { color: #AEBBCC; font-size: 1.1rem; max-width: 36ch; }
.final-cta-form {
  background: white;
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.final-cta-form label { color: var(--navy-900); }
.final-cta-form button { margin-top: 22px; }

@media (max-width: 860px) {
  .final-cta-inner { grid-template-columns: 1fr; }
}

/* ============================================
   ARTICLE PAGES (blog + locations)
   ============================================ */
.article-page { padding: 72px 0 96px; }
.breadcrumb-nav {
  font-size: 0.85rem;
  color: var(--slate);
  margin-bottom: 18px;
}
.breadcrumb-nav a { color: var(--slate); text-decoration: none; }
.breadcrumb-nav a:hover { color: var(--orange-500); }
.breadcrumb-nav span { color: var(--ink); }
.article-kicker {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--orange-500);
  margin-bottom: 10px;
}
.article-page h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  color: var(--navy-900);
  max-width: 20ch;
  margin-bottom: 28px;
}
.article-featured-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  margin-bottom: 36px;
}
.article-page h2 {
  font-size: 1.5rem;
  color: var(--navy-900);
  margin-top: 44px;
}
.article-page h3 {
  font-size: 1.2rem;
  color: var(--navy-900);
  margin-top: 28px;
}
.article-page p { font-size: 1.05rem; color: var(--ink); }
.article-page ul, .article-page ol { margin: 16px 0 16px 22px; list-style: disc; display: block; }
.article-page ol { list-style: decimal; }
.article-page li { font-size: 1.02rem; color: var(--ink); margin-bottom: 8px; }
.article-lede {
  font-size: 1.2rem !important;
  color: var(--slate) !important;
}

.article-cta {
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.article-cta p {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--navy-900);
  margin: 0;
}

.callout-box {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin: 28px 0;
}
.callout-box p { margin: 0; font-size: 1rem; }
.callout-box p + p { margin-top: 10px; }

/* Location page facts strip */
.local-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 32px 0 8px;
}
.local-fact {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px;
}
.local-fact-label {
  font-size: 0.8rem;
  color: var(--slate);
  margin-bottom: 4px;
}
.local-fact-value {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy-900);
  font-weight: 600;
}
@media (max-width: 700px) {
  .local-facts { grid-template-columns: 1fr; }
}

/* Related links */
.related-list {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.related-list a {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--navy-900);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.related-list a:hover { border-color: var(--orange-500); color: var(--orange-600); }

/* ============================================
   BLOG INDEX
   ============================================ */
.blog-hero {
  padding: 64px 0 20px;
}
.blog-hero h1 { color: var(--navy-900); font-size: clamp(2.2rem, 4vw, 3.2rem); max-width: 16ch; }
.blog-hero p { font-size: 1.1rem; max-width: 56ch; }

.blog-group { padding: 56px 0; }
.blog-group + .blog-group { border-top: 1px solid var(--line); }
.blog-group-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy-900);
  margin-bottom: 24px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  display: block;
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.blog-card:hover { border-color: var(--orange-500); box-shadow: var(--shadow-card); }
.blog-card h3 { color: var(--navy-900); font-size: 1.15rem; margin-bottom: 8px; }
.blog-card p { color: var(--slate); font-size: 0.94rem; margin: 0; }

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-logo { height: 30px; }
.footer-inner p { color: var(--slate); font-size: 0.88rem; margin: 0; }
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--slate);
  text-decoration: none;
}
.footer-links a:hover { color: var(--orange-600); text-decoration: underline; }
