/* Jumper Bee Homepage V2 — mobile-first */

:root {
	--jb-yellow: #ffd400;
	--jb-yellow-deep: #ffb800;
	--jb-black: #0d1b3d;
	--jb-ink: #0d1b3d;
	--jb-white: #ffffff;
	--jb-cream: #fff8e7;
	--jb-cream-2: #fff1cf;
	--jb-bg-soft: #f0f9ff;
	--jb-bg-dark: #0d1b3d;
	--jb-bg-dark-2: #142a5c;
	--jb-pink: #ff2e7e;
	--jb-pink-deep: #d81b67;
	--jb-blue: #00a6ff;
	--jb-blue-deep: #0077cc;
	--jb-purple: #7b3ff2;
	--jb-teal: #1fd8c5;
	--jb-red: #ff3b57;
	--jb-green: #2ecc71;
	--jb-gray: #f6f2ea;
	--jb-gray-2: #e9e4da;
	--jb-text: #2a2438;
	--jb-radius: 14px;
	--jb-radius-lg: 22px;
	--jb-shadow: 0 6px 20px rgba(0,0,0,.12);
	--jb-shadow-lg: 0 14px 40px rgba(0,0,0,.18);
	--jb-font-head: "Fredoka", "Baloo 2", system-ui, -apple-system, "Segoe UI", sans-serif;
	--jb-font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--jb-max: 1440px;
}

.jb-home {
	color: var(--jb-text);
	font-family: var(--jb-font-body);
	line-height: 1.55;
}

.jb-home h1, .jb-home h2, .jb-home h3 {
	font-family: var(--jb-font-head);
	color: var(--jb-black);
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.jb-home h1 { font-size: clamp(2rem, 6vw, 3.75rem); font-weight: 800; }
.jb-home h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 800; margin: 0 0 1rem; }
.jb-home h3 { font-size: 1.2rem; font-weight: 700; margin: .75rem 0 .5rem; }

.jb-home p { margin: 0 0 1rem; }
.jb-home :where(p, li, h2, h3) > a:not(.jb-btn) { color: var(--jb-black); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.jb-home :where(p, li, h2, h3) > a:not(.jb-btn):hover { color: var(--jb-red); }

.jb-container {
	max-width: var(--jb-max);
	margin: 0 auto;
	padding: 0 1.5rem;
}
@media (min-width: 768px) { .jb-container { padding: 0 2.5rem; } }

.jb-home section { padding: clamp(4rem, 7vw, 6.5rem) 0; }
.jb-home section > .jb-container > h2:first-child { margin-bottom: 2rem; }

/* HERO */
.jb-hero {
	position: relative;
	color: var(--jb-white);
	padding: 0;
	min-height: 68vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	background:
		radial-gradient(ellipse at 80% 15%, rgba(0,166,255,.35), transparent 55%),
		linear-gradient(180deg, var(--jb-bg-dark) 0%, var(--jb-bg-dark-2) 100%);
}
.jb-hero__media { position: absolute; inset: 0; z-index: 0; }
.jb-hero__img { width: 100%; height: 100%; object-fit: cover; opacity: .4; mix-blend-mode: luminosity; }
/* Universal dark scrim — guarantees contrast for white hero copy across every template.
   Layer: media (z 0) → scrim (z 1) → overlay/copy (z 2). */
.jb-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgba(0, 0, 0, 0.38);
	pointer-events: none;
}
.jb-hero__overlay {
	position: relative;
	z-index: 2;
	max-width: var(--jb-max);
	margin: 0 auto;
	padding: clamp(4rem, 7vw, 4rem) 1.5rem;
	width: 100%;
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	align-items: center;
}
@media (min-width: 960px) {
	.jb-hero__overlay {
		grid-template-columns: minmax(0, 1.4fr) minmax(280px, .9fr);
		gap: 3rem;
	}
}
.jb-hero__copy { min-width: 0; }
.jb-hero h1 { color: var(--jb-white); max-width: 22ch; }
.jb-hero h1::after {
	content: "";
	display: block;
	width: 120px;
	height: 8px;
	background: var(--jb-blue);
	border-radius: 4px;
	margin-top: 1rem;
}
.jb-hero__sub { font-size: clamp(1.05rem, 2vw, 1.35rem); max-width: 55ch; opacity: .95; }
.jb-hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 1rem; }

/* Button system lives in style.css so it's available site-wide. */

/* Shared quote-form sidebar (used in Christmas hero + category archive hero) */
.jb-hero__form {
	background: #fff;
	color: var(--jb-text);
	border-radius: var(--jb-radius-lg);
	padding: clamp(1.75rem, 3vw, 2.5rem);
	box-shadow: var(--jb-shadow-lg);
}
.jb-hero__form-title {
	margin: 0 0 .5rem;
	color: var(--jb-black);
	font-family: var(--jb-font-head);
	font-size: 1.5rem;
	font-weight: 800;
}
.jb-hero__form-sub { margin: 0 0 1.5rem; font-size: .95rem; color: #555; }
.jb-hero__form form { margin: 0; }
.jb-hero__form p,
.jb-hero__form .frm_form_field { margin: 0 0 1rem; }
.jb-hero__form input[type="text"],
.jb-hero__form input[type="email"],
.jb-hero__form input[type="tel"],
.jb-hero__form input[type="date"],
.jb-hero__form input[type="number"],
.jb-hero__form select,
.jb-hero__form textarea {
	width: 100%;
	padding: .75rem .9rem;
	border: 1px solid var(--jb-gray-2);
	border-radius: 10px;
	font-size: 1rem;
	font-family: inherit;
	margin-top: .35rem;
	background: #fff;
}
.jb-hero__form label {
	display: block;
	font-weight: 600;
	font-size: .9rem;
	color: var(--jb-black);
}
.jb-hero__form button,
.jb-hero__form input[type="submit"],
.jb-hero__form .frm_button_submit {
	display: block;
	width: 100%;
	background: var(--jb-blue);
	color: #fff;
	border: 0;
	padding: 1.1rem 1.5rem;
	border-radius: 10px;
	font-weight: 800;
	font-size: 1.25rem;
	letter-spacing: .01em;
	cursor: pointer;
	margin-top: .5rem;
	transition: background .15s ease;
}
.jb-hero__form button:hover,
.jb-hero__form input[type="submit"]:hover,
.jb-hero__form .frm_button_submit:hover { background: var(--jb-blue-deep); }

.jb-trust {
	list-style: none;
	margin: 1.25rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.25rem;
	font-size: .9rem;
	opacity: .95;
}
.jb-trust li { position: relative; padding-left: 1.25rem; }
.jb-trust li::before {
	content: "★";
	position: absolute;
	left: 0;
	color: var(--jb-blue);
}

/* RATINGS PANEL (hero right column) */
.jb-ratings {
	display: flex;
	flex-direction: column;
	gap: .85rem;
	padding: 1.5rem;
	background: linear-gradient(165deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid rgba(255,255,255,.22);
	border-radius: 22px;
	box-shadow: 0 24px 60px rgba(0,0,0,.35);
	max-width: 420px;
	justify-self: stretch;
	position: relative;
}
.jb-ratings::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	background: linear-gradient(135deg, rgba(0,166,255,.55), transparent 40%, rgba(255,255,255,.35));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}
.jb-ratings__figure {
	position: relative;
	margin: 0 0 .25rem;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 10px 28px rgba(0,0,0,.4);
	border: 1px solid rgba(255,255,255,.2);
	aspect-ratio: 16 / 9;
}
.jb-ratings__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	opacity: 0;
	transition: opacity .6s ease;
}
.jb-ratings__img.is-visible { opacity: 1; }
.jb-ratings__headline {
	margin: .35rem 0 .25rem;
	font-size: .9rem;
	color: rgba(255,255,255,.9);
	text-align: center;
	letter-spacing: .02em;
}
.jb-ratings__headline strong {
	color: #ffc400;
	font-size: 1.1rem;
	font-weight: 800;
}
.jb-rating {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: .85rem 1rem;
	background: rgba(255,255,255,.08);
	border: 1px solid rgba(255,255,255,.15);
	border-radius: 14px;
	text-decoration: none;
	color: var(--jb-white);
	transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.jb-rating__logo {
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: #fff;
	padding: 8px;
	object-fit: contain;
	box-shadow: 0 4px 12px rgba(0,0,0,.3);
	flex: 0 0 auto;
}
.jb-rating__body {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
	min-width: 0;
}
.jb-rating__stars {
	color: #ffc400;
	display: inline-flex;
	gap: 2px;
	filter: drop-shadow(0 1px 2px rgba(0,0,0,.4));
}
.jb-rating__score {
	font-size: .85rem;
	margin-top: .25rem;
	color: rgba(255,255,255,.85);
	display: flex;
	align-items: baseline;
	gap: .4rem;
}
.jb-rating__score strong {
	color: #fff;
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1;
}

/* GRIDS */
.jb-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .jb-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .jb-grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* SERVICES */
.jb-services { background: #fff; }
.jb-services h2 { margin-bottom: 2.5rem; }
.jb-card {
	background: var(--jb-white);
	border-radius: var(--jb-radius-lg);
	overflow: hidden;
	box-shadow: var(--jb-shadow);
	display: flex;
	flex-direction: column;
	border-top: 8px solid var(--jb-yellow);
	transition: transform .15s ease, box-shadow .15s ease;
}
.jb-card--accent-0 { border-top-color: var(--jb-yellow); }
.jb-card--accent-1 { border-top-color: var(--jb-pink); }
.jb-card--accent-2 { border-top-color: var(--jb-blue); }
.jb-card--accent-3 { border-top-color: var(--jb-purple); }
.jb-card--accent-1 .jb-link { color: var(--jb-pink); }
.jb-card--accent-2 .jb-link { color: var(--jb-blue-deep); }
.jb-card--accent-3 .jb-link { color: var(--jb-purple); }
.jb-card:hover { transform: translateY(-4px); box-shadow: var(--jb-shadow-lg); }
.jb-card__media { margin: 0; }
.jb-card__media img { width: 100%; height: 200px; object-fit: cover; display: block; }
.jb-card h3 { margin: 1rem 1.25rem .25rem; }
.jb-card p { margin: 0 1.25rem 1rem; font-size: .95rem; }
.jb-link {
	display: inline-block;
	margin: 0 1.25rem 1.25rem;
	font-weight: 800;
	font-family: var(--jb-font-head);
	color: var(--jb-red);
	text-decoration: none;
}
.jb-link:hover { color: var(--jb-black); }

/* TWO-COL */
.jb-two-col { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .jb-two-col { grid-template-columns: 1fr 1fr; align-items: center; } }

/* EVENTS */
.jb-events {
	background:
		radial-gradient(ellipse at 85% 10%, rgba(0,166,255,.18), transparent 55%),
		linear-gradient(180deg, #0d1b3d 0%, #142a5c 100%);
	color: #fff;
	position: relative;
	overflow: hidden;
}
.jb-events h2, .jb-events h3 { color: #fff; }
.jb-events h3 {
	font-size: .8rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: #00a6ff;
	margin: 2rem 0 1rem;
}
.jb-events p { color: rgba(255,255,255,.85); font-size: 1.05rem; }
.jb-events__figure {
	margin: 0;
	border-radius: var(--jb-radius-lg);
	overflow: hidden;
	box-shadow: 0 30px 80px rgba(0,0,0,.5);
	border: 1px solid rgba(255,255,255,.1);
}
.jb-events__figure img { width: 100%; height: auto; display: block; }
.jb-event-list {
	display: grid;
	gap: .6rem;
	grid-template-columns: 1fr;
	list-style: none;
	padding: 0;
	margin: 0;
}
@media (min-width: 560px) { .jb-event-list { grid-template-columns: 1fr 1fr; } }
.jb-event-list li {
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(255,255,255,.14);
	color: #fff;
	padding: .8rem 1rem;
	border-radius: 12px;
	font-weight: 600;
	font-size: .92rem;
	display: flex;
	align-items: center;
	gap: .55rem;
	transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.jb-event-list li::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #00a6ff;
	box-shadow: 0 0 0 3px rgba(0,166,255,.2);
	flex: 0 0 auto;
}
.jb-event-list li:hover {
	background: rgba(0,166,255,.12);
	border-color: rgba(0,166,255,.5);
	transform: translateY(-1px);
}
.jb-home .jb-event-list li > a {
	color: #fff;
	text-decoration: none;
	flex: 1;
}
.jb-home .jb-event-list li > a:hover { color: #7fd4ff; }

/* WHY */
.jb-why { background: var(--jb-bg-soft); }
.jb-feature {
	background: #fff;
	padding: 1.75rem;
	border-radius: var(--jb-radius-lg);
	text-align: center;
	border-bottom: 6px solid var(--jb-blue);
	box-shadow: 0 8px 24px rgba(13,27,61,.06);
}
.jb-feature__icon {
	display: inline-flex;
	width: 72px;
	height: 72px;
	background: linear-gradient(135deg, #e6f4ff 0%, #d0ebff 100%);
	color: var(--jb-blue-deep);
	border-radius: 50%;
	align-items: center;
	justify-content: center;
	margin-bottom: .75rem;
	box-shadow: inset 0 0 0 1px rgba(0,166,255,.25);
}
.jb-feature__icon .jb-icon { width: 32px; height: 32px; stroke-width: 2; }

/* TESTIMONIALS */
.jb-testimonials {
	background:
		radial-gradient(ellipse at 15% 85%, rgba(0,166,255,.22), transparent 55%),
		linear-gradient(180deg, var(--jb-bg-dark) 0%, var(--jb-bg-dark-2) 100%);
	color: var(--jb-white);
}
.jb-testimonials h2 { color: var(--jb-white); text-align: center; }
.jb-testimonials h2::after {
	content: "";
	display: block;
	width: 100px;
	height: 6px;
	background: var(--jb-yellow);
	border-radius: 3px;
	margin: .75rem auto 1.5rem;
}
.jb-carousel {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr;
}
@media (min-width: 720px) { .jb-carousel { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .jb-carousel { grid-template-columns: repeat(4, 1fr); } }
.jb-review {
	background: rgba(255,255,255,.08);
	backdrop-filter: blur(6px);
	border-radius: var(--jb-radius);
	padding: 1.5rem;
	border: 2px solid rgba(255,255,255,.15);
}
.jb-stars { color: var(--jb-yellow); display: inline-flex; gap: 2px; margin-bottom: .5rem; }
.jb-review blockquote { margin: 0; font-style: italic; }
.jb-review blockquote p { margin: 0 0 .75rem; }
.jb-review__meta { font-size: .85rem; color: rgba(255,255,255,.75); }
.jb-review__meta cite { font-style: normal; font-weight: 700; color: var(--jb-white); }
.jb-review__footline { text-align: center; margin-top: 1.5rem; }
.jb-review__footline a { color: var(--jb-yellow); }

/* SERVICE AREAS */
.jb-areas { background: #fff; }
.jb-areas h3 { margin-top: 1.5rem; }
.jb-cities {
	list-style: none;
	padding: 0;
	margin: .5rem 0 0;
	display: grid;
	gap: .5rem;
	grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 560px) { .jb-cities { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 860px) { .jb-cities { grid-template-columns: repeat(5, 1fr); } }
.jb-cities li {
	background: var(--jb-white);
	padding: .65rem .8rem;
	border-radius: var(--jb-radius);
	text-align: center;
	font-weight: 600;
	box-shadow: 0 2px 6px rgba(0,0,0,.06);
	border-left: 4px solid rgba(13,27,61,.12);
}
.jb-cities li.is-published { border-left-color: var(--jb-yellow); }
.jb-cities li.is-published:nth-child(5n+2) { border-left-color: var(--jb-pink); }
.jb-cities li.is-published:nth-child(5n+3) { border-left-color: var(--jb-blue); }
.jb-cities li.is-published:nth-child(5n+4) { border-left-color: var(--jb-purple); }
.jb-cities li.is-published:nth-child(5n+5) { border-left-color: var(--jb-teal); }
.jb-home .jb-cities li > a { text-decoration: none; color: var(--jb-black); }
.jb-home .jb-cities li > a:hover { color: var(--jb-pink); }
.jb-areas__cta { margin-top: 1.5rem; font-weight: 600; text-align: center; }

/* EXTRAS */
.jb-extras { background: var(--jb-bg-soft); }
.jb-extras h2 { text-align: center; }
.jb-extras h2::after {
	content: "";
	display: block;
	width: 80px;
	height: 5px;
	background: var(--jb-blue);
	border-radius: 3px;
	margin: .75rem auto 2rem;
}
.jb-scroller {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: 1fr;
	padding: 0;
}
@media (min-width: 640px) { .jb-scroller { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .jb-scroller { grid-template-columns: repeat(3, 1fr); } }
.jb-extra {
	background: #fff;
	color: var(--jb-black);
	padding: 1.75rem 1.5rem;
	border-radius: 18px;
	text-decoration: none;
	border: 1px solid rgba(13,27,61,.08);
	box-shadow: 0 8px 24px rgba(13,27,61,.06);
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
	display: grid;
	grid-template-columns: 56px 1fr;
	column-gap: 1rem;
	row-gap: .25rem;
	align-items: start;
}
.jb-extra__icon { grid-row: 1 / span 2; }
.jb-extra h3, .jb-extra p { grid-column: 2; }
.jb-extra:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(0,166,255,.18);
	border-color: rgba(0,166,255,.35);
	color: var(--jb-black);
}
.jb-extra h3 {
	color: var(--jb-black);
	margin: .25rem 0 0;
	font-size: 1.1rem;
}
.jb-extra:hover h3 { color: var(--jb-blue-deep); }
.jb-extra p { font-size: .92rem; color: #5a6075; margin: 0; }
.jb-extra__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 14px;
	background: linear-gradient(135deg, #e6f4ff 0%, #d0ebff 100%);
	color: var(--jb-blue-deep);
	box-shadow: inset 0 0 0 1px rgba(0,166,255,.2);
}
.jb-extra__icon .jb-icon { width: 26px; height: 26px; stroke-width: 2; }

/* QUOTE */
.jb-quote { background: var(--jb-white); }
.jb-form { display: grid; gap: 1rem; }
.jb-field label { display: block; font-weight: 700; margin-bottom: .35rem; }
.jb-field input[type="text"],
.jb-field input[type="tel"],
.jb-field input[type="email"],
.jb-field input[type="date"],
.jb-field textarea {
	width: 100%;
	padding: .75rem .9rem;
	border: 2px solid var(--jb-gray-2);
	border-radius: var(--jb-radius);
	font: inherit;
	background: var(--jb-white);
}
.jb-field input:focus, .jb-field textarea:focus {
	outline: none;
	border-color: var(--jb-yellow-deep);
	box-shadow: 0 0 0 3px rgba(255,212,0,.35);
}
.jb-field--checks {
	border: 2px dashed var(--jb-gray-2);
	padding: 1rem;
	border-radius: var(--jb-radius);
}
.jb-field--checks legend { font-weight: 800; padding: 0 .5rem; }
.jb-field--checks label {
	display: inline-flex;
	gap: .4rem;
	align-items: center;
	margin: .25rem .75rem .25rem 0;
	font-weight: 500;
}
.jb-quote__aside {
	background: linear-gradient(160deg, var(--jb-black) 0%, #142a5c 100%);
	color: var(--jb-white);
	padding: 2rem;
	border-radius: var(--jb-radius-lg);
	text-align: center;
	border: 3px solid var(--jb-yellow);
}
.jb-quote__figure { margin: 0 0 1rem; border-radius: var(--jb-radius); overflow: hidden; }
.jb-quote__figure img { width: 100%; height: auto; display: block; }
.jb-quote__aside .jb-quote__phone a,
.jb-quote__aside .jb-quote__sms a { color: var(--jb-yellow); font-size: 1.4rem; font-weight: 800; font-family: var(--jb-font-head); text-decoration: none; }
.jb-quote__phone { font-size: 1.6rem; margin-top: .5rem; }

/* SEO FOOTER */
.jb-seo-footer { background: #fff; padding-bottom: 4rem; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	.jb-btn, .jb-card, .jb-extra { transition: none; }
}

/* Icon-left layout for child-page inventory/theme cards.
   Matches any .jb-card that has a .jb-card__icon child (child-page pattern)
   while leaving homepage image cards (.jb-card__media) untouched.
   Specificity (class + attribute + :has) beats per-page `.jb-card--X` rules
   loaded in later stylesheets. */
.jb-card[class*="jb-card--"]:has(> .jb-card__icon) {
	display: grid;
	grid-template-columns: 52px 1fr;
	column-gap: 1rem;
	row-gap: .25rem;
	align-items: start;
}
.jb-card[class*="jb-card--"]:has(> .jb-card__icon) > .jb-card__icon {
	grid-row: 1 / span 2;
	align-self: start;
}
.jb-card[class*="jb-card--"]:has(> .jb-card__icon) > h3,
.jb-card[class*="jb-card--"]:has(> .jb-card__icon) > p {
	grid-column: 2;
}

/* Shared dark overlay for final CTA section across all child page templates */
#cta { position: relative; }
#cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .45);
	pointer-events: none;
	z-index: 1;
}
#cta > .jb-container { position: relative; z-index: 2; }
