/* Cleaner Offer – brand: #1E5FAF, #5DB7FF, #FFFFFF */

.co-offer {
	--co-primary: #1e5faf;
	--co-accent: #5db7ff;
	--co-white: #ffffff;
	--co-text: #1a2b3c;
	--co-muted: #5a6b7c;
	--co-radius: 12px;
	--co-shadow: 0 8px 32px rgba(30, 95, 175, 0.12);
	font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
	color: var(--co-text);
	max-width: 1180px;
	margin-left: auto;
	margin-right: auto;
	/* Do not set overflow-x: hidden here — it clips full-bleed hero nav arrows at wide viewports. */
}

.co-hero-heading {
	text-align: center;
	font-size: clamp(1.25rem, 2.5vw, 1.65rem);
	font-weight: 700;
	color: var(--co-primary);
	margin: 0 0 1.25rem;
	line-height: 1.3;
}

.co-hero {
	margin-bottom: 2rem;
}

.co-hero-service-hint {
	margin: 0 0 0.65rem;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--co-primary);
	text-align: center;
}

/* Hero: one full-width slide at a time (track width = n × viewport of wrap) */
.co-hero-fullbleed {
	width: 100%;
}

@media (min-width: 768px) {
	.co-hero-fullbleed {
		width: 100vw;
		max-width: none;
		margin-left: calc(50% - 50vw);
		margin-right: calc(50% - 50vw);
		padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
		padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
		box-sizing: border-box;
	}
}

.co-hero-desktop {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
}

.co-hero-slide-wrap {
	position: relative;
	border-radius: var(--co-radius);
	overflow: hidden;
	box-shadow: var(--co-shadow);
	--co-n: 1;
	width: 100%;
	/* Full-width banner; background-image covers this entire box */
	min-height: clamp(280px, 42vw, 440px);
}

.co-hero-slides {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	transition: transform 0.35s ease;
	width: calc(var(--co-n, 1) * 100%);
	flex-shrink: 0;
	min-height: clamp(280px, 42vw, 440px);
}

.co-slide {
	position: relative;
	flex: 0 0 calc(100% / var(--co-n, 1));
	flex-shrink: 0;
	min-width: 0;
	min-height: clamp(280px, 42vw, 440px);
	background: linear-gradient(135deg, var(--co-primary), #2a6bc4);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: var(--co-white);
	display: flex;
	align-items: flex-end;
}

/* Brand-tinted scrims: primary (#1e5faf) + accent (#5db7ff) for legible white text without hiding the photo */
.co-slide-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(
			155deg,
			rgba(30, 95, 175, 0.42) 0%,
			rgba(93, 183, 255, 0.14) 40%,
			transparent 58%
		),
		linear-gradient(
			to bottom,
			rgba(12, 40, 78, 0.45) 0%,
			transparent 34%,
			rgba(30, 95, 175, 0.12) 52%,
			rgba(10, 38, 72, 0.88) 100%
		);
	pointer-events: none;
}

.co-slide-icon-badge {
	position: absolute;
	top: 1.25rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	width: 4rem;
	height: 4rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.95);
	color: var(--co-primary);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
	font-size: 1.75rem;
	pointer-events: none;
}

.co-slide-inner {
	position: relative;
	z-index: 2;
	padding: 1.5rem 1.25rem 3.25rem;
	width: 100%;
	max-width: none;
	box-sizing: border-box;
}

@media (min-width: 768px) {
	.co-slide-inner {
		padding: 1.75rem 3rem 3.5rem;
		text-align: center;
		max-width: 48rem;
		margin-left: auto;
		margin-right: auto;
	}
}

.co-slide-headline {
	margin: 0 0 0.35rem;
	font-size: clamp(1.35rem, 3vw, 1.85rem);
	font-weight: 700;
	line-height: 1.2;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45), 0 0 1.25rem rgba(10, 38, 72, 0.35);
}

.co-slide-subline {
	margin: 0 auto;
	font-size: 0.95rem;
	opacity: 0.98;
	max-width: 42ch;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.co-hero-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 20;
	width: 44px;
	height: 44px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--co-primary);
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
}

.co-hero-prev {
	left: max(0.75rem, env(safe-area-inset-left, 0px));
}

.co-hero-next {
	right: max(0.75rem, env(safe-area-inset-right, 0px));
}

.co-hero-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 15;
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.65rem 1rem 0.85rem;
	margin: 0;
	background: linear-gradient(to top, rgba(10, 38, 72, 0.72), rgba(30, 95, 175, 0.12), transparent);
}

.co-hero-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
	padding: 0;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.co-hero-dot.is-active {
	background: var(--co-white);
	transform: scale(1.15);
	box-shadow: 0 0 0 2px var(--co-accent);
}

.co-type-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding: 0 0 1rem;
	justify-content: center;
}

.co-type-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.55rem 1rem;
	border-radius: 999px;
	border: 2px solid #dbe7f3;
	background: var(--co-white);
	color: var(--co-primary);
	font-weight: 600;
	font-size: 0.9rem;
	cursor: pointer;
	transition: box-shadow 0.2s, border-color 0.2s, background 0.2s;
}

.co-type-pill:hover,
.co-type-pill.is-active {
	border-color: var(--co-accent);
	background: rgba(93, 183, 255, 0.12);
	box-shadow: 0 2px 12px rgba(30, 95, 175, 0.15);
}

.co-hero-mobile {
	display: none;
}

.co-mobile-type {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 112px;
	padding: 0;
	border: 3px solid #dbe7f3;
	border-radius: var(--co-radius);
	background: linear-gradient(135deg, var(--co-primary), #2a6bc4);
	background-size: cover;
	background-position: center;
	color: var(--co-white);
	cursor: pointer;
	overflow: hidden;
	text-align: left;
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.co-mobile-type::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(10, 38, 72, 0.78) 0%,
		rgba(30, 95, 175, 0.22) 55%,
		rgba(93, 183, 255, 0.1) 100%
	);
}

.co-mobile-type-inner {
	position: relative;
	z-index: 1;
	padding: 0.85rem 1rem;
	width: 100%;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 700;
	font-size: 0.92rem;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.co-mobile-type-label {
	flex: 1;
}

.co-mobile-type.is-active {
	border-color: var(--co-accent);
	box-shadow: 0 4px 20px rgba(30, 95, 175, 0.35);
	transform: translateY(-1px);
}

#co-hero-mobile {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.65rem;
}

@media (min-width: 480px) {
	#co-hero-mobile {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.co-hero-desktop {
		display: none !important;
	}

	.co-hero-mobile {
		display: grid !important;
	}
}

.co-form-wrap {
	background: var(--co-white);
	border-radius: var(--co-radius);
	box-shadow: var(--co-shadow);
	padding: 1.5rem 1.25rem 2rem;
}

/* Offset for anchor scroll / scrollIntoView when theme uses a sticky header — increase if needed */
#co-form-start {
	scroll-margin-top: clamp(1rem, 5vw, 5rem);
	outline: none;
}

.co-slide-cta {
	display: inline-flex;
	margin-top: 1rem;
}

.co-hero-mobile-cta {
	display: none;
	text-align: center;
	margin: 1rem 0 0;
}

@media (max-width: 767px) {
	.co-hero-mobile-cta {
		display: block;
	}
}

.co-steps-indicator {
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.35rem;
	font-size: 0.7rem;
	text-align: center;
	color: var(--co-muted);
}

@media (max-width: 520px) {
	.co-steps-indicator {
		font-size: 0.62rem;
	}

	.co-steps-indicator li span {
		display: block;
		font-size: 0.85rem;
		font-weight: 700;
		margin-bottom: 0.15rem;
	}
}

.co-steps-indicator li.is-active {
	color: var(--co-primary);
	font-weight: 600;
}

.co-steps-indicator li.is-active span {
	background: var(--co-primary);
	color: var(--co-white);
	border-radius: 50%;
	width: 1.6rem;
	height: 1.6rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.co-step-title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1.15rem;
	margin: 0 0 1rem;
	color: var(--co-primary);
}

.co-step-title i {
	color: var(--co-accent);
}

.co-field {
	margin-bottom: 1.1rem;
}

.co-field label,
.co-label {
	display: block;
	font-weight: 600;
	font-size: 0.88rem;
	margin-bottom: 0.35rem;
}

.co-field input[type='text'],
.co-field input[type='email'],
.co-field input[type='tel'],
.co-field input[type='number'],
.co-field input[type='date'],
.co-field select,
.co-field textarea {
	width: 100%;
	max-width: 100%;
	padding: 0.65rem 0.75rem;
	border: 1px solid #c5d7e8;
	border-radius: 8px;
	font-size: 1rem;
	box-sizing: border-box;
}

.co-field input:focus,
.co-field select:focus,
.co-field textarea:focus {
	outline: 2px solid var(--co-accent);
	outline-offset: 1px;
	border-color: var(--co-primary);
}

.co-field-row {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.co-field-row-2 .co-field {
	flex: 1 1 calc(50% - 0.5rem);
	min-width: 140px;
}

.co-field-row-3 .co-field {
	flex: 1 1 calc(33.33% - 0.5rem);
	min-width: 120px;
}

.co-field-grow {
	flex: 2 1 200px;
}

.co-field-narrow {
	flex: 0 0 100px;
	max-width: 120px;
}

.co-fieldset {
	border: none;
	padding: 0;
	margin: 0 0 1rem;
}

.co-fieldset legend {
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.co-radio {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-right: 1rem;
	margin-bottom: 0.35rem;
	font-weight: 500;
	cursor: pointer;
}

.co-dirt-buttons {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(4.75rem, 1fr));
	gap: 0.5rem;
	width: 100%;
}

.co-dirt-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	min-width: 0;
	padding: 0.65rem 0.5rem;
	border: 2px solid #dbe7f3;
	border-radius: 8px;
	background: var(--co-white);
	color: var(--co-primary);
	font-weight: 600;
	font-size: 0.88rem;
	cursor: pointer;
	transition: box-shadow 0.2s, border-color 0.2s, background 0.2s;
	text-align: center;
	line-height: 1.2;
}

.co-dirt-btn .co-dirt-icon-img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 2.25rem;
	object-fit: contain;
}

.co-dirt-btn > i {
	font-size: 1.35rem;
	line-height: 1;
}

.co-dirt-btn-label {
	display: block;
}

@media (max-width: 520px) {
	.co-dirt-buttons {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 0.35rem;
	}

	.co-dirt-btn {
		font-size: 0.78rem;
		padding: 0.55rem 0.25rem;
	}
}

.co-dirt-btn.is-selected,
.co-dirt-btn:hover {
	border-color: var(--co-accent);
	background: rgba(93, 183, 255, 0.15);
}

.co-hint {
	font-size: 0.85rem;
	color: var(--co-muted);
	margin: 0.35rem 0 0;
}

.co-step-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: flex-end;
	margin-top: 1.5rem;
	padding-top: 1rem;
	border-top: 1px solid #eef4fa;
}

.co-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.35rem;
	border-radius: 8px;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	border: none;
	text-decoration: none;
	transition: background 0.2s, box-shadow 0.2s;
}

.co-btn-primary {
	background: var(--co-primary);
	color: var(--co-white);
	border: 2px solid var(--co-primary);
}

.co-btn-primary:hover {
	background: #174a8a;
	border-color: #174a8a;
}

.co-btn-ghost {
	background: transparent;
	color: var(--co-primary);
	border: 2px solid #dbe7f3;
}

.co-btn-ghost:hover {
	border-color: var(--co-accent);
}

.co-check {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	margin-bottom: 0;
	font-size: 0.92rem;
	line-height: 1.45;
	cursor: pointer;
}

.co-check input[type='checkbox'] {
	margin-top: 0.15rem;
	flex-shrink: 0;
	width: 1.25rem;
	height: 1.25rem;
	accent-color: var(--co-primary);
}

.co-check-text {
	display: block;
	flex: 1;
}

.co-legal-tag {
	display: block;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--co-primary);
	margin-bottom: 0.35rem;
}

.co-legal-intro {
	margin: 0 0 0.85rem;
	font-size: 0.88rem;
	color: var(--co-muted);
}

.co-legal {
	border: none;
	padding: 0;
	margin-top: 1rem;
}

.co-legal legend {
	font-weight: 600;
	padding: 0;
	margin-bottom: 0.5rem;
}

.co-legal-card {
	padding: 1rem 1.15rem;
	margin-bottom: 0.75rem;
	border: 1px solid #c5d7e8;
	border-radius: 8px;
	background: #f7fbff;
}

.co-legal-card--privacy {
	border-color: var(--co-accent);
	background: #f0f9ff;
	box-shadow: inset 0 0 0 1px rgba(93, 183, 255, 0.25);
}

.co-conditional {
	margin: 1rem 0 1.25rem;
	padding: 1rem;
	background: #f7fbff;
	border-radius: 8px;
	border: 1px solid #dbe7f3;
}

.co-has-error input,
.co-has-error select,
.co-has-error textarea {
	border-color: #c53030 !important;
}

.co-error-msg {
	display: block;
	color: #c53030;
	font-size: 0.85rem;
	margin-top: 0.35rem;
}

.co-msg-success {
	padding: 1rem 1.25rem;
	border-radius: 8px;
	background: #e6f7ed;
	border: 1px solid #9ae6b4;
	color: #22543d;
	margin-bottom: 1rem;
}

.co-msg-error {
	padding: 1rem 1.25rem;
	border-radius: 8px;
	background: #fff5f5;
	border: 1px solid #feb2b2;
	color: #742a2a;
	margin-bottom: 1rem;
}

.co-form-notice {
	padding: 1rem;
	background: #fffbeb;
	border: 1px solid #f6e05e;
	border-radius: 8px;
}

.co-file-rows {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	margin-bottom: 0.5rem;
}

.co-file-row .co-file-input {
	width: 100%;
	max-width: 100%;
	padding: 0.5rem;
	border: 1px dashed #c5d7e8;
	border-radius: 8px;
	background: #fafcfe;
}

.co-add-wish-date {
	margin-top: 0.25rem;
}
