/* ==============================================
   Perks & Provisions — Redesign v2
   Warm hospitality · Conversion-focused · DFW
   ============================================== */

:root {
  --green: #71a457;
  --green-dark: #5a8a44;
  --green-light: #e8f2e1;
  --bark: #3d3630;
  --bark-light: #5c524a;
  --cream: #faf8f5;
  --cream-dark: #f0ece6;
  --ink: #2a2420;
  --ink-muted: #6b6057;
  --ink-faint: #9e9487;
  --white: #fefdfb;
  --radius: 6px;
  --shadow-sm: 0 1px 3px rgba(61,54,48,.08);
  --shadow-md: 0 4px 16px rgba(61,54,48,.1);
  --shadow-lg: 0 12px 40px rgba(61,54,48,.12);
  --ease-out: cubic-bezier(.22,.61,.36,1);
  --container: 1200px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'DM Sans', 'Catamaran', sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 1vw + 12px, 17px);
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--green);
  text-decoration: none;
  transition: color .2s var(--ease-out);
}
a:hover { color: var(--green-dark); }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Catamaran', sans-serif;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: .4em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(36px, 4vw + 16px, 60px); }
h2 { font-size: clamp(28px, 3vw + 10px, 42px); }
h3 { font-size: clamp(22px, 2vw + 8px, 30px); }
h4 { font-size: clamp(18px, 1.5vw + 6px, 24px); }
h5 { font-size: 18px; }
h6 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-muted); }

p { margin-bottom: 1em; }
ul, ol { margin-bottom: 1em; padding-left: 1.5em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* --- Eyebrow label --- */
.eyebrow {
  font-family: 'Catamaran', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--green);
  margin-bottom: 12px;
  display: block;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Catamaran', sans-serif;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: all .25s var(--ease-out);
  text-decoration: none;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(113,164,87,.3);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--green);
  border-color: var(--white);
}
.btn-ghost {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
  padding: 12px 24px;
}
.btn-ghost:hover {
  background: var(--green);
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--bark);
  border-color: var(--white);
}
.btn-white:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

/* --- Focus-visible (keyboard navigation) --- */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
a:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

/* --- Topbar --- */
.topbar {
  background: var(--green-dark);
  color: var(--white);
  font-size: 13px;
  padding: 6px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-contact {
  display: flex;
  align-items: center;
  gap: 8px;
}
.topbar-contact a {
  color: rgba(255,255,255,.9);
  font-weight: 600;
}
.topbar-contact a:hover { color: var(--white); }
.topbar-sep { color: rgba(255,255,255,.3); }
.topbar-social {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar-social a {
  color: rgba(255,255,255,.7);
  display: flex;
  transition: color .2s;
}
.topbar-social a:hover { color: var(--white); }

@media (max-width: 768px) {
  .topbar-contact span:nth-child(2),
  .topbar-contact a:nth-child(3),
  .topbar-contact span:nth-child(4),
  .topbar-contact a:nth-child(5) { display: none; }
}

/* --- Navigation --- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid rgba(61,54,48,.06);
  transition: box-shadow .3s var(--ease-out);
}
.site-nav.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo { flex-shrink: 0; }
.nav-logo img { height: 44px; width: auto; }

/* Desktop nav links */
.nav-links-wrap {
  display: flex;
  align-items: center;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links > li > a {
  display: block;
  padding: 10px 16px;
  font-family: 'Catamaran', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--bark);
  border-radius: var(--radius);
  transition: color .2s;
  text-decoration: none;
}
.nav-links > li > a:hover,
.nav-links > li.active > a { color: var(--green); }

/* Simple dropdown */
.has-dropdown { position: relative; }
.has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 6px;
  vertical-align: middle;
  opacity: .5;
}
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: 6px 0;
  z-index: 200;
  list-style: none;
  border: 1px solid rgba(61,54,48,.06);
}
@media (hover: hover) and (min-width: 769px) {
  .has-dropdown:hover > .dropdown,
  .has-dropdown:focus-within > .dropdown { display: block; }
}
@media (min-width: 769px) {
  .has-dropdown:focus-within > .dropdown { display: block; }
}
.dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--bark);
  transition: color .15s, background .15s;
}
.dropdown a:hover { color: var(--green); background: var(--cream); }

/* Right side: CTA only */
.nav-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-phone { display: none; }
.nav-cta-btn {
  white-space: nowrap;
  padding: 10px 24px;
  font-size: 13px;
}

/* Mobile-only elements hidden on desktop */
.mobile-services { display: none; }
.mobile-nav-footer { display: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  gap: 6px;
  z-index: 1100;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--bark);
  border-radius: 2px;
  transition: transform .35s var(--ease-out), opacity .25s;
  transform-origin: center;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: clamp(420px, 55vh, 580px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero > .container {
  width: 100%;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(42,36,32,.78) 0%, rgba(42,36,32,.45) 60%, rgba(42,36,32,.2) 100%);
}
.hero-body {
  position: relative;
  z-index: 2;
  padding: clamp(48px, 6vh, 72px) 0;
}
.hero-body h1 { max-width: 10em; }
.hero-body p { max-width: 38em; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero p {
  color: rgba(254,253,251,.85);
  font-size: clamp(17px, 1.2vw + 12px, 21px);
  line-height: 1.6;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* --- Trusted By (logo strip) --- */
.trust-strip {
  background: var(--cream);
  padding: 28px 0;
  border-bottom: 1px solid var(--cream-dark);
}
.trust-inner {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  justify-content: center;
  flex-wrap: wrap;
}
.trust-label {
  font-family: 'Catamaran', sans-serif;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-faint);
  white-space: nowrap;
}
.trust-logos {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  flex-wrap: wrap;
  justify-content: center;
}
.trust-logos img {
  max-height: 36px;
  width: auto;
  opacity: .5;
  filter: grayscale(100%);
  transition: opacity .3s, filter .3s;
}
.trust-logos img:hover { opacity: 1; filter: none; }

/* --- Section spacing --- */
.section { padding: clamp(40px, 5vw, 72px) 0; }
.section-cream { background: var(--cream); }
.section-bark { background: var(--bark); color: var(--white); }
.section-bark h2, .section-bark h3, .section-bark h4 { color: var(--white); }
.section-bark p { color: rgba(254,253,251,.75); }
.section-bark .eyebrow { color: var(--green-light); }
.section-alt {
  background: var(--cream);
  border-bottom: 1px solid var(--cream-dark);
}

/* --- Service Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.service-tile {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.service-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.service-tile:hover img { transform: scale(1.05); }
.service-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42,36,32,.85) 0%, rgba(42,36,32,.15) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(20px, 3vw, 32px);
  transition: background .4s;
}
.service-tile:hover .service-tile-overlay {
  background: linear-gradient(to top, rgba(113,164,87,.9) 0%, rgba(113,164,87,.2) 60%);
}
.service-tile h3 {
  color: var(--white);
  font-size: clamp(20px, 2vw, 26px);
  margin-bottom: 4px;
}
.service-tile p {
  color: rgba(255,255,255,.8);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}
.service-tile .tile-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate(-8px, 8px);
  transition: all .4s var(--ease-out);
}
.service-tile:hover .tile-arrow {
  opacity: 1;
  transform: translate(0, 0);
}
.tile-arrow svg { width: 18px; height: 18px; color: var(--white); }

/* --- Differentiators --- */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 40px);
}
.diff-item { text-align: left; }
.diff-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  color: var(--green);
}
.diff-item h4 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--white);
}
.diff-item p {
  font-size: 15px;
  color: rgba(254,253,251,.65);
  line-height: 1.6;
  margin: 0;
}

/* --- Story/About block --- */
.story-section {
  position: relative;
  overflow: hidden;
}
.story-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.story-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(42,36,32,.72);
}
.story-body {
  position: relative;
  z-index: 2;
  max-width: 600px;
}
.story-body h2 { color: var(--white); }
.story-body p { color: rgba(254,253,251,.8); font-size: 18px; line-height: 1.7; }

/* --- Blog highlight --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: clamp(20px, 3vw, 32px);
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(61,54,48,.06);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.blog-card-body {
  padding: clamp(20px, 2vw, 28px);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card .date {
  font-size: 13px;
  color: var(--ink-faint);
  margin-bottom: 8px;
}
.blog-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.blog-card h3 a { color: var(--ink); }
.blog-card h3 a:hover { color: var(--green); }
.blog-card .excerpt {
  font-size: 15px;
  color: var(--ink-muted);
  margin-bottom: 16px;
  flex: 1;
}
.read-more {
  font-family: 'Catamaran', sans-serif;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--green);
}

/* --- Coffee brands --- */
.brand-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 3vw, 40px);
  padding: 20px 0;
}
.brand-logos img {
  max-height: 48px;
  width: auto;
  opacity: .45;
  filter: grayscale(100%);
  transition: opacity .3s, filter .3s;
}
.brand-logos img:hover { opacity: 1; filter: none; }

/* --- CTA Banner --- */
.cta-banner {
  background: var(--green);
  padding: clamp(36px, 4vw, 56px) 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,.85); font-size: 18px; margin-bottom: 24px; }

/* --- Contact / Typeform --- */
.contact-section {
  background: var(--cream);
  padding: clamp(40px, 5vw, 72px) 0;
}

/* --- Content blocks (for inner pages) --- */
.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 60px);
  align-items: center;
}
.content-block.reverse { direction: rtl; }
.content-block.reverse > * { direction: ltr; }
.content-block img { border-radius: var(--radius); }
.content-block-text h2 { margin-bottom: 16px; }

/* --- Split panels (for inner pages) --- */
.split-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.split-panel {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.split-panel .section-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.split-panel-content {
  position: relative; z-index: 2;
  padding: 40px 30px; max-width: 540px; color: var(--white);
}
.split-panel-content h2 { color: var(--white); font-size: 32px; margin-bottom: 16px; }
.split-panel-content p { color: rgba(255,255,255,.9); font-size: 15px; margin-bottom: 20px; }

/* Grid utilities (for inner pages) */
.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.text-center { text-align: center; }
.text-light, .text-light h2, .text-light h3, .text-light h4, .text-light p { color: var(--white); }

/* Section background utility (inner pages) */
.section-bg { background-size: cover; background-position: center; position: relative; }
.section-bg .section-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.section-bg .container { position: relative; z-index: 2; }
.parallax-section { background-attachment: fixed; }
@supports (-webkit-touch-callout: none) { .parallax-section { background-attachment: scroll; } }

/* Inner page hero */
.hero-inner {
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
}
.hero-inner-overlay { position: absolute; inset: 0; background: rgba(42,36,32,.6); }
.hero-inner-content {
  position: relative; z-index: 2;
  padding: clamp(40px, 5vw, 72px) 0;
  text-align: center;
}
.hero-inner h1 { color: var(--white); }
.hero-inner p { color: rgba(254,253,251,.85); }

/* Stat rings (Big Problem page) */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.stat-card { display: flex; flex-direction: column; align-items: center; }
.stat-ring { position: relative; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.stat-ring svg { transform: rotate(-90deg); }
.stat-ring-bg { fill: none; stroke: var(--cream-dark); stroke-width: 8; }
.stat-ring-fill { fill: none; stroke: var(--green); stroke-width: 8; stroke-linecap: round; transition: stroke-dashoffset 1.8s var(--ease-out); }
.stat-number { position: absolute; font-family: 'Catamaran', sans-serif; font-weight: 900; font-size: 38px; color: var(--ink); line-height: 1; }
.stat-number small { font-size: 22px; font-weight: 700; color: var(--green); }
.stat-label { font-size: 15px; color: var(--ink-muted); max-width: 260px; line-height: 1.5; }

/* --- Footer --- */
.site-footer {
  position: relative;
  background: url('/images/uploads/2017/09/bg-footer.jpg') center/cover no-repeat;
  color: var(--white);
}
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(42,36,32,.92);
}
.footer-inner {
  position: relative;
  z-index: 2;
  padding: clamp(48px, 6vw, 72px) 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
  margin-bottom: 40px;
}
.footer-brand img { height: 40px; width: auto; margin-bottom: 16px; }
.footer-brand p {
  font-size: 14px;
  color: rgba(254,253,251,.55);
  line-height: 1.7;
  max-width: 280px;
}
.footer-heading {
  font-family: 'Catamaran', sans-serif;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  font-size: 14px;
  color: rgba(254,253,251,.6);
  transition: color .2s;
}
.footer-links a:hover { color: var(--green); }
.footer-contact p {
  font-size: 14px;
  color: rgba(254,253,251,.6);
  margin-bottom: 6px;
}
.footer-contact a { color: rgba(254,253,251,.6); }
.footer-contact a:hover { color: var(--green); }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(254,253,251,.6);
  transition: background .2s, color .2s;
}
.footer-social a:hover { background: var(--green); color: var(--white); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(254,253,251,.35);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
}
.footer-bottom-links a { color: rgba(254,253,251,.35); }
.footer-bottom-links a:hover { color: var(--green); }

/* --- Scroll reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Form (inner pages) --- */
.contact-form { max-width: 600px; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 700; margin-bottom: 4px; font-size: 14px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; font-family: 'DM Sans', sans-serif; font-size: 16px;
  padding: 14px 16px; border: 1px solid var(--cream-dark); border-radius: var(--radius);
  outline: none; transition: border-color .2s; background: var(--white);
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--green); }
.form-row input { height: 52px; }
.form-row textarea { height: 140px; resize: vertical; }
.form-row .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
  font-family: 'Catamaran', sans-serif; font-weight: 900; font-size: 14px;
  text-transform: uppercase; background: var(--green); color: var(--white);
  border: none; padding: 14px 36px; border-radius: var(--radius);
  cursor: pointer; transition: background .2s;
}
.form-submit:hover { background: var(--green-dark); }

/* Post content */
.post-content {  margin: 0 auto; }
.post-content img { border-radius: var(--radius); margin: 20px 0; }
.post-content h2, .post-content h3 { margin-top: 1.5em; }

/* Client logos utility */
.client-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px; }
.client-logos img { max-height: 50px; width: auto; opacity: .5; filter: grayscale(100%); transition: opacity .3s, filter .3s; }
.client-logos img:hover { opacity: 1; filter: none; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .content-block { grid-template-columns: 1fr; }
  .content-block.reverse { direction: ltr; }
  .split-row { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; gap: 32px; }
  .blog-grid { grid-template-columns: 1fr; }

  .hero { min-height: clamp(340px, 50vh, 460px); }
  .hero-bg::after {
    background: linear-gradient(180deg, rgba(42,36,32,.82) 0%, rgba(42,36,32,.6) 70%, rgba(42,36,32,.4) 100%);
  }
  .hero-body {
    max-width: 100%;
    padding: clamp(32px, 5vh, 48px) 0;
  }
  .hero-body h1 { max-width: 100%; font-size: clamp(30px, 7vw, 42px); }
  .hero-body p { font-size: 16px; margin-bottom: 24px; line-height: 1.55; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; padding: 14px 20px; font-size: 15px; }
  .hero-reassurance { font-size: 13px; margin-top: 12px; }

  /* ---- Mobile nav: full-screen overlay ---- */
  .nav-inner { justify-content: space-between; }
  .nav-toggle {
    display: flex;
    order: 3;
    margin-left: auto;
    position: relative;
    z-index: 2147483647;
  }
  .nav-logo { order: 1; }
  .nav-right { display: none; }

  .nav-links-wrap {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 2147483647;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 28px 28px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease-out), visibility .3s;
  }
  .nav-links-wrap.open { opacity: 1; visibility: visible; }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    margin: 0;
    width: 100%;
  }
  .nav-links > li { border-bottom: 1px solid var(--cream-dark); }
  .nav-links > li:last-child { border-bottom: none; }
  .nav-links > li > a {
    padding: 16px 0;
    font-size: 17px;
    width: 100%;
    display: flex;
    align-items: center;
    min-height: 52px;
  }

  /* Mobile dropdown — chevron after Services */
  .has-dropdown > a::after {
    border: none;
    content: '';
    width: 7px;
    height: 7px;
    border-right: 2px solid var(--ink-faint);
    border-bottom: 2px solid var(--ink-faint);
    transform: rotate(45deg);
    transition: transform .3s var(--ease-out);
    margin-left: 10px;
    flex-shrink: 0;
  }
  .has-dropdown.open > a { color: var(--green); }
  .has-dropdown.open > a::after {
    transform: rotate(-135deg);
    border-color: var(--green);
  }
  .dropdown {
    display: block;
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s var(--ease-out);
    background: transparent;
    padding: 0;
    margin: 0;
    padding-left: 20px;
    border-left: 2px solid var(--cream-dark);
    margin-left: 2px;
  }
  .has-dropdown.open > .dropdown {
    max-height: 500px;
    padding-bottom: 8px;
  }
  .dropdown li { border-bottom: none; }
  .dropdown a {
    display: block;
    padding: 10px 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-muted);
    min-height: 42px;
  }
  .dropdown a:hover,
  .dropdown a:active { color: var(--green); }

  /* Mobile footer */
  .mobile-nav-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    padding-top: 24px;
    width: 100%;
    z-index: 1200;
    position: relative;
  }
  .mobile-nav-phone {
    font-family: 'Catamaran', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: var(--bark);
  }
  .mobile-nav-phone:hover { color: var(--green); }

  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }

  .trust-label { width: 100%; text-align: center; }
  .form-row .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .services-grid { gap: 1px; }
  .service-tile { aspect-ratio: 16/10; }
}

/* --- Highlight Callout --- */
.highlight-callout {
  background: var(--green-light);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px);
  max-width: 860px;
  margin: 0 auto;
}
.highlight-callout .callout-stat {
  font-family: 'Catamaran', sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 3vw + 8px, 40px);
  color: var(--green-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}
.highlight-callout p {
  font-size: clamp(16px, 1vw + 12px, 18px);
  color: var(--bark);
  margin-bottom: 0;
}
.highlight-callout p + p {
  margin-top: 12px;
}

/* --- Kiosk Gallery --- */
.kiosk-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 20px);
}
.kiosk-gallery img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.kiosk-gallery img:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* --- Numbered Steps --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
  counter-reset: step-counter;
}
.step-item {
  text-align: center;
  padding: clamp(24px, 3vw, 40px) clamp(16px, 2vw, 24px);
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(61,54,48,.06);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.step-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-family: 'Catamaran', sans-serif;
  font-weight: 900;
  font-size: 24px;
  margin-bottom: 20px;
}
.step-item h4 {
  margin-bottom: 12px;
}

/* --- Food Category Cards --- */
.food-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.food-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.food-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.food-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform .5s var(--ease-out);
}
.food-card:hover img {
  transform: scale(1.05);
}
.food-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(42,36,32,.8) 0%, transparent 100%);
}
.food-card-label h5 {
  color: var(--white);
  margin: 0;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* --- Standout CTA Section (green background) --- */
.section-green {
  background: var(--green);
  color: var(--white);
}
.section-green h2, .section-green h3, .section-green h4 { color: var(--white); }
.section-green p { color: rgba(255,255,255,.9); }
.section-green .btn-white { margin-top: 8px; }

/* --- Section header utility --- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(32px, 4vw, 48px);
}
.section-header p {
  color: var(--ink-muted);
  font-size: clamp(16px, 1vw + 12px, 18px);
}

/* --- Hero overlay (inner pages) --- */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(42,36,32,.75) 0%, rgba(42,36,32,.45) 60%, rgba(42,36,32,.25) 100%);
}
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(40px, 6vh, 72px);
}
.hero-content .container {
  width: 100%;
}
.hero-content h1 {
  color: var(--white);
  text-shadow: 0 2px 16px rgba(0,0,0,.4);
  font-size: clamp(32px, 4vw + 10px, 56px);
}
.hero-content p {
  color: rgba(254,253,251,.85);
  font-size: clamp(16px, 1.2vw + 4px, 20px);
  line-height: 1.6;
  max-width: 38em;
  text-shadow: 0 1px 6px rgba(0,0,0,.25);
}

/* --- Micro-markets responsive overrides --- */
@media (max-width: 1024px) {
  .food-grid { grid-template-columns: repeat(2, 1fr); }
  .kiosk-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .kiosk-gallery { grid-template-columns: 1fr; }
  .kiosk-gallery img { height: 240px; }
  .steps-grid { grid-template-columns: 1fr; }
  .food-grid { grid-template-columns: repeat(2, 1fr); }
  .food-card img { height: 200px; }
}
@media (max-width: 480px) {
  .food-grid { grid-template-columns: 1fr; }
  .food-card img { height: 220px; }
}

/* ==============================================
   Homepage Conversion Components
   ============================================== */

/* --- Hero reassurance line --- */
.hero-reassurance {
  font-size: 14px;
  color: rgba(254,253,251,.6);
  margin: 16px 0 0;
  letter-spacing: .01em;
}

/* --- Social Proof Stats --- */
.social-proof-stats {
  background: var(--cream);
  border-bottom: 1px solid var(--cream-dark);
}
.stats-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(32px, 6vw, 80px);
  text-align: center;
}
.stats-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.stats-number {
  font-family: 'Catamaran', sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 5vw + 10px, 64px);
  line-height: 1.1;
  color: var(--green);
  letter-spacing: -.02em;
}
.stats-label {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.4;
  max-width: 200px;
}

/* --- Testimonial --- */
.testimonial {
  background: var(--bark);
  padding: clamp(48px, 6vw, 80px) 0;
}
.testimonial-inner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.testimonial-quote-mark {
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(60px, 8vw, 100px);
  line-height: 0.5;
  color: var(--green);
  opacity: .4;
  margin-bottom: 16px;
}
.testimonial-text {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(20px, 2vw + 10px, 28px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.6;
  color: rgba(254,253,251,.9);
  border: none;
  padding: 0;
  margin: 0 0 24px;
}
.testimonial-cite {
  font-family: 'Catamaran', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--green-light);
  display: block;
}

/* --- CTA Banner enhancements --- */
.cta-banner-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-banner-phone {
  font-family: 'Catamaran', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: rgba(255,255,255,.75);
}
.cta-banner-phone a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cta-banner-phone a:hover {
  color: var(--white);
  opacity: .85;
}

/* --- Sticky Mobile CTA --- */
.sticky-mobile-cta {
  display: none;
}
@media (max-width: 768px) {
  .sticky-mobile-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: var(--white);
    padding: 10px clamp(12px, 3vw, 20px);
    box-shadow: 0 -2px 12px rgba(61,54,48,.12);
    transform: translateY(100%);
    transition: transform .35s var(--ease-out);
  }
  .sticky-mobile-cta.visible {
    transform: translateY(0);
  }
  .sticky-mobile-cta-phone {
    font-family: 'Catamaran', sans-serif;
    font-weight: 800;
    font-size: 16px;
    color: var(--bark);
    white-space: nowrap;
  }
  .sticky-mobile-cta-phone:hover {
    color: var(--green);
  }
  .sticky-mobile-cta-btn {
    padding: 10px 20px;
    font-size: 13px;
    flex-shrink: 0;
  }
  /* Give main content bottom padding so sticky bar doesn't cover content */
  body {
    padding-bottom: 60px;
  }
}

/* --- Social proof stats responsive --- */
@media (max-width: 768px) {
  .stats-row {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* --- Print --- */
@media print {
  .site-nav, .nav-toggle, .site-footer, .cta-banner, .sticky-mobile-cta { display: none; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; text-decoration: underline; }
}

/* Fix dropdown list bullets */
.sub-menu { list-style: none; }
.sub-menu li { list-style: none; }
