.rp-hero-slider {
	overflow: hidden;
}

.rp-hero-slider .carousel-item {
	min-height: 100vh;
	overflow: hidden;
	position: relative;
}

.rp-hero-slider .carousel-item,
.rp-hero-slider .active.carousel-item-start,
.rp-hero-slider .active.carousel-item-end { transition-duration: var(--gs-slide-speed, 650ms); }

.rp-hero-slider .carousel-item > img.rp-hero-media,
.elementor .rp-hero-slider .carousel-item > img.rp-hero-media {
	display: block;
	height: 100% !important;
	inset: 0;
	max-height: none;
	max-width: none;
	min-height: 100%;
	object-fit: cover;
	object-position: center center;
	position: absolute;
	width: 100%;
}

.rp-hero-overlay {
	background:
		radial-gradient(circle at 78% 20%, rgba(201, 162, 74, 0.28), transparent 28%),
		linear-gradient(90deg, rgba(15, 18, 21, 0.88), rgba(15, 18, 21, 0.36));
	inset: 0;
	position: absolute;
	z-index: 1;
}

[dir="rtl"] .rp-hero-overlay {
	background: linear-gradient(270deg, rgba(20, 15, 12, 0.78), rgba(20, 15, 12, 0.18));
}

[dir="rtl"] .gs-contact-form,
[dir="rtl"] .rp-menu-card,
[dir="rtl"] .rp-branch-card {
	text-align: right;
}

.rp-hero-content {
	color: #fff;
	padding-bottom: 120px;
	padding-top: clamp(170px, 20vh, 240px);
	position: relative;
	z-index: 2;
}

.rp-hero-slider .carousel-item .rp-hero-badge,
.rp-hero-slider .carousel-item h1,
.rp-hero-slider .carousel-item .rp-hero-title,
.rp-hero-slider .carousel-item .rp-hero-content > p,
.rp-hero-slider .carousel-item .rp-hero-content > .d-flex {
	opacity: 0;
	transform: translateY(20px);
}

.rp-hero-slider .carousel-item.active .rp-hero-badge,
.rp-hero-slider .carousel-item.active h1,
.rp-hero-slider .carousel-item.active .rp-hero-title,
.rp-hero-slider .carousel-item.active .rp-hero-content > p,
.rp-hero-slider .carousel-item.active .rp-hero-content > .d-flex {
	animation: gs-hero-content-in 650ms ease forwards;
}

.rp-hero-slider .carousel-item.active h1,
.rp-hero-slider .carousel-item.active .rp-hero-title { animation-delay: 90ms; }
.rp-hero-slider .carousel-item.active .rp-hero-content > p { animation-delay: 170ms; }
.rp-hero-slider .carousel-item.active .rp-hero-content > .d-flex { animation-delay: 250ms; }

@keyframes gs-hero-content-in {
	to { opacity: 1; transform: none; }
}

.rp-hero-content h1,
.rp-hero-content .rp-hero-title {
	font-size: clamp(3rem, 7vw, 7rem);
	font-weight: 950;
	letter-spacing: 0;
	line-height: 0.96;
	max-width: 850px;
}

.rp-hero-badge {
	background: rgba(255,255,255,.12);
	border: 1px solid rgba(255,255,255,.24);
	border-radius: 999px;
	display: inline-flex;
	font-size: .78rem;
	font-weight: 900;
	letter-spacing: .12em;
	margin-bottom: 18px;
	padding: .62rem .9rem;
	text-transform: uppercase;
}

.rp-hero-floating-card {
	backdrop-filter: blur(18px);
	background: rgba(255,255,255,.12);
	border: 1px solid rgba(255,255,255,.24);
	border-radius: 22px;
	box-shadow: 0 22px 60px rgba(0,0,0,.22);
	display: grid;
	gap: 2px;
	padding: 16px 18px;
	position: absolute;
	right: 8%;
}

.rp-hero-floating-card strong {
	font-size: 1.45rem;
	line-height: 1;
}

.rp-hero-floating-card span {
	font-size: .82rem;
	opacity: .82;
}

.rp-card-rating {
	top: 38%;
}

.rp-card-branches {
	bottom: 18%;
	right: 18%;
}

.rp-hero-slider .carousel > .carousel-control-prev.rp-hero-control,
.rp-hero-slider .carousel > .carousel-control-next.rp-hero-control {
	align-items: center;
	bottom: auto !important;
	display: flex;
	height: 52px !important;
	justify-content: center;
	opacity: 1;
	position: absolute !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	width: 64px !important;
	z-index: 6;
}

.rp-hero-slider .carousel > .carousel-control-prev.rp-hero-control { left: 10px !important; right: auto !important; }
.rp-hero-slider .carousel > .carousel-control-next.rp-hero-control { left: auto !important; right: 10px !important; }

.rp-hero-control .carousel-control-prev-icon,
.rp-hero-control .carousel-control-next-icon {
	background-color: rgba(11, 11, 11, .48);
	background-size: 45%;
	border: 1px solid rgba(255, 255, 255, .36);
	border-radius: 50%;
	height: 46px;
	width: 46px;
}

.rp-hero-indicators {
	bottom: 24px;
	gap: 7px;
	z-index: 3;
}

.rp-hero-indicators [data-bs-target] {
	background-clip: border-box;
	border: 1px solid rgba(255, 255, 255, .55);
	border-radius: 999px;
	height: 8px;
	opacity: .72;
	transition: width 220ms ease, background-color 220ms ease;
	width: 28px;
}

.rp-hero-indicators .active {
	background-color: var(--rp-primary);
	border-color: var(--rp-primary);
	opacity: 1;
	width: 48px;
}

.rp-hero-pause {
	align-items: center;
	backdrop-filter: blur(12px);
	background: rgba(11, 11, 11, .48);
	border: 1px solid rgba(255, 255, 255, .36);
	border-radius: 50%;
	bottom: 22px;
	color: #fff;
	display: inline-flex;
	font-size: 1.15rem;
	height: 42px;
	justify-content: center;
	position: absolute;
	right: 24px;
	width: 42px;
	z-index: 4;
}

.rp-hero-pause:hover,
.rp-hero-pause:focus-visible {
	background: var(--rp-primary);
	color: #0b0b0b;
}

.rp-hero-content p:not(.rp-eyebrow) {
	font-size: 1.2rem;
	max-width: 640px;
	opacity: 0.9;
}

.rp-btn-outline {
	border: 1px solid var(--rp-border);
	border-radius: 999px;
	color: var(--rp-button-text, var(--rp-text));
	font-weight: 800;
	padding: 0.82rem 1.35rem;
}

.rp-hero-content .rp-btn-outline {
	border-color: rgba(255, 255, 255, 0.42);
	color: #fff;
}

.rp-section-head {
	margin-bottom: 34px;
	max-width: 720px;
}

.rp-menu-card,
.rp-branch-card,
.rp-feature-card,
.rp-testimonial-card,
.gs-contact-form,
.rp-cta-box {
	background: var(--rp-surface);
	border: 1px solid var(--rp-border);
	border-radius: 22px;
	box-shadow: var(--rp-shadow);
	overflow: hidden;
	transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.rp-menu-card:hover,
.rp-branch-card:hover,
.rp-feature-card:hover,
.rp-testimonial-card:hover {
	border-color: color-mix(in srgb, var(--rp-primary) 34%, var(--rp-border));
	transform: translateY(-5px);
}

.rp-menu-img,
.rp-menu-placeholder,
.rp-branch-img,
.rp-branch-placeholder {
	aspect-ratio: 16 / 11;
	background: linear-gradient(135deg, var(--rp-surface-soft), color-mix(in srgb, var(--rp-primary) 24%, var(--rp-surface)));
	display: block;
	object-fit: cover;
	width: 100%;
}

.rp-menu-img {
	filter: saturate(1.04) contrast(1.02);
}

.rp-menu-body,
.rp-branch-body {
	padding: 22px;
}

.rp-menu-body h3,
.rp-branch-body h3,
.rp-feature-card h3 {
	color: var(--rp-card-title, var(--rp-heading-text));
	font-size: 1.25rem;
	font-weight: 900;
}

.rp-menu-body h3 a,
.rp-branch-body h3 a {
	color: inherit;
}

.rp-menu-body p,
.rp-branch-body p,
.rp-testimonial-card p {
	color: var(--rp-card-description, var(--rp-muted));
}

.rp-price {
	color: var(--rp-primary);
	font-size: 1.15rem;
	white-space: nowrap;
}

.rp-menu-category {
	color: var(--rp-primary);
	font-size: .76rem;
	font-weight: 900;
	letter-spacing: .12em;
	margin-bottom: .55rem;
	text-transform: uppercase;
}

.rp-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.rp-badges span,
.rp-filter-bar button {
	background: var(--rp-surface-soft);
	border: 1px solid var(--rp-border);
	border-radius: 999px;
	color: var(--rp-menu-text, var(--rp-text));
	font-size: 0.85rem;
	font-weight: 800;
	padding: 0.42rem 0.75rem;
}

.rp-filter-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin-bottom: 28px;
}

.rp-filter-bar button.active {
	background: var(--rp-primary);
	color: #fff;
}

.rp-feature-card,
.rp-testimonial-card {
	height: 100%;
	padding: 28px;
}

.rp-feature-card span {
	color: var(--rp-primary);
	display: block;
	font-size: 0.85rem;
	font-weight: 900;
	margin-bottom: 34px;
}

.rp-rating {
	color: var(--rp-accent);
	font-weight: 900;
	margin-bottom: 12px;
}

.gs-contact-form {
	margin-inline: auto;
	max-width: 920px;
	padding: clamp(20px, 3vw, 32px);
	width: 100%;
}

.gs-contact-form label {
	color: var(--rp-card-description, var(--rp-muted));
	display: grid;
	font-size: 0.85rem;
	font-weight: 800;
	gap: 0.45rem;
	width: 100%;
}

.gs-contact-form input,
.gs-contact-form select,
.gs-contact-form textarea {
	background: var(--rp-bg);
	border: 1px solid var(--rp-border);
	border-radius: 14px;
	color: var(--rp-body-text, var(--rp-text));
	font-size: 1rem;
	min-height: 50px;
	padding: 0.65rem 0.9rem;
	width: 100%;
}

.gs-contact-form button[type="submit"] {
	align-items: center;
	display: inline-flex;
	gap: 0.6rem;
}

.gs-contact-form input[type="submit"],
.gs-contact-form button[type="submit"] {
	background: linear-gradient(135deg, var(--rp-accent), var(--rp-primary));
	border: 0;
	border-radius: 999px;
	color: var(--rp-button-text);
	cursor: pointer;
	font-weight: 850;
	min-height: 50px;
	padding: 0.7rem 1.5rem;
	width: auto;
}

.gs-cf7-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gs-cf7-grid > p {
	display: contents;
}

.gs-cf7-grid p,
.gs-cf7-grid label {
	margin: 0;
	min-width: 0;
}

.gs-cf7-grid > br { display: none; }

.gs-cf7-grid .gs-cf7-full {
	grid-column: 1 / -1;
}

.gs-cf7-grid label {
	display: grid;
	gap: 7px;
}

.gs-cf7-grid .wpcf7-form-control-wrap {
	display: block;
}

.gs-cf7-grid input:not([type="checkbox"]),
.gs-cf7-grid select,
.gs-cf7-grid textarea {
	font: inherit;
}

.gs-cf7-grid textarea {
	height: 150px;
	max-height: 320px;
	min-height: 132px;
	resize: vertical;
}

.gs-cf7-grid input[type="checkbox"] {
	height: 20px;
	margin-inline-end: 8px;
	min-height: 0;
	padding: 0;
	width: 20px;
}

.gs-cf7-grid .wpcf7-acceptance label {
	align-items: flex-start;
	display: flex;
	font-weight: 600;
	gap: 8px;
}

.wpcf7-not-valid-tip {
	color: #a61b1b;
	font-size: .82rem;
	margin-top: 5px;
}

.wpcf7 form .wpcf7-response-output {
	border: 0;
	border-radius: 12px;
	margin: 18px 0 0;
	padding: 12px 14px;
}

.wpcf7 form.sent .wpcf7-response-output {
	background: #e8f6ed;
	color: #17643a;
}

.gs-cf7-notice {
	line-height: 1.6;
}

.rp-submit-loader {
	border: 2px solid rgba(255, 255, 255, 0.42);
	border-top-color: #fff;
	border-radius: 999px;
	display: none;
	height: 16px;
	width: 16px;
	animation: rpSpin 700ms linear infinite;
}

.gs-contact-form button.is-loading .rp-submit-loader {
	display: inline-block;
}

@keyframes rpSpin {
	to {
		transform: rotate(360deg);
	}
}

.rp-form-message {
	border-radius: 14px;
	margin-bottom: 14px;
	padding: 0;
}

.rp-form-message.is-success,
.rp-form-message.is-error {
	padding: 0.85rem 1rem;
}

.rp-form-message.is-success {
	background: rgba(33, 160, 92, 0.12);
	color: #187445;
}

.rp-form-message.is-error {
	background: rgba(200, 40, 40, 0.12);
	color: #b52020;
}

.rp-cta-box {
	background:
		linear-gradient(135deg, rgba(15, 18, 21, 0.82), rgba(15, 18, 21, 0.52)),
		url("../images/demo/hotel-cleaning.webp") center/cover;
	color: #fff;
	padding: clamp(42px, 8vw, 90px);
}

.rp-cta-box h2 {
	font-size: clamp(2rem, 5vw, 4.8rem);
	font-weight: 950;
	max-width: 760px;
}

@media (max-width: 767.98px) {
	.gs-cf7-grid {
		grid-template-columns: 1fr;
	}

	.gs-cf7-grid .gs-cf7-full {
		grid-column: auto;
	}
	.rp-hero-slider .carousel-item {
		height: 100svh;
		min-height: 620px;
	}

	.rp-hero-slider .carousel-item > img.rp-hero-media,
	.elementor .rp-hero-slider .carousel-item > img.rp-hero-media {
		height: max(100svh, 620px) !important;
		min-height: max(100svh, 620px);
		object-fit: cover;
		object-position: center center;
	}

	.rp-hero-content {
		padding-top: 150px;
	}

	.rp-hero-floating-card {
		display: none;
	}

	.rp-hero-slider .carousel > .carousel-control-prev.rp-hero-control,
	.rp-hero-slider .carousel > .carousel-control-next.rp-hero-control {
		display: flex;
		height: 46px !important;
		top: 50% !important;
		transform: translateY(-50%) !important;
		width: 50px !important;
	}

	.rp-hero-indicators {
		bottom: 14px;
	}

	.rp-hero-pause {
		bottom: 12px;
		right: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rp-hero-slider .carousel-item .rp-hero-badge,
	.rp-hero-slider .carousel-item h1,
	.rp-hero-slider .carousel-item .rp-hero-title,
	.rp-hero-slider .carousel-item .rp-hero-content > p,
	.rp-hero-slider .carousel-item .rp-hero-content > .d-flex {
		animation: none;
		opacity: 1;
		transform: none;
	}
}

.gs-icon-card,
.gs-guarantee-item,
.gs-service-sidebar,
.gs-empty-state,
.gs-area-pill,
.gs-faq-section .accordion-item {
	background: var(--rp-surface);
	border: 1px solid var(--rp-border);
	border-radius: 22px;
	color: var(--rp-body-text);
}

.gs-icon-card,
.gs-guarantee-item { height: 100%; padding: 28px; }
.gs-icon-card > i,
.gs-guarantee-item > i { color: var(--rp-primary); display: inline-block; font-size: 1.8rem; margin-bottom: 14px; }
.gs-icon-card h3,
.gs-guarantee-item h3 { color: var(--rp-card-title); }
.gs-icon-card p,
.gs-guarantee-item p { color: var(--rp-card-description); }
.rp-about-visual > img { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
.gs-area-pill { align-items: center; display: flex; font-weight: 800; gap: 10px; min-height: 58px; padding: 14px 18px; }
.gs-area-pill i { color: var(--rp-primary); }
.gs-contact-list { display: grid; gap: 14px; list-style: none; margin: 28px 0 0; padding: 0; }
.gs-contact-list li { align-items: flex-start; display: flex; gap: 12px; }
.gs-contact-list i { color: var(--rp-primary); }
.gs-faq-section .accordion { display: grid; gap: 12px; }
.gs-faq-section .accordion-item { overflow: hidden; }
.gs-faq-section .accordion-button,
.gs-faq-section .accordion-button:not(.collapsed) { background: var(--rp-surface); box-shadow: none; color: var(--rp-heading-text); font-weight: 850; min-height: 58px; }
.gs-faq-section .accordion-button:focus-visible { box-shadow: inset 0 0 0 3px var(--rp-primary); }
.gs-faq-section .accordion-body { background: var(--rp-surface); color: var(--rp-body-text); }

.gs-breadcrumbs { align-items: center; color: rgba(255,255,255,.82); display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; }
.gs-breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
.gs-service-lead { font-size: clamp(1.05rem,2vw,1.3rem); max-width: 760px; }
.gs-service-image { border-radius: 28px; margin: 0 0 28px; overflow: hidden; }
.gs-service-image img { display: block; max-height: 620px; object-fit: cover; width: 100%; }
.gs-service-features { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.gs-service-features span { align-items: center; display: inline-flex; gap: 6px; }
.gs-service-content { font-size: 1.05rem; line-height: 1.8; }
.gs-service-sidebar { padding: 28px; position: sticky; top: 130px; }
.gs-service-sidebar h2 { font-size: 1.4rem; }
.gs-service-sidebar ul { display: grid; gap: 12px; margin: 22px 0; padding-left: 20px; }
.gs-archive-filters { display: flex; gap: 10px; margin-bottom: 34px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: thin; }
.gs-archive-filters a { background: var(--rp-surface); border: 1px solid var(--rp-border); border-radius: 999px; flex: 0 0 auto; font-weight: 800; min-height: 44px; padding: 10px 16px; }
.gs-archive-filters a.active,
.gs-archive-filters a:hover { background: var(--rp-primary); color: var(--rp-button-text); }
.gs-empty-state { margin: 0 auto; max-width: 720px; padding: 46px; text-align: center; }
.gs-empty-state > i { color: var(--rp-primary); font-size: 2.5rem; }
.rp-pagination .nav-links { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.rp-pagination .page-numbers { align-items: center; background: var(--rp-surface); border: 1px solid var(--rp-border); border-radius: 12px; display: inline-flex; justify-content: center; min-height: 44px; min-width: 44px; padding: 8px 12px; }
.rp-pagination .page-numbers.current { background: var(--rp-primary); color: var(--rp-button-text); }

@media (max-width: 991.98px) {
	.gs-service-sidebar { position: static; }
}

@media (max-width: 767.98px) {
	.gs-empty-state { padding: 30px 20px; }
	.gs-archive-filters { margin-left: -12px; margin-right: -12px; padding-left: 12px; padding-right: 12px; }
	.rp-hero-slider .carousel > .carousel-control-prev.rp-hero-control,
	.rp-hero-slider .carousel > .carousel-control-next.rp-hero-control { bottom: auto !important; display: flex; height: 46px !important; top: 50% !important; transform: translateY(-50%) !important; width: 50px !important; }
}

/* Standalone Hero engine: independent from Bootstrap Carousel. */
.gs-hero-slider,
.gs-hero-shell,
.gs-hero-stage { min-height: 100svh; position: relative; }
.gs-hero-shell { background: #101316; overflow: hidden; }
.gs-hero-stage { height: max(100svh, 620px); }
.gs-hero-slide {
	height: 100%;
	inset: 0;
	opacity: 0;
	overflow: hidden;
	pointer-events: none;
	position: absolute;
	transition: opacity var(--gs-slide-speed, 650ms) ease, visibility 0s linear var(--gs-slide-speed, 650ms);
	visibility: hidden;
}
.gs-hero-slide.is-active { opacity: 1; pointer-events: auto; transition-delay: 0s; visibility: visible; z-index: 1; }
.gs-hero-slide > img.rp-hero-media,
.elementor .gs-hero-slide > img.rp-hero-media {
	display: block;
	height: 100% !important;
	inset: 0;
	max-height: none;
	max-width: none;
	object-fit: cover;
	object-position: center center;
	position: absolute;
	width: 100%;
}
.gs-hero-arrow {
	align-items: center;
	backdrop-filter: blur(12px);
	background: rgba(11, 11, 11, .48);
	border: 1px solid rgba(255,255,255,.38);
	border-radius: 50%;
	color: #fff;
	display: flex;
	font-size: 1.25rem;
	height: 48px;
	justify-content: center;
	padding: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 48px;
	z-index: 12;
}
.gs-hero-prev { left: 16px; }
.gs-hero-next { right: 16px; }
.gs-hero-arrow:hover,
.gs-hero-arrow:focus-visible { background: var(--rp-primary); color: #101316; outline: 3px solid rgba(255,255,255,.62); outline-offset: 2px; }
.gs-hero-dots {
	align-items: center;
	display: flex;
	gap: 8px;
	justify-content: center;
	left: 50%;
	margin: 0;
	padding: 0;
	position: absolute;
	transform: translateX(-50%);
	width: auto;
	z-index: 12;
}
.gs-hero-dots [data-gs-slide-to] {
	background: rgba(255,255,255,.58);
	border: 1px solid rgba(255,255,255,.72);
	border-radius: 999px;
	height: 10px;
	margin: 0;
	min-height: 10px;
	min-width: 30px;
	opacity: 1;
	padding: 0;
	transition: width 200ms ease, background-color 200ms ease;
	width: 30px;
}
.gs-hero-dots [data-gs-slide-to].is-active { background: var(--rp-primary); border-color: var(--rp-primary); width: 48px; }
.rp-menu-image-link { display: block; overflow: hidden; }
.rp-menu-card .rp-menu-img { transition: transform 300ms ease; }
.rp-menu-card:hover .rp-menu-img { transform: scale(1.035); }
.rp-menu-body h3 a { color: inherit; text-decoration: none; }
.rp-menu-body h3 a:focus-visible,
.rp-service-link:focus-visible { outline: 3px solid var(--rp-primary); outline-offset: 3px; }
.rp-service-link { align-items: center; color: var(--rp-primary); display: inline-flex; font-weight: 850; gap: 7px; margin-top: 18px; text-decoration: none; }
.rp-service-link:hover i { transform: translateX(4px); }
.rp-service-link i { transition: transform 180ms ease; }

@media (max-width: 767.98px) {
	.gs-hero-slider,
	.gs-hero-shell,
	.gs-hero-stage,
	.gs-hero-slide { min-height: 620px; }
	.gs-hero-stage { height: max(100svh, 620px); }
	.gs-hero-slide > img.rp-hero-media,
	.elementor .gs-hero-slide > img.rp-hero-media { height: 100% !important; object-position: center center; }
	.gs-hero-arrow { height: 44px; top: 52%; width: 44px; }
	.gs-hero-prev { left: 8px; }
	.gs-hero-next { right: 8px; }
	.gs-hero-dots { bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
	.gs-hero-slide,
	.gs-hero-dots [data-gs-slide-to],
	.rp-menu-card .rp-menu-img,
	.rp-service-link i { transition: none !important; }
}


/* ==================================================
   Compact quotation form
   ================================================== */

.gs-contact-form .gs-quote-form {
	--bs-gutter-x: 14px;
	--bs-gutter-y: 13px;
	align-items: flex-start;
}

.gs-contact-form .gs-quote-form label {
	display: grid;
	font-size: 0.82rem;
	font-weight: 750;
	gap: 5px;
	line-height: 1.4;
	margin: 0;
	width: 100%;
}

/* Text, email, phone, date and number fields */
.gs-contact-form .gs-quote-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.gs-contact-form .gs-quote-form select,
.gs-contact-form .gs-quote-form textarea {
	background: var(--rp-bg);
	border: 1px solid var(--rp-border);
	border-radius: 10px;
	box-shadow: none;
	box-sizing: border-box;
	color: var(--rp-body-text, var(--rp-text));
	font-size: 0.94rem !important;
	line-height: 1.4;
	margin: 0;
	max-width: 100%;
	width: 100% !important;
}

/* Normal fields */
.gs-contact-form .gs-quote-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.gs-contact-form .gs-quote-form select {
	height: 44px !important;
	min-height: 44px !important;
	padding: 0.45rem 0.75rem !important;
}

/* Keep space for the select arrow */
.gs-contact-form .gs-quote-form select {
	padding-inline-end: 2.25rem !important;
}

/* Message field */
.gs-contact-form .gs-quote-form textarea {
	height: 118px !important;
	max-height: 260px;
	min-height: 110px !important;
	padding: 0.65rem 0.75rem !important;
	resize: vertical;
}

/* Focus */
.gs-contact-form .gs-quote-form input:focus,
.gs-contact-form .gs-quote-form select:focus,
.gs-contact-form .gs-quote-form textarea:focus {
	border-color: var(--rp-primary);
	box-shadow: 0 0 0 3px color-mix(
		in srgb,
		var(--rp-primary) 18%,
		transparent
	);
	outline: 0;
}

/* ==================================================
   Extra-services checkboxes
   ================================================== */

.gs-contact-form .gs-cf7-extras-group {
	background: color-mix(
		in srgb,
		var(--rp-surface, var(--rp-bg)) 94%,
		var(--rp-primary) 6%
	);
	border: 1px solid var(--rp-border);
	border-radius: 12px;
	margin: 0;
	padding: 12px 14px 14px;
	width: 100%;
}

.gs-contact-form .gs-cf7-extras-group legend {
	color: var(--rp-card-description, var(--rp-muted));
	float: none;
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1.4;
	margin: 0 0 9px;
	padding: 0 5px;
	width: auto;
}

.gs-contact-form .gs-cf7-extras {
	display: grid;
	gap: 9px 14px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	width: 100%;
}

.gs-contact-form .gs-cf7-extras .wpcf7-list-item,
.gs-contact-form .wpcf7-acceptance .wpcf7-list-item {
	display: block;
	margin: 0 !important;
	min-width: 0;
}

/* Checkbox label */
.gs-contact-form .gs-cf7-extras .wpcf7-list-item label,
.gs-contact-form .wpcf7-acceptance .wpcf7-list-item label {
	align-items: flex-start;
	cursor: pointer;
	display: flex !important;
	font-size: 0.86rem;
	font-weight: 600;
	gap: 8px;
	line-height: 1.45;
	margin: 0;
	width: 100%;
}

/* Restore the checkbox to a small normal size */
.gs-contact-form .gs-quote-form input[type="checkbox"],
.gs-contact-form .gs-quote-form input[type="radio"] {
	accent-color: var(--rp-primary);
	appearance: auto;
	-webkit-appearance: auto;
	border-radius: 3px;
	box-shadow: none;
	flex: 0 0 17px;
	height: 17px !important;
	margin: 2px 0 0 !important;
	max-height: 17px !important;
	max-width: 17px !important;
	min-height: 17px !important;
	min-width: 17px !important;
	padding: 0 !important;
	width: 17px !important;
}

/* Checkbox text */
.gs-contact-form .gs-cf7-extras .wpcf7-list-item-label,
.gs-contact-form .wpcf7-acceptance .wpcf7-list-item-label {
	flex: 1;
	min-width: 0;
}

/* Privacy acceptance */
.gs-contact-form .wpcf7-acceptance {
	display: block;
}

.gs-contact-form .wpcf7-acceptance .wpcf7-list-item {
	width: 100%;
}

/* ==================================================
   Submit button
   ================================================== */

.gs-contact-form .gs-quote-form input[type="submit"],
.gs-contact-form .gs-quote-form button[type="submit"] {
	border: 0;
	border-radius: 999px;
	font-size: 0.92rem !important;
	font-weight: 850;
	height: 46px !important;
	min-height: 46px !important;
	padding: 0.55rem 1.3rem !important;
	width: auto !important;
}

/* Validation message */
.gs-contact-form .gs-quote-form .wpcf7-not-valid-tip {
	font-size: 0.78rem;
	margin-top: 4px;
}

/* ==================================================
   Responsive layout
   ================================================== */

@media (max-width: 767.98px) {
	.gs-contact-form .gs-quote-form {
		--bs-gutter-x: 12px;
		--bs-gutter-y: 12px;
	}

	.gs-contact-form .gs-cf7-extras {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gs-contact-form .gs-quote-form textarea {
		height: 110px !important;
		min-height: 105px !important;
	}
}

@media (max-width: 479.98px) {
	.gs-contact-form {
		padding: 17px !important;
	}

	.gs-contact-form .gs-cf7-extras {
		grid-template-columns: 1fr;
	}

	.gs-contact-form .gs-cf7-extras-group {
		padding: 11px 12px 13px;
	}

	.gs-contact-form .gs-quote-form input[type="submit"],
	.gs-contact-form .gs-quote-form button[type="submit"] {
		width: 100% !important;
	}
}