/* NPCardoso customisation on top of Porto demo-accounting-1. */
:root {
	--primary: #d18a62;
	--primary-100: #c8794e;
	--primary-200: #bd6f45;
	--primary-300: #a9613b;
	--primary--100: #df9c73;
	--primary--200: #e6a985;
	--primary--300: #efb895;
	--primary-rgba-10: rgba(209, 138, 98, 0.1);
	--primary-rgba-20: rgba(209, 138, 98, 0.2);
	--primary-rgba-30: rgba(209, 138, 98, 0.3);
	--secondary: #8f583c;
	--secondary-100: #7d4d35;
	--secondary-200: #6f432e;
	--secondary-rgba-20: rgba(143, 88, 60, 0.2);
	--tertiary: #171615;
	--tertiary-100: #11100f;
	--tertiary-200: #0c0b0b;
	--quaternary: #f5eee7;
}

body {
	background: #fff;
}

#header .header-logo img,
#footer img[alt="NPCardoso"] {
	width: 220px;
	height: auto;
	max-height: 54px;
	object-fit: contain;
}

#header .header-body {
	background: rgba(255, 255, 255, 0.96);
}

.hero-banner {
	min-height: 750px;
}

#inicio.owl-carousel {
	display: block !important;
	opacity: 1 !important;
}

#inicio:not(.owl-loaded) .owl-stage-outer,
#inicio:not(.owl-loaded) .owl-stage,
#inicio:not(.owl-loaded) .owl-item {
	width: 100% !important;
	height: 100% !important;
}

#inicio:not(.owl-loaded) .owl-item {
	display: none;
}

#inicio:not(.owl-loaded) .owl-item.active,
#inicio:not(.owl-loaded) .owl-item:first-child.active {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

.hero-banner .custom-el-2 {
	position: relative;
	z-index: 2;
}

.hero-copy {
	position: absolute;
	top: 33%;
	left: 50%;
	z-index: 20;
	width: min(740px, calc(100% - 260px));
	transform: translate(-50%, -50%);
	display: block !important;
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto;
	text-align: center;
}

.hero-banner-dark .hero-copy {
	left: clamp(82px, 13vw, 240px);
	width: min(650px, calc(100% - 180px));
	transform: translateY(-50%);
	text-align: left;
}

.hero-banner-orange .hero-copy {
	left: 50%;
	width: min(760px, calc(100% - 260px));
	transform: translate(-50%, -50%);
	text-align: left;
}

.hero-copy,
.hero-copy * {
	visibility: visible !important;
}

.hero-copy-light,
.hero-copy-light h1,
.hero-copy-light h2,
.hero-copy-light h3,
.hero-copy-light h4,
.hero-copy-light p {
	color: #fff !important;
}

.hero-copy-dark,
.hero-copy-dark h1,
.hero-copy-dark h2,
.hero-copy-dark h3,
.hero-copy-dark h4 {
	color: #111 !important;
}

.hero-copy-dark p {
	color: rgba(17, 17, 17, 0.72) !important;
}

.hero-banner:after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}

.hero-banner-dark:after {
	background: linear-gradient(90deg, rgba(17, 16, 15, 0.96) 0%, rgba(17, 16, 15, 0.82) 35%, rgba(17, 16, 15, 0.34) 76%, rgba(17, 16, 15, 0.68) 100%);
}

.hero-banner-orange:after {
	background: linear-gradient(90deg, rgba(209, 138, 98, 0.96) 0%, rgba(209, 138, 98, 0.9) 38%, rgba(209, 138, 98, 0.48) 76%, rgba(143, 88, 60, 0.68) 100%);
}

.hero-bg-dissolve {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-size: cover;
	background-position: center right;
}

.hero-banner-dark .hero-bg-dissolve {
	opacity: 0.58;
	background-position: center right;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.1) 24%, #000 58%);
	mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.1) 24%, #000 58%);
}

.hero-banner-orange .hero-bg-dissolve {
	opacity: 0.52;
	background-position: center right;
	mix-blend-mode: multiply;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.12) 30%, #000 64%);
	mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.12) 30%, #000 64%);
}

.owl-carousel .owl-nav:not(.disabled) {
	display: block !important;
}

#inicio .owl-nav button.owl-prev,
#inicio .owl-nav button.owl-next {
	opacity: 1 !important;
	visibility: visible !important;
	background: rgba(255, 255, 255, 0.88) !important;
	color: #111 !important;
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
}

#inicio .owl-nav button.owl-prev:before,
#inicio .owl-nav button.owl-next:before {
	font-family: "Font Awesome 7 Free" !important;
	font-weight: 900 !important;
	color: #111 !important;
	font-size: 1rem !important;
	line-height: 1 !important;
}

#inicio .owl-nav button.owl-prev:before {
	content: "\f104" !important;
}

#inicio .owl-nav button.owl-next:before {
	content: "\f105" !important;
}

.intro-features .feature-box-icon > .p-absolute {
	display: none !important;
}

.custom-mask-img-1 img {
	aspect-ratio: 1.43;
	object-fit: cover;
}

.about-section {
	padding-top: 35px;
	padding-bottom: 35px;
}

.about-points {
	display: grid;
	gap: 14px;
	margin-top: 25px;
	max-width: 560px;
}

.about-points div {
	display: grid;
	grid-template-columns: 130px 1fr;
	gap: 16px;
	padding: 18px 0;
	border-top: 1px solid rgba(0, 0, 0, 0.09);
	text-align: left;
}

.about-points strong {
	color: var(--secondary);
	font-family: "Lexend", sans-serif;
	font-size: 1rem;
}

.about-points span {
	color: #5f5f5f;
	line-height: 1.65;
}

.about-image-wrap {
	position: relative;
	overflow: hidden;
	border-radius: var(--border-radius2x);
	box-shadow: 0 28px 80px rgba(0, 0, 0, 0.16);
}

.about-image-wrap:before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.16));
	z-index: 1;
	pointer-events: none;
}

.about-image-wrap img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.services-icon-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.services-icon-grid article {
	min-height: 250px;
	padding: 32px;
	border-radius: var(--border-radius2x);
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.12);
	transition: transform 220ms ease, background 220ms ease;
}

.services-icon-grid article:hover {
	transform: translateY(-4px);
	background: rgba(255, 255, 255, 0.1);
}

.services-icon-grid i {
	display: inline-grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin-bottom: 24px;
	border-radius: 50%;
	background: var(--primary);
	color: #fff;
	font-size: 1.55rem;
	box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.services-icon-grid h4 {
	color: #fff;
	margin-bottom: 12px;
}

.services-icon-grid p {
	color: rgba(255, 255, 255, 0.72);
	margin-bottom: 0;
}

.portfolio-card {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	min-height: 330px;
	overflow: hidden;
	border-radius: var(--border-radius2x);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
	background: #111;
}

.portfolio-card img {
	width: 100%;
	height: 330px;
	object-fit: cover;
	transition: transform 450ms ease;
}

.portfolio-card:after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.78));
}

.portfolio-card div {
	position: absolute;
	left: 28px;
	right: 28px;
	bottom: 24px;
	z-index: 2;
	color: #fff;
}

.portfolio-card span {
	display: inline-flex;
	margin-bottom: 8px;
	color: var(--primary--200);
	text-transform: uppercase;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.portfolio-card h3 {
	color: #fff;
	font-size: 1.55rem;
	line-height: 1.12;
	margin: 0;
}

.portfolio-card:hover img {
	transform: scale(1.055);
}

.portfolio-card:focus-visible {
	outline: 3px solid var(--primary);
	outline-offset: 4px;
}

.btn-fit-content {
	width: auto;
	max-width: max-content;
	white-space: nowrap;
}

.npc-action-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 168px;
	min-height: 48px;
	padding: 0.78rem 1.35rem !important;
	overflow: visible;
	line-height: 1.2;
}

.npc-action-btn span {
	position: static !important;
	transform: none !important;
	opacity: 1 !important;
	white-space: nowrap;
}

.process-title mark {
	display: inline-block;
	padding: 0.03em 0.22em 0.12em !important;
	border-radius: 0.16em;
	background: var(--primary) !important;
	color: #fff !important;
}

.contact-inline-mail {
	display: inline-flex;
	color: var(--secondary);
	font-family: "Lexend", sans-serif;
	font-size: 1.25rem;
	font-weight: 700;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.contact-inline-mail:hover {
	color: var(--primary);
}

.contact-email-box {
	display: inline-flex;
	align-items: center;
	gap: 22px;
	margin: 14px 0 8px;
	text-align: left;
}

.contact-email-icon {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--secondary);
	color: #fff;
	font-family: "Lexend", sans-serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 1;
	box-shadow: 0 22px 56px rgba(143, 88, 60, 0.22);
}

.contact-email-box strong {
	display: block;
	color: var(--secondary);
	/*text-transform: uppercase;*/
	font-family: "Lexend", sans-serif;
	font-size: 20px;
	line-height: 1;
	margin-bottom: 0px;
}

.contact-email-box a {
	color: #111;
	font-family: "Lexend", sans-serif;
	font-size: 1.05rem;
	font-weight: 700;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.contact-email-box a:hover {
	color: var(--primary);
}

.contact-email-box-footer {
	margin: 0;
}

.portfolio-modal .modal-content {
	padding: 18px;
	box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25);
}

.portfolio-modal .modal-title {
	font-size: clamp(1.7rem, 3vw, 2.6rem);
	line-height: 1.08;
}

.portfolio-modal p {
	font-size: 1.05rem;
}

.npc-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.npc-contact-form .form-control {
	background-color: #fff;
}

@media (max-width: 991px) {
	#header .header-logo img,
	#footer img[alt="NPCardoso"] {
		width: 185px;
	}

	.hero-copy {
		top: 33%;
		left: 50%;
		width: min(680px, calc(100% - 120px));
		transform: translate(-50%, -50%);
	}

	.hero-banner-dark .hero-copy,
	.hero-banner-orange .hero-copy {
		left: 50%;
		width: min(680px, calc(100% - 120px));
		transform: translate(-50%, -50%);
		text-align: center;
	}

	.custom-stamp-1 {
		display: none;
	}

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

	.about-points div {
		grid-template-columns: 1fr;
		gap: 4px;
	}
}

@media (max-width: 575px) {
	.hero-banner {
		min-height: 640px;
	}

	.hero-copy {
		top: 25%;
		left: 50%;
		width: calc(100% - 56px);
		transform: translate(-50%, -50%);
		text-align: center;
	}

	.hero-banner-dark .hero-copy,
	.hero-banner-orange .hero-copy {
		left: 50%;
		width: calc(100% - 56px);
		transform: translate(-50%, -50%);
		text-align: center;
	}

	#inicio h1,
	#inicio h2 {
		font-size: 2.55rem !important;
	}

	.hero-copy h4 {
		font-size: 1.25rem !important;
		margin-bottom: 1rem !important;
	}

	.hero-copy p {
		font-size: 1.08rem !important;
		line-height: 1.55 !important;
		padding-right: 0 !important;
	}

	.portfolio-card,
	.portfolio-card img {
		min-height: 280px;
		height: 280px;
	}

	.services-icon-grid {
		grid-template-columns: 1fr;
	}

	.btn-fit-content {
		max-width: 100%;
		white-space: normal;
	}

	.contact-email-icon {
		width: 72px;
		height: 72px;
		font-size: 2.05rem;
	}
}
