
/* Text displayed outside the white quote form cards */
.calyra-quote__header,
.calyra-quote__header h1,
.calyra-quote__header h2,
.calyra-quote__header h3,
.calyra-quote__header p,
.calyra-quote__header span {
	color: #ffffff !important;
}

.calyra-quote__header h2 {
	color: #ffffff !important;
}

.calyra-quote__header p {
	color: rgba(255, 255, 255, 0.92) !important;
}

.calyra-quote__notice {
	color: inherit;
}


.calyra-quote__reba {
	display: block;
	width: 100%;
	max-width: 1100px;
	margin: 0 auto 34px;
	overflow: visible;
	border-radius: 18px;
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.calyra-quote__reba img {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	margin: 0;
	object-fit: contain !important;
	object-position: center center !important;
	border-radius: 18px;
}

@media (max-width: 700px) {
	.calyra-quote__reba {
		margin-bottom: 18px;
		border-radius: 12px;
		box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
	}

	.calyra-quote__reba img {
		width: 100%;
		border-radius: 12px;
	}
}

.calyra-quote {
	--cq-primary: #03172f;
	--cq-accent: #e2a928;
	--cq-button-text: #03172f;
	--cq-field-bg: #ffffff;
	--cq-border: #d6dde8;
	max-width: 980px;
	margin: 0 auto;
	color: #101827;
	font-family: Arial, Helvetica, sans-serif;
}

.calyra-quote__header {
	margin-bottom: 28px;
	text-align: center;
}

.calyra-quote__header h2 {
	margin: 0 0 10px;
	color: var(--cq-primary);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2rem, 5vw, 3.4rem);
	line-height: 1.08;
}

.calyra-quote__header p {
	max-width: 760px;
	margin: 0 auto;
	color: #687386;
}

.calyra-quote__form {
	display: grid;
	gap: 24px;
}

.calyra-quote__section {
	padding: 28px;
	border: 1px solid var(--cq-border);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 14px 36px rgba(3, 23, 47, .08);
}

.calyra-quote__section h3 {
	margin: 0 0 20px;
	color: var(--cq-primary);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.55rem;
}

.calyra-quote__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.cq-field {
	min-width: 0;
}

.cq-field--full {
	grid-column: 1 / -1;
}

.cq-field label {
	display: block;
	margin-bottom: 7px;
	color: var(--cq-primary);
	font-weight: 800;
}

.cq-field input,
.cq-field select,
.cq-field textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid var(--cq-border);
	border-radius: 10px;
	background: var(--cq-field-bg);
	color: #101827;
	font: inherit;
}

.cq-field input,
.cq-field select {
	min-height: 50px;
	padding: 0 13px;
}

.cq-field textarea {
	padding: 13px;
	resize: vertical;
}

.cq-date-wrap {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid var(--cq-border);
	border-radius: 10px;
	background: var(--cq-field-bg);
	padding: 13px;
}

.cq-date-wrap input[type="date"] {
	display: block;
	width: 100%;
	min-width: 0;
	min-height: auto;
	padding: 0;
	border: 0;
	background: transparent;
}

.cq-field input:focus,
.cq-field select:focus,
.cq-field textarea:focus {
	outline: 3px solid color-mix(in srgb, var(--cq-accent) 25%, transparent);
	border-color: var(--cq-accent);
}

.cq-field--honeypot {
	position: absolute !important;
	left: -99999px !important;
}

.calyra-quote__submit {
	min-height: 56px;
	border: 0;
	border-radius: 12px;
	background: var(--cq-accent);
	color: var(--cq-button-text);
	font-weight: 900;
	text-transform: uppercase;
	cursor: pointer;
}

.calyra-quote__submit:hover {
	transform: translateY(-2px);
}

.calyra-quote__submit:disabled {
	opacity: .6;
	cursor: wait;
}

.calyra-quote__notice {
	display: none;
	margin-bottom: 18px;
	padding: 14px 16px;
	border-radius: 10px;
}

.calyra-quote__notice.is-visible {
	display: block;
}

.calyra-quote__notice.is-success {
	background: #e9f8ef;
	color: #135a2d;
}

.calyra-quote__notice.is-error {
	background: #fff0f0;
	color: #8a1f1f;
}

@media (max-width: 700px) {
	.calyra-quote__section {
		padding: 20px;
	}

	.calyra-quote__grid {
		grid-template-columns: 1fr;
	}

	.cq-field--full {
		grid-column: auto;
	}
}


/* Version 1.9: always display the carpet-cleaning hero at the form width. */
.calyra-quote .calyra-quote__reba img {
	width: 100% !important;
	max-width: 100% !important;
}

@media (max-width: 700px) {
	.calyra-quote__reba {
		margin-bottom: 24px;
		border-radius: 12px;
	}

	.calyra-quote__reba img {
		width: 100% !important;
		border-radius: 12px;
	}
}


/* Version 1.10: show the entire carpet-cleaning hero image without clipping. */
.calyra-quote .calyra-quote__reba {
	overflow: visible !important;
	height: auto !important;
	max-height: none !important;
}

.calyra-quote .calyra-quote__reba img {
	width: 100% !important;
	height: auto !important;
	max-height: none !important;
	object-fit: contain !important;
	object-position: center center !important;
}
