/* =========================
   RESET
========================= */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Segoe UI", Arial, sans-serif;
	background: #F7F4EF;
	color: #2D3748;
	line-height: 1.6;
}

/* =========================
   CONTAINER
========================= */

.container {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 40px;
}

/* =========================
   HEADER
========================= */

.header {
	padding: 24px 0;
	position: sticky;
	top: 0;
	background: rgba(247,244,239,0.95);
	backdrop-filter: blur(10px);
	z-index: 100;
	border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
}

.logo__name {
	font-size: 22px;
	font-weight: 600;
}

.logo__subtitle {
	font-size: 14px;
	color: #6F8A7A;
	margin-top: 4px;
}

.nav {
	display: flex;
	align-items: center;
	gap: 28px;
}

.nav a {
	text-decoration: none;
	color: #2D3748;
	font-size: 15px;
	transition: .2s;
}

.nav a:hover {
	color: #6F8A7A;
}

/* =========================
   BUTTONS
========================= */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	border-radius: 14px;
	padding: 16px 28px;
	font-weight: 600;
	transition: .25s;
	cursor: pointer;
}

.btn-primary {
	background: #6F8A7A;
	color: #fff;
}

.btn-primary:hover {
	transform: translateY(-2px);
}

.btn-secondary {
	background: #fff;
	color: #2D3748;
	border: 1px solid #ddd;
}

.btn-secondary:hover {
	background: #f3f3f3;
}

/* =========================
   HERO
========================= */

.hero {
	padding: 80px 0 120px;
}

.hero__grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	align-items: start;
	gap: 80px;
}

.hero__eyebrow {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #6F8A7A;
	margin-bottom: 20px;
}

.hero__title {
	font-size: 40px;
	line-height: 1.1;
	font-weight: 600;
	margin-bottom: 30px;
	max-width: 720px;
}

.hero__description {
	font-size: 21px;
	line-height: 1.8;
	max-width: 650px;
	margin-bottom: 40px;
	color: #4A5568;
}

.trust-item {
	background: #fff;
	padding: 20px 24px;
	border-radius: 16px;
	font-size: 15px;
	box-shadow: 0 4px 20px rgba(0,0,0,.03);
}

.hero__actions {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 20px;
}

.hero__note {
	font-size: 14px;
	color: #718096;
}

.hero__image {
	display: flex;
	justify-content: center;
}

.photo-placeholder {
	width: 100%;
	max-width: 350px;
	aspect-ratio: 4/5;
	background: #FFFFFF;
	border-radius: 32px;
	/*border: 2px dashed #C8C8C8;*/
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.photo-placeholder img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.photo-placeholder__text {
	color: #888;
	font-size: 18px;
}

/* =========================
   MOBILE
========================= */

.burger {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
}

.burger span {
	width: 24px;
	height: 2px;
	background: #2D3748;
}

.nav-mobile-btn {
	display: none;
}

.section-header {
	max-width: 820px;
	margin: 0 auto 80px;
	text-align: center;
}

.section-title {
	font-size: 52px;
	line-height: 1.2;
	font-weight: 600;
	margin-bottom: 24px;
	color: #2D3748;
}

.section-description {
	font-size: 20px;
	line-height: 1.8;
	color: #4A5568;
}

/* =====================================
   DIRECTIONS
===================================== */

.directions-section {
	padding: 120px 0;
	background: #FFFFFF;
}

.directions-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
	margin-top: 70px;
}

.direction-card {
	background: #F7F4EF;
	border-radius: 24px;
	padding: 35px;
}

.direction-card__title {
	font-size: 28px;
	font-weight: 600;
	margin-bottom: 24px;
	color: #2D3748;
}

.direction-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.direction-tags span {
	background: #FFFFFF;
	padding: 10px 16px;
	border-radius: 999px;
	font-size: 15px;
	color: #4A5568;
	border: 1px solid rgba(0,0,0,0.05);
}

/* =========================
   ABOUT
========================= */

.about {
	padding: 120px 0;
	background: #F7F4EF;
}

.about__grid {
	display: grid;
	grid-template-columns: 480px 1fr;
	gap: 80px;
	align-items: start;
	margin-top: 60px;
}

.about__photo {
	border-radius: 32px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

.about__photo img {
	width: 100%;
	display: block;
}

.about__content {
	font-size: 20px;
	line-height: 1.9;
	color: #4A5568;
}

.about__content p:not(:last-child) {
	margin-bottom: 28px;
}

/* ФАКТЫ */

.about-facts {
	margin-top: 80px;
	padding: 50px 0;
	border-top: 1px solid rgba(0,0,0,.08);
	border-bottom: 1px solid rgba(0,0,0,.08);

	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px;
	text-align: center;
}

.about-fact__number {
	font-size: 42px;
	font-weight: 600;
	color: #6F8A7A;
	margin-bottom: 8px;
}

.about-fact__label {
	font-size: 15px;
	color: #718096;
}

/* НИЖНИЙ БЛОК */

.about-bottom {
	margin-top: 80px;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
}

.about-education,
.about-principle {
	background: #FFFFFF;
	padding: 40px;
	border-radius: 24px;
}

.about-education h3 {
	font-size: 28px;
	margin-bottom: 25px;
}

.about-education ul {
	list-style: none;
}

.about-education li {
	padding: 10px 0;
	position: relative;
	padding-left: 22px;
}

.about-education li::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #6F8A7A;

	position: absolute;
	left: 0;
	top: 18px;
}

/* =========================
   CONSULTATION
========================= */

.consultation {
	padding: 120px 0;
	background: #FFFFFF;
}

.consultation-card {
	margin-top: 60px;

	background: #F7F4EF;
	border-radius: 32px;
	padding: 50px;

	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 60px;
	align-items: center;
}

.price-title {
	font-size: 45px;
}

.consultation-price {
	text-align: center;
}

.consultation-price__value {
	font-size: 45px;
	font-weight: 600;
	line-height: 1;
	color: #6F8A7A;
	margin-bottom: 12px;
}

.consultation-price__label {
	font-size: 18px;
	color: #718096;
}

.consultation-card__right {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.consultation-feature {
	background: #FFFFFF;
	padding: 24px;
	border-radius: 18px;
}

.consultation-feature span {
	display: block;
	font-size: 14px;
	color: #718096;
	margin-bottom: 8px;
}

.consultation-feature strong {
	font-size: 18px;
	font-weight: 600;
	color: #2D3748;
}

/* =========================
   CONTACTS
========================= */

.contacts {
	padding: 120px 0;
	background: #F7F4EF;
}

.contacts__inner {
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
}

.contacts__description {
	margin: 30px auto 0;
	max-width: 760px;

	font-size: 20px;
	line-height: 1.9;
	color: #4A5568;
}

.contact-buttons {
	margin-top: 60px;

	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.contact-button {
	display: block;

	padding: 35px 25px;

	background: #FFFFFF;

	border-radius: 24px;

	text-decoration: none;

	color: #2D3748;

	box-shadow: 0 10px 30px rgba(0,0,0,.04);

	transition: all .25s ease;
}

.contact-button:hover {
	transform: translateY(-4px);

	box-shadow: 0 20px 40px rgba(0,0,0,.08);
}

.contact-button__title {
	display: block;

	font-size: 14px;

	text-transform: uppercase;

	letter-spacing: 1px;

	color: #6F8A7A;

	margin-bottom: 12px;
}

.contact-button__value {
	display: block;

	font-size: 22px;

	font-weight: 600;
}

/* =========================
   FOOTER
========================= */

.footer {
	background: #FFFFFF;
	padding: 80px 0 30px;
	border-top: 1px solid rgba(0,0,0,0.06);
}

.footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr;
	gap: 80px;
	margin-bottom: 50px;
}

.footer__title {
	font-size: 28px;
	font-weight: 600;
	margin-bottom: 8px;
	line-height: 1.2;
}

.footer__subtitle {
	color: #6F8A7A;
	font-size: 15px;
	margin-bottom: 24px;
}

.footer__text {
	font-size: 16px;
	line-height: 1.8;
	color: #718096;
	max-width: 420px;
}

.footer__heading {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 24px;
	color: #2D3748;
}

.footer__nav,
.footer__contacts {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.footer__nav a,
.footer__contacts a {
	color: #4A5568;
	text-decoration: none;
	font-size: 15px;
	transition: color .2s ease;
}

.footer__nav a:hover,
.footer__contacts a:hover {
	color: #6F8A7A;
}

.footer__bottom {
	border-top: 1px solid rgba(0,0,0,0.06);
	padding-top: 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.footer__copyright {
	font-size: 14px;
	color: #718096;
}

.footer__links a {
	font-size: 14px;
	color: #718096;
	text-decoration: none;
	transition: color .2s ease;
}

.footer__links a:hover {
	color: #6F8A7A;
}

@media (max-width: 992px) {

	.hero__grid {
		grid-template-columns: 1fr;
	}

	.hero__title {
		font-size: 42px;
	}

	.hero__description {
		font-size: 18px;
	}

	.hero__image {
		order: -1;
	}
	
	.section-title {
		font-size: 42px;
	}
	
	.directions-grid {
		grid-template-columns: 1fr;
	}
	
	.about__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.about-facts {
		grid-template-columns: repeat(2, 1fr);
	}

	.about-bottom {
		grid-template-columns: 1fr;
	}
	
	.consultation-card {
		grid-template-columns: 1fr;
	}

	.consultation-card__right {
		grid-template-columns: 1fr;
	}
	
	.contact-buttons {
		grid-template-columns: 1fr;
		max-width: 500px;
		margin-left: auto;
		margin-right: auto;
	}
	
	.footer__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.footer__text {
		max-width: none;
	}
}

@media (max-width: 768px) {

	.container {
		padding: 0 20px;
	}

	.burger {
		display: flex;
	}

	.header-btn {
		display: none;
	}

	.nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		display: none;
		flex-direction: column;
		padding: 30px;
		box-shadow: 0 10px 30px rgba(0,0,0,0.08);
	}

	.nav.active {
		display: flex;
	}

	.nav-mobile-btn {
		display: flex;
		margin-top: 10px;
		width: 100%;
	}

	.hero {
		padding: 50px 0 80px;
	}

	.hero__title {
		font-size: 36px;
	}
	
	.section-title {
		font-size: 34px;
	}

	.section-description {
		font-size: 18px;
	}

	.directions-section {
		padding: 80px 0;
	}

	.direction-card {
		padding: 28px;
	}

	.direction-card__title {
		font-size: 24px;
	}

	.about {
		padding: 80px 0;
	}

	.about__content {
		font-size: 18px;
	}

	.about-fact__number {
		font-size: 34px;
	}

	.about-principle blockquote {
		font-size: 20px;
	}
	
	.consultation {
		padding: 80px 0;
	}

	.consultation-price__value {
		font-size: 45px;
	}

	.consultation-card {
		padding: 30px;
	}
	
	.contacts {
		padding: 80px 0;
	}

	.contacts__description {
		font-size: 18px;
	}

	.contact-button__value {
		font-size: 20px;
	}

	.footer {
		padding: 60px 0 25px;
	}

	.footer__bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
}