/*
Theme Name: Pompano Breeze
Theme URI: https://pompanobreeze.com
Description: Custom theme for Pompano Breeze Vacation Rentals, Pompano Beach, FL.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: pompano-breeze
*/

/* ---------- Tokens ---------- */
:root {
	--navy: #013F73;
	--brand-navy: #005195;
	--sky: #00AEEF;
	--yellow: #F5EE30;
	--coral: #D9432F;
	--coral-hover: #C23826;
	--white: #FFFFFF;
	--sand: #F7F4EC;
	--ink: #013F73;
	--ink-soft: #353C3F;
	--muted: #5F5D58;
	--line: #E4E3DE;
	--radius: 12px;
	--radius-lg: 16px;
	--shadow: 0 18px 40px -18px rgba(1, 35, 66, .45);
	--display: "Barlow Condensed", "Arial Narrow", sans-serif;
	--body: "Barlow", "Helvetica Neue", Arial, sans-serif;
	--wrap: 1200px;
	--gutter: 24px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--body);
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink-soft);
	background: var(--white);
	overflow-x: hidden;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-navy); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 {
	font-family: var(--display);
	font-weight: 700;
	color: var(--navy);
	line-height: 1.04;
	margin: 0 0 .4em;
	letter-spacing: -.005em;
}
h1 { font-size: clamp(44px, 6vw, 80px); letter-spacing: -.01em; }
h2 { font-size: clamp(34px, 4vw, 52px); }
h3 { font-size: clamp(24px, 2.2vw, 30px); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text, .sr-only {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed; top: 12px; left: 12px; z-index: 1000; width: auto; height: auto; clip: auto;
	background: var(--yellow); color: var(--navy); padding: 10px 16px; font-weight: 600; border-radius: 8px;
}
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.icon { width: 1em; height: 1em; flex: none; }

/* ---------- Buttons ---------- */
.btn, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 48px; padding: 12px 26px;
	border-radius: 999px; border: 0;
	font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: .01em;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: transform .25s ease, box-shadow .25s ease, background-color .2s ease;
}
.btn-yellow, .is-style-yellow .wp-block-button__link, .btn-secondary .wp-block-button__link { background: var(--yellow); color: var(--navy); }
.btn-yellow:hover, .btn-secondary .wp-block-button__link:hover { color: var(--navy); background: #fff650; }
.btn-coral, .btn-primary .wp-block-button__link { background: var(--coral); color: #fff; }
.btn-coral:hover, .btn-primary .wp-block-button__link:hover { color: #fff; background: var(--coral-hover); }
.btn-sm { min-height: 40px; padding: 8px 20px; font-size: 18px; }
.sonic-cta-hover:hover, .btn:hover, .wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(1, 35, 66, .55); }

/* Brush underline under headings */
.brush {
	padding-bottom: .16em;
	background: url("assets/images/brush.svg") no-repeat left bottom / 100% .26em;
	-webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--navy); color: #fff;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { position: relative; display: block; width: 132px; align-self: flex-start; margin-top: 6px; z-index: 2; }
.brand img { width: 132px; height: auto; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .25)); }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.primary-nav a { color: #fff; font-family: var(--display); font-weight: 600; font-size: 20px; text-decoration: none; }
.primary-nav a:hover, .primary-nav .current-menu-item a { color: var(--yellow); }
.nav-phone { color: var(--yellow) !important; font-family: var(--display); font-weight: 700; font-size: 21px; text-decoration: none; white-space: nowrap; }
.menu-toggle {
	display: none; background: transparent; border: 2px solid rgba(255, 255, 255, .5); color: #fff;
	border-radius: 10px; width: 48px; height: 44px; align-items: center; justify-content: center; cursor: pointer;
}
.menu-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: clamp(560px, 78vh, 760px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--navy); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(90deg, rgba(1, 30, 58, .66) 0%, rgba(1, 30, 58, .38) 42%, rgba(1, 30, 58, 0) 70%),
	            linear-gradient(0deg, rgba(1, 30, 58, .45) 0%, rgba(1, 30, 58, 0) 35%);
}
.hero .wrap { position: relative; z-index: 2; padding: 96px 0 72px; }
.hero h1 { color: #fff; max-width: 15ch; font-size: clamp(44px, 5.6vw, 78px); text-shadow: 0 2px 18px rgba(0, 0, 0, .25); }
.hero-sub { font-size: clamp(18px, 1.6vw, 21px); max-width: 34em; margin-bottom: 28px; color: #fff; }
.hero-address { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 500; font-size: 16px; }
.hero-address .icon { width: 20px; height: 20px; }

/* Booking bar */
.booking-bar {
	display: grid; grid-template-columns: 1fr 1fr 1fr auto; align-items: stretch;
	background: #fff; border-radius: 14px; box-shadow: var(--shadow);
	max-width: 760px; padding: 8px; gap: 0;
}
.booking-bar label { display: flex; flex-direction: column; justify-content: center; padding: 6px 18px; border-right: 1px solid var(--line); min-width: 0; cursor: pointer; }
.booking-bar label:nth-of-type(3) { border-right: 0; }
.booking-bar .bb-label { font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.booking-bar input, .booking-bar select {
	border: 0; padding: 0; font: 500 15px var(--body); color: var(--navy); background: transparent; width: 100%; min-height: 30px;
}
.booking-bar input:focus, .booking-bar select:focus { outline: none; }
.booking-bar label:focus-within { box-shadow: inset 0 0 0 2px var(--sky); border-radius: 10px; }
.booking-bar .btn { margin: 0; align-self: center; }

/* ---------- Fact strip ---------- */
.facts { background: var(--sand); border-bottom: 1px solid var(--line); }
.facts ul { list-style: none; margin: 0 auto; padding: 42px 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { display: flex; align-items: center; gap: 14px; padding: 6px 22px; border-left: 1px solid #D8D5CC; font-family: var(--display); font-weight: 600; font-size: 23px; color: var(--navy); line-height: 1.1; }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts .icon { width: 64px; height: 64px; stroke-width: 1.5; color: var(--brand-navy); }

/* ---------- Section shell ---------- */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head p { max-width: 40em; margin: 8px auto 0; }

/* ---------- Stays ---------- */
.stays-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: stretch; }
.stay-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); display: flex; flex-direction: column; text-decoration: none; }
.stay-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s ease; }
.stay-card:hover img { transform: scale(1.03); }
.stay-card .stay-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; background: var(--navy); }
.stay-card h3 { color: #fff; margin: 0; font-size: 38px; }
.stay-card .stay-foot { margin-top: auto; }
.stay-card p { color: #D7E3EE; margin: 2px 0 0; font-size: 17px; line-height: 1.4; }

/* ---------- Direct vs hotel ---------- */
.direct { padding-top: 0; }
.direct-band {
	background: var(--navy); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px);
	display: grid; grid-template-columns: .9fr 1.1fr 0 1.1fr; gap: 24px; align-items: center;
}
.direct-band h2 { color: #fff; margin: 0; font-size: clamp(40px, 4.6vw, 64px); }
.cmp { background: #fff; border-radius: var(--radius); padding: 24px 28px; height: 100%; }
.cmp h3 { font-size: 30px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .01em; }
.cmp ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cmp li { display: flex; gap: 12px; align-items: center; font-weight: 500; font-size: 20px; color: var(--navy); }
.cmp li .icon { width: 22px; height: 22px; color: var(--brand-navy); stroke-width: 2.5; }
.cmp-hotel { background: #F1EFE9; }
.cmp-hotel h3, .cmp-hotel li { color: #5F5D58; }
.cmp-hotel li .icon { color: #8D8B85; }
.vs { position: relative; z-index: 2; margin-left: -44px; width: 64px; height: 64px; box-shadow: 0 6px 16px rgba(0,0,0,.25); border-radius: 50%; background: var(--yellow); color: var(--navy); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 26px; }

/* ---------- Video tour ---------- */
.tour { padding-top: 0; }
.tour-grid { display: grid; grid-template-columns: 2.1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); }
.tour-frame { position: relative; aspect-ratio: 16 / 9; background: #0a2240; }
.tour-frame img, .tour-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tour-play {
	position: absolute; top: 0; bottom: 0; left: 58%; margin: auto 0; width: 96px; height: 96px; border-radius: 50%;
	background: rgba(1, 35, 66, .55); border: 3px solid #fff; color: #fff; cursor: pointer;
	display: grid; place-items: center; transition: transform .25s ease, background-color .25s ease;
}
.tour-play:hover { transform: scale(1.06); background: rgba(1, 35, 66, .8); }
.tour-play svg { width: 44px; height: 44px; margin-left: 6px; fill: #fff; stroke: none; }
.tour-copy { padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; justify-content: center; color: #D7E3EE; }
.tour-copy h2 { color: #fff; font-size: clamp(36px, 3.6vw, 52px); }
.tour-copy .brush { background-size: 100% .32em; }
.tour-copy p { margin: 12px 0 0; }

/* ---------- Location ---------- */
.location { padding-top: clamp(56px, 7vw, 96px); background: var(--sand); }
.tour { padding-bottom: clamp(56px, 7vw, 96px); }
.location-head { margin-bottom: 24px; }
.location-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; align-items: start; }
.map { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; }
.map img { width: 100%; height: 100%; object-fit: cover; }
.pin { position: absolute; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; gap: 2px; }
.pin svg { width: 38px; height: 38px; color: var(--coral); fill: currentColor; stroke: #fff; stroke-width: 1.2; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .25)); }
.pin span { background: #fff; color: var(--navy); font: 600 16px var(--body); padding: 4px 10px; border-radius: 6px; white-space: nowrap; box-shadow: 0 3px 8px rgba(1, 35, 66, .18); order: -1; }
.pin-home svg { width: 60px; height: 60px; color: var(--navy); }
.pin-home span { background: var(--navy); color: #fff; font: 700 20px var(--display); padding: 5px 14px; border-radius: 999px; }
.map-road { position: absolute; font: 700 12px var(--body); color: var(--muted); background: #fff; border: 1.5px solid var(--muted); border-radius: 50%; padding: 4px 5px; line-height: 1; }
.map-note { font-size: 13px; color: var(--muted); margin-top: 8px; }
.location-photo { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 18px; }
.location-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.location-copy p { font-size: 21px; line-height: 1.45; color: var(--navy); }
.chip-list { display: none; list-style: none; padding: 0; margin: 14px 0 0; flex-wrap: wrap; gap: 8px; }
.chip-list li { background: var(--sand); color: var(--navy); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 15px; }

/* ---------- Promise pillars ---------- */
.promise { background: var(--sand); border-block: 1px solid var(--line); }
.promise ul { list-style: none; margin: 0 auto; padding: 68px 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.promise li { display: flex; gap: 18px; align-items: flex-start; padding: 6px 28px; border-left: 1px solid #D8D5CC; }
.promise li:first-child { border-left: 0; padding-left: 0; }
.promise .disc { flex: none; width: 88px; height: 88px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; }
.promise .disc .icon { width: 44px; height: 44px; stroke-width: 1.6; }
.promise h3 { font-size: 28px; margin: 8px 0 6px; text-transform: uppercase; letter-spacing: .01em; }
.promise p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; }

.promise-label { display: block; width: 100%; text-align: center; margin: 0; padding-top: 40px; font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-navy); }
.promise-label + ul { padding-top: 24px; }

/* ---------- Look around ---------- */
.look-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; margin-bottom: 28px; }
.look-head h2 { margin: 0; }
.look-head p { margin: 0; font-size: 19px; }
.look-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 14px; }
.look-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.look-grid figure:first-child { grid-row: span 2; }
.look-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.look-grid figure:hover img { transform: scale(1.04); }
.look-grid figure:nth-child(5) { display: none; }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; background: var(--sand); font-style: italic; font-size: 20px; color: var(--muted); text-align: center; margin: 0; }
.review-note { text-align: center; font-size: 14px; color: var(--muted); margin-top: 16px; }

/* ---------- FAQ + final CTA ---------- */
.finale { position: relative; color: #fff; overflow: hidden; background: var(--navy); }
.finale-media { position: absolute; inset: 0; }
.finale-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.finale::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(20deg, rgba(1, 30, 58, .82) 0%, rgba(1, 30, 58, .45) 35%, rgba(1, 30, 58, 0) 60%); }
.finale .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 540px) minmax(0, 1fr); gap: 24px 40px; padding: 0; }
.faq-panel { min-width: 0; background: var(--navy); padding: 26px 28px 20px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.faq-panel h2 { color: #fff; font-size: 34px; margin-bottom: 16px; }
.faq-item { background: #fff; border-radius: 10px; margin-bottom: 10px; color: var(--navy); }
.faq-item summary { list-style: none; cursor: pointer; padding: 9px 16px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--brand-navy); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-a { padding: 0 18px 14px; color: var(--ink-soft); }
.faq-item .faq-a p { margin: 0; }
.final-cta { grid-column: 1; align-self: end; margin-top: 56px; padding-bottom: 40px; }
.final-cta h2 { max-width: 11ch; }
.final-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.final-call { color: #fff; font-family: var(--display); font-weight: 600; font-size: 22px; text-decoration: underline; text-underline-offset: 4px; }
.final-call:hover { color: var(--yellow); }
.final-closer { margin: 14px 0 0; color: #fff; font-weight: 500; text-shadow: 0 1px 3px rgba(0,0,0,.6), 0 1px 12px rgba(0,0,0,.4); }
.final-cta .btn { min-height: 56px; padding: 14px 40px; font-size: 24px; }
.finale-contact { grid-column: 2; align-self: end; display: flex; align-items: center; justify-content: space-between; gap: 32px; background: var(--navy); border-radius: var(--radius-lg) 0 0 0; padding: 32px 40px; margin-right: calc((100vw - min(100vw - 48px, 1200px)) / -2); }
.finale-contact .footer-contact { font-family: var(--display); font-weight: 600; font-size: 22px; }
.finale-contact img { width: 160px; padding-left: 32px; border-left: 1px solid rgba(255,255,255,.3); box-sizing: content-box; }
.finale-contact img { width: 130px; }
body.home .footer-main { display: none; }
.final-cta h2 { color: #fff; font-size: clamp(38px, 4.4vw, 58px); text-shadow: 0 2px 16px rgba(0, 0, 0, .35); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #fff; }
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 32px; align-items: center; padding: 40px 0; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 12px; align-items: center; }
.footer-contact .icon { width: 22px; height: 22px; color: var(--yellow); }
.footer-contact a { color: #fff; text-decoration: none; }
.footer-contact a:hover { color: var(--yellow); }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 8px 28px; }
.footer-nav a { color: #D7E3EE; text-decoration: none; font-weight: 500; }
.footer-nav a:hover { color: var(--yellow); }
.footer-logo img { width: 150px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .15); padding: 16px 0; font-size: 14px; color: #BFD0E0; text-align: center; }

/* ---------- Mobile sticky booking ---------- */
.sticky-book { display: none; }

/* ---------- Generic pages (block content) ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 72px 0 56px; position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; }
.entry-content > section.wp-block-group { padding-inline: var(--gutter); }
.entry-content > section.wp-block-group.alignfull { padding-inline: 0; }
.entry-content .is-layout-constrained > .alignfull { max-width: none; }

/* ---------- Motion (JS adds .motion-ready) ---------- */
.motion-ready .sonic-fade-on-scroll { opacity: 0; transform: translateY(14px); }
.motion-ready .sonic-stagger-children > * { opacity: 0; transform: translateY(16px); }
.motion-ready .sonic-hero-words .w { display: inline-block; opacity: 0; transform: translateY(.35em); }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.motion-ready .sonic-fade-on-scroll, .motion-ready .sonic-stagger-children > *, .motion-ready .sonic-hero-words .w { opacity: 1 !important; transform: none !important; }
	.btn:hover, .wp-block-button__link:hover, .stay-card:hover img, .tour-play:hover { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.primary-nav ul { gap: 20px; }
	.direct-band { grid-template-columns: 1fr 0 1fr; }
	.direct-band h2 { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
	body { font-size: 16px; }
	.site-header .wrap { height: 64px; }
	.brand, .brand img { width: 96px; }
	.menu-toggle { display: inline-flex; }
	.primary-nav { position: fixed; inset: 64px 0 auto 0; background: var(--navy); flex-direction: column; align-items: stretch; padding: 12px 24px 24px; gap: 8px; display: none; box-shadow: 0 20px 30px -20px rgba(0,0,0,.5); }
	.primary-nav.is-open { display: flex; }
	.primary-nav ul { flex-direction: column; gap: 0; }
	.primary-nav li a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 22px; }
	.primary-nav .btn { margin-top: 8px; }
	.hero { min-height: 0; }
	.hero .wrap { padding: 72px 0 40px; }
	.booking-bar { grid-template-columns: 1fr 1fr; }
	.booking-bar label { border-right: 0; border-bottom: 1px solid var(--line); }
	.booking-bar label:nth-of-type(3) { grid-column: 1 / -1; }
	.booking-bar .btn { grid-column: 1 / -1; margin-top: 8px; width: 100%; }
	.facts ul { grid-template-columns: 1fr 1fr; gap: 14px 0; }
	.facts li:nth-child(3) { border-left: 0; padding-left: 0; }
	.stays-grid { grid-template-columns: 1fr; }
	.direct-band { grid-template-columns: 1fr; gap: 0; }
	.direct-band h2 { margin-bottom: 20px; }
	.vs { margin: -14px auto; width: 56px; height: 56px; font-size: 22px; }
	.tour-grid { grid-template-columns: 1fr; }
	.location-grid { grid-template-columns: 1fr; }
	.pin span { display: none; }
	.map .pin-home { top: 36% !important; }
	.pin-home span { display: block; }
	.map-road { display: none; }
	.chip-list { display: flex; }
	.promise ul { grid-template-columns: 1fr; gap: 22px; }
	.promise li { border-left: 0; padding-left: 0; }
	.reviews-grid { grid-template-columns: 1fr; }
	.look-head { grid-template-columns: 1fr; }
	.look-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
	.look-grid figure:first-child { grid-row: auto; grid-column: 1 / -1; }
	.look-grid img { aspect-ratio: 4 / 3; }
	.finale .wrap { grid-template-columns: 1fr; padding-bottom: 40px; }
	.finale-media { position: relative; height: 260px; }
	.finale .wrap { margin-top: 0; }
	.faq-panel { border-radius: var(--radius-lg); margin-top: -40px; }
	.finale-contact { grid-column: 1; flex-direction: column; align-items: flex-start; margin-inline: calc(-1 * var(--gutter)); border-radius: 0; padding: 28px var(--gutter); }
	.finale-contact img { padding-left: 0; border-left: 0; }
	.final-cta { padding-bottom: 8px; margin-top: 24px; }
	.final-cta h2 { font-size: 36px; }
	.final-cta { margin-top: 8px; }
	.final-cta h2 { color: #fff; }
	.footer-main { grid-template-columns: 1fr; }
	.sticky-book {
		display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: 10px;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--navy); box-shadow: 0 -8px 20px rgba(0,0,0,.2);
	}
	.sticky-book .btn { flex: 1; min-height: 48px; font-size: 19px; }
	.sticky-book { transform: translateY(110%); transition: transform .3s ease; }
	.sticky-book.is-visible { transform: none; }
	.footer-bottom { padding-bottom: 92px; }
	.brand, .brand img { width: 80px; }
	.cmp h3 { font-size: 26px; }
}
@media (max-width: 520px) {
	.facts ul { grid-template-columns: 1fr 1fr; gap: 18px 12px; padding: 28px 0; }
	.facts li { border-left: 0; padding: 0; flex-direction: column; align-items: flex-start; gap: 8px; font-size: 19px; }
	.facts .icon { width: 44px; height: 44px; }
	.nav-phone-inline { display: none; }
}

/* ---------- Block templates (Stage 4) ---------- */
.entry-content { padding-bottom: 0; }
.entry-content > section.wp-block-group { margin-block: 0; }
[class*="ico-"]::before { content: ""; display: inline-block; width: 1.25em; height: 1.25em; flex: none; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.ico-users { --ico: url("assets/icons/users.svg"); }
.ico-tools-kitchen-2 { --ico: url("assets/icons/tools-kitchen-2.svg"); }
.ico-parking { --ico: url("assets/icons/parking.svg"); }
.ico-pool { --ico: url("assets/icons/pool.svg"); }
.ico-sofa { --ico: url("assets/icons/sofa.svg"); }
.ico-bed { --ico: url("assets/icons/bed.svg"); }
.ico-wash-machine { --ico: url("assets/icons/wash-machine.svg"); }
.ico-sparkles { --ico: url("assets/icons/sparkles.svg"); }
.ico-message-circle { --ico: url("assets/icons/message-circle.svg"); }
.ico-beach { --ico: url("assets/icons/beach.svg"); }
.ico-check { --ico: url("assets/icons/check.svg"); }
.ico-map-pin { --ico: url("assets/icons/map-pin.svg"); }
.ico-sun { --ico: url("assets/icons/sun.svg"); }
.ico-wifi { --ico: url("assets/icons/wifi.svg"); }
.ico-calendar { --ico: url("assets/icons/calendar.svg"); }
.ico-phone { --ico: url("assets/icons/phone.svg"); }
.ico-mail { --ico: url("assets/icons/mail.svg"); }
.ico-ruler-2 { --ico: url("assets/icons/ruler-2.svg"); }
.ico-tag { --ico: url("assets/icons/tag.svg"); }
.ico-shoe { --ico: url("assets/icons/shoe.svg"); }

.has-brush { position: relative; display: table; padding-bottom: .2em; }
.has-brush::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: -.04em; height: .26em; background: url("assets/images/brush.svg") no-repeat center / 100% 100%; }
.has-text-align-center.has-brush { margin-inline: auto; }
.crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 15px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { color: inherit; text-decoration: none; opacity: .85; }
.crumbs a:hover { opacity: 1; text-decoration: underline; }
.tpl-section { padding: clamp(56px, 7vw, 88px) 0; }
.tpl-section.is-sand { background: var(--sand); }

/* Hero */
.tpl-hero { background: var(--navy); color: #fff; padding: 0; }
.tpl-hero > .wp-block-columns { width: 100%; max-width: none !important; margin: 0 !important; gap: 0; }
.tpl-hero .tpl-hero-copy { padding: clamp(48px, 6vw, 88px) clamp(24px, 4vw, 56px) clamp(40px, 5vw, 64px) max(24px, calc((100vw - 1200px) / 2)); display: flex; flex-direction: column; justify-content: center; }
.tpl-hero h1 { color: #fff; font-size: clamp(42px, 5vw, 68px); }
.tpl-hero .lede { font-size: clamp(18px, 1.5vw, 21px); color: #fff; max-width: 30em; }
.tpl-hero .tpl-hero-media { position: relative; min-height: 420px; }
.tpl-hero .tpl-hero-media figure { position: absolute; inset: 0; margin: 0; }
.tpl-hero .tpl-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.tpl-hero .wp-block-buttons { align-items: center; gap: 22px; margin: 6px 0 28px; }
.btn-link .wp-block-button__link { background: transparent; color: #fff; padding: 0; min-height: 0; font-family: var(--body); font-weight: 600; font-size: 18px; text-decoration: underline; text-underline-offset: 4px; }
.btn-link .wp-block-button__link:hover { color: var(--yellow); box-shadow: none; transform: none; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips p { margin: 0; display: inline-flex; flex-direction: column; align-items: center; gap: 6px; background: #fff; color: var(--navy); border-radius: 10px; padding: 12px 16px; min-width: 104px; font-family: var(--display); font-weight: 600; font-size: 17px; text-align: center; }
.chips p::before { width: 30px; height: 30px; color: var(--brand-navy); }

/* Fit */
.tpl-fit .wp-block-columns { gap: 48px; align-items: center; }
.tpl-fit p { font-size: 19px; }
.check-card { background: var(--sand); border-radius: var(--radius-lg); padding: 30px 36px; }
.checks, .check-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li, .check-card li { position: relative; padding-left: 36px; font-size: 19px; color: var(--navy); font-weight: 500; }
.checks li::before, .check-card li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; background: var(--brand-navy); -webkit-mask: url("assets/icons/check.svg") center / contain no-repeat; mask: url("assets/icons/check.svg") center / contain no-repeat; }

/* Photo row */
.photo-row { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 14px; margin-top: 28px; }
.photo-row figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; }
.photo-row figure:first-child { aspect-ratio: auto; }
.photo-row img { width: 100%; height: 100%; object-fit: cover; }

/* Amenities */
.tpl-amenities > .amenity-band { background: var(--navy); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); }
.amenity-band h2 { color: #fff; text-align: center; }
.amenity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.amenity-grid p { margin: 0; display: flex; align-items: center; gap: 18px; background: #fff; border-radius: var(--radius); padding: 18px 24px; font-weight: 600; font-size: 19px; color: var(--navy); }
.amenity-grid p::before { width: 44px; height: 44px; color: var(--brand-navy); }

/* Standard strip */
.tpl-standard { background: var(--sand); border-block: 1px solid var(--line); padding: 40px 0; }
.std-row { display: grid; grid-template-columns: .9fr 1fr 1fr 1fr; gap: 24px; align-items: center; }
.std-row .std-label { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1.05; color: var(--navy); margin: 0; }
.std-item { display: grid; grid-template-columns: 64px 1fr; gap: 4px 14px; align-items: center; border-left: 1px solid #D8D5CC; padding-left: 20px; }
.std-item p { margin: 0; }
.std-item .std-title { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--navy); grid-column: 2; }
.std-item .std-text { font-size: 15px; color: var(--muted); grid-column: 2; line-height: 1.45; }
.std-item .std-title::before { position: absolute; }
.std-item { position: relative; padding-left: 104px; display: block; min-height: 64px; }
.std-item::before { content: ""; position: absolute; left: 22px; top: 50%; transform: translateY(-50%); width: 64px; height: 64px; border-radius: 50%; background: var(--navy); }
.std-item .std-title[class*="ico-"]::before { position: absolute; left: 38px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; color: #fff; }

/* Compare */
.compare-grid { gap: 28px; margin-top: 28px; }
.compare-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: center; height: 100%; background: #fff; }
.compare-card.is-current { border: 2px solid var(--navy); }
.compare-card figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.compare-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.compare-card h3 { font-size: 34px; margin-bottom: 10px; }
.compare-card .checks li { font-size: 17px; }
.compare-card .wp-block-buttons { margin-top: 14px; }
.tag-here { display: inline-block; background: var(--yellow); color: var(--navy); font-family: var(--display); font-weight: 700; font-size: 16px; padding: 3px 12px; border-radius: 6px; margin: 0 0 6px; }

/* FAQ band + final */
.tpl-faq { background: var(--navy); padding: 48px 0; }
.tpl-faq .wp-block-columns { align-items: start; gap: 40px; }
.tpl-faq h2 { color: #fff; }
.tpl-faq .wp-block-details { background: #fff; border-radius: 10px; margin: 0 0 10px; color: var(--navy); }
.tpl-faq .wp-block-details summary { cursor: pointer; padding: 12px 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.tpl-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.tpl-faq .wp-block-details summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--brand-navy); }
.tpl-faq .wp-block-details[open] summary::after { content: "\2212"; }
.tpl-faq .wp-block-details > :not(summary) { padding: 0 18px 14px; margin: 0; color: var(--ink-soft); }
.tpl-final { position: relative; overflow: hidden; color: #fff; padding: clamp(64px, 8vw, 110px) 0; background: var(--navy); }
.tpl-final > .wp-block-image { position: absolute; inset: 0; margin: 0; width: 100% !important; max-width: none !important; }
.tpl-final > .wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
.tpl-final::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(1, 30, 58, .75) 0%, rgba(1, 30, 58, .35) 45%, rgba(1, 30, 58, 0) 70%); }
.tpl-final > :not(.wp-block-image) { position: relative; z-index: 2; }
.tpl-final > .final-copy { width: min(100% - 2 * var(--gutter), var(--wrap)); max-width: none; margin-inline: auto !important; }
.tpl-final h2 { color: #fff; max-width: 12ch; margin-left: 0; font-size: clamp(38px, 4.4vw, 58px); }
.tpl-final p { color: #fff; max-width: 32em; text-shadow: 0 1px 3px rgba(0,0,0,.5); }

/* Prose (long-form pages) */
.tpl-prose { padding: clamp(48px, 6vw, 80px) 0; }
.tpl-prose > * { max-width: 760px; }
.tpl-prose h2 { margin-top: 1.4em; }
.tpl-prose p, .tpl-prose li { font-size: 18px; }

@media (max-width: 900px) {
	.tpl-hero .wp-block-columns { flex-direction: column-reverse; }
	.tpl-hero .tpl-hero-media { min-height: 260px; }
	.tpl-hero .tpl-hero-copy { padding: 36px var(--gutter); }
	.chips p { min-width: calc(50% - 5px); }
	.photo-row { grid-template-columns: 1fr 1fr; }
	.photo-row figure, .photo-row figure:first-child { aspect-ratio: 4 / 3; }
	.photo-row figure:first-child { grid-column: 1 / -1; }
	.amenity-grid { grid-template-columns: 1fr 1fr; }
	.amenity-grid p { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 17px; padding: 16px; }
	.std-row { grid-template-columns: 1fr; }
	.std-item { border-left: 0; }
	.compare-card { grid-template-columns: 1fr; }
}

/* ---------- Template scale-up (fidelity pass) ---------- */
.tpl-section h2, .tpl-amenities h2 { font-size: clamp(38px, 4.4vw, 62px); }
.tpl-fit p { font-size: 21px; }
.checks li, .check-card li { font-size: 21px; padding-left: 40px; }
.checks li::before, .check-card li::before { width: 26px; height: 26px; }
.check-card { padding: 36px 44px; }
.check-card ul { gap: 16px; }
.tpl-inside { background: var(--sand); }
.photo-row { gap: 16px; }
.amenity-band h2 { text-transform: uppercase; }
.amenity-grid p { font-family: var(--display); font-size: 24px; text-transform: uppercase; min-height: 104px; padding: 20px 28px; }
.amenity-grid p::before { width: 56px; height: 56px; }
.std-row .std-label { font-size: 36px; }
.std-row .std-label::after { content: ""; display: block; width: 80%; height: .26em; margin-top: 4px; background: url("assets/images/brush.svg") no-repeat left / 100% 100%; }
.std-item { padding-left: 120px; min-height: 84px; }
.std-item::before { width: 84px; height: 84px; }
.std-item .std-title[class*="ico-"]::before { left: 42px; width: 40px; height: 40px; }
.std-item .std-title { font-size: 26px; }
.std-item .std-text { font-size: 16px; }
.tpl-faq .wp-block-columns { display: grid; grid-template-columns: 200px minmax(0, 760px); justify-content: center; }
.tpl-faq h2 { font-size: 52px; }
.tpl-faq .wp-block-details summary { font-size: 19px; padding: 14px 20px; }
@media (max-width: 900px) {
	.tpl-section { padding: 48px 0; }
	.tpl-faq .wp-block-columns { grid-template-columns: 1fr; gap: 12px; }
	.photo-row figure:last-child:nth-child(even) { grid-column: 1 / -1; }
	.std-item { padding-left: 104px; }
	.std-item::before { left: 0; width: 72px; height: 72px; }
	.std-item .std-title[class*="ico-"]::before { left: 18px; width: 36px; height: 36px; }
	.amenity-grid p { font-size: 19px; min-height: 0; }
}
.tpl-inside h2 { text-transform: uppercase; }
.tpl-hero > .wp-block-columns { min-height: 560px; }
.compare-card h3 { font-size: 40px; }
@media (max-width: 900px) { .tpl-hero > .wp-block-columns { min-height: 0; } }

/* ---------- Bulk page sections (Stage 5) ---------- */
.tpl-prose figure { margin: 1.6em 0; }
.tpl-prose figure img { width: 100%; border-radius: var(--radius, 12px); }
.tpl-prose a { color: var(--brand-navy); text-decoration: underline; text-underline-offset: 3px; }
.tpl-prose .note { background: var(--sand); border-left: 4px solid var(--sky); padding: 16px 20px; border-radius: 8px; font-size: 16px; }
.tpl-prose ul { padding-left: 1.2em; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.link-card { background: #fff; border-radius: var(--radius, 12px); overflow: hidden; box-shadow: 0 6px 24px rgba(1,63,115,.08); transition: transform .25s, box-shadow .25s; }
.link-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(1,63,115,.14); }
.link-card figure { margin: 0; aspect-ratio: 4 / 3; }
.link-card figure img { width: 100%; height: 100%; object-fit: cover; }
.link-card h3, .link-card p { padding: 0 22px; }
.link-card h3 { margin: 18px 0 6px; font-size: 26px; }
.link-card h3 a { color: var(--navy); text-decoration: none; }
.link-card h3 a::after { content: ""; position: absolute; inset: 0; }
.link-card { position: relative; }
.link-card p { margin: 0 0 22px; font-size: 16px; }
.tpl-related { padding: 40px 0; border-top: 1px solid rgba(1,63,115,.12); }
.related-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.related-list li a { display: inline-block; padding: 10px 18px; border-radius: 999px; background: var(--sand); color: var(--navy); font-weight: 600; text-decoration: none; }
.related-list li a:hover { background: var(--sky); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.gallery-grid figure { margin: 0; aspect-ratio: 4 / 3; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
@media (max-width: 900px) {
	.card-grid, .gallery-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
	.card-grid { grid-template-columns: 1fr; }
}
.primary-nav a.btn-yellow, .primary-nav .btn-yellow a { color: var(--navy); }
.card-grid > .link-card, .gallery-grid > figure { margin: 0 !important; }
.tpl-prose figure img { aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
