/*
 * Venegas Designs — base styles.
 *
 * Colour and type tokens come from the Wix site. Migrated page sections are positioned by the
 * generated stylesheets in ./pages/, which express every length as calc(var(--u) * px):
 *   >= 1000px  --u = 1px            (Wix desktop geometry, 980px stage centred)
 *   751-999px  --u = 100vw / 980    (desktop layout on a 980px page scaled to the screen, as Wix does on tablets)
 *   <= 750px   --u = 100vw / 320    (Wix's 320px mobile layout scaled to the phone width)
 */

:root {
	--vd-cream: rgb(248, 245, 240);
	--vd-taupe: rgb(92, 82, 73);
	--vd-ink: rgb(26, 26, 26);
	--vd-black: rgb(15, 15, 15);
	--vd-gold: rgb(227, 204, 151);
	--vd-sand: rgb(220, 209, 184);
	--vd-stone: rgb(182, 170, 140);
	--vd-teal: rgb(63, 92, 88);
	--vd-grey: rgb(129, 123, 118);
	--vd-font-sans: vd-figtree-medium, Figtree, sans-serif;
	--vd-font-serif: vd-eb-garamond, 'EB Garamond', serif;
	--u: 1px;
}

@media (max-width: 999px) and (min-width: 751px) {
	:root { --u: calc(100vw / 980); }
}

@media (max-width: 750px) {
	:root { --u: calc(100vw / 320); }
}

/* ---------------------------------------------------------------- base */

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

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--vd-cream);
	color: var(--vd-taupe);
	font-family: var(--vd-font-sans);
	font-size: 16px;
	line-height: 1.4;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, video, svg { max-width: 100%; }

a { color: inherit; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.vd-skip-link {
	position: absolute; left: 8px; top: -60px; z-index: 1000;
	padding: 10px 16px; background: var(--vd-ink); color: var(--vd-cream);
}
.vd-skip-link:focus { top: 8px; }

:focus-visible { outline: 2px solid var(--vd-teal); outline-offset: 2px; }

/* ---------------------------------------------------------------- header */

.vd-header {
	position: sticky; top: 0; z-index: 50;
	height: 103px;
	background: var(--vd-cream);
	border-radius: 5px;
	box-shadow: rgba(0, 0, 0, 0.5) 0 0 5px 0;
}
.admin-bar .vd-header { top: 32px; }

.vd-header__inner { position: relative; height: 100%; }

.vd-logo {
	position: absolute; top: 19px; left: calc(50% - 610px);
	display: block; width: 237px; height: 50px;
}
.vd-logo__img { display: block; width: 100%; height: 100%; object-fit: contain; }

.vd-nav { position: absolute; top: 19px; left: calc(50% - 323px); width: 646px; }

.vd-nav__list {
	display: flex; justify-content: center;
	margin: 0; padding: 0; list-style: none;
}
.vd-nav__list > li > a {
	display: block; padding: 0 10px;
	font-family: vd-figtree-medium, sans-serif; font-size: 16px; line-height: 50px;
	color: var(--vd-taupe); text-decoration: none;
	transition: color 0.2s;
}
.vd-nav__list > li > a:hover,
.vd-nav__list > .current-menu-item > a { color: var(--vd-teal); }

.vd-nav__list .sub-menu {
	position: absolute; display: none; min-width: 180px; margin: 0; padding: 8px 0;
	list-style: none; background: var(--vd-cream); box-shadow: rgba(0, 0, 0, 0.2) 0 2px 8px;
}
.vd-nav__list li:hover > .sub-menu,
.vd-nav__list li:focus-within > .sub-menu { display: block; }
.vd-nav__list .sub-menu a { display: block; padding: 8px 16px; color: var(--vd-taupe); text-decoration: none; }

.vd-menu-toggle { display: none; }

@media (max-width: 999px) and (min-width: 751px) {
	.vd-header { height: calc(var(--u) * 103); }
	.vd-logo { top: calc(var(--u) * 19); left: calc(50% - var(--u) * 480); width: calc(var(--u) * 237); height: calc(var(--u) * 50); }
	.vd-nav { top: calc(var(--u) * 19); left: calc(50% - var(--u) * 230); width: calc(var(--u) * 646); }
	.vd-nav__list > li > a { font-size: calc(var(--u) * 16); line-height: calc(var(--u) * 50); padding: 0 calc(var(--u) * 10); }
}

@media (max-width: 750px) {
	.vd-header { height: calc(var(--u) * 54); }
	.vd-logo { top: calc(var(--u) * 14); left: calc(var(--u) * 17); width: calc(var(--u) * 117); height: calc(var(--u) * 26); }
	.vd-menu-toggle {
		display: block; position: absolute; top: calc(var(--u) * 14); left: calc(var(--u) * 275);
		width: calc(var(--u) * 26); height: calc(var(--u) * 26);
		padding: 0; border: 0; background: none; cursor: pointer; color: var(--vd-ink);
	}
	.vd-menu-toggle__bars,
	.vd-menu-toggle__bars::before,
	.vd-menu-toggle__bars::after {
		position: absolute; left: 10%; width: 80%; height: 2px; background: currentColor; content: '';
		transition: transform 0.2s, opacity 0.2s;
	}
	.vd-menu-toggle__bars { top: 50%; }
	.vd-menu-toggle__bars::before { top: -7px; left: 0; width: 100%; }
	.vd-menu-toggle__bars::after { top: 7px; left: 0; width: 100%; }
	.vd-menu-open .vd-menu-toggle__bars { background: transparent; }
	.vd-menu-open .vd-menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
	.vd-menu-open .vd-menu-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

	.vd-nav {
		position: fixed; inset: calc(var(--u) * 54) 0 0 0; width: auto; top: calc(var(--u) * 54); left: 0;
		display: none; padding: calc(var(--u) * 30) 0;
		background: var(--vd-cream); overflow-y: auto;
	}
	.vd-menu-open .vd-nav { display: block; }
	.vd-nav__list { flex-direction: column; align-items: center; }
	.vd-nav__list > li > a { font-size: calc(var(--u) * 18); line-height: calc(var(--u) * 50); }
	.vd-nav__list .sub-menu { position: static; display: block; box-shadow: none; text-align: center; }
	body.vd-menu-open { overflow: hidden; }
}

/* ---------------------------------------------------------------- migrated page layout */
/* Resets use :where() (zero specificity) so the generated per-component rules always win,
   including their display:none for components that exist in only one Wix layout. */

.vd-page { display: block; overflow-x: clip; }
.vd-page :where(.vd-s) { margin: 0; width: 100%; }
.vd-page :where(.vd-c) { margin: 0; }
.vd-page :where(.vd-t) { margin: 0; padding: 0; overflow-wrap: break-word; }
.vd-page :where(.vd-t) a { color: inherit; text-decoration: inherit; }
.vd-page :where(.vd-t) mark { padding: 0; background: transparent; color: inherit; }
.vd-page :where(.vd-text) { height: auto; }
.vd-page :where(.vd-c.wp-block-image) { display: block; }
.vd-page :where(.vd-c.wp-block-image) a { display: block; width: 100%; height: 100%; }
.vd-page :where(.vd-c.wp-block-buttons) { display: flex; gap: 0; }
.vd-page :where(.vd-c) .wp-block-button__link { border-radius: 0; padding: 0; white-space: nowrap; transition: filter 0.2s, opacity 0.2s; }
.vd-page :where(.vd-c) .wp-block-button__link:hover { filter: brightness(1.12); }
.vd-page :where(.vd-vector) svg { width: 100%; height: 100%; }
.vd-page :where(.vd-vector) a { display: block; width: 100%; height: 100%; }
.vd-page :where(hr.vd-c) { margin: 0; border: 0; height: 0; background: none; }
.vd-page :where(.vd-c.wp-block-video) { margin: 0; }
.vd-page :where(.vd-bg) { margin: 0; }
.vd-page :where(.vd-bg) img { display: block; }

/* Pages created in WordPress after the migration (no generated layout) */
.vd-page--flow { max-width: 980px; margin: 0 auto; padding: 60px 20px 100px; }
.vd-page--flow .vd-page__title { font-family: var(--vd-font-serif); font-weight: 400; font-size: 52px; line-height: 1.2; color: var(--vd-ink); margin: 0 0 32px; }
.vd-page--flow > * + * { margin-block-start: 1.2em; }

.vd-button,
.vd-page--flow .wp-block-button__link {
	display: inline-block; padding: 16px 32px; border-radius: 40px;
	background: var(--vd-ink); color: var(--vd-cream);
	font-family: vd-figtree-medium, sans-serif; font-size: 14px; letter-spacing: 0.05em; text-decoration: none;
}

/* ---------------------------------------------------------------- FAQ (Wix FAQ app) */

.vd-page .vd-faq { display: block; }
.vd-faq__title { font-family: vd-figtree-medium, sans-serif; font-weight: 400; font-size: calc(var(--u) * 16); text-align: center; color: var(--vd-ink); margin: 0 0 calc(var(--u) * 24); }
.vd-faq__item {
	border-bottom: 1px solid rgba(26, 26, 26, 0.25);
	padding: calc(var(--u) * 22) 0;
	color: var(--vd-ink);
}
.vd-faq__item summary {
	position: relative; padding-right: 40px; cursor: pointer; list-style: none;
	font-family: vd-jost-semibold, sans-serif; font-size: calc(var(--u) * 18); line-height: 1.4;
}
.vd-faq__item summary::-webkit-details-marker { display: none; }
.vd-faq__item summary::after {
	content: ''; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px;
	border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
	transform: translateY(-70%) rotate(45deg); transition: transform 0.2s;
}
.vd-faq__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.vd-faq__item > :not(summary) {
	margin: calc(var(--u) * 14) 0 0; font-family: vd-inter18-light, sans-serif; font-size: calc(var(--u) * 16); line-height: 1.6;
}
.vd-faq__item p { margin: 0 0 0.8em; }
.vd-faq__item a { text-decoration: underline; }
.vd-faq__tabs { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: center; margin: 0 0 calc(var(--u) * 24); padding: 0; list-style: none; }
.vd-faq__tabs button {
	padding: 6px 0; border: 0; border-bottom: 2px solid transparent; background: none; cursor: pointer;
	font-family: vd-figtree-medium, sans-serif; font-size: calc(var(--u) * 15); color: var(--vd-ink);
}
.vd-faq__tabs button[aria-selected='true'] { border-bottom-color: currentColor; }
.vd-faq--tabs.is-enhanced .vd-faq__tab { display: none; }
.vd-faq--tabs.is-enhanced .vd-faq__group[hidden] { display: none; }

/* ---------------------------------------------------------------- galleries */

.vd-page .vd-gallery-wrap { position: relative; }
.vd-page .vd-gallery { margin: 0; height: 100%; }
.vd-gallery--slider .vd-gallery,
.vd-gallery--slideshow .vd-gallery {
	display: flex !important; flex-wrap: nowrap !important; gap: 10px !important;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.vd-gallery--slider .vd-gallery::-webkit-scrollbar,
.vd-gallery--slideshow .vd-gallery::-webkit-scrollbar { display: none; }
.vd-gallery--slider .vd-gallery > figure.wp-block-image { flex: 0 0 auto !important; width: auto !important; height: 100%; margin: 0 !important; scroll-snap-align: start; }
.vd-gallery--slider .vd-gallery > figure.wp-block-image img { height: 100% !important; width: auto !important; object-fit: cover; }
.vd-gallery--slideshow .vd-gallery > figure.wp-block-image { flex: 0 0 100% !important; width: 100% !important; height: 100%; margin: 0 !important; scroll-snap-align: start; }
.vd-gallery--slideshow .vd-gallery > figure.wp-block-image img { width: 100% !important; height: 100% !important; object-fit: cover; }
/* Wix pro-gallery grid (Natural Stone Slabs): measured 166x256 cards, 19px gaps, 4 columns; 2 on mobile */
.vd-gallery--grid .vd-gallery { display: grid !important; grid-template-columns: repeat(4, calc(var(--u) * 166)); gap: calc(var(--u) * 19) !important; align-content: start; }
.vd-gallery--grid .vd-gallery > figure.wp-block-image {
	display: flex !important; flex-direction: column; width: 100% !important; height: calc(var(--u) * 256); margin: 0 !important;
	border-radius: calc(var(--u) * 8); overflow: hidden; background: rgb(221, 217, 214);
}
.vd-gallery--grid .vd-gallery > figure.wp-block-image img { flex: 0 0 auto !important; width: 100% !important; height: calc(var(--u) * 165) !important; object-fit: cover; }
.vd-gallery--grid .vd-gallery figcaption {
	position: static !important; background: none !important; margin: 0 !important; padding: calc(var(--u) * 15) calc(var(--u) * 30) 0 !important; max-height: none !important; overflow: hidden;
	display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
	color: var(--vd-ink) !important; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 700; font-size: calc(var(--u) * 18) !important; line-height: calc(var(--u) * 22); text-align: center; text-shadow: none !important;
}
@media (max-width: 750px) {
	.vd-gallery--grid .vd-gallery { grid-template-columns: repeat(2, calc(var(--u) * 132)); gap: calc(var(--u) * 16) !important; }
	.vd-gallery--grid .vd-gallery > figure.wp-block-image { height: calc(var(--u) * 223); }
	.vd-gallery--grid .vd-gallery > figure.wp-block-image img { height: calc(var(--u) * 132) !important; }
	.vd-gallery--grid .vd-gallery figcaption { font-size: calc(var(--u) * 13) !important; line-height: calc(var(--u) * 16); -webkit-line-clamp: 3; }
	/* Wix shows 6 items, then "Load More" */
	.vd-gallery--grid.is-paged:not(.is-expanded) .vd-gallery > figure:nth-child(n + 7) { display: none !important; }
	.vd-gallery__more {
		display: block; width: calc(var(--u) * 140); height: calc(var(--u) * 44); margin: calc(var(--u) * 28) auto 0;
		border: 1px solid rgb(26, 26, 26); background: transparent; cursor: pointer;
		font-family: vd-figtree-medium, sans-serif; font-size: calc(var(--u) * 16); color: rgb(26, 26, 26);
	}
	.vd-gallery--grid.is-expanded .vd-gallery__more { display: none; }
}
@media (min-width: 751px) { .vd-gallery__more { display: none; } }
.vd-gallery__nav {
	position: absolute; top: 50%; z-index: 3; width: 40px; height: 40px; margin-top: -20px;
	border: 0; border-radius: 50%; background: rgba(248, 245, 240, 0.85); cursor: pointer; color: var(--vd-ink);
}
.vd-gallery__nav--prev { left: 8px; }
.vd-gallery__nav--next { right: 8px; }
.vd-gallery__nav::before {
	content: ''; display: block; width: 10px; height: 10px; margin: auto;
	border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
}
.vd-gallery__nav--prev::before { transform: translateX(2px) rotate(135deg); }
.vd-gallery__nav--next::before { transform: translateX(-2px) rotate(-45deg); }
.vd-gallery__counter { position: absolute; right: 12px; bottom: 10px; z-index: 3; color: #fff; font-size: 13px; text-shadow: 0 0 3px rgba(0, 0, 0, 0.6); }

/* ---------------------------------------------------------------- forms (Wix Forms replica) */

.vd-form { display: flex; flex-wrap: wrap; gap: 0 4%; font-family: vd-figtree-medium, sans-serif; color: var(--vd-ink); }
.vd-form__field { flex: 0 0 100%; margin: 0 0 18px; }
.vd-form__field--half { flex-basis: 48%; }
.vd-form__label, .vd-form legend { display: block; margin: 0 0 6px; padding: 0; font-size: 14px; line-height: 1.4; color: var(--vd-ink); }
.vd-form__req { margin-left: 2px; }
.vd-form fieldset { border: 0; margin: 0 0 18px; padding: 0; }
.vd-form input[type='text'], .vd-form input[type='email'], .vd-form input[type='tel'],
.vd-form input[type='number'], .vd-form input[type='date'], .vd-form select, .vd-form textarea {
	width: 100%; min-height: 38px; padding: 6px 10px;
	border: 1px solid rgba(26, 26, 26, 0.35); border-radius: 4px; background: #fff;
	font: inherit; font-size: 15px; color: var(--vd-ink);
}
.vd-form textarea { min-height: 80px; resize: vertical; }
.vd-form input:focus, .vd-form select:focus, .vd-form textarea:focus { outline: none; border-color: var(--vd-ink); }
.vd-form [aria-invalid='true'] { border-color: rgb(223, 49, 49); }
.vd-form__choice { display: flex; align-items: flex-start; gap: 8px; margin: 6px 0; font-size: 14px; line-height: 1.4; cursor: pointer; }
.vd-form__choice input { margin: 2px 0 0; accent-color: var(--vd-ink); }
.vd-form__consent span { font-size: 12px; line-height: 1.45; }
.vd-form__heading { flex: 0 0 100%; margin: 0 0 14px; font-size: 15px; }
.vd-form__actions { flex: 0 0 100%; }
.vd-form__submit {
	width: 100%; min-height: 42px; padding: 10px 16px; border: 0; border-radius: 6px;
	background: var(--vd-taupe); color: var(--vd-cream); font: inherit; font-size: 15px; cursor: pointer;
}
.vd-form__submit:disabled { opacity: 0.6; cursor: wait; }
.vd-form__error { margin: 4px 0 0; color: rgb(223, 49, 49); font-size: 12px; }
.vd-form__status { flex: 0 0 100%; margin-top: 10px; font-size: 14px; white-space: pre-line; }
.vd-form__hp { position: absolute; left: -9999px; }

/* Footer subscribe form (Wix "Subscribe Form") */
.vd-form--subscribe { display: grid; grid-template-columns: 1fr 310px; column-gap: 10px; color: var(--vd-cream); }
.vd-form--subscribe .vd-form__heading { grid-column: 1 / -1; font-size: 15px; margin-bottom: 26px; color: var(--vd-cream); }
.vd-form--subscribe .vd-form__field--email { grid-column: 1; margin: 0; }
.vd-form--subscribe .vd-form__label { color: var(--vd-cream); font-size: 14px; }
.vd-form--subscribe input[type='email'] {
	background: transparent; border: 0; border-bottom: 1px solid var(--vd-cream); border-radius: 0; color: var(--vd-cream); padding: 6px 0;
}
.vd-form--subscribe .vd-form__actions { grid-column: 2; grid-row: 2; align-self: end; }
.vd-form--subscribe .vd-form__submit {
	background: transparent; border: 1px solid var(--vd-cream); border-radius: 10px; color: var(--vd-cream); min-height: 42px;
}
.vd-form--subscribe .vd-form__field--consent { grid-column: 1 / -1; margin: 14px 0 0; }
.vd-form--subscribe .vd-form__consent span { font-size: 14px; }
.vd-form--subscribe .vd-form__status { grid-column: 1 / -1; color: var(--vd-cream); }
@media (max-width: 750px) {
	.vd-form--subscribe { grid-template-columns: 1fr; }
	.vd-form--subscribe .vd-form__actions { grid-column: 1; grid-row: auto; margin-top: 16px; }
	.vd-form--subscribe .vd-form__heading { font-size: calc(var(--u) * 15); }
}

/* ---------------------------------------------------------------- embeds */

.vd-page .vd-embed iframe { display: block; }

/* Popups (Wix lightboxes): a group with id vd-popup-<id>, opened by links to #vd-popup-<id> -------- */
.vd-page .vd-popup { display: none; position: fixed; inset: 0; z-index: 1000; overflow-x: hidden; overflow-y: auto; margin: 0; padding: 0; max-width: none; }
.vd-page .vd-popup.is-open { display: flex; }
.vd-page .vd-popup .vd-popup__box { position: relative; flex: none; margin: auto; box-sizing: border-box; max-width: none; }
.vd-page .vd-popup .vd-popup__close {
	position: absolute; z-index: 2; display: flex; align-items: center; justify-content: center;
	padding: 0; border: 0; background: none; cursor: pointer;
}
.vd-page .vd-popup .vd-popup__close svg { width: 100%; height: 100%; }
.vd-page .vd-popup .vd-popup__close:focus-visible { outline: 2px solid var(--vd-cream); outline-offset: 2px; }
.vd-page .vd-popup .vd-popup__frame { position: absolute; border: 0; display: block; background: transparent; }
.vd-page .vd-popup .vd-form { display: block; }
.vd-form__upload { display: inline-flex; position: relative; cursor: pointer; }
.vd-form__upload input[type='file'] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.vd-form__upload-button { display: inline-flex; align-items: center; gap: 10px; padding: 0 15px; min-height: 40px; background: var(--vd-taupe); color: var(--vd-cream); font-size: 16px; }
.vd-form__upload input[type='file']:focus-visible + .vd-form__upload-button { outline: 2px solid var(--vd-ink); outline-offset: 2px; }
.vd-form__upload-list { display: block; margin-top: 6px; font-size: 13px; color: var(--vd-ink); word-break: break-word; }
body.vd-popup-open { overflow: hidden; }
@media (max-width: 750px) {
	.vd-form--subscribe .vd-form__actions { grid-row: 3; }
	.vd-form--subscribe .vd-form__field--consent { grid-row: 4; }
}
.vd-page .vd-popup .vd-popup__box > .vd-popup__frame, .vd-page .vd-popup .vd-popup__box > .vd-popup__close { margin: 0; }
