.body-lk {
    background-color: #EBEEF0;
}

.container-lk {
    max-width: 1600px;
    margin: 0 auto;
}

.block-lk {
    background-color: #fff;
    border-radius: 30px;
    box-sizing: border-box;
    padding: 2.5rem 3rem;
    position: relative;
    overflow: hidden;
}

.lk-header-wrapper {
    position: relative;
    box-sizing: border-box;
    padding-left: 2.3rem;
    padding-top: 0.85rem;
    margin-bottom: 1.4rem;
}

.lk-header::before {
    content: url("data:image/svg+xml;utf8,<svg width='25' height='13' viewBox='0 0 25 13' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M16 0H20.5L25 13H20.5L16 0Z' fill='%23D6A374'/><path d='M0 0H4.5L9 13H4.5L0 0Z' fill='%23D6A374'/><path d='M8 0H12.5L17 13H12.5L8 0Z' fill='%23D6A374'/></svg>");
    display: block;
    position: absolute;
    top: -0.85rem;
    left: 0;
}

.lk-header {
    font-size: 1.65rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.018em;
}

.lk-header__description {
    color: #A5A5A5;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.115em;
    line-height: 1.2;
    margin-top: 1rem;
}

.lk-header-split {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lk__full-container {
    width: 100%;
}


/**/
.lk-top {
    background-image: url(images/lk/bg.jpg);
    background-size: cover;
    background-position: center center;
    height: 494px;
    color: #fff;
    text-align: center;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
}

.lk-top__container {
    height: 100%;
}

.lk-top__content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: calc(331px + 2rem);
    box-sizing: border-box;
}

.lk-top__content__inner {
    width: 100%;
}

.lk-top__heading {
    font-weight: 600;
    font-size: 2.2rem;
    margin-bottom: 1.8rem;
    text-transform: uppercase;
}

.lk-top__description {
    font-size: 1.25rem;
    font-weight: 300;
    max-width: 800px;
    margin: auto;
    line-height: 1.5;
}



/**/
.lk {
    position: relative;
    z-index: 2;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.lk__split {
    display: flex;
    gap: 2rem;
}

.lk__sidebar-wrapper {
    width: 331px;
}

.lk__sidebar {
    background-color: #fff;
    border-radius: 30px;
    width: 100%;
    min-height: calc(100vh - 4rem);
    box-sizing: border-box;
    padding: 3rem 1.8rem;
    text-align: center;
    position: sticky;
    top: 2rem;
}

.lk__sidebar__logo-wrapper {
    text-align: center;
    margin-bottom: 2.6rem;
}

.lk__sidebar__name {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.lk__sidebar__email {
    font-weight: 600;
    opacity: 0.6;
    margin-bottom: 1.35rem;
    font-size: 0.875rem;
}

.lk__sidebar__edit {
    padding: 0;
    list-style-type: none;
    margin: 3.8rem 0 0;
    color: var(--main);
    font-weight: 500;
    font-size: 0.8rem;
}

.lk__sidebar__edit li + li {
    margin-top: 1.4rem;
}

.lk__sidebar__edit a {
    color: inherit;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
}

.lk__sidebar__nav {
    margin: auto;
    text-align: left;
}

.lk__sidebar__nav nav {
    display: flex;
    justify-content: center;
}

.lk__sidebar__nav ul {
    list-style-type: none;
    margin: 5rem 0 0;
    padding: 0 1rem 0 0;
    font-size: 1rem;
    font-weight: 500;
}

.lk__sidebar__nav ul li + li {
    margin-top: 2rem;
}

.lk__sidebar__nav a {
    display: flex;
    text-decoration: none;
    align-items: center;
    color: inherit;
    gap: 0.9rem;
}

.lk__sidebar__nav a > .icon {
    width: 1.9rem;
    height: 1.9rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lk__sidebar__nav li.active a > .icon {
    background-color: var(--main);
    border-radius: 4px;
}

.lk__sidebar__nav li.active a svg * {
    fill: #fff;
}


/**/

.lk__content {
    width: calc(100% - 331px - 2rem);
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.lk__content__skip {
    height: 20rem;
    width: 100%;
}


/***
Blocks
*/

.block-lk--ref {
    width: calc(50% - 1rem);
}

.block-lk--ref__lead {
    font-size: 1.1rem;
    line-height: 1.5;
    font-weight: 500;
    margin-bottom: 1rem;
}




.block-lk--ref__grid {
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.block-lk--ref__grid__item {
    width: 100%;
    box-sizing: border-box;
    /*padding: 0 2rem;*/
    display: flex;
    align-items: center;
    padding: 1.6rem 0;
    border-top: 1px solid #BFBFBF;
}

.block-lk--ref__grid__item:last-child {
    border-bottom: 1px solid #BFBFBF;
}






.block-lk--ref__grid__item__value {
    font-size: 2.3rem;
    font-weight: 500;
    color: var(--main);
    width: 11rem;
    text-align: center;
}

.block-lk--ref__grid__item__text {
    color: #454545;
    line-height: 1.35;
    width: calc(100% - 11rem);
}

.block-lk--ref__grid__item__value__price {
    position: relative;
    padding-right: 1rem;
}

.block-lk--ref__grid__item__sup {
    position: absolute;
    font-size: 1.25rem;
    top: 0;
    right: 0;
    line-height: 1;
    font-weight: 600;
}


/**/
.block-lk--clean {
    padding: 0;
    background-color: revert;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}


/**/
.block-lk--additional {
    width: calc(50% - 1rem);
}

.block-lk--telegram {
    background-color: #394859;
    color: #fff;
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.block-lk--telegram__head {
    display: flex;
    align-items: center;
    margin-bottom: 1.3rem;
}

.block-lk--telegram__head__text {
    padding-left: 1rem;
    font-size: 1.6rem;
    font-weight: 500;
}

.block-lk--telegram__cta {
    font-size: 1.05rem;
    line-height: 1.55;
    font-weight: 300;
    margin-bottom: 1.7rem;
}


.block-lk--telegram__image {
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    max-width: 60%;
}

/**/
.block-lk--book__input {
    display: block;
    width: 100%;
    appearance: none;
    border: 0;
    background-color: #f0f0f0;
    height: 4.4rem;
    font-size: 1rem;
    border-radius: 5px;
    box-sizing: border-box;
    padding: 0 1rem;
    margin-bottom: 0.5rem;
}

.block-lk--book__copy {
    border-bottom: 1px dashed;
}

.block-lk--book__copy:hover {
    cursor: pointer;
}

.block-lk--book__tip {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 1.5rem;
}

/** REF PAGE **/
.block-lk--ref-wide {
    width: 100%;
}

.block-lk--ref-wide__split {
    display: flex;
    justify-content: space-between;
}

.block-lk--ref-wide__action {
    box-sizing: border-box;
    padding-left: 1.5rem;
}

.block-lk--ref-wide__grid {
    display: flex;
    margin: 0 -2rem;
    width: calc(100% - 280px);
}

.block-lk--ref-wide__grid__item {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 0 2rem;
    gap: 0.5rem;
}

.block-lk--ref-wide__grid__item__value {
    font-size: 2.3rem;
    font-weight: 500;
    color: var(--main);
}

.block-lk--ref-wide__grid__item:nth-child(1) {
    width: 36%;
}

.block-lk--ref-wide__grid__item:nth-child(2) {
    width: 28%;
    border-width: 0 1px 0 1px;
    border-style: solid;
    border-color: #BFBFBF;
}

.block-lk--ref-wide__grid__item:nth-child(3) {
    width: 36%;
}

.block-lk--ref-wide__grid__item__value__price {
    position: relative;
    padding-right: 1rem;
}

.block-lk--ref-wide__grid__item__sup {
    position: absolute;
    font-size: 1.25rem;
    top: 0;
    right: 0;
    line-height: 1;
    font-weight: 600;
}

/**/
.block-lk--payments {
    width: 100%;
}

.payments-table {

}

.payments-table__item {
    border-bottom: 1px solid #D1D1D1;
    display: flex;
    justify-content: space-between;
    padding: 1.3rem 0;
}

.payments-table__data {
    width: calc(100% - 150px);
}

.payments-table__data__main {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.payments-table__data__reward {
    font-size: 0.9rem;
    opacity: 0.6;
}

.payments-table__data__name {
    font-weight: 600;
}

.payments-table__data__id {
    margin-left: 1rem;
    font-weight: 300;
    opacity: 0.5;
}

.payments-table__status {
    /*width: 150px;*/
}

.payments-table__status__split {
    font-size: 0.9rem;
    font-weight: 500;
    color: #6C6C6C;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.payments-table-result {
    margin-top: 2rem;
    font-size: 1.05rem;
    text-align: right;
    font-weight: 500;
}

.payments-table-result__value {
    color: var(--main);
}

/* CONTACTS PAGE */
.contacts-list {
}

.contacts-list__item {
    box-shadow: 0 0 2.5rem 0 rgba(0,0,0,0.1);
    border-radius: 8px;
    display: flex;
    box-sizing: border-box;
    padding: 1.5rem;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contacts-list__item + .contacts-list__item {
    margin-top: 1.5rem;
}

.contacts-list__item__photo-wrapper {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
}

.contacts-list__item__content {
    width: 440px;
}

.contacts-list__item__name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contacts-list__item__contacts {
    width: 300px;
    text-align: center;

}

.contacts-list__item__contacts a {
    text-decoration: none;
    color: inherit;
}

.contacts-list__item__contacts div:first-child {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.contacts-address__value {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 0.7rem;
    font-weight: 600;
}

.contacts-address__value br {
    display: none;
}


/* MIDDLE SCREEN */
@media screen and (max-width: 1800px) {
    .container-lk {
        max-width: 1400px;
    }

    .lk-header-wrapper {
        padding-left: 1.8rem;
        padding-top: 0.55rem;
        margin-bottom: 1rem;
    }

    .lk-header::before {
        content: url("data:image/svg+xml;utf8,<svg width='19' height='10' viewBox='0 0 25 13' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M16 0H20.5L25 13H20.5L16 0Z' fill='%23D6A374'/><path d='M0 0H4.5L9 13H4.5L0 0Z' fill='%23D6A374'/><path d='M8 0H12.5L17 13H12.5L8 0Z' fill='%23D6A374'/></svg>");
    }



    /**/
    .lk-top {
        height: 400px;
    }

    .lk-top__heading {
        font-size: 1.9rem;
    }

    .lk-header {
        font-size: 1.45rem;
    }

    .lk-top__description {
        font-size: 1.05rem;
    }


    /*    */
    .lk__sidebar-wrapper {
        width: 300px;
    }

    .lk__content {
        width: calc(100% - 300px - 2rem);
    }


    /*    */
    .lk__sidebar {
        padding: 2.4rem 1.2rem;
    }

    .lk__sidebar__logo-wrapper {
        margin-bottom: 1.8rem;
    }

    .lk__sidebar__logo svg {
        width: 160px;
        height: auto;
    }

    .lk__sidebar__name {
        font-size: 1.15rem;
    }

    .lk__sidebar__email {
        font-size: 0.8rem;
    }

    .lk__sidebar__edit {
        margin-top: 2.9rem;
    }

    .lk__sidebar__nav ul {
        margin-top: 3.5rem;
        font-size: 0.9rem;
    }


    /*    */
    .block-lk--ref__grid__item {
        /*padding: 1.2rem 0;*/
    }

    .block-lk--ref__grid__item__value {
        font-size: 1.8rem;
        width: 9rem;
    }

    .block-lk--ref__grid__item__text {
        width: calc(100% - 9rem);
        font-size: 0.9rem;
    }

    .block-lk--ref__lead {
        font-size: 1.05rem;
    }

    /*    */
    .block-lk--telegram__head__icon svg {
        width: 50px;
        height: 50px;
    }

    .block-lk--telegram__head__text {
        font-size: 1.45rem;
    }

    .block-lk--telegram__cta {
        font-size: 0.95rem;
    }

    /**/
    .block-lk--ref-wide__grid {
        width: calc(100% - 220px);
    }

    .block-lk--ref-wide__grid__item__value {
        font-size: 1.9rem;
    }

    .block-lk--ref-wide__grid__item__sup {
        font-size: 1.05rem;
    }

    .block-lk--ref-wide__grid__item__text {
        font-size: 0.9rem;
    }

}


/* COMPACT SCREEN */
@media screen and (max-width: 1390px) {



    .container-lk {
        max-width: 1400px;
        padding: 0 2rem;
    }

    .lk__content__skip {
        height: 17rem;
    }

    .lk-header::before {
        content: url("data:image/svg+xml;utf8,<svg width='13' height='8' viewBox='0 0 25 13' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M16 0H20.5L25 13H20.5L16 0Z' fill='%23D6A374'/><path d='M0 0H4.5L9 13H4.5L0 0Z' fill='%23D6A374'/><path d='M8 0H12.5L17 13H12.5L8 0Z' fill='%23D6A374'/></svg>");
    }

    .lk-header-wrapper {
        padding-left: 1.3rem;
        padding-top: 0.3rem;
    }

    .lk-header {
        font-size: 1.3rem;
    }



    /**/
    .lk__sidebar-wrapper {
        width: 270px;
    }

    .lk__sidebar {
        padding: 2.4rem 0.8rem;
    }

    .lk__content {
        width: calc(100% - 270px - 2rem);
    }



    /**/
    .lk__sidebar__logo-wrapper {
        margin-bottom: 1.2rem;
    }

    .lk__sidebar__logo svg {
        width: 130px;
    }

    .lk__sidebar__name {
        font-size: 1rem;
    }

    .lk__sidebar__email {
        font-size: 0.75rem;
    }

    .lk__sidebar__nav ul {
        margin-top: 3rem;
        font-size: 0.85rem;
    }

    .lk__sidebar__nav a > .icon {
        width: 1.7rem;
        height: 1.7rem;
    }



    /*    */
    .lk-top {
        height: 330px;
    }

    .lk-top__heading {
        font-size: 1.8rem;
    }

    .lk-top__description {
        font-size: 1rem;
    }


    /*    */
    .block-lk--ref__lead {
        font-size: 1rem;
    }

    .block-lk--ref__grid__item__value {
        font-size: 1.3rem;
        width: 8rem;
    }

    .block-lk--ref__grid__item__text {
        width: calc(100% - 8rem);
        font-size: 0.75rem;
    }


    /*    */

    .block-lk--telegram__head {
        margin-bottom: 0.9rem;
    }

    .block-lk--telegram__head__icon svg {
        width: 40px;
        height: 40px;
    }

    .block-lk--telegram__head__text {
        font-size: 1.25rem;
    }

    .block-lk--telegram__cta {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
    }

    .block-lk--book__input {
        height: 3.2rem;
        font-size: 0.9rem;
    }

    .block-lk--book__copy {
        font-size: 0.85rem;
    }

    .block-lk--book__tip {
        font-size: 0.75rem;
    }

    /*    */
    .block-lk--ref-wide__split {
        display: block;
    }

    .block-lk--ref-wide__grid {
        width: 100%;
        margin-bottom: 1.4rem;
    }

    .block-lk--ref-wide__action {
        padding-left: 0;
    }

    .block-lk--ref-wide__grid__item__value {
        font-size: 1.4rem;
    }

    .block-lk--ref-wide__grid__item__sup {
        font-size: 0.8rem;
    }

    .block-lk--ref-wide__grid__item__text {
        font-size: 0.7rem;
    }

    /**/
    .payments-table__item {
        padding: 1.1rem 0;
    }

    .payments-table__data__main {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }

    .payments-table__data__reward {
        font-size: 0.8rem;
    }

    .payments-table__status svg {
        max-width: 1.1rem;
        max-height: 1.1rem;
    }

    .payments-table__status__split {
        font-size: 0.7rem;
        gap: 0.7rem;
    }

    .payments-table-result {
        font-size: 0.95rem;
    }

    /*    */
    .contacts-list__item__content {
        width: 300px;
    }

    .contacts-list__item__contacts {
        width: 250px;
    }


}


/* TABLET */
@media screen and (max-width: 1100px) {

    .lk {
        margin-top: 2rem;
        min-height: 100vh;
    }

    /**/
    .lk-top__content {
        padding-left: 0;
    }

    .lk__sidebar-wrapper {
        position: fixed;
        top: 0;
        bottom: 0;
        left: -225px;
        z-index: 100;
        transition: left 0.3s;
        width: 225px;
    }

    .lk__content {
        width: 100%;
    }

    .lk__content__skip {
        height: 16rem;
    }


}


/* MOBILE */
@media screen and (max-width: 768px) {

    .lk-header-split {
        display: block;
    }

    .lk-top {
        height: 290px;
    }

    .lk__content__skip {
        height: 15rem;
    }

    /*    */
    .block-lk--ref {
        width: 100%;
    }

    /*    */
    .block-lk--additional {
        width: 100%;
    }
    
    /*    */
    .block-lk--ref-wide__grid {
        display: block;
    }

    .block-lk--ref-wide__grid__item:nth-child(2) {
        border-width: 1px 0;
    }

    .block-lk--ref-wide__grid {
        margin: 1rem 0;
    }

    .block-lk--ref-wide__grid__item {
        width: 100% !important;
        padding: 1rem 0;
    }

    .block-lk--ref-wide__grid__item__value {
        width: 80px;
    }

    /*    */
    .payments-table__item {
        align-items: center;
        gap: 0.9rem;
    }


    .payments-table__data {
        width: calc(100% - 65px);
    }

    .payments-table__data__main {
        font-size: 0;
    }
    
    .payments-table__data__name {
        display: block;
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }

    .payments-table__data__phone {
        font-size: 0.9rem;
    }

    .payments-table__data__id {
        font-size: 0.9rem;
    }

    /*    */
    .contacts-list__item {
        gap: 1.1rem;
    }

    .contacts-list__item__photo-wrapper {
        width: 60px;
        height: 60px;
    }
    .contacts-list__item__content {
        width: calc(100% - 60px - 1.1rem);
    }





}