@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Open+Sans:wght@700;800&display=swap");

/* Quote hero — family photo background, copy on the left, form card on the right. */
#quick-quote.gm-qq-section,
#quote-step2.gm-qq-section {
	background-color: #e7f2ea !important;
	background-image:
		linear-gradient(90deg, rgba(255,255,255,.5) 0%, rgba(255,255,255,.18) 28%, rgba(255,255,255,0) 52%),
		url("../images/quote-hero.jpg") !important;
	background-image:
		linear-gradient(90deg, rgba(255,255,255,.5) 0%, rgba(255,255,255,.18) 28%, rgba(255,255,255,0) 52%),
		url("../images/quote-hero.webp") !important;
	background-size: 100% auto !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
}

#quote-step2.gm-qq-section {
	background-image:
		linear-gradient(180deg, rgba(255,255,255,.38), rgba(255,255,255,.22)),
		url("../images/quote-hero.jpg") !important;
	background-image:
		linear-gradient(180deg, rgba(255,255,255,.38), rgba(255,255,255,.22)),
		url("../images/quote-hero.webp") !important;
	background-size: 100% auto !important;
	background-position: center center !important;
}

#quick-quote.gm-qq-section {
	padding: 46px 0 40px !important;
}

#quick-quote .container {
	max-width: 1180px;
}

#quick-quote .gm-qq-grid {
	grid-template-columns: minmax(0, 1.12fr) minmax(300px, 440px);
	gap: 40px;
	align-items: center;
}

#quick-quote .gm-qq-title,
#quick-quote .gm-qq-card-title,
#quick-quote .gm-qq-submit,
#quick-quote .gm-qq-steps,
#quick-quote .gm-qq-badge,
#quick-quote .gm-qq-perks {
	font-family: "Open Sans", sans-serif !important;
}

#quick-quote .gm-qq-title {
	font-size: 46px;
	line-height: 1.08;
	font-weight: 800;
	letter-spacing: -0.035em;
	color: #152033;
	margin: 0 0 14px;
}

#quick-quote .gm-qq-accent {
	color: #1a9a4a;
}

#quick-quote .gm-qq-lead {
	font-size: 16.5px;
	line-height: 1.55;
	color: #3d4c55;
	max-width: 460px;
	margin: 0 0 22px;
}

.gm-qq-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px;
	padding: 6px 12px 6px 8px;
	border-radius: 999px;
	background: #e5f6ec;
	color: #17803f;
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.gm-qq-badge svg {
	flex: none;
}

.gm-qq-perks {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px 10px;
}

.gm-qq-perks li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
	line-height: 1.25;
	font-weight: 700;
	color: #1e2a32;
}

.gm-qq-perk-ico {
	flex: none;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255,255,255,.82);
	color: #1a9a4a;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 1px 0 rgba(255,255,255,.8);
}

.gm-qq-scribble {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 36px 0 0 4px;
	font-family: "Caveat", "Indie Flower", cursive;
	font-size: 32px;
	font-weight: 700;
	line-height: 1;
	color: #1a1a1a;
	transform: rotate(-4deg);
	transform-origin: left center;
}

.gm-qq-scribble svg {
	width: 58px;
	height: 32px;
	flex: none;
	margin-top: 8px;
}

.gm-qq-fine {
	margin: 16px 0 0;
	max-width: 460px;
	font-size: 12px;
	line-height: 1.45;
	color: #5a6972;
}

#quick-quote .gm-qq-card {
	position: relative;
	width: 100%;
	max-width: 440px;
	justify-self: end;
	background: #fff;
	border: none;
	border-radius: 22px;
	box-shadow: 0 22px 55px rgba(18, 40, 28, .18);
	/* Tightened so the whole card clears one screen with the submit visible. */
	padding: 16px 20px 14px;
}

.gm-qq-cardtop {
	position: relative;
	margin: 0 0 10px;
	padding-right: 108px;
}

#quick-quote .gm-qq-steps {
	margin: 0 0 4px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #1a9a4a;
}

#quick-quote .gm-qq-card-title {
	margin: 0;
	/* 19px keeps "Get your free quotes" on one line; nowrap makes that a rule
	   rather than a coincidence of the current wording. */
	font-size: 19px;
	white-space: nowrap;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #152033;
	line-height: 1.2;
}

.gm-qq-scribble-card {
	position: absolute;
	top: -6px;
	right: -6px;
	width: 118px;
	margin: 0;
	font-family: "Caveat", "Indie Flower", cursive;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.02;
	text-align: center;
	color: #1a1a1a;
	transform: rotate(-8deg);
	pointer-events: none;
}

#quick-quote .gm-qq-label {
	font-family: "Open Sans", sans-serif;
	font-size: 13.5px;
	font-weight: 700;
	color: #243038;
}

#qq1-from,
#qq1-to,
#qq1-email,
#qq1-phone {
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: 14px 50%;
	background-size: 16px 16px;
	padding-left: 40px;
	border-radius: 12px;
	border-color: #e4ebe8;
	min-height: 42px;
}

/* The date and size controls match the four contact fields above, so the row
   does not read as a different form. They carry no leading icon, so they keep
   the normal left padding. */
#qq1-date,
#qq1-size {
	min-height: 42px;
	border-radius: 12px;
	border-color: #e4ebe8;
	background-color: #fff;
}

#qq1-from,
#qq1-to {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237b8b94' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.2 7-11a7 7 0 1 0-14 0c0 4.8 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.4'/%3E%3C/svg%3E");
}

#qq1-email {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237b8b94' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 7 9-7'/%3E%3C/svg%3E");
}

#qq1-phone {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237b8b94' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 3.5h3L11 7.5l-2 1.2a12 12 0 0 0 6.3 6.3l1.2-2 4 1.5v3a2 2 0 0 1-2 2A15 15 0 0 1 4.5 5.5a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");
}

#quick-quote .gm-qq-submit {
	border-radius: 12px;
	background: #1b9a4a;
	font-size: 17px;
	font-weight: 700;
	padding: 12px 18px;
	margin-top: 12px;
	letter-spacing: 0;
	text-transform: none;
}

#quick-quote .gm-qq-submit:hover {
	background: #157a3b;
}

#quick-quote .gm-qq-cardtrust {
	margin-top: 9px;
}

#quick-quote .gm-qq-cardtrust span {
	color: #6b7780;
	font-size: 13px;
	font-weight: 600;
}

.gm-qq-freeimg,
.gm-qq-mobilehead {
	display: none !important;
}

/* Trust row under the photo */
.gm-qq-proof {
	background: #f3faf6;
	border-top: 1px solid #e5f3eb;
	padding: 22px 20px;
}

.gm-qq-proof-inner {
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px 22px;
}

.gm-qq-proof-item {
	display: flex;
	align-items: center;
	gap: 12px;
}

.gm-qq-proof-ico {
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #e5f6ec;
	color: #1a9a4a;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.gm-qq-proof-item strong {
	display: block;
	font-family: "Open Sans", sans-serif;
	font-size: 14px;
	font-weight: 800;
	color: #152033;
	line-height: 1.25;
}

.gm-qq-proof-item span {
	display: block;
	font-size: 12.5px;
	line-height: 1.35;
	color: #5c6b74;
	font-weight: 500;
}

/* Paid landing header links */
.lqq-nav .lqq-links {
	display: flex;
	align-items: center;
	gap: 22px;
	list-style: none;
	margin: 0 auto 0 28px;
	padding: 0;
}

.lqq-nav .lqq-links a {
	color: #1c2430;
	font-family: "Open Sans", sans-serif;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	white-space: nowrap;
}

.lqq-nav .lqq-links a:hover {
	color: #1a9a4a;
}

@media (max-width: 1100px) {
	.lqq-nav .lqq-links { display: none; }
	#quick-quote .gm-qq-perks { grid-template-columns: 1fr 1fr; gap: 14px 18px; }
}

@media (max-width: 991px) {
	#quick-quote.gm-qq-section { padding: 28px 0 24px !important; }
	#quick-quote .gm-qq-grid { grid-template-columns: 1fr; gap: 22px; }
	#quick-quote .gm-qq-title { font-size: 34px !important; }
	#quick-quote .gm-qq-card { order: 0; max-width: none; justify-self: stretch; }
	.gm-qq-scribble-card { display: none; }
	.gm-qq-cardtop { padding-right: 0; }
	.gm-qq-proof-inner { grid-template-columns: 1fr 1fr; }
	#quick-quote.gm-qq-section,
	#quote-step2.gm-qq-section {
		background-size: 100% auto !important;
		background-position: center top !important;
	}
}

@media (max-width: 575px) {
	#quick-quote .gm-qq-title { font-size: 30px !important; }
	.gm-qq-scribble { font-size: 26px; }
	.gm-qq-proof-inner { grid-template-columns: 1fr; }
}
