/*
Theme Name: MRV Motors
Theme URI: https://mrvmotors.com
Author: Satyam Bharati
Description: Custom WordPress theme for MRV Unique Motors – denting, painting, vehicle service, AC repair and wheel balancing workshop in Churu / Sadulpur, Rajasthan. Includes a Services custom post type with 20 ready-made service pages (including Cashless Insurance Services), gallery, contact/booking form, and one-click setup on activation.
Version: 1.1.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mrv-motors
Tags: business, custom-logo, custom-menu, featured-images, translation-ready, one-column, two-columns
*/

:root {
	--navy: #0a1f5c;
	--navy-deep: #06143d;
	--blue: #1b3a8a;
	--red: #d71920;
	--red-dark: #b3121a;
	--yellow: #ffc20e;
	--ink: #1a2238;
	--muted: #5b6478;
	--line: #e3e7f0;
	--tint: #f3f6fc;
	--white: #fff;
	--radius: 14px;
	--shadow: 0 10px 30px rgba(10, 31, 92, .12);
	--shadow-sm: 0 4px 14px rgba(10, 31, 92, .08);
	--font-head: 'Oswald', 'Arial Narrow', sans-serif;
	--font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ------------------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img, iframe, video { max-width: 100%; height: auto; display: block; }
iframe { border: 0; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; color: var(--navy); margin: 0 0 .5em; font-weight: 600; letter-spacing: .01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.skip-link:focus { clip: auto; width: auto; height: auto; background: #fff; padding: 10px 16px; z-index: 9999; top: 6px; left: 6px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; }
.mt { margin-top: 36px; }
.mb { margin-bottom: 36px; }
.mrv-icon { width: 1.25em; height: 1.25em; flex: none; }

/* ------------------------------------------------------------- Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem;
	border: 2px solid transparent; cursor: pointer; line-height: 1.2;
	font-family: var(--font-body); transition: transform .15s, background .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--block { display: flex; width: 100%; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(215, 25, 32, .3); }
.btn--red:hover { background: var(--red-dark); color: #fff; }
.btn--blue { background: var(--navy); color: #fff; }
.btn--blue:hover { background: var(--blue); color: #fff; }
.btn--yellow { background: var(--yellow); color: var(--navy-deep); }
.btn--yellow:hover { background: #ffd24a; color: var(--navy-deep); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--ghost-dark { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost-dark:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* ------------------------------------------------------------- Top bar */
.topbar { background: var(--navy-deep); color: #cfd8f3; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 0; }
.topbar ul { list-style: none; display: flex; align-items: center; gap: 22px; }
.topbar li { display: flex; align-items: center; gap: 7px; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--yellow); }
.topbar__social { gap: 14px !important; }
.topbar__social a { display: flex; }

/* ------------------------------------------------------------- Header */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 2px 16px rgba(10, 31, 92, .1); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand img, .brand .custom-logo { height: 62px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav .menu { list-style: none; display: flex; align-items: center; gap: 4px; }
.main-nav .menu > li { position: relative; }
.main-nav .menu > li > a {
	display: block; padding: 28px 14px; font-weight: 600; color: var(--navy);
	font-size: .95rem; text-transform: uppercase; letter-spacing: .04em; font-family: var(--font-head);
}
.main-nav .menu > li > a:hover,
.main-nav .menu > li.current-menu-item > a,
.main-nav .menu > li.current-menu-ancestor > a { color: var(--red); }
.main-nav .menu-item-has-children > a::after { content: '▾'; margin-left: 6px; font-size: .7em; }

.main-nav .sub-menu {
	list-style: none; position: absolute; left: 50%; top: 100%; transform: translateX(-40%) translateY(10px);
	background: #fff; border-top: 4px solid var(--red); border-radius: 0 0 var(--radius) var(--radius);
	box-shadow: var(--shadow); padding: 18px; width: min(720px, 90vw);
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 18px;
	opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s;
}
.main-nav .menu-item-has-children:hover > .sub-menu,
.main-nav .menu-item-has-children:focus-within > .sub-menu,
.main-nav .menu-item-has-children.open > .sub-menu { opacity: 1; visibility: visible; transform: translateX(-40%) translateY(0); }
.main-nav .sub-menu a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--ink); font-size: .9rem; font-weight: 500; }
.main-nav .sub-menu a:hover { background: var(--tint); color: var(--red); }
.nav-cta { white-space: nowrap; padding: 11px 20px; }

.nav-toggle { display: none; background: var(--navy); color: #fff; border: 0; border-radius: 10px; width: 46px; height: 46px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

/* ------------------------------------------------------------- Hero */
.hero {
	position: relative; color: #fff; padding: clamp(60px, 9vw, 120px) 0;
	background: linear-gradient(100deg, rgba(6, 20, 61, .95) 0%, rgba(10, 31, 92, .85) 45%, rgba(10, 31, 92, .45) 100%), var(--hero-img) center / cover no-repeat;
}
.hero__inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero .lead { font-size: 1.12rem; color: #dbe3fb; max-width: 560px; }
.eyebrow {
	display: inline-block; font-family: var(--font-head); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase;
	color: var(--yellow); background: rgba(255, 194, 14, .12); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow--dark { color: var(--red); background: rgba(215, 25, 32, .08); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0; }
.hero__checks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .92rem; color: #dbe3fb; }
.hero__checks li { display: flex; align-items: center; gap: 8px; }
.hero__checks .mrv-icon { color: var(--yellow); }
.hero__badge { justify-self: center; }
.hero__badge img { width: min(380px, 80%); margin-inline: auto; border-radius: 50%; box-shadow: 0 20px 60px rgba(0, 0, 0, .45); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ------------------------------------------------------------- Trust strip */
.trust { background: var(--red); color: #fff; }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 20px 10px; border-right: 1px solid rgba(255, 255, 255, .25); font-family: var(--font-head); text-transform: uppercase; letter-spacing: .06em; }
.trust__item:last-child { border-right: 0; }
.trust__item .mrv-icon { width: 30px; height: 30px; }

/* ------------------------------------------------------------- Sections */
.section { padding: clamp(50px, 7vw, 90px) 0; }
.section--tint { background: var(--tint); }
.section--navy { background: linear-gradient(135deg, var(--navy-deep), var(--navy)); color: #dbe3fb; }
.section--navy h2 { color: #fff; }
.section-head { max-width: 700px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--muted); }

/* Core specialities */
.core-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.core--featured { border-color: var(--red); background: linear-gradient(180deg, #fff, #fff4f4); }
.core--featured .core__icon { background: var(--red); color: #fff; }
.core--featured h3 { color: var(--red); }
.core {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 24px; text-align: center;
	box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; color: var(--ink); position: relative; overflow: hidden;
}
.core::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--navy), var(--red)); transform: scaleX(0); transition: transform .3s; }
.core:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--ink); }
.core:hover::after { transform: scaleX(1); }
.core__icon { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--tint); color: var(--navy); margin: 0 auto 18px; }
.core__icon .mrv-icon { width: 36px; height: 36px; }
.core p { color: var(--muted); font-size: .93rem; margin: 0; }

/* Promo posters */
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.promo { display: block; background: var(--navy); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: #fff; transition: transform .2s; }
.promo:hover { transform: translateY(-6px); color: #fff; }
.promo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.promo__label { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; font-family: var(--font-head); font-size: 1.1rem; letter-spacing: .03em; text-transform: uppercase; }

/* Service cards */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; overflow: hidden; }
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.svc-card__link { display: flex; flex-direction: column; height: 100%; padding: 24px; color: var(--ink); }
.svc-card.has-img .svc-card__link { padding: 0 0 24px; }
.svc-card.has-img .svc-card__icon, .svc-card.has-img .svc-card__title, .svc-card.has-img .svc-card__text, .svc-card.has-img .svc-card__more { margin-left: 24px; margin-right: 24px; }
.svc-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: -28px; }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.svc-card:hover .svc-card__media img { transform: scale(1.06); }
.svc-card__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--navy); color: #fff; margin-bottom: 14px; position: relative; box-shadow: 0 6px 16px rgba(10, 31, 92, .25); }
.svc-card.has-img .svc-card__icon { margin-top: 0; }
.svc-card__icon .mrv-icon { width: 28px; height: 28px; }
.svc-card__icon--lg { width: 72px; height: 72px; border-radius: 18px; margin: 0; }
.svc-card__icon--lg .mrv-icon { width: 36px; height: 36px; }
.svc-card__title { font-size: 1.2rem; margin-bottom: 8px; }
.svc-card__text { color: var(--muted); font-size: .92rem; flex: 1; }
.svc-card__more { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 600; font-size: .9rem; }
.svc-card__more .mrv-icon { width: 1em; height: 1em; transition: transform .2s; }
.svc-card:hover .svc-card__more .mrv-icon { transform: translateX(5px); }

/* Why us */
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.why__media img { border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.why__copy .eyebrow { margin-bottom: 14px; }

/* Check lists */
.check-list { list-style: none; display: grid; gap: 10px; margin: 18px 0 26px; }
.check-list li { position: relative; padding-left: 34px; font-weight: 500; }
.check-list li::before {
	content: ''; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--red)
	url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.check-list--light li { color: #fff; }
.check-list--cols { grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }

/* Mini gallery */
.mini-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mini-gallery a { display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 3 / 4; box-shadow: var(--shadow-sm); }
.mini-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mini-gallery a:hover img { transform: scale(1.07); }

/* Visit */
.visit { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: stretch; }
.visit__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 340px; }
.visit__map iframe { width: 100%; height: 100%; min-height: 340px; }
.contact-list { list-style: none; display: grid; gap: 14px; margin-top: 18px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list .mrv-icon { margin-top: 3px; color: var(--yellow); }
.contact-list--dark .mrv-icon { color: var(--red); }

/* CTA band */
.cta-band { background: linear-gradient(100deg, var(--red-dark), var(--red)); color: #fff; padding: 46px 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; color: #ffe4e5; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------------------------------------- Page hero */
.page-hero {
	background: linear-gradient(100deg, rgba(6, 20, 61, .94), rgba(10, 31, 92, .78)), var(--hero-img) center / cover no-repeat;
	color: #fff; padding: clamp(46px, 7vw, 86px) 0;
}
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: #dbe3fb; max-width: 640px; margin: 0; font-size: 1.05rem; }
.crumbs { display: flex; gap: 8px; font-size: .85rem; color: #aebbe6; margin-bottom: 14px; flex-wrap: wrap; }
.crumbs a { color: #fff; }
.crumbs a:hover { color: var(--yellow); }

/* ------------------------------------------------------------- Split / about */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split--rev .split__media { order: 2; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value { background: #fff; border-radius: var(--radius); padding: 28px 22px; box-shadow: var(--shadow-sm); text-align: center; }
.value .mrv-icon { width: 42px; height: 42px; color: var(--red); margin: 0 auto 12px; }
.value p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ------------------------------------------------------------- Services page */
.group { margin-bottom: 64px; }
.group:last-child { margin-bottom: 0; }
.group__head { border-left: 6px solid var(--red); padding-left: 18px; margin-bottom: 28px; }
.group__head h2 { margin-bottom: 4px; }
.group__head p { margin: 0; color: var(--muted); }

/* ------------------------------------------------------------- Single service */
.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 44px; align-items: start; }
.svc-main__img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 30px; }
.svc-main__head { display: flex; gap: 18px; align-items: center; margin-bottom: 20px; }
.svc-main__head h2 { margin: 0; }
.tagline-text { margin: 4px 0 0; color: var(--red); font-weight: 600; }
.block-title { margin: 36px 0 16px; padding-bottom: 8px; border-bottom: 3px solid var(--yellow); display: inline-block; }
.include-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.include-grid li { display: flex; gap: 10px; align-items: flex-start; background: var(--tint); border-radius: 10px; padding: 12px 14px; font-weight: 500; }
.include-grid .mrv-icon { color: var(--red); margin-top: 2px; }
.steps { list-style: none; counter-reset: step; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; padding: 4px 0 4px 58px; display: grid; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-head); font-size: 1.2rem; display: grid; place-items: center; }
.steps span { color: var(--muted); font-size: .93rem; }

.svc-side { display: grid; gap: 24px; position: sticky; top: 110px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.side-card--call { background: linear-gradient(135deg, var(--navy-deep), var(--navy)); color: #dbe3fb; border: 0; display: grid; gap: 10px; }
.side-card--call h3 { color: #fff; margin: 0; }
.side-card--call p { margin: 0 0 6px; }
.side-list { list-style: none; display: grid; }
.side-list li a { display: block; padding: 9px 0; border-bottom: 1px dashed var(--line); color: var(--ink); font-size: .93rem; }
.side-list li a:hover { color: var(--red); padding-left: 6px; }
.svc-side .enquiry { padding: 24px; }

/* ------------------------------------------------------------- Gallery */
.gallery { columns: 3 280px; column-gap: 18px; }
.gallery__item { margin: 0 0 18px; break-inside: avoid; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: #fff; position: relative; }
.gallery__item img { width: 100%; transition: transform .4s; }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; color: #fff; font-size: .85rem; background: linear-gradient(transparent, rgba(6, 20, 61, .9)); opacity: 0; transition: opacity .25s; }
.gallery__item:hover figcaption { opacity: 1; }
.lightbox { position: fixed; inset: 0; background: rgba(6, 20, 61, .94); z-index: 9999; display: none; align-items: center; justify-content: center; padding: 30px; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 92vh; max-width: 94vw; width: auto; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }

/* ------------------------------------------------------------- Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 44px; align-items: start; }
.info-cards { list-style: none; display: grid; gap: 14px; margin-top: 20px; }
.info-card { display: flex; gap: 16px; align-items: flex-start; background: var(--tint); border-radius: var(--radius); padding: 16px 18px; }
.info-card > .mrv-icon { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: var(--navy); color: #fff; }
.info-card h3 { margin: 0 0 2px; font-size: 1.05rem; }
.info-card p { margin: 0; color: var(--muted); }
.map-full { position: relative; }
.map-full iframe { width: 100%; height: 420px; }
.map-full__btn { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); box-shadow: var(--shadow); }
.map-full__btn:hover { transform: translateX(-50%) translateY(-2px); }

/* Form */
.enquiry { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); border-top: 5px solid var(--red); }
.enquiry__title { margin-bottom: 4px; }
.enquiry__sub { color: var(--muted); font-size: .93rem; }
.form p { margin: 0 0 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.form label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: 5px; color: var(--navy); }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form select, .form textarea, .search-form input {
	width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27, 58, 138, .15); }
.hp { position: absolute !important; left: -9999px; height: 0; overflow: hidden; }
.alert { padding: 14px 16px; border-radius: 10px; margin-bottom: 16px; font-weight: 500; }
.alert--ok { background: #e7f7ec; color: #14663a; border: 1px solid #b6e4c6; }
.alert--err { background: #fdeaea; color: #8f1a1a; border: 1px solid #f3bcbc; }
.search-form { display: flex; gap: 10px; }

/* ------------------------------------------------------------- Entry / blog */
.entry > * + * { margin-top: 1em; }
.entry img { border-radius: 10px; }
.entry h2, .entry h3 { margin-top: 1.4em; }
.entry ul, .entry ol { padding-left: 1.4em; }
.entry blockquote { border-left: 4px solid var(--red); margin-left: 0; padding: 4px 0 4px 20px; color: var(--muted); }
.post-list { display: grid; gap: 28px; }
.post-card { display: grid; grid-template-columns: 260px 1fr; gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.post-card:not(:has(.post-card__img)) { grid-template-columns: 1fr; padding: 24px; }
.post-card > div { padding: 22px 22px 22px 0; }
.post-card:not(:has(.post-card__img)) > div { padding: 0; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.meta { color: var(--muted); font-size: .85rem; }
.pagination { margin-top: 36px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers { padding: 8px 16px; border-radius: 8px; background: var(--tint); font-weight: 600; }
.pagination .current { background: var(--navy); color: #fff; }
.big-404 { font-family: var(--font-head); font-size: clamp(5rem, 18vw, 10rem); line-height: 1; margin: 0; color: var(--red); }
.comments { margin-top: 48px; }

/* ------------------------------------------------------------- Footer */
.site-footer { background: var(--navy-deep); color: #b9c4e8; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1.4fr; gap: 40px; padding: 64px 0 44px; }
.site-footer h3 { color: #fff; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; position: relative; padding-bottom: 12px; }
.site-footer h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--red); }
.site-footer a { color: #d6def5; }
.site-footer a:hover { color: var(--yellow); }
.footer-logo { background: #fff; padding: 8px 14px; border-radius: 10px; margin-bottom: 16px; }
.footer-menu { list-style: none; display: grid; gap: 9px; }
.owner { display: flex; align-items: center; gap: 8px; color: #fff; }
.owner .mrv-icon { color: var(--yellow); }
.social-row { list-style: none; display: flex; gap: 10px; margin-top: 16px; }
.social-row a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s; }
.social-row a:hover { background: var(--red); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom__inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0; }
.footer-bottom p { margin: 0; font-size: .88rem; }
.footer-bottom .tagline { color: var(--yellow); font-family: var(--font-head); letter-spacing: .08em; text-transform: uppercase; }

.float-actions { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: grid; gap: 12px; }
.float-btn { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .3); transition: transform .2s; }
.float-btn:hover { transform: scale(1.1); color: #fff; }
.float-btn .mrv-icon { width: 28px; height: 28px; }
.float-btn--wa { background: #25d366; }
.float-btn--call { background: var(--red); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(215, 25, 32, .6); } 70% { box-shadow: 0 0 0 16px rgba(215, 25, 32, 0); } 100% { box-shadow: 0 0 0 0 rgba(215, 25, 32, 0); } }

/* WordPress core classes */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; display: block; }
.wp-caption-text, figcaption { font-size: .85rem; color: var(--muted); }
.sticky .post-card__img { outline: 3px solid var(--yellow); }
.gallery-caption, .bypostauthor { display: block; }


/* Admin bar: keep the sticky header below the WordPress toolbar */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .site-header { top: 0; } }
body { overflow-x: hidden; }
@supports (overflow: clip) { body { overflow-x: clip; } }

/* Highlighted menu item */
.main-nav .menu > li.menu-highlight > a { color: var(--red); }
.main-nav .menu > li.menu-highlight > a::before { content: '★'; margin-right: 5px; font-size: .8em; color: var(--yellow); }

/* Cashless insurance banner */
.insure { background: linear-gradient(120deg, var(--red-dark), var(--red) 55%, #e8423f); color: #fff; padding: clamp(46px, 6vw, 76px) 0; position: relative; overflow: hidden; }
.insure::after { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.insure__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.insure h2 { color: #fff; }
.insure p { color: #ffe6e7; max-width: 560px; }
.insure .eyebrow { color: var(--navy-deep); background: var(--yellow); }
.insure__steps { list-style: none; counter-reset: ins; display: grid; gap: 12px; }
.insure__steps li { counter-increment: ins; position: relative; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); border-radius: 12px; padding: 12px 16px 12px 62px; display: grid; backdrop-filter: blur(2px); }
.insure__steps li::before { content: counter(ins); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); color: var(--navy-deep); font-family: var(--font-head); font-size: 1.1rem; display: grid; place-items: center; }
.insure__steps strong { font-family: var(--font-head); letter-spacing: .03em; text-transform: uppercase; font-size: 1rem; }
.insure__steps span { color: #ffe6e7; font-size: .9rem; }

.footer-bottom .credit { color: #8fa0d4; }
.footer-bottom__inner { align-items: center; }

/* ------------------------------------------------------------- Responsive */
@media (max-width: 1280px) {
	.main-nav { gap: 14px; }
	.main-nav .menu > li > a { padding: 28px 9px; font-size: .88rem; }
	.nav-cta { padding: 10px 16px; }
}
@media (max-width: 1180px) {
	/* Collapse the main navigation into a hamburger menu */
	.nav-toggle { display: inline-flex; }
	.main-nav {
		position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; gap: 0;
		padding: 10px 20px 24px; box-shadow: 0 18px 30px rgba(10, 31, 92, .15); display: none; max-height: calc(100vh - 110px); overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}
	.main-nav.open { display: flex; }
	.main-nav .menu { flex-direction: column; align-items: stretch; }
	.main-nav .menu > li > a { padding: 14px 6px; border-bottom: 1px solid var(--line); font-size: 1rem; }
	.main-nav .menu-item-has-children > a { display: flex; justify-content: space-between; align-items: center; }
	.main-nav .sub-menu { position: static; transform: none !important; opacity: 1; visibility: visible; display: none; width: auto; box-shadow: none; border-top: 0; padding: 6px 0 6px 14px; grid-template-columns: 1fr; border-radius: 0; }
	.main-nav .menu-item-has-children.open > .sub-menu { display: grid; }
	.main-nav .menu-item-has-children:hover > .sub-menu, .main-nav .menu-item-has-children:focus-within > .sub-menu { transform: none; }
	.nav-cta { margin-top: 14px; }
}
@media (max-width: 1100px) {
	.core-grid { grid-template-columns: repeat(2, 1fr); }
	.core--featured { grid-column: 1 / -1; }
	.value-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.svc-layout { grid-template-columns: 1fr; }
	.svc-side { position: static; }
	.insure__inner { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
	.hide-md { display: none !important; }
	.hero__inner, .why__grid, .split, .visit, .contact-grid { grid-template-columns: 1fr; }
	.split--rev .split__media { order: 0; }
	.hero__badge { display: none; }
	.promo-grid { grid-template-columns: 1fr; }
	.mini-gallery { grid-template-columns: repeat(2, 1fr); }
	.trust__grid { grid-template-columns: repeat(2, 1fr); }
	.trust__item:nth-child(2) { border-right: 0; }
	.trust__item:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .25); }
	.svc-side { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.hide-sm { display: none !important; }
	.hero { background: linear-gradient(180deg, rgba(6, 20, 61, .93), rgba(10, 31, 92, .88)), var(--hero-img) center / cover no-repeat; }
	.page-hero { background: linear-gradient(180deg, rgba(6, 20, 61, .95), rgba(10, 31, 92, .9)), var(--hero-img) center / cover no-repeat; }
	body { font-size: 15.5px; }
	.container { width: min(1180px, 100% - 32px); }
	.topbar__inner { padding: 6px 0; }
	.core-grid, .value-grid, .include-grid, .check-list--cols, .form__row, .insure__steps { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; padding-top: 44px; gap: 30px; }
	.post-card { grid-template-columns: 1fr; }
	.post-card > div { padding: 0 20px 22px; }
	.enquiry { padding: 22px; }
	.site-header__inner { min-height: 72px; }
	.brand img, .brand .custom-logo { height: 50px; }
	.footer-bottom__inner { flex-direction: column; text-align: center; align-items: center; }
	.cta-band__inner { text-align: center; justify-content: center; }
	.cta-band__actions, .hero__actions, .btn-row { width: 100%; }
	.cta-band__actions .btn, .hero__actions .btn, .btn-row .btn { flex: 1 1 100%; }
	.trust__item { flex-direction: column; gap: 6px; padding: 16px 6px; text-align: center; font-size: .85rem; }
	.mini-gallery { gap: 10px; }
	.map-full iframe { height: 340px; }
	.map-full__btn { white-space: nowrap; }
	.float-actions { right: 12px; bottom: 12px; }
	.float-btn { width: 50px; height: 50px; }
	.svc-main__head { flex-direction: column; align-items: flex-start; }
	.svc-card__link { padding: 20px; }
	.gallery__item figcaption { opacity: 1; }
	.group__head { padding-left: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
	.topbar, .site-header, .site-footer, .float-actions, .cta-band { display: none; }
}
