/* sajtstart.com — стили. Дизайн перенесён с Tilda-версии (размеры сняты с макета 1200px). */
:root {
  --blue: #4654f6;
  --blue-btn: #4753f5;
  --blue-soft: #f6f6ff;
  --orange: #f3814b;
  --ink: #161938;
  --ink-60: rgba(22, 25, 56, .6);
  --ink-30: rgba(22, 25, 56, .3);
  --gray: #f3f4f8;
  --line: #d4d4d4;
  --white: #fff;
  --wide: min(1320px, calc(100% - 24px));
  --font: 'Inter Tight', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 18px; line-height: 24px; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
h1, h2, h3, p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- типографика ---------- */
.h2 { font-size: 44px; line-height: 44px; font-weight: 500; letter-spacing: .5px; }
.h3 { font-size: 22px; line-height: 26px; font-weight: 500; letter-spacing: .5px; }
.lead { font-size: 18px; line-height: 24px; letter-spacing: .5px; color: var(--ink-60); }
.more { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; line-height: 25px; font-weight: 600; color: var(--orange); }
.more--blue { font-size: 14px; line-height: 15px; font-weight: 500; color: var(--blue); }
.more:hover { opacity: .8; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 24px; border-radius: 10px; font-size: 14px; line-height: 1; font-weight: 600; letter-spacing: .5px; white-space: nowrap; transition: filter .2s, background-color .2s, color .2s; }
.btn:hover { filter: brightness(1.06); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--orange { background: var(--orange); color: var(--white); }
.btn--soft { background: var(--blue-soft); color: var(--blue-btn); }
.btn--outline { border: 1px solid var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); filter: none; }
.btn--sm { height: 44px; padding: 0 20px; border-radius: 5px; }
.btn--arrow { justify-content: space-between; gap: 20px; height: 60px; min-width: 220px; padding: 0 10px 0 24px; }
.btn--lg.btn--blue { font-size: 16px; }
.btn__ico { width: 40px; height: 40px; flex: none; }

.chip { display: inline-flex; align-items: center; height: 28px; padding: 0 9px; border-radius: 6px; background: var(--white); color: var(--orange); font-size: 14px; font-weight: 600; }
.badge { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 30px; background: var(--blue); color: var(--white); font-size: 10px; font-weight: 600; }

/* ---------- шапка ---------- */
.hdr { position: sticky; top: 0; z-index: 50; }
.hdr__bar { width: var(--wide); margin: 0 auto; height: 90px; background: var(--white); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 20px 20px; }
.hdr__in { display: flex; align-items: center; height: 100%; }
.logo { font-size: 24px; line-height: 38px; font-weight: 600; color: var(--blue); letter-spacing: -.01em; }
.logo--sm { font-size: 22px; line-height: 34px; }
.hdr .logo { flex: 0 0 344px; }
.hdr__nav { display: flex; align-items: center; gap: 26px; }
.hdr__link { display: inline-flex; align-items: center; gap: 9px; height: 44px; font-size: 14px; letter-spacing: .5px; color: var(--ink-60); transition: color .2s; }
.hdr__link:hover, .hdr__link.is-active { color: var(--ink); }
.hdr__drop { position: relative; }
.hdr__drop.is-accent > .hdr__link { color: var(--blue); font-weight: 600; }
.hdr__caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); border-radius: 1px; }
.hdr__menu { position: absolute; top: 100%; left: 50%; width: 550px; margin-left: -275px; padding: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px 10px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.hdr__drop:hover .hdr__menu, .hdr__drop:focus-within .hdr__menu { opacity: 1; visibility: visible; transform: none; }
.hdr__menu a { padding: 10px 12px; border-radius: 8px; font-size: 14px; line-height: 20px; }
.hdr__menu a:hover { background: var(--gray); }
.hdr__side { margin-left: auto; display: flex; align-items: center; gap: 17px; }
.hdr__msg { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gray); }
.hdr__ask { width: 140px; padding: 0; }
.hdr__burger { display: none; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.hdr__burger span { width: 32px; height: 3px; border-radius: 3px; background: var(--blue); transition: transform .2s, opacity .2s; }
.hdr__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hdr__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hdr__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
.mnav { width: var(--wide); margin: 6px auto 0; padding: 14px 0 20px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; max-height: calc(100vh - 80px); overflow: auto; }
.mnav__link { display: block; padding: 10px 0; font-size: 18px; font-weight: 500; }
.mnav__sub { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; padding: 0 0 8px; }
.mnav__sub a { padding: 7px 0; font-size: 14px; color: var(--ink-60); }
.mnav__ask { width: 100%; margin-top: 12px; }

/* ---------- первый экран ---------- */
.hero { padding-top: 20px; }
.hero__card { position: relative; width: var(--wide); height: 830px; margin: 0 auto; overflow: hidden; border-radius: 20px; background: var(--blue); color: var(--white); }
.hero__bg { position: absolute; left: 50%; top: -161px; width: 1521px; max-width: none; height: 977px; margin-left: -777px; opacity: .03; pointer-events: none; }
.hero__in { position: relative; display: flex; flex-direction: column; align-items: center; padding-top: 80px; text-align: center; }
.hero__title { max-width: 790px; font-size: 78px; line-height: 70px; font-weight: 500; letter-spacing: -2px; }
.hero__sub { margin-top: 24px; font-size: 18px; line-height: 28px; letter-spacing: -.3px; color: rgba(255, 255, 255, .6); }
.hero__btn { margin-top: 44px; min-width: 226px; }

.collage { position: absolute; left: 0; right: 0; bottom: 0; height: 341px; overflow: hidden; pointer-events: none; }
.collage__stage { position: absolute; left: 50%; top: 0; width: 1200px; height: 460px; margin-left: -600px; }
.collage__card { position: absolute; width: 226px; height: 177px; border-radius: 10px; background: rgba(255, 255, 255, .1); }
.collage__card--c0 { left: 0; } .collage__card--c1 { left: 244px; } .collage__card--c2 { left: 487px; } .collage__card--c3 { left: 731px; } .collage__card--c4 { left: 974px; }
.collage__card--r0 { top: 54px; } .collage__card--r1 { top: 254px; }
.collage__card--c1.collage__card--r0, .collage__card--c3.collage__card--r0 { top: 0; }
.collage__card--c1.collage__card--r1, .collage__card--c3.collage__card--r1 { top: 200px; }
.collage__card span { position: absolute; left: 14px; bottom: 9px; right: 14px; font-size: 11px; line-height: 17px; font-weight: 500; }
.collage__card b { position: absolute; left: 20px; top: 21px; font-size: 44px; line-height: 40px; font-weight: 600; }
.collage__card i { position: absolute; left: 20px; top: 90px; width: 190px; font-style: normal; font-size: 14px; line-height: 17px; font-weight: 500; color: rgba(255, 255, 255, .6); }
.collage__img { position: absolute; left: 13px; top: 12px; width: 1174px; max-width: none; height: 370px; }

/* ---------- секции ---------- */
.sec { padding: 66px 0 80px; }
.sec--white { background: var(--white); }
.sec--gray { background: var(--gray); }
.sec--round { border-radius: 0 0 50px 50px; }
.band--gray { background: var(--gray); }
.band--white { background: var(--white); }
.sec__sub { margin-top: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }

.intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 40px; align-items: start; }
.intro .h2 { max-width: 520px; letter-spacing: 1px; }
.steps .h2, .cta .h2 { letter-spacing: normal; }
.benefits .h2 { max-width: 570px; }
.intro__side { padding-top: 8px; }
.intro__accent { margin: 29px 0 37px; font-size: 22px; line-height: 24px; font-weight: 500; letter-spacing: .5px; color: var(--orange); }

.benefits { padding-bottom: 2px; background: linear-gradient(0deg, #fff 0%, var(--gray) 100%); }
.benefits__grid { margin-top: 48px; }
.bcard { min-height: 360px; padding: 28px 30px; border-radius: 15px; background: var(--blue) center bottom / cover no-repeat; color: var(--white); }
.bcard .h3 { max-width: 325px; line-height: 24px; }
.bcard p { max-width: 310px; margin-top: 12px; font-size: 18px; line-height: 22px; letter-spacing: .5px; color: rgba(255, 255, 255, .6); }

.steps__grid { margin-top: 40px; }
.scard { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-height: 540px; padding: 31px 10px 6px; border-radius: 15px; background: var(--gray); }
.scard > :not(img) { margin-left: 21px; margin-right: 21px; }
.scard .h3 { margin-top: 29px; max-width: 290px; }
.scard .lead { margin-top: 14px; max-width: 305px; }
.scard img { width: 100%; margin-top: auto; padding-top: 20px; }
.scard + .scard::before { content: '»'; position: absolute; left: -17px; top: 29px; font-size: 20px; line-height: 31px; font-weight: 700; color: var(--orange); }

/* карточка шаблона */
.tgrid { gap: 40px; margin-top: 40px; }
.tcard { display: flex; flex-direction: column; overflow: hidden; border-radius: 12px; background: var(--white); }
.tcard__img { display: block; margin: 10px 10px 0; overflow: hidden; border-radius: 8px; aspect-ratio: 340 / 190; background: var(--gray); }
.tcard__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .4s; }
.tcard:hover .tcard__img img { transform: scale(1.03); }
.tcard__body { display: flex; flex: 1; flex-direction: column; padding: 20px 20px 22px; }
.tcard__title { font-size: 20px; line-height: 26px; font-weight: 500; }
.tcard__descr { margin-top: 8px; font-size: 14px; line-height: 22px; color: rgba(22, 25, 56, .8); }
.tcard__price { margin-top: 18px; font-size: 20px; line-height: 26px; font-weight: 500; }
.tcard__btns { display: flex; gap: 10px; margin-top: auto; padding-top: 20px; }
.tcard__btns .btn { flex: 1; padding: 0 10px; }
.popular__more { display: flex; justify-content: center; margin-top: 40px; }

.banner-sec { padding: 80px 0 0; }
.banner { min-height: 380px; padding: 35px 40px 43px; border-radius: 20px; background: var(--blue) right center / cover no-repeat; color: var(--white); }
.banner__title { max-width: 370px; line-height: 51px; }
.banner__text { max-width: 424px; margin: 23px 0 69px; font-size: 18px; line-height: 24px; letter-spacing: .5px; color: rgba(255, 255, 255, .6); }

/* три шага с линией */
.howto { padding: 67px 0 64px; }
.line3 { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 34px; }
.line3::before { content: ''; position: absolute; left: 30px; top: 30px; width: 66.666%; border-top: 1px dashed rgba(0, 0, 0, .15); }
.line3__item { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.line3__ico { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 12px; }
.line3__ico--orange { background: var(--orange); }
.line3__ico--white { background: var(--white); }
.line3__n { margin-top: 36px; font-size: 14px; line-height: 15px; color: var(--ink-30); }
.line3__n--orange { margin-top: 32px; font-size: 12px; line-height: 13px; color: var(--orange); }
.line3 .h3 { margin-top: 15px; max-width: 250px; line-height: 28px; }
.line3 .lead { margin-top: 11px; max-width: 350px; }
.line3 .more { margin-top: 26px; }
.three .line3 .h3 { margin-top: 11px; max-width: none; line-height: 24px; }

.features__grid { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 560px); justify-content: space-between; gap: 40px; margin-top: 41px; }
.features { padding-bottom: 85px; }
.features__list { display: grid; gap: 19px; align-content: start; }
.fcard { position: relative; min-height: 126px; padding: 23px 70px 20px 31px; border-radius: 15px; background: var(--gray); }
.fcard .h3 { line-height: 24px; }
.fcard .lead { margin-top: 6px; line-height: 23px; }
.fcard__n { position: absolute; top: 30px; right: 28px; font-size: 14px; line-height: 15px; font-weight: 600; color: var(--blue); }
.mosaic { position: relative; container-type: inline-size; aspect-ratio: 560 / 704; }
.mosaic > div { position: absolute; border-radius: 2.68cqw; background: var(--gray); overflow: hidden; }
.mosaic__big { width: 64.29%; height: 48.44%; }
.mosaic__big--a { left: 0; top: 0; }
.mosaic__big--b { right: 0; bottom: 0; }
.mosaic__big img { position: absolute; bottom: 0; height: 84.5%; width: auto; max-width: none; }
.mosaic__big--a img { left: 14.7%; }
.mosaic__big--b img { right: 0; }
.mosaic__stat { width: 32.14%; height: 27.13%; padding: 4.7cqw 5.2cqw; box-shadow: 0 1.8cqw 5.4cqw rgba(22, 25, 56, .08); }
.mosaic__stat--a { right: 0; top: 21.3%; }
.mosaic__stat--b { left: 0; top: 51.4%; }
.mosaic__stat b { display: block; font-size: 7.86cqw; line-height: 8.57cqw; font-weight: 700; color: var(--blue); }
.mosaic__stat span { display: block; margin-top: 7.8cqw; font-size: 3.2cqw; line-height: 3.57cqw; color: var(--ink-60); }

/* аккордеон */
.faq { padding: 67px 0 0; }
.acc { display: grid; gap: 10px; margin-top: 34px; }
.acc__item { border-radius: 12px; background: var(--white); }
.acc__item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 20px; font-size: 20px; line-height: 26px; cursor: pointer; list-style: none; }
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary i { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--orange); transition: transform .25s; }
.acc__item summary i::before, .acc__item summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; margin: -1px 0 0 -9px; background: var(--white); border-radius: 2px; }
.acc__item summary i::after { transform: rotate(90deg); }
.acc__item[open] summary i { transform: rotate(45deg); }
.acc__body { padding: 0 78px 22px 20px; font-size: 16px; line-height: 25px; color: rgba(22, 25, 56, .75); }
.acc__body ul { margin: 8px 0; padding-left: 20px; }
.faq__more { display: flex; justify-content: center; padding: 28px 0 0; }

.three { padding: 65px 0 78px; }
.three__head { display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 40px; }
.three__head .h2 { max-width: 490px; line-height: 51px; }
.three__head .lead { max-width: 503px; padding-top: 8px; }
.three .line3 { margin-top: 24px; }

/* отзывы */
.reviews { padding: 67px 0 60px; overflow: hidden; }
.reviews__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.reviews__nav { display: flex; gap: 10px; }
.reviews__nav button { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; background: var(--gray); transition: background-color .2s; }
.reviews__nav button:hover { background: #e6e8f0; }
.reviews__nav button::before { content: ''; width: 9px; height: 9px; margin-left: -4px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.reviews__nav button:first-child::before { margin-left: 4px; transform: rotate(135deg); }
.reviews__track { display: flex; gap: 40px; margin-top: 34px; padding: 0 max(20px, calc((100vw - 1160px) / 2)); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 max(20px, calc((100vw - 1160px) / 2)); scrollbar-width: none; }
.reviews__track::-webkit-scrollbar { display: none; }
.rcard { flex: 0 0 360px; padding: 40px 40px 44px; border-radius: 15px; background: #f7f8fa; scroll-snap-align: start; }
.rcard header { display: flex; align-items: center; gap: 20px; min-height: 100px; }
.rcard header img, .rcard__ava { flex: none; width: 100px; height: 100px; border-radius: 50%; object-fit: cover; }
.rcard__ava { display: flex; align-items: center; justify-content: center; background: var(--blue-soft); color: var(--blue); font-size: 36px; font-weight: 500; }
.rcard b { display: block; font-size: 16px; line-height: 22px; font-weight: 600; }
.rcard header span { display: block; margin-top: 6px; font-size: 14px; line-height: 20px; }
.rcard p { margin-top: 44px; font-size: 16px; line-height: 26px; color: rgba(22, 25, 56, .7); }

/* нижний баннер */
.cta-sec { padding: 0; }
.cta { position: relative; display: flex; min-height: 380px; overflow: hidden; border-radius: 20px; background: var(--blue); color: var(--white); }
.cta__bg { position: absolute; left: -260px; top: -156px; width: 1400px; max-width: none; height: 800px; pointer-events: none; }
.cta__text { position: relative; padding: 35px 40px 43px; max-width: 480px; }
.cta__text .h2 { max-width: 320px; }
.cta__text p { max-width: 295px; margin: 16px 0 66px; font-size: 18px; line-height: 24px; color: rgba(255, 255, 255, .6); }
.cta__cards { position: absolute; left: 599px; top: -73px; display: flex; gap: 20px; pointer-events: none; }
.cta__col { display: grid; gap: 23px; align-content: start; }
.cta__col--up { margin-top: -54px; }
.cta__card { position: relative; width: 250px; height: 177px; padding: 11px 14px; border-radius: 10px; background: rgba(255, 255, 255, .1); }
.cta__card img { width: 221px; height: 116px; object-fit: cover; border-radius: 4px; }
.cta__card span { display: block; margin-top: 13px; font-size: 11px; line-height: 17px; font-weight: 500; }
.cta__card--stat { padding: 21px; }
.cta__card--stat b { display: block; font-size: 44px; line-height: 40px; font-weight: 600; }
.cta__card--stat i { display: block; margin-top: 9px; font-style: normal; font-size: 14px; line-height: 17px; font-weight: 500; color: rgba(255, 255, 255, .6); }

.seo { padding: 38px 0 30px; color: #9b9ca1; }
.seo__title { font-size: 13px; line-height: 16px; font-weight: 400; }
.seo__text { margin-top: 12px; font-size: 12px; line-height: 19px; max-width: 1010px; }
.seo__text p + p { margin-top: 10px; }
.seo__text.is-clamped { max-height: 19px; overflow: hidden; }
.seo__toggle { margin-top: 8px; font-size: 12px; line-height: 19px; color: var(--blue); }

/* ---------- внутренние страницы ---------- */
body.page-gray { background: var(--gray); }
.accent { font-size: 22px; line-height: 24px; font-weight: 500; letter-spacing: .5px; color: var(--orange); }
.h2--loose { line-height: 55px; }
.h2s { font-size: 32px; line-height: 32px; font-weight: 500; }
.txt { font-size: 16px; line-height: 23px; color: var(--ink-60); }
.txt a { text-decoration: underline; }
.more--sm { font-size: 14px; line-height: 22px; }
.split { display: grid; grid-template-columns: 51.72% minmax(0, 1fr); align-items: start; }
.split--680 { grid-template-columns: 56.9% minmax(0, 1fr); }
.band--blue { background: var(--blue); }
.band--split { background: linear-gradient(var(--gray) 50%, var(--white) 50%); }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; line-height: 19px; color: var(--white); }
.crumbs a, .crumbs img { opacity: .4; }
.crumbs a:hover { opacity: 1; }

.phead { padding-top: 60px; }
.phead__card { position: relative; width: var(--wide); min-height: 280px; margin: 0 auto; overflow: hidden; border-radius: 20px; background: var(--blue); color: var(--white); }
.phead__bg { position: absolute; left: 50%; top: -260px; width: 1400px; max-width: none; height: 800px; margin-left: -700px; pointer-events: none; }
.phead__in { position: relative; min-height: 280px; padding-top: 74px; padding-bottom: 60px; }
.phead__title { margin-top: 22px; max-width: 680px; font-size: 44px; line-height: 44px; font-weight: 500; letter-spacing: -1px; }
.phead__art { position: absolute; inset: 0; pointer-events: none; }
.pcard { position: absolute; width: 226px; height: 177px; border-radius: 10px; background: rgba(255, 255, 255, .1); }
.pcard img { position: absolute; left: 13px; top: 11px; width: 200px; height: 116px; object-fit: cover; border-radius: 4px; }
.pcard span { position: absolute; left: 21px; top: 143px; font-size: 11px; line-height: 17px; font-weight: 500; }
.pcard b { position: absolute; left: 20px; top: 18px; font-size: 44px; line-height: 40px; font-weight: 600; }
.pcard i { position: absolute; left: 21px; top: 67px; font-style: normal; font-size: 14px; line-height: 17px; font-weight: 500; color: rgba(255, 255, 255, .6); }
.pcard--c1 { left: 731px; top: -48px; }
.pcard--c2 { left: 974px; top: 24px; }
.pcard--c3 { left: 731px; top: 152px; height: 104px; }
.pcard--c4 { left: 974px; top: 224px; }
.pcard--c5 { left: 731px; top: 300px; }
.pcard--faq1, .pcard--faq2 { overflow: visible; background: #5b66f6; box-shadow: 10px 10px 0 rgba(91, 102, 246, .5), 0 10px 30px rgba(22, 25, 56, .12); }
.pcard--faq1 { left: 688px; top: 75px; height: 104px; }
.pcard--faq2 { left: 948px; top: 75px; height: 205px; border-radius: 10px 10px 0 0; }
.pcard--faq1 img, .pcard--faq2 img { left: 0; top: 0; width: 100%; height: 100%; border-radius: inherit; }
.paycard { position: absolute; left: 761px; width: 420px; height: 280px; border-radius: 20px; background: #5b66f6; }
.paycard--top { top: -100px; }
.paycard--bottom { top: 200px; }
.paycard b { position: absolute; left: 30px; top: 230px; font-size: 16px; line-height: 25px; font-weight: 600; }
.paycard span { position: absolute; right: 30px; top: 231px; font-size: 15px; line-height: 23px; }
.paycard img { position: absolute; top: 30px; }
.paycard img:first-child { left: 30px; }
.paycard img:last-child { right: 30px; }

/* о проекте */
.ahero { padding-top: 60px; }
.ahero__grid { display: grid; grid-template-columns: 1fr 1fr; width: var(--wide); margin: 0 auto; }
.ahero__blue, .ahero__white { display: flex; flex-direction: column; align-items: flex-start; min-height: 600px; border-radius: 20px; }
.ahero__blue { padding: 74px 80px 76px; background: var(--blue) center bottom / 100% auto no-repeat; color: var(--white); }
.ahero__title { margin-top: 22px; max-width: 345px; font-size: 44px; line-height: 57px; font-weight: 500; letter-spacing: .5px; }
.ahero__title span { color: var(--orange); }
.ahero__blue p { max-width: 316px; margin-top: auto; font-size: 18px; line-height: 24px; letter-spacing: .5px; color: rgba(255, 255, 255, .6); }
.ahero__white { padding: 79px 82px 76px; background: var(--white); }
.ahero__white img { border-radius: 20px; }
.ahero__white .h3 { margin-top: 35px; line-height: 24px; }
.ahero__white .lead { max-width: 415px; margin-top: 14px; }
.ahero__white .accent { max-width: 345px; margin-top: 80px; line-height: 28px; letter-spacing: normal; }
.acan { padding: 92px 0 97px; }
.acan .h2 { max-width: 790px; letter-spacing: normal; }
.acan__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin-top: 57px; }
.acan__item { display: flex; flex-direction: column; align-items: flex-start; }
.acan__n { margin-top: 32px; font-size: 12px; line-height: 13px; color: var(--orange); }
.acan .h3 { max-width: 250px; margin-top: 11px; line-height: 24px; letter-spacing: normal; }
.acan .lead { max-width: 250px; margin-top: 9px; letter-spacing: normal; }
.aadv { padding: 84px 0 100px; }
.aadv .h2 { max-width: 470px; }
.aadv .accent { max-width: 490px; margin-top: 6px; }
.aadv .lead { margin-top: 24px; }
.aadv__grid { margin-top: 54px; }
.aadv .bcard .h3, .aadv .bcard p { letter-spacing: normal; }
.astruct { padding: 0; }
.astruct__pic { position: relative; width: 580px; max-width: 100%; height: 380px; overflow: hidden; border-radius: 20px; background: #ecedf3; }
.astruct__laptop { position: absolute; left: 193px; top: 28px; width: 387px; max-width: none; height: 324px; }
.astruct__phone { position: absolute; left: 37px; top: 189px; width: 169px; height: 191px; }
.astruct .h2 { max-width: 460px; margin-top: -4px; letter-spacing: normal; }
.astruct .lead { max-width: 390px; margin-top: 24px; line-height: 22px; letter-spacing: normal; }
.astruct .accent { max-width: 462px; margin-top: 68px; letter-spacing: normal; }

/* вопросы и форма на странице */
.faqpage { padding: 61px 0 62px; }
.faqpage .acc { margin-top: 0; }
.askrow { margin-top: 100px; }
.askrow--top { margin-top: 0; }
.askrow .h2 { max-width: 475px; margin-top: -5px; }
.askrow .lead { max-width: 489px; margin-top: 47px; }
.askrow .more { margin-top: 17px; }
.askbox { padding: 35px 40px 40px; border-radius: 20px; background: var(--white); }
.askbox__title { font-size: 22px; line-height: 24px; font-weight: 500; }
.askbox__text { margin-top: 4px; font-size: 14px; line-height: 19px; color: var(--ink-60); }
.askbox .form { gap: 10px; margin-top: 18px; }
.askbox .form input[type="email"], .askbox .form input[type="tel"], .askbox .form textarea { padding: 14px 20px; border-color: transparent; background: var(--gray); font-size: 14px; }
.askbox .form textarea { min-height: 86px; }
.askbox__btn { justify-self: start; margin-top: 4px; }
.acc--gray .acc__item { background: var(--gray); }

/* оплата */
.pay { padding: 71px 0 84px; }
.pay__row + .pay__row { margin-top: 56px; padding-top: 56px; border-top: 1px solid rgba(22, 25, 56, .1); }
.pay .h2s { max-width: 451px; }
.pay .txt { max-width: 549px; margin-top: 25px; }
.pay .txt + .txt { margin-top: 23px; }
.pay__ways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pay__way { display: flex; flex-direction: column; justify-content: space-between; height: 145px; padding: 20px 23px; border-radius: 20px; background: var(--white); }
.pay__ico { position: relative; width: 42px; height: 42px; }
.pay__ico img { border-radius: 8px; }
.pay__ico i { position: absolute; left: 29px; top: 27px; display: flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; background: var(--blue); }
.pay__way b { font-size: 16px; line-height: 22px; font-weight: 500; color: rgba(22, 25, 56, .8); }
.pay__demo { position: relative; padding: 25px; border-radius: 20px; background: var(--white); }
.pay__demo::before { content: ''; position: absolute; right: 20px; top: 20px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue); }
.pay__note { display: flex; align-items: center; gap: 5px; min-height: 95px; padding: 20px 30px; border-radius: 16px; background: var(--white); box-shadow: 0 6px 24px rgba(22, 25, 56, .08); }
.pay__note div { flex: 1; }
.pay__note small { display: block; }
.pay__note span { display: block; margin-top: 3px; font-size: 14px; line-height: 19px; color: rgba(22, 25, 56, .8); }
.pay__note em { display: inline-flex; align-items: center; justify-content: center; width: 78px; height: 30px; border-radius: 30px; background: #ff8562; font-style: normal; font-size: 8px; font-weight: 500; color: var(--white); }
.pay__note em.is-no { width: 55px; background: #f6f7fa; color: #a9abb2; }
.pay__demo small { font-size: 10px; line-height: 14px; color: rgba(22, 25, 56, .25); }
.pay__demo > small { display: block; margin-top: 54px; font-weight: 500; }
.pay__demo > b { display: block; margin-top: 6px; font-size: 16px; line-height: 19px; font-weight: 500; color: rgba(22, 25, 56, .8); }
.helpb { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-height: 275px; padding: 35px 40px 41px; overflow: hidden; border-radius: 20px; background: var(--blue); color: var(--white); }
.helpb > * { position: relative; }
.helpb__bg { position: absolute; left: -440px; top: -415px; width: 1400px; max-width: none; height: 800px; }
.helpb__plane { position: absolute; left: 693px; top: 7px; opacity: .1; }
.helpb p { max-width: 494px; margin-top: 15px; font-size: 16px; line-height: 23px; color: rgba(255, 255, 255, .6); }
.helpb .btn { min-width: 180px; margin-top: auto; }
.payfaq { padding: 60px 0 50px; }

/* текстовые страницы */
.textpage { padding: 56px 0 90px; }
.prose { max-width: 780px; font-size: 18px; line-height: 27px; color: rgba(22, 25, 56, .78); }
.prose h2 { margin: 34px 0 10px; font-size: 24px; line-height: 30px; font-weight: 500; color: var(--ink); }
.prose p + p { margin-top: 14px; }
.prose a:not(.btn) { color: var(--blue); text-decoration: underline; }
.smap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.smap h2 { margin-bottom: 14px; font-size: 22px; line-height: 26px; font-weight: 500; }
.smap a { display: block; padding: 5px 0; font-size: 16px; line-height: 22px; color: rgba(22, 25, 56, .8); }
.smap a:hover { color: var(--blue); }

/* каталог */
.catalog { padding: 60px 0 64px; }
.catalog__grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 30px; align-items: start; }
.cfilter { position: sticky; top: 110px; display: grid; gap: 2px; }
.cfilter__h { margin-bottom: 10px; font-size: 14px; line-height: 20px; font-weight: 600; }
.cfilter__item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 8px; font-size: 14px; line-height: 20px; color: rgba(22, 25, 56, .8); transition: background-color .2s; }
.cfilter__item span { font-size: 12px; color: var(--ink-30); }
.cfilter__item:hover { background: rgba(255, 255, 255, .6); }
.cfilter__item.is-active { background: var(--white); font-weight: 600; color: var(--blue); }
.tgrid--catalog { gap: 20px; margin-top: 0; }
.tgrid--catalog .tcard__title { font-size: 18px; line-height: 24px; }
.tgrid--catalog .tcard__btns .btn { font-size: 13px; letter-spacing: 0; }
.cempty { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 40px; border-radius: 20px; background: var(--white); }
.catalog__howto { margin-top: 80px; }
.notfound { position: relative; overflow: hidden; padding: 67px 0 85px; color: var(--white); }
.notfound .container { position: relative; }
.notfound__bg { position: absolute; left: 50%; top: -240px; width: 1400px; max-width: none; height: 800px; margin-left: -700px; }
.notfound .h2 { letter-spacing: normal; }
.notfound p { margin-top: 16px; font-size: 18px; line-height: 24px; color: rgba(255, 255, 255, .6); }
.notfound .btn { min-width: 244px; margin-top: 34px; }
.cabout { padding: 85px 0 95px; }
.cabout .h2 { max-width: 520px; }
.cabout .lead { max-width: 524px; margin-top: 7px; }
.cabout .lead + .lead { margin-top: 24px; }
.cabout .more { margin-top: 27px; }

/* страница шаблона */
.crumbs--dark { color: var(--ink); }
.crumbs--dark a, .crumbs--dark span[aria-hidden] { color: var(--ink-30); opacity: 1; }
.crumbs--dark a:hover { color: var(--ink); }
.tpl { padding: 40px 0 80px; }
.tpl__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-top: 28px; }
.tpl__info .h2 { max-width: 760px; line-height: 50px; }
.tpl__info .lead { max-width: 640px; margin-top: 14px; }
.tpl__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tpl__tags a { padding: 6px 12px; border-radius: 30px; background: var(--white); font-size: 13px; line-height: 18px; color: rgba(22, 25, 56, .8); }
.tpl__tags a:hover { color: var(--blue); }
.tpl__buy { display: flex; flex: none; align-items: center; gap: 24px; }
.tpl__price { font-size: 32px; line-height: 36px; font-weight: 500; white-space: nowrap; }
.tpl__buy .btn { min-width: 180px; height: 60px; }
.tpl__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 36px; }
.tpl__switch { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--white); }
.tpl__switch button { height: 36px; padding: 0 16px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--ink-60); }
.tpl__switch button.is-active { background: var(--blue); color: var(--white); }
.tpl__frame { margin-top: 14px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.tpl__frame iframe { display: block; width: 100%; height: min(820px, calc(100vh - 130px)); min-height: 520px; margin: 0 auto; border: 0; }
.tpl__frame.is-mobile { background: #e6e8f0; }
.tpl__frame.is-mobile iframe { width: 390px; max-width: 100%; }

/* ---------- подвал ---------- */
.ftr { padding: 80px 0 45px; background: var(--gray); font-size: 14px; line-height: 19px; }
.ftr__grid { display: grid; grid-template-columns: 311px 290px 270px minmax(0, 290px); align-items: start; }
.ftr__brand p { max-width: 205px; margin-top: 14px; color: var(--ink-30); }
.ftr__brand .logo + p { margin-top: 20px; }
.ftr__legal { display: grid; gap: 14px; margin-top: 52px; color: var(--ink-30); }
.ftr__legal a:hover, .ftr__muted:hover { color: var(--ink); }
.ftr__col { display: grid; gap: 16px; justify-items: start; line-height: 15px; font-weight: 500; color: rgba(22, 25, 56, .8); }
.ftr__col a:hover { color: var(--blue); }
.ftr__h { margin-bottom: 8px; line-height: 19px; font-weight: 400; color: var(--ink-30); }
.ftr__col .is-accent { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; color: var(--blue); }
.ftr__col .ftr__muted { margin-top: 62px; font-weight: 400; color: var(--ink-30); }
.ftr__cards { display: grid; gap: 10px; }
.ftr__card { min-height: 132px; padding: 25px 27px; border-radius: 12px; background: var(--white); }
.ftr__label { color: rgba(22, 25, 56, .4); }
.ftr__icons { display: flex; gap: 6px; margin-top: 20px; }
.ftr__icons a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gray); }
.ftr__mail { display: inline-block; margin-top: 30px; font-size: 18px; line-height: 20px; font-weight: 500; color: rgba(22, 25, 56, .8); }
.ftr__card:only-child .ftr__mail { margin-top: 30px; }
.ftr__note { margin-top: 60px; padding-top: 28px; border-top: 1px solid rgba(22, 25, 56, .1); font-size: 12px; line-height: 16px; text-align: center; color: rgba(22, 25, 56, .35); }

/* ---------- попап и форма ---------- */
.popup { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.popup__overlay { position: absolute; inset: 0; background: rgba(22, 25, 56, .6); }
.popup__box { position: relative; width: 100%; max-width: 560px; max-height: 100%; overflow: auto; padding: 44px 40px 40px; border-radius: 20px; background: var(--white); }
.popup__x { position: absolute; top: 14px; right: 18px; width: 36px; height: 36px; font-size: 30px; line-height: 36px; color: var(--ink-60); }
.popup__title { font-size: 32px; line-height: 36px; font-weight: 500; }
.popup__text { margin-top: 12px; color: var(--ink-60); }
.form { display: grid; gap: 12px; margin-top: 26px; }
.form__hp { position: absolute; left: -9999px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea { width: 100%; padding: 16px 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); font: inherit; font-size: 16px; line-height: 22px; color: var(--ink); outline: none; transition: border-color .2s; }
.form textarea { resize: vertical; min-height: 96px; }
.form input:focus, .form textarea:focus { border-color: var(--blue); }
.form .is-invalid { border-color: #e5484d !important; }
.form__check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 18px; color: var(--ink-60); }
.form__check input { margin: 2px 0 0; accent-color: var(--blue); }
.form__check a { text-decoration: underline; }
.form__error { font-size: 14px; line-height: 20px; color: #e5484d; }
.form__submit { width: 100%; height: 60px; margin-top: 6px; font-size: 16px; }
.form__submit[disabled] { opacity: .6; pointer-events: none; }
body.is-locked { overflow: hidden; }

/* ---------- адаптив ---------- */
@media (max-width: 1199px) {
  .phead__art { display: none; }
  .ahero__blue, .ahero__white { padding-left: 40px; padding-right: 40px; }
  .catalog__grid { grid-template-columns: 180px minmax(0, 1fr); gap: 20px; }
  .tgrid--catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .helpb__plane { left: auto; right: -40px; }
  .hdr .logo { flex-basis: auto; margin-right: 40px; }
  .hdr__nav { gap: 18px; }
  .hero__title { font-size: 64px; line-height: 60px; }
  .intro__grid, .three__head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tgrid { gap: 20px; }
  .features__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); }
  .ftr__grid { grid-template-columns: 1.1fr 1fr 1fr 1.2fr; gap: 20px; }
  .cta__cards { left: auto; right: -140px; }
}

@media (max-width: 959px) {
  .tpl__head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .tpl__switch { display: none; }
  .split, .split--680 { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .ahero__grid { grid-template-columns: minmax(0, 1fr); }
  .ahero__blue, .ahero__white { min-height: 0; }
  .ahero__blue { padding-bottom: 46%; }
  .ahero__blue p { margin-top: 30px; }
  .ahero__white .accent { margin-top: 40px; }
  .acan__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .astruct .h2 { margin-top: 0; }
  .astruct .accent { margin-top: 30px; }
  .askrow { margin-top: 60px; }
  .askrow .lead { margin-top: 20px; }
  .catalog__grid { grid-template-columns: minmax(0, 1fr); }
  .cfilter { position: static; display: flex; flex-wrap: wrap; gap: 8px; }
  .cfilter__h { display: none; }
  .cfilter__item { background: rgba(255, 255, 255, .6); }
  .smap { grid-template-columns: minmax(0, 1fr); }
  .hdr__bar { height: 70px; }
  .hdr__nav, .hdr__ask { display: none; }
  .hdr__burger { display: flex; }
  .hero__card { height: auto; padding-bottom: 300px; }
  .hero__in { padding-top: 60px; }
  .collage { height: 260px; }
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scard + .scard::before { display: none; }
  .features__grid { grid-template-columns: minmax(0, 1fr); }
  .mosaic { max-width: 560px; }
  .ftr__grid { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .ftr__legal { margin-top: 24px; }
  .ftr__col .ftr__muted { margin-top: 10px; }
  .cta__cards { display: none; }
  .cta__text { max-width: none; }
}

@media (max-width: 639px) {
  .tpl { padding: 24px 0 50px; }
  .tpl__info .h2 { line-height: 36px; }
  .tpl__price { font-size: 26px; }
  .tpl__buy { width: 100%; justify-content: space-between; }
  .tpl__buy .btn { min-width: 150px; height: 52px; }
  .tpl__bar { margin-top: 24px; }
  .tpl__frame { border-radius: 14px; }
  .tpl__frame iframe { height: 70vh; min-height: 440px; }
  .accent { font-size: 20px; }
  .h2--loose { line-height: 38px; }
  .h2s { font-size: 26px; line-height: 28px; }
  .phead, .ahero { padding-top: 12px; }
  .phead__card, .phead__in { min-height: 200px; }
  .phead__in { padding-top: 40px; padding-bottom: 40px; }
  .phead__title, .ahero__title { font-size: 32px; line-height: 36px; }
  .ahero__blue, .ahero__white { padding: 40px 24px; }
  .ahero__blue { padding-bottom: 50%; }
  .acan { padding: 50px 0 56px; }
  .acan__grid { grid-template-columns: minmax(0, 1fr); margin-top: 34px; }
  .acan__n { margin-top: 18px; }
  .aadv { padding: 50px 0 56px; }
  .aadv__grid { margin-top: 30px; }
  .astruct__pic { height: 300px; }
  .astruct__laptop { left: 120px; }
  .astruct__phone { left: 16px; top: 109px; }
  .faqpage { padding: 30px 0 50px; }
  .askbox { padding: 26px 20px 24px; }
  .askbox__btn { width: 100%; }
  .pay { padding: 40px 0 50px; }
  .pay__row + .pay__row { margin-top: 36px; padding-top: 36px; }
  .pay__ways { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pay .txt { margin-top: 16px; }
  .helpb { padding: 28px 24px; }
  .helpb .btn { margin-top: 30px; }
  .textpage { padding: 36px 0 56px; }
  .catalog { padding: 30px 0 50px; }
  .tgrid--catalog { grid-template-columns: minmax(0, 1fr); }
  .catalog__howto { margin-top: 56px; }
  .notfound { padding: 50px 0 56px; }
  .cabout { padding: 50px 0 56px; }
  body { font-size: 16px; }
  .h2 { font-size: 32px; line-height: 35px; }
  .h3 { font-size: 20px; line-height: 24px; }
  .lead { font-size: 16px; line-height: 22px; }
  .sec { padding: 50px 0 56px; }
  .sec--round { border-radius: 0 0 36px 36px; }
  .hdr__bar { height: 58px; }
  .logo { font-size: 20px; }
  .hdr__burger span { width: 28px; }
  .hero { padding-top: 12px; }
  .hero__card { padding-bottom: 250px; }
  .hero__in { align-items: stretch; padding-top: 56px; text-align: left; }
  .hero__title { font-size: 42px; line-height: 44px; }
  .hero__sub { margin-top: 28px; font-size: 16px; }
  .hero__btn { margin-top: 36px; }
  .collage { height: 230px; }
  .collage__stage { transform: scale(.9); transform-origin: top center; }
  .btn--arrow { width: 100%; }
  .grid3, .tgrid { grid-template-columns: minmax(0, 1fr); }
  .intro__grid, .three__head { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .intro__accent { margin: 24px 0 28px; font-size: 20px; }
  .benefits { padding-bottom: 2px; background: linear-gradient(0deg, #fff 0%, var(--gray) 100%); }
  .benefits__grid { margin-top: 30px; }
  .bcard { min-height: 330px; }
  .scard { min-height: 0; }
  .steps__grid, .tgrid { margin-top: 28px; }
  .banner-sec { padding-top: 50px; }
  .banner { min-height: 0; padding: 30px 24px; background-image: none !important; }
  .banner__title { line-height: 36px; }
  .banner__text { margin: 16px 0 36px; font-size: 16px; line-height: 22px; }
  .howto { padding: 50px 0 50px; }
  .line3 { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .line3::before { display: none; }
  .line3__n, .line3__n--orange { margin-top: 18px; }
  .line3 .more { margin-top: 14px; }
  .fcard { padding: 22px 56px 20px 24px; }
  .fcard__n { right: 18px; top: 22px; }
  .faq { padding-top: 50px; }
  .acc__item summary { padding: 14px 16px; font-size: 17px; line-height: 23px; }
  .acc__body { padding: 0 16px 18px; font-size: 15px; line-height: 23px; }
  .three { padding: 50px 0 56px; }
  .three__head .h2 { line-height: 36px; }
  .reviews { padding: 50px 0 40px; }
  .reviews__nav button { width: 42px; height: 42px; }
  .reviews__track { gap: 16px; margin-top: 24px; }
  .rcard { flex-basis: 300px; padding: 28px 24px 30px; }
  .rcard header img, .rcard__ava { width: 72px; height: 72px; }
  .rcard p { margin-top: 24px; font-size: 15px; line-height: 23px; }
  .cta__text { padding: 30px 24px; }
  .cta__text p { margin: 12px 0 32px; font-size: 16px; line-height: 22px; }
  .cta { min-height: 0; }
  .ftr { padding: 50px 0 36px; }
  .ftr__grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .ftr__brand p { max-width: none; }
  .ftr__note { margin-top: 36px; }
  .popup__box { padding: 40px 22px 26px; }
  .popup__title { font-size: 26px; line-height: 30px; }
}
