/*
Theme Name: MBEG Limo
Theme URI: https://24hourlimoandpartybuses.com/
Author: Rise Local
Author URI: https://riselocal.com
Description: Lightweight, block-editor-native theme for MBEG Affordable Limo Service (24 Hour Limo & Party Buses). No page builder required.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: mbeg-limo
*/

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/inter-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/inter-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/playfair-display-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/playfair-display-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 600; font-display: swap; src: url(assets/fonts/playfair-display-latin-600-italic.woff2) format("woff2"); }

/* ---------- Tokens ---------- */
:root {
	--ink: #0d0d14;
	--navy: #16163f;
	--navy-2: #1e1e52;
	--gold: #d3b574;
	--gold-dark: #8a6d2f;
	--pearl: #f7f4ee;
	--line: #e7e2d6;
	--text: #22222e;
	--muted: #5a5a6b;
	--radius: 14px;
	--shadow: 0 10px 30px rgba(13, 13, 20, .08);
	--shadow-lg: 0 24px 60px rgba(13, 13, 20, .18);
	--content: 760px;
	--wide: 1200px;
	--gutter: clamp(1.1rem, 4vw, 2rem);
	--display: "Playfair Display", Georgia, serif;
	--body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--body); color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4, h5 { font-family: var(--display); color: var(--navy); line-height: 1.2; margin: 0 0 .6em; }
p { margin: 0 0 1.1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--gold); color: var(--ink); padding: .75rem 1rem; font-weight: 600; }
.skip-link:focus { left: 1rem; top: 1rem; }
.wrap { width: 100%; max-width: var(--wide); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; margin-inline: auto; }
.eyebrow { font-family: var(--body); text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 600; color: var(--gold); margin: 0 0 .75rem; }
.eyebrow a { color: inherit; text-decoration: none; }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }

/* ---------- Buttons ---------- */
.mbeg-btn, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	padding: .85rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: .98rem; line-height: 1.2;
	text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--body);
	transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.mbeg-btn:hover, .wp-block-button__link:hover { transform: translateY(-2px); }
.mbeg-btn--gold, .wp-block-button__link { background: var(--gold); color: var(--ink); box-shadow: 0 8px 22px rgba(211, 181, 116, .35); }
.mbeg-btn--gold:hover, .wp-block-button__link:hover { background: #e2c88f; color: var(--ink); }
.is-style-outline .wp-block-button__link { background: transparent; color: var(--navy); border-color: var(--navy); box-shadow: none; }
.is-style-outline .wp-block-button__link:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.mbeg-btn--ghost, .hero .is-style-outline .wp-block-button__link, .section--dark .is-style-outline .wp-block-button__link, .contact-card .is-style-outline .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); box-shadow: none; }
.mbeg-btn--ghost:hover, .hero .is-style-outline .wp-block-button__link:hover, .section--dark .is-style-outline .wp-block-button__link:hover { border-color: var(--gold); color: var(--gold); background: transparent; }
.mbeg-btn--dark { background: var(--navy); color: #fff; }
.mbeg-btn--dark:hover { background: var(--ink); color: #fff; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .72); font-size: .8rem; letter-spacing: .04em; }
.topbar__inner { display: flex; justify-content: space-between; gap: 1rem; padding-block: .5rem; }
.topbar__tag { color: var(--gold); text-transform: uppercase; letter-spacing: .16em; font-weight: 600; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(13, 13, 20, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid rgba(211, 181, 116, .18); transition: box-shadow .2s ease; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1.5rem; }
.site-brand .custom-logo { height: 56px; width: auto; }
.site-brand__text { color: #fff; font-family: var(--display); font-size: 1.4rem; text-decoration: none; }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.mbeg-menu { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.mbeg-menu a { display: block; color: rgba(255, 255, 255, .88); text-decoration: none; font-weight: 500; font-size: .95rem; padding: .55rem .8rem; border-radius: 999px; transition: color .2s, background-color .2s; }
.mbeg-menu a:hover { color: var(--gold); }
.mbeg-menu .current-menu-item > a, .mbeg-menu .current_page_item > a, .mbeg-menu .current-menu-ancestor > a { color: var(--gold); background: rgba(211, 181, 116, .1); }
.mbeg-menu li { position: relative; }
.mbeg-menu .sub-menu { list-style: none; position: absolute; top: 100%; left: 0; min-width: 260px; padding: .5rem; margin: 0; background: var(--ink); border: 1px solid rgba(211, 181, 116, .2); border-radius: 12px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s ease; }
.mbeg-menu li:hover > .sub-menu, .mbeg-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.mbeg-menu .sub-menu a { border-radius: 8px; font-size: .9rem; }
.site-nav__call { padding: .7rem 1.2rem; font-size: .92rem; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { position: absolute; left: 10px; width: 24px; height: 2px; background: #fff; content: ""; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle__bar { top: 21px; }
.nav-toggle__bar::before { top: -7px; left: 0; }
.nav-toggle__bar::after { top: 7px; left: 0; }
.nav-open .nav-toggle__bar { background: transparent; }
.nav-open .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
	.nav-toggle { display: block; }
	.site-nav { position: fixed; inset: calc(var(--header-h) + 33px) 0 0 0; visibility: hidden; background: var(--ink); flex-direction: column; align-items: stretch; padding: 1.25rem var(--gutter) 2rem; gap: 1rem; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; }
	.nav-open .site-nav { transform: none; visibility: visible; }
	.nav-open { overflow: hidden; }
	.mbeg-menu { flex-direction: column; }
	.mbeg-menu a { font-size: 1.1rem; padding: .85rem 1rem; }
	.mbeg-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 1rem; background: transparent; }
}

/* ---------- Page hero ---------- */
.page-hero { background: radial-gradient(1200px 400px at 80% -10%, rgba(211, 181, 116, .18), transparent 60%), linear-gradient(135deg, var(--ink), var(--navy)); color: #fff; padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(3rem, 7vw, 5rem); position: relative; overflow: hidden; }
.page-hero--image { background-image: linear-gradient(100deg, rgba(13, 13, 20, .92) 0%, rgba(22, 22, 63, .78) 55%, rgba(13, 13, 20, .45) 100%), var(--hero); background-size: cover; background-position: center; }
.page-hero__title { color: #fff; font-size: clamp(2.3rem, 5.4vw, 3.8rem); margin: 0; max-width: 18ch; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--gold), transparent 70%); }

/* ---------- Entry content: constrained flow with full/wide breakouts ---------- */
.entry-content { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.entry--front .entry-content { padding-block: 0; }
.entry-content > * { max-width: var(--content); margin-left: auto; margin-right: auto; padding-inline: var(--gutter); box-sizing: content-box; }
.entry-content > .alignwide { max-width: var(--wide); }
.entry-content > .alignfull { max-width: none; padding-inline: 0; box-sizing: border-box; }
.entry-content > .alignfull.has-background, .entry-content > .wp-block-group.alignfull { padding-inline: var(--gutter); }
.entry-content h2 { font-size: clamp(1.75rem, 3.4vw, 2.4rem); margin-top: 1.6em; }
.entry-content h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin-top: 1.4em; }
.entry-content h4 { font-size: 1.2rem; margin-top: 1.2em; }
.entry-content > :first-child { margin-top: 0; }
.entry-content ul:not(.wp-block-gallery):not(.blocks-gallery-grid) { padding-left: 1.25rem; }
.entry-content li { margin-bottom: .35em; }
.entry-content li::marker { color: var(--gold-dark); }
.entry-content--narrow { padding-top: 0; }
.entry-content--narrow > * { padding-inline: 0; max-width: none; }

/* Group sections */
.wp-block-group.section { padding-top: clamp(3rem, 7vw, 5.5rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); margin-top: 0; margin-bottom: 0; }
.wp-block-group.section > * { max-width: var(--wide); margin-left: auto; margin-right: auto; }
.wp-block-group.section > .narrow { max-width: var(--content); }
.wp-block-group.section--pearl { background: var(--pearl); }
.wp-block-group.section--dark { background: linear-gradient(135deg, var(--ink), var(--navy)); color: rgba(255, 255, 255, .86); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark a:not(.wp-block-button__link) { color: var(--gold); }
.section-title { text-align: center; margin-top: 0 !important; }
.section-sub { text-align: center; color: var(--muted); max-width: 640px; margin-inline: auto !important; margin-bottom: 2.5rem !important; }
.section--dark .section-sub { color: rgba(255, 255, 255, .7); }
.entry-content .wp-block-group.section + .wp-block-group.section { margin-top: 0; }

/* ---------- Home hero (cover) ---------- */
.wp-block-cover.hero { min-height: min(88vh, 760px) !important; padding: clamp(5rem, 12vw, 8rem) var(--gutter) clamp(4rem, 9vw, 6rem); align-items: center; }
.wp-block-cover.hero .wp-block-cover__inner-container { max-width: var(--wide); width: 100%; margin-inline: auto; color: #fff; }
.hero .hero__title { color: #fff; font-size: clamp(2.6rem, 6.4vw, 4.8rem); max-width: 14ch; margin: 0 0 1.2rem; line-height: 1.05; }
.hero .hero__title em { color: var(--gold); font-style: italic; }
.hero .hero__sub { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: rgba(255, 255, 255, .82); max-width: 560px; }
.hero .wp-block-buttons { margin-top: 2rem; gap: .9rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: 3rem !important; padding-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, .15); max-width: 640px; }
.hero-facts p { margin: 0; color: rgba(255, 255, 255, .7); font-size: .88rem; }
.hero-facts strong { display: block; font-family: var(--display); font-size: 1.7rem; color: var(--gold); font-weight: 700; line-height: 1.1; }

/* Callout */
.callout { border: 1px solid var(--line); border-left: 4px solid var(--gold); background: #fff; border-radius: var(--radius); padding: 1.5rem 1.75rem !important; box-shadow: var(--shadow); }
.callout p { margin: 0; }
.section--pearl .callout { background: #fff; }
.callout h3, .callout h4 { margin-top: 0; }

/* ---------- Occasion / option cards ---------- */
.option-cards { gap: 1.5rem !important; }
.option-cards .wp-block-column { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink); box-shadow: var(--shadow); min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; transition: transform .25s ease, box-shadow .25s ease; }
.option-cards .wp-block-column:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.option-cards .wp-block-image { position: absolute; inset: 0; margin: 0; z-index: -1; }
.option-cards .wp-block-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.option-cards .wp-block-column:hover .wp-block-image img { transform: scale(1.06); }
.option-cards .wp-block-column::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 13, 20, 0) 30%, rgba(13, 13, 20, .9) 100%); }
.option-cards h3 { color: #fff; margin: 0 1.4rem .35rem; font-size: 1.5rem; }
.option-cards p { margin: 0 1.4rem 1.4rem; }
.option-cards p a { color: var(--gold); font-weight: 600; text-decoration: none; }
.option-cards p a::after { content: ""; position: absolute; inset: 0; }

/* ---------- Media + text split ---------- */
.split { gap: clamp(2rem, 5vw, 4rem) !important; align-items: center !important; }
.split .wp-block-image img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.split h2 { margin-top: 0; }
.frame img { border-radius: var(--radius); }

/* ---------- Service list columns ---------- */
.check-list { list-style: none; padding: 0 !important; margin: 0; }
.check-list li { position: relative; padding: .7rem 0 .7rem 2rem; border-bottom: 1px solid var(--line); margin: 0 !important; font-weight: 500; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 1.1rem; height: .6rem; border-left: 2px solid var(--gold-dark); border-bottom: 2px solid var(--gold-dark); transform: rotate(-45deg); }
.section--dark .check-list li { border-color: rgba(255, 255, 255, .12); color: #fff; }
.section--dark .check-list li::before { border-color: var(--gold); }
.check-list a { color: inherit; text-decoration: none; }
.check-list a:hover { color: var(--gold); }

/* ---------- Testimonials ---------- */
.quote-grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.quote-grid > * { margin: 0 !important; max-width: none !important; }
.wp-block-quote.testimonial { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem 1.75rem 1.5rem; box-shadow: var(--shadow); margin: 0; display: flex; flex-direction: column; }
.wp-block-quote.testimonial::before { content: "\201C"; position: absolute; top: -.2rem; left: 1.3rem; font-family: var(--display); font-size: 4.5rem; line-height: 1; color: var(--gold); }
.wp-block-quote.testimonial p { font-size: 1rem; color: var(--text); }
.wp-block-quote.testimonial cite { margin-top: auto; font-style: normal; font-weight: 600; color: var(--navy); font-size: .92rem; padding-top: .75rem; border-top: 1px solid var(--line); display: block; }
.section--dark .wp-block-quote.testimonial { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.section--dark .wp-block-quote.testimonial p { color: rgba(255, 255, 255, .86); }
.section--dark .wp-block-quote.testimonial cite { color: var(--gold); border-color: rgba(255, 255, 255, .1); }
.stars { color: var(--gold); letter-spacing: .2em; font-size: .95rem; margin-bottom: .5rem !important; }

/* ---------- Fleet ---------- */
.vehicle { border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(1.25rem, 3vw, 2rem) !important; background: #fff; box-shadow: var(--shadow); margin-bottom: 2rem !important; }
.vehicle h3 { margin-top: 0; font-size: 1.6rem; }
.vehicle .wp-block-image img { border-radius: 10px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.vehicle .vehicle__spec { display: inline-block; background: var(--pearl); color: var(--navy); border-radius: 999px; padding: .3rem .9rem; font-size: .85rem; font-weight: 600; margin-bottom: 1rem; }
.fleet-heading { margin-top: 3rem !important; }
.wp-block-gallery.fleet-gallery { gap: .75rem !important; }
.wp-block-gallery.fleet-gallery .wp-block-image img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }

/* ---------- Galleries (generic) ---------- */
.wp-block-gallery .wp-block-image img { border-radius: 10px; }

/* ---------- Price cards ---------- */
.price-cards { gap: 1.5rem !important; }
.price-cards .wp-block-column { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 2rem 1.75rem !important; box-shadow: var(--shadow); }
.price-cards h3 { margin-top: 0; }
.price-cards .price { font-family: var(--display); font-size: 2.2rem; color: var(--navy); font-weight: 700; margin: 0; line-height: 1.1; }
.price-cards .price-note { color: var(--muted); font-size: .9rem; }

/* ---------- FAQ (details) ---------- */
.wp-block-details { border: 1px solid var(--line); border-radius: 12px; padding: 0; margin-bottom: .9rem !important; background: #fff; overflow: hidden; }
.wp-block-details summary { cursor: pointer; padding: 1.15rem 3.25rem 1.15rem 1.4rem; font-weight: 600; color: var(--navy); list-style: none; position: relative; font-size: 1.05rem; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--gold-dark); font-weight: 400; transition: transform .2s; }
.wp-block-details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.wp-block-details[open] summary { border-bottom: 1px solid var(--line); background: var(--pearl); }
.wp-block-details > :not(summary) { padding-inline: 1.4rem; }
.wp-block-details > :nth-child(2) { margin-top: 1rem; }
.wp-block-details > :last-child { margin-bottom: 1.2rem; }

/* ---------- Contact ---------- */
.contact-grid { gap: clamp(2rem, 5vw, 3.5rem) !important; align-items: flex-start !important; }
.contact-card { background: linear-gradient(135deg, var(--ink), var(--navy)); color: rgba(255, 255, 255, .85); border-radius: calc(var(--radius) + 4px); padding: 2rem !important; box-shadow: var(--shadow-lg); }
.contact-card h2, .contact-card h3 { color: #fff; margin-top: 0; }
.contact-card a { color: var(--gold); text-decoration: none; font-weight: 600; }
.contact-card .big-phone { font-family: var(--display); font-size: 1.9rem; margin: .25rem 0 1rem; }
.contact-card .big-phone a { color: #fff; }

.mbeg-form { background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); scroll-margin-top: 140px; }
.mbeg-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.1rem; }
.mbeg-form__field { margin: 0 0 1rem; }
.mbeg-form__field--wide { grid-column: 1 / -1; }
.mbeg-form label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: .35rem; }
.mbeg-form input, .mbeg-form select, .mbeg-form textarea { width: 100%; font: inherit; color: var(--text); padding: .8rem .95rem; border: 1.5px solid #d8d3c6; border-radius: 10px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.mbeg-form input:focus, .mbeg-form select:focus, .mbeg-form textarea:focus { outline: none; border-color: var(--gold-dark); box-shadow: 0 0 0 4px rgba(211, 181, 116, .25); }
.mbeg-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mbeg-form__errors { background: #fff4f2; border: 1px solid #f1c2b8; color: #7a1f0e; border-radius: 10px; padding: 1rem 1.25rem; margin-bottom: 1.25rem; }
.mbeg-form__errors ul { margin: .25rem 0 0; }
.mbeg-form__submit { margin: .5rem 0 0; }
.mbeg-form__submit .mbeg-btn { width: 100%; padding-block: 1rem; font-size: 1.02rem; }
.mbeg-form__note { margin: 1rem 0 0; font-size: .9rem; color: var(--muted); text-align: center; }
@media (max-width: 640px) { .mbeg-form__grid { grid-template-columns: 1fr; } }

/* ---------- Services archive / cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.6rem; margin-top: 2.5rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--pearl); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.3rem; margin: 0 0 .5rem; }
.card__text { color: var(--muted); font-size: .95rem; margin: 0 0 1rem; }
.card__more { margin-top: auto; color: var(--gold-dark); font-weight: 600; font-size: .92rem; }

/* ---------- Single service layout ---------- */
.service-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 5vw, 4rem); padding-block: clamp(2.5rem, 6vw, 4.5rem); align-items: start; }
.service-layout .entry-content { padding: 0; }
.service-layout .entry-content > :first-child { margin-top: 0; }
.service-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 1.25rem; }
.aside-card { background: var(--pearl); border-radius: var(--radius); padding: 1.6rem; }
.aside-card h2 { font-size: 1.3rem; margin-top: 0; }
.aside-card--dark { background: linear-gradient(135deg, var(--ink), var(--navy)); color: rgba(255, 255, 255, .8); }
.aside-card--dark h2 { color: #fff; }
.aside-card--dark .mbeg-btn { width: 100%; margin-top: .6rem; }
.aside-list { list-style: none; margin: 0; padding: 0; }
.aside-list li { border-bottom: 1px solid var(--line); }
.aside-list a { display: block; padding: .55rem 0; color: var(--navy); text-decoration: none; font-weight: 500; font-size: .95rem; }
.aside-list a:hover { color: var(--gold-dark); }
@media (max-width: 960px) { .service-layout { grid-template-columns: 1fr; } .service-aside { position: static; } }

/* ---------- CTA band + footer ---------- */
.cta-band { background: radial-gradient(800px 300px at 10% 0%, rgba(211, 181, 116, .22), transparent 60%), var(--navy); color: rgba(255, 255, 255, .8); padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band__title { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 0 0 .4rem; }
.cta-band p { margin: 0; }
.cta-band__actions { display: flex; gap: .9rem; flex-wrap: wrap; }
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); font-size: .95rem; padding-top: clamp(3rem, 6vw, 4.5rem); }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer__title { color: #fff; font-size: 1.15rem; margin-bottom: 1rem; }
.site-footer .custom-logo { height: 56px; width: auto; margin-bottom: 1rem; }
.site-footer__phone a { font-family: var(--display); font-size: 1.5rem; color: var(--gold); }
.footer-links { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 1rem; }
.footer-links li { margin-bottom: .45rem; break-inside: avoid; font-size: .9rem; }
.social { list-style: none; display: flex; gap: .6rem; padding: 0; margin: 1.25rem 0 0; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); }
.social a:hover { border-color: var(--gold); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 1.4rem; font-size: .85rem; }
.site-footer__bottom p { margin: 0; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* Mobile sticky call */
.mobile-call { display: none; }
@media (max-width: 720px) {
	.mobile-call { display: block; position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 90; text-align: center; background: var(--gold); color: var(--ink); font-weight: 700; padding: .95rem; border-radius: 999px; text-decoration: none; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
	body { padding-bottom: 5rem; }
	.topbar__hours { display: none; }
}

/* Columns stacking */
@media (max-width: 781px) { .wp-block-columns.split .wp-block-column { flex-basis: 100% !important; } }

/* Centered button rows */
.wp-block-buttons.center-buttons { justify-content: center; margin-top: 2.5rem; }
.callout h3 { margin-bottom: .5rem; }

/* Direct-child boxed blocks keep the page gutter even though they set their own padding */
.entry-content > .wp-block-details,
.entry-content > .callout,
.entry-content > .vehicle { box-sizing: border-box; width: calc(100% - 2 * var(--gutter)); max-width: var(--content); margin-left: auto; margin-right: auto; }
.entry-content > .vehicle { max-width: var(--wide); }

/* Mobile nav: header must not create a containing block for the fixed panel */
@media (max-width: 1080px) {
	.site-header { backdrop-filter: none; background: var(--ink); }
	.site-nav { inset: 0; z-index: -1; padding-top: calc(var(--header-h) + 1.25rem); }
}
