@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/inter-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/inter-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/inter-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/inter-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --blue: #00a8d0;
  --blue-dark: #0090b3;
  --green: #28bf8f;
  --text: #555;
  --title: #242424;
  --line: #e4e4e4;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}

img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1222px; margin: 0 auto; padding: 0 16px; }

/* Шапка и подвал */
.bar { background: var(--blue); color: #fff; }
.bar a { color: #fff; }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.header .wrap { min-height: 104px; padding-top: 12px; padding-bottom: 12px; }
.footer .wrap { min-height: 75px; padding-top: 10px; padding-bottom: 10px; }
.logo img { display: block; width: 182px; }
.footer .logo img { width: 212px; }

.menu { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; list-style: none; }
.menu > li { position: relative; }
.menu a { display: block; padding: 8px 0; font-size: 13px; font-weight: 600; text-transform: uppercase; }
.menu a:hover { text-decoration: none; opacity: .8; }
.submenu {
  display: none; position: absolute; left: -16px; top: 100%; z-index: 10;
  min-width: 200px; margin: 0; padding: 8px 0; list-style: none;
  background: #fff; border-radius: 6px; box-shadow: 0 4px 18px rgba(0, 0, 0, .18);
}
.menu > li:hover .submenu, .menu > li:focus-within .submenu { display: block; }
.bar .submenu a { padding: 7px 16px; color: var(--title); text-transform: none; font-weight: 400; font-size: 14px; }
.bar .submenu a:hover { color: var(--blue); opacity: 1; }

.phones { display: flex; gap: 20px; font-size: 14px; }
.phones a { font-weight: 600; }
.phones span { display: block; opacity: .9; }

/* Заголовки разделов */
.section { padding: 56px 0; }
.heading { margin: 0 0 32px; text-align: center; }
.heading h1, .heading h2 { margin: 0; font-size: 32px; line-height: 1.3; font-weight: 600; color: var(--title); }
.heading p { margin: 8px 0 0; font-size: 17px; color: var(--blue); }

/* Первый экран */
.hero { padding: 24px 0 8px; }
.hero .wrap { display: grid; grid-template-columns: 395px 1fr 300px; gap: 28px; align-items: center; }
.hero video { display: block; width: 100%; border-radius: 10px; background: #000; }
.hero h1 { margin: 0 0 10px; font-size: 24px; line-height: 1.3; font-weight: 600; color: var(--blue); text-transform: uppercase; }
.hero p { margin: 0; }

/* Основные задачи */
.tasks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 28px 110px; border: 1px solid var(--blue); border-radius: 12px; }
.tasks b { display: block; margin-bottom: 8px; font-size: 44px; line-height: 1.2; font-weight: 600; color: var(--blue); }
.tasks p { margin: 0; color: var(--title); }

/* Возможности */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 32px 24px; border-radius: 12px; background: var(--blue); color: #fff; font-size: 13px; }
.features img { display: block; width: 128px; margin: 0 auto 12px; }
.features p { margin: 0; }

.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 60px; margin: 44px 0 0; padding: 0; list-style: none; }
.checks li { display: flex; align-items: center; gap: 24px; min-height: 48px; }
.checks li::before { content: ""; flex: 0 0 46px; height: 46px; background: url(../img/check.png) center / contain no-repeat; }

/* Личный кабинет */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cards div { display: flex; align-items: center; gap: 28px; min-height: 180px; padding: 24px 32px; border-radius: 12px; background: var(--blue); color: #fff; font-size: 13px; }
.cards img { flex: 0 0 128px; width: 128px; }

/* Пять шагов */
.steps { max-width: 1060px; margin: 0 auto; }
.step { display: grid; grid-template-columns: 180px 1fr; gap: 20px 0; padding: 36px 0; }
.step + .step { border-top: 14px solid transparent; border-image: repeating-linear-gradient(135deg, var(--blue) 0 3px, transparent 3px 8px) 14; }
.step b { font-size: 64px; line-height: 1; font-weight: 400; color: var(--blue); text-align: center; }
.step p { margin: 0; padding: 22px 28px; border-radius: 12px; background: var(--blue); color: #fff; }
.step p + p { margin-top: 6px; }
.step img { grid-column: 1 / -1; display: block; margin: 0 auto; }
.step .note { grid-column: 2; }

/* Примеры работы */
.example { position: relative; max-width: 1060px; margin: 0 auto; }
.example > img { display: block; width: 100%; }
.spot { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; }
.spot button {
  width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--blue); color: #fff; font-size: 16px; line-height: 30px;
  animation: beat 1.4s ease-in-out infinite;
}
@keyframes beat { 0%, 100% { box-shadow: 0 0 0 0 rgba(0, 168, 208, .6); } 50% { box-shadow: 0 0 0 10px rgba(0, 168, 208, 0); } }
.tip {
  display: none; position: absolute; left: 40px; top: -10px; z-index: 5; width: 320px;
  padding: 14px 18px; border-radius: 8px; background: #fff; color: var(--title);
  box-shadow: 0 4px 22px rgba(0, 0, 0, .25); font-size: 14px;
}
.spot:hover .tip, .spot:focus-within .tip { display: block; }
.tip p { margin: 0 0 6px; font-weight: 600; }
.tip ul { margin: 0; padding-left: 18px; }
.more { margin: 28px 0 0; text-align: center; }
.btn { display: inline-block; padding: 12px 28px; border-radius: 6px; background: var(--blue); color: #fff; font-weight: 600; }
.btn:hover { background: var(--blue-dark); text-decoration: none; }

/* Внутренние страницы */
.page { min-height: 380px; padding: 64px 0; }
.docs { margin: 0; padding: 0; list-style: none; }
.docs a { display: inline-flex; align-items: center; gap: 28px; padding: 8px 0; font-size: 18px; font-weight: 600; color: var(--title); }
.docs a::before { content: ""; flex: 0 0 62px; height: 80px; background: url(../img/pdf.png) center / contain no-repeat; }
.docs a:hover { color: var(--blue); text-decoration: none; }

.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 60px; max-width: 860px; margin: 0 auto; padding: 0; list-style: none; }
.contacts li { display: flex; align-items: center; gap: 20px; font-size: 18px; }
.contacts img { width: 56px; }
.contacts a { color: var(--title); font-weight: 600; }

.videopage video { display: block; width: 100%; max-width: 1100px; margin: 0 auto; background: #000; }

.notfound { text-align: center; }
.notfound b { display: block; font-size: 96px; line-height: 1.1; color: var(--blue); }

@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero img { max-width: 300px; margin: 0 auto; display: block; }
  .tasks { padding: 24px; }
  .features, .tasks { grid-template-columns: 1fr; }
  .checks, .cards, .contacts { grid-template-columns: 1fr; }
  .step { grid-template-columns: 80px 1fr; }
  .tip { left: auto; right: -20px; top: 40px; width: 260px; }
}

@media (max-width: 600px) {
  .heading h1, .heading h2 { font-size: 24px; }
  .section { padding: 36px 0; }
  .header .wrap, .footer .wrap { justify-content: center; }
  .cards div { flex-direction: column; text-align: center; }
  .step { grid-template-columns: 1fr; }
  .step b { text-align: left; }
  .step .note { grid-column: 1; }
  .example { overflow: visible; }
  .spot .tip { position: fixed; left: 16px; right: 16px; top: auto; bottom: 16px; width: auto; }
}
