/*
Theme Name: Handyman Services Child Theme
Theme URI: https://handyman-services.ancorathemes.com/
Description: Handyman Services is a Premium WordPress theme that has built-in support for popular Page Builders, slider with swipe gestures, and is SEO- and Retina-ready. The unique system of inheritance and override options allows setting up individual parameters for different sections of your site and supported plugins.
Author: AncoraThemes
Author URI: https://ancorathemes.com/
Version: 2.14.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: windows, doors, kitchen cabinets, renovation, remodeling, construction, replacement, diy, handyman, craftsman, makeover, hardware, shop, manufacture, interior design
Text Domain: handyman-services
Template: handyman-services
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */

:root {
	--ri-font-heading: "Manrope", sans-serif;
	--ri-font-body: "Inter", sans-serif;
	--ri-color-ink: #132432;
	--ri-color-text: #44515f;
	--ri-color-soft: #6f7d8c;
	--ri-color-border: #d7dee6;
	--ri-color-surface: #ffffff;
	--ri-color-surface-alt: #f4f7fa;
	--ri-color-accent: #a85e35;
	--ri-color-accent-dark: #8d4d29;
	--ri-color-shadow: rgba(17, 31, 44, 0.08);
}

body,
	input,
	textarea,
	select,
	button {
	font-family: var(--ri-font-body);
	font-weight: 400;
	line-height: 1.65;
	color: var(--ri-color-text);
}

h1,
h2 {
	font-family: var(--ri-font-heading);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.08;
	color: var(--ri-color-ink);
}

h3,
h4,
h5,
h6 {
	font-family: var(--ri-font-heading);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.18;
	color: var(--ri-color-ink);
}

.post_meta,
.post_meta *,
.breadcrumbs,
.breadcrumbs a,
.widget .post_info,
.widget .post_info a,
.comment_posted,
.comment_posted a,
.sc_item_subtitle,
.sc_item_descr,
.page_caption .breadcrumbs,
.page_caption .breadcrumbs_item,
.page_caption .breadcrumbs_delimiter,
.page_description,
.post_info,
.author_info .author_subtitle {
	font-family: var(--ri-font-body);
	font-weight: 500;
	color: var(--ri-color-soft);
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.theme_button,
a.theme_button,
.sc_button,
a.sc_button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.ri-button {
	font-family: var(--ri-font-body);
	font-weight: 600;
	letter-spacing: 0.01em;
}

.logo_text,
.logo_slogan {
	font-family: var(--ri-font-heading);
}

.logo_slogan {
	font-weight: 600;
}

.socials_mobile {
	display: none !important;
}

/* Desktop header: logo + menu inline, both centered as a group */
@media (min-width: 1025px) {
	.top_panel .elementor-element-3c6bfb7 > .elementor-container {
		position: relative;
	}

	.top_panel .elementor-element-3c6bfb7 .elementor-element-64b5870 {
		width: 100% !important;
		flex: 0 0 100% !important;
		max-width: 100% !important;
	}

	.top_panel .elementor-element-3c6bfb7 .elementor-element-64b5870 > .elementor-widget-wrap {
		flex-direction: row !important;
		justify-content: center !important;
		align-items: center !important;
		gap: 1.75rem;
	}

	.top_panel .elementor-element-3c6bfb7 .elementor-element-64b5870 .elementor-widget-trx_sc_layouts_logo,
	.top_panel .elementor-element-3c6bfb7 .elementor-element-64b5870 .elementor-widget-trx_sc_layouts_menu {
		width: auto !important;
		max-width: none !important;
		margin: 0 !important;
	}

	.top_panel .elementor-element-3c6bfb7 .elementor-element-64b5870 .sc_layouts_logo {
		display: inline-flex !important;
		align-items: center;
		margin: 0 !important;
		line-height: 1;
	}

	.top_panel .elementor-element-3c6bfb7 .elementor-element-64b5870 .sc_layouts_logo img.logo_image {
		display: block;
		width: auto !important;
		height: 80px !important;
		max-height: 80px !important;
	}

	.top_panel .elementor-element-3c6bfb7 .elementor-element-64b5870 .sc_layouts_menu_nav {
		justify-content: center;
	}

	.top_panel .elementor-element-3c6bfb7 .elementor-element-63a544a {
		position: absolute;
		right: 20px;
		top: 50%;
		transform: translateY(-50%);
		width: auto !important;
		max-width: none !important;
		flex: 0 0 auto !important;
	}
}

/* Bigger logo on mobile */
@media (max-width: 1024px) {
	.top_panel .sc_layouts_logo img.logo_image,
	.top_panel img.logo_image,
	header img.logo_image,
	img.logo_image {
		width: 70px !important;
		height: auto !important;
		max-height: none !important;
	}

	.top_panel .sc_layouts_logo,
	.top_panel a.sc_layouts_logo {
		max-height: none !important;
		overflow: visible !important;
	}

	.top_panel .sc_layouts_item .elementor-widget-container {
		overflow: visible !important;
	}
}

/* Fix desktop header text bleeding through on mobile */
@media (max-width: 1024px) {
	.sc_layouts_hide_on_mobile,
	.sc_layouts_hide_on_tablet.sc_layouts_hide_on_mobile,
	.top_panel .elementor-element-3c6bfb7 {
		display: none !important;
		visibility: hidden !important;
		overflow: hidden !important;
		max-height: 0 !important;
		content-visibility: hidden !important;
	}
}

.ri-page {
	padding-block: clamp(0.75rem, 1vw, 1.5rem);
}

.ri-page .ri-section {
	margin: 0 0 1.75rem;
	padding: clamp(1.4rem, 2vw, 2.4rem);
	background: var(--ri-color-surface);
	border: 1px solid var(--ri-color-border);
	border-radius: 26px;
	box-shadow: 0 20px 50px var(--ri-color-shadow);
}

.ri-page .ri-section:last-child {
	margin-bottom: 0;
}

.ri-page .ri-section--hero {
	background:
		linear-gradient(135deg, rgba(168, 94, 53, 0.08) 0%, rgba(255, 255, 255, 0.98) 42%, rgba(19, 36, 50, 0.06) 100%),
		var(--ri-color-surface);
	border-color: rgba(168, 94, 53, 0.2);
}

.ri-page .ri-section--faq {
	background: var(--ri-color-surface-alt);
}

.ri-page h1,
.ri-page h2,
.ri-page h3 {
	margin-top: 0;
}

.ri-page p:last-child,
.ri-page ul:last-child,
.ri-page ol:last-child {
	margin-bottom: 0;
}

.ri-page ul {
	padding-left: 1.1rem;
}

.ri-page li + li {
	margin-top: 0.55rem;
}

.ri-kicker {
	margin-bottom: 0.75rem;
	font-size: 0.92rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ri-color-accent);
}

.ri-kicker--light {
	color: #f4cdb2;
}

.ri-highlight {
	margin-top: 1rem;
	font-weight: 500;
	color: var(--ri-color-ink);
}

.ri-section--intro-showcase {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at top left, rgba(168, 94, 53, 0.18), transparent 34%),
		linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 247, 250, 0.94) 100%);
	border-color: rgba(168, 94, 53, 0.16);
}

.ri-section--intro-showcase::before {
	content: "";
	position: absolute;
	inset: 0 auto auto 0;
	width: 180px;
	height: 180px;
	border-radius: 50%;
	background: rgba(168, 94, 53, 0.08);
	filter: blur(10px);
	transform: translate(-35%, -35%);
}

.ri-showcase {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
	gap: 1.35rem;
	align-items: stretch;
}

.ri-showcase__copy h2 {
	max-width: 13ch;
	margin-bottom: 0.85rem;
}

.ri-showcase__lead {
	max-width: 60ch;
	margin: 0;
	font-size: 1.06rem;
	line-height: 1.85;
}

.ri-showcase__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-top: 1.3rem;
}

.ri-showcase__chips span,
.ri-local-band__tags span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.6rem 0.9rem;
	border-radius: 999px;
	border: 1px solid rgba(19, 36, 50, 0.12);
	background: rgba(255, 255, 255, 0.85);
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--ri-color-ink);
}

.ri-showcase__facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.9rem;
	margin-top: 1.25rem;
}

.ri-fact {
	padding: 1rem 1.05rem;
	border-radius: 20px;
	border: 1px solid rgba(19, 36, 50, 0.1);
	background: rgba(255, 255, 255, 0.72);
	box-shadow: 0 16px 35px rgba(17, 31, 44, 0.05);
}

.ri-fact strong,
.ri-local-band__copy strong {
	display: block;
	font-family: var(--ri-font-heading);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--ri-color-ink);
}

.ri-fact span {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--ri-color-soft);
}

.ri-showcase__panel {
	position: relative;
	display: grid;
	gap: 1rem;
	padding: 1.45rem;
	border-radius: 30px;
	background: linear-gradient(160deg, #132432 0%, #1d3548 100%);
	box-shadow: 0 30px 60px rgba(12, 25, 36, 0.2);
	overflow: hidden;
}

.ri-showcase__panel::before,
.ri-section--why-premium::before {
	content: "";
	position: absolute;
	inset: auto -40px -55px auto;
	width: 180px;
	height: 180px;
	border-radius: 50%;
	background: rgba(168, 94, 53, 0.2);
	filter: blur(8px);
}

.ri-showcase__note {
	position: relative;
	z-index: 1;
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.ri-showcase__note-label {
	display: inline-flex;
	align-items: center;
	padding: 0.45rem 0.7rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: #f6d7c5;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ri-showcase__note p,
.ri-value-card p,
.ri-why-shell__lead,
.ri-why-card p,
.ri-local-band__copy p {
	margin-bottom: 0;
	color: rgba(255, 255, 255, 0.78);
}

.ri-showcase__note p {
	margin-top: 0.85rem;
	font-size: 1rem;
	line-height: 1.75;
}

.ri-value-grid,
.ri-why-grid {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 0.9rem;
}

.ri-value-card {
	position: relative;
	padding: 1rem 1rem 1rem 3.8rem;
	border-radius: 22px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.06);
}

.ri-value-card__index,
.ri-why-card__step {
	position: absolute;
	left: 1rem;
	top: 1rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 999px;
	background: rgba(168, 94, 53, 0.22);
	font-size: 0.8rem;
	font-weight: 700;
	color: #f9dcca;
}

.ri-value-card h3,
.ri-section--why-premium h2,
.ri-section--why-premium h3,
.ri-local-band__copy strong {
	color: #ffffff;
}

.ri-value-card h3,
.ri-why-card h3 {
	margin: 0 0 0.45rem;
}

.ri-section--why-premium {
	position: relative;
	overflow: hidden;
	background:
		linear-gradient(135deg, rgba(12, 24, 34, 0.98) 0%, rgba(22, 45, 61, 0.97) 58%, rgba(26, 52, 70, 0.98) 100%);
	border-color: transparent;
	box-shadow: 0 28px 60px rgba(10, 20, 30, 0.24);
}

.ri-why-shell {
	position: relative;
	z-index: 1;
}

.ri-why-shell__intro {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
	gap: 1.25rem;
	align-items: end;
}

.ri-why-shell__intro h2 {
	max-width: 14ch;
	margin-bottom: 0;
}

.ri-why-shell__lead {
	font-size: 1.02rem;
	line-height: 1.8;
}

.ri-why-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 1.5rem;
}

.ri-why-card {
	position: relative;
	padding: 1.25rem 1.2rem 1.2rem;
	border-radius: 24px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(10px);
}

.ri-why-card h3 {
	margin-top: 2.7rem;
	color: #ffffff;
}

.ri-local-band {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 1rem;
	align-items: center;
	margin-top: 1.35rem;
	padding: 1rem 1.1rem;
	border-radius: 24px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.06);
}

.ri-local-band__copy p {
	margin-top: 0.4rem;
}

.ri-local-band__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	justify-content: flex-end;
}

.ri-local-band__tags span {
	border-color: rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
}

.ri-cta-group,
.ri-related-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-top: 1.5rem;
}

.ri-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.95rem 1.3rem;
	border-radius: 999px;
	background: var(--ri-color-ink);
	border: 1px solid var(--ri-color-ink);
	color: #ffffff;
	text-decoration: none;
	transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ri-button:hover,
.ri-button:focus {
	background: var(--ri-color-accent-dark);
	border-color: var(--ri-color-accent-dark);
	color: #ffffff;
	transform: translateY(-1px);
}

.ri-button--secondary {
	background: transparent;
	color: var(--ri-color-ink);
	border-color: var(--ri-color-border);
}

.ri-button--secondary:hover,
.ri-button--secondary:focus {
	background: rgba(19, 36, 50, 0.05);
	border-color: var(--ri-color-ink);
	color: var(--ri-color-ink);
}

.ri-button--ghost {
	background: rgba(168, 94, 53, 0.08);
	color: var(--ri-color-accent-dark);
	border-color: rgba(168, 94, 53, 0.14);
}

.ri-button--ghost:hover,
.ri-button--ghost:focus {
	background: rgba(168, 94, 53, 0.14);
	border-color: rgba(168, 94, 53, 0.24);
	color: var(--ri-color-accent-dark);
}

.ri-faq-list {
	display: grid;
	gap: 0.9rem;
}

.ri-faq-item {
	border: 1px solid var(--ri-color-border);
	border-radius: 20px;
	background: #ffffff;
	overflow: hidden;
}

.ri-faq-item summary {
	cursor: pointer;
	list-style: none;
	padding: 1rem 1.15rem;
	font-family: var(--ri-font-heading);
	font-weight: 600;
	color: var(--ri-color-ink);
}

.ri-faq-item summary::-webkit-details-marker {
	display: none;
}

.ri-faq-answer {
	padding: 0 1.15rem 1rem;
}

.ri-contact-form-shell {
	background: linear-gradient(180deg, rgba(19, 36, 50, 0.04) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.ri-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.ri-form-field,
.ri-form-actions {
	margin: 0;
}

.ri-form-field--full,
.ri-form-actions,
.ri-form-consent {
	grid-column: 1 / -1;
}

.ri-form-field label {
	display: block;
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--ri-color-ink);
}

.ri-form-field input,
.ri-form-field textarea,
.ri-form-field select {
	width: 100%;
	margin-top: 0.45rem;
	padding: 0.95rem 1rem;
	border: 1px solid var(--ri-color-border);
	border-radius: 16px;
	background: #ffffff;
	font-family: var(--ri-font-body);
	font-size: 1rem;
	color: var(--ri-color-ink);
	box-shadow: none;
}

.ri-form-field textarea {
	min-height: 160px;
	resize: vertical;
}

.ri-form-consent {
	font-size: 0.92rem;
	color: var(--ri-color-soft);
}

.ri-form-consent input {
	margin-right: 0.45rem;
}

.ri-contact-form-shell .wpcf7-submit {
	min-width: 220px;
	padding: 0.95rem 1.4rem;
	border-radius: 999px;
	background: var(--ri-color-accent);
	border-color: var(--ri-color-accent);
	color: #ffffff;
}

.ri-contact-form-shell .wpcf7-submit:hover,
.ri-contact-form-shell .wpcf7-submit:focus {
	background: var(--ri-color-accent-dark);
	border-color: var(--ri-color-accent-dark);
}

.ri-contact-form-shell .wpcf7-spinner {
	display: none;
}

@media (max-width: 767px) {
	.ri-page .ri-section {
		border-radius: 22px;
		padding: 1.2rem;
	}

	.ri-showcase__facts,
	.ri-why-shell__intro,
	.ri-why-grid,
	.ri-local-band {
		grid-template-columns: 1fr;
	}

	.ri-showcase {
		grid-template-columns: 1fr;
	}

	.ri-showcase__copy h2,
	.ri-why-shell__intro h2 {
		max-width: none;
	}

	.ri-showcase__panel {
		padding: 1.2rem;
		border-radius: 24px;
	}

	.ri-value-card {
		padding-left: 3.5rem;
	}

	.ri-local-band__tags {
		justify-content: flex-start;
	}

	.ri-cta-group,
	.ri-related-links {
		flex-direction: column;
	}

	.ri-button {
		width: 100%;
	}

	.ri-form-grid {
		grid-template-columns: 1fr;
	}

	.ri-page h1 {
		font-size: 2.2rem;
	}

	.ri-page h2 {
		font-size: 1.65rem;
	}

	.ri-page h3 {
		font-size: 1.2rem;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.ri-showcase,
	.ri-why-shell__intro,
	.ri-local-band {
		grid-template-columns: 1fr;
	}

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

	.ri-local-band__tags {
		justify-content: flex-start;
	}
}
