/*
Theme Name:  Fyna Child Theme
Description: Child theme for the Fyna theme
Author:      ThemetechMount
Author URI:  https://www.themetechmount.com/
Template:    fyna
Version:     0.1
Tags:        light, white, two-columns, three-columns, four-columns, right-sidebar, left-sidebar, responsive, retina
*/


/* NOTE: Main theme's style.css file is already added in head tag. /*

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

/* Service pages: clearer typography + stronger visuals */
.single-tm_service .tm-service-single-content-wrapper-innerbox {
	padding: clamp(18px, 2.8vw, 42px);
	border-radius: 28px;
	background: transparent;
	box-shadow: none;
}

.single-tm_service #main,
.single-tm_service #main > .tm-bg-layer {
	background-color: transparent !important;
}

.single-tm_service .tm-service-description {
	color: #33414a;
	font-size: 18px;
	line-height: 1.85;
	letter-spacing: 0.01em;
}

.single-tm_service .tm-service-description .wpb_wrapper > p,
.single-tm_service .tm-service-description .wpb_text_column p,
.single-tm_service .tm-service-description li {
	font-size: 18px;
	line-height: 1.85;
	color: #33414a;
}

.single-tm_service .tm-service-description p {
	margin-bottom: 1.05rem;
	max-width: 72ch;
}

.single-tm_service .tm-service-description p[style*="text-align: center"] {
	max-width: 60ch;
	margin-left: auto;
	margin-right: auto;
}

.single-tm_service .tm-service-description h2 {
	margin: 0 0 22px;
	font-size: clamp(28px, 3.8vw, 50px);
	line-height: 1.08;
	letter-spacing: 0.08em;
	color: #20292f;
	text-wrap: balance;
}

.single-tm_service .tm-service-description h3 {
	margin: 30px 0 14px;
	font-size: clamp(22px, 2.4vw, 32px);
	line-height: 1.18;
	color: #20292f;
	text-wrap: balance;
}

.single-tm_service .tm-service-description strong {
	color: #1f2a30;
	font-weight: 600;
}

.single-tm_service .tm-service-description ul {
	margin: 0 0 1.5rem 1.25rem;
	padding: 0 0 0 1.05rem;
}

.single-tm_service .tm-service-description li {
	margin-bottom: 0.7rem;
	padding-left: 0.2rem;
}

.single-tm_service .tm-service-description img {
	border-radius: 22px;
	box-shadow: none;
}

.single-tm_service .tm-service-description .wpb_text_column {
	margin-top: clamp(18px, 2vw, 28px);
}

.single-tm_service .tm-service-description .tm-service-story-box .wpb_wrapper {
	padding: clamp(22px, 3vw, 36px);
	border-radius: 26px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 247, 242, 0.98)),
		linear-gradient(135deg, rgba(191, 148, 86, 0.08), rgba(255, 255, 255, 0));
	box-shadow: none;
	border: 1px solid rgba(191, 148, 86, 0.14);
}

.single-tm_service .tm-service-description .tm-service-story-box h3:first-child,
.single-tm_service .tm-service-description .tm-service-story-box p:first-child {
	margin-top: 0;
}

.single-tm_service .tm-service-description .tm-row.wpb_row {
	margin-bottom: clamp(18px, 3vw, 34px);
}

.single-tm_service .tm-service-description .wpb_single_image .vc_single_image-wrapper {
	display: block;
	overflow: hidden;
	border-radius: 26px;
	background: linear-gradient(180deg, rgba(191, 148, 86, 0.12), rgba(255, 255, 255, 0));
	box-shadow: none;
}

.single-tm_service .tm-service-description .wpb_single_image img {
	display: block;
	width: 100%;
	height: auto;
}

.single-tm_service .tm-service-description .wpb_text_column + .wpb_text_column {
	margin-top: 0;
}

.single-tm_service .tm-service-description .vc_custom_1712926162387,
.single-tm_service .tm-service-description form.wpcf7-form,
.single-tm_service .tm-service-description .tm-btn-class-contactform {
	display: none !important;
}

.tm-whatsapp-float {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 9999;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 18px;
	border-radius: 999px;
	background: linear-gradient(135deg, #25d366 0%, #1fa855 100%);
	color: #ffffff !important;
	font-family: "Poppins", Arial, Helvetica, sans-serif;
	font-weight: 600;
	font-size: 15px;
	line-height: 1;
	text-decoration: none !important;
	box-shadow: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.tm-whatsapp-float:hover,
.tm-whatsapp-float:focus {
	color: #ffffff !important;
	transform: translateY(-2px);
	box-shadow: none;
	filter: brightness(1.03);
}

.tm-whatsapp-float__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.16);
	font-size: 17px;
}

.tm-whatsapp-float__text {
	white-space: nowrap;
}

.tm-whatsapp-inline-cta {
	margin: 20px auto 0;
	padding: clamp(22px, 3vw, 34px);
	max-width: 860px;
	border-radius: 28px;
	background:
		radial-gradient(circle at top right, rgba(37, 211, 102, 0.16), transparent 34%),
		linear-gradient(180deg, #ffffff 0%, #f8fbf9 100%);
	border: 1px solid rgba(37, 211, 102, 0.18);
	box-shadow: none;
}

.tm-whatsapp-inline-cta h2 {
	margin-bottom: 10px;
}

.tm-whatsapp-inline-cta p {
	max-width: 62ch;
}

.tm-whatsapp-inline-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 22px;
	border-radius: 999px;
	background: #1fa855;
	color: #ffffff !important;
	text-decoration: none !important;
	font-weight: 600;
	box-shadow: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.tm-whatsapp-inline-button:hover,
.tm-whatsapp-inline-button:focus {
	transform: translateY(-1px);
	box-shadow: none;
	filter: brightness(1.03);
	color: #ffffff !important;
}

#masthead .tm-menu-offer-item {
	margin-left: 12px;
}

#masthead .tm-menu-offer-item > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px !important;
	border-radius: 999px;
	background: linear-gradient(135deg, #8f6230 0%, #bf9456 45%, #dfc08f 100%);
	color: #ffffff !important;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	border: 2px solid rgba(255, 255, 255, 0.9);
	box-shadow:
		0 14px 28px rgba(143, 98, 48, 0.28),
		0 0 0 3px rgba(191, 148, 86, 0.12);
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

#masthead .tm-menu-offer-item > a:after {
	content: none !important;
}

#masthead .tm-menu-offer-item > a:hover,
#masthead .tm-menu-offer-item > a:focus {
	color: #ffffff !important;
	transform: translateY(-2px) scale(1.01);
	background: linear-gradient(135deg, #7d5328 0%, #b98745 52%, #e7cc9f 100%);
	box-shadow:
		0 18px 36px rgba(143, 98, 48, 0.34),
		0 0 0 4px rgba(191, 148, 86, 0.16);
	filter: brightness(1.04);
}

#masthead .site-header-main {
	flex-wrap: wrap;
}

#masthead .menu-toggle {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 60;
}

@media (min-width: 1200px) {
	#masthead .nav-menu > ul {
		display: flex !important;
		align-items: center;
	}
}

.tm-offer-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(10, 10, 10, 0.82);
	backdrop-filter: blur(8px);
}

.tm-offer-lightbox.is-open {
	display: flex;
}

.tm-offer-lightbox__dialog {
	position: relative;
	max-width: min(920px, 92vw);
	max-height: 90vh;
}

.tm-offer-lightbox__image {
	display: block;
	width: 100%;
	height: auto;
	max-height: 90vh;
	object-fit: contain;
	border-radius: 24px;
	background: #ffffff;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.tm-offer-lightbox__close {
	position: absolute;
	top: -14px;
	right: -14px;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: #ffffff;
	color: #111111;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

body.tm-offer-lightbox-open {
	overflow: hidden;
}

@media (max-width: 1199px) {
	#masthead .tm-menu-offer-item {
		margin-left: 0;
	}

	#masthead .tm-menu-offer-item > a {
		width: calc(100% - 24px);
		margin: 12px 12px 0;
		min-height: 50px;
	}
}

@media (max-width: 767px) {
	.tm-offer-lightbox {
		padding: 16px;
	}

	.tm-offer-lightbox__close {
		top: -10px;
		right: -10px;
		width: 40px;
		height: 40px;
		font-size: 24px;
	}
}

@media (max-width: 767px) {
	.single-tm_service .tm-service-single-content-wrapper-innerbox {
		padding: 18px;
		border-radius: 22px;
	}

	.single-tm_service .tm-service-description {
		font-size: 16px;
		line-height: 1.75;
	}

	.single-tm_service .tm-service-description .wpb_wrapper > p,
	.single-tm_service .tm-service-description .wpb_text_column p,
	.single-tm_service .tm-service-description li {
		font-size: 16px;
		line-height: 1.75;
	}

	.single-tm_service .tm-service-description h2 {
		font-size: clamp(24px, 8vw, 34px);
	}

	.single-tm_service .tm-service-description h3 {
		font-size: clamp(20px, 6vw, 28px);
	}

	.tm-whatsapp-float {
		right: 14px;
		bottom: 14px;
		padding: 12px 14px;
	}

	.tm-whatsapp-float__text {
		font-size: 13px;
	}

	.tm-whatsapp-inline-cta {
		padding: 18px;
		border-radius: 22px;
	}
}
