/*
Theme Name: Vending Concepts
Version: 1.0
*/

/* ═══════════════════════════════════════════════════════════════
   VENDING CONCEPTS · HOMEPAGE · VC v2 WARM EDITION
   Migrated to the v2 brand system per vc_v2_rebranding_methodology.md
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  /* ═══ VC v2 WARM EDITION — CANONICAL TOKENS ═══ */

  /* ── PAGE SURFACES ── */
  --bg: #F8F2E6;                /* cream — primary warm page background */
  --white: #ffffff;             /* pure white — nav + clean light cards only */
  --surface-soft: #EDF0DE;      /* sage-whisper — large tinted surfaces */
  --surface-stone: #E9DFC9;     /* stone — warm neutral secondary surface */

  /* ── TEXT ── */
  --text-primary: #2A2825;      /* ink — warm near-black */
  --text-body: #5C5A55;         /* slate — body copy */
  --text-secondary: #5C5A55;    /* slate (alias) */
  --text-caption: #A19E97;      /* mist — captions, secondary */

  /* ── BORDERS ── */
  --border: #E3DDD0;
  --border-light: #EDE7D9;

  /* ── SAGE SCALE — brand voice (logo green #93a23a, warmed) ── */
  --sage: #8B9D6E;              /* sage primary — brand device, surfaces */
  --accent: #5E6F47;            /* sage-deep — emphasis, headings, CTAs */
  --accent-hover: #4A5938;      /* sage-deep hover */
  --accent-light: #EDF0DE;      /* sage-whisper (alias of --surface-soft) */
  --sage-tint: #D4DCB9;         /* light sage — card fills, badges */

  /* ── WARM NEUTRALS ── */
  --sand: #C9B894;              /* sand — depth, borders, dark-section text */

  /* ── WARM ACCENT — clay (punctuation, rare) ── */
  --clay: #B8765C;              /* clay — rare warm accent */
  --clay-tint: #EBD0BF;         /* clay-tint — soft warm surface */

  /* ── DARK CONTRAST — ink-navy ── */
  --dark: #1B2330;              /* ink-navy-deep — deepest dark sections */
  --dark-soft: #2A3340;         /* ink-navy — dark cards, hero overlay */

  /* ── SHADOWS ── (warmed to match cream surfaces) */
  --shadow-sm: 0 1px 3px rgba(42,40,37,0.06);
  --shadow-md: 0 4px 16px rgba(42,40,37,0.07);
  --shadow-lg: 0 12px 40px rgba(42,40,37,0.09);

  /* ── RADIUS ── (brand: 4px surfaces · 999px pills) */
  --radius: 4px;
  --radius-lg: 4px;
  --radius-pill: 999px;

  /* ── TYPE ── (Playfair Display + DM Sans; no monospace in new brand) */
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  /* ── LAYOUT ── */
  --max-width: 1180px;
}

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

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width:100%; display:block; }
a { color: var(--accent); text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 2px;
  text-decoration: none;
}
u {
  color: var(--accent);
}


/* ─── ANNOUNCEMENT BAR ─── */
.announce {
  background: var(--dark-soft);
  color: rgba(248,242,230,0.82);
  font-size: 13px;
  font-weight: 400;
  text-align: center;
  padding: 10px 20px;
  letter-spacing: .02em;
}
.announce strong { color: var(--bg); font-weight: 600; }
.announce a { color: var(--sage-tint); text-decoration: underline; text-underline-offset: 2px; }

/* ─── NAV ─── */
/* ── NAV ── */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 40px;
}
.site-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: 0 24px;
  position: sticky; top:0; z-index:100;
}
.site-nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.logo-main {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -.02em;
}
.logo-main em { font-style: italic; font-weight: 400; color: var(--accent); }
.logo-sub {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-top: 4px;
}
.nav-links { display:flex; gap:6px; align-items:center; flex-wrap:wrap; }
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--accent);
  background: var(--accent-light);
}
.nav-cta {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--white) !important;
  background: var(--accent) !important;
  padding: 8px 18px !important;
  border-radius: var(--radius-pill) !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--accent-hover) !important; }

body .woocommerce-breadcrumb {
    max-width: var(--max-width);
    margin: 0 auto !important;
    padding: 14px 24px;
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--text-caption);
    letter-spacing: .04em;
    background-color: transparent;
    border: 0;
    display: block;
    position: relative;
    padding: 10px 0 !important;
    z-index: 1;
}
.body .woocommerce-breadcrumb a:hover {
  color: var(--accent);
}
body.woocommerce .woocommerce-ordering {
    margin: 0;
}

/* ── MOBILE NAV ── */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  -webkit-tap-highlight-color: transparent;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 98;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav-overlay.visible { display: block; opacity: 1; }

.nav-drawer {
  display: none;
  position: fixed;
  top: 0; right: 0;
  width: 280px;
  max-width: 80vw;
  height: 100dvh;
  background: var(--white);
  z-index: 99;
  flex-direction: column;
  padding: 24px;
  box-shadow: -4px 0 24px rgba(0,0,0,0.12);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.nav-drawer.open { display: flex; transform: translateX(0); }
.nav-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}
.nav-drawer-header .nav-logo {
  font-size: 18px;
}
.nav-drawer-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}
.nav-drawer a {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-body);
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.nav-drawer a:last-of-type { border-bottom: none; }
.nav-drawer a.active { color: var(--accent); font-weight: 600; }
.nav-drawer .drawer-cta {
  display: block;
  margin-top: 20px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  background: var(--accent);
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  border: none;
}
.nav-links a:last-child { 
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    background: var(--accent);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    transition: background 0.2s;
}
.nav-links a:last-child:hover {
    background: var(--accent-hover) !important;
}
body.nav-open { overflow: hidden; }

/* ─── BUTTONS — pill radius, 4 brand variants ─── */
.btn-nav, .btn-primary, .btn-outline, .btn-ghost, .btn-white, .btn-clay, .btn-cta-outline {
  font-family: var(--font-body);
  font-weight: 500;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  letter-spacing: .02em;
  width: max-content;
  max-width: 100%;
  border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
/* primary — sage-deep bg, cream text */
.btn-nav { font-size: 13px; padding: 11px 24px; background: var(--accent); color: var(--bg); }
.btn-nav:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-primary { font-size: 14px; padding: 14px 30px; background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
/* secondary — outlined ink */
.btn-outline { font-size: 14px; padding: 13px 30px; background: transparent; color: var(--text-primary); border-color: var(--text-primary); }
.btn-outline:hover { background: var(--text-primary); color: var(--bg); }
/* ghost — sage-whisper bg, sage-deep text */
.btn-ghost { font-size: 14px; padding: 13px 30px; background: var(--surface-soft); color: var(--accent); }
.btn-ghost:hover { background: var(--sage-tint); }
/* secondary adapted for dark hero photo — light fill (methodology §6a) */
.btn-white { font-size: 14px; padding: 14px 30px; background: var(--white); color: var(--text-primary); }
.btn-white:hover { background: var(--bg); transform: translateY(-1px); }
/* clay — time-sensitive / final CTA, at most once per page */
.btn-clay { font-size: 14px; padding: 15px 34px; background: var(--clay); color: var(--bg); }
.btn-clay:hover { background: #9F5D45; transform: translateY(-1px); }
/* outline on dark / sage-deep surface — cream stroke */
.btn-cta-outline { font-size: 14px; padding: 14px 32px; background: transparent; color: var(--bg); border-color: rgba(248,242,230,.55); }
.btn-cta-outline:hover { border-color: var(--bg); background: rgba(248,242,230,.1); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  display: block;
}

/* ─── FOOTER — ink-navy-deep, white-only logo ─── */
footer { background: var(--dark); padding: 72px 40px 40px; color: rgba(248,242,230,.6); }
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand .logo-main { color: var(--bg); }
.footer-brand .logo-main em { color: var(--sage-tint); }
.footer-brand .logo-sub { color: var(--sage-tint); }
.footer-tagline {
  font-size: 14px;
  font-weight: 400;
  color: rgba(248,242,230,.5);
  line-height: 1.7;
  margin: 18px 0 24px;
  max-width: 270px;
}
.footer-email {
  display: flex;
  background: rgba(248,242,230,.07);
  border: 1px solid rgba(248,242,230,.14);
  border-radius: var(--radius-pill);
  overflow: hidden;
  max-width: 290px;
  transition: border-color .2s;
}
.footer-email:focus-within { border-color: var(--sage); }
.footer-email input {
  background: transparent;
  border: none;
  outline: none;
  padding: 12px 18px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--bg);
  flex: 1;
}
.footer-email input::placeholder { color: rgba(248,242,230,.35); }
.footer-email button {
  background: var(--accent);
  border: none;
  color: var(--bg);
  padding: 12px 20px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  transition: background .2s;
}
.footer-email button:hover { background: var(--accent-hover); }
.footer-col-title {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: var(--bg);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-links a {
  font-size: 14px;
  font-weight: 400;
  color: rgba(248,242,230,.55);
  text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: var(--bg); }
.footer-bottom {
  border-top: 1px solid rgba(248,242,230,.1);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 13px; font-weight: 400; color: rgba(248,242,230,.38); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  font-size: 13px;
  font-weight: 400;
  color: rgba(248,242,230,.38);
  text-decoration: none;
  transition: color .2s;
}
.footer-legal a:hover { color: rgba(248,242,230,.7); }


/* ── FAQ ── */
.accordion {
  /*max-width: 760px;*/
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/*.container ul {
  list-style: inherit;
}*/
.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  gap: 16px;
  transition: background 0.15s;
}
.card-header:hover { background: var(--sage-tint); /* sage-tint hover — bolder than --stat-bg whisper, activates third sage-scale step */ }
..card-header h2 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}
.faq-toggle {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  color: var(--text-caption);
  transition: all 0.25s;
}
.card.open .faq-toggle {
  transform: rotate(45deg);
  border-color: var(--accent);
  color: var(--accent);
}
.collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.card-body {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  text-align: left;
}
.card-header button {
  background: transparent;
  border: none;
  outline: none;
}
.center-row .hero-cta-row {
   justify-content: center !important;
}

h1.heavy {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.12;
    color: var(--text-primary);
    letter-spacing: -1px;
    margin-bottom: 18px;
}
h3.heavy {
    font-family: var(--font-display);
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
h4.bolder {
    font-family: var(--font-display);
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.12;
    letter-spacing: -.02em;
}
.page-template-bg-image-page ul {
  list-style: inherit;
  text-align: left;
  padding-left: 15px;
}
.card ul {
  padding: 0 24px 20px 39px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  text-align: left;
}
.page-template-bg-image-page .text-left .pb-5 {
  margin-top: 25px;
  margin-bottom: 25px;
}
.card-body a {
    color: var(--accent);
    text-decoration: underline;
}
.card-body a:hover {
    color: var(--accent);
    text-decoration: none;
}
.page-template-bg-image-page .text-white.shipping-bg, .page-template-bg-image-page .text-white.financing {
  background-image: url(/wp-content/uploads/2026/07/vc-updated-machines.jpg);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  min-height: 250px;
  position: relative;
}
.page-template-bg-image-page .text-white.shipping-bg::before, .page-template-bg-image-page .text-white.financing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(20, 26, 36, .95) 0%, rgba(20, 26, 36, .86) 42%, rgba(20, 26, 36, .7) 100%);
  z-index: 1;
}
.page-template-bg-image-page .text-white.shipping-bg > *, .page-template-bg-image-page .text-white.financing > * {
  position: relative;
  z-index: 2;
}
.page-template-bg-image-page .text-white.shipping-bg h1, .page-template-bg-image-page .text-white.financing h1 {
    font-family: var(--font-display);
    font-size: clamp(24px, 4.5vw, 48px);
    font-weight: 800;
    line-height: 1.05;
    color: var(--bg);
    letter-spacing: -1.5px;
    padding: 20px 0;
}



/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-left > *:not(.hero-bg), .hero-right > *:not(.hero-bg) { animation: fadeUp .6s both; }
.hero-left .hero-eyebrow { animation-delay: .1s; }
.hero-left .hero-h1     { animation-delay: .2s; }
.hero-left .hero-body   { animation-delay: .3s; }
.hero-left .hero-ctas   { animation-delay: .4s; }
.hero-right .hero-eyebrow { animation-delay: .2s; }
.hero-right .hero-h1     { animation-delay: .3s; }
.hero-right .hero-body   { animation-delay: .4s; }
.hero-right .hero-ctas   { animation-delay: .5s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .machines-grid, .icp-cards { grid-template-columns: repeat(2, 1fr); }
  .nav-links a {
    font-size: 12px;
    padding: 6px 5px;
}
}
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .announce { display: none; } 
  .hero, .editorial-inner { grid-template-columns: 1fr; }
  .products-grid, .reviews-grid, .why-grid { grid-template-columns: 1fr; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .editorial-left { padding: 64px 32px; }
  .editorial-right { padding: 64px 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .nav-hamburger { display: block; }
  .nav-drawer-header { margin-bottom: 7px; padding-bottom: 7px; }
}
@media (max-width: 560px) {
  .hero-left, .hero-right { padding: 56px 28px; }
  .hero-h1 { font-size: 40px; }
  .hero-right .hero-h1 { font-size: 38px; }
  .cat-section, .products-section, .why-section, .reviews-section,
  .icp-strip, .machines-section, .cta-banner { padding-left: 24px; padding-right: 24px; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .machines-grid, .icp-cards, .trust-inner { grid-template-columns: 1fr; }
  .section-title, .why-title, .ed-title, .reviews-title,
  .icp-big-title, .cta-title { font-size: 32px; }
  .nav-hamburger { display: block; }
  .footer-top { grid-template-columns: 1fr; gap: 25px; }
  .footer-col-title {
    margin-bottom: 10px;
}
.footer-links {
    gap: 0px;
}

}

