/* === Header === */

.header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: var(--secondery-color);
	width: 100%;
	padding: 15px 25px;
	overflow-x: hidden;
}

.header-nav {
	display: flex;
	gap: 430px;
	align-items: center;
}

.header-nav-list {
	display: flex;
	gap: 30px;
}

.header-nav-list a {
	transition: all 0.3s ease;
	color: var(--text-inverted);
}

.header-nav-list a:hover {
	color: var(--primary-hover);
	text-decoration: underline;
}

.burger-btn {
	display: none;
}

.mobile-menu {
	display: none;
}

@media screen and (max-width: 1240px) {
	.header {
		padding: 10px 25px;
	}

	.header .secondary-btn,
	.header-nav {
		display: none;
	}

	.burger-btn {
		display: block;
		border: none;
		background-color: transparent;
		cursor: pointer;
		padding: 3px;
	}

	.burger-btn svg {
		width: 45px;
		height: 45px;
		color: #fff;
	}

	.burger-btn:active svg {
		color: var(--primary-hover);
	}

	.mobile-menu {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		align-items: center;
		gap: 20px;
		position: fixed;
		top: 0;
		right: -100%;
		width: 100%;
		height: 100vh;
		background-color: var(--secondary-background);
		padding: 15px 30px;
		z-index: 1000;
		transition: all 0.3s ease;
	}

	.mobile-menu-active {
		right: 0;
	}

	.close-btn {
		display: block;
		border: none;
		background-color: transparent;
		cursor: pointer;
		padding: 3px;
		margin-left: auto;
	}

	.close-btn svg {
		width: 35px;
		height: 35px;
		stroke: #fff;
	}

	.close-btn:active svg {
		stroke: var(--primary-hover);
	}

	.mobile-nav-list {
		display: flex;
		flex-direction: column;
		gap: 20px;
	}
}

/* === Hero === */

.hero {
	padding: 120px 0 140px;
}

.hero .container {
	padding: 0 30px;
}

.hero-content {
	display: flex;
	flex-direction: column;
	align-items: start;
	max-width: 630px;
	width: 100%;
}

.section-name {
	margin-bottom: 25px;
}

.hero-title {
	font-family: var(--font-family);
	font-weight: 700;
	font-size: 70px;
	line-height: 130%;
	text-transform: capitalize;
	color: var(--primary-color);
	margin-bottom: 32px;
}

.hero-content .descr {
	margin-bottom: 32px;
}

.wrapper {
	display: flex;
	position: relative;
	max-width: 670px;
	width: 100%;
	min-height: 500px;
	max-height: 700px;
	padding: 10px;
	overflow: hidden;
}

.wrapper::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	background-color: var(--primary-color);
	width: 100%;
	height: 100%;
	z-index: 1;
}

.wrapper::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	background-color: var(--primary-color);
	width: 100%;
	height: 100%;
	z-index: 1;
}

.wrapper-img {
	position: relative;
	z-index: 2;
	flex: 1;
	object-fit: cover;
}

@media screen and (max-width: 1240px) {
	.hero-title {
		font-size: 50px;
	}
}

/* === About Us === */

.about-us {
	padding: 110px 0;
	background-color: var(--secondary-background);
}

.about-us-content {
	display: flex;
	flex-direction: column;
	align-items: start;
	max-width: 500px;
}

.about-us-content .title {
	margin-bottom: 40px;
	text-align: start;
}

.about-us-content .descr {
	margin-bottom: 32px;
}

@media screen and (max-width: 1400px) {
	.about-us .container {
		flex-direction: column-reverse;
	}
}

/* === How Work === */

.how-work {
	padding: 120px 0;
}

.how-work-content {
	display: flex;
	flex-direction: column;
	align-items: start;
	max-width: 530px;
	width: 100%;
}

.how-work-content .title {
	text-align: start;
	margin-bottom: 64px;
}

.how-work-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	gap: 20px;
}

.how-work-list li {
	width: calc(100% / 2 - 20px);
}

.how-work-list-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 80px;
	height: 80px;
	padding-bottom: 8px;
	font-family: var(--second-family);
	background-image: url('../images/decor.png');
	background-repeat: no-repeat;
	background-size: contain;
	background-position: 0 0;
	margin-bottom: 10px;
}

.how-work-list-wrap p {
	font-size: 44px;
	line-height: 1;
}

/* === Price === */

.price {
	padding: 120px 0;
}

.price .container {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.price .section-name {
	text-align: center;
}

.price .title {
	text-align: center;
	margin-bottom: 64px;
}

.price-content {
	width: 100%;
	margin-bottom: 70px;
}

.price-wrapper {
	max-width: 400px;
	min-width: 320px;
	flex: 1;
}

.price-wrapper h3 {
	font-family: var(--font-family);
	font-weight: 600;
	font-size: 35px;
	line-height: 130%;
	letter-spacing: 0.04em;
	text-transform: capitalize;
	text-align: center;
	color: var(--text-inverted);
	margin-bottom: 48px;
}

.price-list {
	display: flex;
	flex-direction: column;
	gap: 40px;
	width: 100%;
}

.price-list-wrap {
	display: flex;
	align-items: center;
	width: 100%;
	margin-bottom: 10px;
}

.price-list-wrap .subtitle {
	width: 100%;
	max-width: 200px;
}

.price-list-text {
	font-family: var(--font-family);
	font-weight: 700;
	font-size: 23px;
	line-height: 130%;
	letter-spacing: 0.04em;
	text-transform: capitalize;
	text-align: center;
	color: var(--text-inverted);
}

/* === Testimonial === */

.testimonial {
	padding: 120px 0;
	background-color: var(--secondary-background);
}

.testimonial .section-name {
	text-align: center;
}

.testimonial .title {
	margin-bottom: 64px;
}

.testimonial-list {
	gap: 64px 32px;
}

.testimonial-list li {
	display: flex;
	align-items: center;
	gap: 32px;
	width: calc(100% / 2 - 32px);
}

.testimonial-list-wrap {
	max-width: 190px;
	width: 100%;
	height: 190px;
	position: relative;
}

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

.testimonial-quote {
	position: absolute;
	bottom: -20px;
	right: -16px;
	width: 40px;
	height: 30px;
	object-fit: contain;
}

.testimonial-content-text {
	font-family: var(--second-family);
	font-style: italic;
	font-weight: 400;
	font-size: 16px;
	line-height: 175%;
	letter-spacing: 0.04em;
	color: var(--text-primary);
	margin-bottom: 16px;
}

.testimonial-list-content .subtitle {
	margin-bottom: 4px;
}

.testimonial-content-lacation {
	font-family: var(--second-family);
	font-weight: 400;
	font-size: 16px;
	line-height: 175%;
	letter-spacing: 0.04em;
	color: var(--text-secondary);
}

@media screen and (max-width: 1024px) {
	.testimonial-list li {
		flex-direction: column;
		align-items: start;
	}

	.testimonial-list-content {
		display: flex;
		flex-direction: column-reverse;
	}
}

@media screen and (max-width: 600px) {
	.testimonial-list li {
		width: 100%;
	}
}

/* === Our Blog === */

.our-blog {
	padding: 120px 0;
}

.our-blog .section-name {
	text-align: center;
}

.our-blog .title {
	text-align: center;
	margin-bottom: 64px;
}

.our-blog-list {
	gap: 32px;
	align-items: stretch;
}

.our-blog-list li {
	display: flex;
	flex-direction: column;
	justify-content: start;
	align-items: start;
	width: calc(100% / 3 - 32px);
}

.our-blog-list-img {
	width: 100%;
	height: 400px;
	object-fit: cover;
	margin-bottom: 24px;
}

.our-blog-list-wrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	gap: 40px;
	margin-bottom: 32px;
}

.our-blog-link {
	font-family: var(--font-family);
	font-weight: 400;
	font-size: 32px;
	line-height: 130%;
	letter-spacing: 0.04em;
	text-transform: capitalize;
	color: var(--primary-color);
	transition: all 0.3s ease;
}

.our-blog-link:hover {
	color: var(--primary-hover);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.our-blog-list .descr {
	margin-bottom: 20px;
}

.our-blog-list .link {
	margin-top: auto;
}

@media screen and (max-width: 1024px) {
	.our-blog-list li {
		width: calc(100% / 2 - 32px);
	}
}

@media screen and (max-width: 768px) {
	.our-blog-list {
		gap: 60px;
	}

	.our-blog-list li {
		width: 100%;
	}
}

/* === Contact === */

.contact {
	padding: 200px 0;
	scroll-margin-top: -100px;
	position: relative;
}

.contact .container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 70px;
}

.contact-content {
	display: flex;
	flex-direction: column;
	align-items: start;
	max-width: 510px;
	width: 100%;
}

.contact-content .section-name {
	margin-bottom: 24px;
}

.contact-content .title {
	margin-bottom: 16px;
	text-align: start;
}

.contact-content .descr {
	margin-bottom: 24px;
}

.contact-list {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.contact-list-item {
	display: flex;
	align-items: center;
	gap: 13px;
}

.contact-list-item {
	font-family: var(--third-family);
	font-size: 18px;
}

.contact-list-item img {
	max-width: 25px;
	width: 100%;
	object-fit: contain;
}

.contact-form {
	background-color: var(--secondary-background);
	padding: 60px 80px;
	max-width: 600px;
	width: 100%;
	border-radius: var(--border-radius-third);
}

.form-group {
	display: flex;
	flex-direction: column;
}

.form-group {
	margin-bottom: 24px;
}

.form-group:nth-child(4) {
	margin-bottom: 60px;
}

.form-group label {
	font-family: var(--font-family);
	font-weight: 500;
	font-size: 14px;
	line-height: 171%;
	color: #d3d3d3;
	margin-bottom: 10px;
}

.form-group textarea,
.form-group input {
	font-family: var(--font-family);
	font-weight: 600;
	font-size: 16px;
	line-height: 150%;
	padding-bottom: 5px;
	color: #fff;
	border: none;
	background-color: transparent;
	outline: none;
	border-bottom: 1.5px solid #fff;
	transition: 0.3s all ease;
}

.form-group textarea:hover,
.form-group input:hover {
	border-bottom: 1.5px solid var(--primary-hover);
}

.form-group textarea:focus,
.form-group input:focus {
	border-bottom: 1.5px solid var(--primary-color);
}

.contact-map {
	width: 100%;
	height: 500px;
	border-radius: var(--border-radius-third);
}

@media screen and (max-width: 1240px) {
	.contact-form {
		padding: 25px;
	}
}

/* === Footer === */

.footer {
	padding: 70px 0 20px;
	background: var(--secondary-background);
	color: var(--text-inverted);
	overflow: hidden;
}

.footer a {
	color: var(--text-inverted);
	opacity: 0.8;
}

.footer a:hover {
	text-decoration: underline;
}

.footer .container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	padding: 0 100px;
}

.footer-menu {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.footer-contact,
.footer-menu ul {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer-rights {
	width: 100%;
	margin-top: 30px;
	text-align: center;
}

@media screen and (max-width: 1240px) {
	.footer {
		padding: 60px 0 20px;
	}

	.footer .container {
		padding: 0 15px;
		justify-content: space-between;
		gap: 40px;
	}
}

/* === Cookie Popup === */

.cookie-popup {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: var(--background-color);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	padding: 20px;
	z-index: 1000;
	display: none;
}

.cookie-popup-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.cookie-popup a {
	text-decoration: underline;
	transition: all 0.3s ease;
}

.cookie-popup a:hover {
	color: var(--primary-hover);
}

.cookie-popup h2 {
	margin: 0 0 10px;
	font-size: 1.5rem;
}

.cookie-popup p {
	margin: 0 0 20px;
	font-size: 1rem;
}
