/* ==========================================================================
   JUNK REMOVAL PAGE TEMPLATE
   Used only on pages assigned the "Junk Removal" template
   (template-junk-removal.php). Enqueued conditionally in functions.php.

   Class hierarchy:
   - .jr-title / .jr-para / .jr-btn are the shared "base" classes reused by
     every section below (site font + site colors). Each section then adds
     its own layout classes (.jr-hero, .jr-grid, .jr-process, ...) on top.
   - Colors & font match the rest of the theme (Sora font, #1C3F95 brand
     blue, #012377 dark navy, #F1F2F4 light section background) so this
     template stays visually consistent with template-service-page.php.
   ========================================================================== */

.jr-page .container {
	width: 80%;
}

.jr-section {
	padding-top: 50px;
	padding-bottom: 50px;
}

.gform_next_button {
	background: linear-gradient(to right, #61B853 50%, #389729 50%);
	background-position: left;
	transition: all .4s ease-out;
	background-size: 200% 100%;
	color: #fff;
	text-transform: uppercase;
	font-size: 16px;
	font-weight: 700;
	padding: 11px 20px;
	font-family: 'Sora', sans-serif;
	border: none;
	width: 100%;
}

.gform_next_button:hover {
	background-position: right;
	color: #fff;
}

/* ---------- SHARED TITLE CLASS ---------- */
.jr-title {
	position: relative;
	font-family: 'Sora', sans-serif;
	font-size: 32px;
	line-height: 42px;
	font-weight: 600;
	letter-spacing: -0.5px;
	color: #222222;
	margin-top: 0;
	margin-bottom: 50px;
}

.jr-title::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -18px;
	width: 70px;
	height: 4px;
	background: #1C3F95;
}

.jr-title--white.jr-title::after {
	background: #ffffff;
}

.jr-title--center {
	text-align: center;
}

/* Uploaded-image variant of any icon slot (see sp_render_icon() in inc/template-tags.php) */
.sp-icon-img {
	display: inline-block;
	object-fit: contain;
}

.jr-title--center::after {
	left: 50%;
	margin-left: -35px;
}

.jr-title--no-underline::after {
	display: none;
}

.jr-hero-form-holder.col-xs-12.col-md-5 {
	display: flex;
	justify-content: flex-end;
}

/* ---------- SHARED PARAGRAPH CLASS --.jr-title::after-------- */
.jr-para {
	font-family: 'Sora', sans-serif;
	font-size: 16px;
	line-height: 27px;
	font-weight: 300;
	color: #35383E;
	margin: 0 0 20px;
}

.jr-para:last-child {
	margin-bottom: 0;
}

.jr-hero .container.jr-hero-inner {
	width: 98%;
}

.jr-para--muted {
	font-size: 14px;
	line-height: 22px;
}

.jr-para--white {
	color: #ffffff;
}

.jr-title--white {
	color: #fff;
}

/* ---------- SHARED BUTTON CLASS ---------- */
.jr-btn {
	display: inline-block;
	font-family: 'Sora', sans-serif;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	padding: 17px 32px;
	border: 1px solid transparent;
	transition: all .4s ease-out;
}

.jr-btn--primary {
	background: #1C3F95;
	border-color: #1C3F95;
	color: #fff;
}

.jr-btn--primary:hover {
	background: #082773;
	border-color: #082773;
	color: #fff;
	text-decoration: none;
}

.jr-btn--outline {
	background: transparent;
	border-color: #ffffff;
	color: #ffffff;
}

.jr-btn--outline:hover {
	background: #ffffff;
	color: #1C3F95;
	text-decoration: none;
}

/* ---------- EYEBROW LABEL ---------- */
.jr-eyebrow {
	font-family: 'Sora', sans-serif;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	color: #fff;
	margin: 0 0 16px;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.jr-hero {
	position: relative;
	padding: 110px 0;
	background-repeat: no-repeat;
	background-position: top right;
	background-size: cover;
}

/* Two-column hero: copy on the left, lead form on the right
   (same [gravityform id="2"] card as template-service-page.php). */
.jr-hero-content {
	flex: 1 1 65%;
	max-width: 670px;
	float: none;
	padding: 0;
}

.jr-hero-form-holder {
	flex: 0 1 380px;
	margin-left: auto;
	float: none;
	padding: 0;
}

.jr-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgb(1 20 66 / 76%) 0%, rgb(1 20 66 / 0%) 55%, rgb(1 20 66 / 0%) 100%);
}

.jr-hero-inner {
	position: relative;
	display: flex;
	/* flex-wrap: wrap; */
	align-items: center;
	gap: 40px;
}

/* .container adds clearfix pseudo-elements; neutralise them so flex `gap`
   doesn't treat them as spaced items. */
.jr-hero-inner::before,
.jr-hero-inner::after {
	display: none;
}

.jr-hero-title {
	font-family: 'Sora', sans-serif;
	font-size: 48px;
	line-height: 58px;
	font-weight: 700;
	letter-spacing: -1px;
	color: #ffffff;
	margin: 0 0 20px;
}

.jr-hero-text {
	font-size: 17px;
	line-height: 28px;
	margin-bottom: 32px;
}

.jr-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
}

/* ---------- HERO LEAD FORM ----------
   Mirrors the form card on template-service-page.php. That template gets its
   styling from assets/css/inner.css + service-page.css scoped to
   .sp-service-page / section.md-inner-hero-section; this hero is .jr-hero, so
   the same rules are re-declared here scoped to .jr-hero itself. That way the
   card looks identical wherever the .jr-hero markup is reused (Junk Removal
   and Service Page templates both), regardless of the page-level wrapper
   class (.jr-page / .sp-service-page). */
.jr-hero .md-form-content {
	background: #fff;
	position: relative;
	border: 3px solid #F1F2F4;
	width: auto;
	opacity: 0.9;
}

.jr-hero .md-form-content.md-inner-form-content {
	padding: 0 0 10px 0;
	width: 85%;
}

.jr-hero .md-form-title {
	background: #F1F2F4;
	text-align: center;
	padding: 10px 15px;
}

.jr-hero .md-form-title h3 {
	display: flex;
	flex-direction: column;
	margin: 0;
	font-family: 'Sora', sans-serif;
	font-size: 20px;
	font-weight: 600;
	color: #222222;
	line-height: 26px;
}

.jr-hero .gform_body.gform-body {
	text-align: left;
	padding: 10px 20px;
}

.jr-hero div#gform_fields_2 {
	display: flex !important;
	flex-direction: column;
	gap: 20px;
}

.jr-hero div#gform_fields_2 input {
	padding: 0;
	height: 35px;
}

.jr-hero .gform_wrapper.gravity-theme .gfield_label {
	margin: 0;
}

.jr-hero .gform_wrapper.gravity-theme .gfield_required {
	padding-inline-start: 0 !important;
	padding-left: 0;
}

.jr-hero .gform-page-footer.gform_page_footer.top_label,
.jr-hero .gform_page_footer.top_label {
	padding-bottom: 0 !important;
	display: flex;
	justify-content: center;
}

/* ==========================================================================
   TRUST BADGES
   ========================================================================== */
.jr-badges-section {
	padding-top: 30px;
	padding-bottom: 0;
	background: #ffffff;
}

.jr-badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 30px;
}

.jr-badge {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 10px;
}

.jr-badge .fa,
.jr-badge .jr-badge-icon {
	color: #1C3F95;
	font-size: 16px;
}

.jr-badge img.sp-icon-img.jr-badge-icon {
	width: 42px;
}

.jr-badge-label {
	font-family: 'Sora', sans-serif;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .4px;
	color: #222222;
}

.jr-badge-desc {
	font-family: 'Sora', sans-serif;
	font-size: 13px;
	line-height: 20px;
	font-weight: 300;
	color: #35383E;
}

/* ==========================================================================
   JUNK REMOVAL GRID
   ========================================================================== */
.jr-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.jr-grid-item {
	/* background: #ffffff;
	border: 1px solid #d3d3d3;
	border-radius: 10px;
	padding: 30px; */
	margin-bottom: 20px;
}

.jr-grid-item-title {
	display: flex;
	align-items: center;
	font-family: 'Sora', sans-serif;
	font-size: 17px;
	font-weight: 700;
	color: #222222;
	margin: 0 0 10px;
	position: relative;
	margin-left: 40px;
	margin-bottom: 8px;
}



.jr-grid-item-title .jr-grid-item-icon {
	position: absolute;
	top: -10px;
	left: -40px;
	z-index: 1;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 32px;
	color: #2a3e97;
}

.jr-grid-item .jr-para {
	margin: 0;
}

/* ==========================================================================
   DECLUTTER SECTION
   ========================================================================== */
.jr-declutter-row {
	display: flex;
	align-items: center;
	gap: 60px;
}

section.jr-section.jr-declutter-section {
	background: #f1f2f4;
}

.jr-declutter-logos {
	gap: 40px;
	/*display: flex;*/
	flex-direction: row;
}

.jr-declutter-logos img {
	width: 148px;
}

.jr-declutter-left {
	flex: 1 1 50%;
}

.jr-declutter-right {
	flex: 1 1 50%;
}

.jr-checklist {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px 30px;
	margin: 30px 0 0;
	padding: 0;
}

.jr-checklist-item {
	position: relative;
	font-family: 'Sora', sans-serif;
	font-size: 15px;
	line-height: 22px;
	font-weight: 300;
	color: #35383E;
	padding-left: 30px;
}

.jr-checklist-item::before {
	content: "\f00c";
	font-family: 'FontAwesome';
	position: absolute;
	left: 0;
	top: 1px;
	width: 18px;
	height: 18px;
	background: #1C3F95;
	color: #fff;
	font-size: 9px;
	line-height: 18px;
	text-align: center;
	border-radius: 50%;
}

.jr-declutter-photo {
	width: 100%;
	display: block;
	object-fit: cover;
}

.jr-photo-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 260px;
	background: linear-gradient(135deg, #EEF1F8 0%, #D9DCE3 100%);
	border: 1px solid #D9DCE3;
	color: #1C3F95;
}

.jr-photo-placeholder i {
	font-size: 40px;
	opacity: .55;
}

/* ==========================================================================
   OUR JUNK REMOVAL PROCESS
   ========================================================================== */
.jr-process {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}

.jr-process-step {
	flex: 1 1 0;
	min-width: 150px;
	max-width: calc(100% / 6 - 17px);
	background: #ffffff;
	border: 1px solid #D9DCE3;
	padding: 28px 14px;
	text-align: center;
}

/* Number sits above the title, both centered, per the reference layout */
.jr-process-num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: #1C3F95;
	color: #fff;
	font-family: 'Sora', sans-serif;
	font-size: 16px;
	font-weight: 700;
}

.jr-process-title {
	font-family: 'Sora', sans-serif;
	font-size: 15px;
	line-height: 21px;
	font-weight: 700;
	color: #222222;
	margin: 0;
}

/* ==========================================================================
   WHY CHOOSE US
   ========================================================================== */
.jr-why-section {
	background: #012377;
}

.jr-why-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.jr-why-item {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	background: #ffffff;
	padding: 26px;
	border-radius: 5px;
}

.jr-why-item .fa,
.jr-why-item .jr-why-item-icon {
	flex: 0 0 auto;
	color: #1C3F95;
	font-size: 20px;
	margin-top: 3px;
	width: 60px;
}

.jr-why-item-title {
	font-family: 'Sora', sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: #222222;
	margin: 0 0 8px;
}

.jr-why-item .jr-para {
	margin: 0;
}

/* ==========================================================================
   WHAT CUSTOMERS VALUE
   Card markup/styling lives in whatever [reviews_shortcode] outputs; this
   wrapper just gives it consistent section spacing.
   ========================================================================== */
.jr-reviews-content {
	text-align: center;
}

section.jr-section.jr-reviews-section {
	background: #f1f2f4;
}

/* ==========================================================================
   FAQ (accordion — Bootstrap 3 .collapse, same convention as the Service
   Page template's FAQ; bootstrap.js is already enqueued site-wide)
   ========================================================================== */
.jr-faq-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	align-items: start;
	gap: 0 30px;
}

.jr-faq-item {
	padding: 14px 14px;
	margin-bottom: 20px;
	border: 1px solid #D9DCE3;
	background: #F7F8FA;
	border-radius: 10px;
	transition: background .3s ease;
}

.jr-faq-item:hover {
	background: #fff;
}

.jr-faq-question {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
	cursor: pointer;
	text-decoration: none;
}

.jr-faq-question:hover,
.jr-faq-question:focus {
	text-decoration: none;
	outline: none;
}

.jr-faq-question-text {
	font-family: 'Sora', sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: #1C3F95;
	line-height: 24px;
}

.jr-faq-toggle-icon {
	flex: 0 0 auto;
	color: #8b9091;
	font-size: 13px;
	margin-top: 5px;
	transition: transform .3s ease-out;
}

/* Swap the plus icon for a minus once the panel is expanded (Bootstrap
   removes "collapsed" from the trigger link when it opens the panel) */
.jr-faq-question:not(.collapsed) .jr-faq-toggle-icon:before {
	content: "\f068";
}

.jr-faq-answer .jr-para {
	margin: 12px 0 0;
	font-size: 14px;
	line-height: 22px;
}

/* ==========================================================================
   SHARE THE MOVE / REFERRAL
   Now a shared, self-contained widget - see inc/widget-share-the-move.php and
   assets/css/share-the-move.css (design matches the Service Page template).
   ========================================================================== */

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media screen and (max-width: 1480px) {
	.jr-hero-content {
		flex: 1 1 50%;
	}
}


@media screen and (max-width: 1200px) {
	.jr-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.jr-why-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.jr-hero-content,
	.jr-hero-form-holder {
		flex: 1 1 100%;
		width: 100%;
		max-width: 520px;
		margin-left: 0;
	}

	.sp-details-row .sp-details-left,
	.sp-details-row .sp-details-right {
		width: 100%;
	}

	.sp-included-item .iconBox img {
		width: 36px;
	}

	.sp-included-item.sp-included-item-featured .sp-icon-img {
		width: 36px;
		margin-bottom: 0;
	}

	.sp-details-right h2.sp-section-title.no-after {
		margin: 15px 0 10px 0;
	}

	.stm-photo {
		width: 210px !important;
	}
}

@media screen and (max-width:1068px) {
	.jr-badges {
		display: flex;
		align-items: center;
		gap: 16px 30px;
		flex-wrap: wrap;
	}
}

@media screen and (max-width: 991px) {
	.jr-page .container {
		width: 90%;
	}

	.jr-badge {
		flex-direction: row;
		gap: 10px;
		width: calc(100% / 2 - 20px);
		text-align: left;
	}

	.stm-photo {
		width: 100% !important;
	}

	.stm-content {
		flex: 1 1 50% !important;
	}

	.jr-badge {
		flex-direction: row;
		gap: 10px;
	}

	.stm-content {
		flex: 1 1 50% !important;
	}

	.jr-hero-inner {
		flex-direction: column;
	}

	.jr-hero-form-holder.col-xs-12.col-md-5 {
		justify-content: center;
	}

	.jr-hero-content,
	.jr-hero-form-holder {
		flex: 1 1 100%;
		width: 100%;
		max-width: 100%;
		margin-left: 0;
	}

	.jr-section {
		padding-top: 60px;
		padding-bottom: 60px;
	}

	.jr-title {
		font-size: 22px;
		line-height: 28px;
		margin-bottom: 36px;
	}

	.stm-title {
		font-size: 22px;
		line-height: 27px;
	}

	.jr-hero {
		padding: 130px 0 80px;
		text-align: center;
	}

	.jr-hero-inner {
		max-width: 100%;
	}

	.jr-hero-actions {
		justify-content: center;
	}

	.jr-hero-title {
		font-size: 38px;
		line-height: 46px;
	}

	.jr-badges {
		justify-content: center;
		text-align: center;
	}

	.jr-declutter-row {
		flex-direction: column;
	}

	.jr-declutter-left,
	.jr-declutter-right {
		flex: 1 1 100%;
		width: 100%;
	}

	.jr-checklist {
		grid-template-columns: 1fr;
	}

	.jr-process-step {
		max-width: calc(100% / 3 - 14px);
		flex: 1 1 calc(100% / 3 - 14px);
	}

	.jr-why-grid {
		grid-template-columns: 1fr;
	}

	.jr-reviews-grid {
		grid-template-columns: 1fr;
	}

	.jr-faq-grid {
		grid-template-columns: 1fr;
	}

	.jr-hero-inner {
		flex-direction: column;
	}

	.stm-title {
		font-size: 22px;
		line-height: 26px;
	}

	.stm-holder {
		gap: 20px !important;
	}

	.jr-grid-item-title {
		font-size: 15px;
	}

	.jr-para {
		font-size: 15px;
		line-height: 22px;
	}

	.jr-declutter-left p {
		font-size: 15px;
		line-height: 26px !important;
	}

}

@media screen and (max-width: 767px) {
	.jr-section {
		padding-top: 50px;
		padding-bottom: 50px;
	}

	.jr-hero {
		padding: 0;
	}

	.jr-hero-title {
		font-size: 30px;
		line-height: 38px;
	}

	.jr-hero-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.jr-grid {
		grid-template-columns: 1fr;
	}

	.jr-process-step {
		max-width: calc(100% / 2 - 10px);
		flex: 1 1 calc(100% / 2 - 10px);
	}

	ul.sp-factors-list li {
		width: 100%;
	}
}

@media screen and (max-width: 576px) {
	.jr-title {
		font-size: 24px;
		line-height: 32px;
	}

	.jr-process-step {
		max-width: 100%;
		flex: 1 1 100%;
	}

	.jr-btn {
		width: 100%;
		text-align: center;
	}
}