/* ==========================================================================
   FLAT RATE LANDING PAGE (template-flat-rate-landing.php)
   Everything is scoped to .fr-lp. Palette = the website's blue theme.

   File layout:
   1. COMMON CSS  - base styles shared by every screen size
   2. RESPONSIVE  - all media queries, at the very end of the file
   ========================================================================== */

/* ==========================================================================
   1. COMMON CSS
   ========================================================================== */

body.page-template-template-flat-rate-landing .fr-header {
	position: fixed !important;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9999;
	/* background: #fff; */
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Prevent page content from hiding behind header */
/* hero margin-top is set by jQuery in template-flat-rate-landing.php (header height + 40px) */
.fr-lp {
	--fr-blue: #1C3F95;
	--fr-blue-dark: #082773;
	--fr-blue-soft: #EEF2FB;
	--fr-blue-light: #8FB0F5;
	--fr-text: #222222;
	--fr-muted: #4A5568;
	--fr-border: #D9DCE3;
	--fr-bg: #F3F5F8;
	font-family: 'Sora', sans-serif;
	font-size: 17px;
	line-height: 1.55;
	color: var(--fr-text);
	background: #fff;
	/* nothing on this page may cause a sideways scroll (slider arrows etc.) */
	overflow-x: clip;
}

body.fr-landing {
	margin: 0;
	padding-top: 0 !important;
	background: #fff;
}

.fr-lp *,
.fr-lp *::before,
.fr-lp *::after {
	box-sizing: border-box;
}

.fr-lp img {
	max-width: 100%;
}

.fr-lp h1,
.fr-lp h2,
.fr-lp h3,
.fr-lp p,
.fr-lp ul,
.fr-lp ol {
	margin: 0;
	padding: 0;
}

.fr-lp h2::after,
.fr-lp h2::before {
	display: none !important;
}

.fr-lp a {
	text-decoration: none;
}

.fr-lp a:hover,
.fr-lp a:focus {
	text-decoration: none;
}

.fr-lp>* {
	float: none;
	clear: both;
}

.fr-wrap {
	max-width: 1368px;
	margin: 0 auto;
	padding: 0 24px;
}

/* every container on this page is 1368px wide (the Bootstrap .container used by the shared widgets included) */
.fr-lp .container {
	max-width: 1368px;
	width: 100%;
}

.fr-narrow {
	max-width: 1368px;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.fr-center {
	text-align: center;
	display: flex;
	justify-content: center;
}

.fr-sr {
	position: absolute;
	left: -9999px;
}

/* ---------- buttons ---------- */
.fr-lp .fr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 12px 22px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 15px;
	cursor: pointer;
	transition: background .3s ease, color .3s ease;
}

.fr-lp .fr-btn--light {
	background: #fff;
	color: var(--fr-blue) !important;
}

.fr-lp .fr-btn--light:hover {
	background: var(--fr-blue-soft);
}

.fr-lp .fr-btn--primary {
	background: var(--fr-blue);
	color: #fff !important;
}

.fr-lp .fr-btn--primary:hover {
	background: var(--fr-blue-dark);
}

.fr-lp .fr-btn--lg {
	font-size: 19px;
	padding: 16px 32px;
	border-radius: 10px;
}

/* ---------- header ---------- */
.fr-header {
	background: var(--fr-blue-dark);
	color: #fff;
}

.fr-header-inner {
	padding-top: 14px;
	padding-bottom: 14px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.fr-brand {
	display: flex;
	flex-direction: column;
}

.fr-header .fr-header-logo {
	height: 48px;
	width: auto;
	max-width: 220px;
}

.fr-brand-name {
	font-weight: 700;
	font-size: 24px;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

.fr-brand-tag {
	font-size: 12px;
	color: #C9D4F0;
}

.fr-header-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
}

.fr-lp .fr-header-phone {
	color: #fff;
	font-weight: 700;
	font-size: 18px;
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
}

.fr-lp .fr-header-phone:hover {
	color: var(--fr-blue-light);
}

/* header "Get My Flat Price" button: a little tighter than the standard button */
.fr-lp .fr-header-actions .fr-btn {
	min-height: 40px;
	padding: 9px 16px;
}

/* ---------- hero ---------- */
.fr-hero {
	background: var(--fr-bg);
	scroll-margin-top: 10px;
}

.fr-hero-inner {
	padding-top: 64px;
	padding-bottom: 72px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
	gap: 48px;
	align-items: center;
}

.fr-hero-copy {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.fr-badge {
	align-self: flex-start;
	background: #fff;
	border: 1px solid var(--fr-border);
	color: var(--fr-blue);
	font-weight: 600;
	font-size: 14px;
	padding: 6px 14px;
	border-radius: 999px;
}

.fr-lp .fr-h1 {
	font-weight: bold;
	font-size: clamp(2.3rem, 4.6vw, 3.9rem);
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: var(--fr-blue-dark);
}

.fr-lead {
	font-size: 21px;
	color: #3A3F4A;
	max-width: 34rem;
}

.fr-bullets {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.fr-bullets li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

/* bold lead-in on its own line, the normal text on the next line */
.fr-bullets li strong {
	display: block;
	margin-bottom: 2px;
}

.fr-bullet-icon {
	flex: none;
	margin-top: 2px;
	color: var(--fr-blue);
	line-height: 0;
}

.fr-trustline {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	font-size: 15px;
	font-weight: 600;
	color: #3A3F4A;
}

/* form card */
.fr-form-card {
	background: #fff;
	border-radius: 16px;
	padding: 32px;
	box-shadow: 0 1px 2px rgba(8, 39, 115, .06), 0 12px 32px rgba(8, 39, 115, .12);
	display: flex;
	flex-direction: column;
	gap: 16px;
	border-top: 5px solid var(--fr-blue);
}

.fr-form-head {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.fr-lp .fr-form-title {
	font-weight: 700;
	font-size: 28px;
	color: var(--fr-blue-dark);
}

.fr-form-head p,
.fr-form-note {
	color: var(--fr-muted);
	font-size: 15px;
}

.fr-form-note {
	text-align: center;
	font-size: 14px;
}

.fr-form-legal {
	font-size: 12px;
	color: #5A6778;
}

.fr-form-embed.md-form-content {
	padding: 0;
	margin: 0;
	box-shadow: none;
	border: 0;
	background: transparent;
}

.fr-form-embed .gform_body.gform-body {
	padding: 0 0 20px;
}

/* ---------- photo band ---------- */
.fr-photos-grid {
	padding-top: 48px;
	padding-bottom: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: 16px;
}

.fr-photos-grid img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 14px;
	display: block;
}

/* ---------- trust strip ---------- */
.fr-stats {
	border-bottom: 1px solid var(--fr-border);
}

.fr-stats-grid {
	padding-top: 28px;
	padding-bottom: 28px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	gap: 20px;
	text-align: center;
}

.fr-stats-grid>div {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.fr-stat-value {
	font-weight: 700;
	font-size: 30px;
	color: var(--fr-blue);
}

.fr-stat-label {
	font-size: 14px;
	color: var(--fr-muted);
}

/* ---------- generic section / headings ---------- */
.fr-section {
	padding: 88px 0;
}

.fr-head {
	display: flex;
	flex-direction: column;
	gap: 12px;
	text-align: center;
}

.fr-lp .fr-h2 {
	/* first letter of every word is a capital */
	text-transform: capitalize;
	font-weight: 700;
	font-size: clamp(1.9rem, 3.4vw, 2.7rem);
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: var(--fr-blue-dark);
}

.fr-sub {
	text-align: center;
	margin: 0 auto;
	font-size: 19px;
	color: var(--fr-muted);
	max-width: 40rem;
}

.fr-sub--wide {
	max-width: 42rem;
}

.fr-lp .fr-sub,
.fr-lp .fr-sub--wide {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	align-self: center;
}

/* ---------- comparison table (banded rows, tinted "ours" column, check marks) ---------- */
.fr-table-wrap {
	overflow-x: auto;
}

.fr-table {
	font-family: inherit;
	width: 100%;
	min-width: 560px;
	border-collapse: collapse;
	font-size: 17px;
}

.fr-table th,
.fr-table td {
	padding: 11px 18px;
	border: 0;
	text-align: left;
	vertical-align: middle;
}

/* header band */
.fr-table thead tr {
	background: #E7ECF4;
}

.fr-table thead th {
	/* first letter of every heading word is a capital */
	text-transform: capitalize;
	padding: 18px;
	font-weight: 700;
	color: var(--fr-blue-dark);
	line-height: 1.25;
}

.fr-table thead th:first-child {
	width: 34%;
}

/* website logo before the "Flat Rate" heading text */
.fr-table .fr-th-flat {
	color: var(--fr-blue);
	font-size: 18px;
	font-weight: 700;
	background: #EEF2F9;
	white-space: nowrap;
}

.fr-table .fr-th-logo {
	display: inline-block;
	height: 34px;
	width: auto;
	max-width: 140px;
	vertical-align: middle;
	margin-right: 10px;
}

.fr-table .fr-th-flat span {
	vertical-align: middle;
}

/* banded body rows */
.fr-table tbody tr:nth-child(odd) {
	background: #FCFCFB;
}

.fr-table tbody tr:nth-child(even) {
	background: #E7ECF4;
}

.fr-table tbody th {
	text-align: left;
	font-weight: 500;
	color: var(--fr-blue);
}

.fr-table tbody td {
	color: var(--fr-muted);
}

/* the "ours" column is a touch lighter than the band it sits on, like the reference */
.fr-table tbody tr:nth-child(odd) .fr-td-flat {
	background: #FFFFFF;
}

.fr-table tbody tr:nth-child(even) .fr-td-flat {
	background: #F1F5FB;
}

.fr-table .fr-td-flat {
	color: var(--fr-blue-dark);
	font-weight: 700;
}

.fr-check {
	display: inline-block;
	vertical-align: -3px;
	margin-right: 8px;
	color: #29ABE2;
	line-height: 0;
}

/* ---------- how it works ---------- */
.fr-how {
	background: var(--fr-blue-dark);
	color: #fff;
}

.fr-how-inner {
	padding-top: 88px;
	padding-bottom: 88px;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.fr-how .fr-h2 {
	color: #fff;
}

.fr-center.fr-h2,
.fr-h2.fr-center {
	text-align: center;
	display: block;
}

.fr-steps {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 24px;
}

.fr-steps li {
	background: var(--fr-blue);
	border-radius: 14px;
	padding: 15px;
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	align-content: start;
	gap: 14px 16px;
}

/* white circle, blue number */
.fr-step-num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #fff;
	color: var(--fr-blue);
	font-weight: 700;
	font-size: 22px;
	line-height: 1;
}

.fr-steps h3 {
	font-weight: 500;
	font-size: 20px;
	color: #fff;
}

.fr-steps li p {
	grid-column: 1 / -1;
}

.fr-steps p {
	color: #DCE5F8;
}

/* ---------- pricing ---------- */
.fr-pricing {
	display: flex;
	flex-direction: column;
	gap: 36px;
}

.fr-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
	gap: 20px;
}

.fr-card {
	border: 1px solid var(--fr-border);
	border-radius: 16px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 5px;
	position: relative;
}

.fr-card.is-featured {
	border: 2px solid var(--fr-blue);
}

.fr-card.is-shaded {
	background: var(--fr-bg);
}

.fr-card-badge {
	position: absolute;
	top: -14px;
	left: 50%;
	margin-left: -25%;
	background: var(--fr-blue);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 999px;
}

.fr-card h3 {
	font-weight: 700;
	font-size: 21px;
	color: var(--fr-blue-dark);
}

.fr-card-sub,
.fr-card-note {
	color: var(--fr-muted);
	font-size: 15px;
}

.fr-card-note {
	font-size: 14px;
}

.fr-card-price {
	margin-top: 6px !important;
	display: flex;
	align-items: baseline;
	gap: 6px;
}

.fr-card-from {
	font-size: 15px;
	color: var(--fr-muted);
}

.fr-card-amount {
	font-weight: 700;
	font-size: 44px;
	line-height: 1;
	color: var(--fr-blue);
}

.fr-incl {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
	gap: 16px;
}

.fr-incl-box {
	border-radius: 14px;
	padding: 24px 28px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.fr-incl-box.is-yes {
	background: var(--fr-blue-soft);
}

.fr-incl-box.is-no {
	border: 1px solid var(--fr-border);
}

.fr-incl-box h3 {
	font-weight: 700;
	font-size: 19px;
	color: var(--fr-blue-dark);
}

.fr-incl-box ul {
	padding-left: 20px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.fr-incl-box p {
	color: #3A3F4A;
}

.fr-fineprint {
	font-size: 13px;
	line-height: 1.6;
	color: var(--fr-muted);
}

/* ---------- reviews (shared widget) ---------- */
.fr-reviews {
	background: var(--fr-bg);
}

/* ---------- about ---------- */
.fr-about {
	max-width: 1080px;
	display: flex;
	align-items: stretch;
	gap: 40px;
}

.fr-about img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 14px;
	display: block;
	object-position: top;
}

/* team-member photo: fixed 250px column that never shrinks, as tall as the copy next to it */
.fr-about.team-memerb-img img {
	flex: 0 0 250px;
	width: 250px;
	aspect-ratio: auto;
	object-fit: cover;
	border-radius: 5px;
	display: block;
}

.fr-about-copy {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.fr-about-copy p {
	color: #3A3F4A;
}

.fr-about-copy .fr-sign {
	font-weight: 700;
	color: var(--fr-blue-dark);
}

/* ---------- FAQ (shares the sub-pages .jr-faq-* design) ---------- */
.fr-faq {
	border-top: 1px solid var(--fr-border);
}

/* narrower than the full-width sections, same width as the Flat-vs-Hourly section */
.fr-lp .fr-faq .container {
	max-width: 1368px;
	width: 100%;
}

/* Section headings of the shared widgets (video slider, reviews, FAQ, locations) use the same style as
   "Flat-rate moves, priced up front": big, bold, deep blue, centered, no underline bar. */
.fr-lp .vs-title,
.fr-lp .jr-title,
.fr-lp .psl-title {
	text-transform: capitalize;
	font-family: 'Sora', sans-serif;
	font-weight: 700;
	font-size: clamp(1.9rem, 3.4vw, 2.7rem);
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: var(--fr-blue-dark);
	text-align: center;
	margin: 0 0 36px;
}

.fr-lp .jr-title::after,
.fr-lp .jr-title::before {
	display: none !important;
}

/* ---------- final CTA ---------- */
.fr-lp .fr-cta {
	float: none !important;
	clear: both;
	width: auto;
	background: var(--fr-blue);
	color: #fff;
}

.fr-cta-inner {
	max-width: 1368px;
	padding-top: 80px;
	padding-bottom: 80px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	text-align: center;
}

.fr-cta .fr-h2 {
	color: #fff;
	font-size: clamp(2rem, 4vw, 3.1rem);
}

.fr-cta-text {
	font-size: 19px;
}

.fr-lp .fr-cta-phone {
	background: #fff;
	color: var(--fr-blue) !important;
	font-weight: 700;
	font-size: clamp(1.5rem, 3.4vw, 2.3rem);
	padding: 12px 28px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	transition: background .3s ease;
}

.fr-lp .fr-cta-phone:hover {
	background: var(--fr-blue-soft);
}

.fr-cta-note {
	font-size: 16px;
}

.fr-lp .fr-cta-note a {
	color: #fff;
	font-weight: 700;
	text-decoration: underline;
}

/* ---------- footer ---------- */
.fr-bottombar {
	background: var(--fr-blue-dark);
	color: #C9D4F0;
	font-size: 14px;
}

.fr-bottombar-left {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.fr-bottombar .fr-footer-logo {
	height: 40px;
	width: auto;
	max-width: 160px;
	flex: none;
}

.fr-bottombar-inner {
	padding-top: 10px;
	padding-bottom: 10px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	align-items: center;
}

/* ---------- Gravity Forms inside the form card (shared by form 10 and form 12) ---------- */
.fr-lp .fr-form-embed.md-form-content {
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	margin: 0 !important;
}

.fr-form-embed .gform_wrapper .gform_body,
.fr-form-embed .gform_wrapper .gform-body {
	padding: 0 !important;
	width: 100%;
}

/* two-column field grid; a field is full width unless it is marked as a half field below */
.fr-form-embed .gform_wrapper .gform_fields,
.fr-form-embed .gform_wrapper.gravity-theme .gform_fields {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 16px;
	row-gap: 14px;
}

.fr-form-embed .gform_wrapper .gfield,
.fr-form-embed .gform_wrapper.gravity-theme .gfield {
	width: 100% !important;
	max-width: 100% !important;
	grid-column: 1 / -1 !important;
	padding-right: 0 !important;
	margin-right: 0 !important;
}

/* name + mobile, move date + ZIP sit two to a row; every other field (home size) stays full width */
.fr-form-embed .gform_wrapper .gfield.fr-half,
.fr-form-embed .gform_wrapper.gravity-theme .gfield.fr-half {
	grid-column: span 1 !important;
}

.fr-form-embed .gform_wrapper .gfield input[type="text"],
.fr-form-embed .gform_wrapper .gfield input[type="tel"],
.fr-form-embed .gform_wrapper .gfield input[type="email"],
.fr-form-embed .gform_wrapper .gfield select,
.fr-form-embed .gform_wrapper .ginput_container input,
.fr-form-embed .gform_wrapper .ginput_container select {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
}

/* field design: sentence-case bold labels, boxed 48px inputs with soft border + rounded corners */
.fr-form-embed .gform_wrapper .gfield_label,
.fr-form-embed .gform_wrapper .gform-field-label {
	text-transform: none !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	letter-spacing: 0 !important;
	color: #16181D !important;
	margin: 0 0 6px !important;
}

.fr-form-embed .gform_wrapper .gfield_required_asterisk {
	color: var(--fr-blue) !important;
	margin-left: 2px;
}

.fr-form-embed .gform_wrapper .gfield input[type="text"],
.fr-form-embed .gform_wrapper .gfield input[type="tel"],
.fr-form-embed .gform_wrapper .gfield input[type="email"],
.fr-form-embed .gform_wrapper .gfield select {
	height: 48px !important;
	padding: 0 14px !important;
	border: 1px solid #B8C5D6 !important;
	border-radius: 8px !important;
	background-color: #fff !important;
	color: #16181D !important;
	font-size: 15px !important;
	box-shadow: none !important;
}

.fr-form-embed .gform_wrapper .gfield input::placeholder {
	color: #7A8798;
}

.fr-form-embed .gform_wrapper .gfield input:focus,
.fr-form-embed .gform_wrapper .gfield select:focus {
	border-color: var(--fr-blue) !important;
}

/* date field: calendar button sits inside the box, on the right */
.fr-form-embed .gform_wrapper .ginput_container_date {
	position: relative;
}

.fr-form-embed .gform_wrapper .ginput_container_date input {
	padding-right: 44px !important;
}

.fr-form-embed .gform_wrapper .gform-datepicker-toggle {
	position: absolute;
	top: 0;
	right: 6px;
	height: 48px;
	display: flex;
	align-items: center;
	background: transparent !important;
	border: 0 !important;
	padding: 0 8px !important;
	color: #16181D;
}

/* submit button: full width, theme blue */
.fr-form-embed .gform_wrapper .gform_footer,
.fr-form-embed .gform_wrapper .gform_page_footer {
	margin: 18px 0 0 !important;
	padding: 0 !important;
}

.fr-form-embed .gform_wrapper .gform_button,
.fr-form-embed .gform_wrapper input[type="submit"],
.fr-form-embed .gform_wrapper button[type="submit"] {
	display: block;
	width: 100% !important;
	height: 56px;
	border: 0 !important;
	border-radius: 10px !important;
	background: var(--fr-blue) !important;
	color: #fff !important;
	font-weight: 700;
	font-size: 19px;
	cursor: pointer;
	transition: background .3s ease;
}

.fr-form-embed .gform_wrapper .gform_button:hover,
.fr-form-embed .gform_wrapper input[type="submit"]:hover,
.fr-form-embed .gform_wrapper button[type="submit"]:hover {
	background: var(--fr-blue-dark) !important;
}

/* required / validation messages: plain 11px text right under the field (no box, no background) */
.fr-form-embed .gform_wrapper .gfield_validation_message,
.fr-form-embed .gform_wrapper .validation_message,
.fr-form-embed .gform_wrapper.gravity-theme .gfield_validation_message {
	display: block;
	margin: 4px 0 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #C0392B !important;
	font-size: 11px !important;
	font-weight: 400 !important;
	line-height: 1.3 !important;
	letter-spacing: 0;
	text-transform: none;
}

/* the big red summary box on top is hidden visually (kept for screen readers); each field shows its own short message */
.fr-form-embed .gform_wrapper .gform_validation_errors {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	border: 0 !important;
	padding: 0 !important;
	margin: -1px !important;
}

.fr-form-embed .gform_wrapper .gfield_error,
.fr-form-embed .gform_wrapper.gravity-theme .gfield_error {
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
	margin-top: 0 !important;
}

.fr-form-embed .gform_wrapper .gfield_error input,
.fr-form-embed .gform_wrapper .gfield_error select {
	border-color: #C0392B !important;
}

/* ---------- Flat-rate form (Gravity Form 10) - 2 fields per row ---------- */

/* Full name | Mobile - Date | Moving from (ZIP) */
.fr-form-embed #gform_10 #field_10_1,
.fr-form-embed #gform_10 #field_10_8,
.fr-form-embed #gform_10 #field_10_7,
.fr-form-embed #gform_10 #field_10_6 {
	grid-column: span 1 !important;
}

/* Home size full width */
.fr-form-embed #gform_10 #field_10_5 {
	grid-column: 1 / -1 !important;
}

/* Hide the extra "ZIP Code" sub-label so ZIP lines up with Date */
#gform_10 #input_10_6_5_label {
	display: none !important;
}

#gform_10 #field_10_6 .ginput_container_address {
	margin-top: 0 !important;
	width: 100%;
}

.gform_wrapper.gravity-theme .ginput_container_address {
	flex-direction: column !important;
}

#gform_10 #field_10_6 .ginput_address_zip {
	width: 100% !important;
	padding: 0 !important;
	max-width: 100% !important;
}

/* ---------- Flat-rate wizard (Gravity Form 12) ---------- */

/* Step 1: From | To, Date | Home size - Step 2: Full name | Phone */
#gform_12 #field_12_2,
#gform_12 #field_12_3,
#gform_12 #field_12_7,
#gform_12 #field_12_28,
#gform_12 #field_12_9,
#gform_12 #field_12_10 {
	grid-column: span 1 !important;
}

/* Step 2: Email and consent checkbox full width */
#gform_12 #field_12_11,
#gform_12 #field_12_29 {
	grid-column: 1 / -1 !important;
}

/* Checkbox left, text right */
#gform_12 #field_12_29 .gchoice {
	display: flex !important;
	align-items: flex-start;
	gap: 10px;
}

#gform_12 #field_12_29 .gchoice input[type="checkbox"] {
	flex: 0 0 18px;
	width: 18px !important;
	height: 18px !important;
	margin: 2px 0 0 !important;
}

#gform_12 #field_12_29 .gchoice label {
	flex: 1 1 auto;
	margin: 0 !important;
	max-width: none !important;
	text-align: left;
}

/* Step 2: consent text after the checkbox - normal weight, small, light gray */
#gform_wrapper_12 #field_12_29 .gchoice label {
	font-weight: 400 !important;
	font-size: 12px !important;
	line-height: 1.5 !important;
	color: #9aa0a9 !important;
}

#gform_wrapper_12 #field_12_29 .gfield-choice-input {
	accent-color: #1c3f95 !important;
}

/* Previous + Get My Flat Price in one row */
#gform_12 #gform_page_12_2 .gform_page_footer {
	display: flex !important;
	align-items: center;
	gap: 12px;
	flex-wrap: nowrap;
}

#gform_12 #gform_previous_button_12,
#gform_12 #gform_submit_button_12 {
	height: 56px !important;
	margin: 0 !important;
	padding: 0 20px !important;
	background: #1c3f95 !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 10px !important;
	font-size: 19px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	cursor: pointer;
}

#gform_12 #gform_previous_button_12 {
	flex: 0 0 auto;
	width: auto !important;
}

#gform_12 #gform_submit_button_12 {
	flex: 1 1 auto;
	width: auto !important;
}

#gform_12 #gform_previous_button_12:hover,
#gform_12 #gform_submit_button_12:hover {
	filter: brightness(1.1);
}

/* Step 2: Previous button - light/faded by default, blue on hover */
#gform_wrapper_12 #gform_12 #gform_previous_button_12 {
	background: #eef1f6 !important;
	background-image: none !important;
	color: #8a93a6 !important;
	border: 1px solid #dfe4ec !important;
	box-shadow: none !important;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

#gform_wrapper_12 #gform_12 #gform_previous_button_12:hover,
#gform_wrapper_12 #gform_12 #gform_previous_button_12:focus-visible {
	background: #1c3f95 !important;
	color: #fff !important;
	border-color: #1c3f95 !important;
}

/* ==========================================================================
   2. RESPONSIVE - the only media queries in this file, kept at the end.
   Desktop-first, standard (Bootstrap) breakpoints:
   1199px = small laptop / landscape tablet, 991px = tablet,
   767px  = mobile, 575px = small phones.
   ========================================================================== */

/* ---------- <= 1199px : small laptops / landscape tablets ---------- */
@media (max-width: 1199px) {

	/* 4 price cards: 2 x 2 instead of 3 + 1 orphan */
	.fr-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ---------- <= 991px : tablets ---------- */
@media (max-width: 991px) {
	.fr-section {
		padding: 72px 0;
	}

	.fr-how-inner,
	.fr-cta-inner {
		padding-top: 72px;
		padding-bottom: 72px;
	}

	.fr-hero-inner {
		gap: 40px;
	}

	/* headings + sub headings one step smaller on tablets */
	.fr-lp .fr-h1 {
		font-size: 34px;
	}

	.fr-lp .fr-h2,
	.fr-lp .vs-title,
	.fr-lp .jr-title,
	.fr-lp .psl-title {
		font-size: 28px;
	}

	.fr-lp .fr-cta .fr-h2 {
		font-size: 30px;
	}

	.fr-lead {
		font-size: 19px;
	}

	.fr-sub,
	.fr-cta-text {
		font-size: 18px;
	}

	.fr-lp .fr-form-title {
		font-size: 26px;
	}

	.fr-steps h3 {
		font-size: 19px;
	}

	.fr-card h3 {
		font-size: 20px;
	}

	.fr-incl-box h3 {
		font-size: 18px;
	}

	/* 3 photos stay in one row (no 2 + 1 orphan) */
	.fr-photos-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 12px;
	}

	/* 4 stats: 2 x 2 (no 3 + 1 orphan) */
	.fr-stats-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 16px;
	}

	/* 3 steps: stacked full width (no 2 + 1 orphan) */
	.fr-steps {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.fr-incl {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fr-about {
		gap: 28px;
	}

	.fr-bottombar-inner {
		justify-content: center;
		text-align: center;
	}

	.fr-check {
		margin-right: 4px;
		/* display: none; */
	}

	.fr-table .fr-td-flat {
		text-align: center;
	}
}

/* ---------- <= 767px : mobile ---------- */
@media (max-width: 767px) {
	.fr-section {
		padding: 56px 0;
	}

	.fr-hero-inner {
		padding-top: 40px;
		padding-bottom: 48px;
		gap: 32px;
	}

	.fr-form-card {
		padding: 22px;
	}

	.fr-how-inner,
	.fr-cta-inner {
		padding-top: 56px;
		padding-bottom: 56px;
	}

	/* headings + sub headings smaller again on mobile */
	.fr-lp .fr-h1 {
		font-size: 32px;
	}

	.fr-lp .fr-h2,
	.fr-lp .vs-title,
	.fr-lp .jr-title,
	.fr-lp .psl-title {
		font-size: 26px;
	}

	.fr-lp .fr-cta .fr-h2 {
		font-size: 27px;
	}

	.fr-lead {
		font-size: 17px;
	}

	.fr-sub,
	.fr-cta-text {
		font-size: 16px;
	}

	.fr-lp .fr-form-title {
		font-size: 24px;
	}

	.fr-steps h3 {
		font-size: 18px;
	}

	.fr-card h3 {
		font-size: 19px;
	}

	.fr-incl-box h3 {
		font-size: 17px;
	}

	/* comparison table fits the screen: no sideways scroll, logo sits above "Flat Rate" */
	.fr-table {
		min-width: 0;
		table-layout: fixed;
		font-size: 15px;
	}

	.fr-table th,
	.fr-table td {
		padding: 10px;
		font-size: 14px;
		overflow-wrap: break-word;
	}

	.fr-table thead th {
		padding: 12px 10px;
	}

	.fr-table thead th:first-child {
		width: 27%;
	}

	.fr-table .fr-th-flat {
		white-space: normal;
		font-size: 15px;
		width: 42%;
		text-align: center;
	}

	.fr-table .fr-th-logo {
		display: block;
		height: 28px;
		margin: 0 auto 6px;
	}

	.fr-incl {
		grid-template-columns: minmax(0, 1fr);
	}

	.fr-incl-box {
		padding: 20px;
	}

	/* about: photo on top, copy below */
	.fr-about {
		flex-direction: column;
		align-items: center;
		gap: 24px;
	}

	.fr-about.team-memerb-img img {
		flex: none;
		width: 100%;
		max-width: 255px;
	}

	.fr-about-copy {
		flex: none;
		width: 100%;
	}

	.fr-lp .vs-title,
	.fr-lp .jr-title,
	.fr-lp .psl-title {
		margin-bottom: 24px;
	}

	/* footer stacked + centered; extra room at the bottom so the floating call button never covers the text */
	.fr-bottombar-inner {
		flex-direction: column;
		padding: 14px 0 !important;
	}

	.fr-bottombar-left {
		flex-direction: column;
		gap: 8px;
	}

	.fr-card-price {
		justify-content: center;
	}

	.fr-card {
		text-align: center;
	}
}

/* ---------- <= 575px : small phones ---------- */
@media (max-width: 575px) {

	/* left/right only, so each block keeps its own top/bottom padding */
	.fr-wrap {
		padding-left: 16px;
		padding-right: 16px;
	}

	.fr-section {
		padding: 44px 0;
	}

	.fr-how-inner,
	.fr-cta-inner {
		padding-top: 44px;
		padding-bottom: 44px;
	}

	/* header: logo centered on top, phone + button side by side below */
	.fr-header-inner {
		flex-direction: column;
		justify-content: center;
		text-align: center;
		gap: 8px;
	}

	.fr-brand {
		align-items: center;
	}

	.fr-header .fr-header-logo {
		height: 42px;
	}

	.fr-header-actions {
		width: 100%;
		flex-wrap: nowrap;
		justify-content: center;
		gap: 12px;
	}

	.fr-lp .fr-header-phone {
		font-size: 16px;
	}

	.fr-lp .fr-header-actions .fr-btn {
		min-height: 38px;
		padding: 7px 12px;
		font-size: 14px;
		white-space: nowrap;
	}

	/* headings + sub headings: smallest step on phones */
	.fr-lp .fr-h1 {
		font-size: 29px;
	}

	.fr-lp .fr-h2,
	.fr-lp .vs-title,
	.fr-lp .jr-title,
	.fr-lp .psl-title {
		font-size: 24px;
	}

	.fr-lp .fr-cta .fr-h2 {
		font-size: 25px;
	}

	.fr-steps h3 {
		font-size: 17px;
	}

	.fr-card h3 {
		font-size: 18px;
	}

	.fr-badge {
		font-size: 13px;
		border-radius: 14px;
	}

	/* forms: one field per row (a 1-column grid, so every "half" field becomes full width) */
	.fr-form-embed .gform_wrapper .gform_fields,
	.fr-form-embed .gform_wrapper.gravity-theme .gform_fields {
		grid-template-columns: minmax(0, 1fr);
	}

	.fr-form-card {
		padding: 18px;
	}

	.fr-lp .fr-form-title {
		font-size: 22px;
	}

	#gform_12 #gform_previous_button_12,
	#gform_12 #gform_submit_button_12 {
		height: 52px !important;
		padding: 0 14px !important;
		font-size: 16px !important;
	}

	/* photos: one wide photo, two small ones below */
	.fr-photos-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding-top: 32px;
	}

	.fr-photos-grid img:first-child {
		grid-column: 1 / -1;
		aspect-ratio: 16 / 9;
	}

	.fr-stat-value {
		font-size: 22px;
	}

	.fr-stat-label {
		font-size: 13px;
	}

	.fr-table th,
	.fr-table td {
		padding: 10px 6px;
		font-size: 13px;
		line-height: 15px;
		text-align: center;
	}

	.fr-table thead th {
		padding: 12px 6px;
	}

	.fr-cards {
		grid-template-columns: minmax(0, 1fr);
	}

	.fr-card {
		padding: 22px;
	}

	.fr-card-amount {
		font-size: 26px;
	}

	.fr-lp .fr-btn--lg {
		width: 100%;
		font-size: 17px;
		padding: 14px 18px;
	}

	/* call button: only as wide as its text, compact padding */
	.fr-lp .fr-cta-phone {
		padding: 9px 20px;
		font-size: 1.25rem;
		gap: 10px;
	}
}