@font-face {
	font-family: 'DaMiOne';
	src: url('../assets/fonts/DaMiOne-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Involve';
	src: url('../assets/fonts/Involve-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

:root {
	--color-bg: #0a0a0a;
	--color-bg-light: #1a1a1a;
	--color-text: #ffffff;
	--color-text-muted: rgba(255, 255, 255, 0.6);
	--color-accent-gold: #c9a84c;
	--color-gold-glow: rgba(201, 168, 76, 0.3);
	--color-line: rgba(255, 255, 255, 0.15);
	--color-hover: #FFF2AA;

	--font-hero-title: clamp(4rem, 10vw, 12rem);
	--font-body: clamp(0.875rem, 1.2vw, 1.125rem);
	--font-small: clamp(0.75rem, 1vw, 0.875rem);

	--spacing-xs: 0.5rem;
	--spacing-sm: 1rem;
	--spacing-md: 2rem;
	--spacing-lg: 4rem;
	--container-padding: clamp(1rem, 4vw, 4rem);
}

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

html,
body {
	height: 100%;
	overflow: hidden;
}

body {
	font-family: 'Inter', sans-serif;
	font-weight: 300;
	color: var(--color-text);
	background: var(--color-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

button {
	border: none;
	background: none;
	color: inherit;
	cursor: pointer;
	font: inherit;
}

.loader {
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: var(--color-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.8s ease;
}

.loader.is-hidden {
	opacity: 0;
	pointer-events: none;
}

.loader__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--spacing-md);
}

.loader__logo {
	width: clamp(200px, 30vw, 455px);
	height: auto;
}

.loader__video {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: none;
}

.loader__video.is-playing {
	display: block;
}

.page {
	position: relative;
	width: 100%;
	height: 100vh;
	height: 100dvh;
	opacity: 0;
	transition: opacity 0.8s ease 0.3s;
}

.page.is-visible {
	opacity: 1;
}

.bg-effects {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

.bg-effects__orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(140px);
	will-change: transform;
}

.bg-effects__orb--1 {
	width: 700px;
	height: 320px;
	background: linear-gradient(180deg, rgba(255, 220, 90, 0.8) 0%, rgba(0, 0, 0, 0.45) 100%);
	top: 10%;
	left: 5%;
}

.bg-effects__orb--2 {
	width: 550px;
	height: 260px;
	background: linear-gradient(180deg, rgba(255, 220, 90, 0.8) 0%, rgba(0, 0, 0, 0.45) 100%);
	bottom: 20%;
	right: 5%;
}

.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
}

.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: var(--spacing-sm) var(--container-padding);
}

.header__logo {
	z-index: 101;
	display: flex;
	align-items: center;
}

.header__logo-img {
	width: 165px;
	height: 29px;
	transition: filter 0.2s;
}

.header__logo:hover .header__logo-img {
	filter: brightness(0.75) sepia(1) brightness(1.05) saturate(1.3);
}

.header__nav {
	display: flex;
	align-items: center;
	gap: var(--spacing-md);
}

.header__phone {
	font-family: 'Involve', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0;
	color: #ffffff;
	transition: color 0.2s;
	display: flex;
	align-items: center;
	height: 26px;
}

.header__phone:hover {
	color: var(--color-hover);
}

.header__socials {
	display: flex;
	gap: var(--spacing-sm);
}

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

.header__social-icon {
	width: 35px;
	height: 35px;
	object-fit: contain;
	opacity: 0.7;
	transition: filter 0.2s, opacity 0.2s;
}

.header__social:hover .header__social-icon {
	opacity: 1;
	filter: brightness(0.75) sepia(1) brightness(1.05) saturate(1.3);
}

.header__burger {
	display: none;
	flex-direction: column;
	gap: 6px;
	width: 32px;
	padding: 4px 0;
}

.header__burger span {
	display: block;
	height: 1.5px;
	background: var(--color-text);
	border-radius: 1px;
	transition:
		transform 0.3s,
		opacity 0.3s;
}

.header__line {
	height: 1px;
	background: var(--color-line);
}

.hero {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100vh;
	height: 100dvh;
	padding: 0 var(--container-padding);
}

.hero__content {
	position: relative;
	width: 100%;
	max-width: 1440px;
	height: 100%;
	margin: 0 auto;
}

.hero__line {
	position: absolute;
	background: #ffffff;
	will-change: transform;
	transition: transform 0.4s ease-out;
	z-index: 0;
}

.hero__line--vertical {
	width: 2px;
	height: 507px;
	left: 60px;
	top: -300px;
	transform-origin: top center;
	transform: rotate(0.68deg);
}

.hero__line--horizontal {
	position: relative;
	width: 597px;
	height: 1px;
	margin-top: var(--spacing-sm);
}

.hero__bottom {
	position: absolute;
	bottom: 6vh;
	left: 0;
	z-index: 3;
}

.hero__title {
	font-family: 'DaMiOne', sans-serif;
	font-size: 96px;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 100%;
	position: relative;
	z-index: 1;
	white-space: nowrap;
	margin-left: 100px;
}

.hero__model {
	position: absolute;
	top: 40%;
	left: 55%;
	transform: translate(-40%, -55%);
	z-index: 2;
	width: clamp(700px, 90vw, 1600px);
	height: clamp(600px, 90vh, 1200px);
}

.hero__model model-viewer {
	width: 100%;
	height: 100%;
	--poster-color: transparent;
}

.hero__text {
	position: relative;
	z-index: 3;
	margin-top: var(--spacing-md);
	margin-left: 250px;
	max-width: 550px;
}

.hero__desc {
	font-family: 'Involve', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 100%;
	letter-spacing: 0;
	color: var(--color-text-muted);
}

.hero__desc--secondary {
	margin-top: var(--spacing-sm);
}

.fab-group {
	position: fixed;
	bottom: var(--container-padding);
	right: var(--container-padding);
	z-index: 100;
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: center;
}

.fab {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	border: 1.5px solid rgba(255, 255, 255, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(10, 10, 10, 0.6);
	backdrop-filter: blur(10px);
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease,
		border-color 0.3s ease;
}

.fab:hover {
	transform: scale(1.1);
	border-color: var(--color-hover);
	box-shadow: 0 0 30px var(--color-gold-glow);
}

.fab__icon {
	width: 28px;
	height: 28px;
	object-fit: contain;
}

.docs-modal {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease, visibility 0.4s ease;
}

.docs-modal.is-open {
	opacity: 1;
	visibility: visible;
}

.docs-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.66);
}

.docs-modal__container {
	position: relative;
	max-width: calc(100vw - 2rem);
	background: rgba(0, 0, 0, 0.67);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 16px;
	padding: 80px 100px;
	display: flex;
	gap: 80px;
	align-items: center;
	justify-content: center;
	transform: translateY(30px);
	transition: transform 0.4s ease;
}

.docs-modal.is-open .docs-modal__container {
	transform: translateY(0);
}

.docs-modal__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	text-decoration: none;
	transition: transform 0.3s ease;
}

.docs-modal__item:hover {
	transform: scale(1.05);
}

.docs-modal__icon {
	width: 95px;
	height: 119px;
	object-fit: contain;
}

.docs-modal__label {
	font-family: 'Involve', sans-serif;
	font-size: 24px;
	font-weight: 500;
	color: var(--color-text);
	text-align: center;
}

.modal {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal.is-open {
	opacity: 1;
	visibility: visible;
}

.modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.66);
}

.modal__container {
	position: relative;
	width: 666px;
	max-width: calc(100vw - 2rem);
	background: rgba(0, 0, 0, 0.67);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 16px;
	padding: 60px 52px 50px;
	transform: translateY(30px);
	transition: transform 0.4s ease;
}

.modal.is-open .modal__container {
	transform: translateY(0);
}

.modal__title {
	font-family: 'Involve', sans-serif;
	font-size: 40px;
	font-weight: 500;
	line-height: 83%;
	text-align: center;
	color: var(--color-text);
	margin-bottom: 48px;
}

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

.modal__input {
	width: 100%;
	height: 102px;
	background: rgba(56, 56, 56, 0.58);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 16px;
	padding: 0 32px;
	font-family: 'Involve', sans-serif;
	font-size: 24px;
	font-weight: 400;
	color: var(--color-text);
	outline: none;
	transition: border-color 0.3s ease;
}

.modal__input::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

.modal__input:focus {
	border-color: rgba(255, 255, 255, 0.7);
}

.modal__input--textarea {
	height: 168px;
	padding: 28px 32px;
	resize: none;
}

.modal__consent {
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
	user-select: none;
}

.modal__consent-input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.modal__consent-check {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	border: 1.5px solid rgba(255, 255, 255, 0.3);
	border-radius: 6px;
	background: rgba(56, 56, 56, 0.58);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	transition: border-color 0.3s ease, background 0.3s ease;
	position: relative;
}

.modal__consent-check::after {
	content: '';
	position: absolute;
	top: 4px;
	left: 8px;
	width: 6px;
	height: 12px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	opacity: 0;
	transition: opacity 0.2s ease;
}

.modal__consent-input:checked + .modal__consent-check {
	background: var(--color-accent-gold);
	border-color: var(--color-accent-gold);
}

.modal__consent-input:checked + .modal__consent-check::after {
	opacity: 1;
}

.modal__consent:hover .modal__consent-check {
	border-color: rgba(255, 255, 255, 0.5);
}

.modal__consent-text {
	font-family: 'Involve', sans-serif;
	font-size: 14px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.5);
	line-height: 1.4;
}

.modal__consent-link {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.3);
	text-underline-offset: 2px;
	transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.modal__consent-link:hover {
	color: var(--color-accent-gold);
	text-decoration-color: var(--color-accent-gold);
}

.modal__submit:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.modal__submit:disabled:hover {
	background: #ffffff;
	transform: none;
}

.modal__submit {
	width: 100%;
	height: 111px;
	background: #ffffff;
	border: 1px solid #ffffff;
	border-radius: 16px;
	font-family: 'Involve', sans-serif;
	font-size: 34px;
	font-weight: 500;
	color: #000000;
	cursor: pointer;
	transition: opacity 0.3s ease, transform 0.2s ease;
	margin-top: 8px;
}

.modal__submit:hover {
	background: linear-gradient(-11deg, rgb(255, 236, 130) 13%, rgb(255, 255, 255) 84%);
	transform: scale(0.99);
}

.modal__submit:active {
	transform: scale(0.97);
}

@media (max-width: 768px) {
	.header__phone,
	.header__socials {
		display: none;
	}

	.header__burger {
		display: flex;
		z-index: 102;
	}

	.header.is-open {
		bottom: 0;
		background: rgba(10, 10, 10, 0.95);
		backdrop-filter: blur(20px);
		overflow: hidden;
	}

	.header.is-open .header__inner {
		height: 100%;
	}

	.header.is-open .header__nav {
		position: absolute;
		inset: 0;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 2.5rem;
	}

	.header.is-open .header__phone {
		display: block;
		font-size: 24px;
		height: auto;
	}

	.header.is-open .header__socials {
		display: flex;
		gap: 1.5rem;
	}

	.header.is-open .header__social-icon {
		width: 48px;
		height: 48px;
	}

	.header.is-open .header__burger {
		position: fixed;
		top: var(--spacing-sm);
		right: var(--container-padding);
	}

	.header.is-open .header__burger span:nth-child(1) {
		transform: translateY(7.5px) rotate(45deg);
	}

	.header.is-open .header__burger span:nth-child(2) {
		opacity: 0;
	}

	.header.is-open .header__burger span:nth-child(3) {
		transform: translateY(-7.5px) rotate(-45deg);
	}

	.header.is-open .header__line {
		opacity: 0;
	}

	.header__logo-img {
		width: 130px;
		height: auto;
	}

	.hero__model {
		top: 25%;
		left: 50%;
		width: 85vw;
		transform: translate(-50%, -40%);
	}

	.hero__bottom {
		bottom: 4vh;
	}

	.hero__line--vertical {
		height: 300px;
		left: 15px;
		top: -200px;
	}

	.hero__line--horizontal {
		width: clamp(250px, 60vw, 400px);
	}

	.hero__title {
		font-size: clamp(2.5rem, 8vw, 4rem);
		margin-left: 40px;
	}

	.hero__text {
		margin-left: 40px;
		margin-top: var(--spacing-sm);
		max-width: calc(100vw - 40px - var(--container-padding) * 2);
	}

	.hero__desc {
		line-height: 1.3;
	}

	.bg-effects__orb--1 {
		width: 450px;
		height: 200px;
	}

	.bg-effects__orb--2 {
		width: 350px;
		height: 160px;
	}

	.fab {
		width: 52px;
		height: 52px;
	}

	.fab__icon {
		width: 24px;
		height: 24px;
	}

	.docs-modal__container {
		padding: 48px 40px;
		gap: 40px;
	}

	.docs-modal__icon {
		width: 70px;
		height: 88px;
	}

	.docs-modal__label {
		font-size: 20px;
	}

	.modal__container {
		padding: 40px 24px 36px;
	}

	.modal__title {
		font-size: 28px;
		margin-bottom: 32px;
	}

	.modal__input {
		height: 72px;
		font-size: 18px;
		padding: 0 24px;
	}

	.modal__input--textarea {
		height: 120px;
		padding: 20px 24px;
	}

	.modal__submit {
		height: 80px;
		font-size: 26px;
	}
}

@media (max-width: 480px) {
	.header__logo-img {
		width: 110px;
		height: auto;
	}

	.hero__model {
		top: 20%;
		width: 95vw;
		transform: translate(-50%, -30%);
	}

	.hero__bottom {
		bottom: 3vh;
	}

	.hero__line--vertical {
		height: 180px;
		left: 5px;
		top: -120px;
	}

	.hero__line--horizontal {
		width: clamp(180px, 70vw, 300px);
	}

	.hero__title {
		font-size: clamp(1.8rem, 10vw, 3rem);
		margin-left: 20px;
	}

	.hero__text {
		margin-left: 20px;
		margin-top: var(--spacing-xs);
		max-width: calc(100vw - 20px - var(--container-padding) * 2);
	}

	.hero__desc {
		font-size: 14px;
		line-height: 1.4;
	}

	.hero__desc--secondary {
		margin-top: var(--spacing-xs);
	}

	.bg-effects__orb--1 {
		width: 320px;
		height: 140px;
	}

	.bg-effects__orb--2 {
		width: 260px;
		height: 120px;
	}

	.fab {
		width: 48px;
		height: 48px;
	}

	.fab__icon {
		width: 22px;
		height: 22px;
	}

	.docs-modal__container {
		padding: 36px 24px;
		gap: 24px;
	}

	.docs-modal__icon {
		width: 56px;
		height: 70px;
	}

	.docs-modal__label {
		font-size: 16px;
	}

	.docs-modal__item {
		gap: 16px;
	}

	.modal__container {
		padding: 32px 16px 28px;
	}

	.modal__title {
		font-size: 24px;
		margin-bottom: 24px;
		line-height: 100%;
	}

	.modal__input {
		height: 60px;
		font-size: 16px;
		padding: 0 20px;
		border-radius: 12px;
	}

	.modal__input--textarea {
		height: 100px;
		padding: 18px 20px;
	}

	.modal__submit {
		height: 64px;
		font-size: 22px;
		border-radius: 12px;
	}
}
