/*
 Theme Name:     WAPD Child Theme
 Theme URI:      http://www.kriesi.at
 Description:    Web and Print Design Child Theme — South West Tree Services
 Author:         Web and Print Design
 Author URI:     https://webandprint.design
 Template:       enfold
 Version:        1.0.0
*/

@import url("../enfold/style.css");

/* =Theme customization starts here*/

/* Fix Enfold animated images stuck at opacity:0 when animation JS does not fire */
.avia_transform .avia_animated_image,
.avia_transform.js_active .avia_animated_image {
	opacity: 1 !important;
}

:root {
	--swts-green: #4a7c3a;
	--swts-green-light: #6fa05a;
	--swts-copper: #c45c28;
	--swts-dark: #1a2418;
	--swts-dark-2: #243022;
	--swts-text: #1f2a1c;
	--swts-muted: #6b7568;
	--swts-cream: #f3f6f1;
	--swts-border: #d5ddd0;
}

body {
	font-family: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
	color: var(--swts-text);
}

h1, h2, h3, h4, h5, h6,
.swts-heading,
.av-special-heading .av-special-heading-tag,
strong.av-special-heading-tag {
	font-family: Outfit, "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--swts-text);
}

.swts-heading {
	margin: 0 0 0.65em;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: -0.01em;
}

h1.swts-heading {
	font-size: clamp(1.85rem, 4vw, 2.75rem);
}

h2.swts-heading {
	font-size: clamp(1.45rem, 3vw, 2rem);
}

h3.swts-heading {
	font-size: clamp(1.15rem, 2.2vw, 1.4rem);
}

.swts-home-hero h1.swts-heading {
	margin-bottom: 0.4em;
}

/* Header */
#header .avia-menu-fx,
#header .av-main-nav > li > a:hover,
#header .av-main-nav > li > a:focus {
	color: var(--swts-green-light);
}

#header .phone-info a,
#header .social_bookmarks a {
	color: #e8ebe6 !important;
}

#header .phone-info a:hover,
#header .social_bookmarks a:hover {
	color: #ffffff !important;
}

#header .logo img {
	max-height: 72px;
	width: auto;
}

/* Buttons */
.avia-button,
input[type="submit"],
#top .avia-button {
	border-radius: 2px !important;
	font-family: Outfit, "Source Sans 3", sans-serif;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: none;
}

#top .avia-button.avia-color-custom {
	box-shadow: none;
}

#top .avia-button:hover,
#top .avia-button:focus {
	filter: brightness(1.05);
}

/* Service grid spacing */
.swts-services-grid .flex_column {
	margin-bottom: 28px;
}

.swts-services-grid .av-special-heading-tag,
.swts-services-grid h3 {
	margin-top: 14px;
	margin-bottom: 6px;
}

.swts-services-grid .avia-image-container img {
	border-radius: 2px;
}

/* CTA band */
.swts-cta-band .av-special-heading-tag {
	color: #ffffff !important;
}

.swts-cta-band .avia-button {
	margin: 6px 8px;
}

/* Contact */
.swts-contact-details {
	list-style: none;
	padding: 0;
	margin: 1.5em 0;
}

.swts-contact-details li {
	margin-bottom: 0.75em;
	font-size: 1.05em;
}

.swts-related {
	columns: 2;
	column-gap: 2rem;
	padding-left: 1.2em;
}

@media (max-width: 767px) {
	.swts-related {
		columns: 1;
	}

	#header .logo img {
		max-height: 56px;
	}

	.swts-home-hero .av-special-heading-tag {
		font-size: 1.85rem !important;
		line-height: 1.2 !important;
	}

	#top .avia-button {
		display: inline-block;
		margin: 6px 4px;
		min-height: 44px;
		padding-left: 1.25em;
		padding-right: 1.25em;
	}
}

/* Footer */
#footer a {
	color: #d5ddd0;
}

#footer a:hover,
#footer a:focus {
	color: #ffffff;
}

.swts-footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.swts-footer-links li {
	margin-bottom: 0.45em;
}

.swts-footer-cta {
	display: inline-block;
	margin-top: 0.5em;
	padding: 0.55em 1.1em;
	background: var(--swts-copper);
	color: #fff !important;
	text-decoration: none !important;
	border-radius: 2px;
	font-weight: 600;
}

.swts-footer-cta:hover,
.swts-footer-cta:focus {
	filter: brightness(1.08);
	color: #fff !important;
}

/* Forms */
.avia_ajax_form label {
	font-weight: 600;
	color: var(--swts-text);
}

.avia_ajax_form input[type="text"],
.avia_ajax_form input[type="email"],
.avia_ajax_form textarea,
.avia_ajax_form select {
	border: 1px solid var(--swts-border);
	border-radius: 2px;
}

.avia_ajax_form input:focus,
.avia_ajax_form textarea:focus {
	border-color: var(--swts-green);
	outline: 2px solid rgba(74, 124, 58, 0.25);
}

/* Mobile sticky call bar */
.swts-mobile-cta {
	display: none;
}

@media (max-width: 989px) {
	.swts-mobile-cta {
		display: flex;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 1000;
		background: var(--swts-dark);
		box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.22);
	}

	.swts-mobile-cta a {
		flex: 1;
		text-align: center;
		padding: 14px 8px;
		color: #fff !important;
		text-decoration: none !important;
		font-family: Outfit, sans-serif;
		font-weight: 600;
		font-size: 0.95rem;
		min-height: 48px;
	}

	.swts-mobile-cta a.swts-call {
		background: var(--swts-green);
	}

	.swts-mobile-cta a.swts-quote {
		background: var(--swts-copper);
	}

	body {
		padding-bottom: 56px;
	}
}

/* Focus visibility */
a:focus,
button:focus,
.avia-button:focus,
input:focus,
textarea:focus,
select:focus {
	outline: 2px solid var(--swts-copper);
	outline-offset: 2px;
}

/* Blog grid */
.swts-blog-grid .slide-entry {
	margin-bottom: 24px;
}

/* FAQ accordion */
.swts-faqs {
	margin: 1rem 0 2rem;
}

.swts-faq {
	border-bottom: 1px solid var(--swts-border);
	padding: 0.35rem 0;
}

.swts-faq summary {
	cursor: pointer;
	font-family: Outfit, "Source Sans 3", sans-serif;
	font-weight: 600;
	font-size: 1.05rem;
	padding: 0.85rem 0.25rem;
	list-style: none;
	color: var(--swts-text);
}

.swts-faq summary::-webkit-details-marker {
	display: none;
}

.swts-faq summary::before {
	content: "+";
	display: inline-block;
	width: 1.25em;
	color: var(--swts-green);
	font-weight: 700;
}

.swts-faq[open] summary::before {
	content: "–";
}

.swts-faq-answer {
	padding: 0 0.25rem 1rem 1.5rem;
	color: var(--swts-muted);
}

.swts-enquiry-form label {
	font-weight: 600;
}
