/* ==========================================================================
   Vendo 2026 — shared chrome: announcement bar, header + menus, mobile nav,
   section rhythm, USP strip, Instagram strip, footer.
   ========================================================================== */

/* ---- page frame ----
   Inner pages are stacks of full-bleed sections that set their own padding.
   The homepage frame instead spaces its sections 120px apart (see pages/home.css). */
.vd-main { display: flow-root; }

/* ---- announcement bar (186:6121) ---- */
.vd-announce { position: relative; z-index: 61; height: 35px; background: var(--vd-color-surface); }
.vd-announce-in { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.vd-announce-brand { font: 700 14px/1 var(--vd-font-body); }
.vd-announce-socials { display: flex; align-items: center; gap: 4px; }
.vd-announce-socials a { display: grid; place-items: center; min-width: 26px; height: 28px; padding: 0 5px; border-radius: 6px; transition: background-color .2s; }
.vd-announce-socials a:hover { background: rgb(var(--vd-rgb-brand) / .14); }
.vd-announce-socials img { height: 20px; } /* width from the attribute: whole pixels */

/* ---- header (186:5972) ---- */
.vd-header { position: sticky; top: 0; z-index: 60; height: var(--vd-header-h); background: rgb(var(--vd-rgb-panel) / .4); -webkit-backdrop-filter: blur(7.8px); backdrop-filter: blur(7.8px); transition: background-color .25s; }
.vd-header.is-scrolled, .vd-header.is-open { background: rgb(var(--vd-rgb-panel) / .92); }
.vd-header-in { position: relative; display: flex; align-items: center; justify-content: space-between; height: 100%; padding-bottom: 4px; }
.vd-logo img { width: 171.053px; height: 39px; }

.vd-nav { position: absolute; top: 0; bottom: 4px; left: calc(var(--vd-container-gutter) + (100% - 2 * var(--vd-container-gutter)) * .3125); display: flex; align-items: center; }
.vd-nav-list { display: flex; gap: 50px; padding: 10px; }
.vd-nav-link { position: relative; display: flex; align-items: flex-end; gap: 3px; font: 400 16px/34px var(--vd-font-body); color: var(--vd-color-text); white-space: nowrap; transition: color .2s; }
.vd-nav-link img { width: 4px; height: 4px; margin-bottom: 11px; transition: transform .2s; }
.vd-nav-link:hover, .vd-nav-item.is-open > .vd-nav-link, .vd-nav-link.is-current { color: var(--vd-color-brand); }
.vd-nav-item.is-open > .vd-nav-link img { transform: rotate(180deg); }
/* "Active nav underline" (858:52232): 3px green bar under the current item. */
.vd-nav-link.is-current { color: var(--vd-color-text); }
.vd-nav-link.is-current::after { content: ''; position: absolute; left: 50%; bottom: -12px; width: calc(100% + 7px); height: 3px; border-radius: 3px; background: var(--vd-color-brand); transform: translateX(-50%); }

/* Mega-menu panel (Proto / Nav dropdown · Services 865:5013, Sectors 966:13404, Resources 865:5112) */
/* The header's backdrop-filter makes it the containing block of these fixed panels, so they anchor to its bottom edge. */
.vd-menu { position: fixed; left: 0; right: 0; top: 100%; padding-top: 2px; visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility 0s .2s; }
.vd-nav-item.is-open > .vd-menu { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
.vd-menu-panel {
	display: flex; align-items: flex-start; gap: 48px; max-width: 1728px; margin-inline: auto; padding: 48px 64px;
	background: var(--vd-color-panel); border: 1px solid var(--vd-color-brand-line); border-radius: 0 0 24px 24px; box-shadow: 0 24px 60px rgb(var(--vd-rgb-shadow) / .6);
	max-height: calc(100dvh - var(--vd-header-top, 0px) - var(--vd-header-h) - 24px); overflow-y: auto;
}
.vd-menu-col { display: flex; flex-direction: column; gap: 6px; width: var(--w, 380px); flex: none; }
.vd-menu-title { margin-bottom: 16px; font: italic 400 28px/normal var(--vd-font-accent); color: var(--vd-color-brand); text-box: none; }
.vd-menu-item { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 12px; }
.vd-menu-item.is-live, .vd-menu-item.is-hl { background: rgb(var(--vd-rgb-brand) / .06); }
.vd-menu-item.is-live { transition: background-color .2s; }
.vd-menu-item.is-live:hover { background: rgb(var(--vd-rgb-brand) / .14); }
.vd-menu-name { font: 600 17px/normal var(--vd-font-body); color: var(--vd-color-text-muted); white-space: nowrap; }
.vd-menu-arrow { margin-left: 4px; font-size: 15px; color: var(--vd-color-text-subtle); }
.vd-menu-item:is(.is-live, .is-hl) .vd-menu-name { color: var(--vd-color-text); }
.vd-menu-item:is(.is-live, .is-hl) .vd-menu-arrow { color: var(--vd-color-brand); }
.vd-menu-desc { font: 400 13px/normal var(--vd-font-body); color: var(--vd-color-text-subtle); }
/* "Coming soon" tag on menu items without a page yet (Product Suite). */
.vd-menu-tag { display: inline-block; margin-left: 8px; padding: 3px 8px; border: 1px solid rgb(var(--vd-rgb-brand) / .4); border-radius: 999px; font: 600 10px/1.2 var(--vd-font-body); letter-spacing: .6px; text-transform: uppercase; color: var(--vd-color-brand); vertical-align: middle; white-space: nowrap; }
.vd-menu-cards { display: flex; flex: 1 0 0; justify-content: flex-end; gap: 16px; min-width: 0; container-type: inline-size; }
.vd-menu-card { position: relative; flex: none; width: 300px; height: 360px; overflow: hidden; border-radius: 16px; }
.vd-menu-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.vd-menu-card:hover img { transform: scale(1.04); }
.vd-menu-card::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgb(var(--vd-rgb-bg) / 0), rgb(var(--vd-rgb-bg) / .85)); }
.vd-menu-card.is-dim::after { content: ''; position: absolute; inset: 0; background: rgb(var(--vd-rgb-shadow) / .2); }
.vd-menu-card-title { position: absolute; z-index: 2; left: 20px; top: 289px; font: italic 400 22px/normal var(--vd-font-accent); color: var(--vd-color-brand); white-space: nowrap; }
.vd-menu-card-link { position: absolute; z-index: 2; left: 20px; top: 321px; font: 400 14px/normal var(--vd-font-body); color: var(--vd-color-brand); }
/* Cards are 300px each: show only as many as fit beside this menu's columns (they used to slide under them). */
@container (max-width: 615px) {
	.vd-menu-card:nth-child(n+2) { display: none; }
}
@container (max-width: 299px) {
	.vd-menu-card { display: none; }
}
/* Narrow desktops: the container queries above decide how many cards fit, now that the panel is full width again. */

.vd-header-cta { flex: none; transition-duration: .3s; }
.vd-btn.vd-header-cta::after, .vd-btn.vd-mnav-cta::after { content: none; }
@media (hover: hover) {
	.vd-btn.vd-header-cta:hover { background: var(--vd-color-surface); border-color: var(--vd-color-brand); color: var(--vd-color-brand); box-shadow: none; } /* Figma primary-cta hover */
}
.vd-burger { display: none; }
.vd-mnav { display: none; }

@media (max-width: 1279px) {
	.vd-nav-list { gap: 32px; }
	/* Centred without a transform: a transform made .vd-nav the containing block of the fixed menu panels,
	   squeezing them to the nav's width (Markup #103/#107). */
	.vd-nav { left: 0; right: 0; justify-content: center; pointer-events: none; }
	.vd-nav-list { pointer-events: auto; }
}
@media (max-width: 1023px) {
	.vd-nav, .vd-header-cta { display: none; }
	.vd-logo img { width: 128px; height: auto; }
	.vd-header-in { padding-bottom: 0; }
	.vd-burger { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; margin-right: -10px; padding: 10px; }
	.vd-burger span { display: block; height: 2px; border-radius: 2px; background: var(--vd-color-text); transition: transform .25s, opacity .25s; }
	.vd-header.is-open .vd-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
	.vd-header.is-open .vd-burger span:nth-child(2) { opacity: 0; }
	.vd-header.is-open .vd-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
	.vd-mnav:not([hidden]) { display: block; position: fixed; left: 0; right: 0; top: 100%; height: calc(100dvh - var(--vd-header-top, 0px) - var(--vd-header-h)); overflow-y: auto; padding: 16px 0 40px; background: var(--vd-color-panel); border-top: 1px solid var(--vd-color-brand-line); }
	.vd-mnav-top, .vd-mnav-group > summary { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--vd-color-line); font: 600 20px/1.2 var(--vd-font-body); list-style: none; cursor: pointer; }
	.vd-mnav-group > summary::-webkit-details-marker { display: none; }
	.vd-mnav-group > summary::after { content: '+'; font: 400 26px/1 var(--vd-font-body); color: var(--vd-color-brand); transition: transform .2s; }
	.vd-mnav-group[open] > summary::after { transform: rotate(45deg); }
	.vd-mnav-group .vd-menu-title { margin: 18px 0 6px; font-size: 24px; }
	.vd-mnav-link { display: block; padding: 10px 0; font: 600 17px/1.3 var(--vd-font-body); }
	.vd-mnav-link .vd-menu-arrow { color: var(--vd-color-brand); }
	.vd-mnav-link.is-muted { color: var(--vd-color-text-muted); }
	.vd-mnav-group[open] { padding-bottom: 16px; border-bottom: 1px solid var(--vd-color-line); }
	.vd-mnav-group[open] > summary { border-bottom: 0; }
	.vd-mnav-cta { margin-top: 28px; width: 100%; }
	html.vd-locked { overflow: hidden; }
}

/* ---- USP strip (186:6296) ---- */
.vd-usps { border-top: 1px solid var(--vd-color-line-grey); }
.vd-usps-in { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; height: 201px; padding-top: 79px; }
.vd-usps-in li { display: flex; align-items: center; gap: 12px; font: 600 26px/1 var(--vd-font-body); color: var(--vd-color-brand); white-space: nowrap; }
.vd-usps-in li img { width: 38px; height: 38px; flex: none; }
.vd-usps-in .vd-usps-sep { justify-self: center; width: 1px; height: 66px; background: var(--vd-color-line-grey); }
@media (min-width: 1600px) {
	.vd-usps-in li:nth-child(1) { gap: 9px; }
	.vd-usps-in li:nth-child(3) { gap: 15px; }
	.vd-usps-in li:nth-child(5) { gap: 13px; }
	.vd-usps-in li:nth-child(2) { transform: translateX(-8px); }
	.vd-usps-in li:nth-child(4) { transform: translateX(14px); }
}
@media (max-width: 1279px) {
	.vd-usps-in li:not(.vd-usps-sep) { font-size: 20px; }
}
/* Home: the strip sits right above the footer, so it gets the 286px frame (85px below) the inner pages use. */
@media (min-width: 861px) {
	.home .vd-usps-in { height: 286px; padding-bottom: 85px; }
}
@media (max-width: 860px) {
	.vd-usps-in { grid-template-columns: 1fr; justify-items: center; gap: 24px; height: auto; padding-block: 56px; }
	.vd-usps-in .vd-usps-sep { display: none; }
}

/* ---- Instagram strip (186:6435) ---- */
.vd-socials-handle { display: flex; width: max-content; align-items: center; gap: 15px; font: 700 20px/1 var(--vd-font-body); }
.vd-socials-avatar { display: grid; place-items: center; width: 53px; height: 53px; border-radius: 50%; background: var(--vd-color-brand); overflow: hidden; }
.vd-socials-avatar img { width: 55.255px; height: 53.446px; max-width: none; }
.vd-socials-row { display: flex; align-items: flex-start; gap: 18px; margin-top: 35px; }
.vd-socials-row .vd-arrow { margin-top: 130px; }
.vd-socials-row .vd-arrow img { width: 100%; height: 100%; }
.vd-socials-row .vd-arrow-prev { width: 40px; height: 40px; }
.vd-socials-row .vd-arrow-next { width: 41.549px; height: 41.549px; margin: 129px 0 0 2px; }
.vd-socials-track { display: flex; gap: 14px; flex: 1; min-width: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.vd-socials-track::-webkit-scrollbar { display: none; }
.vd-socials-tile { flex: 0 0 calc((100% - 3 * 14px) / 4); aspect-ratio: 285 / 383; scroll-snap-align: start; overflow: hidden; background: var(--vd-color-surface-placeholder); }
.vd-socials-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.vd-socials-tile:hover img { transform: scale(1.04); }
.vd-socials { padding-bottom: 6px; }
.vd-wrap > .vd-socials-cta { display: flex; width: max-content; margin: 58px auto 0; }
.vd-socials-cta img { transition: filter .3s ease-out; }
@media (hover: hover) { .vd-socials-cta:hover img { filter: brightness(0) invert(1); } }
@media (max-width: 1023px) {
	.vd-socials-tile { flex-basis: calc((100% - 2 * 14px) / 3); }
}
@media (max-width: 640px) {
	.vd-socials-row { gap: 8px; }
	.vd-socials-row .vd-arrow { display: none; }
	.vd-socials-tile { flex-basis: 70%; }
	.vd-wrap > .vd-socials-cta { margin-top: 36px; }
}

/* ---- footer (186:6297) ---- */
.vd-footer { padding: 96px 0 60px; background: var(--vd-color-surface); }
.vd-main + .vd-footer { margin-top: 0; }
.vd-footer-title { max-width: 1050px; margin-inline: auto; text-align: center; font: 800 80px/98px var(--vd-font-body); color: var(--vd-color-brand); }
.vd-footer-title em { color: var(--vd-color-text); }
.vd-footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) 680px; column-gap: 58px; margin-top: 34.4px; }
.vd-footer-left { padding-top: 26px; padding-bottom: 24px; border-right: 1px solid var(--vd-color-line); min-height: 683px; }
.vd-footer-cols { display: flex; gap: 66px; }
.vd-footer-col-title { font: italic 400 46px/38.916px var(--vd-font-accent); }
.vd-footer-col ul { display: flex; flex-direction: column; gap: 21px; margin-top: 46.3px; }
.vd-footer-col li { font: 400 16px/1 var(--vd-font-body); text-box: trim-both cap alphabetic; white-space: nowrap; }
.vd-footer-col a { transition: color .2s; }
.vd-footer-col a:hover { color: var(--vd-color-brand); }

.vd-footer-contact { display: grid; gap: 7.75px; margin: 98px 0 0 -2px; }
.vd-footer-contact li { display: grid; grid-template-columns: 41px 1fr; column-gap: 16px; align-items: center; font: 400 16px/29px var(--vd-font-body); }
.vd-footer-contact li:last-child { align-items: start; }
.vd-footer-contact li:last-child > span:last-child { margin-top: 12.25px; text-box: trim-both cap alphabetic; }
.vd-footer-contact strong { font-weight: 600; }
.vd-footer-contact a:hover { color: var(--vd-color-brand); }
.vd-footer-ico { display: grid; place-items: center; width: 41px; height: 41px; border-radius: 8.039px; background: var(--vd-color-bg); }
.vd-footer-ico img { width: 23.27px; height: auto; }
.vd-footer-contact li:last-child .vd-footer-ico img { width: 16.622px; }

.vd-footer-badges { display: flex; align-items: flex-start; gap: 58.5px; margin-top: 38.7px; }
.vd-footer-google { position: relative; width: 85.57px; height: 60.284px; }
.vd-footer-google img { width: 85.57px; height: 60.284px; object-fit: cover; }
.vd-footer-google .vd-footer-google-label { position: absolute; left: 0; bottom: -.6px; height: 15.688px; object-fit: fill; }
.vd-footer-shopify { display: flex; align-items: flex-start; margin-top: 9.58px; }
.vd-footer-shopify img:first-child { width: 35.654px; height: 39.933px; }
.vd-footer-shopify img:last-child { width: 158.303px; height: 29.95px; margin-top: 8.56px; }

.vd-footer-form { padding-top: 28px; }
.vd-footer-form-title { margin-bottom: 42.2px; font: 800 40px/58px var(--vd-font-body); color: var(--vd-color-text); }
.vd-footer-form-title em { color: var(--vd-color-brand); }
.vd-footer-form .vd-form-grid { row-gap: 14px; }
.vd-footer-form .vd-field input { height: 55px; }
.vd-footer-form .vd-ph { top: 27.5px; }
.vd-footer-form .vd-form-msg { margin-bottom: 20px; }
.vd-footer-form .vd-consent { margin-top: 20px; }
.vd-footer-form .vd-btn { margin-top: 34px; }

.vd-footer-lower { display: grid; grid-template-columns: 1fr auto; grid-template-areas: 'logo social' 'legal policies'; align-items: end; margin-top: 48px; padding-top: 54px; border-top: 1px solid var(--vd-color-line); }
.vd-footer-logo { grid-area: logo; align-self: center; }
.vd-footer-logo img { width: 189.6px; height: 43.2px; }
.vd-footer-socials { grid-area: social; justify-self: end; width: 294px; height: 69px; }
.vd-footer-legal { grid-area: legal; display: grid; gap: 16px; margin-top: 21.6px; }
.vd-footer-legal p, .vd-footer-policies li { font: 400 14px/1 var(--vd-font-body); text-box: trim-both cap alphabetic; }
.vd-footer-policies { grid-area: policies; display: flex; gap: 44px; }
.vd-footer-policies li:last-child { margin-left: 6px; }
.vd-footer-policies a:hover { color: var(--vd-color-brand); }

@media (max-width: 1500px) {
	.vd-footer-title { font-size: clamp(40px, 5.2vw, 80px); line-height: 1.225; }
	.vd-footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); column-gap: 48px; }
}
@media (max-width: 1100px) {
	.vd-footer-grid { grid-template-columns: 1fr; }
	.vd-footer-left { min-height: 0; border-right: 0; padding-bottom: 48px; border-bottom: 1px solid var(--vd-color-line); }
	.vd-footer-form { padding-top: 48px; }
	.vd-footer-contact { margin-top: 56px; }
	/* Legal lines wrap here: give them normal spacing and put the policy links on their own row. */
	.vd-footer-lower { grid-template-areas: 'logo social' 'legal legal' 'policies policies'; row-gap: 24px; }
	.vd-footer-legal p { line-height: 1.5; text-box: none; }
	.vd-footer-policies { flex-wrap: wrap; gap: 12px 32px; }
}
@media (max-width: 640px) {
	.vd-footer { padding-top: 64px; }
	.vd-footer-title { font-size: 36px; line-height: 1.2; }
	.vd-footer-cols { flex-wrap: wrap; gap: 36px 48px; }
	.vd-footer-col-title { font-size: 36px; }
	.vd-footer-col ul { margin-top: 32px; }
	.vd-footer-form-title { font-size: 30px; line-height: 44px; }
	.vd-footer-lower { grid-template-columns: 1fr; grid-template-areas: 'logo' 'social' 'legal' 'policies'; gap: 24px; padding-top: 40px; }
	.vd-footer-legal { margin-top: 0; }
	.vd-footer-legal p { line-height: 1.5; text-box: none; }
	.vd-footer-policies { flex-wrap: wrap; gap: 16px 28px; }
	.vd-footer-policies li:last-child { margin-left: 0; }
	.vd-footer-socials { justify-self: start; width: 220px; height: auto; }
}

/* Social icon rows: one image, one link per icon laid over it (vd_social_links()). */
.vd-social-map { position: relative; flex: none; }
.vd-social-map img { width: 100%; height: 100%; }
.vd-social-hit { position: absolute; top: 50%; width: 26px; height: 26px; margin-left: -13px; transform: translateY(-50%); border-radius: 50%; transition: background-color .2s; }
.vd-social-hit:hover { background: rgb(var(--vd-rgb-brand) / .14); }
.vd-footer-socials .vd-social-hit { width: 16.33%; height: auto; aspect-ratio: 1; margin-left: -8.165%; }

/* 320–400px phones: the partner badges row (Google + Shopify) is wider than the screen at its designed size. */
@media (max-width: 400px) {
	.vd-footer-badges { gap: 24px; }
	.vd-footer-shopify img:last-child { width: 130px; height: auto; }
}

/* QA 2026-11-20: hover feedback on the header/footer logos, and footer links get a 26px tap area
   (padding offset by negative margin, so the spacing you see does not change). */
.vd-logo img, .vd-footer-logo img { transition: opacity .2s; }
@media (hover: hover) { .vd-logo:hover img, .vd-footer-logo:hover img { opacity: .8; } }
.vd-footer-col a { display: inline-block; padding-block: 5px; margin-block: -5px; }

/* GHL footer form (2026-12-02): reserve height so the page does not jump. */
.vd-footer-ghl { width: 100%; min-height: 900px; }
.vd-footer-ghl iframe { display: block; width: 100%; }
