.app-card {
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    box-shadow: 0 2px 10px 0 rgba(0,0,0,.12);      
    transition: 0.3s;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.2);
    box-sizing: border-box;
}

.app-card--flat {
    box-shadow: none;
}

.app-card--primary {
    background: #fff;
}

.app-card--secondary {
    background: #f6f6f9;
}
 
.app-card::before {
    content: "";
    display: block;
    position: absolute;
    bottom: 0; right: 0;
    width: 250px;
    height: 190px;
    background: center/cover no-repeat url("../../assets/img/app-image.png");
    opacity: 0.10;
    z-index: -10;
    filter: 
        brightness(0)
        saturate(100%)
        invert(54%)
        sepia(93%)
        saturate(1223%)
        hue-rotate(344deg)
        brightness(98%)
        contrast(89%);
    transition: opacity 0.3s ease;
}

.app-card__content {
    padding: 24px;        
}

.app-card__content-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.app-card__content-main {
    display: flex;
    flex-direction: column; 
    gap: 16px;
}

.app-card__content-bottom {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.app-card__counterparty {
    font-weight: 600;
}

.app-card__city {
    text-align: center;
}

.app-card__price {
    color: var(--color-text-black);
    font-size: 18px;
    font-weight: 600;
}

.app-card__title {
    color: var(--color-text-black);
    font-size: 20px;
    font-weight: 600;
}

.app-card__title--primary {
    color: var(--bs-primary);
    font-size: 20px;
    font-weight: 600;
}

.app-card__title--secondary {
    color: var(--color-secondary);
    font-size: 16px;
    font-weight: 600;
}

.app-card__subtitle {
    color: var(--color-text-black);
    font-size: 18px;
    font-weight: 600;
}

.app-card__text {
    color: var(--color-text-black);
    font-size: 16px;
    font-weight: 500;
}

.app-card__text--secondary {
    color: var(--color-secondary);
    font-size: 16px;
    font-weight: 500;
}


.app-card__meta {
    color: var(--color-secondary);
    font-size: 14px;
    font-weight: 500;
}

@media(min-width: 992px) {

    .app-card::before {
        width: 300px;
        height: 220px;
    }
    
    .app-card__content-top {
        flex-direction: row;
        align-items: center;    
    }
    
    .app-card__city {
        text-align: start;
    }
}

.executor-card {
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    box-shadow: 0 2px 10px 0 rgba(0,0,0,.12);      
    transition: 0.3s;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.2);
    box-sizing: border-box;
}

.executor-card--flat {
    box-shadow: none;
}

.executor-card--primary {
    background: #fff;
}

.executor-card--secondary {
    background: #f6f6f9;
}

.executor-card::before {
    content: "";
    display: block;
    position: absolute;
    bottom: 0; right: 0;
    width: 250px;
    height: 190px;
    background: center/cover no-repeat url("../../assets/img/person-card.png");
    opacity: 0.10;
    z-index: -10;
    filter: 
        brightness(0)
        saturate(100%)
        invert(54%)
        sepia(93%)
        saturate(1223%)
        hue-rotate(344deg)
        brightness(98%)
        contrast(89%);
    transition: opacity 0.3s ease;
}

.executor-card__content {
    padding: 24px;        
}

.executor-card__content-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.executor-card__content-main {
    display: flex;
    flex-direction: column; 
    gap: 16px;
}

.executor-card__content-bottom {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}


.executor-card__user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 100%;
    background-color: #f6f6f9;;
}

.chip {
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 3px 8px;
    border-radius: 8px;
    color: #fff;
    background: var(--color-secondary);
    font-weight: 600;
    text-overflow: ellipsis;
    border: none;
    text-align: center;
}


.chip-success {
    background-color: var(--color-success-button-secondary);
    color: var(--color-success);
}

.chip-error {
    background-color: var(--color-error-button-secondary);
    color: var(--color-error);
}

.chip.chip-secondary {
    background-color: #B0B0B0;
    color: #FFFFFF;
}

.base-btn {
    padding: 8px 16px;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    gap: 8px;
    overflow: hidden;
    position: relative;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    box-sizing: border-box;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.primary-button {
    background-color: var(--bs-primary);
    color: #fff;
}

.secondary-button {
    background-color: #f3f4f6;
    color: #4b5563;
}

.secondary-button:hover {
    background-color: #e5e7eb;
    color: #1f2937;
}

.error-button {
    background-color: var(--color-error);
    color: white;
}

.error-button:hover {
    background-color: color-mix(in srgb, var(--color-error) 90%, white);
}

.error-button-secondary {
    background-color: var(--color-error-button-secondary);
    color: var(--color-error);
}

.error-button-secondary:hover {
    background-color: color-mix(in srgb, var(--color-error-button-secondary) 90%, white);
}

.base-btn.uppercase {
    text-transform: uppercase;
}

.success-button {
    max-width: 180px;
    width: 100%;
    padding: 8px 12px;
    background-color: var(--color-success-button);
    text-transform: uppercase;
    color: #fff;
    border-radius: 14px;
}

.success-button-full {
    width: 100%;
    padding: 12px 24px;
    background-color: var(--color-success-button);
    text-transform: uppercase;
    color: #fff;
    border-radius: 12px;
}

.success-button-secondary {
    max-width: 160px;
    width:100%;
    padding: 8px 12px;
    text-transform: uppercase;
    color: var(--color-success-button-secondary-text);
    border-radius: 14px;
    background-color: var(--color-success-button-secondary);
}

.icon-button {
    --icon-button-size: 40px;
    width: var(--icon-button-size);
    height: var(--icon-button-size);
    background-color: transparent;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border: none;
    box-sizing: border-box;
    overflow: hidden;
}

.icon-button--primary {
    color: #fff;
    background-color: var(--bs-primary);
}

.icon-button--primary:hover {
    background-color: var(--bs-primary-dark);
    color: #fff;
}

.icon-button--secondary {
    color: var(--bs-primary);
    background-color: var(--bs-secondary);
}

.icon-button--secondary:hover {
    color: var(--bs-primary-dark);
}

.base-btn:hover {
    text-decoration: none;
}

.primary-button:hover {
    background-color: color-mix(in srgb, var(--bs-primary) 90%, white);
    color: #fff;
}

.success-button:hover {
    background-color: color-mix(in srgb, var(--color-success) 90%, white);
}

.success-button-full:hover {
    background-color: color-mix(in srgb, var(--color-success) 90%, white);
}

.success-button-secondary:hover {
    background-color: var(--color-success-button-secondary-hover);
    color: var(--color-success-button-secondary-text);
}


.text-button {
    color: var(--bs-primary);
    background: none;
    border: none;
    display: inline-flex;
    gap: 8px;
    position: relative;
    text-align: center;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    box-sizing: border-box;
    padding: 8px 0;
    text-decoration: none;
    align-self: flex-start; 
}

.btn-font-medium {
    font-size: 16px;
}

.btn-font-big {
    font-size: 18px;
}

.text-button:hover {
    color: var(--bs-primary-dark);
    cursor: pointer;
}

.btn-scroll-up {
    border-radius: 100%;
    border: none;
    background: var(--bs-primary) url("/assets/img/icons/move-up.svg") 50% center no-repeat;
    width: 45px;
    height: 45px;
    position: fixed;
    left: 5%;
    bottom: 72px;
    z-index: 100;
    
}

/* Общие стили для disabled состояния */
.base-btn:disabled,
.base-btn.disabled {
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.6;
}

.btn-full-mobile {
    width: 100%;
}

@media (min-width: 768px) {
    .btn-full-mobile {
        width: auto;
    }
}


.burger-btn {
    width: 24px;
    height: 24px;
    position: relative;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.burger__line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #000;
}

.burger__line::before,
.burger__line::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: #000;
}

.burger__line::before {
    transform: translateY(-6px);
}

.burger__line::after {
    transform: translateY(6px);
}

/* Состояние крестика */
.burger-btn.active .burger__line {
    background: transparent;
}

.burger-btn.active .burger__line::before {
    top: 0;
    transform: rotate(45deg);
}

.burger-btn.active .burger__line::after {
    bottom: 0;
    transform: rotate(-45deg);
}

.tab-switcher__wrapper {
    margin-top: 16px;
}

.tab-switcher {
    position: relative;
    display: flex;
    flex-direction: row;
    inline-size: 100%;
    box-sizing: border-box;
    block-size: 48px;
    background-color: #fff;
    border: none;
    border-radius: 16px;
}


.tab-button {
    position: relative;
    min-inline-size: 50%;
    box-sizing: border-box;    
    block-size: 100%;
    inline-size: -moz-fit-content;
    inline-size: fit-content;
    
    display: inline-flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: none;
    border-radius: 16px;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    transition: background-color 0.2s ease;
    background-color: #fff;
    color: #4b5563;
}

.tab-button.active {
    background-color: var(--bs-primary);
    color: #fff;
}


@media (max-width: 767px) {
    .btn-width-mobile {
        width: 100%;
    }
}

@media (min-width: 1024px) {
    .tab-switcher__wrapper {
        display: flex;
        justify-content: center;
    }
    
    .tab-switcher {
        position: relative;
        display: flex;
        flex-direction: row;
        inline-size: 100%;
        max-inline-size: 400px;
        box-sizing: border-box;
        block-size: 48px;
        background-color: #fff;
        border: none;
        border-radius: 16px;
    }
    
}
.download-modal {
    background-color: #fff;
    display: none;
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid;
    border-bottom-color: rgba(204, 214, 228, .6);
}

.download-modal.active {
    display: block;
}


.download-modal__content {
    display: flex;
    gap: 8px;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}


.download-modal .btn-dismiss {
    color: rgba(0, 26, 52, .6);
    flex-shrink: 0;
    cursor: pointer;
}

.download-modal .btn-download {
    flex-shrink: 0;
}

.download-modal__text {
    font-size: 14px;
    font-weight: 500;
}
.download-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 32px 0;
}

.download-card-list {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
    margin-top: 24px;
}

.download-card {
    background-color: #fff;
    border-radius: 32px;
    box-sizing: border-box;
}

.download-card__content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.download-card__image-wrapper {
    display: block;
    width: 100%;
    height: 145px;
    background: #fff;
}

.download-card__image-wrapper img {
    width: 100%;
    max-height: 145px;
    object-fit: contain;
}

.download-card__button {
    width: 100%;
}

@media(min-width: 1024px) {
    .download-section {
        padding: 32px 0 16px 0;
    }
    
    .download-card-list {    
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}


.entry-section {
    background-color: #fff;
    width: 100%;
    border-radius: 32px;
    margin-top: 16px;
    box-sizing: border-box;
    overflow: hidden;
}

.entry-section__body {
    display: flex;
    flex-direction: column;
}

.entry-section__content {
    flex: 1;
    flex-direction: column;
    padding: 32px 32px 16px 32px;
}

.entry-section__image-wrapper {
    flex: 0 1 35%;
    justify-content: start;
    align-items: flex-end;
}

.entry-section__image-wrapper img {
    max-width: 100%;
    display: block;
    max-height: 258px;
    height: 100%;
    user-select: none;
    -webkit-user-select: none;
    object-fit: contain;
}



.entry-section--executor {
    position: relative;
    margin-bottom: 32px;
    overflow: hidden;
}

.entry-section--executor .entry-section__body {
    align-items: center;
}

.entry-section--executor .entry-section__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
}

.entry-section--executor .entry-section__image-wrapper {
    display: block;
    flex: none; 
    height: 100%;
    width: auto;
}

.entry-section--executor .entry-section__image-wrapper img {
    width: auto;
    max-height: 250px;
    height: 100%;
    display: block;
    user-select: none;
    -webkit-user-select: none;
    object-fit: contain;
}


.entry-section--executor .entry__title,
.entry-section--executor .entry__subtitle {
    text-align: start;
}


.order-first-mobile {
    order: -1;
}


@media (min-width: 1024px) {
    
    .entry-section__body {
        flex-direction: row;
    }
    
    
    .entry-section__image-wrapper img {
        max-height: 316px;
    }
    
    
    .entry-section--executor {
        margin-bottom: 0;
    }
    
    .entry-section--executor .entry-section__body {
        align-items: flex-start;
        padding: 0;
    }
    
    .entry-section--executor .entry-section__content {
        align-items: start;
        padding: 32px;
    }
    
    .entry-section--executor .entry-section__image-wrapper {
        margin: 32px 0 0 32px;
    }
    
    .entry-section--executor .entry-section__image-wrapper img {
        max-height: 300px;
        height: 100%; 
        width: 100%;
        margin-top: auto;
    }
    
    .order-first-mobile {
        order: 0;
    }
    
}

.empty-view {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    box-sizing: border-box;
    padding: 16px;
}

.empty-view__image {
    max-width: 300px;
    max-height: 300px;
}

.empty-view__text {
    color: #000;
    text-align: center;
    font-weight: 300;
    line-height: 1.5;
    font-size: clamp(16px, calc(16px + 0.25vw), 20px);
}

.empty-view__image-small {
    max-width: 150px;
    max-height: 150px;
}
.features-preview {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 32px 0 32px 0;
}

.features-preview__list {
    display: grid;
    grid-template-columns: 1fr;
    box-sizing: border-box;
    gap: 32px;
    margin-top: 32px;
}

.features-preview__list-item {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    box-sizing: border-box;
}

.features-preview__text-wrapper {
    display: flex;
    flex-direction: column;
    margin: 0 0 0 24px;
}

.features-preview___img-wrapper {
    display: inline-block;
    box-sizing: border-box;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.features-preview___img-wrapper img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    display: block;
}



.features-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 32px;
    margin-bottom: 64px;
    box-sizing: border-box;
}

.feature-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    box-sizing: border-box;
}

.feature-cards__item {
    padding: 32px;
    box-sizing: border-box;
    border-radius: 32px;
    background: #fff;
}

.feature-cards__img-wrapper {
    display: inline-block;
}

.feature-cards__img-wrapper img {
    object-fit: contain;
    display: block;
    width: 100%;
    height: 100%;
    block-size: 10rem;
    max-inline-size: 100%;
    inline-size: auto;
}



/* Модификатор для двух колонок с изображением внизу */
.feature-cards--two-columns {
    grid-template-columns: 1fr;
}

.feature-cards--image-bottom .feature-cards__item {
    display: flex;
    flex-direction: column;
}

.feature-cards--image-bottom .feature-cards__img-wrapper {
    margin-top: auto;
    display: inline-flex;
    justify-content: flex-end;
    
}

.feature-cards--image-bottom .feature-cards__img-wrapper img {
    block-size: auto; 
    height: 100%;
    max-height: 160px;
    margin-top: 16px;
}


@media (min-width: 768px) {
    
    .features-preview__list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-preview__list-item {
        flex-direction: column;
        align-items: center;
    }
    
    .features-preview__text-wrapper {
        margin: 16px 0 0 0;
        align-items: center;
    }
    
    .features-preview__text-wrapper .text-body {
        text-align: center;
    }
    
    .features-preview___img-wrapper {
        height: 90px;
        width: 90px;
    }
    
    .feature-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-cards--two-columns {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-cards--image-bottom .feature-cards__img-wrapper img {
        max-height: 200px;
    }
}


@media (min-width: 1024px) {
    
    .features-preview {
        padding: 48px 0 32px 0;
    }
    
    .features-preview__list {
        grid-template-columns: repeat(4, 1fr);
    }
    
    
    .features-section {
        gap: 32px;
        margin-top: 64px;
    }

    .feature-cards {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .feature-cards--two-columns {
        grid-template-columns: repeat(2, 1fr);
    }
    
}

.footer {
    width: 100%;
    box-sizing: border-box;
    margin-top: auto;
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
    color: #000;
    background: #fff;
    /* background: #1c1b22; */
}

.footer__body {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 32px;
}

.footer__top {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-menu {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    order: 1;
    gap: 16px;
}

.footer-menu__item {
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
}

.footer .contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    order: 3;
}

.contacts .contacts__item {
    
}

.footer .social {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.social .social__item {
    display: flex;
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 36px;
    justify-content: center;
    align-items: center;
    color: #000;
    background-color: #f5f5f5;
    text-decoration: none;
    transition: transform 300ms;
}

.social__item:hover i {
    color: var(--bs-primary);
}

.footer-apps {
    display: flex;
    flex-direction: row;
    order: 2;
    gap: 12px;
}

.footer-apps img {
    display: block;
    width: auto;
    height: 40px;
    object-fit: contain;
}

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

.footer-organization-info {
    display: flex;
    flex-direction: column;
}

.footer .hr-divider {
    margin: 16px 0;
}

@media (min-width: 768px) {
    .footer__top {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .footer__bottom {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .footer .social {
        margin: 0;
    }
    
    .footer-apps {
        flex-direction: column;
        order: 3;
    }
    
    .footer .contacts {
        order: 2;
    }
    
}

/*///////////////////////////////////////////////////////////////////////////*/

.config__request {
    max-width: 220px;
    justify-content: space-between;
    margin: 0 0 .5rem 0;
}
.ymaps-2-1-79-zoom__minus {
    bottom:-2px;
}

#form{
    max-width: calc(100vw - 16px)!important;   
}

#hr{
    z-index: -100;
}

.ymaps-2-1-79-map{
    position: fixed!important;
    /*max-height: 45vh;*/
    /*min-height: 40vh;*/
    /*width: 100vw!important;*/
    margin: 0;
    z-index: 100;
}
.ymaps-2-1-79-map-copyrights-promo{
    display:none;
}

.ymaps-2-1-79-controls__control_toolbar {
    display: none;
}

.ymaps-2-1-79-copyright__layout {
    display:none;
}

.error__active {
   color: red;
   border: 1px solid red;
}

.error__none {
   color: black;
   border: 1px solid black;
}

.error {
   color: red;
   padding: 0;
   margin: 0 0 15px 0;
}

.error__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hidden {
   display: none;
}

#description-container1 ymaps, #description-container2 ymaps{
    z-index: 0!important;
}

body,
html {
    margin: 0;
    padding: 0;
}

.container {
    margin: 0px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 13px;
}

ul.ks-cboxtags {
    list-style: none;
    padding: 20px;
}
ul.ks-cboxtags li{
    display: inline;
}
ul.ks-cboxtags li label{
    display: inline-block;
    background-color: #ffbd88;
    border: 2px solid #fff;
    border-radius: 25px;
    white-space: nowrap;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: all .2s;
}

ul.ks-cboxtags li label {
    padding: 8px 12px;
    cursor: pointer;
}

ul.ks-cboxtags li label::before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 12px;
    padding: 2px 6px 2px 2px;
    content: "\f067";
    transition: transform .3s ease-in-out;
}

ul.ks-cboxtags li input[type="checkbox"]:checked + label::before {
    content: "\f00c";
    transform: rotate(-360deg);
    transition: transform .3s ease-in-out;
}

ul.ks-cboxtags li input[type="checkbox"]:checked + label {
    border: 2px solid #ed812b;
    background-color: #ed812b;
    color: #fff;
    transition: all .2s;
}

ul.ks-cboxtags li input[type="checkbox"] {
  display: absolute;
}
ul.ks-cboxtags li input[type="checkbox"] {
  position: absolute;
  opacity: 0;
}
ul.ks-cboxtags li input[type="checkbox"]:focus + label {
  border: 2px solid #e9a1ff;
}

.back_to {
    align-items: center;
    font-size: 30px;
    z-index: 9999;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 30px;
    background: #f5f5f5;
    color: #444;
    cursor: pointer;
    border-radius: 100px;
    z-index: 5000;
}

.back_to:hover {
    background: #e9ebec;
}

.back_to_left-show {
    display: block;
    float: left;
}
.back_to_right-show {
    display: block;
    float: right;
}
.mobile-app-card {
    position: relative;
    background: #fff;
    border-radius: 32px;
    margin-bottom: 32px;
}

.mobile-app-card__body {
    display: flex;
    flex-direction: column;
    padding: 32px;
    gap: 24px;
}

.mobile-app-card__wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-app-card__content {
    display: flex;
    flex-direction: column;
}

.mobile-app-card__title {
    text-align: center;
}

.mobile-app-card__text-body {
    text-align: center;
}

.mobile-app-card__img-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.mobile-app-card__img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mobile-app-card__links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.mobile-app-card__links a {
    text-decoration: none;
    display: inline-flex;
    line-height: 0;
    flex-shrink: 0; 
}

.mobile-app-card__links img {
    display: block;
    width: auto;
    height: 48px;
    object-fit: contain;
}

.mobile-app-card__links a:hover {
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.mobile-app-card__links a:active {
    transform: scale(0.98);
}

@media (min-width: 1024px) {
    .mobile-app-card__body {
        flex-direction: row;
        gap: 24px;
        justify-content: space-between;
    }
    
    .mobile-app-card__wrapper {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 24px;
    }
    
    
    .mobile-app-card__title {
        text-align: start;
    }
    
    .mobile-app-card__body {
        text-align: start;
    }
    
    .mobile-app-card__links {
        justify-content: flex-end;
    }
}

.registration-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 32px;
    margin-top: 32px;
    margin-bottom: 32px;
    background-color: #fff;
    box-sizing: border-box;
    border-radius: 32px;
}

.registration-form {
    max-width: 1000px;
}

.role-choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}

.role-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    border-radius: 20px;
    background-color: #fff;
    cursor: pointer;
    text-decoration: none;
    border: 2px solid #000;
}

.role-card:hover {
    border: 2px solid var(--bs-primary) !important;
}

.role-card .role-card__title-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 8px;
    gap: 8px;
}

.role-card .role-card__title {
    text-align: center;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 600;
    color: #000;
}

.role-card .role-card__icon {
    max-height: 30px;
    max-width: 26px;
    object-fit: contain;
}

.role-card .role-card__description {
    text-align: center;
    margin-bottom: 8px;
}

.registration-section__image-wrapper {
    display: inline-block;
    height: 250px;
    max-width: 450px;
    overflow: hidden;
}

.registration-section__image {
    width: 100%;            
    height: 100%;
    object-fit: contain;
    display: block;
}

.password-wrapper .password-field:focus {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.password-wrapper {
    border: 1px solid #dee2e6 !important;
}

.password-wrapper:focus-within {
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(var(--bs-primary-rgb), 0.25) !important;
}

.btn-group-container {
    background-color: white;
    padding: 10px;
    border-radius: 10px;
}

.password-toggle-btn {
    text-decoration: none;
}

.registration-form__btn-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.registration-form__btn {
    display: flex;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    
    max-width: 220px;
    margin: 0;
    box-sizing: border-box;
    text-wrap: none;
    padding: 8px 16px 8px 16px;
}

@media(min-width: 768px) {
    
    .registration-form__btn-group {
        grid-template-columns: repeat(2, 1fr);       
    }
}

.animate.animate-started {
    opacity: 1;
    transform: none;
    -webkit-transform: none;
    transition-delay: .4s;
} 

.animate {
    opacity: 0;
    transform: translate(0, 100px);
    -webkit-transform: translate(0, 100px);
    transition: all .6s ease-in-out;
}

.section-steps {
    box-sizing: border-box;
    padding: 0 0 32px 0;
}

.steps-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.steps-group__item {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    padding: 16px;
    border-radius: 32px;
    background: #fff;
    gap: 16px;
}

.steps-group__item-number {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-weight: 600;
    color: #fff;
    background: var(--bs-primary);
}


.services-section {
    display: flex;
    flex-direction: column;
    margin-top: 64px;
    margin-bottom: 64px;
}

.services-section__title {
    text-align: center;
    font-weight: 600;
    margin-bottom: 24px;
}

.services-section__subtitle {
    font-size: clamp(16px, calc(16px + 0.25vw), 20px);
    text-align: center;
    font-weight: 300;
    margin-bottom: 24px;
}

.services {    
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
    margin-top: 24px;
}

.service-card {
    border-radius: 32px;
    background-color: #fff;
    border: none;
    box-sizing: border-box;
    cursor: pointer;
    text-decoration: none;
    overflow: hidden;
}

.service-card__body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px 16px 16px 16px;
    box-sizing: border-box;
}

.service-card:hover {
    box-shadow: 0 4px 16px 2px rgba(0, 26, 52, .10);
}


.service-card .service-card__title {
    text-align: center;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 600;
    color: #000;
    margin-bottom: 64px;
}


.service-card .service-card__image {
    --wig: 100px;
    display: flex;
    justify-content: center;
}


.service-card.active:has(.subcards) {
    box-shadow: 0 4px 16px 2px rgba(0, 26, 52, .10);
}

.service-card.active:has(.subcards) .service-card__body {
    display: none;
    opacity: 0;
    pointer-events: none;
}

.service-card.active:has(.subcards) .subcards {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    animation: slideInDown 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    pointer-events: auto;
}

.subcards {
    width: 100%;
    height: 100%;
    display: none;
    box-sizing: border-box;
    overflow: hidden;
}

.subcard {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    padding: 16px;
    transition: all 0.2s ease;
    border-bottom: 1px solid #eef2f6;
}

.subcard:hover {
    background: #f6f6f9;
    cursor: pointer;
}

.subcard:last-child {
    border-bottom: none;
}

.subcard__title {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    line-height: normal;
    text-align: center;
}

.subcard__image {
    display: none; 
    --wig: 40px;
    flex-shrink: 0;
}

@keyframes slideInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


@media(min-width: 768px) {
    .service-card .service-card__image {
        --wig: 100px;
    }
    
    .services {    
        grid-template-columns: repeat(3, 1fr);
    }
    
    .subcard {
        justify-content: space-between;
    }

    .subcard__image {
        display: block;    
       --wig: 60px; 
    }
    
    .subcard__title {
        text-align: start;
    }
}

@media(min-width: 1024px) {
    .services-section__subtitle {
        font-size: 24px;
    }
    
    .service-card .service-card__title {
        font-size: 20px;
    }
    
    .service-card .service-card__image {
        --wig: 150px;
    }
    
    .services {    
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .service-card:has(.subcards):hover .service-card__body {
        display: none;
        opacity: 0;
        pointer-events: none;
    }
    
    .service-card:has(.subcards):hover .subcards {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        
        animation: slideInDown 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        
        pointer-events: auto;
    }
}

body {
  font-family: 'Roboto', sans-serif;
  --main-background-color: #f6f6f9;
}

.body-gray {
    background-color: var(--main-background-color);
}

.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

.base-container {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tab-content-container {
    padding: 0 16px;
}

.title-h1 {
    font-size: clamp(28px, calc(28px + 0.75vw), 40px);
    font-weight: 600;
    line-height: 1.2;
}

.title-h2 {
    font-size: clamp(22px, calc(22px + 0.625vw), 32px);
    font-weight: 600;
    line-height: 1.3;
}

.title-h3 {
    font-size: clamp(20px, calc(20px + 0.5vw), 28px);
    font-weight: 600;
    line-height: 1.4;
}

.text-body {
    color: #000;
    font-size: clamp(16px, calc(16px + 0.25vw), 20px);
    font-weight: 300;
    line-height: 1.5;
}

.text-caption {
    font-size: clamp(12px, calc(12px + 0.125vw), 14px);
    font-weight: 400;
    line-height: 1.4;
    color: #6c757d;
}


.footer {
    width: 100%;
    box-sizing: border-box;
    margin-top: auto;
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
    color: #000;
    background: #fff;
}

.header {
    position: sticky;
    top: 0;
    width: 100%;
    box-sizing: border-box; 
    background: #fff;
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
    padding: 8px 24px 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    z-index: 100;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

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

.header.is-menu-open {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: none;
}

.device-wrapper {
    display: none;
}


.device-wrapper.show-on-mobile {
    display: block;
}


.header-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.header-brand .logo-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: brightness(0)
            saturate(100%)
            invert(64%)
            sepia(11%)
            saturate(6717%)
            hue-rotate(342deg)
            brightness(97%)
            contrast(92%);
}

.header-brand .logo-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--bs-primary);
}


.menu-container {
    display: none;
    position: fixed;
    right: 0;
    left: 0;
    background-color: #fff;
    overflow: hidden;
    overflow-y: auto;
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    z-index: 99;
    -webkit-overflow-scrolling: touch;
    padding: 8px 0 32px 0;
    animation: expand-menu 0.3s ease;
}

.menu-container.is-menu-open {
    display: block;
}

.expanded-menu-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 16px; 
    gap: 8px;
}

.menu-items-wrapper {
    width: 100%;
    padding: 0 16px;
    border-radius: 16px;
    background-color: var(--main-background-color);
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 8px 0;
    text-decoration: none;
}

.menu-item .menu-item__text {
    font-weight: 600; 
}

.menu-item .menu-item__arrow {
    color: var(--bs-gray-600);
}


.tabs-container ul {
    display: flex;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tabs-container li {
    display: inline-block; 
    position: relative;
}

.tab-content {
        
}

.tab {
    color: var(--color-black);
    padding-bottom: 4px;
    position: relative;
    text-decoration: none;
    font-weight: normal;
    display: inline-block;
}

.tab::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--bs-primary);
    transform: scaleX(0);
    opacity: 0;
    transition: transform 0.2s ease-out, opacity 0.2s ease-out;
}

.tab:hover {
    cursor: pointer;
    color: var(--bs-primary);
}

.tab.active {
    text-shadow: 0 0 1px rgba(0, 0, 0, .5);
}

.tab.active::after {
    transform: scaleX(1);
    opacity: 1;
}

.tab:not(.active)::after {
    transform: scaleX(0);
    opacity: 0;
}

.hr-divider {
    display: block;
    width: 100%;
    border: 0;
    height: 1px;
    background: rgba(204, 214, 228, .6);
    margin: 8px 0;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 1000px;
    padding: 16px;
    position: relative;
    background: var(--bs-secondary);
    border-radius: 16px;
    box-sizing: border-box;
}

@keyframes expand-menu {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

@media (min-width: 768px) {

    .tab-content-container {
        padding: 0 16px;
    }
}


@media (min-width: 1024px) {
    .device-wrapper.show-on-desktop {
        display: block;
    }
    
    .device-wrapper.show-on-mobile {
        display: none;
    }
    
    .container-max-width {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .tab-content-container {
        padding: 0 16px;
    }
}

@media (min-width: 1280px) {

    .tab-content-container {
        padding: 0;
    }
}

/* //////////////////////////////////////////////////////////////// */


.btn {
  color: rgb(255, 255, 255);
  font-weight: 500;
  font-size: 18px !important;
  border-radius: 10px !important;
  border: none !important;
  justify-content: space-between;
  align-items: center;
  line-height: normal;
}

.btn i {
  font-size: 14px !important;
}