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

body { min-width: 320px; background: #fff; font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 500; line-height: 1.5; color: #5D5D5D; }

a { color: #983FA8; text-decoration: none; }
a:hover { text-decoration: underline; }

figure { margin: 0; }

img { vertical-align: middle; max-width: 100%; height: auto; }

h1,
h2,
h3,
h4,
h5,
h6 { margin: 0 0 0.5em; font-family: 'Montserrat Alternates', sans-serif; font-weight: 500; line-height: 1.2; }

h1 { font-size: 50px; font-weight: 800; }
h2 { font-size: 40px; font-weight: 800; }
h3 { font-size: 30px; }
h4 { font-size: 20px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

.visible-mobile { display: none !important; }

/*  Wrapper  */
.wrapper { overflow: hidden; padding-top: 78px; }

/*  Container  */
.container { margin: 0 auto; padding: 0 15px; max-width: 1200px; }

/*  Button  */
.button { display: inline-block; vertical-align: middle; padding: 26px 36px; background: #F60F67; border: 0; border-radius: 35px; color: #fff; font-size: 15px; font-weight: bold; line-height: 1.25; text-transform: uppercase; text-align: center; text-decoration: none; -webkit-appearance: none; -moz-appearance: none; appearance: none; transition: all .2s ease-out; }
.button:hover { background: #CF0B56; text-decoration: none; }
.button--light { background: #fff; color: #6E5CBB; }
.button--light:hover { background: rgba(255,255,255,0.5); color: #6E5CBB; }
.button--small { padding: 15px 32px; }

/*  Header  */
.header { position: fixed; z-index: 100; left: 0; top: 0; width: 100%; padding: 17px 0 12px; background: #fff; transition: .2s padding; }
.header.is-sticky { padding: 8px 0 5px; }
.header.is-sticky .button--small { padding: 8px 24px; }

.header__inner { display: flex; align-items: center; justify-content: space-between; }

.header__logo { transition: all 0.2s ease-out; }
.header__logo:hover { opacity: 0.7; }

/*  Hero  */
.hero { position: relative; padding: 45px 0; }
.hero:before { content: ''; position: absolute; left: 35%; bottom: -450px; width: 1907px; height: 1888px; background: url(../images/hero-bg.svg) 0 0 / 100% 100%; }

.hero .container { position: relative; display: flex; align-items: center; }

.hero__content { flex: 0 0 auto; width: 41.67%; margin-right: 30px; font-size: 18px; }
.hero__content h5 { text-transform: uppercase; }
.hero__content h2 { color: #983FA8; }
.hero__content .button { margin-top: 30px; }
.hero__aside { flex: 1 1 auto; }
.hero__aside iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 12px; }
.hero__aside h5,
.hero__content h5 { text-transform: uppercase; }
.hero__aside h5:after,
.hero__content h5:after { content: ''; display: inline-block; vertical-align: middle; width: 14px; height: 10px; margin: -0.25em 0 0 0.5em; background: url(../images/ico-arrow-right.svg) 0 0 / 100% 100%; }

/*  Intro  */
.intro { position: relative; padding: 100px 0; }
.intro .container { position: relative; display: flex; align-items: center; }
.intro__aside { position: relative; flex: 0 0 auto; width: 41.67%; margin-right: 30px; }
.intro__aside:before { content: ''; position: absolute; left: -70px; top: -180px; width: 560px; height: 571px; background: url(../images/intro-title-bg.svg) 0 0 / 100% 100%; }
.intro__aside h2 { position: relative; padding: 0 70px; color: #fff; }
.intro__content { flex: 1 1 auto; max-width: 41.67%; }
.intro__content h2 { color: #5099F3; }
.intro__content .button { margin-top: 30px; }

/*  Contents  */
.contents { padding: 60px 0 100px; background: #f8fbfd; text-align: center; }

.contents__head { margin-bottom: 70px; }
.contents__head h2 { color: #983FA8; }

.contents__foot { margin-top: 70px; }

/*  Features  */
.features { padding: 70px 0 0; }
.features__items { list-style: none outside none; display: flex; gap: 30px; }
.features__items li { flex: 1 1 20%; }
.feature figure { margin-bottom: 20px;  }
.feature h3 { color: #4B14E0; }

/*  Features Alt  */
.features-alt { padding: 50px 0 100px; }
.features-alt__items { display: flex; flex-flow: row nowrap; align-items: start; gap: 30px; list-style: none outside none; counter-reset: list-number; }
.features-alt__items li { flex: 1 1 30px; }
.feature-alt:before { content: counter(list-number) '.'; counter-increment: list-number; display: block; margin-bottom: 30px; font-family: 'Montserrat Alternates'; font-size: 200px; font-weight: bold; line-height: 1; color: #78A9F2; }
.feature-alt:nth-child(2):before { color: #983fa8; }
.feature-alt:nth-child(3):before { color: #4b14e0; }
.feature-alt h3 { color: #4B14E0; }

/*  Testimonials  */
.testimonials { padding: 70px 0; }
.testimonials .container { position: relative; }

.testimonials__image { position: absolute; left: 0; top: 0; width: 33.33%; padding-left: 15px; }
.testimonials__image:before { content: ''; position: absolute; right: -75px; top: -225px; width: 1544px; height: 1433px; background: url(../images/testimonials-bg.svg) 0 0 / 100% 100%; }
.testimonials__image img { position: relative; }

.testimonials__head { position: relative; padding-left: calc(33.33% + 30px); margin-bottom: 70px; }
.testimonials__head h2 { color: #983FA8; }
.testimonials__head .button { margin-top: 30px; }

.testimonials__body { position: relative; }
.testimonials__body h2 { margin-bottom: 70px; padding-left: calc(33.33% + 30px); color: #4B14E0; }

.testimonials__items,
.testimonials__items ul { list-style: none outside none; }
.testimonials__items { display: flex; flex-flow: row nowrap; align-items: start; gap: 30px; }
.testimonials__items > li { flex: 1 1 30%; }
.testimonials__items > li:first-child { padding-top: 430px; }

.testimonial { padding: 30px 38px; margin-bottom: 50px; border-radius: 22px; background: #fff; box-shadow: 0 0 20px 0 rgba(0,0,0,.1);  }
.testimonial:last-child { margin-bottom: 0; }
.testimonial h4 { color: #5099F3; font-weight: 800; }
.testimonial h5 { margin-bottom: 15px; }
.testimonial p { font-style: italic; }
.testimonial figure { margin-top: 30px; border-radius: 22px; overflow: hidden; }
.testimonial figure img { width: 100%; }

/*  Callout  */
.callout { padding: 85px 0 100px; background: #983fa8; background: linear-gradient(-90deg, rgba(152,63,168,0.8) 0%, rgba(80,154,244,0.8) 100%); color: #fff; text-align: center; }
.callout .button { margin-top: 50px; }

/*  Plans  */
.plans { padding: 60px 0 100px; background: #f60f67; color: #fff; text-align: center; }
.plans__head { margin-bottom: 95px; }
.plans__foot { text-align: center; }
.plans__items { list-style: none outside none; display: flex; flex-flow: row nowrap; align-items: stretch; gap: 30px; }
.plans__items li { min-width: 0; flex: 1 1 30%; }
.plans__foot { margin-top: 80px; font-size: 20px; }
.plans__foot h3 { font-weight: 800; }
.plans__foot .button { margin-top: 50px; }

.plan { display: flex; flex-flow: column nowrap; align-items: center; position: relative; padding: 40px 30px 30px; border-radius: 22px; background: #fff; box-shadow: 0 0 20px 0 rgba(0,0,0,.1); color: #5D5D5D; }
.plan__banner { position: absolute; top: -40px; left: 0; width: 100%; padding: 18px 24px; border-radius: 22px 22px 0 0; background: #983fa8; background: linear-gradient(-90deg, rgba(152,63,168,1) 0%, rgba(80,154,244,1) 100%); color: #fff;  }
.plan__button { width: 270px; max-width: 100%; background: #fae8ef; color: #F60F67; }
.plan__button--alt { background: #4b14e0; color: #fff; }
.plan__button:hover { color: #fff; }
.plan__price { display: flex; flex-flow: row nowrap; align-items: center; justify-content: center; line-height: 1; }
.plan__price-old { text-decoration: line-through; font-size: 30px; color: #828282; }
.plan__price-new { display: flex; flex-flow: row nowrap; align-self: start; color: #e33672; font-size: 100px; }
.plan__price-new span { padding-top: 0.4em; font-size: .35em; font-weight: bold; line-height: 0.9; }
.plan__content { display: flex; flex-flow: column nowrap; justify-content: center; align-items: stretch; flex: 1 1 auto; padding: 30px 0; }
.plan__foot { margin-top: 30px; font-size: 14px; }

/*  FAQ  */
.faq { padding: 60px 0; }
.faq h3 { margin-bottom: 30px; color: #983FA8; font-weight: 800; }
.faq__items { list-style: none outside none;  }
.faq__items li { margin-bottom: 30px; }
.faq__items summary { display: block; }
.faq__items h4 { position: relative; padding: 10px 40px 10px 10px; border-left: 7px solid #78aaf3; font-weight: bold; cursor: pointer; }
.faq__items h4:after { content: ''; position: absolute; right: 0; top: 50%; margin-top: -15px; width: 20px; height: 20px; border-width: 0 3px 3px 0; border-style: solid; border-color: #78aaf3; transform: rotate(45deg); }

/*  Contacts  */
.contacts { padding: 60px 0; border-width: 1px 0; border-style: solid; border-color: #7B93A3; }
.contacts h3 { margin-bottom: 35px; color: #333; font-weight: 800; }
.contacts__items { display: flex; flex-flow: row nowrap; list-style: none outside none; gap: 130px; }
.contacts__items a { display: flex; flex-flow: nowrap; align-items: center; font-weight: bold; }
.contacts__items a:before { content: ''; margin-right: 10px; background-size: 100% 100%; background-position: 0 0; }
.contacts__items .link-mail:before { width: 22px; height: 18px; background-image: url(../images/ico-mail.svg); }
.contacts__items .link-facebook:before { width: 11px; height: 22px; background-image: url(../images/ico-facebook.svg); }
.contacts__items .link-instagram:before { width: 22px; height: 22px; background-image: url(../images/ico-instagram.svg); }

/*  Footer  */
.footer { padding: 40px 0; background: #f8fbfd; }
.footer .container { display: flex; flex-flow: row nowrap; align-items: center; justify-content: space-between; }
.footer__nav { display: flex; flex-flow: row nowrap; list-style: none outside none; gap: 60px; }
.footer__nav a { color: inherit; }


/*  Mobile  */
@media (max-width: 1023px) {
	body { font-size: 14px }
	h1 { font-size: 40px; }
	h2 { font-size: 30px; }
	h3 { font-size: 20px; }
	h4 { font-size: 18px; }
	h5 { font-size: 14px; }
	h6 { font-size: 12px; }

	.button { padding: 12px 20px; font-size: 12px; }
	.button--small { padding: 8px 16px; font-size: 11px; }

	.hidden-mobile { display: none !important; }
	.visible-mobile { display: block !important; }

	.header.is-sticky .button--small { padding: 6px 16px; }
	.header__logo { max-width: 150px; }

	.hero { padding: 40px 0; }
	.hero:before { width: 476.5px; height: 472px; left: 55%; bottom: -120px; }
	.hero .container { display: block; }
	.hero__content { width: auto; margin: 0 0 30px }

	.intro { padding: 120px 0 40px; }
	.intro .container { display: block; }
	.intro__aside { width: auto; max-width: 450px; margin: 0 auto 120px; }
	.intro__aside:before { width: 450px; height: 450px; left: -40px; top: -140px; }
	.intro__content { max-width: none; }

	.contents { padding: 40px 0; }

	.features { padding: 40px 0; }
	.features__items { display: block; }
	.feature { margin: 0 0 40px; text-align: center; }

	.features-alt { padding: 40px 0; }
	.features-alt__items { display: block; }
	.feature-alt { margin-bottom: 40px; }
	.feature-alt:last-child { margin-bottom: 0; }
	.feature-alt:before { margin-bottom: 20px; font-size: 100px; }

	.testimonials { padding: 40px 0; }
	.testimonials__body h2 { padding: 0; margin: 0 0 30px; text-align: center; }
	.testimonials__items { display: block; }
	.testimonials__items > li:first-child { padding: 0; }
	.testimonials__items li { margin: 0 0 20px !important; }

	.callout { padding: 40px 0; }

	.plans { padding: 40px 0; }
	.plans__head { margin-bottom: 60px; }
	.plans__items { display: block; }
	.plans__foot { margin-top: 40px; }
	.plan { max-width: 400px; margin: 0 auto 60px; }
	.plan:last-child { margin-bottom: 0; }

	.faq { padding: 40px 0; }

	.contacts { padding: 40px 0; }
	.contacts__items { display: block; }
	.contacts__items li { margin-bottom: 20px; }

	.footer { padding: 20px 0; text-align: center; }
	.footer .container { display: block; }
	.footer__nav { display: block; margin-top: 20px; }
}

