/* Vino Technologies - site footer (.vf), rendered by includes/footer.php on the homepage, /why-vino/ and /pricing/.
   Every rule is scoped to .vf; nothing else on a page is touched. Uses the existing tokens (light + dark), the shared .btn button and the site fonts.
   Layout: brand + description | two compact link groups | project call to action + email, then one slim copyright row. Stacks on tablet and phone.
   Red is used only for the button, the brand mark and hover / focus states. Motion = colour and a 2px nudge, off for prefers-reduced-motion. */
.vf{background:var(--bg-soft);border-top:1px solid var(--card-border);padding:32px 0 0}
.vf-grid{display:grid;gap:22px;grid-template-columns:minmax(0,1fr);grid-template-areas:"brand" "start" "nav"}
.vf-brand{grid-area:brand}.vf-start{grid-area:start}.vf-nav{grid-area:nav}

/* brand + call to action + contact */
.vf-logo{display:inline-flex;align-items:center;gap:10px;min-height:var(--tap);font:700 18px var(--font-h);letter-spacing:-.01em;color:var(--text);border-radius:10px;white-space:nowrap}
.vf-mark{width:26px;height:26px;border-radius:8px;background:var(--red);flex:none}
.vf-desc{margin-top:2px;max-width:30em;font-size:15px;line-height:1.55;color:var(--text-dim)}
.vf-start{padding-top:18px;border-top:1px solid var(--card-border)}
.vf-lead{font:700 15px var(--font-h);color:var(--text);margin-bottom:10px}
.vf-actions{display:flex;flex-wrap:wrap;align-items:center;gap:4px 22px}
.vf .vf-btn{min-height:46px;padding:10px 22px;font-size:15px}
.vf-i{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.vf-mail{display:inline-flex;align-items:center;gap:9px;min-height:var(--tap);font-size:15px;font-weight:600;color:var(--text);border-radius:8px;overflow-wrap:anywhere;transition:color .2s}
.vf-mail .vf-i{color:var(--red-text)}
.vf-mail span{border-bottom:1px solid transparent;transition:border-color .2s}

/* link groups */
.vf-nav{display:grid;grid-template-columns:1fr 1fr;gap:6px 20px;align-content:start}
.vf-group{display:flex;flex-direction:column}
.vf h2{font:700 12px var(--font-h);letter-spacing:.14em;text-transform:uppercase;color:var(--text);margin-bottom:4px;min-height:24px;display:flex;align-items:center}
.vf-group a{display:flex;align-items:center;min-height:var(--tap);width:fit-content;max-width:100%;font-size:15px;color:var(--text-dim);border-radius:6px;transition:color .2s,transform .2s}
.vf-group a[aria-current]{color:var(--text);font-weight:600}

/* hover / focus (hover effects only where a real pointer exists) */
.vf a:focus-visible{outline:2px solid var(--red);outline-offset:3px}
:root[data-theme="dark"] .vf a:focus-visible{outline-color:var(--red-text)}
.vf-group a:focus-visible,.vf-mail:focus-visible{color:var(--red-text)}
@media (hover:hover){
  .vf-group a:hover{color:var(--red-text);transform:translateX(2px)}
  .vf-mail:hover{color:var(--red-text)}
  .vf-mail:hover span{border-color:currentColor}
}

/* bottom bar: copyright + legal / policy links */
.vf-bar{margin-top:18px;padding:14px 0 16px;border-top:1px solid var(--card-border);font-size:13px;line-height:1.5;color:var(--text-dim);display:flex;flex-direction:column;gap:6px}
.vf-legal{display:flex;flex-wrap:wrap;gap:0 18px}
.vf-legal a{display:inline-flex;align-items:center;min-height:var(--tap);color:var(--text-dim);border-radius:6px;transition:color .2s}
.vf-legal a[aria-current]{color:var(--text);font-weight:600}
.vf-legal a:focus-visible{color:var(--red-text)}
@media (hover:hover){.vf-legal a:hover{color:var(--red-text)}}
@media (min-width:1000px){.vf-bar{flex-direction:row;align-items:center;justify-content:space-between;gap:24px}.vf-bar p{flex:none}.vf-legal{justify-content:flex-end;gap:0 20px}.vf-legal a{min-height:32px}}

/* phones and small tablets: Novi (the floating assistant, bottom-right) floats ~88px up (above the bottom nav), so lift the last row above it */
@media (max-width:820px){.vf{padding-bottom:56px}
  /* pages without the bottom nav (no body padding under the footer) need the whole clearance inside the footer */
  body:not(:has(.bottom-nav)) .vf{padding-bottom:136px}
 .vf .vf-btn{flex:1 1 100%}.vf-actions{gap:2px 22px}}

/* tablet: brand + call to action on the left, the two link groups on the right */
@media (min-width:720px){
  .vf{padding-top:36px}
  .vf-grid{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);grid-template-areas:"brand nav" "start nav";column-gap:48px;row-gap:0;align-items:start}
  .vf .vf-btn{flex:0 0 auto}
  .vf-start{margin-top:16px}
}
@media (min-width:821px){
  .vf-group a{min-height:36px}
  .vf-mail{min-height:40px}
}
/* desktop: three even columns - brand | links | call to action */
@media (min-width:1000px){
  .vf-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr) minmax(0,1fr);grid-template-areas:"brand nav start";column-gap:52px}
  .vf-start{padding-top:0;border-top:0;margin-top:4px}
  .vf-nav{gap:6px 28px}
  .vf-actions{flex-direction:column;align-items:flex-start;gap:6px}
}
@media (pointer:coarse){.vf-group a,.vf-mail{min-height:var(--tap)}}
@media (prefers-reduced-motion:reduce){.vf *{transition:none!important;transform:none!important}}
