@font-face{
    font-family: 'Inter';
    font-weight: 400;
    src: url('/assets/fonts/Inter/Inter-Regular.woff2') format('woff');
}

@font-face{
    font-family: 'Inter';
    font-weight: 500;
    src: url('/assets/fonts/Inter/Inter-Medium.woff2') format('woff');
}

@font-face{
    font-family: 'Inter';
    font-weight: 600;
    src: url('/assets/fonts/Inter/Inter-Bold.woff2') format('woff');
}

@font-face{
    font-family: 'Inter';
    font-weight: 200;
    src: url('/assets/fonts/Inter/Inter-Light.woff2') format('woff');
}


body {
    margin: 0;
    scroll-behavior: smooth;
    font-size: var(--font-size);
    font-family: Inter, Arial, sans-serif;
    color: var(--color-text);
}

html {
    background: linear-gradient(180deg, #F7F9FF 0%, #F9FBFF 100%) no-repeat;
    background-size: 100% 100%;
    box-sizing: border-box;
    min-height: 100%;
}

a {
    color: var(--color-violet);
}

a:hover {
    text-decoration: none;
    color: var(--color-violet-2);
}

a:active {
    text-decoration: none;
    color: var(--color-primary-button-active);
}

.back, .back:before, .back:after {
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: -1;
    left: 0;
    top: 0;
    background-position: calc(50% - 230px) calc(50% - 260px);
    background-size: auto;
    background-repeat: no-repeat;
}

.back {
    background-image: url('/assets/img/general_circle.svg');
}

.back:before, .back:after { content: '' }

.back:before { background-image: url('/assets/img/circle2.svg') }
.back:after { background-image: url('/assets/img/circle3.svg') }

.stream {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid {
    display: grid;
    width: var(--width);
    height: auto;
    row-gap: var(--s);
    grid-template-areas: "arm main" "nav apps" "copyright payments";
    grid-template-columns: var(--left-column) auto;
    grid-template-rows: minmax(200px, auto) auto auto;
}



.grid .arm {
    grid-area: arm;
    padding: 0 0 var(--xl) 0;
    position: relative;
    display: flex;
}

.grid .content {
    grid-area: main;
    display: flex;
    flex-direction: column;
    gap: var(--l);
    padding: 0 0 var(--xl) var(--xxl);
}

.grid .arm, .grid .content {
    padding-bottom: var(--2xxl);
}

.grid .footerNav {
    grid-area: nav;
    display: flex;
    flex-direction: column;
    gap: var(--s);
    justify-content: center;
}

.grid .footerNav .info {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    gap: var(--m);
    align-items: center;
    font-size: 1.1em;
}

.grid .footerNav .info li {
    padding: 0;
    margin: 0;
}

.grid .footerNav .info a {
    display: inline-block;
}


.grid .footer {
    display: flex;
    grid-area: footer;
}

.grid .arm .shield {
    color: var(--color-text-white);
    height: 100%;
    position: relative;
}


.grid .shield:before, .grid .shield:after {
    content: '';
    width: 100%;
    height: 100%;
    z-index: -1;
    position: absolute;
    background-image: url("/assets/img/shield/shadow.svg?v2.1");
}

.grid .shield:before {
    top: 6px;
    left: -6px;
}

.grid .shield:after {
    top: 62px;
    left: -6px;
    height: calc(100% - 56px);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 100% auto;
}

.grid .arm .shield .scroll {
    display: none;
}

.grid .shield .cap {
    background-image: url("/assets/img/shield/shield.svg?v2.1");
}

.grid .shield .cap, .grid .shield:before {
    height: 56px;
    width: 100%;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100% auto;
}

.grid .arm .shield .rows {
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 100% auto;
    margin-top: auto;
    height: calc(100% - 56px);
}

.grid .arm .shield .rows {
    display: grid;
    align-items: stretch;
    grid-template-areas: "name" "desc" "advantages";
    background-image: url("/assets/img/shield/shield.svg?v2.1");
}

.grid .arm .shield .appLogo {
    grid-area: name;
    position: relative;
    padding: 16px var(--l) 0 var(--l);
}



.grid .arm .shield .appDesc {
    grid-area: desc;
    padding: var(--s) var(--l) var(--xl) var(--l);
    font-weight: 400;
}

.grid .arm .shield .appDesc p {
    padding: 0;
    margin: 0 0 var(--s) 0;
}


@media screen and (max-height: 760px) {

    .grid {
        grid-template-rows: minmax(200px, auto) 100px auto;
    }

    .grid .arm {
        padding:  var(--m) 0;
    }

    .grid .content {
        gap: var(--m);
        padding: var(--m) 0 var(--m) var(--xxl);
    }

    .grid .arm .shield .appDesc {
        padding: 26px var(--l) var(--l) var(--l);
    }

}


.grid .arm .shield .advantages {
    margin: 0;
    padding: 0 var(--l) var(--l) var(--l);
    display: grid;
    gap: var(--m);
    color: var(--color-border);
}

.grid .arm .shield .advantages li {
    margin: 0;
    padding: 0;
    display: flex;
    gap: var(--m);
    font-weight: 300;
}

.grid .arm .shield .advantages li .icon span {
    width: 44px;
    height: 44px;
    display: flex;
    background: var(--color-icon-bg);
    border-radius: 8px;
    justify-content: center;
    align-items: center;
}

.grid .arm .shield .advantages li .icon .i {
    width: 28px;
    height: 28px;
}

.grid .arm .shield .advantages li .value .count {
    font-weight: 600;
    font-size: 2em;
    color: var(--color-text-white)
}

.grid .content h1 {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2em;
    margin: 0;
    padding: 0;
}

.grid .content ul.text {
    margin: 0 0 0 var(--l);
    padding: 0;
    color: var(--color-text-muted);
    display: flex;
    flex-direction: column;
    gap: var(--xxs);
}

.grid .content ul.text li {
    padding: 0;
    margin: 0;
}



.grid .content .text p {
    padding: 0;
    margin: 0 0 8px 0;
}


.grid .apps {
    display: flex;
    gap: var(--xl);
    padding-left: var(--xxl);
    align-items: center;
}

.grid .apps .appButtons {
    display: flex;
    gap: var(--l);
}


.grid .copyright {
    grid-area: copyright;
    height: 46px;
    display: flex;
    color: var(--color-text-muted);
    align-items: center;
}

.paymentSystems {
    grid-area: payments;
    padding-left: var(--xxl);
}

.paymentSystems ul {
    padding: 0;
    margin: 0;
    height: 46px;
    align-items: center;
    list-style: none;
    display: inline-flex;
    gap: var(--m);
}

.paymentSystems ul li {
    display: flex;
    align-items: center;
}

.paymentSystems ul li > img {
    height: 28px;
    width: auto;
}

.iconBtn, .appBtn {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.iconBtn {
    gap: var(--xxs);
    color: var(--color-text);
    margin: 0 0 1px 0;
}

.iconBtn:active {
    margin: 1px 0 0 0;
}

.iconBtn .i {
    width: 36px;
    height: 36px;
}

.iconBtn > span {
    white-space: nowrap;
}

.iconBtn:hover, .appBtn:hover {
    color: var(--color-violet-2);
}

.appBtn {
    gap: 12px;
    color: var(--color-text);
    display: inline-flex;
    background: white;
    padding: 10px 16px;
    border-radius: 8px;
    position: relative;
    user-select: none;
    margin: 0 0 1px 0;
    transition: background-color .2s;
    border: 1px solid var(--color-border);
}

.appBtn:hover {
    border-color: var(--color-border-hovered);
}

.appBtn:active {
    margin: 1px 0 0 0;
}


.appBtn .comingSoon {
    position: absolute;
    right: 46px;
    top: 2px;
    color: var(--color-text-muted);
    transform: translate(50%, -50%);
    box-shadow: 0 1px 0 var(--color-border);
    font-size: 0.9em;
    display: flex;
    font-weight: 300;
    padding: 4px 8px;
    border-radius: 4px;
    background: var(--color-border);
}

.appBtn .app {
    font-size: 0.9em;
    white-space: nowrap;
}

.appBtn .type {
    font-weight: 500;
    font-size: 1.1em;
    white-space: nowrap;
}

.appBtn .i {
    width: 44px;
    height: 44px;
}

.reserve {
    display: flex;
    flex-direction: column;
    height:100%;
}

.reserve .form {
    display: flex;
    flex-direction: column;
    gap: var(--xs);
    height: 100%;
}

.reserve .searchBar {
    height: 54px;
    display: flex;
    border-radius: var(--input-border-radius);
    background: #ffffff;
    transition: border .2s;
    position: relative;
}

.reserve .searchBar:before {
    position: absolute;
    width: calc(100% + calc(var(--input-focus-halo) * 2));
    height: calc(100% + calc(var(--input-focus-halo) * 2));
    content: ' ';
    left: calc(var(--input-focus-halo) * -1);
    top: calc(var(--input-focus-halo) * -1);
    z-index: -1;
    border-radius: 8px;
    opacity: 0;
    transition: 1s;
}

.reserve .searchBar.focusOnSrc:before {
    opacity: 1;
    background: linear-gradient(90deg, rgba(167, 165, 245, 0.34) 2.84%, rgba(180, 179, 247, 0.21) 66.35%, rgba(180, 179, 247, 0.17) 100%);
}

.reserve .searchBar.focusOnClear:before {
    opacity: 1;
    background: linear-gradient(90deg, rgba(180, 179, 247, 0.21) 7.74%, rgba(167, 165, 245, 0.34) 76.42%, rgba(180, 179, 247, 0.23) 100%);
}

.reserve .searchBar.focusOnHint:before {
    opacity: 1;
    background: linear-gradient(90deg, rgba(180, 179, 247, 0.21) 7.74%, rgba(167, 165, 245, 0.34) 76.42%, rgba(180, 179, 247, 0.23) 100%);
}

.reserve .searchBar.focusOnSubmit:before {
    opacity: 1;
    background: linear-gradient(90deg, rgba(180, 179, 247, 0.18) 37.4%, rgba(167, 165, 245, 0.34) 92.1%);
}

.reserve .searchBar .name {
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    border-left: 1px solid var(--color-border);
    border-right: none;
    border-radius: var(--input-border-radius) 0 0 var(--input-border-radius);
    width: 100%;
    background: #ffffff;
    padding: 0 var(--m);
    color: var(--color-text);
    font-size: 1.1em;
    line-height: 1.2em;
}

.reserve .searchBar .name:focus {
    outline:none;
}

.reserve .searchBar input::placeholder, .input::placeholder {
    color: var(--color-placeholder);
}

.input[disabled=disabled] {
    color: var(--color-text-muted);
}

.reserve .searchBar .clear, .reserve .searchBar .hint {
    display: flex;
    background: none;
    align-items: center;
    justify-items: center;
    color: var(--color-text);
    padding: 0 var(--xs) 1px var(--xs);
    cursor: pointer;
    position: relative;
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.reserve .searchBar .clear.hide {
    display: none;
}

.reserve .searchBar .hint .i, .reserve .searchBar .clear .i {
    opacity: .5;
}

.reserve .searchBar .hint {
    padding-right: calc(var(--xs) + 5px)
}

.reserve .searchBar .hint .popup {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    display: block;
    padding: var(--m);
    width: 348px;
    left: 50%;
    top: -28px;
    transform: translate(-50%, -100%);
    transition: .3s;
    box-sizing: border-box;
    border-radius: 8px;
    background: radial-gradient(2794.85% 324.45% at -46.23% -133.19%, #736EEF 0%, #5E5ABA 100%);
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.11);
    color: white;
    font-size: 16px;
    text-align: left;
}

.reserve .searchBar .hint .popup:before {
    position: absolute;
    content: '';
    z-index: 10;
    left: 50%;
    bottom: 0;
    transform: translate(-50%,calc(100% - 1px));
    width: 28px;
    height: 14px;
    background: url('/assets/img/arrow.svg') center top no-repeat;
}

.reserve .searchBar .hint .popup ul {
    margin: 0 0 0 var(--l);
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--xxs);
}

.reserve .searchBar .hint .popup ul li {
    padding: 0;
    margin: 0;
}

.reserve .searchBar .hint:hover, .reserve .searchBar .clear:hover {
    color: var(--color-icon-hover);
}

.reserve .searchBar .hint .popup.show {
    visibility: visible;
    opacity: 1;
    top: -8px;
}

.reserve .searchBar .hint:focus, .reserve .searchBar .clear:focus {
    color: var(--color-icon-hover);
    outline: none;
}

.reserve .searchBar .hint:active, .reserve .searchBar .clear:active {
    padding-top: 1px;
    padding-bottom: 0;
}

.btn, .reserve .searchBar .submitBtn {
    width: auto;
    color: var(--color-text-white);
    display: flex;
    gap: var(--xs);
    align-items: center;
    justify-content: center;
    background: var(--color-violet);
    border: none;
    font-size: 1em;
    padding: 0 var(--m) 1px var(--m);
    border-radius: var(--input-border-radius);
    cursor: pointer;
    user-select: none;
}

.btn > span.label {
    display: flex;
    height: 44px;
    align-items: center;
    width: auto;
}

.btn[disabled=disabled] .loader {
    border-right: 3px solid var(--color-disabled-loader);
}

.reserve .searchBar .submitBtn {
    margin-left: -5px;
}

.reserve .searchBar .submitBtn:active, .btn:active {
    padding: 1px var(--m) 0 var(--m);
    background-color: var(--color-primary-button-active);
}

.reserve .searchBar .submitBtn:focus {
    outline: none;
}

.searchBar .hint .i, .searchBar .submitBtn .i, .searchBar .clear .i {
    width: var(--icon-w);
    height: var(--icon-h);
}

.reserve .searchBar .submitBtn[disabled="disabled"], .reserve .searchBar .submitBtn:active[disabled="disabled"], .btn[disabled=disabled] {
    background-color: var(--color-button-disabled);
    padding: 0 var(--m) 1px var(--m);
    color: var(--color-button-disabled-text);
    user-select: none;
    cursor: default;
}

.reserve .price {
    display: flex;
    padding: var(--xxs) 0;
    gap: var(--xs);
    align-items: center;
    height: 36px;
}

.reserve .price .i {
    width: 28px;
    height: 28px;
    color: var(--color-text-muted);
}

.reserve .comment {
    color: var(--color-text-muted);
}

.reserve .price .cost {
    font-weight: bold;
    color: var(--color-text);
    margin-left: var(--2xs);
}

.reserve .price .cost .rub {
    margin-left: var(--2xs);
}


.tag {
    background-color: #ffffff;
    color: var(--color-text);
    padding: 0 12px;
    height: 38px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid var(--color-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    font-weight: 300;
    transition: background-color .2s;
}

.tag:hover {
    background-color: #f6f7fc;
}

.tag:active {
    background-color: var(--color-border);
}

.reserve .tags {
    display: flex;
    gap: var(--xs);
    flex-wrap: wrap;
    margin-top: auto;
}

.reserve .tags .tag {
    cursor: pointer;
}

.loader {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3px solid #DDE7F4;
    border-right: 3px solid var(--color-violet);
    position: relative;
    display: inline-block;
    box-sizing: border-box;
    animation: rotations 1s linear infinite;
}

@keyframes rotations {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes shake {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(3deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(-3deg); }
    100% { transform: rotate(0deg); }
}


.backdrop {
    opacity: 0;
    visibility: hidden;

    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    background: #ffffff33;
    backdrop-filter: blur(6px);

    transition: all .2s;
}

.backdrop.show {
    opacity: 1;
    visibility: visible;
}

dialog {

    opacity: 0;
    visibility: hidden;

    border: none;
    transition: all .3s;

    position: fixed;
    width: 800px;
    max-width: 100vw;
    max-height: 100vh;
    background: white;
    border-radius: var(--s);
    padding: var(--m) 0;
    box-sizing: border-box;

    top: calc(50% - 50px);
    transform: translatey(-50%);

    z-index: 11;
    box-shadow: 0 0 12px #00000030;
    display: flex;
    flex-direction: column;
}

dialog.s1, dialog.finalDialog {
    width: 360px;
}

dialog.show {
    opacity: 1;
    visibility: visible;
    top: 50%;
}

dialog header {
    display: flex;
    gap: var(--s);
    padding: var(--xs) var(--m);
    align-items: center;
    user-select: none;
}

dialog header .close {
    margin-left: auto;
    width:32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0 1px 0;
    cursor: pointer;
    opacity: .6;
    transition: all .4s;
}

dialog header .close:hover {
    opacity: 1;
}

dialog header .close:active {
    opacity: 1;
    padding: 1px 0 0 0;
}

dialog header .modalHeader {
    font-weight: 500;
    text-align: center;
    padding-left: 32px;
    height: 34px;
    display: flex;
    font-size: 1.1em;
    justify-content: center;
    align-items: center;
    width: 100%;
}

dialog header .close .i {
    width: 28px;
    height: 28px;
    color: var(--color-text-muted);
}

.error {
    color: var(--color-text-error);
    font-size: 1em;
    text-align: center;
}

.input.errorField, .input:focus.errorField {
    border: 1px solid var(--color-text-error);
    background: #fffefe;
    animation-duration: .2s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in;
    animation-name: shake;
}

dl {
    margin: 0;
    padding: 0;
}

dl dt, dl dd {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    justify-content: center;
    height: var(--xl);
}

dl dd .i {
    margin-left: var(--xs);
    width: 24px;
    height: 24px;
}

dl dt.hide, dl dd.hide {
    display: none;
}

dl dt {
    color: var(--color-text-muted);
}

dl dd > span {
    background: var(--color-border);
    color: black;
    display: inline-flex;
    padding: 0 var(--xs);
    height: var(--xl);
    align-items: center;
    border-radius: var(--2xs);
}

dl dd .cost, dl dd .rub {
    font-weight: 500;
    color: var(--color-text);
}

dialog .namePrice > span {
    display: flex;
    gap: var(--2xs);
}

dialog .dialogBody {
    display: flex;
    flex-direction: column;
    gap: var(--s);
    padding: 0 var(--m);
    overflow-y: auto;
}

dialog ul.tips {
    margin: 0;
    padding: 0;
    color: var(--color-text-muted);
    font-weight: 300;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

dialog ul.tips.hide {
    display: none;
}

dialog ul.tips li {
    padding: var(--xxs) 0;
    margin: 0;
    max-width: 80%;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}

dialog .typeCode {
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--xs) 0;
    font-weight: 300;
}

dialog .typeCode.hide {
    display: none;
}

dialog.s1 form {
    display: flex;
    flex-direction: column;
    gap: var(--xs);
}

dialog .phoneNumber, dialog .confirmationNumber {
    width: 100%;
    height: var(--xl);
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border);
    box-sizing: border-box;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
    padding: 0 var(--s);
    color: var(--color-text);
}

dialog .confirmationNumber.hide, dialog .phoneNumber.hide {
    display: none;
}

dialog .phoneNumber:focus, dialog .confirmationNumber:focus {
    outline: none;
    border: 1px solid var(--color-border-hovered);
}

dialog .field {
    display: flex;
    align-items: center;
}

dialog.finalDialog .dialogBody {
    display: flex;
    flex-direction: column;
    gap: var(--s);
    padding: var(--s) 0;
    align-items: center;
    justify-content: center;
}

dialog.finalDialog .dialogBody .result {
    text-align: center;
    font-weight: 500;
    padding: 0 var(--l);
}

dialog.finalDialog .dialogBody .comment {
    text-align: center;
    color: var(--color-text-muted);
    font-weight: 300;
    padding: 0 var(--l);
}


dialog.finalDialog .tgLink {
    height: 36px;
}


.stream.page {
    align-items: normal;
}

.page .grid {
    grid-template-areas: "logo bar" "side content" "copyright footer";
    grid-template-columns: var(--left-column) auto;
    grid-template-rows: 77px auto;
}

.page .grid .logo {
    grid-area: logo;
    position: relative;
}

.page .grid .logo:before {
    content: '';
    display: block;
    position: relative;
    margin-left: -20px;
    width: calc(100% + 20px);
    background: var(--color-violet-2);
    height: 100%;
    border-bottom-left-radius: 44px;
}

.page .grid .bar {
    grid-area: bar;
    background: var(--color-violet-2);
}

.page .grid aside {
    grid-area: side;
}

.page .grid .content {
    grid-area: content;
}

.page .grid .copyright {
    grid-area: copyright;
}

.page .grid footer {
    grid-area: footer;
}

.questions {
    display: flex;
    flex-direction: column;
}

.questions .question:not(:last-of-type) {
    border-bottom: 1px solid var(--color-border);
}

.question label {
    user-select: none;
    font-weight: 500;
    font-size: 1.1em;
    color: var(--color-text);
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: var(--s) var(--s);
}

.question label .text {
    width: 100%;
}

.question label .icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-items: center;
    justify-content: center;
}

.question label .icon .i {
    width: 30px;
    height: 30px;
}

.question input {
    display: none;
}

.question .answer {
    display: none;
}

.question input:checked ~ .answer {
    display: flex;
}

.question input:checked ~ label .icon .i {
    transform: rotate(180deg);
}


.question .answer > span {
    padding: 0 var(--s) var(--m) var(--s);
    display: block;
    color: var(--color-text-muted);
}

