/* Concho Pearl RV Estates: the styles every page shares. A page's own parts are in page-<name>.css.
   Colors: night #0e1430, logo blue #1c2ab0, gold #f7c66a, coral #b5442a, pearl #f6f1f7, caliche #f5ede0, ink #1a1830. */
@font-face { font-family: "Alfa Slab One"; font-style: normal; font-weight: 400; font-display: block; src: url("../fonts/alfaslabone-400.woff2") format("woff2"); }
@font-face { font-family: "Grand Hotel"; font-style: normal; font-weight: 400; font-display: block; src: url("../fonts/grandhotel-400.woff2") format("woff2"); }
@font-face { font-family: "Overpass Mono"; font-style: normal; font-weight: 500 600; font-display: block; src: url("../fonts/overpassmono-500.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("../fonts/figtree-300_900.woff2") format("woff2"); }

/* ---- a clean start ---- */
*, ::before, ::after { box-sizing: border-box; }
*, ::after, ::before, ::backdrop, ::file-selector-button { margin: 0; padding: 0; }
html { font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.4; -webkit-text-size-adjust: 100%; tab-size: 4; scroll-behavior: smooth; }
body { margin: 0; background-color: #f5ede0; color: #1a1830; font-family: "Figtree", sans-serif; font-size: 16px; overflow-x: hidden; overflow-x: clip; }
h1, h2, h3, h4, h5, h6 { line-height: 1.2; color: #1a1830; font-family: "Figtree", sans-serif; }
h1 { font-size: 48.83px; } h2 { font-size: 39.06px; } h3 { font-size: 31.25px; } h4 { font-size: 25px; } h5 { font-size: 20px; } h6 { font-size: 16px; }
a { color: #1c2ab0; }
b, strong { font-weight: bolder; }
small { font-size: 80%; }
img { display: inline-block; max-width: 100%; max-inline-size: 100%; height: auto; block-size: auto; vertical-align: middle; }
figure { margin-left: 0; margin-right: 0; }
button, input, optgroup, select, textarea { font-family: inherit; font-size: 100%; line-height: 1.15; margin: 0; }
button, [type="button"], [type="submit"] { -webkit-appearance: button; }
summary { display: list-item; }
.band { position: relative; width: 100%; }
.cb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; padding: 15px 20px; background: #fff; color: #1a1830; font-weight: 700; text-decoration: none; border-radius: 10px; box-shadow: 0 0 4px 2px rgb(0 0 0 / .4); }
.skip:focus { left: 10px; top: 10px; }

/* ---- the top of every page: it lies over the page's dark first part, turns solid once the page has moved,
        slides away while scrolling down and comes back on the way up ---- */
.head { position: fixed; left: 0; top: 0; z-index: 50; width: 100%; background: transparent; transition: transform .35s ease-in-out, background-color .35s ease-in-out; }
.head.is-stuck { background: rgb(14 20 48 / .96); }
.head.is-hidden:not(:focus-within) { transform: translateY(-101%); }
.head-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 14px 48px; }
.brand { display: flex; flex: 0 0 auto; background: #fff; border-radius: 14px; padding: 5px 7px; }
.brand img { display: block; width: 84px; height: auto; }
.brand:focus-visible { outline: 3px solid #f7c66a; outline-offset: 3px; }
.head-side { display: flex; align-items: center; gap: 24px; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 22px; }
.nav-list a { display: block; padding: 20px; color: #f6f1f7; font: 600 15px/1 "Figtree", sans-serif; text-decoration: none; white-space: nowrap; transition: color .2s; }
.nav-list a:hover, .nav-list a[aria-current="page"] { color: #f7c66a; }
.nav-list a:focus-visible, .nav-toggle:focus-visible { outline: 3px solid #f7c66a; outline-offset: -3px; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; color: #f6f1f7; cursor: pointer; position: relative; }
.nav-toggle:hover { color: #f7c66a; }
.nav-toggle i, .nav-toggle i::before, .nav-toggle i::after { position: absolute; left: 50%; width: 32px; height: 4px; margin-left: -16px; border-radius: 4px; background: currentColor; transition: transform .2s, top .2s, opacity .2s; }
.nav-toggle i { top: 50%; margin-top: -2px; } .nav-toggle i::before, .nav-toggle i::after { content: ""; top: -10px; } .nav-toggle i::after { top: 10px; }
.site-nav.is-open .nav-toggle { color: #f7c66a; }
.site-nav.is-open .nav-toggle i { background: transparent; }
.site-nav.is-open .nav-toggle i::before { top: 0; transform: rotate(45deg); background: #f7c66a; }
.site-nav.is-open .nav-toggle i::after { top: 0; transform: rotate(-45deg); background: #f7c66a; }
[data-cp-call] { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font: 800 15px/1 "Figtree", system-ui, sans-serif; color: #1a1830; background: #f7c66a; padding: 12px 18px; border-radius: 999px; text-decoration: none; box-shadow: 0 4px 0 #c9922c; transition: background .2s, transform .15s; }
[data-cp-call]:hover, [data-cp-call]:focus-visible { color: #1a1830; background: #ffd789; transform: translateY(-1px); }
[data-cp-call]:focus-visible { outline: 3px solid #f6f1f7; outline-offset: 3px; }
[data-cp-call] svg { width: 16px; height: 16px; }
[data-cp-call] [data-short] { display: none; }
@media (max-width: 1119px) {
	.nav-toggle { display: block; }
	.nav-list { display: none; position: absolute; left: 0; top: 100%; width: 100%; max-height: calc(100vh - 100%); overflow-y: auto; flex-direction: column; align-items: stretch; gap: 0; background: #0e1430; border-bottom: 1px solid rgb(246 241 247 / .12); }
	.site-nav.is-open .nav-list { display: flex; }
	.nav-list a { padding: 16px 24px; border-top: 1px solid rgb(246 241 247 / .12); font-size: 22px; font-weight: 700; line-height: 1.2; background: #0e1430; }
	.nav-list a:hover, .nav-list a[aria-current="page"] { background: #1b2350; }
	.head:has(.site-nav.is-open) { background: rgb(14 20 48 / .96); }
}
@media (max-width: 1023px) {
	.head-in { padding: 12px 24px; }
	.brand img { width: 72px; }
	.head-side { display: contents; }   /* logo, menu button and call button spread across the bar */
}
@media (max-width: 767px) { .head-in { padding: 10px 16px; gap: 10px; } }
@media (max-width: 479px) {
	.brand img { width: 62px; }
	[data-cp-call] { font-size: 14px; padding: 11px 14px; }
	[data-cp-call] [data-full] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	[data-cp-call] [data-short] { display: inline; }
}

/* ---- parts used on more than one page ---- */
:root { --cpD:"Alfa Slab One",Rockwell,Georgia,serif;--cpS:"Grand Hotel",cursive;--cpB:"Figtree",system-ui,sans-serif;--cpM:"Overpass Mono",ui-monospace,monospace }
[data-cp-wrap] { width:min(1200px,100% - 40px);margin:0 auto }
[data-cp-kick] { margin:0 0 14px;font:600 12px/1.2 var(--cpM);letter-spacing:.2em;text-transform:uppercase;color:#b5442a }
h1[data-cp-h2],h2[data-cp-h2] { margin:0;font:400 clamp(2.3rem,4.8vw,4rem)/1.02 var(--cpD);letter-spacing:.005em;color:#1a1830 }
[data-cp-h2] em { font:400 1.15em/1 var(--cpS);color:#1c2ab0;letter-spacing:0;font-style:normal }
[data-cp-btn] { display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:16px 26px;border-radius:999px;font:800 16px/1 var(--cpB);text-decoration:none;white-space:nowrap;border:0;cursor:pointer;transition:transform .15s,background .2s,box-shadow .2s }
[data-cp-btn]:hover { transform:translateY(-2px) }
[data-cp-btn="gold"] { background:#f7c66a;color:#1a1830;box-shadow:0 5px 0 #c9922c }
[data-cp-btn="gold"]:hover { background:#ffd789;color:#1a1830 }
[data-cp-btn="blue"] { background:#1c2ab0;color:#fff;box-shadow:0 5px 0 #121c7a }
[data-cp-btn="blue"]:hover { background:#2737c9;color:#fff }
[data-cp-btn="ghost"] { color:#f6f1f7;box-shadow:inset 0 0 0 2px rgb(246 241 247 / .6) }
[data-cp-btn="ghost"]:hover { color:#fff;box-shadow:inset 0 0 0 2px #fff }
[data-cp-btn]:focus-visible { outline:3px solid #f7c66a;outline-offset:3px }
[data-cp-btns] { display:flex;flex-wrap:wrap;gap:14px }
@media (max-width:479px) {
	[data-cp-btns] { flex-direction:column;align-items:stretch }
}
a[data-lb] { display:block;cursor:zoom-in;border-radius:2px }
a[data-lb]:focus-visible { outline:3px solid #f7c66a;outline-offset:3px }
a[data-lb] img { transition:filter .2s }
a[data-lb]:hover img { filter:brightness(1.08) }
[data-cp-lb] { width:100vw;height:100vh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#fff0;color:#f6f1f7;overflow:hidden }
[data-cp-lb]::backdrop { background:rgb(8 10 28 / .92) }
[data-cp-lb][open] { display:flex;align-items:center;justify-content:center }
[data-cp-lb] figure { margin:0;max-width:min(92vw,1200px);display:flex;flex-direction:column;align-items:center;pointer-events:none;background:none;padding:0;box-shadow:none;transform:none }
[data-cp-lb] img { display:block;max-width:100%;max-height:80vh;width:auto;height:auto;aspect-ratio:auto;object-fit:contain;border-radius:6px;box-shadow:0 30px 60px rgb(0 0 0 / .6);background:#fff;padding:8px;pointer-events:auto }
[data-cp-lb] figcaption { margin-top:14px;font:400 1.7rem/1.1 var(--cpS);color:#f6f1f7 }
[data-cp-lb] button { position:absolute;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;border:1.5px solid rgb(246 241 247 / .4);background:rgb(14 20 48 / .7);color:#f6f1f7;cursor:pointer;padding:0;transition:background .2s,border-color .2s }
[data-cp-lb] button:hover { background:#1c2ab0;border-color:#1c2ab0;color:#fff }
[data-cp-lb] button:focus-visible { outline:3px solid #f7c66a;outline-offset:3px }
[data-cp-lb] button svg { width:24px;height:24px }
[data-cp-lb] [data-lb-prev] { left:clamp(10px,3vw,40px);top:50%;transform:translateY(-50%) }
[data-cp-lb] [data-lb-next] { right:clamp(10px,3vw,40px);top:50%;transform:translateY(-50%) }
[data-cp-lb] [data-lb-close] { right:clamp(10px,3vw,40px);top:clamp(10px,3vw,30px) }
[data-cp-lb] [data-lb-count] { position:absolute;left:50%;bottom:16px;transform:translateX(-50%);margin:0;font:600 12px/1 var(--cpM);letter-spacing:.16em;text-transform:uppercase;color:#cfc9e2 }
@media (max-width:600px) {
	[data-cp-lb] [data-lb-prev],[data-cp-lb] [data-lb-next] { top:auto;bottom:44px;transform:none }
	[data-cp-lb] img { max-height:68vh }
}
[data-cp-sr] { position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap }

/* ---- the contact form (inc/forms.php draws it) ---- */
.form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px; }
.field { grid-column: 1 / -1; display: flex; flex-direction: column; min-width: 0; border: 0; }
.field-half { grid-column: auto; }
.field-label { display: block; margin-bottom: 8px; font: 700 14px/1.3 var(--cpB); color: #1a1830; }
.req-text { margin-left: 6px; font-weight: 400; font-size: 13px; color: #b5442a; }
.field-help { order: 1; margin: -2px 0 8px; font: 400 13px/1.5 var(--cpB); color: #5c5870; }
.field > div:not(.field-help) { order: 2; }
.cb-form input:not([type="hidden"]), .cb-form select, .cb-form textarea { display: block; width: 100%; background: #f5ede0; border: 1.5px solid #d9cdb7; border-radius: 12px; color: #1a1830; font: 400 16px/1.4 var(--cpB); padding: 12px 14px; min-height: 48px; }
.cb-form textarea { min-height: 250px; resize: vertical; }
.cb-form input:focus, .cb-form select:focus, .cb-form textarea:focus { outline: none; border-color: #1c2ab0; box-shadow: 0 0 0 3px rgb(247 198 106 / .7); }
.cb-form ::placeholder { color: #6b6780; opacity: 1; }
.form-foot { margin-top: 20px; }
.form-send { background: #1c2ab0; color: #fff; border: 0; border-radius: 999px; font: 800 16px/1 var(--cpB); padding: 16px 28px; box-shadow: 0 5px 0 #121c7a; cursor: pointer; transition: background .2s, transform .15s; }
.form-send:hover { background: #2737c9; transform: translateY(-2px); }
.form-send:focus-visible { outline: 3px solid #f7c66a; outline-offset: 3px; }
.cb-form-error { margin-bottom: 20px; padding: 14px 16px; border: 2px solid #b5442a; border-radius: 12px; background: #fdf0ea; color: #8a2d18; font: 600 15px/1.5 var(--cpB); }
.form-thanks { font: 400 1.05rem/1.6 var(--cpB); color: #1a1830; background: #eef0ff; border-radius: 14px; padding: 18px 20px; }
.form-thanks-wrap:focus, .form-wrap > div:focus { outline: none; }
@media (max-width: 600px) { .form-fields { grid-template-columns: 1fr; } .field-half { grid-column: 1 / -1; } }

/* ---- the bottom of every page ---- */
.foot-band { background-color: #0a0e24; }
[data-cp-foot] { padding:56px clamp(20px,4vw,56px) 30px;color:#b9b6cc;max-width:1280px;margin:0 auto }
[data-cp-fcols] { display:flex;justify-content:space-between;gap:30px 60px;flex-wrap:wrap;padding-bottom:30px }
[data-cp-flogo] img { display:block;width:110px;height:auto;background:#fff;border-radius:16px;padding:6px 8px }
[data-cp-foot] h2 { margin:0 0 10px;font:600 12px/1.2 var(--cpM);letter-spacing:.18em;text-transform:uppercase;color:#f7c66a }
[data-cp-fcols] p,[data-cp-fcols] li { margin:0 0 8px;font:400 15px/1.6 var(--cpB);color:#c9c6da }
[data-cp-fcols] ul { list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,auto);gap:0 30px }
[data-cp-foot] a { color:#fff;text-decoration:underline;text-decoration-color:#f7c66a;text-underline-offset:4px }
[data-cp-foot] a:hover { color:#f7c66a }
[data-cp-foot] a:focus-visible { outline:3px solid #f7c66a;outline-offset:3px }
[data-cp-fbase] { display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;padding-top:22px;border-top:1px solid rgb(255 255 255 / .12) }
[data-cp-fbase] p { margin:0;font:400 13px/1.6 var(--cpB);color:#9d9ab4 }
[data-cp-fbase] { align-items: center; }
[data-cp-credit] a { display: block; }
[data-cp-credit] img { display: block; height: 20px; width: auto; opacity: .55; transition: opacity .2s; }
[data-cp-credit] a:hover img, [data-cp-credit] a:focus-visible img { opacity: 1; }
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: #f7c66a; color: #1a1830; box-shadow: 0 4px 0 #c9922c; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.to-top.is-on { opacity: 1; visibility: visible; }
.to-top svg { width: 22px; height: 22px; }
.to-top:focus-visible { outline: 3px solid #f6f1f7; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .head, .to-top, .form-send { transition: none; } }
/* footer links: tall enough to tap */
[data-cp-fcols] a:not([data-cp-flogo]) { display: inline-block; min-height: 24px; }
[data-cp-credit] a { padding: 2px 0; }
