/*
 * The chrome without Elementor (native.php, plan W13): header, Haciendas panel, dropdowns, drawer and the footer's newsletter
 * + © row, on the site's own markup. Loads after rmh-chrome.css and reuses its tokens (body.rmh-chrome: --c-*), buttons,
 * footer band, breadcrumb row, scrim and paid-lander pieces; what was drawn over Elementor's widgets is redrawn here for the
 * same look (baseline shots marketing/reports/2026-10-26/chrome-native/baseline/). Everything hangs off
 * body.rmh-chrome-native. px only (html is 10 px). Motion: transform and opacity only, none under reduced motion.
 */

body.rmh-chrome-native { --n-panel-shadow: 0 30px 50px -30px rgba(35, 31, 32, .35); --n-line: rgba(222, 213, 204, .18); }

/* resets against the theme's button / list / link rules; :where() keeps them under every component rule below */
body.rmh-chrome-native :where(.rmh-hdr, .rmh-ftr-base) :where(ul, ol):not(#_) { margin: 0; padding: 0; list-style: none; }
body.rmh-chrome-native :where(.rmh-hdr, .rmh-ftr-base) button:not(#_) {
	-webkit-appearance: none; appearance: none; margin: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
	color: inherit; font: inherit; letter-spacing: 0; text-transform: none; text-align: left; cursor: pointer;
}
body.rmh-chrome-native .rmh-hdr a:not(#_) { text-decoration: none; }
body.rmh-chrome-native .rmh-hdr :is(a, button):focus-visible:not(#_) { outline: 2px solid var(--c-ink); outline-offset: 3px; }

/* ---------- The bar ---------- */
body.rmh-chrome-native .rmh-hdr { position: relative; z-index: 999; display: block; background: #fff; }
body.rmh-chrome-native .rmh-hdr__slot { min-height: calc(var(--c-header) + 1px); }
body.rmh-chrome-native .rmh-hdr__bar {
	position: relative; display: flex; align-items: center; gap: var(--c-nav-col-gap); box-sizing: border-box; min-height: calc(var(--c-header) + 1px);
	padding: 0 30px 0 15px; background: #fff; border-bottom: 1px solid var(--c-sand);
}
body.rmh-chrome-native .rmh-hdr__logo { display: inline-flex; flex: none; align-items: center; }
body.rmh-chrome-native .rmh-hdr__end { display: flex; flex: none; align-items: center; gap: 10px; margin-left: auto; }
body.rmh-chrome-native .rmh-hdr__cta:not(#_) { background: var(--c-ink); color: #fff; padding: 0 24px; }
body.rmh-chrome-native .rmh-hdr__cta:not(#_):hover { background: #000; color: #fff; }

/* ---------- Desktop row: one door per product (1100 px +) ---------- */
body.rmh-chrome-native .rmh-nav { display: flex; flex: 1 1 0; justify-content: center; min-width: 0; }
body.rmh-chrome-native .rmh-nav__list { display: flex; flex-wrap: nowrap; align-items: center; gap: 2px; }
body.rmh-chrome-native .rmh-nav__item:not(.rmh-nav__item--mega) { position: relative; }
body.rmh-chrome-native .rmh-nav__door:not(#_) {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--c-nav-pad); border-radius: 999px;
	font: 500 var(--c-nav-size)/1 var(--c-sans); color: var(--c-ink); white-space: nowrap; transition: background-color .2s, color .2s;
}
body.rmh-chrome-native .rmh-nav__door:is(:hover, :focus-visible, [aria-expanded="true"], [aria-current]):not(#_) { background: var(--c-cream); color: var(--c-taupe-deep); }
/* the flagship dot before "Haciendas" */
body.rmh-chrome-native .rmh-nav__item--mega > .rmh-nav__door::before {
	content: ""; flex: none; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--c-taupe);
}
body.rmh-chrome-native .rmh-nav__caret {
	flex: none; width: 6px; height: 6px; margin: -3px 2px 0 calc(var(--c-nav-arrow-gap) + 2px); border: solid currentColor;
	border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .2s var(--c-ease);
}
body.rmh-chrome-native .rmh-nav__door[aria-expanded="true"] .rmh-nav__caret { transform: translateY(3px) rotate(-135deg); }

/* plain dropdowns (Weddings & events, Destinations, About) */
body.rmh-chrome-native .rmh-nav__panel {
	position: absolute; top: calc(100% + 6px); left: 0; z-index: 1000; min-width: 260px; box-sizing: border-box; padding: 8px;
	background: #fff; border: 1px solid var(--c-sand); border-radius: 12px; box-shadow: 0 24px 48px -24px rgba(35, 31, 32, .3);
}
body.rmh-chrome-native .rmh-nav__panel[hidden] { display: none; }
body.rmh-chrome-native .rmh-nav__sub:not(#_) {
	display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 8px; font: 500 15px/1.2 var(--c-sans);
	color: var(--c-ink); white-space: nowrap;
}
body.rmh-chrome-native .rmh-nav__sub:is(:hover, :focus-visible, [aria-current]):not(#_) { background: var(--c-cream); color: var(--c-taupe-deep); }
body.rmh-chrome-native .rmh-nav-all > .rmh-nav__sub:not(#_) { color: var(--c-taupe-deep); }

/* the Haciendas panel: the four houses in their façades + the estate links, full width under the bar */
body.rmh-chrome-native .rmh-nav__panel--mega:not(#_) {
	top: 100%; right: 0; min-width: 0; padding: 28px max(var(--c-gutter), calc((100% - 1328px) / 2)) 32px; border-width: 0 0 1px;
	border-radius: 0; box-shadow: var(--n-panel-shadow);
}
body.rmh-chrome-native .rmh-nav__panel--mega > ul {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(240px, 1.25fr); gap: 0 20px;
	/* intro row, then up to 8 side links one under the other (as many as are live), then the slack: the houses span it all */
	grid-template-rows: auto repeat(8, auto) 1fr;
}
body.rmh-chrome-native .rmh-nav__panel--mega .rmh-nav-intro { grid-column: 1 / -1; grid-row: 1; }
body.rmh-chrome-native .rmh-nav__panel--mega .rmh-nav-house { grid-row: 2 / -1; }
body.rmh-chrome-native .rmh-nav__panel--mega .rmh-nav-side { grid-column: 5; padding-left: 28px; border-left: 1px solid var(--c-sand); }
body.rmh-chrome-native .rmh-nav-intro > .rmh-nav__sub:not(#_) {
	flex-wrap: wrap; align-items: baseline; gap: 6px 24px; min-height: 44px; margin: 0 0 14px; padding: 0 12px; border-radius: 0;
	background: transparent; white-space: normal;
}
body.rmh-chrome-native .rmh-nav-intro .rmh-nav-name:not(#_) { font: 400 28px/1.15 var(--c-serif); color: var(--c-ink); }
body.rmh-chrome-native .rmh-nav-intro .rmh-nav-name em { font-style: italic; color: var(--c-taupe-deep); }
body.rmh-chrome-native .rmh-nav-intro .rmh-nav-meta::after { content: "→"; margin-left: 10px; color: var(--c-taupe-deep); }
body.rmh-chrome-native .rmh-nav-intro > a:hover .rmh-nav-name:not(#_) { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
body.rmh-chrome-native .rmh-nav-house > .rmh-nav__sub:not(#_) {
	display: grid; align-content: start; gap: 10px; padding: 12px; border-radius: 12px; white-space: normal;
}
body.rmh-chrome-native .rmh-nav-house > .rmh-nav__sub:hover:not(#_) { background: transparent; }
body.rmh-chrome-native .rmh-nav__panel .rmh-nav-photo {
	display: block; width: min(100%, 168px); aspect-ratio: 119 / 193; overflow: hidden; background: var(--c-cream);
	-webkit-mask: var(--facade) center / 100% 100% no-repeat; mask: var(--facade) center / 100% 100% no-repeat;
}
body.rmh-chrome-native .rmh-nav__panel .rmh-nav-photo :is(picture, img) { display: block; width: 100%; height: 100%; }
body.rmh-chrome-native .rmh-nav__panel .rmh-nav-photo img { object-fit: cover; transition: transform .6s var(--c-ease); }
body.rmh-chrome-native .rmh-nav-house > a:hover .rmh-nav-photo img { transform: scale(1.04); }
body.rmh-chrome-native .rmh-nav__panel .rmh-nav-house .rmh-nav-name:not(#_) { font: 400 17px/1.2 var(--c-serif); letter-spacing: .08em; text-transform: uppercase; color: var(--c-ink); }
body.rmh-chrome-native .rmh-nav-side > .rmh-nav__sub:not(#_) {
	justify-content: space-between; gap: 12px; min-height: 44px; padding: 0; border-radius: 0; background: transparent;
	font-size: 16px; white-space: normal;
}
body.rmh-chrome-native .rmh-nav-side > .rmh-nav__sub:hover:not(#_) { color: var(--c-taupe-deep); }
body.rmh-chrome-native .rmh-nav-side > .rmh-nav__sub::after { content: "→"; margin-left: 8px; color: var(--c-taupe-deep); }

/* ---------- Menu button + drawer (below 1100 px) ---------- */
body.rmh-chrome-native .rmh-hdr__menu:not(#_) { display: none; }
body.rmh-chrome-native .rmh-drawer[hidden] { display: none; }

@media (max-width: 1099px) {
	body.rmh-chrome-native .rmh-hdr__bar { padding-inline: 24px; }
	body.rmh-chrome-native :is(.rmh-nav, .rmh-hdr__cta:not(.rmh-chrome-paid__cta)) { display: none; }
	body.rmh-chrome-native .rmh-hdr__end { gap: 8px; }

	/* the Menu button: an outline pill that says what it does (the one ink pill on screen is the booking action) */
	body.rmh-chrome-native .rmh-hdr__menu:not(#_) {
		display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border: 1px solid var(--c-sand);
		border-radius: 999px; background: #fff; color: var(--c-ink); font: 600 15px/1 var(--c-sans); transition: border-color .2s;
	}
	body.rmh-chrome-native .rmh-hdr__menu:not(#_):hover { border-color: var(--c-ink); }
	body.rmh-chrome-native .rmh-hdr__burger { position: relative; width: 16px; height: 12px; border-block: 1.5px solid currentColor; box-sizing: border-box; }
	body.rmh-chrome-native .rmh-hdr__burger::before {
		content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor;
	}
	body.rmh-chrome-native .rmh-hdr__menu[aria-expanded="true"] .rmh-hdr__burger { height: 16px; border: 0; }
	body.rmh-chrome-native .rmh-hdr__menu[aria-expanded="true"] .rmh-hdr__burger::before { transform: rotate(45deg); }
	body.rmh-chrome-native .rmh-hdr__menu[aria-expanded="true"] .rmh-hdr__burger::after {
		content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; transform: rotate(-45deg);
	}

	/* open: the bar holds the top of the screen and the sheet fills the rest; the page behind stays still (native.js) */
	html.rmh-drawer-open, html.rmh-drawer-open body.rmh-chrome-native { overflow: hidden !important; }
	/* :not(#_): wins over the parked header (rmh-hdr-fixed) when the drawer opens mid-page on a tablet */
	html.rmh-drawer-open body.rmh-chrome-native .rmh-hdr__bar:not(#_) { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transform: none; box-shadow: none; }
	body.rmh-chrome-native .rmh-drawer {
		position: fixed; top: calc(var(--c-header) + 1px); bottom: 0; left: 0; right: 0; z-index: 999; display: flex; flex-direction: column;
		overflow-y: auto; overscroll-behavior: contain; background: #fff; box-shadow: 0 30px 50px -30px rgba(35, 31, 32, .4);
	}
	body.rmh-chrome-native .rmh-drawer > nav { flex: none; }
	body.rmh-chrome-native .rmh-drawer__list { padding: 4px 20px 0 !important; }
	body.rmh-chrome-native .rmh-drawer__item { border-bottom: 1px solid var(--c-sand); }
	body.rmh-chrome-native .rmh-drawer__door:not(#_) {
		display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 60px; padding: 0;
		font: 400 23px/1.1 var(--c-serif); color: var(--c-ink);
	}
	body.rmh-chrome-native a.rmh-drawer__door::after { content: "→"; font: 400 16px/1 var(--c-sans); color: var(--c-taupe-deep); }
	body.rmh-chrome-native .rmh-drawer__caret {
		flex: none; width: 8px; height: 8px; margin-right: 4px; border: solid var(--c-taupe-deep); border-width: 0 1.5px 1.5px 0;
		transform: translateY(-3px) rotate(45deg); transition: transform .2s var(--c-ease);
	}
	body.rmh-chrome-native .rmh-drawer__door[aria-expanded="true"] .rmh-drawer__caret { transform: translateY(2px) rotate(-135deg); }
	body.rmh-chrome-native .rmh-drawer__sub-list { padding: 0 0 14px !important; }
	body.rmh-chrome-native .rmh-drawer__sub-list[hidden] { display: none; }
	body.rmh-chrome-native .rmh-drawer__sub:not(#_) {
		display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; padding: 0 2px;
		font: 500 16px/1.2 var(--c-sans); color: var(--c-ink);
	}
	body.rmh-chrome-native .rmh-drawer__sub[aria-current]:not(#_) { color: var(--c-taupe-deep); }
	body.rmh-chrome-native .rmh-drawer .rmh-nav-meta:not(#_) { white-space: nowrap; font-size: 14px; color: var(--c-ink-soft); }
	body.rmh-chrome-native .rmh-drawer .rmh-nav-all > .rmh-drawer__sub:not(#_) { color: var(--c-taupe-deep); }
	/* each hacienda's façade beside its name, outlined like the logo's portals */
	body.rmh-chrome-native .rmh-drawer .rmh-nav-house > .rmh-drawer__sub:not(#_) { justify-content: flex-start; }
	body.rmh-chrome-native .rmh-drawer .rmh-nav-house .rmh-nav-name { margin-right: auto; }
	body.rmh-chrome-native .rmh-drawer .rmh-nav-portal {
		position: relative; display: block; flex: none; width: 16px; aspect-ratio: 119 / 193; background: var(--c-taupe-deep);
		-webkit-mask: var(--facade) center / 100% 100% no-repeat; mask: var(--facade) center / 100% 100% no-repeat;
	}
	body.rmh-chrome-native .rmh-drawer .rmh-nav-portal::after {
		content: ""; position: absolute; inset: 1.25px; background: #fff;
		-webkit-mask: var(--facade) center / 100% 100% no-repeat; mask: var(--facade) center / 100% 100% no-repeat;
	}
	body.rmh-chrome-native .rmh-drawer .rmh-chrome-drawer-extras { margin-top: auto; }
}
@media (min-width: 768px) and (max-width: 1099px) {
	body.rmh-chrome-native .rmh-hdr__bar { padding-inline: var(--c-gutter); }
}
@media (min-width: 600px) and (max-width: 1099px) {
	/* tablets: the sheet is a panel at the right edge, under the Menu button, over the dimmed page (rmh-chrome.css scrim) */
	body.rmh-chrome-native .rmh-drawer { left: auto; width: min(440px, 100%); border-left: 1px solid var(--c-sand); border-radius: 0 0 0 12px; }
}
@media (max-width: 359px) {
	body.rmh-chrome-native .rmh-hdr__menu:not(#_) { width: 44px; padding: 0; justify-content: center; }
	body.rmh-chrome-native .rmh-hdr__menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

/* one WhatsApp per screen: none in the header on phones; where a phone bar carries it (listing booking bar up to 1024 px), the
   circle goes */
@media (max-width: 767px) {
	body.rmh-chrome-native .rmh-hdr .rmh-chrome-wa { display: none; }
}
@media (max-width: 1024px) {
	body.rmh-chrome-native:has(.overlay-booking-btn) .rmh-hdr .rmh-chrome-wa { display: none; }
}

/* ---------- The header comes back on scroll-up, from 768 px (native.js; same classes as rmh-chrome.js) ---------- */
@media (min-width: 768px) {
	html.rmh-hdr-fixed body.rmh-chrome-native .rmh-hdr__slot { min-height: var(--rmh-hdr-slot, calc(var(--c-header) + 1px)); }
	html.rmh-hdr-fixed body.rmh-chrome-native .rmh-hdr__bar { position: fixed; top: 0; left: 0; right: 0; z-index: 999; transform: translateY(calc(-100% - 2px)); }
	html.rmh-hdr-fixed.rmh-hdr-peek body.rmh-chrome-native .rmh-hdr__bar { transform: none; box-shadow: 0 14px 28px -22px rgba(35, 31, 32, .45); }
	html.rmh-hdr-anim body.rmh-chrome-native .rmh-hdr__bar { transition: transform .32s var(--c-ease), box-shadow .32s var(--c-ease); }
}
@media (min-width: 1100px) {
	html.rmh-hdr-fixed body.rmh-chrome-native .rmh-hdr__cta:not(#_) { min-height: 40px; }
	html.rmh-hdr-fixed body.rmh-chrome-native .rmh-hdr .rmh-chrome-wa:not(#_) { width: 40px; height: 40px; }
}

/* ---------- Paid landers: logo · WhatsApp · one CTA, no nav (paid.php) ---------- */
body.rmh-chrome-native.rmh-chrome-paid .rmh-hdr__logo { cursor: default; }

/* ---------- Footer: newsletter + the © row, under the directory band (native-footer.php) ---------- */
body.rmh-chrome-native .rmh-site-ftr { display: block; margin: 0; padding: 0; }
body.rmh-chrome-native .rmh-ftr-base { background: var(--c-ink); color: var(--c-sand); font-family: var(--c-sans); }
body.rmh-chrome-native .rmh-ftr-base a:not(#_) { color: rgba(222, 213, 204, .85); text-decoration: none; }
body.rmh-chrome-native .rmh-ftr-base a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 2px; }

body.rmh-chrome-native .rmh-nl {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); align-items: center; gap: 16px 32px; padding: 28px 0;
	border-top: 1px solid var(--n-line);
}
body.rmh-chrome-native .rmh-nl__title:not(#_) {
	margin: 0 0 22px; font: 600 12px/1.4 var(--c-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--c-taupe);
}
body.rmh-chrome-native .rmh-nl__line:not(#_) { margin: 0; font: 400 15px/1.5 var(--c-sans); color: var(--c-sand); }
body.rmh-chrome-native .rmh-nl__form { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; margin: 0; }
body.rmh-chrome-native .rmh-nl__field { display: flex; flex: 1 1 200px; flex-direction: column; min-width: 0; }
body.rmh-chrome-native .rmh-nl__field label:not(#_) { margin: 0 0 6px; font: 500 14px/18px var(--c-sans); color: var(--c-sand); }
body.rmh-chrome-native .rmh-nl__field input:not(#_) {
	box-sizing: border-box; width: 100%; height: 48px; margin: 0; padding: 0 14px; border: 1px solid rgba(222, 213, 204, .55);
	border-radius: 6px; background: transparent; box-shadow: none; color: #fff; font: 400 16px/1 var(--c-sans);
}
body.rmh-chrome-native .rmh-nl__field input:focus-visible:not(#_) { border-color: #fff; outline: 2px solid #fff; outline-offset: 2px; }
body.rmh-chrome-native .rmh-nl__field input[aria-invalid="true"]:not(#_) { border-color: var(--c-error-on-ink); }
body.rmh-chrome-native .rmh-nl__submit:not(#_) {
	flex: none; height: 48px; padding: 0 24px; border-radius: 999px; background: #fff; color: var(--c-ink); font: 600 16px/1 var(--c-sans);
	text-align: center; transition: background-color .2s, transform .15s;
}
body.rmh-chrome-native .rmh-nl__submit:not(#_):hover { background: var(--c-sand); }
body.rmh-chrome-native .rmh-nl__submit:not(#_):active { transform: scale(.98); }
body.rmh-chrome-native .rmh-nl__submit:focus-visible:not(#_) { outline: 2px solid #fff; outline-offset: 3px; }
body.rmh-chrome-native .rmh-nl__submit[aria-busy="true"]:not(#_) { opacity: .7; cursor: progress; }
body.rmh-chrome-native .rmh-nl__msg:not(#_) { flex: 1 1 100%; margin: 4px 0 0; font: 500 14px/1.4 var(--c-sans); color: var(--c-sand); }
body.rmh-chrome-native .rmh-nl__msg[data-state="error"]:not(#_) { color: var(--c-error-on-ink); }
body.rmh-chrome-native .rmh-nl__msg[hidden] { display: none; }
body.rmh-chrome-native .rmh-nl__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

body.rmh-chrome-native .rmh-ftr-base__end {
	display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; padding: 20px 0 28px; border-top: 1px solid var(--n-line);
}
body.rmh-chrome-native .rmh-ftr-base__copy { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; min-width: 0; font-size: 13px; }
body.rmh-chrome-native .rmh-ftr-base__copy p:not(#_) { margin: 0; font: 400 13px/1.5 var(--c-sans); color: rgba(222, 213, 204, .85); }
body.rmh-chrome-native .rmh-ftr-base .rmh-ftr__legal a:not(#_) { font: 400 13px/1.3 var(--c-sans); }
body.rmh-chrome-native .rmh-ftr-base__social { display: flex; flex: none; gap: 16px; margin-right: -10px !important; }
body.rmh-chrome-native .rmh-ftr-base__social a:not(#_) { display: inline-grid; place-items: center; width: 44px; height: 44px; color: var(--c-sand); }
body.rmh-chrome-native .rmh-ftr-base__social a:hover:not(#_) { color: #fff; }
body.rmh-chrome-native .rmh-ftr-base__social svg { width: 24px; height: 24px; fill: currentColor; }
/* the chat pill (rmh-chat-launcher, fixed, bottom 24 px) clears the last row */
html.rmh-talk-ready body.rmh-chrome-native .rmh-ftr-base__end { padding-bottom: 96px; }

@media (max-width: 767px) {
	body.rmh-chrome-native .rmh-nl { grid-template-columns: 1fr; gap: 8px; }
	body.rmh-chrome-native .rmh-nl__title:not(#_) { margin-bottom: 10px; }
	body.rmh-chrome-native .rmh-nl__form { margin-top: 8px; }
	body.rmh-chrome-native .rmh-nl__field { flex-basis: 100%; }
	body.rmh-chrome-native .rmh-nl__submit:not(#_) { flex: 1 1 100%; }
	/* stacked and centred: the socials above the © line and the fine print */
	body.rmh-chrome-native .rmh-ftr-base__end { flex-direction: column-reverse; text-align: center; }
	body.rmh-chrome-native .rmh-ftr-base__copy { justify-content: center; }
	body.rmh-chrome-native .rmh-ftr-base__social { margin-right: 0 !important; }
	html.rmh-talk-ready body.rmh-chrome-native .rmh-ftr-base__end { padding-bottom: 80px; }
}

@media (prefers-reduced-motion: reduce) {
	body.rmh-chrome-native :is(.rmh-nav__door, .rmh-nav__caret, .rmh-drawer__caret, .rmh-hdr__menu, .rmh-nl__submit, .rmh-nav-photo img) { transition: none !important; }
	body.rmh-chrome-native .rmh-nav-house > a:hover .rmh-nav-photo img { transform: none; }
	html.rmh-hdr-anim body.rmh-chrome-native .rmh-hdr__bar { transition: none; }
}
