/*
 * RCFN custom polish
 */
#header .header-logo {
	flex: 0 0 190px;
	width: 190px !important;
	max-width: 190px;
}

#header .header-logo img {
	width: 170px !important;
	height: auto !important;
	max-height: 86px;
	object-fit: contain;
}

#header .header-container {
	min-height: 118px;
}

#header .header-nav-main nav > ul > li > a {
	letter-spacing: 0;
}

html.sticky-header-active #header .header-logo img {
	width: 140px !important;
	max-height: 70px;
}

.service-comaer-anac {
	--service-hero-image: url("../img/fotos/1.jpg");
}

.service-topografia {
	--service-hero-image: url("../img/fotos/2.jpg");
}

.service-estudos-projetos {
	--service-hero-image: url("../img/demos/auto-services/services/service-small-3.jpg");
}

.service-geotecnia {
	--service-hero-image: url("../img/fotos/3.jpg");
}

.service-page .main > section:first-child {
	position: relative;
	isolation: isolate;
	min-height: 280px;
	display: flex;
	align-items: center;
	background-image: linear-gradient(90deg, rgba(0, 54, 84, 0.94) 0%, rgba(0, 104, 156, 0.82) 48%, rgba(0, 136, 204, 0.58) 100%), var(--service-hero-image);
	background-position: center;
	background-size: cover;
	overflow: hidden;
}

.service-page .main > section:first-child:after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 5px;
	background: var(--secondary);
	z-index: 0;
}

.service-page .main > section:first-child h1 {
	max-width: 820px;
	font-size: clamp(2.25rem, 5vw, 4.15rem) !important;
	line-height: 1.05;
	text-wrap: balance;
}

.service-page .breadcrumb {
	gap: 8px;
	align-items: center;
}

.service-page .breadcrumb-item,
.service-page .breadcrumb-item a {
	font-weight: 600;
}

.service-page .main > section:nth-of-type(2) {
	position: relative;
	background: #fff;
}

.service-page .main > section:nth-of-type(2) h2 {
	font-size: clamp(2rem, 3vw, 3rem);
	line-height: 1.08 !important;
	text-wrap: balance;
}

.service-page .main > section:nth-of-type(2) p {
	color: #555;
	line-height: 1.75;
}

.service-page .main > section:nth-of-type(2) img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 8px !important;
	box-shadow: 0 24px 54px rgba(26, 42, 55, 0.16);
}

.service-page .custom-feature-box-justify-center {
	height: 100%;
	padding: 34px 24px 30px;
	background: #fff;
	border: 1px solid rgba(0, 136, 204, 0.14);
	border-radius: 8px;
	box-shadow: 0 18px 42px rgba(26, 42, 55, 0.08);
	transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-page .custom-feature-box-justify-center:hover {
	transform: translateY(-4px);
	border-color: rgba(0, 136, 204, 0.36);
	box-shadow: 0 24px 56px rgba(26, 42, 55, 0.13);
}

.service-page .custom-feature-box-justify-center .feature-box {
	display: block;
}

.service-page .custom-feature-box-justify-center .feature-box-icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 18px;
	align-items: center;
	justify-content: center;
	background: rgba(0, 136, 204, 0.09);
	border-radius: 8px;
}

.service-page .custom-feature-box-justify-center .feature-box-icon i {
	font-size: 2rem;
}

.service-page .custom-feature-box-justify-center h4 {
	line-height: 1.25;
}

.service-page .custom-feature-box-justify-center p {
	color: #666;
	line-height: 1.6;
}

.service-page .custom-accordion-style-1 > .card {
	border-color: rgba(56, 63, 72, 0.1) !important;
	border-radius: 8px;
	box-shadow: 0 12px 32px rgba(26, 42, 55, 0.06);
	overflow: hidden;
}

.service-page .custom-accordion-style-1 > .card .card-header a {
	background: #fff;
}

.service-page .custom-accordion-style-1 > .card .card-body {
	background: #fff;
	color: #555;
	line-height: 1.7;
}

.service-page .main > section:nth-last-of-type(1) {
	background-image: linear-gradient(90deg, rgba(0, 98, 148, 1), rgba(0, 136, 204, 0.88));
}

@media (max-width: 991px) {
	#header .header-logo {
		flex-basis: 155px;
		width: 155px !important;
		max-width: 155px;
	}

	#header .header-logo img {
		width: 145px !important;
		max-height: 74px;
	}

	#header .header-container {
		min-height: 96px;
	}

	.service-page .main > section:first-child {
		min-height: 240px;
	}

	.service-page .custom-feature-box-justify-center {
		margin-bottom: 18px;
	}
}

@media (max-width: 575px) {
	#header .header-logo {
		flex-basis: 132px;
		width: 132px !important;
		max-width: 132px;
	}

	#header .header-logo img {
		width: 124px !important;
	}

	.service-page .main > section:first-child h1 {
		font-size: 2rem !important;
	}
}
