/* ----------- Fonts ----------- */
@font-face {
	font-family: 'Inter';
	src: url('../fonts/subset-Inter18pt-Regular.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Inter';
	src: url('../fonts/subset-Inter18pt-SemiBold.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Inter';
	src: url('../fonts/subset-Inter18pt-Italic.woff2') format('woff2');
	font-weight: normal;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: 'Montserrat';
	src: url('../fonts/subset-Montserrat-Regular.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Montserrat';
	src: url('../fonts/subset-Montserrat-Medium.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Montserrat';
	src: url('../fonts/subset-Montserrat-SemiBold.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

/* ------------------------------ */


/* ----------- Varriables ----------- */
:root {
	--primary-dark: #02111D;
	--white: #ffffff;
	--gray-200: #E5E7EB;
	--gray-300: #D1D5DB;
	--gray-400: #9CA3AF;
	--gray-500: #6B7280;
	--gray-600: #4B5563;
	--secondary: #041D31;

	--heading-font: 'Montserrat', sans-serif;
	--text-font: 'Inter', sans-serif;

	--main-padding: 64px;
	--main-margin: 32px;
	--border-radius: 12px;
}

/* ------------------------------------ */


/* ----------- Reset Base Styles --------- */
/* --- 1. Базове скидання (Reset) --- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

* {
	margin: 0;
	padding: 0;
	font-weight: inherit;
	font-size: inherit;
	font-style: inherit;
}

html {
	-webkit-text-size-adjust: none;
	scroll-behavior: smooth;
	height: 100%;
}

body {
	min-height: 100vh;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeSpeed;
	overflow-x: hidden;
}

::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0.6);
	;
}

::-webkit-scrollbar-thumb {
	background-color: #041d31ae;
	border-radius: 10px;
	border: 2px solid transparent;
	background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
	background-color: var(--white);
}

ul,
ol {
	list-style: none;
}

a {
	text-decoration: none;
	color: inherit;
}

img,
picture,
svg {
	max-width: 100%;
	display: block;
}

/* --- 2. Скидання для форм та інпутів --- */
input,
button,
textarea,
select {
	font: inherit;
	color: inherit;
	background: transparent;
	border: none;
	outline: none;
}

button {
	cursor: pointer;
	background: none;
	border: none;
	padding: 0;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
textarea {
	-webkit-appearance: none;
	appearance: none;
}

input::-webkit-calendar-picker-indicator {
	opacity: 0;
	/* Робимо невидимою */
	position: absolute;
	/* Розтягуємо на все поле */
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
	/* Щоб курсор ставав "ручкою" */
}

:focus,
:focus-visible {
	outline: none;
}

textarea {
	resize: none;
}

input::-ms-clear,
input::-ms-reveal {
	display: none;
	width: 0;
	height: 0;
}

.primary-form input:-webkit-autofill,
.primary-form input:-webkit-autofill:hover,
.primary-form input:-webkit-autofill:focus,
.primary-form input:-webkit-autofill:active {
	/* Створюємо величезну внутрішню тінь кольору вашого фону */
	-webkit-box-shadow: 0 0 0 1000px #ffffff00 inset !important;

	/* Встановлюємо колір тексту */
	-webkit-text-fill-color: var(--secondary) !important;

	/* Плавний перехід, щоб фон не "блимав" при завантаженні */
	transition: background-color 5000s ease-in-out 0s;
}

.contact-block__form input:-webkit-autofill,
.contact-block__form input:-webkit-autofill:hover,
.contact-block__form input:-webkit-autofill:focus,
.contact-block__form input:-webkit-autofill:active {
	/* Створюємо величезну внутрішню тінь кольору вашого фону */
	-webkit-box-shadow: 0 0 0 1000px var(--primary-dark) inset !important;

	/* Встановлюємо колір тексту */
	-webkit-text-fill-color: var(--gray-200) !important;

	/* Плавний перехід, щоб фон не "блимав" при завантаженні */
	transition: background-color 5000s ease-in-out 0s;
}

/* --- 3. Скидання для таблиць --- */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* --- 4. WordPress специфічні фікси --- */
.alignleft {
	float: left;
	margin: 0 1em 1em 0;
}

.alignright {
	float: right;
	margin: 0 0 1em 1em;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

/* --------------------------------------- */


/* ------------- Basic Styles ------------ */
body {
	background-color: var(--primary-dark);
	color: var(--gray-200);
	font-family: var(--text-font);
	font-weight: 400;
}

main {
	margin-bottom: 68px;
}

a {
	color: var(--gray-200);
}

@media (max-width: 1452px) {
	.container {
		width: 100%;
		padding-left: 16px;
		padding-right: 16px;
	}
}

@media (min-width: 1453px) {
	.container {
		width: 1420px;
		padding: 0;
		margin-left: auto;
		margin-right: auto;
	}
}

h1 {
	font-family: var(--heading-font);
	font-size: 48px;
	line-height: 1.5;
	letter-spacing: 2%;
	font-weight: 400;
	text-align: center;
}

h2 {
	font-family: var(--heading-font);
	font-size: 32px;
	line-height: 1.5;
	letter-spacing: 2%;
	font-weight: 500;
	text-align: center;
	text-transform: uppercase;
	color: var(--gray-200);
}

h3 {
	line-height: 1.5;
}

button.rounded,
a.button-rounded {
	display: flex;
	gap: 12px;
	justify-content: center;
	align-items: center;
	padding: 16px 20px;
	border: 1px solid var(--white);
	border-radius: 40px;
	font-family: var(--heading-font);
	font-weight: 600;
	line-height: 1.5;
	text-transform: uppercase;
	background: none;
	cursor: pointer;
}

button.rounded.dark {
	border: 2px solid var(--secondary);
	color: var(--secondary);
}

button.rounded.active {
	border: 2px solid var(--secondary);
	background-color: var(--primary-dark);
	color: var(--white);
}

button.rounded.active svg {
	fill: var(--white);
}

button.square,
.button-square {
	padding: 16px 32px;
	border-radius: 4px;
	text-transform: uppercase;
	background: var(--white);
	font-weight: 600;
	line-height: 1.5;
	color: var(--secondary);
}

button.square.dark {
	background: var(--secondary);
	color: var(--white);
}

@media (max-width: 640px) {
	h1 {
		font-size: 36px;
	}

	h2 {
		font-size: 28px;
	}

	button.rounded,
	a.button-rounded {
		padding: 12px 20px;
	}
}
.none {
	display: none !important;
}

/* --------------------------------------- */

/* ----------- General Classes ----------- */

.without-hero {
	padding-top: 180px;
	margin-bottom: 132px;
}

.icon-text {
	display: flex;
	align-items: center;
	gap: 8px;
}

.horizontal {
	display: flex;
	align-items: center;
}

/* sectin title */
.section-wrapper {
	margin-top: var(--main-margin);
	padding-top: var(--main-padding);
	padding-bottom: var(--main-padding);
}

.section-heading {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	margin-bottom: 56px;
}

.section-heading__sub {
	max-width: 940px;
	text-align: center;
	line-height: 140%;
	color: var(--gray-300);
}
@media (max-width: 640px) {
	.section-heading {
		margin-bottom: 44px;
	}

	.section-heading__sub {
		display: none;
	}

	.without-hero {
		padding-top: 152px;
	}
}

/* few inputs in row */
.few-inputs {
	width: 100%;
	display: flex;
	gap: 40px;
}

.few-inputs input {
	flex: 1;
}

/* cards INFO */
.info-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	align-items: stretch;
}

.info-card {
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

.info-card__media {
	width: 100%;
	height: 300px;
	object-fit: cover;
	background-position: center;
}

.info-card__body {
	height: 100%;
	padding: 24px 16px 40px 32px;
	border-left: 1px solid var(--gray-400);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
	position: relative;
}

.info-card__text-group {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.info-card__background-img {
	width: 132px;
	height: 132px;
	position: absolute;
	top: 8px;
	left: 16px;
	z-index: -1;
}

.info-card__number {
	font-weight: 700;
	color: var(--gray-400);
}

.info-card__title {
	text-transform: uppercase;
	font-weight: 600;
}

.info-card__excerpt {
	color: var(--gray-300);
}

.info-card__action {
	padding: 12px 20px;
	font-size: 14px;
	width: fit-content;
}
@media (max-width: 980px) {
	.info-card__body {
		padding-left: 24px;
	}

	.info-cards {
		gap: 20px 16px;
	}
}
@media (max-width: 640px) {
	.info-cards {
		grid-template-columns: repeat(1, 1fr);
	}

	.info-card__body {
		padding: 16px 16px 28px 28px;
	}

	.info-card__background-img {
		display: none;
	}

	.info-card__media {
		height: 280px;
	}
}

/* toast */
.toast {
	position: fixed;
	bottom: 30px;
	right: 30px;
	background: var(--white);
	color: var(--secondary);
	padding: 16px 24px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	gap: 15px;
	box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
	z-index: 1000;
	visibility: hidden;
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.4s ease;
}

.toast.active {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
}

.toast__close {
	cursor: pointer;
	opacity: 0.6;
	transition: opacity 0.3s;
	flex-shrink: 0;
}

.toast__close:hover {
	opacity: 1;
}

/* swiper */
.swiper-pagination.swiper-pagination-bullets-dynamic {
	position: static;
	transform: translateX(0) !important;
	margin: 32px auto 0;
}

.swiper-pagination-bullet-active,
.swiper-pagination-bullet {
	background-color: var(--white);
}

.swiper-next,
.swiper-prev {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 1;
	cursor: pointer;
}

.swiper-prev {
	left: -52px;
}

.swiper-next {
	right: -52px;
}

.swiper-button-disabled {
	opacity: 0.5;
}

@media (max-width: 1560px) {
	.swiper-next {
		right: -16px;
	}

	.swiper-prev {
		left: -16px;
	}
}

@media (min-width: 641px) {
	.swiper-pagination {
		display: none;
	}
}

@media (max-width: 640px) {
	.swiper-prev,
	.swiper-next {
		display: none;
	}
}

/* validation */
.just-validate-error-label {
	position: absolute;
	bottom: -6px;
	transform: translateY(100%);
	font-size: 12px;
	color: #ff4d4d;
}