/* Villa Blue Café & Lounge: the Dos Palmas design system.
   Tokens, type, layout, buttons, labels, the header, the footer, the fence,
   section heads, cards, badges, forms and the shared blocks. Page layouts live
   in home.css (front page) and pages.css (everything else).

   Brand rules worth keeping in mind while editing:
   - Rojo is the hero ground only, plus one label per screen and the main call to action.
   - Verde is for the ampersand, a dietary badge or a rule; never a ground. No tints of Rojo or Verde.
   - Libre Caslon Display: Regular only, never bold, never letterspaced, never below 20 px, never for paragraphs.
   - Nunito Sans for everything else. Labels: bold caps, tracking .22em. */

:root {
	--vb-azul-casa: #2A5A8F;
	--vb-crema: #F8F3E9;
	--vb-medianoche: #13233F;
	--vb-rojo: #C41E3A;
	--vb-verde: #1F6B4A;
	--vb-blanco: #FFFFFF;
	--vb-rojo-noche: #E0405A;
	--vb-luz: #F3DFA8;
	--vb-azul-80: #557BA5;
	--vb-azul-60: #7F9CBC;
	--vb-azul-40: #AABDD2;
	--vb-azul-20: #D4DEE9;
	--vb-azul-10: #EAEFF4;

	--vb-display: 'Libre Caslon Display', 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
	--vb-body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

	--vb-gutter: clamp(20px, 4.2vw, 64px);
	--vb-max: 1240px;
	--vb-section: clamp(72px, 9vw, 136px);
	--vb-radius: 3px;
	--vb-card-radius: 6px;
	--vb-ease: cubic-bezier(.2, .7, .2, 1);
	--vb-header-h: 84px;

	--vb-h1: clamp(44px, 5.6vw, 84px);
	--vb-h2: clamp(34px, 4vw, 58px);
	--vb-h3: clamp(24px, 2.1vw, 30px);
	--vb-lead: clamp(20px, 1.65vw, 25px);
}

body {
	background: var(--vb-crema);
	color: var(--vb-medianoche);
	font-family: var(--vb-body);
	font-size: 17px;
	line-height: 1.55;
	font-optical-sizing: auto;
}
@media (min-width: 1100px) { body { font-size: 18px; } }

::selection { background: var(--vb-azul-casa); color: var(--vb-crema); }
:focus-visible { outline: 3px solid var(--vb-azul-casa); outline-offset: 3px; }
[id] { scroll-margin-top: calc(var(--vb-header-h) + 16px); }

/* Layout */
.vb-wrap { width: 100%; max-width: calc(var(--vb-max) + var(--vb-gutter) * 2); margin-inline: auto; padding-inline: var(--vb-gutter); }
.vb-wrap--narrow { max-width: calc(820px + var(--vb-gutter) * 2); }
.vb-section { padding-block: var(--vb-section); position: relative; }
.vb-section--tight { padding-block: calc(var(--vb-section) * .62); }
.vb-ground-azul { background: var(--vb-azul-casa); color: var(--vb-crema); }
.vb-ground-noche { background: var(--vb-medianoche); color: var(--vb-crema); }
.vb-ground-blanco { background: var(--vb-blanco); }
.vb-ground-tint { background: var(--vb-azul-10); }

/* Type */
.vb-display, .vb-h1, .vb-h2, .vb-h3, h1, h2, h3 {
	font-family: var(--vb-display);
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.04;
	text-wrap: balance;
}
h4, h5, h6 { font-family: var(--vb-body); font-weight: 800; }
.vb-h1 { font-size: var(--vb-h1); }
.vb-h2 { font-size: var(--vb-h2); }
.vb-h3 { font-size: var(--vb-h3); line-height: 1.12; }
.vb-lead { font-family: var(--vb-display); font-size: var(--vb-lead); line-height: 1.3; }
.vb-body { max-width: 62ch; }
.vb-body p + p { margin-top: 1em; }
.vb-azul { color: var(--vb-azul-casa); }
.vb-amp { color: var(--vb-verde); }
.vb-ground-azul .vb-amp, .vb-ground-noche .vb-amp { color: inherit; }

.vb-label {
	display: inline-block;
	font-family: var(--vb-body);
	font-weight: 700;
	font-size: 12px;
	line-height: 1.4;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--vb-azul-casa);
}
.vb-label--rojo { color: var(--vb-rojo); }
.vb-label--cream { color: var(--vb-crema); }
.vb-label--noche { color: var(--vb-rojo-noche); }
.vb-ground-azul .vb-label:not(.vb-label--rojo) { color: var(--vb-crema); opacity: .86; }
.vb-ground-noche .vb-label { color: var(--vb-rojo-noche); }

/* The roof rule under section titles. */
.vb-roof-rule { display: block; width: min(260px, 60%); height: auto; aspect-ratio: 800 / 26; margin-top: 18px; }
.vb-center .vb-roof-rule { margin-inline: auto; }

/* Section head: label, title, roof rule, intro. */
.vb-head { display: grid; gap: 14px; margin-bottom: clamp(36px, 4.4vw, 64px); max-width: 760px; }
.vb-head__title { font-size: var(--vb-h2); }
.vb-head__intro { font-size: 18px; max-width: 58ch; opacity: .9; }
.vb-head.vb-center { margin-inline: auto; text-align: center; justify-items: center; }
.vb-head.vb-center .vb-head__intro { margin-inline: auto; }

/* Links */
.vb-link { font-weight: 700; color: var(--vb-azul-casa); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; border-bottom: 2px solid var(--vb-azul-20); padding-bottom: 3px; transition: border-color .2s; }
.vb-link::after { content: ""; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s var(--vb-ease); }
.vb-link:hover { border-color: currentColor; }
.vb-link:hover::after { transform: translateX(3px) rotate(45deg); }
.vb-ground-azul .vb-link, .vb-ground-noche .vb-link { color: var(--vb-crema); border-color: rgba(248, 243, 233, .3); }
.vb-ground-noche .vb-link { color: var(--vb-luz); }

/* Buttons */
.vb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 14px 26px;
	border: 1.5px solid transparent; border-radius: var(--vb-radius);
	font-family: var(--vb-body); font-weight: 700; font-size: 16px; line-height: 1.1; letter-spacing: .01em;
	text-decoration: none; text-align: center; cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--vb-ease);
}
.vb-btn:hover { transform: translateY(-1px); }
.vb-btn:active { transform: translateY(0); }
.vb-btn--primary { background: var(--vb-azul-casa); color: var(--vb-crema); }
.vb-btn--primary:hover { background: var(--vb-medianoche); }
.vb-btn--cta { background: var(--vb-rojo); color: var(--vb-crema); }
.vb-btn--cta:hover { background: #A9172F; }
.vb-btn--cream { background: var(--vb-crema); color: var(--vb-rojo); }
.vb-btn--cream:hover { background: var(--vb-blanco); }
.vb-btn--cream-azul { background: var(--vb-crema); color: var(--vb-azul-casa); }
.vb-btn--cream-azul:hover { background: var(--vb-blanco); }
.vb-btn--ghost { background: transparent; color: var(--vb-azul-casa); border-color: var(--vb-azul-casa); }
.vb-btn--ghost:hover { background: var(--vb-azul-casa); color: var(--vb-crema); }
.vb-btn--ghost-cream { background: transparent; color: var(--vb-crema); border-color: rgba(248, 243, 233, .55); }
.vb-btn--ghost-cream:hover { border-color: var(--vb-crema); background: rgba(248, 243, 233, .08); }
.vb-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Badges (menu pills) */
.vb-badge {
	display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px;
	border-radius: 999px; font: 700 11px/1 var(--vb-body); letter-spacing: .1em; text-transform: uppercase;
	background: var(--vb-azul-casa); color: var(--vb-crema); white-space: nowrap;
}
.vb-badge--favorito { background: var(--vb-medianoche); }
.vb-badge--ninos, .vb-badge--sin-gluten { background: var(--vb-azul-casa); }
.vb-badge--picante { background: var(--vb-rojo); }
.vb-badge--vegetariano { background: var(--vb-verde); }
.vb-ground-noche .vb-badge--picante { background: var(--vb-rojo-noche); }
.vb-ground-noche .vb-badge--favorito { background: var(--vb-crema); color: var(--vb-medianoche); }
.vb-badges { display: flex; flex-wrap: wrap; gap: 6px; }

/* Icons */
.vb-icon { width: 40px; height: 40px; flex: none; }

/* Cards */
.vb-card { background: var(--vb-blanco); border-radius: var(--vb-card-radius); padding: clamp(24px, 2.6vw, 36px); }

/* Photos: a gentle frame, and .vb-window (a framed photo with square corners; the site uses no arches). */
.vb-photo { position: relative; overflow: hidden; border-radius: var(--vb-card-radius); background: var(--vb-azul-20); }
.vb-photo img { width: 100%; height: 100%; object-fit: cover; }
.vb-window { position: relative; overflow: hidden; border-radius: var(--vb-radius); background: var(--vb-azul-20); }
.vb-window img { width: 100%; height: 100%; object-fit: cover; }

/* Reveal */
.js [data-reveal] { transition: opacity .9s var(--vb-ease) var(--reveal-delay, 0ms), transform .9s var(--vb-ease) var(--reveal-delay, 0ms); }
.js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(22px); }
.js [data-reveal="fade"]:not(.is-in) { transform: none; }

/* The picket fence */
.vb-fence { display: block; width: 100%; height: 40px; }

/* ===== Header ===== */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 100;
	color: var(--vb-crema);
	transition: background-color .3s, color .3s, box-shadow .3s;
}
.site-header__bar { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 40px); height: var(--vb-header-h); transition: height .3s var(--vb-ease); }
.site-header__brand { display: block; position: relative; flex: none; margin-right: auto; }
.site-header__logo { width: clamp(118px, 9.4vw, 136px); height: auto; transition: opacity .3s; }
.site-header__logo--azul { position: absolute; inset: 0; opacity: 0; }
.site-nav__list { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 44px); }
.site-nav__list a {
	position: relative; display: block; padding: 8px 0; text-decoration: none; white-space: nowrap;
	font: 600 17px/1.2 var(--vb-body);
}
.site-nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--vb-ease); }
.site-nav__list a:hover::after, .site-nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav__foot { display: none; }
.site-header__cta { min-height: 46px; padding: 12px 24px; font-size: 16px; background: var(--vb-crema); color: var(--vb-rojo); }
.vb--home .site-header__cta { color: var(--vb-rojo); }
body:not(.vb--home) .site-header__cta { color: var(--vb-azul-casa); }
.site-header__cta:hover { background: var(--vb-blanco); }
.site-header__toggle { display: none; }

.site-header.is-scrolled { background: var(--vb-crema); color: var(--vb-azul-casa); box-shadow: 0 1px 0 rgba(19, 35, 63, .08); }
.site-header.is-scrolled .site-header__bar { height: 70px; }
.site-header.is-scrolled .site-header__logo--cream { opacity: 0; }
.site-header.is-scrolled .site-header__logo--azul { opacity: 1; }
.site-header.is-scrolled .site-header__cta { background: var(--vb-rojo); color: var(--vb-crema); }
.site-header.is-scrolled .site-header__cta:hover { background: #A9172F; }

@media (max-width: 1023px) {
	:root { --vb-header-h: 72px; }
	.site-header__toggle {
		display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-right: -10px;
		background: none; border: 0; color: inherit; position: relative; z-index: 2;
	}
	.site-header__burger, .site-header__burger::before, .site-header__burger::after {
		display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--vb-ease), opacity .2s;
	}
	.site-header__burger { position: relative; }
	.site-header__burger::before, .site-header__burger::after { content: ""; position: absolute; left: 0; }
	.site-header__burger::before { top: -7px; }
	.site-header__burger::after { top: 7px; }
	.vb-nav-open .site-header__burger { background: transparent; }
	.vb-nav-open .site-header__burger::before { transform: translateY(7px) rotate(45deg); }
	.vb-nav-open .site-header__burger::after { transform: translateY(-7px) rotate(-45deg); }
	.site-header__cta { min-height: 40px; padding: 10px 16px; font-size: 15px; }
	.site-header__brand { z-index: 2; }

	.site-nav {
		position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: space-between;
		padding: calc(var(--vb-header-h) + 28px) var(--vb-gutter) 32px;
		background: var(--vb-azul-casa); color: var(--vb-crema);
		opacity: 0; visibility: hidden; transform: translateY(-12px);
		transition: opacity .3s, transform .35s var(--vb-ease), visibility 0s .35s;
		overflow-y: auto;
	}
	.site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .35s var(--vb-ease); }
	.site-nav__list { flex-direction: column; align-items: flex-start; gap: 4px; }
	.site-nav__list a { font: 400 clamp(36px, 9vw, 52px)/1.15 var(--vb-display); padding: 6px 0; }
	.site-nav__list a::after { display: none; }
	.site-nav__foot { display: grid; gap: 6px; font-size: 15px; opacity: .9; }
	.site-nav__foot img { width: 96px; margin-bottom: 10px; }
	.vb-nav-open .site-header { color: var(--vb-crema); background: transparent; box-shadow: none; }
	.vb-nav-open .site-header__logo--cream { opacity: 1; }
	.vb-nav-open .site-header__logo--azul { opacity: 0; }
	.vb-nav-open .site-header__cta { display: none; }
	.vb-nav-open body { overflow: hidden; }
}
@media (max-width: 420px) {
	.site-header__cta { padding: 9px 13px; font-size: 14px; }
	.site-header__logo { width: 108px; }
}

/* ===== Inner page head (Azul, cream type, scallop edge into Crema) ===== */
.page-head {
	position: relative; overflow: hidden;
	background: var(--vb-azul-casa); color: var(--vb-crema);
	padding: calc(var(--vb-header-h) + clamp(48px, 7vw, 104px)) 0 clamp(64px, 8vw, 120px);
}
.page-head__in { position: relative; z-index: 1; display: grid; gap: 18px; max-width: 820px; }
.page-head__title { font-size: var(--vb-h1); }
.page-head__intro { font-size: clamp(18px, 1.4vw, 21px); max-width: 56ch; opacity: .92; }
.page-head .vb-label { color: var(--vb-crema); opacity: .86; }
.page-head__palms { position: absolute; right: max(var(--vb-gutter), calc(50% - 620px)); bottom: 0; width: clamp(150px, 17vw, 250px); height: auto; opacity: .95; pointer-events: none; }
.page-head { overflow: visible; }
.page-head::after { /* the scallop edge: Azul half-rounds hanging into the Crema page */
	content: ""; position: absolute; left: 0; right: 0; bottom: -13px; height: 14px; z-index: 2; pointer-events: none;
	background: radial-gradient(circle at 50% 0, var(--vb-azul-casa) 6.5px, transparent 7.2px) 0 0 / 15px 14px repeat-x;
}
.page-head__clip { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.page-head .vb-btns { margin-top: 10px; }
@media (max-width: 999px) {
	.page-head__palms { display: none; }
}

/* ===== Shared blocks ===== */
/* Opening list band */
.vb-opening { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.vb-opening__copy { display: grid; gap: 16px; align-content: start; }
.vb-opening__title { font-size: var(--vb-h2); }
@media (max-width: 860px) { .vb-opening { grid-template-columns: 1fr; } }

/* Reserve band */
.vb-cta { position: relative; text-align: center; display: grid; justify-items: center; gap: 18px; }
.vb-cta__title { font-size: var(--vb-h2); max-width: 18ch; }
.vb-cta__body { max-width: 52ch; font-size: 18px; opacity: .92; }
.vb-cta__emblem { width: 120px; height: auto; margin-bottom: 8px; }

/* FAQ */
.vb-faq { display: grid; gap: 0; border-top: 1px solid var(--vb-azul-20); }
.vb-faq details { border-bottom: 1px solid var(--vb-azul-20); }
.vb-faq summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center;
	padding: 22px 0; font-family: var(--vb-display); font-size: clamp(21px, 1.7vw, 25px); line-height: 1.25; color: var(--vb-azul-casa);
}
.vb-faq summary::-webkit-details-marker { display: none; }
.vb-faq summary::after {
	content: ""; flex: none; width: 14px; height: 14px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: translateY(-4px) rotate(45deg); transition: transform .25s var(--vb-ease);
}
.vb-faq details[open] summary::after { transform: translateY(3px) rotate(225deg); }
.vb-faq__a { padding: 0 0 24px; max-width: 70ch; }

/* ===== Forms (Formidable) ===== */
.vb-form-card { background: var(--vb-blanco); border-radius: var(--vb-card-radius); padding: clamp(24px, 3vw, 40px); color: var(--vb-medianoche); }
.frm_forms .frm_primary_label { display: block; font: 700 13px/1.3 var(--vb-body); letter-spacing: .08em; text-transform: uppercase; color: var(--vb-azul-casa); margin-bottom: 8px; }
.frm_forms .frm_required { color: var(--vb-rojo); }
.frm_forms input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), .frm_forms select, .frm_forms textarea {
	min-height: 52px; padding: 13px 14px; border: 1.5px solid var(--vb-azul-40); border-radius: var(--vb-radius);
	background: var(--vb-crema); color: var(--vb-medianoche); font-size: 16px; transition: border-color .2s, background-color .2s;
}
.frm_forms textarea { min-height: 120px; resize: vertical; }
.frm_forms input:focus, .frm_forms select:focus, .frm_forms textarea:focus { outline: none; border-color: var(--vb-azul-casa); background: var(--vb-blanco); box-shadow: 0 0 0 3px var(--vb-azul-20); }
.frm_forms select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--vb-azul-casa) 50%), linear-gradient(135deg, var(--vb-azul-casa) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.frm_forms .frm_checkbox label { padding: 9px 14px; border: 1.5px solid var(--vb-azul-20); border-radius: 999px; font-size: 15px; font-weight: 600; background: var(--vb-crema); transition: border-color .2s, background-color .2s; }
.frm_forms .frm_checkbox label:has(input:checked) { border-color: var(--vb-azul-casa); background: var(--vb-azul-10); }
.frm_forms .frm_checkbox input { accent-color: var(--vb-azul-casa); width: 16px; height: 16px; }
.frm_forms .frm_error, .frm_forms .frm_error_style { color: var(--vb-rojo); font-weight: 600; }
.frm_forms .frm_submit button, .frm_forms .frm_submit input[type="submit"] { margin-top: 6px; }
.frm_message, .frm_forms .frm_message { padding: 20px 22px; border-radius: var(--vb-card-radius); background: var(--vb-azul-10); color: var(--vb-azul-casa); font-weight: 600; }
.vb-form-fallback { font-size: 18px; }

/* ===== Footer ===== */
.site-footer { position: relative; overflow: hidden; background: var(--vb-azul-casa); color: var(--vb-crema); padding-top: clamp(64px, 8vw, 112px); }
.site-footer::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: url("../brand/pattern_techos_crema.svg") center / 900px auto repeat; opacity: .06;
}
.site-footer__in { position: relative; display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: clamp(32px, 4vw, 64px); padding-bottom: clamp(48px, 6vw, 80px); }
.site-footer__brand img { width: clamp(200px, 19vw, 270px); height: auto; }
.site-footer__tagline { margin-top: 22px; font-family: var(--vb-display); font-size: clamp(21px, 1.6vw, 24px); line-height: 1.3; max-width: 20ch; }
.site-footer__col { display: grid; gap: 14px; align-content: start; font-size: 16px; }
.site-footer__col .vb-label { opacity: .7; }
.site-footer address { font-style: normal; }
.site-footer a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(248, 243, 233, .3); transition: border-color .2s; }
.site-footer a:hover { border-color: var(--vb-crema); }
.site-footer__hours { display: grid; gap: 8px; }
.site-footer__hours div { display: grid; gap: 0; }
.site-footer__hours dt { font-weight: 700; }
.site-footer__hours dd { margin: 0; opacity: .85; }
.site-footer__status { font-weight: 700; color: var(--vb-luz); }
.site-footer__links { display: grid; gap: 8px; }
.site-footer__links a { border-bottom-color: transparent; }
.site-footer__ig { display: inline-flex !important; align-items: center; gap: 10px; border: 0 !important; font-weight: 700; margin-top: 6px; }
.site-footer__ig .vb-icon { width: 24px; height: 24px; }
.site-footer__base {
	position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
	padding-block: 22px 26px; border-top: 1px solid rgba(248, 243, 233, .18); font-size: 14px; opacity: .82;
	padding-right: calc(var(--vb-gutter) + clamp(90px, 10vw, 150px));
}
.site-footer__palms { position: absolute; right: max(12px, calc(50% - 660px)); bottom: 40px; width: clamp(90px, 10vw, 150px); height: auto; opacity: .9; pointer-events: none; }
.site-footer .vb-fence { position: relative; }
@media (max-width: 960px) {
	.site-footer__in { grid-template-columns: 1fr 1fr; }
	.site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
	.site-footer__in { grid-template-columns: 1fr; }
	.site-footer__palms { width: 80px; opacity: .5; }
}

/* ===== Basic pages (privacy, posts) ===== */
.vb-prose { max-width: 72ch; }
.vb-prose h2 { font-size: clamp(28px, 2.4vw, 36px); margin: 1.6em 0 .5em; color: var(--vb-azul-casa); }
.vb-prose h3 { font-size: clamp(22px, 1.8vw, 26px); margin: 1.4em 0 .4em; }
.vb-prose p, .vb-prose ul, .vb-prose ol { margin-bottom: 1em; }
.vb-prose ul, .vb-prose ol { padding-left: 1.2em; }
.vb-prose a { color: var(--vb-azul-casa); }

/* ===== Motion from the logo's parts (assets/js/motion.js adds .vb-motion; nothing moves without it) ===== */
@keyframes vb-sway { 0%, 100% { transform: rotate(-1.6deg); } 50% { transform: rotate(1.8deg); } }
@keyframes vb-fence-build { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes vb-rule-draw { from { clip-path: inset(0 50% 0 50%); } to { clip-path: inset(0 0 0 0); } }
@keyframes vb-pop { 0% { opacity: 0; transform: scale(.6) translateY(10px); } 70% { opacity: 1; transform: scale(1.06); } 100% { opacity: 1; transform: none; } }

/* Fences build picket by picket (stepped reveal, about one picket per step). */
.vb-motion .vb-fence:not(.is-built) { clip-path: inset(0 100% 0 0); }
.vb-motion .vb-fence.is-built { animation: vb-fence-build 1.5s steps(48, end) both; }

/* Roof rules draw out from the peak when their section head reveals. */
.vb-motion [data-reveal]:not(.is-in) .vb-roof-rule { clip-path: inset(0 50% 0 50%); }
.vb-motion [data-reveal].is-in .vb-roof-rule { animation: vb-rule-draw .9s var(--vb-ease) .25s both; }

/* Palm pairs (page heads, footer) sway and lean with the scroll. */
.vb-motion .page-head__palms, .vb-motion .site-footer__palms {
	transform-origin: 50% 100%;
	rotate: var(--vb-lean, 0deg);
	animation: vb-sway 6s ease-in-out infinite;
}
.vb-motion .site-footer__palms { animation-duration: 7.5s; animation-delay: -2s; }

/* Emblems and seals pop in. */
.vb-motion [data-pop]:not(.is-popped) { opacity: 0; }
.vb-motion [data-pop].is-popped { animation: vb-pop .8s var(--vb-ease) both; }

/* ===== La bandera: quiet Dominican flag details (client pick, 26 Nov 2026) =====
   The flag's quarters and white cross, used sparingly: the hem at the top of the site and
   the foot of the footer, the cross divider under section titles, one flag tag on the house
   photo and the menu cards, a quarter mark beside a few labels. No coat of arms, ever. */
.vb-quarter {
	display: inline-block; flex: none; width: 12px; height: 12px; border-radius: 1px; vertical-align: -1px;
	background:
		linear-gradient(#FFF, #FFF) 50% 50% / 100% 2px no-repeat,
		linear-gradient(#FFF, #FFF) 50% 50% / 2px 100% no-repeat,
		conic-gradient(var(--vb-rojo) 0 25%, var(--vb-azul-casa) 0 50%, var(--vb-rojo) 0 75%, var(--vb-azul-casa) 0);
}
.vb-ground-noche .vb-quarter, .vb-ground-azul .vb-quarter, .page-head .vb-quarter, .hero .vb-quarter { box-shadow: 0 0 0 1.5px var(--vb-crema); }
.vb-label--quarter, .hero__label { display: inline-flex; align-items: center; gap: 10px; }
.hero__label { justify-content: center; }

.vb-hem {
	display: block; width: 100%; height: 8px;
	background:
		linear-gradient(#FFF, #FFF) 50% 50% / 100% 2px no-repeat,
		linear-gradient(#FFF, #FFF) 50% 0 / 8px 100% no-repeat,
		linear-gradient(90deg, var(--vb-azul-casa) 50%, var(--vb-rojo) 50%) 0 0 / 100% 3px no-repeat,
		linear-gradient(90deg, var(--vb-rojo) 50%, var(--vb-azul-casa) 50%) 0 100% / 100% 3px no-repeat;
}
.site-header__hem { position: absolute; inset: 0 0 auto; z-index: 3; }
.site-footer__hem { position: relative; }

.vb-crossrule { display: flex; align-items: center; gap: 8px; width: min(240px, 72%); margin-top: 18px; }
.vb-crossrule > span:not(.vb-quarter) { flex: 1; height: 2px; background: var(--vb-azul-casa); }
.vb-crossrule > span:last-child { background: var(--vb-rojo); }
.vb-center .vb-crossrule { margin-inline: auto; }
.vb-ground-noche .vb-crossrule > span:not(.vb-quarter), .vb-ground-azul .vb-crossrule > span:not(.vb-quarter) { background: var(--vb-azul-40); }
.vb-ground-noche .vb-crossrule > span:last-child, .vb-ground-azul .vb-crossrule > span:last-child { background: var(--vb-rojo-noche); }

.vb-flag { display: inline-block; flex: none; height: auto; }
.vb-flag--tag { position: absolute; top: 0; right: clamp(16px, 2.4vw, 32px); z-index: 2; box-shadow: 0 2px 5px rgba(19, 35, 63, .3); }
.menu-peek__card, .menu-note__in { position: relative; }

.vb-motion [data-reveal]:not(.is-in) .vb-crossrule { clip-path: inset(0 50% 0 50%); }
.vb-motion [data-reveal].is-in .vb-crossrule { animation: vb-rule-draw .9s var(--vb-ease) .25s both; }

/* More scroll motion (26 Nov): photo drift and growing footer palms. */
.vb-motion .vb-drift { scale: 1.1; translate: 0 var(--vb-drift, 0px); will-change: translate; }
@keyframes vb-grow { from { scale: 1 .08; opacity: 0; } 50% { opacity: 1; } }
.vb-motion .site-footer__palms:not(.is-grown) { scale: 1 .08; opacity: 0; }
.vb-motion .site-footer__palms.is-grown { animation: vb-grow 1.2s cubic-bezier(.3, 1.3, .5, 1) both, vb-sway 7.5s ease-in-out 1.2s infinite; }
.vb-motion .page-head__palms { animation: vb-grow 1.2s cubic-bezier(.3, 1.3, .5, 1) .2s both, vb-sway 6s ease-in-out 1.4s infinite; }
