/*
Theme Name: Boss Rentals
Description: Bold, booking-first car rental theme for Boss Rentals NJ. Self-contained: includes the fleet, booking form and settings.
Version: 2.1.0
Author: Boss Rentals
Text Domain: boss-rentals
*/

:root {
	--ink: #0b0f1a;
	--ink-2: #151b2b;
	--blue: #0b3f9e;
	--blue-2: #1f63e0;
	--accent: #ff5a1f;
	--accent-dark: #e24a12;
	--paper: #f3f5f9;
	--line: #e2e6ee;
	--muted: #5d6779;
	--radius: 16px;
	--shadow: 0 18px 50px rgba(11, 15, 26, .18);
	--wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-2); }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.05; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); text-transform: uppercase; }
h3 { font-size: 1.25rem; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark h2 { color: #fff; }
.accent { color: var(--accent); }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 800; color: var(--accent); margin-bottom: 14px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 52ch; }
.screen-reader-text { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; background: #fff; padding: 8px 12px; z-index: 999; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .95em 1.7em; border-radius: 10px; font-weight: 800; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; transition: transform .15s, background .15s, box-shadow .15s; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(255, 90, 31, .35); }
.btn--primary:hover { background: var(--accent-dark); }
.btn--ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--sm { padding: .6em 1.1em; font-size: .92rem; }
.btn--block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 54px; width: auto; background: #fff; border-radius: 8px; padding: 3px 6px; }
.nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; align-items: center; }
.nav a { text-decoration: none; color: #d8deea; font-weight: 600; font-size: .95rem; }
.nav a:hover, .nav .current-menu-item > a { color: #fff; }
.header-right { display: flex; align-items: center; gap: 18px; }
.header-phone { color: #fff; text-decoration: none; font-weight: 800; }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255, 255, 255, .3); color: #fff; border-radius: 10px; padding: 8px 14px; font: inherit; cursor: pointer; }
@media (max-width: 920px) {
	.nav-toggle { display: block; }
	.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink-2); padding: 12px 16px 22px; }
	.nav.is-open { display: block; }
	.nav ul { flex-direction: column; align-items: flex-start; gap: 16px; }
	.header-right .btn, .header-phone { display: none; }
}

/* Hero */
.hero { position: relative; background: var(--ink); color: #fff; padding: clamp(48px, 7vw, 96px) 0 clamp(150px, 16vw, 200px); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; right: -260px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(31, 99, 224, .55), transparent 65%); }
.hero::after { content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; left: -300px; bottom: -380px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 90, 31, .28), transparent 65%); }
.hero h1 { color: #fff; max-width: 13ch; }
.hero__sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: #c6cfe0; max-width: 46ch; margin: 0 0 24px; }
.hero__ticks { display: flex; gap: 12px 26px; flex-wrap: wrap; font-weight: 600; font-size: .95rem; color: #e5ebf7; }
.hero__ticks span::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .72rem; margin-right: 8px; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); border-radius: 999px; padding: 6px 16px 6px 6px; font-size: .85rem; font-weight: 700; margin-bottom: 22px; }
.hero__badge b { background: var(--accent); border-radius: 999px; padding: 4px 12px; }

/* Booking search card (hero) */
.search { position: relative; margin-top: -120px; z-index: 5; }
.search__card { background: #fff; color: var(--ink); border-radius: 20px; box-shadow: var(--shadow); padding: clamp(18px, 3vw, 30px); }
.tabs { display: inline-flex; gap: 4px; background: var(--paper); border-radius: 12px; padding: 4px; margin-bottom: 20px; flex-wrap: wrap; }
.tabs label { cursor: pointer; }
.tabs input { position: absolute; opacity: 0; pointer-events: none; }
.tabs span { display: block; padding: .6em 1.2em; border-radius: 9px; font-weight: 700; font-size: .92rem; color: var(--muted); }
.tabs input:checked + span { background: var(--ink); color: #fff; }
.tabs input:focus-visible + span { outline: 3px solid var(--accent); }
.search__grid { display: grid; gap: 14px; grid-template-columns: 1.1fr .8fr 1.1fr .8fr auto; align-items: end; }
@media (max-width: 980px) { .search__grid { grid-template-columns: 1fr 1fr; } .search__grid .btn { grid-column: 1 / -1; } }
@media (max-width: 520px) { .search__grid { grid-template-columns: 1fr; } }
.field label, .boss-form label { display: block; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.field input, .field select, .boss-form input[type=text], .boss-form input[type=tel], .boss-form input[type=email], .boss-form input[type=date], .boss-form select, .boss-form textarea { width: 100%; margin-top: 6px; padding: .85em .95em; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; }
.field input:focus, .field select:focus, .boss-form input:focus, .boss-form select:focus, .boss-form textarea:focus { border-color: var(--blue-2); outline: none; box-shadow: 0 0 0 3px rgba(31, 99, 224, .15); }
.search__note { margin: 14px 0 0; font-size: .85rem; color: var(--muted); }

/* USP strip */
.usps { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); padding: 44px 0 0; }
.usp { display: flex; gap: 14px; align-items: flex-start; }
.usp .ico { flex: none; width: 46px; height: 46px; border-radius: 12px; background: #e8eefc; color: var(--blue); display: grid; place-items: center; font-size: 1.3rem; }
.usp h3 { margin: 0 0 4px; font-size: 1.05rem; }
.usp p { margin: 0; color: var(--muted); font-size: .93rem; }

/* Fleet cards */
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.section__head h2 { margin: 0; }
.grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.card__media { aspect-ratio: 16 / 10; background: linear-gradient(160deg, #f7f8fb, #e6eaf2); display: grid; place-items: center; position: relative; padding: 14px; }
.card__media { overflow: hidden; flex: none; }
.card__media img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; mix-blend-mode: multiply; transition: transform .3s; }
.card:hover .card__media img { transform: scale(1.04); }
.tag { position: absolute; top: 14px; left: 14px; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 5px 11px; border-radius: 6px; }
.tag--off { background: #8a94a6; left: auto; right: 14px; }
.card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__body h3 { margin: 0; font-size: 1.4rem; }
.card__body h3 a { color: inherit; text-decoration: none; }
.specs { display: flex; gap: 8px 16px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: .9rem; font-weight: 600; }
.card__desc { margin: 0; color: var(--muted); font-size: .95rem; }
.card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); }
.price { font-size: 1.9rem; font-weight: 800; line-height: 1; }
.price small { display: block; font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }

/* Promo band */
.band { background: linear-gradient(110deg, var(--blue) 0, var(--blue-2) 100%); color: #fff; border-radius: 24px; padding: clamp(28px, 5vw, 56px); display: grid; gap: 24px; grid-template-columns: 1.4fr 1fr; align-items: center; position: relative; overflow: hidden; }
.band h2 { color: #fff; margin-bottom: 10px; }
.band p { margin: 0; color: #dbe6ff; }
.band__cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 800px) { .band { grid-template-columns: 1fr; } .band__cta { justify-content: flex-start; } }

/* Steps */
.steps { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step::before { counter-increment: s; content: "0" counter(s); display: block; font-size: 2.6rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 14px; }
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); }

/* About */
.split { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split--top { align-items: start; }
.about__logo { background: #fff; border-radius: 24px; padding: 24px; box-shadow: var(--shadow); max-width: 440px; margin-inline: auto; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; }
.checklist li::before { content: "✓"; flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 800; margin-top: 2px; }
details { border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; background: #fff; }
summary { cursor: pointer; font-weight: 700; }
details[open] summary { margin-bottom: 8px; color: var(--blue); }
details p { margin: 0; color: var(--muted); }

/* Booking form (3 steps) */
.boss-form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3vw, 34px); box-shadow: var(--shadow); color: var(--ink); }
.fstep { display: flex; gap: 14px; align-items: center; margin: 6px 0 16px; }
.fstep b { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .95rem; }
.fstep h3 { margin: 0; font-size: 1.15rem; }
.fstep small { display: block; color: var(--muted); font-weight: 500; }
.boss-form__grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-bottom: 26px; }
.vpick { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-bottom: 26px; }
.vpick label { text-transform: none; letter-spacing: 0; font-size: inherit; color: inherit; cursor: pointer; margin: 0; }
.vpick input { position: absolute; opacity: 0; pointer-events: none; }
.vcard { display: block; border: 2px solid var(--line); border-radius: 14px; padding: 10px 12px 14px; transition: border-color .15s, box-shadow .15s; background: #fff; }
.vcard img { aspect-ratio: 16 / 10; width: 100%; object-fit: contain; mix-blend-mode: multiply; background: var(--paper); border-radius: 8px; margin-bottom: 8px; }
.vcard strong { display: block; font-size: 1rem; }
.vcard em { font-style: normal; color: var(--muted); font-size: .88rem; font-weight: 600; }
.vpick input:checked + .vcard { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 90, 31, .18); }
.vpick input:focus-visible + .vcard { outline: 3px solid var(--blue-2); }
.boss-form > label { margin-bottom: 20px; }
.boss-check { display: flex !important; gap: 10px; align-items: flex-start; text-transform: none !important; letter-spacing: 0 !important; font-size: .92rem !important; font-weight: 500 !important; color: var(--ink) !important; margin-bottom: 20px; }
.boss-check input { width: auto !important; margin: 4px 0 0 !important; }
.boss-hp { position: absolute; left: -9999px; }
.boss-form__note { color: var(--muted); font-size: .85rem; margin: 12px 0 0; text-align: center; }
.boss-notice { padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-weight: 700; }
.boss-notice--ok { background: #e3f6ec; color: #11603a; }
.boss-notice--err { background: #fde8e8; color: #8a1c1c; }
.contact-card { background: var(--ink); color: #c6cfe0; border-radius: 20px; padding: 30px; margin-top: 28px; }
.contact-card h3, .contact-card a { color: #fff; }
.contact-card ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; }
.map iframe { width: 100%; height: 240px; border: 0; border-radius: 12px; }

/* Inner pages */
.page-hero { background: var(--ink); color: #fff; padding: 56px 0; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0; }
.page-hero p { color: #c6cfe0; margin: 10px 0 0; }
.vehicle { display: grid; gap: 40px; grid-template-columns: 1.3fr 1fr; align-items: start; }
@media (max-width: 860px) { .vehicle { grid-template-columns: 1fr; } }
.entry-content > * + * { margin-top: 1em; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.filters a { padding: .55em 1.2em; border-radius: 10px; border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; }
.filters a.is-active, .filters a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Footer */
.site-footer { background: var(--ink); color: #aab4c8; padding: 64px 0 24px; }
.site-footer h4 { color: #fff; margin: 0 0 14px; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-logo { height: 70px; width: auto; background: #fff; border-radius: 10px; padding: 4px 8px; margin-bottom: 14px; }
.copyright { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 22px; font-size: .85rem; }

/* Floating contact (desktop) + mobile call bar */
.float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 800; padding: .85em 1.3em; border-radius: 999px; box-shadow: var(--shadow); }
.float::before { content: "📞"; }
.float:hover { background: var(--accent); }
.callbar { display: none; }
@media (max-width: 700px) {
	.float { display: none; }
	.callbar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; background: var(--ink); padding: 10px 16px; gap: 10px; }
	.callbar .btn { flex: 1; }
	.callbar .btn--outline { border-color: rgba(255, 255, 255, .5); color: #fff; }
	body { padding-bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
