@import 'https://cdn.jsdelivr.net/npm/swiper@12/swiper-bundle.min.css';
@import './reset.css';
@import './components/header.css';
@import './components/footer.css';
@import './components/accordeon.css';
@import './components/popup.css';
@import './pages/home.css';
@import './pages/room.css';
@import './pages/programm.css';
@import './pages/taxonomy.css';
@import './pages/services.css';

@font-face {
	font-family: 'Algorytm TRIAL';
	src: url('../fonts/AlgorytmTRIAL-Regular.otf') format('opentype');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Algorytm TRIAL';
	src: url('../fonts/AlgorytmTRIAL-Medium.otf') format('opentype');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Canela LCG';
	src: url('../fonts/CanelaLCG-TextLight.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

:root {
	--white: #fff;
	--black: #000;

	--font-family: "Algorytm TRIAL", sans-serif;
	--second-family: "Canela LCG", sans-serif;

	--sm: 767.5px;
}

.container {
	max-width: 1920px;
	width: 100%;
	margin: 0px auto;
	padding: 0px 20px;
	height: 100%;
}


html {
	font-size: 10px;
	/* scroll-behavior: smooth; */
}

body {
	font-size: 16px;
	font-weight: 400;
	line-height: 130%;
	min-width: 320px;
	position: relative;
	color: var(--black);
	overflow-x: hidden;
	font-family: var(--font-family);
	/* scroll-behavior: smooth; */
	font-variant-numeric: lining-nums tabular-nums;

}

body._lock {
	overflow: hidden;
}

img {
	max-width: 100%;
	width: 100%;
}


b,
strong {
	font-weight: bold;
}

* {
	outline: none;
	box-sizing: border-box;
	line-height: 130%;
}

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

a {
	color: inherit;
	transition: 0.3s ease;
	text-decoration: none;
}

a:hover {
	text-decoration: none;
}

::placeholder {
	font-size: 16px;
}

.wrapper {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 100vh;
}


.page {
	flex: 1 1;
	display: flex;
	flex-direction: column;
}

.btn {
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: fit-content;
	border-radius: 66px;
	padding: 16px 24px;
	background-color: var(--black);
	color: var(--white);
	font-size: 16px;
	font-weight: 500;
	line-height: 100%;
	text-transform: uppercase;
	font-family: var(--font-family);
	cursor: pointer;
	transition: .3s ease;
}

.btn:hover {
	background: rgba(0, 0, 0, 0.7);
}

.btn--transparent {
	background: rgba(255, 255, 255, 0.2);
}

.btn--white {
	color: var(--black);
	background-color: var(--white);
}

picture {
	display: flex;
}

.title {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 24px;
}

.title p {
	font-family: var(--font-family);
	text-transform: uppercase;
	text-align: center;
	color: var(--black);
}

.title h2,
.title h1 {
	font-family: var(--second-family);
	font-weight: 300;
	font-size: 40px;
	line-height: 100%;
	text-transform: uppercase;
	text-align: center;
	color: var(--black);
}


.title ul {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 30px;
	font-size: 16px;
	line-height: 100%;
	text-transform: uppercase;
	margin-top: 24px;
}

.title ul li {
	position: relative;
}

.title ul li:after {
	content: '•';
	position: absolute;
	right: -18px;
}

.title ul li:last-child:after {
	display: none;
}

.section {
	padding: 160px 0;
}


@media(max-width: 767.5px) {
	body {
		font-size: 14px;
	}

	::placeholder {
		font-size: 14px;
	}


	.btn {
		font-size: 14px;
	}

	.title {
		gap: 16px;
	}

	.title h2 {
		font-size: 20px;
		line-height: 110%;
	}

	.title h1 {
		font-size: 24px;
		line-height: 110%;
	}

	.title ul {
		font-size: 14px;
	}


	.section {
		padding: 80px 0;
	}
}



.not-found {
	margin: 120px 0 96px;
}

.container {}

.not-found__inner {
	max-width: 1272px;
	margin: 0 auto;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 80px;
	align-items: center;
	justify-content: center;
}

.not-found__img {}

.not-found__img img {
	aspect-ratio: 306/420;
	object-fit: cover;
	border-radius: 80px 80px 12px 12px;
}

.not-found__text {
	display: flex;
	flex-direction: column;
	gap: 48px;
	align-items: center;
	justify-content: center;
	color: var(--black);
	text-align: center;
	text-transform: uppercase;
}

.not-found__text h1 {
	font-family: var(--second-family);
	font-size: 60px;
	line-height: 100%;
}

.not-found__text a {
	font-weight: 500;
	line-height: 100%;
}

.error404 .footer {
	display: none;
}



.checkbox-item {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	position: relative;
}




.checkbox-input {
	appearance: none;
	width: 16px;
	height: 16px;
	border: 1px solid var(--white);
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: center;
	cursor: pointer;
	transition: .3s ease;
	margin: 0;
}


.checkbox-label {
	cursor: pointer;
	user-select: none;
	font-size: 16px;
	line-height: 110%;
}


.checkbox-input:checked {
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='11' height='9' viewBox='0 0 11 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M0.353516 4.35352L3.35352 7.35352L10.3535 0.353516' stroke='white'/%3e%3c/svg%3e ");
}

.home {
	.checkbox-input {
		border: 1px solid var(--black);
	}

	.checkbox-input:checked {
		background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='11' height='9' viewBox='0 0 11 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M0.353516 4.35352L3.35352 7.35352L10.3535 0.353516' stroke='black'/%3e%3c/svg%3e ");
	}

}














@media(max-width: 992px) {
	.not-found__inner {
		gap: 64px;
	}

	.not-found__img img {
		aspect-ratio: 160/220;
		width: 100%;
		height: auto;
	}

	.not-found__text {
		gap: 32px;
	}

	.not-found__text h1 {
		font-size: 24px;
		line-height: 110%;
	}

	.checkbox-label {
		font-size: 14px;
	}

}

@media(max-width: 420px) {
	.not-found__img img {
		max-width: 160px;
		border-radius: 40px 40px 12px 12px;
	}
}


.coock {
    position: fixed;
    left: 20px;
    bottom: 72px;
    z-index: 99;
    padding: 13px;

    display: none; /* JS поменяет на flex */
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    max-width: 252px;
    width: 100%;
    border-radius: 64px;
    color: var(--white);
    background-color: var(--black);
    
    /* Для анимации */
    opacity: 0;
    transition: opacity 0.5s ease, background-color 0.3s ease; 
}

.coock.show {
    opacity: 1;
}

/* Ссылка внутри */
.coock a {
    text-decoration: underline;
    color: inherit;
}

.home .coock {
	background: rgba(255, 255, 255, 0.2);
}

.coock--black {
	background-color: var(--black);
}

.home .coock--black {
	background-color: var(--black);
}

.coock-btn {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: var(--white);
	cursor: pointer;
	border: none;
	outline: none;
	flex: 0 0 40px;
}

.doc-block {
	display: flex;
	flex-direction: column;
	gap: 50px;
	max-width: 1093px;
	margin: 0 auto 200px;
}

.doc-desc {
	padding-top: 20px;
	border-top: 1px solid #000;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 48px;
	flex-wrap: wrap;
}

.doc-desc__title {
	flex: none;
	font-weight: 400;
	font-size: 16px;
	line-height: 100%;
	text-transform: uppercase;
	color: var(--black);
}

.doc-desc__text {
	flex: 0 1 543px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	font-weight: 400;
	font-size: 16px;
	line-height: 110%;
	color: var(--black);
}

.doc-main {
	.services-main__title {
		max-width: 1160px;
		margin: 0 auto 128px;
	}
}

@media(max-width: 768px) {
	.doc-desc__title {
		font-size: 14px;
		line-height: 100%;
	}

	.doc-desc__text {
		font-size: 14px;
	}

	.doc-block {
		margin: 0 auto 80px;
	}

}