/* Contact page — Motors theme + prominent Schedule a Call block */

#wrapper #main .entry-header.xxs-contact-hero {
	position: relative;
	background-size: cover !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	background-color: #153e4d !important;
	overflow: hidden;
}

#wrapper #main .entry-header.xxs-contact-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(21, 62, 77, 0.35) 0%,
		rgba(21, 62, 77, 0.55) 100%
	);
	pointer-events: none;
}

#wrapper #main .entry-header.xxs-contact-hero .xxs-contact-hero__inner {
	position: relative;
	z-index: 1;
	min-height: 300px;
	display: flex;
	align-items: center;
	justify-content: center;
}

@media (min-width: 992px) {
	#wrapper #main .entry-header.xxs-contact-hero .xxs-contact-hero__inner {
		min-height: 340px;
	}
}

@media (max-width: 767px) {
	#wrapper #main .entry-header.xxs-contact-hero {
		background-position: center 40% !important;
	}

	#wrapper #main .entry-header.xxs-contact-hero .xxs-contact-hero__inner {
		min-height: 240px;
	}
}

.xxs-contact-container {
	padding-left: 30px;
	padding-right: 30px;
	padding-bottom: 50px;
}

@media (max-width: 767px) {
	.xxs-contact-container {
		padding-left: 15px;
		padding-right: 15px;
	}
}

.xxs-contact-wrap {
	padding-top: 36px !important;
}

@media (min-width: 992px) {
	.xxs-contact-wrap {
		padding-top: 44px !important;
	}
}

/* ── Featured Schedule block ── */
.xxs-contact-schedule-feature {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 24px;
	margin: 0 0 36px;
	padding: 28px 24px 32px;
	border-radius: 6px;
	background: linear-gradient(135deg, #153e4d 0%, #232628 55%, #1a3340 100%);
	box-shadow: 0 12px 40px rgba(21, 62, 77, 0.22);
	position: relative;
	overflow: hidden;
}

.xxs-contact-schedule-feature::before {
	content: '';
	position: absolute;
	top: -40%;
	right: -10%;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	background: rgba(108, 152, 225, 0.12);
	pointer-events: none;
}

@media (min-width: 768px) {
	.xxs-contact-schedule-feature {
		flex-direction: row;
		align-items: center;
		padding: 36px 40px 40px;
		gap: 32px;
	}
}

.xxs-contact-schedule-feature__content {
	position: relative;
	z-index: 1;
	flex: 1;
	min-width: 0;
}

.xxs-contact-schedule-feature__visual {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.xxs-contact-schedule-feature__icon-ring {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(108, 152, 225, 0.18);
	border: 2px solid rgba(108, 152, 225, 0.45);
}

.xxs-contact-schedule-feature__icon-ring i {
	font-size: 42px;
	color: #6c98e1;
}

@media (min-width: 768px) {
	.xxs-contact-schedule-feature__icon-ring {
		width: 120px;
		height: 120px;
	}

	.xxs-contact-schedule-feature__icon-ring i {
		font-size: 50px;
	}
}

.xxs-contact-schedule-feature__badge {
	display: inline-block;
	margin-bottom: 12px;
	padding: 5px 12px;
	border-radius: 3px;
	background: #6c98e1;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.xxs-contact-schedule-feature__title {
	margin: 0 0 12px;
	font-size: clamp(26px, 4vw, 34px);
	font-weight: 700;
	color: #fff !important;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	line-height: 1.15;
}

.xxs-contact-schedule-feature__lead {
	margin: 0 0 20px;
	max-width: 560px;
	font-size: 15px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85);
}

.xxs-contact-schedule-feature__list {
	list-style: none;
	margin: 0 0 26px;
	padding: 0;
}

.xxs-contact-schedule-feature__list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 10px;
	font-size: 14px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.9);
}

.xxs-contact-schedule-feature__list li:last-child {
	margin-bottom: 0;
}

.xxs-contact-schedule-feature__list li i {
	flex-shrink: 0;
	margin-top: 2px;
	font-size: 16px;
	color: #6c98e1;
}

.xxs-contact-schedule-feature__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	max-width: 360px;
	box-sizing: border-box;
	margin: 0;
	padding: 18px 28px;
	border: none !important;
	border-radius: 4px;
	background: #6c98e1 !important;
	color: #fff !important;
	font-size: 16px;
	font-weight: 700;
	font-family: 'Open Sans', sans-serif;
	text-align: center;
	cursor: pointer;
	text-decoration: none !important;
	text-transform: uppercase !important;
	letter-spacing: 0.04em !important;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
	opacity: 1 !important;
	transform: none !important;
	position: relative !important;
	visibility: visible !important;
	transition: background 0.15s ease, transform 0.12s ease;
}

.xxs-contact-schedule-feature__btn i {
	font-size: 18px;
}

.xxs-contact-schedule-feature__btn:hover,
.xxs-contact-schedule-feature__btn:focus {
	background: #5a87d0 !important;
	color: #fff !important;
	transform: translateY(-1px);
}

.xxs-contact-schedule-feature__btn:active {
	transform: translateY(0);
}

/* Divider */
.xxs-contact-divider {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0 0 28px;
	color: #888;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.xxs-contact-divider::before,
.xxs-contact-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: #dce3ec;
}

/* Contact info bar + form */
.xxs-contact-info-bar {
	display: flex;
	flex-wrap: wrap;
	margin: 0 0 36px;
	border-radius: 6px;
	overflow: hidden;
	background: linear-gradient(135deg, #153e4d 0%, #232628 55%, #1a3340 100%);
	box-shadow: 0 12px 40px rgba(21, 62, 77, 0.18);
}

.xxs-contact-info-bar__item {
	flex: 1 1 220px;
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 28px 24px;
	border-right: 1px solid rgba(255, 255, 255, 0.1);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	box-sizing: border-box;
	min-width: 0;
}

.xxs-contact-info-bar__item:last-child {
	border-right: none;
}

@media (min-width: 992px) {
	.xxs-contact-info-bar__item {
		padding: 32px 28px;
		border-bottom: none;
	}
}

.xxs-contact-info-bar__icon {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(108, 152, 225, 0.18);
	border: 1px solid rgba(108, 152, 225, 0.4);
}

.xxs-contact-info-bar__icon i {
	font-size: 22px;
	color: #6c98e1;
}

.xxs-contact-info-bar__body {
	min-width: 0;
	flex: 1;
}

.xxs-contact-info-bar__label {
	margin: 0 0 6px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.65);
}

.xxs-contact-info-bar__value {
	font-size: 15px;
	line-height: 1.55;
	color: #fff;
	font-weight: 600;
	word-break: break-word;
}

@media (min-width: 992px) {
	.xxs-contact-info-bar__value {
		font-size: 16px;
	}
}

.xxs-contact-info-bar__value a {
	color: #fff;
	text-decoration: none;
}

.xxs-contact-info-bar__value a:hover {
	color: #6c98e1;
}

.xxs-contact-form-wrap {
	width: 100%;
}

.xxs-contact-form-wrap .form-group {
	margin-bottom: 20px;
}

.xxs-contact-form-wrap .contact-us-submit {
	margin-top: 4px;
}

.xxs-contact-form-wrap .contact-us-submit input[type="submit"] {
	min-width: 220px;
}

@media (max-width: 767px) {
	.xxs-contact-info-bar {
		margin-bottom: 28px;
	}

	.xxs-contact-info-bar__item {
		flex: 1 1 100%;
		border-right: none;
		padding: 22px 20px;
	}

	.xxs-contact-info-bar__item:last-child {
		border-bottom: none;
	}

	.xxs-contact-form-wrap .contact-us-submit input[type="submit"] {
		width: 100%;
		min-width: 0;
	}
}

/* Form error */
.xxs-contact-form__err {
	display: none;
	margin-bottom: 18px;
	padding: 10px 12px;
	border-radius: 3px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #b91c1c;
	font-size: 14px;
	line-height: 1.45;
	text-align: center;
}

.xxs-contact-form__err.is-visible {
	display: block;
}

/* Success message */
.xxs-contact-success {
	padding: 10px 0 20px;
	font-size: 15px;
	line-height: 1.65;
	color: #555;
}

.xxs-contact-success p {
	margin: 0 0 14px;
}

.xxs-contact-success a {
	color: #6c98e1;
	font-weight: 600;
	text-decoration: none;
}

.xxs-contact-success a:hover {
	text-decoration: underline;
}

.xxs-contact-success__schedule {
	display: inline;
	margin: 0;
	padding: 0;
	border: none;
	background: none;
	color: #6c98e1;
	font-size: inherit;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	text-decoration: underline;
}

.xxs-contact-success__schedule:hover {
	color: #5a87d0;
}

@media (max-width: 991px) {
	.xxs-contact-schedule-feature {
		margin-bottom: 28px;
	}

	.xxs-contact-schedule-feature__visual {
		display: none;
	}

	.xxs-contact-schedule-feature__btn {
		max-width: none;
	}
}

.xxs-contact-schedule-feature__btn:hover,
.xxs-contact-schedule-feature__btn:focus,
.xxs-contact-schedule-feature__btn:active {
	color: #fff !important;
}
