@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap');

/* Reset and base styles  */
* {
	scroll-behavior: smooth;
	padding: 0px;
	margin: 0px;
	border: none;
	font-family: 'Montserrat', sans-serif;
	font-style: normal;
	color: #000;
}

:root {
	--primary-color: #FFE177;
	--gray-color: #515151;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

/* Links */

a,
a:link,
a:visited {
	text-decoration: none;
}

a:hover {
	text-decoration: none;
}

/* Common */

aside,
nav,
footer,
header,
section,
main {
	display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
	font-size: inherit;
	font-weight: inherit;
}

ul,
ul li {
	list-style: none;
}

img {
	vertical-align: top;
}

img,
svg {
	max-width: 100%;
	height: auto;
}

address {
	font-style: normal;
}

/* Form */

input,
textarea,
button,
select {
	font-family: inherit;
	font-size: inherit;
	color: inherit;
	background-color: transparent;
}

input::-ms-clear {
	display: none;
}

button,
input[type="submit"] {
	display: inline-block;
	box-shadow: none;
	background-color: transparent;
	background: none;
	cursor: pointer;
}

input:focus,
input:active,
button:focus,
button:active {
	outline: none;
}

button::-moz-focus-inner {
	padding: 0;
	border: 0;
}

label {
	cursor: pointer;
}

legend {
	display: block;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	background-color: #fff;
}

.container {
	flex: 1;
	width: 100%;
	max-width: 1360px;
	margin: 0 auto;
}

/* HEADER */

.header {
	
}

.header__wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0;
}

.header__logo {
	display: block;
}

.header__logo img {
	cursor: pointer;
	aspect-ratio: 189 / 56;
	height: auto;
}

.header__menu--list {
	display: flex;
}

.header__menu--list li {
	margin: 0 2rem 0 0;
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
}

.header__menu--list li:last-child {
	margin: 0;
}

.header__menu--list li a:hover {
	color: var(--primary-color);
}

/* PROMO */

.promo__section {
	background: url('../img/promo-bg.png') no-repeat top / cover;
}

.promo__wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-radius: 40px;
	margin: 0;
}

.promo__img {
	border-radius: 40px 0 0 40px;
	width: 100%;
	max-width: 512px;
	position: relative;
}

.promo__img img {
	height: 100%;
}

.promo__info {
	width: 100%;
	max-width: 770px;
	padding: 90px 0;
}

.promo__rete {
	margin: 0 0 20px 0;
}

.promo__title {
	max-width: 633px;
	font-size: 42px;
	font-weight: 700;
	line-height: 60px;
	margin: 0 0 24px 0;
}

.promo__description {
	font-size: 20px;
	font-weight: 500;
	line-height: 28px;
	margin: 0 0 40px 0;
}

.promo__btn {
	max-width: 206px;
}

.btn__wrapper {
	display: flex;
	gap: 2rem;
	align-items: center;
}

.btn {
	display: inline-flex;
	justify-content: center;
	width: 100%;
	padding: 20px;
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
	border-radius: 40px;
	background-color: var(--primary-color);
	transition: all .3s ease;
	box-shadow: 0px 11px 22px 0px #0000001C;
}

.btn:hover {
	background-color: #f5d562;
	color: #fff;
}

/* OFFER */

.offer__section {
	padding: 80px 0 100px 0;
}

.offer__item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	padding: 32px 40px;
	margin: 0 0 20px 0;
	border: 1px solid #EFEFEF;
	border-radius: 40px;
	background-color: #fff;
	box-shadow: -15px 15px 0px 0px rgba(0,0,0,0.46);
	position: relative;
}

.offer__item:last-child {
	margin: 0;
}
.offer__item:last-child::after {
	content: '';
	position: absolute;
	width: 132px;
	height: 132px;
	background: url(../img/label-best.png) no-repeat top / cover;
	bottom: -25%;
    left: -5%;
}

.offer__logo {
	display: flex;
	gap: 12px;
	flex-direction: column;
	align-items: center;
	text-align: center;
	width: 100%;
	max-width: 268px;
}

.offer__logo .promo__rete {
	margin: 0;
}

.offer__logo p {
	color: var(--gray-color);
	font-size: 12px;
	font-weight: 500;
	line-height: 18px;
}

.offer__pricing {
	width: 264px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.offer__condition {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 12px;
	border-radius: 16px;
	border: 1px solid #e1e1e1;
	background-color: #EFEFEF;
}

.offer__condition p {
	color: var(--gray-color);
	font-size: 16px;
	font-weight: 400;
	line-height: 26px;
}

.offer__condition span {
	font-size: 24px;
	font-weight: 700;
	line-height: 26px;
	color: #000;
}
.offer__condition span b {
	font-family: serif;
	color: #000;

}

.offer__advantages {
	width: 310px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.offer__advantages p {
	color: var(--gray-color);
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 15px;
	font-style: normal;
	font-weight: 400;
	line-height: 24px;
}

.offer__advantages p b {
	color: var(--gray-color);
}

.offer__advantages p svg {
	flex-shrink: 0;
}

.offer__action {
	width: 250px;
}

.offer__payment {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 7px;
	margin: 0 0 20px 0;
}

/* FAQ */

.faq__section {
	background: var(--primary-color);
	padding: 70px;
}

.faq__title {
	text-align: center;
	font-size: 48px;
	font-weight: 700;
	line-height: 60px;
	margin: 0 0 40px;
}

.faq__item {
	width: 100%;
	overflow: hidden;
	margin-top: 20px;
	border: 1px solid #F3F3F3;
	border-radius: 24px;
	background: #fff;
	box-shadow: -15px 15px 0px 0px rgba(0,0,0,0.46);
}

.faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: transparent;
	font-size: 28px;
	cursor: pointer;
	font-style: normal;
	font-weight: 700;
	line-height: 36px;
	padding: 30px;
	width: 100%;
	text-align: left;
	transition: all ease 0.2s;
}

.faq__question:after {
	content: '';
	float: right;
	flex-shrink: 0;
	margin-left: 5px;
	font-size: 2.8rem;
	font-weight: 200;
	background: url(../img/arrow.svg) no-repeat center center;
	background-color: var(--primary-color);
	border-radius: 12px;
	transition: all ease 0.2s;
	width: 48px;
	height: 48px;
	transform: rotateZ(180deg);
	box-shadow: 5px -5px 0px 0px rgba(153,153,153,1);
}

.faq__question.active:after {
	font-size: 2.8rem;
	font-weight: 200;
	transform: rotateZ(0deg);
}

.faq__content {
	padding: 0;
	background-color: transparent;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.2s ease-out;
	border-top: none;
}

.faq__content p {
	padding: 0 30px 30px 30px;
	font-size: 16px;
	font-weight: 400;
	line-height: 28px;
}


/* FOOTER */

footer {
	padding: 64px 0;
}

.footer__header {
	width: 100%;
	margin: 0 auto;
}

.footer__logo {
	display: block;
}

.footer__menu--list {
	display: flex;
	justify-content: center;
	gap: 1rem;
}

.footer__menu--list a {
	color: var(--gray-color);
	font-size: 16px;
	font-weight: 700;
}

.footer__menu--list a:hover {
	color: var(--primary-color);
}

.footer__body {
	margin: 30px 0;
}

.footer__body p {
	color: #515151;
	font-weight: 400;
	line-height: 24px;
}

.footer__copyright {
	display: flex;
	justify-content: space-between;
}

.copyright {
	font-size: 16px;
	color: #000;
	font-weight: 700;
}

/*  Policy  */

.main-block {
	max-width: 750px;
	margin: 0 auto;
	padding: 30px 0 0;
}

.main-block h2{
	font-size: 32px;
	font-weight: 700;
	font-family: sans-serif;
	margin-bottom: 20px;
	text-align: center;
}

.main-block p {
	margin-bottom: 20px;
}

.main-block p.bold {
	font-weight: 700;
}

.email {
	font-family: sans-serif;
}


@media screen and (max-width:1439px) {
	.container {
		padding: 0 15px;
	}
}

@media screen and (max-width:1280px) {
	.promo__img img {
		object-fit: cover;
	}
	.offer__logo {
		max-width: 180px;
	}
	.offer__advantages p {
		font-size: 12px;
	}
	.offer__item {
		padding: 30px
	}
	.promo__title {
		line-height: normal;
	}
}

@media screen and (max-width:990px) {
	.promo__wrapper {
		padding: 40px 0;
		flex-direction: column-reverse;
	}
	.offer__logo .promo__rete {
		width: 100%;
	}
	.offer__logo {
		text-align: left;
	}
	.offer__item {
		flex-wrap: wrap;
	}
	.offer__condition p {
		font-size: 12px;
	}
	.promo__img img {
		object-fit: cover;
	}
	.promo__section {
		flex-direction: column;
		align-items: center;
	}
	.promo__img::before {
		background: linear-gradient(0deg, #181818 0%, rgba(24, 24, 24, 0.00) 100%);
	}
	.promo__img, .promo__img img {
		max-width: 240px;
	}
	.promo__info {
		padding: 40px 0 0;
		max-width: none;
	}
	.faq__section {
		padding: 50px 20px 60px;
	}
}

@media screen and (max-width:768px) {
	.offer__section {
		padding: 50px 0 80px 0;
	}
	.promo__img img {
		width: 100%;
	}
	.promo__title {
		font-size: 32px;
		line-height: normal;
	}
	footer {
		padding: 32px 0;
	}
	.offer__item:last-child::after {
		bottom: -10%;
		left: -17%;
	}
}


@media screen and (max-width:680px) {
	.header{
		border-radius: 20px;
		flex-direction: column;
	}
	.header__wrapper {
		flex-direction: column;
	}
	.header__logo {
		margin: 0 0 15px 0;
	}
	.promo__description  {
		font-size: 16px;
	}
	.promo__img img {
		width: 100%;
	}
	.offer__item {
		padding: 30px 20px;
		flex-direction: column;
		max-width: 375px;
        margin: 0 auto 20px;
	}
	.offer__item:last-child {
		margin: 0 auto;
	}
	.offer__logo, .offer__pricing, .offer__advantages{
		width: 100%;
		max-width: none;
	}
	.offer__logo img{
		width: 180px;
	}
	.offer__logo .promo__rete {
		text-align: center;
	}
	.offer__logo p {
		text-align: center;
	}
	.btn {
		padding: 15px;
	}
	.faq__title {
		font-size: 32px;
		line-height: normal;
	}
	.faq__question {
		font-size: 21px;
		line-height: normal;
	}
	.footer__copyright {
		flex-direction: column-reverse;
		align-items: center;
		gap: 1rem;
	}
	.footer__menu--list a {
		font-size: 12px;
	}
	.offer__item:last-child::after {
		bottom: -20%;
        left: -5%;
	}
	.offer__item {
		box-shadow: -12px 12px 0px 0px rgba(0,0,0,0.46);
	}
	.btn__wrapper {
		flex-direction: column;
	}
} 