/* ==========================================================================
   caixaLabs — built on Crafto "Web agency" (demos/web-agency/web-agency.css)
   Colors/fonts come from the Customizer as CSS variables (see inc/setup.php).
   ========================================================================== */

:root {
	--base-color: #0165FF;
	--base-color-soft: #b8d4ff;
	--base-color-pale: #e6f0ff;
	--base-color-light: #b3d0ff;
	--medium-gray: #6F7071;
	--dark-gray: #1C1D1F;
	--alt-font: "Inter", sans-serif;
	--primary-font: "Inter", sans-serif;
}

body {
	font-size: 17px;
	line-height: 32px;
}

.top-space-margin {
	margin-top: 120px;
}

/* ---------- header ---------- */
.navbar .navbar-nav .nav-link {
	font-weight: 500;
	font-size: 18px;
}
header .navbar-brand img {
	max-height: 38px;
	width: auto;
}
header .btn.btn-switch-text.btn-medium > span {
	padding: 11px 30px;
}
.btn.btn-switch-text {
	white-space: nowrap;
}
.navbar .navbar-nav .nav-item.active > .nav-link,
.navbar .navbar-nav .nav-link:hover {
	color: var(--base-color);
}
.header-icon {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
}
.cxl-client-link {
	font-size: 16px;
	white-space: nowrap;
}
.cxl-mobile-client {
	display: block;
	padding: 12px 0 18px;
	font-weight: 600;
	color: var(--dark-gray);
}
.cxl-text-logo {
	font-size: 26px;
	font-weight: 700;
	color: var(--dark-gray);
	letter-spacing: -1px;
}
.cxl-skip-link {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 1000;
	background: var(--dark-gray);
	color: #fff;
	padding: 8px 16px;
	border-radius: 30px;
}

/* ---------- buttons ---------- */
.btn.btn-base-color {
	color: #fff;
}
.btn.btn-expand-ltr span {
	background-color: var(--base-color-soft);
}
.btn.btn-expand-ltr:hover span,
.btn.btn-expand-ltr:focus-visible span {
	background-color: var(--base-color);
}
.btn.btn-expand-ltr.text-dark-gray:hover,
.btn.btn-expand-ltr.text-dark-gray:focus-visible {
	color: #fff;
}
.btn.btn-dark-gray:hover {
	background-color: var(--base-color);
	border-color: var(--base-color);
	color: #fff;
}

/* ---------- oversized words ---------- */
.cxl-giant.text-base-color {
	color: var(--base-color-soft);
}
/* Oversized words are sized to fit their column (Portuguese words are longer than the demo's). */
.cxl-giant {
	line-height: 0.9;
	letter-spacing: -0.065em;
}
.cxl-home-projects .cxl-giant {
	font-size: clamp(110px, 16.5vw, 250px);
}
.cxl-numbers-word .cxl-giant {
	font-size: clamp(110px, 21vw, 330px);
	margin-left: -1.5vw;
	white-space: nowrap;
}
.cxl-about .cxl-giant {
	font-size: clamp(120px, 17vw, 280px);
}
.cxl-closing-word {
	font-size: clamp(64px, 14vw, 230px);
	line-height: 0.9;
	letter-spacing: -0.065em;
}
.cxl-closing {
	padding-top: 150px;
}
.cxl-closing-badge {
	left: -120px;
	top: -150px;
}
@media (max-width: 1199px) {
	.cxl-closing-badge {
		left: -90px;
		top: -120px;
	}
}
.ls-minus-20px {
	letter-spacing: -20px;
}
.ls-minus-13px {
	letter-spacing: -13px;
}
.word-break-normal {
	word-break: normal;
}
.bg-sherpa-blue {
	background-color: #333436;
}
.bg-sherpa-blue:hover {
	background-color: var(--base-color);
}

/* ---------- hero ---------- */
/* Crafto sets the hero to the window height; keep the header's space free and center the
   content below it, so short laptop screens don't push the headline under the menu. */
.cxl-hero {
	padding: 110px 0 40px;
	min-height: 600px;
}
/* Headline follows the viewport width and height (capped at 96px). */
.cxl-hero-title {
	font-size: clamp(48px, min(7vw, 13vh), 96px);
	line-height: 1.08;
	letter-spacing: -0.04em;
}
/* Below 1200px Crafto skips the entrance animations (body.no-animation) but its "rotate"
   text effect still leaves the letters at opacity 0: keep them visible, the word still cycles. */
.no-animation [data-fancy-text] .char,
.no-animation [data-fancy-text] .word {
	opacity: 1 !important;
	transform: none !important;
}
.cxl-hero-content p {
	color: var(--dark-gray);
	text-shadow: 0 0 14px #fff, 0 0 6px #fff, 0 0 2px #fff;
}
.cxl-strip .icon-with-text-style-08 {
	padding-left: 18px;
	padding-right: 18px;
}

/* ---------- headings (web agency scale) ---------- */
@media (min-width: 768px) {
	h1 {
		font-size: 5rem;
		line-height: 5rem;
	}
	h2 {
		font-size: 3.75rem;
		line-height: 3.75rem;
	}
	h3 {
		font-size: 3.125rem;
		line-height: 3.25rem;
	}
}
.page-title-extra-large h1 {
	font-size: 5rem;
	line-height: 5rem;
}
.page-title-extra-large h2 {
	font-size: 1.75rem;
	line-height: 2.5rem;
	letter-spacing: -0.5px;
}

/* ---------- about / services / solutions ---------- */
.cxl-about-media img {
	width: 100%;
	height: auto;
}
.process-step-style-10 .hover-content i {
	color: #fff;
}
.cxl-solution-media {
	background-color: var(--very-light-gray);
}
.cxl-solution h3 {
	font-size: 2.75rem;
	line-height: 3rem;
}
.cxl-solution + .cxl-solution {
	margin-top: 0;
}
@media (min-width: 992px) {
	.cxl-solutions .cxl-solution.mb-8 {
		margin-bottom: 110px !important;
	}
}
.cxl-solution-media img {
	width: 100%;
	display: block;
}
.list-style-01 li {
	border-bottom: 1px solid;
}
.list-style-01 li:first-child {
	border-top: 1px solid;
}

/* ---------- portfolio ---------- */
.cxl-ratio-portfolio img {
	width: 100%;
	aspect-ratio: 800 / 635;
	object-fit: cover;
}
.portfolio-simple .grid-item .portfolio-image img {
	filter: grayscale(100%);
	-webkit-filter: grayscale(100%);
}
.portfolio-simple .portfolio-box:hover .portfolio-image img {
	opacity: 1;
	filter: grayscale(0%);
	-webkit-filter: grayscale(0%);
}
.portfolio-filter li a {
	white-space: nowrap;
}
.portfolio-filter li.active a,
.portfolio-filter li a:hover {
	color: var(--dark-gray);
}
.cxl-featured-project img {
	width: 100%;
	aspect-ratio: 800 / 635;
	object-fit: cover;
}

/* ---------- numbers ---------- */
.cxl-number-row .col-4,
.cxl-number-row .col-sm-3 {
	padding-top: 12px;
	padding-bottom: 12px;
}

/* ---------- testimonials (dark) ---------- */
.cxl-testimonials-bg {
	opacity: 0.07;
	background-size: contain !important;
	background-repeat: no-repeat;
	background-position: center;
}
.cxl-accent-on-dark {
	color: var(--base-color-light);
}
/* The partner files have wide transparent margins (1440x466), so they need more height than Crafto's 35px. */
.cxl-partner-logo {
	filter: brightness(0) invert(1);
	opacity: 0.85;
	height: 72px !important;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	transition: opacity 0.3s;
}
.client-box:hover .cxl-partner-logo {
	opacity: 1;
}
.cxl-partner-logo--dark {
	filter: brightness(0);
	opacity: 0.6;
}
.client-box:hover .cxl-partner-logo--dark {
	opacity: 0.9;
}
.cxl-contact-word,
.cxl-projects-grid .cxl-giant {
	font-size: clamp(110px, 16vw, 260px);
}
.cxl-project-word {
	font-size: clamp(100px, 13vw, 220px);
}
.cxl-office-card {
	margin-top: 40px;
}
.cxl-filter li a {
	font-size: 17px;
}
/* Category pages link to each term (no isotope), so they don't get Crafto's .portfolio-filter spacing. */
.cxl-term-nav li {
	padding: 0 25px;
}
.cxl-term-nav li:first-child {
	padding-left: 0;
}
.cxl-term-nav li:last-child {
	padding-right: 0;
}
.cxl-term-nav li a {
	color: var(--medium-gray);
	border-bottom: 2px solid transparent;
}
.cxl-term-nav li a:hover {
	color: var(--dark-gray);
}
.cxl-term-nav li.active a {
	color: var(--dark-gray);
	border-bottom: 2px solid var(--base-color);
}
.border-color-transparent-white-light {
	border-color: rgba(255, 255, 255, 0.15) !important;
}
.cxl-metric .w-150px {
	width: 150px;
}

/* ---------- rotating badge ---------- */
.cxl-badge {
	position: relative;
	width: 190px;
	height: 190px;
}
.cxl-badge svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
}
.cxl-badge-core {
	z-index: 0;
}
.cxl-badge-text {
	z-index: 1;
}
.cxl-badge-text text {
	font-family: var(--primary-font);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.cxl-badge--light .cxl-badge-core {
	filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.12));
}
.cxl-badge-wrap .cxl-badge {
	letter-spacing: 0;
}
@media (max-width: 1199px) {
	.cxl-badge {
		width: 160px;
		height: 160px;
	}
}

/* ---------- blog ---------- */
.cxl-ratio-blog img,
.cxl-card-placeholder {
	width: 100%;
	aspect-ratio: 550 / 395;
	object-fit: cover;
	display: block;
}
.cxl-card-placeholder {
	background: linear-gradient(135deg, var(--base-color-pale), #fff);
}
.blog-classic .card .blog-image img {
	filter: grayscale(100%);
	-webkit-filter: grayscale(100%);
	transition: filter 0.4s;
}
.blog-classic .card:hover .blog-image img {
	filter: grayscale(0%);
	-webkit-filter: grayscale(0%);
}
.tag-cloud a {
	background-color: var(--white);
}

/* ---------- page content (legal pages, posts) ---------- */
.cxl-content {
	font-size: 17px;
	line-height: 32px;
}
.cxl-content h2,
.cxl-content h3,
.cxl-content h4 {
	color: var(--dark-gray);
	font-weight: 600;
	letter-spacing: -1px;
	margin: 45px 0 15px;
}
.cxl-content h2 {
	font-size: 2.25rem;
	line-height: 2.75rem;
}
.cxl-content h3 {
	font-size: 1.75rem;
	line-height: 2.25rem;
}
.cxl-content h4 {
	font-size: 1.35rem;
	line-height: 1.9rem;
}
.cxl-content > :first-child {
	margin-top: 0;
}
.cxl-content ul,
.cxl-content ol {
	padding-left: 22px;
	margin-bottom: 25px;
}
.cxl-content ul li {
	list-style: disc;
}
.cxl-content ol li {
	list-style: decimal;
}
.cxl-content a {
	color: var(--dark-gray);
	text-decoration: underline;
	text-decoration-color: var(--base-color);
	text-underline-offset: 4px;
}
.cxl-content a:hover {
	color: var(--base-color);
}
.cxl-content img {
	border-radius: 6px;
	height: auto;
}
.cxl-content blockquote {
	border-left: 3px solid var(--base-color);
	padding-left: 25px;
	color: var(--dark-gray);
	font-size: 22px;
	line-height: 34px;
}

/* ---------- forms ---------- */
.cxl-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.cxl-form .form-results:empty {
	display: none;
}
.cxl-form-result {
	border-radius: 6px;
	padding: 12px 18px;
	font-size: 15px;
	line-height: 24px;
}
.cxl-form-result.is-success {
	background: #e8f7ef;
	color: #1d6b43;
}
.cxl-form-result.is-error {
	background: #fdecec;
	color: #a12626;
}
.cxl-form.is-sending button[type="submit"] {
	opacity: 0.6;
	pointer-events: none;
}
.cxl-newsletter input {
	height: 50px;
	font-size: 15px;
}
.cxl-newsletter-submit {
	position: absolute;
	right: 5px;
	top: 5px;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: var(--dark-gray);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.3s;
}
.cxl-newsletter-submit:hover {
	background: var(--base-color);
}
.cxl-newsletter .form-results {
	text-align: left;
}

/* ---------- modal ---------- */
.cxl-modal {
	max-width: 1000px;
	border-radius: 8px;
	overflow: hidden;
}
.cxl-modal .cover-background {
	background-color: var(--dark-gray);
	background-size: cover;
	background-position: center;
	min-height: 100%;
}

/* ---------- footer ---------- */
footer .footer-logo img {
	max-height: 40px;
	width: auto;
}
footer .nav-link {
	color: var(--dark-gray);
}
.footer-navbar .nav-link {
	padding: 0 14px;
}
.footer-navbar li:first-child .nav-link {
	padding-left: 0;
}
.cxl-legal-links a {
	color: var(--medium-gray);
}
.footer-navbar li a:hover {
	color: var(--base-color);
}
.footer-navbar li.active a {
	color: var(--base-color);
}

/* ---------- contact page ---------- */
.cxl-office-code {
	line-height: 1;
}
.cxl-map iframe {
	width: 100%;
	height: 100%;
	border: 0;
	filter: grayscale(100%);
}
.cxl-contact-channels .btn-link-gradient {
	word-break: break-all;
}

/* ---------- about page ---------- */
.cxl-timeline-date {
	font-size: 13px;
	letter-spacing: 1px;
}
.cxl-counter .counter-number {
	font-size: 80px;
	line-height: 80px;
	letter-spacing: -3px;
}
.cxl-big-image {
	background-size: cover;
	background-position: center;
}

/* ---------- project page ---------- */
.cxl-project-banner {
	background-color: var(--very-light-gray);
	background-size: cover;
	background-position: center;
}
.cxl-project-gallery img {
	width: 100%;
	height: auto;
	border-radius: 6px;
	display: block;
}
.cxl-project-meta .col {
	border-right: 1px solid var(--extra-medium-gray);
}
.cxl-project-meta .col:last-child {
	border-right: 0;
}

/* ---------- web agency responsive rules ---------- */
@media (min-width: 992px) {
	.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu {
		padding: 15px 25px;
	}
}
@media (max-width: 1399px) {
	header .btn.btn-switch-text.btn-medium > span {
		padding: 11px 22px;
	}
}
@media (max-width: 1199px) {
	.ls-minus-20px {
		letter-spacing: -15px;
	}
	header .btn.btn-switch-text.btn-medium > span {
		padding: 6px 11px;
	}
	.navbar .navbar-nav .nav-link {
		padding: 10px 12px;
		font-size: 17px;
	}
	footer .nav-link {
		padding: 2px 8px;
	}
}
@media (max-width: 991px) {
	.ls-minus-20px {
		letter-spacing: -10px;
	}
	.top-space-margin {
		margin-top: 100px;
	}
	header .btn.btn-switch-text.btn-medium > span {
		padding: 9px 24px;
	}
	.cxl-project-meta .col {
		border-right: 0;
	}
}
@media (max-width: 767px) {
	.process-step-style-10.hover-box:hover .hover-content {
		bottom: 0;
	}
	.ls-minus-20px {
		letter-spacing: -4px;
	}
	.ls-minus-13px {
		letter-spacing: -5px;
	}
	.page-title-extra-large h1 {
		font-size: 3rem;
		line-height: 3.2rem;
	}
	.page-title-extra-large h2 {
		font-size: 1.35rem;
		line-height: 2rem;
	}
	.cxl-hero {
		padding-top: 140px !important;
		padding-bottom: 80px !important;
	}
	.cxl-counter .counter-number {
		font-size: 56px;
		line-height: 60px;
	}
}
@media (max-width: 575px) {
	header .navbar .container-fluid {
		flex-wrap: nowrap;
	}
	header .navbar-brand img {
		max-height: 26px;
	}
	header .btn.btn-switch-text.btn-medium > span {
		padding: 7px 14px !important;
	}
	header .btn.btn-switch-text {
		font-size: 12px !important;
	}
	header .navbar-toggler {
		margin-left: 10px;
	}
}
