.fre-wrap {
	--fre-navy: #14232D;
	--fre-turquoise: #00B7C2;
	--fre-green: #83F473;
	--fre-border: #d9e1e5;
	--fre-muted: #5f6f78;
	max-width: 900px;
	margin: 0 auto;
	color: var(--fre-navy);
}

.fre-form,
.fre-results {
	background: #fff;
	border: 1px solid var(--fre-border);
	border-radius: 18px;
	padding: clamp(22px, 4vw, 42px);
	box-shadow: 0 12px 35px rgba(20, 35, 45, 0.08);
}

.fre-heading h2,
.fre-results h3,
.fre-stops-section h3 {
	color: var(--fre-navy);
	margin-top: 0;
}

.fre-heading p,
.fre-section-row p,
.fre-help,
.fre-distance {
	color: var(--fre-muted);
}

.fre-grid {
	display: grid;
	gap: 20px;
}

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

.fre-field {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.fre-field label {
	font-weight: 700;
	font-size: 15px;
}

.fre-field input,
.fre-field select {
	width: 100%;
	min-height: 50px;
	border: 1px solid var(--fre-border);
	border-radius: 9px;
	padding: 10px 13px;
	background: #fff;
	color: var(--fre-navy);
	font: inherit;
	box-sizing: border-box;
}

.fre-field input:focus,
.fre-field select:focus {
	outline: 3px solid rgba(0, 183, 194, 0.18);
	border-color: var(--fre-turquoise);
}

.fre-stops-section {
	margin-top: 30px;
	padding-top: 26px;
	border-top: 1px solid var(--fre-border);
}

.fre-section-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.fre-section-row p {
	margin-bottom: 0;
}

.fre-secondary-btn,
.fre-remove-stop {
	border: 1px solid var(--fre-turquoise);
	background: #fff;
	color: var(--fre-navy);
	border-radius: 999px;
	padding: 10px 16px;
	font-weight: 700;
	cursor: pointer;
}

.fre-stop-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px;
	align-items: end;
	margin-top: 18px;
}

.fre-remove-stop {
	margin-bottom: 4px;
}

.fre-help {
	font-size: 13px;
	margin-bottom: 0;
}

.fre-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 28px 0;
	padding: 16px;
	background: #f5f9fa;
	border-radius: 10px;
}

.fre-check input {
	margin-top: 4px;
	flex: 0 0 auto;
}

.fre-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 54px;
	border: 0;
	border-radius: 10px;
	background: var(--fre-turquoise);
	color: #fff;
	font-weight: 800;
	font-size: 17px;
	cursor: pointer;
}

.fre-submit:hover {
	filter: brightness(0.93);
}

.fre-submit:disabled {
	opacity: 0.65;
	cursor: wait;
}

.fre-error {
	margin-top: 18px;
	padding: 14px 16px;
	background: #fff1f1;
	border-left: 4px solid #b42318;
	color: #7a271a;
	border-radius: 6px;
}

.fre-results {
	margin-top: 26px;
}

.fre-eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 12px;
	font-weight: 800;
	color: var(--fre-turquoise);
	margin-bottom: 6px;
}

.fre-total {
	font-size: clamp(42px, 8vw, 68px);
	font-weight: 900;
	line-height: 1;
	color: var(--fre-navy);
}

.fre-distance {
	margin-top: 10px;
}

.fre-alert {
	margin: 18px 0;
	padding: 16px 18px;
	border-radius: 9px;
}

.fre-alert-warning {
	background: #fff6df;
	border-left: 4px solid #d18b00;
}

.fre-alert-info {
	background: #edfafd;
	border-left: 4px solid var(--fre-turquoise);
}

.fre-breakdown {
	margin-top: 28px;
	padding: 24px;
	background: #f7fafb;
	border-radius: 12px;
}

.fre-breakdown-line {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 11px 0;
	border-bottom: 1px solid var(--fre-border);
}

.fre-breakdown-line.is-emphasized {
	font-size: 18px;
	border-bottom: 0;
	padding-bottom: 0;
}

.fre-disclaimer {
	margin-top: 24px;
	font-size: 13px;
	line-height: 1.6;
	color: var(--fre-muted);
}

.fre-discount {
	margin-top: 18px;
	padding: 20px;
	border-radius: 10px;
	background: var(--fre-navy);
	color: #fff;
	font-weight: 700;
	line-height: 1.55;
}

@media (max-width: 700px) {
	.fre-grid-2,
	.fre-stop-row {
		grid-template-columns: 1fr;
	}

	.fre-section-row {
		align-items: flex-start;
		flex-direction: column;
	}

	.fre-remove-stop {
		justify-self: start;
	}

	.fre-form,
	.fre-results {
		border-radius: 12px;
	}

	.fre-breakdown {
		padding: 18px;
	}
}


/* Google Places address suggestions */
.fre-field {
	position: relative;
}

.fre-suggestions {
	position: absolute;
	z-index: 9999;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--fre-border);
	border-radius: 10px;
	box-shadow: 0 12px 30px rgba(20, 35, 45, 0.16);
}

.fre-suggestion {
	display: block;
	width: 100%;
	padding: 12px 14px;
	border: 0;
	border-bottom: 1px solid var(--fre-border);
	background: #fff;
	color: var(--fre-navy);
	text-align: left;
	font: inherit;
	line-height: 1.35;
	cursor: pointer;
}

.fre-suggestion:last-child {
	border-bottom: 0;
}

.fre-suggestion:hover,
.fre-suggestion.is-active {
	background: #edfafd;
}

.fre-suggestion:focus {
	outline: none;
	background: #edfafd;
}


/* Estimate CTA */
.fre-cta {
	margin-top: 24px;
	padding: clamp(24px, 4vw, 34px);
	border: 2px solid var(--fre-turquoise);
	border-radius: 14px;
	text-align: center;
	background: #f7fcfd;
}

.fre-cta h3 {
	margin: 0 0 8px;
	color: var(--fre-navy);
	font-size: clamp(24px, 4vw, 32px);
}

.fre-cta p {
	max-width: 620px;
	margin: 0 auto;
	color: var(--fre-muted);
	line-height: 1.6;
}

.fre-cta-buttons {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 22px;
}

.fre-cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 180px;
	min-height: 50px;
	padding: 11px 22px;
	border: 2px solid var(--fre-turquoise);
	border-radius: 9px;
	font-weight: 800;
	text-decoration: none !important;
	transition: transform 0.15s ease, filter 0.15s ease;
}

.fre-cta-btn:hover {
	transform: translateY(-1px);
	filter: brightness(0.95);
}

.fre-cta-primary {
	background: var(--fre-turquoise);
	color: #fff !important;
}

.fre-cta-secondary {
	background: #fff;
	color: var(--fre-navy) !important;
}

@media (max-width: 560px) {
	.fre-cta-buttons {
		flex-direction: column;
	}

	.fre-cta-btn {
		width: 100%;
		box-sizing: border-box;
	}
}


/* Trip request form */
.fre-cta button.fre-cta-btn {
	font: inherit;
	cursor: pointer;
}

.fre-request-form {
	margin-top: 28px;
	padding-top: 28px;
	border-top: 1px solid var(--fre-border);
	text-align: left;
}

.fre-request-heading {
	margin-bottom: 22px;
	text-align: center;
}

.fre-request-heading h3 {
	font-size: 24px;
	margin-bottom: 8px;
}

.fre-request-heading p {
	max-width: 660px;
}

.fre-request-email-field,
.fre-request-notes-field {
	grid-column: 1 / -1;
}

.fre-request-notes-field textarea {
	width: 100%;
	border: 2px solid #aebbc2;
	border-radius: 9px;
	padding: 12px 13px;
	background: #fff;
	color: var(--fre-navy);
	font: inherit;
	box-sizing: border-box;
	resize: vertical;
}

.fre-request-notes-field label span {
	font-weight: 400;
	color: var(--fre-muted);
}

.fre-request-ack {
	margin-bottom: 18px;
	text-align: left;
}

.fre-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.fre-request-success {
	margin-top: 18px;
	padding: 16px 18px;
	border-left: 4px solid var(--fre-green);
	border-radius: 7px;
	background: #effff4;
	color: var(--fre-navy);
	font-weight: 700;
	line-height: 1.55;
}

@media (max-width: 700px) {
	.fre-request-email-field,
	.fre-request-notes-field {
		grid-column: auto;
	}
}


/* Manual quote request link */
.fre-manual-request-link {
	display: inline;
	margin: 0 0 0 6px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--fre-navy);
	font: inherit;
	font-weight: 800;
	text-decoration: underline;
	cursor: pointer;
}

.fre-manual-request-link:hover,
.fre-manual-request-link:focus {
	color: var(--fre-turquoise);
}
