@font-face {
    font-display: swap;
    font-family: 'Inter-Medium';
    font-style: normal;
    font-weight: 500;
    src: url("../fonts/inter-medium-500.woff2") format('woff2')
}

@font-face {
    font-display: swap;
    font-family: 'Inter-SemiBold';
    font-style: normal;
    font-weight: 600;
    src: url("../fonts/inter-semibold-600.woff2") format('woff2')
}

:root {
    color: #fff;
    font-family: 'Inter-Medium', Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    scroll-behavior: smooth;
    --border-radius: 16px
}

*,
*::before,
*::after {
    box-sizing: border-box;
    color: inherit;
    font-family: inherit;
    line-height: inherit;
    margin: 0;
    /* outline: 1px solid #808080; */
    padding: 0
}

body {
    background-color: #124f92;
    /* background: url("../img/bg-all.png") center bottom/cover no-repeat */
    /* position: relative; */
}

.test {
    position: absolute;
}

img {
    block-size: auto;
    display: block;
    max-inline-size: 100%
}

ul[class],
ol[class] {
    list-style-type: ''
}


main {
    position: relative;
    background: linear-gradient(0deg, rgba(0, 0, 0, .2) 0%, rgba(0, 0, 0, .2) 100%), linear-gradient(180deg, rgba(6, 20, 36, 1) 16%, rgba(4, 74, 151, 1) 100%);
    /* z-index: -2; */
    z-index: 1;
}

.bg-all {
    background-image:
        /* linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
        linear-gradient(180deg, rgba(6, 20, 36, 1) 16%, rgba(4, 74, 151, 1) 100%), */
        url("../img/bg-all.png");

    background-position: center bottom;
    background-size: cover;
    background-repeat: no-repeat;
    width: -webkit-fill-available;
    height: -webkit-fill-available;
    position: absolute;
    opacity: 0.3;
    /* object-fit: cover; */
    /* bottom: 6%; */
    z-index: -1;

}

h1,
h2,
h3 {
    font-family: 'Inter-SemiBold', Helvetica, sans-serif;
    line-height: 1.2;
    text-wrap: balance
}

h1,
h2 {
    text-align: center
}

h1 {
    background: linear-gradient(180deg, #fff 50%, #165293 120%);
    background-clip: text;
    font-size: 40px;
    padding: 32px 0 16px 0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent
}

@media (min-width:1200px) {
    h1 {
        font-size: 48px
    }
}

h2 {
    font-size: 32px;
    margin-block-end: 40px
}

@media (min-width:1200px) {
    h2 {
        font-size: 40px;
        margin-block-end: 48px
    }
}

h3 {
    font-size: 24px
}

@media (min-width:1200px) {
    h3 {
        font-size: 32px
    }
}

.subtitle:first-of-type {
    margin-bottom: 32px;
}

.subtitle span {
    font-family: 'Inter-SemiBold';
    font-size: 28px;
}

@media (min-width:1200px) {
    .subtitle {
        font-size: 18px
    }

    .subtitle span {
        font-size: 32px;
    }
}

section {
    padding-block: 80px 60px
}

@media (min-width:1200px) {
    section {
        padding-block: 130px 90px
    }
}

.wrapper {
    margin-inline: auto;
    max-inline-size: 1440px;
    padding-inline: 16px;
    position: relative
}

.btn {
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    display: flex;
    font-weight: 600;
    justify-content: center;
    max-inline-size: max-content;
    padding: 12px 22px;
    text-decoration: none
}

    /* бургер */
    .burger {
      width: 20px;
      height: 15px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      cursor: pointer;
      z-index: 1001;
      /* margin: 15px; */
      position: relative;
    }

    .burger span {
      display: block;
      height: 2px;
      background: white;
      border-radius: 2px;
      transition: 0.3s;
    }

    /* меню */
    .nav {
      /* position: fixed;
      top: 0;
      right: -100%;
      width: 250px;
      height: 100%;
      background: #fff;
      box-shadow: -2px 0 5px rgba(0,0,0,0.2);
      transition: right 0.3s ease;
      padding: 20px; */

    }

    .nav.active {
      right: 0;
      position: fixed;
        top: 0;
        width: 100%;
        height: 100vh;
        /* background: red; */
      z-index: 1002;
    }

    .btn-close {
      font-size: 23px;
      background: none;
      border: none;
      cursor: pointer;
      margin: 10px;
    }

    .nav__list {
      list-style: none;
      padding: 0;
    }

    .nav__link {
      display: block;
      margin: 15px 0;
      text-decoration: none;
      color: white;
    }

    /* оверлей для блюра */
    .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      backdrop-filter: blur(5px);
      background: rgba(0,0,0,0.3);
      opacity: 0;
      visibility: hidden;
      transition: 0.3s;
      z-index: 1001;
      height: 100vh;
    }

    .overlay.active {
      opacity: 1;
      visibility: visible;

      background-image: linear-gradient(0deg, rgba(0, 0, 0, .2) 0%, rgba(0, 0, 0, .2) 100%), linear-gradient(180deg, rgba(6, 20, 36, 1) 16%, rgba(4, 74, 151, 1) 100%);
    }

/* кнопка-бургер */
/* .burger {
    width: 20px;
    height: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
}

.burger span {
    display: block;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: 0.3s;
} */

.nav__list {
    display: none
}

/* меню */
.nav {
    /* position: fixed;
      top: 0;
      left: -100%;
      width: 250px;
      height: 100%; */
    /* background: #f4f4f4; */
    /* box-shadow: 2px 0 5px rgba(0,0,0,0.2); */
    /* transition: left 0.3s ease;
      padding: 20px;
      box-sizing: border-box; */
}

.nav.active .nav__list {
    display: flex;
    flex-direction: column;
    margin-top: 40px;
    margin-left: 32px;
    /* display: flex;
    flex-direction: column;
    position: fixed; */
    /* backdrop-filter: blur(20px) brightness(100%); */
    /* width: 100%;
    height: 100vh;
    top: 0;
    background: red; */
}

/* кнопка закрытия */

.btn-close {
    display: none;
}

.nav.active .btn-close {
    display: flex;
    position: absolute;
    top: 9px;
    right: 10px;
    /* display: inline-block;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    background: none;
    border: none; */
}

.nav.active .burger {
    /* display: none; */
}

.nav ul {
    list-style: none;
    padding: 0;
}

.nav ul li {
    /* margin: 15px 0; */
}




.btn-close:hover {
    /* color: #ff3333; */
}

.btn_white {
    background-color: #fff;
    color: #245594
}

.btn-mob {
    margin: 32px auto;
}

@media (min-width:1200px) {
    .btn-mob {
        display: none;
    }
}


.c-card {
    background-color: rgba(44, 112, 197, 0.5);
    border-radius: var(--border-radius);
    padding: 24px
}

.c-card_dark {
    background-color: rgba(44, 112, 197, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-block-end: initial;
    row-gap: 20px
}

.c-starlist {
    display: flex;
    flex-direction: column;
    margin-inline: auto;
    max-inline-size: 420px;
    padding-block: 40px;
    row-gap: 20px
}

.c-starlist>li {
    column-gap: 12px;
    display: flex
}

.c-starlist>li::before {
    content: url("../img/yellow-star.svg")
}

.c-starlist_wide {
    max-inline-size: 640px
}

.c-space-img {
    display: none;
    inset-block-start: 0;
    position: absolute
}

@media (min-width:1200px) {
    .c-space-img {
        display: initial
    }

    .c-space-img_moon {
        left: 45px
    }

    .c-space-img_rocket {
        top: 60px
    }

    .c-space-img_neptune {
        right: 75px;
        top: 245px
    }
}

.c-nowrap {
    white-space: nowrap
}

.header {
    align-items: center;
    backdrop-filter: blur(5px) brightness(100%);
    background: linear-gradient(180deg, #0b2e5c 0, rgba(16, 58, 112, 0.05) 100%);
    display: flex;
    inset-block-start: 0;
    justify-content: space-between;
    padding: 12px 20px;
    position: sticky;
    z-index: 1000
}



@media (min-width:992px) {
    .burger {
        display: none;
    }
    .nav__list {
        column-gap: 40px;
        display: flex
    }
}

.nav__link {
    display: block;
    padding-block: 12px;
    text-decoration: none
}

.hero {
    text-align: center;
    background: url("../img/hero-bg.png") center bottom/cover no-repeat, linear-gradient(180deg, #0565d0 0, #021021 58.65%)
}

.hero__img {
    margin-inline: auto
}

.agent {}

/* .bg-wr-space {
    background: linear-gradient(0deg, rgba(0, 0, 0, .2) 0%, rgba(0, 0, 0, .2) 100%), linear-gradient(180deg, rgba(6, 20, 36, 1) 16%, rgba(4, 74, 151, 1) 100%), url("../img/bg-all.png") center bottom/cover no-repeat;
} */

.agent .wrapper {
    max-inline-size: 1280px
}

.create {}

.create__list {
    counter-reset: counter-name;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    list-style-position: inside
}

.create__list>.c-card {
    max-inline-size: 420px
}

.create__list>.c-card::before {
    align-items: center;
    aspect-ratio: 1;
    background-color: #fff;
    border-radius: 50%;
    color: #0c2c50;
    content: counter(counter-name);
    counter-increment: counter-name;
    display: flex;
    inline-size: 32px;
    justify-content: center;
    line-height: 1;
    margin-block-end: 16px
}

.tariff {
    padding-top: 75px
}

.tariff__items {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(auto, 420px));
    justify-content: center
}

.tariff__items .c-card h3 {
    margin-block-end: 16px
}

.tariff__items .c-card table {
    margin-block-end: 24px;
    border-collapse: collapse
}

.tariff__items .c-card table td {
    padding-block: 12px;
    border-block-start: 1px solid rgba(44, 112, 197, 0.7)
}

.tariff__items .c-card table td:last-child:not([colspan]) {
    text-align: end
}

.tariff__items .c-card table td[colspan] {
    opacity: .5
}

.bg-top {
    position: absolute;
    width: -webkit-fill-available;
    clip-path: inset(0 0 422px 0);
}

.bg-bottom {
    position: absolute;
    margin-top: -80px;
    object-fit: cover;
    transform: translate(0, 75px);
    width: -webkit-fill-available;
    bottom: 0;
    height: auto;
}

@media (min-width:768px) {
    .bg-bottom {
        margin-top: -130px;
    }
}



.bg-footer {
    position: absolute;
    /* background-size: cover; */
    /* object-fit: cover; */
    background-position: center bottom;
    /* clip-path: inset(50% 0 0 0); */
    width: -webkit-fill-available;
    height: -webkit-fill-available;
    /* transform: translate(0, -60%); */
}

.footer {
    /* background: linear-gradient(to bottom, red, transparent), url(../img/hero-bg.png) no-repeat 75% 35% / cover fixed; */
    position: relative;
    /* padding-block-end: 52px */
}

.footer .wrapper {
    padding: 52px 16px;
}

.footer__lvl1,
.footer__lvl2 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-inline: auto;
    max-inline-size: 864px
}

.footer__lvl1 {
    margin-block-end: 60px
}

@media (min-width:768px) {
    .footer__lvl1 {
        display: grid;
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (min-width:768px) {
    .footer__lvl2 {
        flex-direction: row-reverse
    }
}

@media (min-width:768px) {
    .footer__lvl2>* {
        flex: 1
    }
}

.footer__icons {
    display: flex;
    column-gap: 8px
}

.footer__icons a {
    display: block
}