/*
Theme Name: DEFES Security Group
Theme URI: https://defes.security
Author: DEFES
Author URI: https://defes.security
Description: Корпоративна тема для охоронної компанії DEFES Security Group. Контент головної сторінки редагується через ACF.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: defes
*/

/* ==========================================================================
   Variables
   ========================================================================== */
:root {
	--color-white: #ffffff;
	--color-black: #000000;
	--color-bg-dark: #0d0d0d;
	--color-bg-dark-2: #111111;
	--color-bg-light: #f9f9f9;
	--color-accent: #284395;
	--color-gray-light: #b6b6b6;
	--color-gray-mid: #808080;
	--color-gray-dark: #4d4d4d;
	--color-text-dark: #1a1a1a;

	--font-main: "Geologica", "Inter", Arial, sans-serif;

	--container-width: 1280px;
	--container-padding: 20px;

	--transition-base: 0.25s ease;
}

/* ==========================================================================
   Reset / base
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	font-family: var(--font-main);
	font-size: 16px;
	line-height: 1.5;
	color: var(--color-white);
	background-color: var(--color-bg-dark);
	overflow-x: hidden;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

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

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

button {
	font-family: inherit;
	cursor: pointer;
}

h1, h2, h3, h4, p {
	margin: 0;
}

.container {
	width: 100%;
	max-width: var(--container-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--container-padding);
	padding-right: var(--container-padding);
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
	opacity: 0;
	transform: translateY(32px);
	transition: opacity 0.7s ease, transform 0.7s ease;
	transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	.reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

.section {
	padding: 60px 0;
	scroll-margin-top: 72px;
}

#hero {
	scroll-margin-top: 72px;
}

.section--light {
	background-color: var(--color-white);
	color: var(--color-text-dark);
}

.section--dark {
	background-color: var(--color-bg-dark);
	color: var(--color-white);
}

.section__eyebrow {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 300;
	font-size: 14px;
	line-height: 18px;
	letter-spacing: 0.84px;
	text-transform: uppercase;
	color: var(--color-accent);
	margin-bottom: 12px;
}

.section__eyebrow-number {
	color: var(--color-accent);
}

.section__title {
	font-size: 28px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.84px;
	margin-bottom: 24px;
}

.section__title em {
	font-style: normal;
	color: var(--color-accent);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 8px 16px 8px 8px;
	background-color: var(--color-accent);
	color: #eaeaea;
	font-family: var(--font-main);
	font-weight: 600;
	font-size: 12px;
	line-height: 18px;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	border-radius: 0;
	position: relative;
	border: 1px solid rgba(182, 182, 182, 0.15);
	transition: background-color var(--transition-base);
	white-space: nowrap;
}

/*
 * Decorative corner brackets, independent of the real border above so both
 * can coexist (border-image would otherwise replace the border entirely).
 * Each corner is drawn from two small solid-color strips (a horizontal +
 * a vertical one) forming an "L", floating 1px outside the border.
 */
.btn::before {
	content: "";
	position: absolute;
	inset: -2px;
	pointer-events: none;
	background-repeat: no-repeat;
	background-image:
		linear-gradient(var(--btn-corner-color, rgba(182, 182, 182, 1)), var(--btn-corner-color, rgba(182, 182, 182, 1))),
		linear-gradient(var(--btn-corner-color, rgba(182, 182, 182, 1)), var(--btn-corner-color, rgba(182, 182, 182, 1))),
		linear-gradient(var(--btn-corner-color, rgba(182, 182, 182, 1)), var(--btn-corner-color, rgba(182, 182, 182, 1))),
		linear-gradient(var(--btn-corner-color, rgba(182, 182, 182, 1)), var(--btn-corner-color, rgba(182, 182, 182, 1))),
		linear-gradient(var(--btn-corner-color, rgba(182, 182, 182, 1)), var(--btn-corner-color, rgba(182, 182, 182, 1))),
		linear-gradient(var(--btn-corner-color, rgba(182, 182, 182, 1)), var(--btn-corner-color, rgba(182, 182, 182, 1))),
		linear-gradient(var(--btn-corner-color, rgba(182, 182, 182, 1)), var(--btn-corner-color, rgba(182, 182, 182, 1))),
		linear-gradient(var(--btn-corner-color, rgba(182, 182, 182, 1)), var(--btn-corner-color, rgba(182, 182, 182, 1)));
	background-position:
		top left, top left,
		top right, top right,
		bottom left, bottom left,
		bottom right, bottom right;
	background-size:
		6px 1px, 1px 6px,
		6px 1px, 1px 6px,
		6px 1px, 1px 6px,
		6px 1px, 1px 6px;
}

.btn__icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.services__header .btn {
	width: 100%;
	justify-content: center;
	padding: 16px 24px;
	font-size: 14px;
	border-color: #d4d9ea;
	--btn-corner-color: #284395;
}

.services__header .btn .btn__icon {
	width: 20px;
	height: 20px;
}

.btn:hover {
	background-color: #1c3170;
	color: #eaeaea;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--color-accent);
	color: var(--color-white);
	padding: 10px 16px;
	z-index: 10000;
}

.skip-link:focus {
	left: 10px;
}

/* ==========================================================================
   Site Header
   ========================================================================== */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	padding: 18px 0;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
	transition: background-color var(--transition-base);
}

.site-header.is-scrolled {
	background: rgba(13, 13, 13, 0.92);
	backdrop-filter: blur(6px);
}

.site-header.menu-open {
	background: var(--color-white);
}

.site-header.menu-open .site-logo__mark--light {
	display: none;
}

.site-header.menu-open .site-logo__mark--dark {
	display: block;
}

.site-header.menu-open .menu-toggle {
	color: var(--color-text-dark);
}

.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.site-logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.site-logo__icon {
	width: 32px;
	height: 32px;
	flex-shrink: 0;
}

.site-logo__mark {
	height: 44px;
	width: auto;
	display: block;
}

.site-logo__mark--dark {
	display: none;
}

.site-nav {
	display: none;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.site-header__phone {
	display: none;
}

.menu-toggle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(182, 182, 182, 0.15);
	border-radius: 0;
	color: var(--color-white);
}

.menu-toggle__bar {
	width: 18px;
	height: 2px;
	background-color: currentColor;
	transition: transform var(--transition-base), opacity var(--transition-base);
}

.menu-toggle.is-active .menu-toggle__bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active .menu-toggle__bar:nth-child(2) {
	opacity: 0;
}

.menu-toggle.is-active .menu-toggle__bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	max-height: 80vh;
	background-color: var(--color-white);
	border-bottom: 1px solid rgba(182, 182, 182, 0.15);
	padding: 16px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
	z-index: 999;
	overflow-y: auto;
}

.mobile-nav.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.mobile-nav__list a {
	display: block;
	padding: 13.6px 20px;
	font-size: 12px;
	font-weight: 300;
	letter-spacing: 1.32px;
	text-transform: uppercase;
	color: var(--color-text-dark);
}

.mobile-nav__phone {
	margin-top: 6px;
	width: 100%;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative;
	min-height: 640px;
	display: flex;
	align-items: flex-end;
	padding-top: 150px;
	padding-bottom: 90px;
	background-color: var(--color-bg-dark);
	background-size: cover;
	background-position: center;
	color: var(--color-white);
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 45%),
		linear-gradient(to right, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.25) 40%, rgba(0, 0, 0, 0) 70%);
}

.hero__inner {
	position: relative;
	z-index: 1;
}

.hero__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 28px;
	max-width: 520px;
}

.hero__group {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.hero__eyebrow {
	font-weight: 300;
	font-size: 14px;
	line-height: 18px;
	letter-spacing: 0.84px;
	text-transform: uppercase;
	color: var(--color-accent);
}

.hero__title {
	font-weight: 700;
	font-size: 52px;
	line-height: 60px;
	letter-spacing: 0.84px;
	text-transform: uppercase;
	color: var(--color-white);
}

.hero__subtitle {
	font-weight: 300;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0.84px;
	color: var(--color-gray-light);
}

.hero__cta {
	width: 100%;
	justify-content: center;
	padding: 16px 24px;
	font-size: 14px;
}

.hero__cta .btn__icon {
	width: 20px;
	height: 20px;
}

.contact__cta {
	width: 100%;
	justify-content: center;
	padding: 16px 24px;
	font-size: 14px;
}

.contact__cta .btn__icon {
	width: 20px;
	height: 20px;
}

/* ==========================================================================
   About
   ========================================================================== */
.about {
	background-image: url("assets/images/about-bg.png");
	background-position: center;
	background-size: cover;
	padding-bottom: 0;
}

.about__inner {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.about__image {
	order: 2;
	overflow: hidden;
}

.about__image img {
	width: 100%;
	object-fit: cover;
	aspect-ratio: 505 / 700;
}

.about__content {
	order: 1;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.about__content .section__eyebrow {
	margin-bottom: 0;
}

.about__text {
	font-weight: 300;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0.84px;
	color: var(--color-gray-light);
}

/* ==========================================================================
   Services
   ========================================================================== */
@media (max-width: 767px) {
	.services {
		padding-bottom: 0;
	}
}

.services__header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 8px;
}

.services__list {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	margin-top: 32px;
	padding-top: 32px;
}

@media (max-width: 767px) {
	.services__list {
		padding-top: 0;
	}
}

.services__list::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 100vw;
	transform: translateX(-50%);
	border-top: 1px solid rgba(182, 182, 182, 0.5);
}

.service-card {
	padding: 16px 16px 16px 12px;
	border-top: 1px solid rgba(182, 182, 182, 0.5);
	border-left: 1px solid rgba(182, 182, 182, 0.5);
}

.service-card__index {
	font-weight: 700;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0.84px;
	color: var(--color-accent);
	opacity: 0.2;
	margin-bottom: 8px;
}

.service-card__title {
	font-weight: 400;
	font-size: 20px;
	line-height: 26px;
	letter-spacing: 0.84px;
	margin-bottom: 12px;
	color: var(--color-text-dark);
}

.service-card__text {
	font-weight: 300;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0.84px;
	color: var(--color-gray-mid);
}

/* ==========================================================================
   Objects (map)
   ========================================================================== */
.objects {
	background-color: var(--color-bg-dark);
	background-image: url("assets/images/objects-bg.png");
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
}

.objects__map {
	position: relative;
	margin-top: 32px;
	border: 1px solid transparent;
	border-radius: 8px;
	overflow: hidden;
	background:
		linear-gradient(#0d0d0d, #0d0d0d) padding-box,
		linear-gradient(
			39deg,
			rgba(40, 67, 149, 0.22) 0%,
			rgba(52, 85, 172, 0.45) 16.25%,
			rgba(85, 122, 214, 0.7) 32.5%,
			rgba(147, 174, 245, 0.874) 36%,
			rgba(181, 200, 255, 0.95) 41.43%,
			rgba(104, 141, 233, 0.78) 60.54%,
			rgba(52, 85, 172, 0.4) 78%,
			rgba(40, 67, 149, 0.22) 100%
		) border-box;
	aspect-ratio: 358 / 310;
}

.objects__pin {
	cursor: pointer;
}

.objects__pin:hover,
.objects__pin:focus,
.objects__pin:focus-within {
	z-index: 10;
	outline: none;
}

.objects__pin-dot {
	display: block;
	width: 40px;
	aspect-ratio: 12 / 13;
	margin: 0 auto;
	color: var(--color-accent);
	filter: drop-shadow(0 0 6px rgba(40, 67, 149, 0.9)) drop-shadow(0 0 2px rgba(40, 67, 149, 0.9));
	transition: width var(--transition-base), filter var(--transition-base);
}

.objects__pin-icon {
	width: 100%;
	height: 100%;
	display: block;
}

.objects__pin:hover .objects__pin-dot,
.objects__pin:focus .objects__pin-dot,
.objects__pin:focus-within .objects__pin-dot {
	width: 48px;
	filter: drop-shadow(0 0 10px rgba(40, 67, 149, 1)) drop-shadow(0 0 4px rgba(40, 67, 149, 1));
}

.objects__pin-tooltip {
	position: absolute;
	bottom: calc(100% + 6px);
	left: 50%;
	background: var(--color-white);
	color: var(--color-text-dark);
	padding: 8px 12px;
	border-radius: 4px;
	font-size: 12px;
	white-space: nowrap;
	text-align: center;
	line-height: 1.3;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate(-50%, 6px) scale(0.92);
	transform-origin: bottom center;
	transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
}

.objects__pin:hover .objects__pin-tooltip,
.objects__pin:focus .objects__pin-tooltip,
.objects__pin:focus-within .objects__pin-tooltip {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0) scale(1);
}

.objects__pin-tooltip strong {
	display: block;
	font-size: 12px;
}

.objects__pin-tooltip span {
	display: block;
	font-size: 11px;
	color: var(--color-gray-dark);
}

/* MapLibre controls — restyled to fit the dark map */
.objects__map .maplibregl-ctrl-group {
	background-color: rgba(13, 13, 13, 0.85);
	border: 1px solid rgba(182, 182, 182, 0.2);
}

.objects__map .maplibregl-ctrl-group button {
	background-color: transparent;
}

.objects__map .maplibregl-ctrl-group button:hover {
	background-color: rgba(182, 182, 182, 0.15);
}

.objects__map .maplibregl-ctrl-icon {
	filter: invert(1);
}

/* ==========================================================================
   Advantages
   ========================================================================== */
.advantages {
	position: relative;
	background-color: var(--color-bg-light);
	color: var(--color-text-dark);
}

.advantages::before,
.advantages::after {
	content: "";
	position: absolute;
	top: 0;
	width: 1px;
	background-color: rgba(182, 182, 182, 1);
	pointer-events: none;
	transform: scaleY(0);
	transform-origin: top;
	transition: transform 0.9s ease;
}

.advantages.advantages--lines-in::before,
.advantages.advantages--lines-in::after {
	transform: scaleY(1);
}

@media (prefers-reduced-motion: reduce) {
	.advantages::before,
	.advantages::after {
		transform: none;
		transition: none;
	}
}

.advantages::before {
	left: 4.23%;
	height: 35px;
}

.advantages::after {
	left: 81.79%;
	height: 108px;
}

.advantages__list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	margin-top: 32px;
}

.advantage-card {
	background-color: var(--color-white);
	border-radius: 8px;
	padding: 24px;
}

.advantage-card__index {
	font-weight: 700;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0.84px;
	color: var(--color-accent);
	opacity: 0.2;
}

.advantage-card__title {
	font-weight: 400;
	font-size: 20px;
	line-height: 26px;
	letter-spacing: 0.84px;
	margin-bottom: 12px;
	color: var(--color-text-dark);
}

.advantage-card__text {
	font-weight: 300;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0.84px;
	color: var(--color-gray-mid);
}

.advantages__watermark {
	display: none;
}

/* ==========================================================================
   Approach
   ========================================================================== */
.approach__header {
	margin-bottom: 32px;
}

.approach__body {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.approach__image {
	overflow: hidden;
}

.approach__image img {
	width: 100%;
	object-fit: cover;
	aspect-ratio: 1 / 1;
}

.approach__list {
	display: flex;
	flex-direction: column;
}

.approach-step {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 24px var(--container-padding);
	margin: 0 calc(-1 * var(--container-padding));
	border-bottom: 1px solid rgba(182, 182, 182, 0.5);
}

.approach-step__label {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.approach-step__index {
	font-weight: 700;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0.84px;
	color: var(--color-accent);
	opacity: 0.2;
}

.approach-step__title {
	font-weight: 400;
	font-size: 20px;
	line-height: 26px;
	letter-spacing: 0.84px;
	color: var(--color-text-dark);
}

.approach-step__text {
	font-weight: 300;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0.84px;
	color: var(--color-gray-mid);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
	background-color: var(--color-bg-light);
}

.faq .section__eyebrow {
	justify-content: center;
}

.faq .section__title {
	text-align: center;
}

.faq__list {
	margin-top: 32px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.faq-item {
	width: 100%;
	max-width: 720px;
	background-color: var(--color-white);
}

.faq-item__question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px;
	background: none;
	border: none;
	text-align: left;
	font-family: inherit;
	font-weight: 400;
	font-size: 20px;
	line-height: 26px;
	letter-spacing: 0.84px;
	color: var(--color-text-dark);
}

.faq-item__icon {
	position: relative;
	flex-shrink: 0;
	width: 24px;
	height: 24px;
}

.faq-item__icon::before,
.faq-item__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	background-color: var(--color-accent);
	transform: translate(-50%, -50%);
	transition: transform var(--transition-base), opacity var(--transition-base);
}

.faq-item__icon::before {
	width: 16px;
	height: 2px;
}

.faq-item__icon::after {
	width: 2px;
	height: 16px;
}

.faq-item.is-open .faq-item__icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
	opacity: 0;
}

.faq-item__answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height var(--transition-base) ease;
}

.faq-item__answer-inner {
	padding: 0 20px 20px;
	font-weight: 300;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0.84px;
	color: var(--color-gray-mid);
}

/* ==========================================================================
   Contact + Footer (share one continuous background)
   ========================================================================== */
.contact-footer-group {
	background-color: var(--color-bg-dark);
	background-image: url("assets/images/contact-bg.png");
	background-position: center top;
	background-size: cover;
}

.contact {
	position: relative;
	overflow: hidden;
}

.contact__subtitle {
	color: var(--color-gray-light);
	font-weight: 300;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0.84px;
	margin-bottom: 24px;
}

.contact__info {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.contact__info-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 300;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0.84px;
	color: var(--color-gray-light);
}

.contact__info-item svg {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	color: var(--color-accent);
}

.contact__divider {
	height: 2px;
	margin: 32px 0;
	background: linear-gradient(
		90deg,
		rgba(40, 67, 149, 0) 0%,
		rgba(40, 67, 149, 0.3) 50%,
		rgba(65, 103, 194, 0.5) 75%,
		rgba(40, 67, 149, 0) 100%
	);
}

.contact__divider-vertical {
	display: block;
	position: absolute;
	z-index: 0;
	top: -521px;
	left: 81.6%;
	width: 2px;
	height: 551px;
	background: linear-gradient(
		180deg,
		rgba(40, 67, 149, 0) 0%,
		rgba(40, 67, 149, 0.3) 50%,
		rgba(65, 103, 194, 0.5) 75%,
		rgba(40, 67, 149, 0) 100%
	);
}

.contact__visual {
	display: block;
	position: relative;
	margin-top: 32px;
}

.contact__visual img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
	background-color: var(--color-bg-dark);
	padding: 32px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	text-align: center;
}

.contact-footer-group .site-footer {
	background-color: transparent;
	border-top: none;
}

.site-footer__logo {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
}

.site-footer__logo img,
.site-footer__logo svg {
	height: 90px;
	width: auto;
}

.site-footer__copyright {
	font-size: 12px;
	color: var(--color-gray-mid);
}

/* ==========================================================================
   Tablet and up
   ========================================================================== */
@media (min-width: 768px) {
	.services__list {
		grid-template-columns: repeat(2, 1fr);
		gap: 32px;
	}

	.service-card {
		border-top: none;
		border-bottom: 1px solid rgba(182, 182, 182, 0.5);
	}

	.advantages__list {
		grid-template-columns: repeat(2, 1fr);
	}

	.hero {
		padding-top: 190px;
		padding-bottom: 130px;
	}

	.hero__title {
		font-size: 48px;
	}

	.section__title {
		font-size: 40px;
		line-height: 1.2;
	}

	.objects__map {
		aspect-ratio: 1240 / 640;
	}

	.approach-step {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 14px;
		padding: 24px 0;
		margin: 0;
	}
}

/* ==========================================================================
   Large tablet / small desktop
   ========================================================================== */
@media (min-width: 900px) {
	.hero {
		padding-top: 230px;
		padding-bottom: 170px;
	}

	.hero__content {
		gap: 46px;
	}

	.hero__group {
		gap: 24px;
	}

	.hero__cta {
		width: 211px;
		justify-content: space-between;
		padding: 16px 24px 16px 12px;
	}

	.contact__cta {
		width: 211px;
		justify-content: space-between;
		padding: 16px 24px 16px 12px;
	}

	.services__header .btn {
		width: 211px;
		justify-content: space-between;
		padding: 16px 24px 16px 12px;
	}

	.hero__eyebrow {
		font-size: 14px;
		line-height: 18px;
		letter-spacing: 0.84px;
	}

	.hero__title {
		font-size: 68px;
		line-height: 72px;
		letter-spacing: 0.84px;
	}

	.hero__subtitle {
		font-size: 16px;
		line-height: 24px;
		letter-spacing: 0.84px;
	}
}

/* ==========================================================================
   Desktop and up
   ========================================================================== */
@media (min-width: 1024px) {
	.site-footer__logo img,
	.site-footer__logo svg {
		height: 120px;
	}

	.site-nav {
		display: block;
		margin: 0 24px;
	}

	.site-nav__list {
		display: flex;
		align-items: center;
		gap: 28px;
	}

	.site-nav a {
		font-size: 13px;
		font-weight: 600;
		text-transform: uppercase;
		letter-spacing: 0.04em;
		white-space: nowrap;
	}

	.site-header__phone {
		display: inline-flex;
	}

	.menu-toggle {
		display: none;
	}

	.hero {
		min-height: 900px;
		padding-top: 290px;
		padding-bottom: 204px;
	}

	.about__inner {
		display: grid;
		grid-template-columns: 505px 1fr;
		gap: 80px;
		align-items: start;
	}

	.about__image {
		order: initial;
		max-width: 505px;
	}

	.about__content {
		order: initial;
		max-width: 520px;
		padding-top: 40px;
		justify-self: end;
		position: sticky;
		top: 92px;
	}

	.services__list {
		grid-template-columns: repeat(4, 1fr);
		gap: 20px;
		padding-top: 0;
	}

	.service-card {
		position: relative;
		padding: 24px 12px 0 0;
		border-bottom: none;
		border-left: none;
		border-right: none;
	}

	.service-card::after {
		content: "";
		position: absolute;
		top: 0;
		right: 0;
		bottom: -100px;
		width: 1px;
		background-color: rgba(182, 182, 182, 0.5);
	}

	.service-card:last-child::after {
		display: none;
	}

	.service-card:last-child {
		padding-right: 0;
	}

	.advantages__list {
		grid-template-columns: repeat(3, 1fr);
	}

	.advantages::before {
		left: 26.7%;
		height: 80px;
	}

	.advantages::after {
		left: 71.7%;
		height: 183px;
	}

	.advantages__watermark {
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.advantages__watermark img {
		width: 100%;
		max-width: 260px;
		height: auto;
	}

	.approach__body {
		flex-direction: row;
		align-items: flex-start;
		gap: 24px;
	}

	.approach__list {
		flex: 1 1 58%;
	}

	.approach__image {
		flex: 0 0 42%;
		max-width: 560px;
		position: sticky;
		top: 92px;
		align-self: flex-start;
	}

	.contact__inner {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 158px;
		align-items: center;
		position: relative;
	}

	.contact__visual {
		display: block;
		position: relative;
		margin-top: 0;
		height: 100%;
	}

	.contact__divider-vertical {
		display: block;
		position: absolute;
		z-index: 0;
		top: -138px;
		left: 40px;
		width: 2px;
		height: 212px;
		background: linear-gradient(
			180deg,
			rgba(40, 67, 149, 0) 0%,
			rgba(40, 67, 149, 0.3) 50%,
			rgba(65, 103, 194, 0.5) 75%,
			rgba(40, 67, 149, 0) 100%
		);
	}

	.contact__visual img {
		display: block;
		position: relative;
		z-index: 1;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.contact__content {
		position: relative;
	}

	.contact__divider {
		width: calc(100% + 245px);
	}

	.section {
		padding: 100px 0;
	}

	.about {
		padding-bottom: 0;
	}
}

@media (min-width: 1280px) {
	.section__title {
		font-size: 52px;
		line-height: 62px;
	}
}
