/*
Theme Name: Newave Child – MOSQITO
Theme URI: https://mosqito.pl/
Description: Motyw potomny Newave dla witryny MOSQITO.
Author: MOSQITO
Template: newave-theme
Version: 1.12.0
Text Domain: newave-child
*/

:root {
	--mosqito-primary: #064a93;
	--mosqito-primary-dark: #03366f;
	--mosqito-primary-soft: #eaf2fb;
	--mosqito-ink: #172033;
	--mosqito-muted: #667085;
	--mosqito-surface: #ffffff;
	--mosqito-background: #f5f7fa;
	--mosqito-border: #dfe5ec;
}

.mosqito-refresh {
	min-height: 100vh;
	overflow: hidden;
	color: var(--mosqito-ink);
	background-color: var(--mosqito-background);
}

.mosqito-refresh,
.mosqito-refresh *,
.mosqito-refresh *::before,
.mosqito-refresh *::after {
	box-sizing: border-box;
}

.mosqito-refresh__content {
	margin: 0;
	padding: 0;
}

.mosqito-refresh-page #navigation {
	z-index: 10000;
}

.mosqito-refresh-page #navigation .navbar-inner {
	min-height: 68px;
	border-bottom: 1px solid var(--mosqito-border) !important;
	background: rgba(255, 255, 255, 0.97);
	box-shadow: 0 4px 20px rgba(23, 32, 51, 0.05) !important;
}

.mosqito-refresh-page #navigation .navbar-inner .container {
	width: auto;
	max-width: 1280px;
	margin: 0 auto;
	padding: 12px 24px;
}

.mosqito-refresh-page #navigation #logo {
	left: 24px;
	height: 44px;
	background-position: left center !important;
	background-size: auto 44px !important;
}

.mosqito-refresh-page #navigation #logo a {
	height: 44px;
	margin-top: 0;
}

.mosqito-refresh-page #navigation .navbar .nav > li > a {
	color: var(--mosqito-ink);
	font-size: 11px;
	font-weight: 600;
	line-height: 44px;
	letter-spacing: 0.02em;
}

.mosqito-refresh-page #navigation .navbar .nav > .active > a,
.mosqito-refresh-page #navigation .navbar .nav > .active > a:hover,
.mosqito-refresh-page #navigation .navbar .nav > .active > a:focus,
.mosqito-refresh-page #navigation .navbar .nav > li > a:hover,
.mosqito-refresh-page #navigation .navbar .nav > li > a:focus {
	border-bottom-color: transparent;
	color: var(--mosqito-primary);
}

@media only screen and (max-width: 1024px) {
	.mosqito-refresh-page #navigation .navbar-inner .container {
		padding: 12px 20px;
	}

	.mosqito-refresh-page #navigation #logo {
		left: 20px;
	}

	.mosqito-refresh-page #navigation .nav-collapse {
		background: var(--mosqito-surface);
	}

	.mosqito-refresh-page #navigation .navbar .nav > li > a {
		color: var(--mosqito-ink);
	}
}

.mosqito-refresh .mosqito-services {
	padding: 96px 24px;
	background: var(--mosqito-surface);
}

.mosqito-refresh .mosqito-services__container {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
}

.mosqito-refresh .mosqito-services__header {
	max-width: 720px;
	margin: 0 0 42px;
}

.mosqito-refresh .mosqito-services__eyebrow {
	margin: 0 0 12px;
	color: var(--mosqito-primary);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.mosqito-refresh .mosqito-services__header h2 {
	margin: 0 0 16px;
	color: var(--mosqito-ink);
	font-size: clamp(30px, 4vw, 48px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.025em;
	text-transform: none;
}

.mosqito-refresh .mosqito-services__intro {
	margin: 0;
	color: var(--mosqito-muted);
	font-size: 17px;
	line-height: 1.7;
}

.mosqito-refresh .mosqito-services__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.mosqito-refresh .mosqito-service-card {
	display: flex;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--mosqito-border);
	border-radius: 4px;
	flex-direction: column;
	background: var(--mosqito-surface);
	box-shadow: 0 8px 24px rgba(23, 32, 51, 0.04);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.mosqito-refresh .mosqito-service-card:hover {
	border-color: rgba(6, 74, 147, 0.35);
	box-shadow: 0 18px 42px rgba(23, 32, 51, 0.12);
	transform: translateY(-4px);
}

.mosqito-refresh .mosqito-service-card__icon {
	width: 76px;
	height: 76px;
	margin: 30px 28px 0;
	color: var(--mosqito-primary);
}

.mosqito-refresh .mosqito-service-card__icon svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.mosqito-refresh .mosqito-service-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: var(--mosqito-primary-soft);
}

.mosqito-refresh .mosqito-service-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.mosqito-refresh .mosqito-service-card:hover .mosqito-service-card__image {
	transform: scale(1.035);
}

.mosqito-refresh .mosqito-service-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background:
		linear-gradient(135deg, rgba(6, 74, 147, 0.9), rgba(3, 54, 111, 0.72)),
		repeating-linear-gradient(45deg, transparent 0 16px, rgba(255, 255, 255, 0.08) 16px 17px);
}

.mosqito-refresh .mosqito-service-card__body {
	display: flex;
	padding: 26px;
	flex: 1 1 auto;
	flex-direction: column;
}

.mosqito-refresh .mosqito-service-card__title {
	margin: 0 0 12px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: none;
}

.mosqito-refresh .mosqito-service-card__title a {
	color: var(--mosqito-ink);
	text-decoration: none;
}

.mosqito-refresh .mosqito-service-card__title a:hover,
.mosqito-refresh .mosqito-service-card__title a:focus-visible {
	color: var(--mosqito-primary);
}

.mosqito-refresh .mosqito-service-card__excerpt {
	margin: 0 0 22px;
	color: var(--mosqito-muted);
	font-size: 14px;
	line-height: 1.65;
}

.mosqito-refresh .mosqito-service-card__link {
	display: inline-flex;
	margin-top: auto;
	align-items: center;
	gap: 9px;
	color: var(--mosqito-primary);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
}

.mosqito-refresh .mosqito-service-card__link span {
	font-size: 17px;
	line-height: 1;
	transition: transform 0.2s ease;
}

.mosqito-refresh .mosqito-service-card__link:hover span,
.mosqito-refresh .mosqito-service-card__link:focus-visible span {
	transform: translateX(4px);
}

.mosqito-refresh .mosqito-services--compact .mosqito-services__header {
	position: relative;
	padding-top: 18px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

.mosqito-refresh .mosqito-services--compact .mosqito-services__header::before {
	position: absolute;
	top: 0;
	left: 50%;
	width: 44px;
	height: 2px;
	content: "";
	background: var(--mosqito-primary);
	transform: translateX(-50%);
}

.mosqito-refresh .mosqito-services--compact .mosqito-services__header h2 {
	font-size: clamp(24px, 2.6vw, 34px);
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.mosqito-refresh .mosqito-services--compact .mosqito-services__grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mosqito-refresh .mosqito-services--compact .mosqito-service-card {
	min-height: 310px;
	border-radius: 0;
	box-shadow: 0 8px 24px rgba(23, 32, 51, 0.025);
}

.mosqito-refresh .mosqito-services--compact .mosqito-service-card__body {
	padding: 22px 28px 28px;
}

.mosqito-refresh .mosqito-services--compact .mosqito-service-card__title {
	font-size: 17px;
	letter-spacing: 0.015em;
	text-transform: uppercase;
}

.mosqito-refresh .mosqito-services--compact .mosqito-service-card__excerpt {
	font-size: 13px;
	line-height: 1.6;
}

.mosqito-refresh .mosqito-services--compact .mosqito-service-card__link {
	font-size: 0;
}

.mosqito-refresh .mosqito-services--compact .mosqito-service-card__link span {
	font-size: 23px;
}

.mosqito-refresh .mosqito-services__all {
	margin-top: 34px;
	text-align: center;
}

.mosqito-refresh .mosqito-services__all a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--mosqito-primary);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
}

.mosqito-refresh .mosqito-services__all span {
	font-size: 17px;
	transition: transform 0.2s ease;
}

.mosqito-refresh .mosqito-services__all a:hover span,
.mosqito-refresh .mosqito-services__all a:focus-visible span {
	transform: translateX(4px);
}

.mosqito-refresh .mosqito-services__notice {
	max-width: 1180px;
	margin: 30px auto;
	padding: 18px 20px;
	border-left: 4px solid var(--mosqito-primary);
	color: var(--mosqito-ink);
	background: var(--mosqito-primary-soft);
	font-size: 14px;
	line-height: 1.6;
}

/*
 * Pojedyncza karta przeznaczona do standardowej kolumny WPBakery.
 * Selektory nie zależą od szablonu strony ani dodatkowego wrappera.
 */
.mosqito-refresh-page .mosqito-refresh__content > .vc_row {
	width: calc(100% - 48px);
	max-width: 1180px;
	margin-right: auto !important;
	margin-left: auto !important;
}

.mosqito-refresh-page .mosqito-refresh__content > .vc_row.mosqito-services-row {
	max-width: 900px;
}

.mosqito-refresh-page .mosqito-refresh__content > .vc_row.mosqito-row--full {
	width: 100%;
	max-width: none;
}

.mosqito-refresh-page .mosqito-refresh__content > .vc_row.mosqito-services-heading-row,
.mosqito-refresh-page .mosqito-refresh__content > .vc_row.mosqito-services-footer-row {
	max-width: 900px;
}

.mosqito-services-heading {
	padding: 20px 0 36px;
	text-align: center;
}

.mosqito-services-heading__line {
	display: block;
	width: 44px;
	height: 2px;
	margin: 0 auto 18px;
	background: var(--mosqito-primary);
}

.mosqito-services-heading__title {
	margin: 0;
	color: var(--mosqito-ink);
	font-size: clamp(24px, 2.6vw, 34px);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

.mosqito-services-footer {
	padding: 22px 0 30px;
	text-align: center;
}

.mosqito-services-footer__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--mosqito-primary);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
}

.mosqito-services-footer__link span {
	font-size: 17px;
	transition: transform 0.2s ease;
}

.mosqito-services-footer__link:hover span,
.mosqito-services-footer__link:focus-visible span {
	transform: translateX(4px);
}

/*
 * Proces realizacji: od dokumentacji do gotowego elementu.
 */
.mosqito-refresh-page .mosqito-refresh__content > .vc_row.mosqito-process-heading-row,
.mosqito-refresh-page .mosqito-refresh__content > .vc_row.mosqito-process-row {
	max-width: 1000px;
	background: var(--mosqito-surface);
}

.mosqito-process-heading {
	padding: 34px 20px 12px;
	text-align: center;
}

.mosqito-process-heading__title {
	margin: 0;
	color: var(--mosqito-ink);
	font-size: clamp(22px, 2.4vw, 30px);
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.mosqito-refresh-page .mosqito-refresh__content > .vc_row.mosqito-process-row {
	display: flex;
	padding: 16px 12px 38px;
	border-bottom: 1px solid var(--mosqito-border);
	align-items: stretch;
	flex-wrap: wrap;
}

.mosqito-process-row::before,
.mosqito-process-row::after {
	display: none;
}

.mosqito-process-row > .vc_column_container {
	width: 20%;
	flex: 0 0 20%;
}

.mosqito-process-row .vc_column_container > .vc_column-inner {
	height: 100%;
	padding-right: 14px;
	padding-left: 14px;
}

.mosqito-process-row .wpb_content_element {
	height: 100%;
	margin-bottom: 0;
}

.mosqito-process-step {
	position: relative;
	height: 100%;
	text-align: center;
}

.mosqito-process-step__icon {
	display: block;
	width: 64px;
	height: 64px;
	margin: 0 auto 16px;
}

.mosqito-process-step__icon img {
	display: block;
	width: 64px;
	height: 64px;
	object-fit: contain;
}

.mosqito-process-step__title {
	margin: 0 0 10px;
	color: var(--mosqito-ink);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.025em;
	text-transform: uppercase;
}

.mosqito-process-step__description {
	margin: 0;
	color: var(--mosqito-muted);
	font-size: 12px;
	line-height: 1.55;
}

.mosqito-process-row > .vc_column_container:not(:last-child) .mosqito-process-step::after {
	position: absolute;
	top: 22px;
	right: -25px;
	color: var(--mosqito-primary);
	content: "→";
	font-size: 25px;
	line-height: 1;
}

/*
 * Trzy przewagi firmy wyświetlane pod sliderem.
 */
.mosqito-refresh-page .mosqito-refresh__content > .vc_row.mosqito-benefits-row {
	display: flex;
	max-width: 1000px;
	padding: 38px 12px 34px;
	border-top: 1px solid var(--mosqito-border);
	border-bottom: 1px solid var(--mosqito-border);
	align-items: stretch;
	flex-wrap: wrap;
	background: var(--mosqito-surface);
}

.mosqito-benefits-row::before,
.mosqito-benefits-row::after {
	display: none;
}

.mosqito-benefits-row .vc_column_container > .vc_column-inner {
	height: 100%;
	padding-right: 20px;
	padding-left: 20px;
}

.mosqito-benefits-row .wpb_content_element {
	margin-bottom: 0;
}

.mosqito-benefit {
	display: flex;
	height: 100%;
	align-items: flex-start;
	gap: 18px;
}

.mosqito-benefit__icon {
	display: block;
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
}

.mosqito-benefit__icon img {
	display: block;
	width: 48px;
	height: 48px;
	object-fit: contain;
}

.mosqito-benefit__content {
	min-width: 0;
}

.mosqito-benefit__title {
	margin: 0 0 9px;
	color: var(--mosqito-ink);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.mosqito-benefit__description {
	margin: 0;
	color: var(--mosqito-muted);
	font-size: 12px;
	line-height: 1.55;
}

.mosqito-services-row .vc_column_container > .vc_column-inner {
	padding-right: 9px;
	padding-left: 9px;
}

.mosqito-services-row {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
}

.mosqito-services-row::before,
.mosqito-services-row::after {
	display: none;
}

.mosqito-services-row > .vc_column_container {
	display: flex;
	width: 25%;
	flex: 0 0 25%;
}

.mosqito-services-row > .vc_column_container > .vc_column-inner,
.mosqito-services-row > .vc_column_container > .vc_column-inner > .wpb_wrapper,
.mosqito-services-row .wpb_text_column,
.mosqito-services-row .wpb_text_column > .wpb_wrapper {
	display: flex;
	width: 100%;
}

.mosqito-services-row .wpb_content_element {
	margin-bottom: 0;
}

.mosqito-wpbakery-card,
.mosqito-wpbakery-card * {
	box-sizing: border-box;
}

.mosqito-wpbakery-card {
	display: flex;
	width: 100%;
	height: 100%;
	min-height: 300px !important;
	padding: 30px 26px 26px !important;
	overflow: hidden;
	border: 1px solid #e5e8ed !important;
	color: var(--mosqito-ink);
	flex-direction: column;
	background: var(--mosqito-surface) !important;
	box-shadow: 0 3px 16px rgba(23, 32, 51, 0.04) !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.mosqito-wpbakery-card:hover {
	border-color: rgba(6, 74, 147, 0.35);
	box-shadow: 0 18px 42px rgba(23, 32, 51, 0.11);
	transform: translateY(-4px);
}

.mosqito-wpbakery-card__icon {
	display: block;
	width: 72px !important;
	height: 72px !important;
	margin: 0 0 24px !important;
	overflow: visible !important;
	color: var(--mosqito-primary);
	flex: 0 0 72px;
}

.mosqito-wpbakery-card__icon svg,
.mosqito-wpbakery-card__icon img {
	display: block !important;
	width: 72px !important;
	height: 72px !important;
	max-width: 72px !important;
	max-height: 72px !important;
	object-fit: contain;
}

.mosqito-wpbakery-card__title {
	max-width: 145px;
	margin: 0 0 14px !important;
	color: var(--mosqito-ink);
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: 0.015em;
	text-transform: uppercase !important;
}

.mosqito-wpbakery-card__title a {
	color: inherit;
	text-decoration: none;
}

.mosqito-wpbakery-card__title a:hover,
.mosqito-wpbakery-card__title a:focus-visible {
	color: var(--mosqito-primary);
}

.mosqito-wpbakery-card__description {
	margin: 0 0 20px !important;
	color: var(--mosqito-muted);
	font-size: 12px !important;
	line-height: 1.55 !important;
}

.mosqito-wpbakery-card__arrow {
	display: inline-flex;
	width: 34px;
	height: 28px;
	margin-top: auto;
	align-items: center;
	color: var(--mosqito-primary);
	font-size: 23px;
	line-height: 1;
	text-decoration: none;
}

.mosqito-wpbakery-card__arrow span {
	transition: transform 0.2s ease;
}

.mosqito-wpbakery-card__arrow:hover span,
.mosqito-wpbakery-card__arrow:focus-visible span {
	transform: translateX(4px);
}

@media only screen and (max-width: 900px) {
	.mosqito-refresh-page .mosqito-refresh__content > .vc_row {
		width: calc(100% - 36px);
	}

	.mosqito-services-row > .vc_column_container {
		width: 50%;
		flex-basis: 50%;
	}

	.mosqito-refresh .mosqito-services {
		padding: 72px 20px;
	}

	.mosqito-refresh .mosqito-services__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mosqito-refresh .mosqito-services--compact .mosqito-services__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media only screen and (max-width: 767px) {
	.mosqito-refresh-page .mosqito-refresh__content > .vc_row.mosqito-process-row {
		display: block;
		padding-bottom: 16px;
	}

	.mosqito-process-row > .vc_column_container {
		width: 100%;
		margin-bottom: 38px;
		flex: none;
	}

	.mosqito-process-row > .vc_column_container:not(:last-child) .mosqito-process-step::after {
		top: auto;
		right: 50%;
		bottom: -30px;
		content: "↓";
		transform: translateX(50%);
	}

	.mosqito-refresh-page .mosqito-refresh__content > .vc_row.mosqito-benefits-row {
		display: block;
		padding-top: 28px;
		padding-bottom: 10px;
	}

	.mosqito-benefits-row .vc_column_container {
		margin-bottom: 24px;
	}

	.mosqito-services-row {
		display: block;
	}

	.mosqito-services-row > .vc_column_container {
		width: 100%;
		flex: none;
	}

	.mosqito-services-row > .vc_column_container > .vc_column-inner,
	.mosqito-services-row > .vc_column_container > .vc_column-inner > .wpb_wrapper,
	.mosqito-services-row .wpb_text_column,
	.mosqito-services-row .wpb_text_column > .wpb_wrapper {
		display: block;
	}

	.mosqito-wpbakery-card {
		height: auto;
	}
}

@media only screen and (max-width: 600px) {
	.mosqito-refresh-page .mosqito-refresh__content > .vc_row {
		width: calc(100% - 28px);
	}

	.mosqito-services-row .vc_column_container {
		margin-bottom: 18px;
	}

	.mosqito-wpbakery-card {
		min-height: 0 !important;
	}

	.mosqito-refresh .mosqito-services {
		padding: 56px 18px;
	}

	.mosqito-refresh .mosqito-services__header {
		margin-bottom: 30px;
	}

	.mosqito-refresh .mosqito-services__grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.mosqito-refresh .mosqito-services--compact .mosqito-services__grid {
		grid-template-columns: 1fr;
	}

	.mosqito-refresh .mosqito-service-card__body {
		padding: 22px;
	}

	.mosqito-refresh .mosqito-services--compact .mosqito-service-card {
		min-height: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mosqito-refresh .mosqito-service-card,
	.mosqito-refresh .mosqito-service-card__image,
	.mosqito-refresh .mosqito-service-card__link span,
	.mosqito-wpbakery-card,
	.mosqito-wpbakery-card__arrow span {
		transition-duration: 0.01ms;
	}
}
