@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,400&family=DM+Sans:wght@400;500&display=swap');

:root {
	--bg: #f6f4ec;
	--bg-alt: #eaf0e7;
	--bg-card: #fffdf7;
	--ink: #1f2e26;
	--ink-mid: #35473d;
	--ink-soft: #4d6157;
	--primary: #3d7a5c;
	--primary-dark: #2b5b43;
	--stream: #7cb7a8;
	--accent: #d8a657;
	--line: rgba(61, 122, 92, 0.16);
	--grad: linear-gradient(135deg, #2f6a4d 0%, #5ea892 100%);
	--font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
	--font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
	--shadow-soft: 0 1.6rem 4.8rem rgba(31, 46, 38, 0.1);
	--shadow-card: 0 2.4rem 6.4rem rgba(31, 46, 38, 0.16);
	--radius: 2.4rem;
	--header-h: 8.8rem;
}

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

html {
	font-family: var(--font-body);
	font-weight: 400;
	line-height: 1.7;
	color: var(--ink-soft);
	font-size: 62.5%;
}

body {
	background: var(--bg);
	font-size: 1.7rem;
	overflow-x: hidden;
}

body.fixed {
	overflow: hidden;
}

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

a {
	color: var(--primary);
	text-decoration: none;
}

button {
	font: inherit;
	cursor: pointer;
}

h1,
h2,
h3 {
	font-family: var(--font-head);
	font-weight: 600;
	line-height: 1.15;
	color: var(--ink);
}

.container {
	width: 100%;
	max-width: 124rem;
	margin: 0 auto;
	padding: 0 3.2rem;
}

.preloader {
	position: fixed;
	inset: 0;
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bg);
	color: var(--primary);
}

.preloader__spinner {
	width: 4.8rem;
	height: 4.8rem;
	opacity: 0.75;
}

html.hide .preloader {
	display: none;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	min-height: 6rem;
	padding: 0 3.6rem;
	border: 0;
	border-radius: 5rem;
	background: var(--grad);
	color: #fffdf7;
	font-family: var(--font-head);
	font-size: 1.8rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	white-space: nowrap;
	box-shadow: 0 1.4rem 3.2rem rgba(61, 122, 92, 0.28);
	transition: box-shadow 0.3s ease, filter 0.3s ease;
}

.btn:hover {
	filter: brightness(1.06);
	box-shadow: 0 1.8rem 4rem rgba(61, 122, 92, 0.36);
}

.btn svg {
	width: 1.8rem;
	height: 1.8rem;
	flex: 0 0 auto;
}

@keyframes levitate {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-0.8rem);
	}
}

.btn--float {
	animation: levitate 3s ease-in-out infinite;
}

.btn--float:hover {
	animation-play-state: paused;
}

.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 102;
	background: linear-gradient(180deg, rgba(246, 244, 236, 0.92) 0%, rgba(246, 244, 236, 0.6) 60%, rgba(246, 244, 236, 0) 100%);
	transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.header.scrolled {
	background: rgba(246, 244, 236, 0.92);
	backdrop-filter: blur(1.2rem);
	box-shadow: 0 0.2rem 3.2rem rgba(31, 46, 38, 0.1);
}

.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 3.2rem;
	height: var(--header-h);
}

.logo {
	flex: 0 0 auto;
	position: relative;
	z-index: 102;
}

.logo img {
	width: 17rem;
	height: auto;
}

.nav {
	display: flex;
	align-items: center;
	gap: 3.2rem;
}

.nav-link {
	position: relative;
	color: var(--ink-mid);
	font-size: 1.6rem;
	font-weight: 500;
	transition: color 0.25s ease;
}

.nav-link::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -0.6rem;
	width: 100%;
	height: 0.2rem;
	border-radius: 0.2rem;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}

.nav-link:hover {
	color: var(--primary-dark);
}

.nav-link:hover::after {
	transform: scaleX(1);
}

.btn.nav-link::after {
	display: none;
}

.btn.nav-link,
.btn.nav-link:hover {
	color: #fffdf7;
}

.burger-btn {
	display: none;
	position: relative;
	z-index: 102;
	width: 4.8rem;
	height: 4.8rem;
	background: transparent;
	border: 0;
	flex: 0 0 auto;
}

.burger-btn span {
	position: absolute;
	left: 1rem;
	width: 2.8rem;
	height: 0.2rem;
	border-radius: 0.2rem;
	background: var(--ink);
	transition: transform 0.3s ease, opacity 0.2s ease, top 0.3s ease;
}

.burger-btn span:nth-child(1) {
	top: 1.6rem;
}

.burger-btn span:nth-child(2) {
	top: 2.3rem;
}

.burger-btn span:nth-child(3) {
	top: 3rem;
}

.burger-btn.act span:nth-child(1) {
	top: 2.3rem;
	transform: rotate(45deg);
}

.burger-btn.act span:nth-child(2) {
	opacity: 0;
}

.burger-btn.act span:nth-child(3) {
	top: 2.3rem;
	transform: rotate(-45deg);
}

#mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 101;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3.2rem;
	padding: 12rem 3.2rem 6rem;
	background: var(--bg);
	background-image: radial-gradient(circle at 50% 0%, rgba(124, 183, 168, 0.25) 0%, rgba(246, 244, 236, 0) 60%);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

#mobile-menu.opened {
	opacity: 1;
	pointer-events: auto;
}

#mobile-menu .nav-link {
	font-family: var(--font-head);
	font-size: 2.6rem;
	color: var(--ink);
}

#mobile-menu .mobile-menu__leaf {
	width: 5.6rem;
	height: 5.6rem;
	opacity: 0.5;
}

.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 100vh;
	padding: calc(var(--header-h) + 6rem) 0 8rem;
	overflow: hidden;
}

.hero__bg {
	position: absolute;
	inset: 0;
	background: url(../img/hero-bg.webp) center / cover no-repeat;
}

.hero__bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(246, 244, 236, 0.97) 0%, rgba(246, 244, 236, 0.9) 34%, rgba(246, 244, 236, 0.42) 60%, rgba(31, 46, 38, 0.2) 100%);
}

.hero .container {
	position: relative;
	z-index: 2;
}

.hero__grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	align-items: center;
	gap: 6rem;
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	padding: 0.8rem 2rem;
	border: 1px solid var(--line);
	border-radius: 5rem;
	background: rgba(255, 253, 247, 0.7);
	color: var(--primary-dark);
	font-size: 1.4rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.pill::before {
	content: '';
	width: 0.8rem;
	height: 0.8rem;
	border-radius: 50%;
	background: var(--accent);
}

.hero__labels {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1.6rem;
}

.hero__labels .eyebrow {
	margin-bottom: 0;
}

.hero__labels .eyebrow::after {
	width: 3.2rem;
}

.hero h1 {
	margin: 2.8rem 0 2.4rem;
	font-size: 6.4rem;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.hero h1 em {
	display: block;
	font-style: italic;
	font-weight: 400;
	color: var(--primary);
}

.hero__lead {
	max-width: 54rem;
	font-family: var(--font-head);
	font-size: 2.2rem;
	font-weight: 400;
	line-height: 1.45;
	color: var(--ink-mid);
}

.hero__text {
	max-width: 54rem;
	margin-top: 2rem;
	font-size: 1.7rem;
}

.hero__cta {
	margin-top: 4rem;
}

.hero__phone {
	justify-self: center;
}

.phone {
	position: relative;
	width: 32rem;
	padding: 1.4rem;
	border-radius: 4.4rem;
	background: linear-gradient(160deg, #2b3a32 0%, #1f2e26 100%);
	box-shadow: var(--shadow-card), 0 0 0 0.1rem rgba(255, 253, 247, 0.14) inset;
}

.phone::before {
	content: '';
	position: absolute;
	top: 2.6rem;
	left: 50%;
	transform: translateX(-50%);
	width: 8rem;
	height: 0.6rem;
	border-radius: 0.6rem;
	background: rgba(255, 253, 247, 0.22);
	z-index: 2;
}

.phone img {
	width: 100%;
	border-radius: 3.2rem;
}

.phone__glow {
	position: absolute;
	inset: -8rem -6rem;
	z-index: -1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(124, 183, 168, 0.5) 0%, rgba(124, 183, 168, 0) 70%);
	filter: blur(1rem);
}

.section {
	position: relative;
	padding: 12rem 0;
}

.section--alt {
	background: var(--bg-alt);
}

.section__head {
	max-width: 62rem;
	margin-bottom: 5.6rem;
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 1.4rem;
	margin-bottom: 1.8rem;
	font-family: var(--font-head);
	font-size: 1.5rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	color: var(--accent);
}

.eyebrow::after {
	content: '';
	width: 6rem;
	height: 1px;
	background: var(--accent);
	opacity: 0.6;
}

.section h2 {
	font-size: 4.4rem;
}

.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 7rem;
}

.split--reverse .split__media {
	order: 2;
}

.split__text p + p {
	margin-top: 2rem;
}

.split__lead {
	font-family: var(--font-head);
	font-size: 2.1rem;
	font-weight: 400;
	line-height: 1.5;
	color: var(--primary-dark);
}

.split__text .split__lead + p {
	margin-top: 2.4rem;
	padding-top: 2.4rem;
	border-top: 1px solid var(--line);
}

.frame {
	position: relative;
	border-radius: var(--radius);
}

.frame img {
	width: 100%;
	border-radius: var(--radius);
	box-shadow: var(--shadow-card);
}

.frame::before {
	content: '';
	position: absolute;
	inset: -1.6rem -1.6rem 1.6rem 1.6rem;
	border: 1px solid var(--accent);
	border-radius: var(--radius);
	opacity: 0.5;
}

.frame--stream::before {
	inset: 1.6rem 1.6rem -1.6rem -1.6rem;
	border-color: var(--stream);
	opacity: 0.7;
}

.world {
	position: relative;
	padding: 14rem 0;
	overflow: hidden;
}

.world__bg {
	position: absolute;
	inset: 0;
	background: url(../img/image-3.webp) center / cover no-repeat;
}

.world__bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(31, 46, 38, 0.72) 0%, rgba(31, 46, 38, 0.38) 60%, rgba(31, 46, 38, 0.5) 100%);
}

.world .container {
	position: relative;
	z-index: 2;
}

.world__card {
	max-width: 66rem;
	padding: 5.6rem;
	border-radius: var(--radius);
	background: rgba(246, 244, 236, 0.94);
	backdrop-filter: blur(0.6rem);
	box-shadow: var(--shadow-card);
}

.world__card p + p {
	margin-top: 2rem;
}

.contact {
	padding: 12rem 0;
	background: var(--bg-alt);
}

.contact__card {
	position: relative;
	max-width: 82rem;
	margin: 0 auto;
	padding: 6.4rem 5.6rem;
	border-radius: var(--radius);
	background: var(--bg-card);
	box-shadow: var(--shadow-soft);
	text-align: center;
	overflow: hidden;
}

.contact__card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 0.5rem;
	background: var(--grad);
}

.contact__card .eyebrow {
	justify-content: center;
}

.contact__card .eyebrow::after {
	display: none;
}

.contact__card h2 {
	margin-bottom: 2rem;
}

.contact__card p {
	max-width: 56rem;
	margin: 0 auto;
}

.contact__mail {
	display: inline-block;
	margin-top: 3.6rem;
	padding-bottom: 0.6rem;
	border-bottom: 0.2rem solid var(--accent);
	font-family: var(--font-head);
	font-size: 2.8rem;
	font-weight: 600;
	color: var(--primary-dark);
	transition: color 0.25s ease, border-color 0.25s ease;
}

.contact__mail:hover {
	color: var(--primary);
	border-color: var(--stream);
}

.footer {
	padding: 6.4rem 0 4rem;
	background: var(--ink);
	color: rgba(246, 244, 236, 0.68);
	font-size: 1.5rem;
}

.footer__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 3.2rem;
	padding-bottom: 4rem;
	border-bottom: 1px solid rgba(246, 244, 236, 0.14);
}

.footer__brand {
	display: flex;
	align-items: center;
	gap: 1.6rem;
}

.footer__brand img {
	width: 4.4rem;
	height: 4.4rem;
	border-radius: 1.1rem;
}

.footer__name {
	font-family: var(--font-head);
	font-size: 2.2rem;
	font-weight: 600;
	color: #f6f4ec;
	line-height: 1.2;
}

.footer__links {
	display: flex;
	align-items: center;
	gap: 1.6rem;
	flex-wrap: wrap;
}

.footer__links a {
	color: rgba(246, 244, 236, 0.8);
	transition: color 0.25s ease;
}

.footer__links a:hover {
	color: var(--accent);
}

.footer__links span {
	opacity: 0.4;
}

.footer__bottom {
	padding-top: 3.2rem;
	text-align: center;
}

.legal-page {
	padding: calc(var(--header-h) + 8rem) 0 10rem;
	background: var(--bg);
}

.legal-content {
	max-width: 92rem;
	margin: 0 auto;
	padding: 6.4rem 5.6rem;
	border-radius: var(--radius);
	background: var(--bg-card);
	box-shadow: var(--shadow-soft);
	font-size: 1.6rem;
}

.legal-content h1 {
	margin-bottom: 3.2rem;
	font-size: 4rem;
}

.legal-content h2 {
	margin: 4rem 0 1.6rem;
	font-size: 2.4rem;
}

.legal-content h3 {
	margin: 3.2rem 0 1.2rem;
	font-size: 2rem;
}

.legal-content p,
.legal-content ul,
.legal-content ol {
	margin-bottom: 1.8rem;
}

.legal-content ul,
.legal-content ol {
	padding-left: 2.4rem;
}

.legal-content li {
	margin-bottom: 0.8rem;
}

.legal-content section + section {
	margin-top: 1.6rem;
}

.legal-content a {
	word-break: break-word;
}

.legal-content .name,
.legal-content .app-domain {
	color: var(--primary-dark);
	font-weight: 500;
}

@media (max-width: 1024px) {
	:root {
		--header-h: 7.6rem;
	}

	.nav {
		display: none;
	}

	.burger-btn {
		display: block;
	}

	.hero {
		min-height: 0;
		padding: calc(var(--header-h) + 5.6rem) 0 7rem;
	}

	.hero__grid {
		grid-template-columns: 1fr;
		gap: 5.6rem;
	}

	.hero h1 {
		font-size: 5.2rem;
	}

	.hero__bg::after {
		background: linear-gradient(180deg, rgba(246, 244, 236, 0.95) 0%, rgba(246, 244, 236, 0.86) 45%, rgba(246, 244, 236, 0.55) 75%, rgba(31, 46, 38, 0.25) 100%);
	}

	.section,
	.contact {
		padding: 9rem 0;
	}

	.section h2 {
		font-size: 3.8rem;
	}

	.split {
		grid-template-columns: 1fr;
		gap: 4.8rem;
	}

	.split--reverse .split__media {
		order: 0;
	}

	.world {
		padding: 9rem 0;
	}

	.world__card {
		max-width: none;
		padding: 4.4rem;
	}
}

@media (max-width: 768px) {
	.container {
		padding: 0 2.4rem;
	}

	.logo img {
		width: 15rem;
	}

	.hero h1 {
		font-size: 4.4rem;
	}

	.hero__lead {
		font-size: 2rem;
	}

	.section h2 {
		font-size: 3.2rem;
	}

	.frame::before,
	.frame--stream::before {
		inset: -1rem -1rem 1rem 1rem;
	}

	.world__card,
	.contact__card,
	.legal-content {
		padding: 3.6rem 2.8rem;
	}

	.contact__mail {
		font-size: 2.2rem;
	}

	.legal-content h1 {
		font-size: 3.2rem;
	}

	.footer__top {
		flex-direction: column;
		align-items: flex-start;
		text-align: left;
	}
}

@media (max-width: 640px) {
	body {
		font-size: 1.6rem;
	}

	.hero {
		padding: calc(var(--header-h) + 4rem) 0 6rem;
	}

	.hero h1 {
		font-size: 3.6rem;
	}

	.hero__lead {
		font-size: 1.9rem;
	}

	.btn {
		width: 100%;
		min-height: 5.6rem;
		padding: 0 2.4rem;
		font-size: 1.7rem;
	}

	.phone {
		width: 100%;
		max-width: 28rem;
		padding: 1rem;
		border-radius: 3.4rem;
	}

	.phone img {
		border-radius: 2.6rem;
	}

	.section,
	.contact,
	.world {
		padding: 7rem 0;
	}

	.section h2 {
		font-size: 2.8rem;
	}

	.section__head {
		margin-bottom: 4rem;
	}

	.split__lead {
		font-size: 1.9rem;
	}

	.frame::before,
	.frame--stream::before {
		display: none;
	}

	#mobile-menu {
		gap: 2.4rem;
	}

	#mobile-menu .nav-link {
		font-size: 2.2rem;
	}

	.contact__mail {
		font-size: 1.9rem;
	}

	.legal-page {
		padding: calc(var(--header-h) + 5rem) 0 7rem;
	}

	.legal-content {
		padding: 2.8rem 2rem;
		font-size: 1.5rem;
	}
}
