/* ===== RESET ===== */
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* Анимация появления вверх */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(50px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Анимация появления слева направо */
@keyframes fadeInLeft {
	from {
		opacity: 0;
		transform: translateX(-50%);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* Анимация появления справа налево */
@keyframes fadeInRight {
	from {
		opacity: 0;
		transform: translateX(50%);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* Локальный шрифт кириллицы*/
@font-face {
	font-family: 'Bebas Neue Cyrillic';
	src: url('../fonts/bebasneuecyrillic.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* ===== ПЕРЕМЕННЫЕ (Design Tokens из Figma) ===== */
:root {
	/* Цвета */
	--color-white: #FFFFFF;
	--color-black: #000000;
	--color-red: #AD0013;

	/* Шрифты */
	--font-main: 'Inter', system-ui, -apple-system, sans-serif;
	--font-title: 'Bebas Neue Cyrillic', 'Bebas Neue', sans-serif;

	/* Размеры */
	--container-width: 100%;
	--container-padding: 50px;
	--container-width__320: 400px;
	--container-padding__320: 10px;
	--container-width__640: 640px;
	--container-padding__640: 20px;

	/* Анимации */
	--transition-fast: 0.2s ease;
	--transition-normal: 0.4s ease;
	--transition-slow: 1s ease;
}

/* ===== СКРЫТИЕ СКРОЛЛБАРА ===== */

/* Для Chrome, Safari, Edge, Opera (WebKit) */
::-webkit-scrollbar {
	width: 0;
	height: 0;
	background: transparent;
}

/* Для Firefox */
* {
	scrollbar-width: none;
}

/* Для старых версий IE и Edge */
* {
	-ms-overflow-style: none;
}

/* ===== БАЗОВЫЕ СТИЛИ ===== */
html {
	scroll-behavior: smooth;
	scroll-padding-top: 80px;
}

body {
	font-family: var(--font-main);
	font-size: 16px;
	color: var(--color-white);
	background-color: var(--color-black);
	overflow-x: hidden;
	/* Safe areas для iPhone */
	padding-top: env(safe-area-inset-top);
	padding-bottom: env(safe-area-inset-bottom);
	padding-left: env(safe-area-inset-left);
	padding-right: env(safe-area-inset-right);
}

body.lock {
	overflow: hidden;
}

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

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

ul,
ol {
	list-style: none;
}

address {
	text-decoration: none;
	font-style: normal;
}

*:focus-visible {
	outline: 2px solid var(--color-red);
	outline-offset: 2px;
}

a:focus-visible,
button:focus-visible {
	outline: 2px solid var(--color-red);
	outline-offset: 2px;
}

.animated {
	animation-duration: 0.8s;
	animation-fill-mode: forwards;
	animation-timing-function: ease-out;
}

.underlinemod::before {
	content: "";
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 1px;
	background-color: var(--color-white);
	transform: scaleX(0);
	transition: transform 0.3s ease-in-out;
}

.underlinemod:hover::before {
	transform: scaleX(0.99);
	/* При наведении масштабируем до 1 — линия появляется */
}

/* ===== КОНТЕЙНЕР ===== */
.container {
	position: relative;
	/*max-width: var(--container-width__320);*/
	margin: 0 auto;
	padding: 0 var(--container-padding__320);
}

@media (min-width: 640px) {
	.container {
		/*max-width: var(--container-width__640);*/
		padding: 0 var(--container-padding__640);
	}
}

@media (min-width: 1000px) {
	.container {
		/*max-width: var(--container-width);*/
		padding: 0 var(--container-padding);
	}
}

/* HEADER */
.header {
	width: 100%;
	padding: 20px 0;
	min-height: 100vh;
	min-height: 100dvh;
	position: relative;
}

.header__container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
}

.logo {
	mix-blend-mode: difference;
	z-index: 101;
}

/* Menu mobile */
.burger-btn {
	display: flex;
	align-items: center;
	gap: 10px;
	border: none;
	padding: 10px 20px 10px 18px;
	background-color: var(--color-black);
	border: 1px solid rgba(0, 0, 0, 0.1);
	font-size: 12px;
	color: var(--color-white);
	position: fixed;
	right: 10px;
	z-index: 90;
	transition: var(--transition-slow);
}

.burger-btn--visible {
	opacity: 0.5;
	transition: var(--transition-slow);
}

.nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	height: 100dvh;
	background-color: var(--color-black);
	color: var(--color-white);
	z-index: 99;

	opacity: 0;
	visibility: hidden;
	transform: translateX(100%);
	transition: all 0.4s ease;

	display: block;
	padding: 10px;
}

.nav--open {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
	z-index: 101;
}

.nav__wrapper {
	max-width: 400px;
	margin: 0 auto;
}

.nav__list {
	display: flex;
	flex-direction: column;
	align-items: start;
	gap: 14px;
	padding-top: 80px;
	margin-bottom: 80px;

	font-size: 32px;
	line-height: 1;
}

.nav__close {
	position: absolute;
	top: 15px;
	right: 10px;
	background: var(--color-red);
	border: none;
	color: white;
	width: 34px;
	height: 34px;
	font-size: 2rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.nav__links {
	display: flex;
	flex-direction: column;
	align-items: start;
	gap: 12px;

	text-transform: uppercase;
	font-size: 12px;
	line-height: 1;
	font-weight: 400;
}

.logo-burger {
	position: absolute;
	bottom: 0;
	padding-bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
}

.btn--header {
	display: none;
}

/* Header title */
.header__title-wrapper {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	display: flex;
	justify-content: center;
	overflow: hidden;
	mix-blend-mode: difference;
}

.header__title {
	font-family: var(--font-title);
	font-size: clamp(68px, 21vw, 418px);
	white-space: nowrap;
	color: var(--color-white);
	text-transform: uppercase;
	line-height: 1;
	transform: translateY(35%);
	clip-path: inset(0 0 35% 0);
	font-weight: 200;
}

/* Header video */
.header__video-wrapper {
	position: absolute;
	inset: 0;
}

.header__video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}


@media (min-width: 640px) {
	.header__container {
		display: flex;
		align-items: start;
		padding-top: 10px;
	}

	/* Nav menu*/
	.nav {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: translateX(0);
		width: auto;
		height: auto;
		background: none;
		padding: 0;
		margin: 0;
	}

	.nav__list {
		display: grid;
		grid-template-columns: repeat(2, auto);
		grid-template-rows: repeat(3, auto);
		grid-auto-flow: column;
		row-gap: 15px;
		column-gap: 100px;
		font-size: 12px;
		padding: 0;
		margin: 0;
	}

	.nav__item {
		width: 100%;
		max-width: 115px;
		background-color: var(--color-black);
		padding: 5px 10px;
	}

	.btn--header {
		display: block;
		font-size: 12px;
		line-height: 1;
		padding: 11.5px 10.5px;
		background-color: var(--color-white);
		color: var(--color-black);
	}

	.burger-btn,
	.nav__links,
	.logo-burger,
	.nav__close {
		display: none;
	}
}

@media (min-width: 1000px) {
	.logo {
		padding-right: 100px;
	}

	.btn--header {
		font-size: 16px;
		padding: 15px 20px;
	}

	.nav__list {
		font-size: 16px;
	}
}

@media (min-width: 1500px) {
	.logo {
		padding-right: 200px;
	}
}

@media (min-width: 1850px) {
	.logo {
		padding-right: 400px;
	}
}


/* ABOUT */
.about {
	padding-top: 60px;
	padding-bottom: 60px;
	text-transform: uppercase;
	font-weight: 200;
}

.about__text-up {
	display: flex;
	justify-content: center;
	line-height: 1;
	opacity: 0;
}

.about__header {
	display: flex;
	justify-content: center;
	text-align: center;
	line-height: 85%;
	font-family: var(--font-title);
	font-weight: 400;
	font-size: 48px;
	padding-top: 15px;
	padding-bottom: 20px;
	opacity: 0;
}

.about__text {
	font-size: 12px;
	line-height: 120%;
	text-align: left;
	padding-bottom: 10px;
	opacity: 0;
}

.about__textblock {
	padding-bottom: 20px;
}

.about__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 16px;
}

.about__content-item {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	text-align: center;
	line-height: 1;
	opacity: 0;
}

.about__content-head {
	opacity: 50%;
}

.about__text-up.animated,
.about__header.animated,
.about__text.animated,
.about__content-item.animated {
	animation-name: fadeInUp;
}


@media (min-width: 640px) {
	.about {
		padding-bottom: 100px;
	}

	.about__text-up {
		font-size: 20px;
	}

	.about__header {
		font-size: 64px;
		padding-top: 20px;
		padding-bottom: 20px;
	}

	.about__text {
		font-size: 14px;
		padding-bottom: 0px;
		letter-spacing: -5%;
	}

	.about__text:nth-of-type(2) {
		margin-left: auto;
		max-width: 50%;
		text-align: left;
	}

	.about__text:nth-of-type(3) {
		margin: 0 auto;
		max-width: 50%;
		text-align: center;
	}

	.about__text.animated {
		animation-name: fadeInUp;
	}

	.about__content {
		flex-direction: row;
		justify-content: space-between;
		align-items: start;
	}

	.about__content-item {
		max-width: 24%;
		gap: 10px;
	}

	.about__content-item:nth-of-type(1),
	.about__content-item:nth-of-type(2) {
		align-items: start;
		text-align: left;
		animation-duration: 2.5s;
		animation-name: fadeInLeft;
	}

	.about__content-item:nth-of-type(3),
	.about__content-item:nth-of-type(4) {
		align-items: end;
		text-align: right;
		animation-duration: 4s;
		animation-name: fadeInRight;
	}
}

@media (min-width: 1000px) {
	.about {
		padding-top: 100px;
		padding-bottom: 120px;
	}

	.about__header {
		font-size: 80px;
	}

	.about__text:nth-of-type(1) {
		max-width: 50%;
		margin-left: 20%;
		margin-right: 30%;
	}

	.about__text:nth-of-type(2) {
		text-align: justify;
		margin-left: 50%;
		margin-right: 10%;
	}

	.about__content-item {
		max-width: 20%;
		gap: 20px;
	}

	.about__content-text {
		line-height: 1.1;
	}
}

@media (min-width: 1500px) {
	.about {
		padding-top: 140px;
		padding-bottom: 140px;
	}

	.about__header {
		font-size: 120px;
		padding-top: 30px;
		padding-bottom: 30px;
	}

	.about__text,
	.about__content-item {
		font-size: 16px;
	}

	.about__textblock {
		padding-bottom: 30px;
	}

	.about__text:nth-of-type(3) {
		text-align: justify;
		margin: 0 40%;
	}
}

@media (min-width: 1850px) {
	.about {
		padding-top: 160px;
		padding-bottom: 160px;
	}

	.about__header {
		font-size: 190px;
	}

}

@media (min-width: 1920px) {
	.about__header {
		font-size: 196px;
	}
}

/* PORTFOLIO */
.portfolio {
	padding-bottom: 60px;
	text-transform: uppercase;
}

.portfolio__header {
	display: flex;
	justify-content: center;
	padding-bottom: 15px;
	font-size: 16px;
	font-weight: 200;
	line-height: 1;
	opacity: 0;
}

.portfolio__wrapper {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

.portfolio__item {
	grid-column: 1 / -1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.portfolio__item-image {
	height: 100%;
	opacity: 0;
}

.portfolio__item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 30%);
}

.portfolio__item-bottom {
	display: flex;
	justify-content: space-between;
	width: 100%;
}

.portfolio__item-left {
	display: flex;
	flex-direction: column;
	align-items: start;
	gap: 5px;
	font-size: 12px;
	line-height: 1;
	font-weight: 200;
}

.portfolio__item-left h3 {
	font-size: 12px;
	line-height: 1;
	font-weight: 200;
}

.portfolio__dropfile {
	display: flex;
	align-items: center;
	gap: 5px;
}

.portfolio__dropfile img {
	width: 8px;
}

.portfolio__item-right {
	display: flex;
	align-items: start;
	gap: 10px;
	font-size: 10px;
}

.portfolio__tag {
	padding: 6px;
	border: 1px solid var(--color-white);
	border-radius: 5px;
	opacity: 50%;
	line-height: 1;
	font-weight: 200;
}

.portfolio__all-small {
	display: block;
	margin: 0 auto;
	font-size: 12px;
	text-underline-offset: 3px;
}

.portfolio__all-big {
	display: none;
}

.portfolio__header.animated,
.portfolio__item.animated,
.portfolio__item-image.animated,
.portfolio__all-big.animated,
.portfolio__all-small.animated {
	animation-name: fadeInUp;
}

@media (min-width: 640px) {
	.portfolio__wrapper {
		grid-template-columns: repeat(2, 1fr);
		column-gap: 10px;
	}

	.portfolio__item {
		grid-column: span 1;
	}

	.portfolio__all-small {
		grid-column: span 2;
	}
}

@media (min-width: 1000px) {
	.portfolio {
		padding-bottom: 120px;
	}

	.portfolio__header {
		font-size: 20px;
	}

	.portfolio__item-left {
		font-size: 16px;
	}

	.portfolio__item-left h3 {
		font-size: 16px;
	}

	.portfolio__dropfile img {
		width: 12px;
	}

	.portfolio__tag {
		font-size: 14px;
	}

	.portfolio__all-small {
		font-size: 20px;
	}
}

@media (min-width: 1500px) {
	.portfolio {
		padding-bottom: 140px;
	}

	.portfolio__header {
		padding-bottom: 30px;
	}

	.portfolio__item-left {
		font-size: 20px;
	}

	.portfolio__item-left h3 {
		font-size: 20px;
	}

	.portfolio__dropfile img {
		width: 16px;
	}

	.portfolio__wrapper {
		grid-template-columns: repeat(6, 1fr);
		row-gap: 30px;
		column-gap: 20px;
	}

	.portfolio__item:nth-child(1),
	.portfolio__item:nth-child(2) {
		grid-column: span 3;
	}

	.portfolio__all-small {
		display: none;
	}

	.portfolio__all-big {
		display: block;
		text-align: center;
		padding-top: 47%;
		line-height: 0;
		width: 100%;
		height: 100%;
		font-size: 20px;
		font-weight: 200;
		border-radius: 10px;
		border: 1px solid rgba(255, 255, 255, 30%);
		background-image: url('../images/extra/allbackground.png');
		background-size: cover;
		opacity: 0;
		transition: font-size var(--transition-normal);
	}

	.portfolio__all-big:hover {
		font-size: 25px;
	}

	.portfolio__item:nth-child(3),
	.portfolio__item:nth-child(4),
	.portfolio__all-big {
		grid-column: span 2;
	}
}

@media (min-width: 1850px) {
	.portfolio {
		padding-bottom: 160px;
	}
}

/* SERVICES */
.services {
	text-transform: uppercase;
	min-height: 100vh;
	min-height: 100dvh;
	padding-bottom: 60px;
}

.services__wrapper {
	display: flex;
	flex-direction: column;
	position: relative;
	gap: 12px;
}

.services__item {
	padding: 20px 0;
	border-top: 1px solid rgba(255, 255, 255, 10%);
	border-bottom: 1px solid rgba(255, 255, 255, 10%);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	line-height: 1;
	background-color: var(--color-black);
	transition: background-color var(--transition-normal);
}

.services__item:hover {
	background-color: var(--color-red);
	transition: background-color var(--transition-normal);
}

.services__header {
	display: flex;
	justify-content: center;
	font-size: 16px;
	font-weight: 200;
	line-height: 1;
	background-color: var(--color-black);
	padding-bottom: 15px;
}

.services__item-header,
.services__item-bottom {
	font-size: 16px;
	font-weight: 300;
}

.services__item-main {
	font-size: 12px;
	font-weight: 200;
	opacity: 80%;
}

.services__item-bottom {
	display: flex;
	width: 100%;
	justify-content: space-between;
}

@media (min-width: 640px) {
	.services__wrapper {
		gap: 22px;
	}

	.servises__header {
		padding-bottom: 20px
	}

	.services__item {
		align-items: center;
		text-align: center;
		gap: 18px;
	}

	.services__item-main {
		font-size: 16px;
	}
}

@media (min-width: 1000px) {
	.services {
		padding-bottom: 120px;
	}
	
	.services__item {
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-start;
		text-align: left;
	}

	.services__item-header {
		min-width: 30%;
	}

	.services__item-main {
		justify-self: center;
		max-width: 35%;
		font-size: 14px;
	}

	.services__item-bottom {
		justify-content: flex-end;
		gap: 15px;
	}
}

@media (min-width: 1500px) {
	.services {
		padding-bottom: 140px;
	}

	.services__header {
		font-size: 20px;
		padding-bottom: 30px;
	}

	.services__wrapper {
		gap: 30px;
	}

	.services__item-header,
	.services__item-bottom {
		font-size: 20px;
	}

	.services__item-header {
		min-width: 30%;
	}

	.services__item-main {
		justify-self: center;
		max-width: 1210px;
		font-size: 16px;
	}

	.services__item-bottom {
		justify-content: flex-end;
		gap: 60px;
	}
}

@media (min-width: 1850px) {
	.services {
		padding-bottom: 160px;
	}
}

/* STAGES */
.stages {
	background-color: var(--color-black);
	color: var(--color-black);
	text-transform: uppercase;
	min-height: 100vh;
	position: relative;
	z-index: 1;
	overflow: hidden;
	border-bottom: 1px solid #777777;
}

.stages__header {
	text-align: center;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 140px;
	font-family: var(--font-title);
	font-weight: 200;
	line-height: 1;
	pointer-events: none;
	z-index: 1;
}

.stages__wrapper {
	position: absolute;
	top: 50%;
	left: 50%;
	will-change: clip-path transform;
	transform: translateZ(0);
	transform: translate(-50%, -50%);
	clip-path: circle(0% at 50% 50%);
	background-color: var(--color-white);
	height: 100vh;
	z-index: 1;
	width: 100%;
}

.stages__track {
	position: absolute;
	top: 50%;
	left: 100%;
	will-change: transform;
	transform: translate(50%, -50%);
	height: 100vh;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 40px;
	z-index: 1;
	overflow: visible;
	width: max-content;
}

.stages__card {
	width: 229px;
	height: 300px;
	background: rgba(255, 255, 255, 0.4);
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	padding: 30px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex-shrink: 0;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
	backdrop-filter: blur(15px);
	-webkit-backdrop-filter: blur(15px);
	transition: var(--transition-slow);
}

.stages__card-header {
	max-width: 70%;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	position: absolute;
	top: 15px;
	left: 15px;
}

.stages__card-number {
	display: none;
}

.stages__card-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 15px;
	width: 90%;
	position: absolute;
	bottom: 15px;
	left: 15px;
}

.stages__card-line {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 10px;
	line-height: 1;
	letter-spacing: -7%;
	font-size: 12px;
}

.stages__card-line img {
	padding-top: 3px;
}

@media (min-width: 640px) {
	.stages__header {
		font-size: 287px;
	}
}

@media (min-width: 1000px) {
	.stages__card {
		width: 400px;
		height: 450px;
	}

	.stages__card-header {
		font-size: 30px;
		top: 30px;
		left: 30px;
		transition: var(--transition-normal);
	}

	.stages__card-content {
		gap: 20px;
		bottom: 30px;
		left: 30px;
	}

	.stages__card-line {
		gap: 20px;
		font-size: 20px;
	}

	.stages__card-line img {
		min-width: 15px;
	}
}

@media (min-width: 1500px) {
	.stages__header {
		font-size: 500px;
	}

	.stages__card-content {
		opacity: 0;
	}

	.stages__card-header {
		top: auto;
		bottom: 30px;
		transition: var(--transition-slow);
	}

	.stages__card-number {
		display: inline-block;
		font-size: 30px;
		font-weight: 600;
		transition: var(--transition-slow);
	}

	.stages__card:nth-child(odd) {
		transform: translate(0%, -15%);
	}

	.stages__card:nth-child(even) {
		transform: translate(0%, 15%);
	}

	.stages__card:hover {
		height: 600px;
		transform: translate(0%, 0%);
		transition: var(--transition-slow);

		.stages__card-number {
			opacity: 0;
			transition: opacity var(--transition-normal);
		}

		.stages__card-header {
			top: 30px;
			bottom: auto;
			transition: var(--transition-normal);
		}

		.stages__card-content {
			opacity: 1;
			transition: opacity var(--transition-normal);
		}
	}
}

/* FOOTER */
.footer {
	background-color: var(--color-white);
	color: var(--color-black);
	padding-top: 40px;
	text-transform: uppercase;
	overflow: hidden;
	max-height: max-content;
}

.footer__line {
	font-size: 12px;
	line-height: 1;
}

.footer__line:nth-of-type(2) {
	opacity: 50%;
	padding-bottom: 15px;
}

.footer__btn {
	display: block;
	font-size: 12px;
	line-height: 1;
	padding: 11.5px 15.5px;
	width: max-content;
	background-color: var(--color-black);
	color: var(--color-white);
	border-radius: 4px;
	margin-bottom: 30px;
}

.footer__links {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	font-size: 12px;
	line-height: 1;
}

.footer__link:hover {
	color: var(--color-red);
}

.footer__content {
	margin-bottom: 30px;
}

.footer__rights,
.footer__left {
	display: none;
}

/* Анимированный SVG в футере */
.footer__slice-svg {
	width: 100%;
	overflow: visible;
	padding-bottom: 20px;
	overflow-x: hidden;

}

.slice-svg {
	width: 100%;
	height: auto;
	display: block;
	overflow: visible;
	overflow-x: hidden;
}

.slice-svg__stripe {
	will-change: transform;
	overflow-x: hidden;
}


@media (min-width: 640px) {
	.footer {
		padding-top: 20px;
	}

	.footer__content {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
	}

	.footer__line {
		font-size: 16px;
		max-width: 75%;
	}

	.footer__line:nth-of-type(2) {
		padding-bottom: 20px;
	}

	.footer__btn {
		font-size: 16px;
		padding: 15px 20px;
		margin-bottom: 0px;
	}

	.footer__links {
		gap: 15px;
		font-size: 16px;
		padding-bottom: 0px;
	}
}

@media (min-width: 1000px) {
	.footer {
		padding-top: 60px;
	}

	.footer__mobile {
		display: none;
	}

	.footer__left {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 30px;
		line-height: 1;
	}

	.footer__nav {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
	}

	.footer__location {
		display: flex;
		align-items: flex-start;
		flex-direction: column;
		gap: 16px;
		line-height: 1;
	}

	.footer__right {
		display: flex;
		flex-direction: column;
		align-items: flex-end;
		gap: 92px;
	}

	.footer__links {
		align-items: flex-end;
	}

	.footer__rights {
		display: flex;
		flex-direction: column;
		align-items: flex-end;
		gap: 16px;
		font-size: 16px;
		line-height: 1;
	}
}

@media (min-width: 1500px) {
	.footer {
		padding-top: 80px;
	}

	.footer__content {
		margin-bottom: 80px;
	}

	.footer__img-container {
		height: 900px;
	}

	.footer__slice-svg {
		padding-bottom: 50px;
	}
}


/* ===== КНОПКА "НАВЕРХ" ===== */
.scroll-top {
	display: none;
}

@media (min-width: 1000px) {
	.scroll-top {
		position: fixed;
		bottom: calc(40px + env(safe-area-inset-bottom));
		right: calc(40px + env(safe-area-inset-right));
		width: 60px;
		height: 60px;
		border: 1px solid rgba(0, 0, 0, 0.1);
		border-radius: 50%;
		background-color: var(--color-white);
		color: var(--color-black);
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: center;
		z-index: 90;
		opacity: 0;
		visibility: hidden;
		transform: translateY(20px) scale(0.8);
		transition: all var(--transition-normal);
		box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
	}

	.scroll-top--visible {
		opacity: 1;
		visibility: visible;
		transform: translateY(0) scale(1);
	}

	.scroll-top:hover {
		transform: translateY(-5px) scale(1.05);
		box-shadow: 0 8px 30px rgba(173, 0, 19, 0.4);
	}

	.scroll-top:active {
		transform: translateY(-2px) scale(0.98);
	}

	.scroll-top svg {
		width: 28px;
		height: 28px;
	}
}