.hero__content_auto-height {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    flex: 1;
}

.subway__hero-container {
    max-width: 1230px;
}

.subway__hero-grid {
    gap: 52px;
    align-items: stretch;
}

.hero__pin {
    background-color: rgba(84, 180, 81, 0.1);
    padding: 12px 18px;
    color: #54B451;
    font-size: 14px;
    font-weight: 600;
    line-height: 120%;
    border-radius: 40px;
    width: fit-content;
}

.subway__hero-title {
    margin: 16px 0px;
    width: 80%;
}

.hero__advantages {
    margin: 30px 0px 0px 0px;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 10px;
}

.hero__advantages-card {
    width: calc(100% / 3 - 10px * 2 / 3);
    padding: 20px;
    border-radius: 16px;
    background-color: rgba(84, 180, 81, 0.05);
    border: 1px solid rgba(84, 180, 81, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
}

.hero__advantages-card-advantage {
    color: #54B451;
    font-size: 20px;
    font-weight: 700;
    line-height: 120%;
}

.hero__advantages-card-text {
    line-height: 130%;
}

.subway__buttons-row {
    display: flex;
    justify-content: start;
    gap: 16px;
    margin-top: auto; 
}

.hero__cta-row.subway__buttons-row .standart-btn {
    padding: 29px 32px;
    min-height: 80px;
    width: auto;
    max-width: fit-content;
}

.subway__button {
    font-weight: 700;
    text-wrap: nowrap;
    border-radius: 16px;

}

.subway__button_orange {
    background-color: #FF9800;
    border: 2px solid transparent;
    color: #FFFFFF;
}

.subway__button_orange:hover {
    border: 2px solid #FF9800;
    color: #FF9800;
}

.hero__right-card {
    position: relative;
    background: #f4f7fd;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0 auto;
    max-width: 486px;
    width: 100%;
    order: 2;
    padding: 40px;
}

.hero__right-title {
    width: 80%;
    font-weight: 700;
    font-size: 32px;
    line-height: 130%;
    margin-bottom: 32px;
}

.hero__right-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 32px;
}

.hero__right-list_longer {
    margin-bottom: 54px;
}

.hero__right-list .hero__right-list-item:first-child {
    padding: 0px 0px 16px 0px;
    
}

.hero__right-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    padding: 20px 0px 16px 0px;
}

.hero__right-list-item-name {
    line-height: 130%;
}

.hero__right-list-item-price {
    font-weight: 700;
    line-height: 130%;
    color: #54B451;
}

.hero__right-text {
    width: 95%;
    line-height: 140%;
    margin-bottom: 20px;
}

.metro-standart-btn {
    border-radius: 16px;
    font-size: 20px;
    font-weight: 700;
    line-height: 120%;
    padding: 28px 32px;
    height: 80px;
}

.metro-standart-btn svg{
    margin-right: 10px;
}

.metro-standart-btn:hover svg path{
    stroke: #3fab3c;
    fill: #3fab3c;
    transition: stroke, fill 0.3s ease;
} 


@media screen and (max-width: 1030px) {
    .hero__content {
        max-width: 100%;
    }
    .hero__right-card {
        max-width: 100%;
    }
    .hero__content-top {
        margin-bottom: 30px;
    }
    
}

@media screen and (max-width: 768px) {
    .hero__right-card { 
        padding: 20px;
    }

    .hero__pin {
        font-size: 12px;
    }

    .hero__right-list {
        margin-bottom: 30px;
    }

    .hero__content-top {
        margin-bottom: 20px;
    }

    .hero__advantages {
        flex-direction: column;
        margin-top: 16px;
    }
    
    .hero__advantages-card {
        width: 100%;
    }

    .subway__buttons-row {
        gap: 8px;
        flex-direction: column;
        margin-top: auto;
        flex: 1;
        justify-self: flex-end;
        align-items: flex-end;
    }

    .hero__cta-row.subway__buttons-row .standart-btn {
        max-width: 100%;
        width: 100%;
        font-size: 16px;
    }
    
    .subway__hero-title {
        margin: 12px 0px 10px 0px;
    }
    
    .subway__hero-grid {
        gap: 20px;
    }

    .hero__right-title {
        font-size: 20px;
    }
    
    .metro-standart-btn {
        font-size: 16px;
    }
}

@media screen and (max-width: 500px) {
    .hero__pin-container {
        flex-wrap: wrap;
        gap: 4px;
    }

    .hero__right-title {
        margin-bottom: 16px;
    }

    .hero__right-list {
        margin-bottom: 12px;
    }

    .hero__right-text {
        margin-bottom: 12px;
    }

    .hero__right-list-item {
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
        padding: 10px 0px;
    }
    
    .hero__right-list .hero__right-list-item:first-child {
        padding: 0px 0px 10px 0px;
    }

    .metro-standart-btn {
        padding: 19px 34px;
        height: 60px;
    }

    .hero__right-chat-btns {
        flex-direction: column;
        gap: 6px;
        margin-top: 6px;
    }

    .hero__right-chat-btn br {
        display: contents;
    }

    .hero__cta-row.subway__buttons-row .standart-btn {
        min-height: 60px;
    }
    
}

.hero__content-top {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.subway__hero-title.subway__hero-title_longer {
    width: 92%;
}

.subway__utp {
    width: 92%;
    line-height: 140%;
}

.hero__advantages_list {
    flex-wrap: wrap;
    gap: 16px;
}

.hero__advantages-list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 47%;
}

.hero__advantages-list-item-icon {
    width: 24px;
    height: 24px;
    background-color: rgba(84, 180, 81, 0.2);
    border-radius: 30px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__advantages-list-item-text {
    width: 68%;
    line-height: 130%;
}

.hero__pin-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero__pin_orange {
    color: #FF9800;
    background-color: rgba(255, 152, 0, 0.1);
}

.hero__right-list-item-price_orange {
    color: #FF9800;
}

.hero__right-chat-btns {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
}

.hero__right-chat-btn {
    font-weight: 700;
    font-size: 16px;
    height: 64px;
    background-color: #FFFFFF;
    border-radius: 16px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.2s linear;
}

.hero__right-chat-btn:nth-child(1):hover {
    border: 2px solid #54B451;
}

.hero__right-chat-btn:nth-child(2):hover {
    border: 2px solid #FF9800;
}

.hero__right-chat-btn:nth-child(1) {
    color: #54B451;
}

.hero__right-chat-btn:nth-child(2) {
    color: #FF9800;
}

.subway-service__help-seek-wrapper {
    display: flex;
    gap: 40px;
    background-color: #F4F7FD;
    border-radius: 24px;
    padding: 80px;
}

.subway-menu__text.subway-menu__text_services {
    width: 95%;
    margin-bottom: 32px;
}

.subway-service__help-seek-left {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.subway-service__help-seek-left button {
    margin-top: 16px;
    width: fit-content;
}

.subway__button_orange_bigger {
    height: 80px;
    font-size: 16px;
}

.subway-service__help-seek-list-title {
    font-weight: 700;
    font-size: 20px;
    line-height: 130%;
    margin-bottom: 16px;
}

.subway-service__help-seek-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 6px;
}

.subway-service__help-seek-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 150%;
    color: rgba(34, 34, 34, 0.8);
}

.subway-service__help-seek-list-item svg {
    margin-top: 9px;
    align-self: flex-start;
    flex-shrink: 0;
}

.subway-service__help-seek-right {
    width: 100%;
}

.subway-service__help-seek-picture {
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
}

.subway-service__help-seek-picture img{
    min-height: 532px;
    object-fit: cover;
    object-position: 25%;
    height: 100%;
}

@media screen and (max-width: 950px) {
    .subway-service__help-seek-wrapper {
        flex-direction: column;
    }
    .subway-service__help-seek-picture {
        height: 28%;
    }

    .subway-service__help-seek-picture img{
        min-height: 28%;
        height: 28%;
    }
}

@media screen and (max-width: 700px) {
    .subway-service__help-seek-wrapper {
        gap: 16px;
        padding: 40px 20px 20px 20px;
    }

    .subway-service__help-seek-list-title {
        font-size: 14px;
    }

    .subway__button_orange_bigger {
        height: 60px;
    }

    .subway-menu__text.subway-menu__text_services {
        margin-bottom: 16px;
    }
}

@media screen and (max-width: 500px) {
    .subway-service__help-seek-picture {
        width: 240px;
        height: 240px;
    }
    .subway-service__help-seek-picture img {
        height: 100%;
        width: 100%;
    }
    .subway-service__help-seek-right {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.subway-menu {
    background-color: #F4F7FD;
    padding: 80px 0px;
}

.subway-menu__container {
    max-width: 1230px;
}

.subway-menu__title-text {
    width: 64%;
    margin-bottom: 40px;
}

.subway-menu__title {
    font-size: 32px;
    font-weight: 700;
    line-height: 130%;
    margin-bottom: 16px;
    
}

.subway-menu__text {
    width: 80%;
    line-height: 150%;
    color: rgba(34, 34, 34, 0.8);
}

.subway-menu__grid {
    display: grid;
    grid-template-columns: 30% 70%;
    grid-template-rows: auto auto;
    row-gap: 20px;
}


.subway-menu__filtration {
    grid-column: span 2;
    background-color: #FFFFFF;
    padding: 32px;
    border-radius: 24px;
}

.subway-menu__branches-tabs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #EFF2F8;
    padding: 4px;
    gap: 4px;
    border-radius: 16px;
}

.branch-btn {
    text-wrap: nowrap;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 12px;
    background-color: #EFF2F8;
    color: rgba(34, 38, 42, 0.8);
    transition: all 0.2s linear;
}

.branch-btn span {
    position: relative;
}

.branch-btn[data-branch="all"] span:before {
    background-color: #1e1e1e;
}

.branch-btn[data-branch="red"] span:before {
    background-color: #D50D3C;
}

.branch-btn[data-branch="blue"] span:before {
    background-color: #1B76BB;
}

.branch-btn[data-branch="green"] span:before {
    background-color: #009948;
}

.branch-btn[data-branch="orange"] span:before {
    background-color: #EA7125;
}

.branch-btn[data-branch="purple"] span:before {
    background-color: #6F2884;
}

.branch-btn span:before {
    top: 32px;
    height: 2px;
    left: 0;
    position: absolute;
    right: 0;
    width: 0;
    content: "";
    display: block;
    
    -webkit-transition: width .2s;
    transition: width .2s;
}

.branch-btn.active:hover span:before {
    width: 0%;
}

.branch-btn:hover span:before {
    width: 100%;
}

.branch-btn.active {
    background-color: #54B451;
    color: #FFFFFF;
}

.branch-btn.currently-active {
    display: none;
    align-items: center;
    justify-content: space-between;
    background-color: #F4F7FD;
    border: 1px solid #ECEFF5;
    border-radius: 12px;
    padding: 15px 20px;
    gap: 10px;
}

.subway-menu__branches-search-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 8px 8px 20px;
    background-color: #FFFFFF;
    border: 1px solid #DEE2EF;
    border-radius: 16px;
    margin: 24px 0px 20px 0px;
}

.subway-menu__branches-search {
    width: 80%;
}

.subway-menu__branches-search::placeholder {
    color: rgba(34, 38, 42, 0.6) !important;
    font-weight: 400;
}


.subway-menu__search-btn {
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    height: 48px;
}

.subway-menu__search-btn svg {
    display: none;
}

.subway-menu__popular-branches {
    display: flex;
    align-items: center;
    gap: 4px;
}

.subway-menu__popular-branches-text {
    font-weight: 600;
    line-height: 120%;
    margin-right: 8px;
}

.subway-menu__popular-branch {
    color: #54B451;
    font-weight: 600;
    padding: 12px 20px;
    background-color: rgba(84, 180, 81, 0.1);
    border-radius: 52px;
    transition: box-shadow 0.2s linear;
}

.subway-menu__quick-services {
    padding: 32px;
    background-color: #FFFFFF;
    border-radius: 24px;
    height: fit-content;
    margin-right: 10px;
}

.subway-menu__quick-services-title {
    margin-bottom: 24px;
    font-weight: 700;
    font-size: 24px;
    line-height: 130%;
}

.subway-menu__quick-services-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.subway-menu__quick-services-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: border-color 0.2s linear;
}

.subway-menu__quick-services-item.active .subway-menu__quick-services-item-icon {
    box-shadow: 1px 1px 10px rgba(0, 0, 0, .2);
}

.subway-menu__quick-services-item:hover {
    border-color: #1e1e1e;
}

.subway-menu__quick-services-item-icon {
    width: 24px;
    height: 24px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #EDF7ED;
    border-radius: 5px;
    flex-shrink: 0;
    transition: box-shadow 0.2s linear;
}

[data-branch="red"] .subway-menu__branch-color svg path {
  fill: #D50D3C;
}

[data-branch="blue"] .subway-menu__branch-color svg path {
  fill: #1B76BB;
}

[data-branch="green"] .subway-menu__branch-color svg path {
  fill: #009948;
}

[data-branch="orange"] .subway-menu__branch-color svg path {
  fill: #EA7125;
}

[data-branch="purple"] .subway-menu__branch-color svg path {
  fill: #6F2884;
}

.subway-menu__branches {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto; 
    gap: 10px;
    align-content: start; 
    height: fit-content; 
    padding-left: 10px;
}

.subway-menu__branch {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: #FFFFFF;
    border-radius: 20px;
    height: 100%;
    min-width: 0;
    word-wrap: break-word;
    overflow: hidden;
    transition: box-shadow 0.2s linear;
}

.subway-menu__popular-branch:hover, .subway-menu__branch:hover {
    box-shadow: 1px 1px 10px rgba(0, 0, 0, .2);
}

.subway-menu__branch-color {
    margin-bottom: 16px;
}

.subway-menu__branch-name,
.subway-menu__branch-tag {
    max-width: 80%; 
    word-break: break-word; 
}

.subway-menu__branch-name {
    margin: auto 0px 6px 0px;
    font-size: 18px;
    font-weight: 700;
}

.subway-menu__show-all {
    color: #FFFFFF;
    font-size: 16px;
    background-color: #54B451;
    border-radius: 16px;
    padding: 21px 85px;
    margin-top: 2px;
    border: 2px solid transparent;
    font-weight: 700;
    height: 60px;
    transition: all 0.2s linear;
    display: none;
}

.subway-menu__show-all:hover {
    color: #54B451;
    background-color: #FFFFFF;
    border: 2px solid #54B451;
}

.subway-menu__branch.hidden {
    display: none !important;
}

.subway-menu__branch {
    display: flex; 
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #666;
}

@media screen and (max-width: 1230px) {
    .branch-btn {
        padding: 16px 20px;
    }

    .subway-menu__popular-branches {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 1094px) {
    .branch-btn {
        padding: 16px 12px;
    }
}

@media screen and (max-width: 997px) {
    .subway-menu__grid {
        grid-template-columns: 40% 60%;
    }

    .branch-btn {
        padding: 16px 28px;
    }

    .subway-menu__branches-tabs {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .subway-menu__quick-services, .subway-menu__filtration {
        padding: 20px;
    }

    .subway-menu__branches {
        grid-template-columns: repeat(2, 1fr);
    }

    .subway-menu {
        padding: 60px 0px;
    }

    .subway-menu__title-text, .subway-menu__text {
        width: 100%;
    }

}

@media screen and (max-width: 950px) {
    .subway-menu__show-all {
        display: block;
        height: 100%;
    }
}

@media screen and (max-width: 780px) {
    .subway-menu__branches {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .subway-menu__grid {
        grid-template-columns: 50% 50%;
        row-gap: 10px;
    }

    .subway-menu__quick-services {
        margin-right: 5px;
    }

    .subway-menu__branches {
        padding-left: 5px;
    }

    .subway-menu__title {   
        font-size: 24px;
        margin-bottom: 12px;
    }

    .subway-menu__text, .subway-menu__text.subway-services__text, .subway-menu__text.subway-tutorial__text {
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 650px) {
    .subway-menu__grid {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }

    .subway-menu__filtration {
        grid-column: span 1;
    }

    .subway-menu__quick-services {
        order: -1;
        margin-right: 0;
    }

    .subway-menu__branches {
        padding-left: 0;
    }

    .subway-menu__branch {
        display: grid;
        grid-template-columns: 18px 1fr;
        grid-template-rows: 17px 1fr;
        column-gap: 10px;
        row-gap: 12px;
    }

    .subway-menu__popular-branch {
        font-size: 12px;
    }
    
    .subway-menu__branch-color {
        grid-row: span 2;
        margin-bottom: 0;
        display: grid;
        grid-template-rows: subgrid;
    }

    .subway-menu__branch-name {
        margin: 0;
        align-self: flex-start;
    }

    .subway-menu__branch-color svg{
        width: 18px;
        height: 14px;
        grid-row: 1;
        justify-self: center; 
        align-self: flex-start;
        margin-top: 3px;
    }

    .subway-menu__branches-tabs {
        max-height: 50px;
        flex-direction: column;
        overflow: hidden;
        padding: 0;
        border-radius: 12px;
        transition: max-height 0.3s ease-in-out;
    }

    .subway-menu__branches-tabs.open {
        max-height: 500px;
    }

    .branch-btn.currently-active {
        display: flex;
    }

    .branch-btn {
        width: 100%;
        text-align: start;
        font-weight: 400;
    }

    .subway-menu__branches-search-bar {
        padding: 6px 6px 6px 20px;
        margin: 12px 0px;
    }

    .subway-menu__search-btn svg {
        display: block;
    }

    .subway-menu__search-btn span {
        display: none;
    }

    .subway-menu__search-btn {
        padding: 11px;
        height: 40px;
        width: 40px;
        border-radius: 8px;
    }

    .subway-menu__search-btn:hover svg path {
        fill: #FF9800;
    }

    .subway-menu__popular-branches-text {
        margin-bottom: 8px;
    }

    .subway-menu__show-all {
        height: 60px;
    }

    .subway-menu__quick-services-item-icon {
        width: 20px;
        height: 20px;
    }
    .subway-menu__quick-services-item-icon svg {
        width: 7px;
        height: 5px;
    }

}

.subway-menu__branch-name_district {
    font-weight: 700;
    font-size: 20px;
    line-height: 130%;
}

.subway-menu__branch-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: #3FAB3C;
}

.subway-menu__branch-link-text {
    font-weight: 500;
    font-size: 14px;
    line-height: 14px;
}


@media screen and (max-width: 650px) {
    .subway-menu__branch_district.subway-menu__branch_district {
        display: flex;
        row-gap: 8px;
    }
    
    .subway-menu__branch-name_district {
        font-size: 16px;
    }

    .subway-menu__branch-link-text {
        font-size: 12px;
    }
}

.subway-menu__sidebar-menu-container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.subway-service__aside {
    width: 30%;
    flex-shrink: 0;
    display: flex;
    position: sticky;
    top: 150px;
    flex: 0 0 350px; 
}

.subway-menu__quick-services-item {
    gap: 10px;
}

.subway-service__aside .subway-menu__quick-services {
    flex-shrink: 0;
    width: 100%;
}

.subway-menu__inner {
    width: 100%;
    max-width: 850px;
    gap: 10px;
    display: flex;
    flex-direction: column;
}

.subway-service__menu-header, .subway-service__menu-service-description {
    background-color: #FFFFFF;
    border-radius: 24px;
    padding: 40px;
}

.subway-service__menu-header .text__container, .subway-service__menu-service-description .text__container{
    width: 95%;
    margin-bottom: 32px;
}

.subway-service__menu-header .text__container p, .subway-service__menu-service-description .text__container p{
    color: rgba(34, 34, 34, 0.8);
}

.subway-service__description-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

}

.subway-service__description-card {
    background-color: #F4F7FD;
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: calc(100% / 2 - 10px * 1 / 2);
    gap: 12px;
}

.subway-service__description-card-title {
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
}

.subway-service__description-card-link {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex: 1;
    color: #FF9800;
}

.subway-service__description-card_nolink {
    gap: 16px;
}

.subway-service__description-need-help-container {
    padding: 40px;
    background-color: #54B451;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.subway-service__description-need-help-title {
    color: #FFFFFF;
    font-size: 32px;
    line-height: 100%;
    margin-bottom: 16px;
}

.subway-service__description-need-help-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 150%;
    margin-bottom: 32px;
}

.standart-btn_white {
    color: #1e1e1e;
    font-size: 18px;
    padding: 29px 32px;
    width: fit-content;
    background-color: #FFFFFF;
    border-radius: 16px;
    position: relative;
    z-index: 2;
}

.standart-btn_white:hover {
    border: 2px solid #FFFFFF;
    color: rgba(34, 34, 34, 0.8);
    background-color: transparent;
    border-radius: 16px;
}

.standart-btn_bigger  {
    height: 80px;
}

.subway-service__description-need-help-bg {
    position: absolute;
    top: 0;
    left: 0;
}

@media screen and (max-width: 980px) {
    .subway-service__description-card {
        width: 100%;
    }
}



@media screen and (max-width: 800px) {
    .subway-service__menu-service-description, .subway-service__menu-header {
        padding: 20px;
    }
    .subway-service__menu-header .subway-menu__title {
        margin-bottom: 20px;
    }
    .subway-service__description-need-help-container {
        padding: 40px 20px;
    }
    .standart-btn_white {
        font-size: 16px;
    }
}

@media screen and (max-width: 720px) {
    .subway-service__menu-service-description {
        overflow: hidden;
    }
    .subway-service__description-swiper, .subway-service__second-swiper, .subway-prices__calculations-swiper {
        overflow: visible;
    }

    .subway-menu__sidebar-menu-container {
        flex-direction: column;
        gap: 10px;
    }
    .subway-service__aside {
        width: 100%;
        position: relative;
        top: 0;
        flex: unset;
    }

    .subway-service__description-cards {
        flex-wrap: nowrap;
        gap: 0;
    }
}

.subway-prices__calculations-container {
    margin-top: 40px;
    background-color: #F4F7FD;
    border-radius: 24px;
    padding: 40px;
}

.subway-prices__calculations-text {
    margin-bottom: 32px;
    width: 65%;
}

.subway-prices__calculations-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.subway-prices__calculations-card {
    width: calc(100% / 3 - 10px * 2 / 3);
    background-color: #FFFFFF;
    height: auto;
}

.subway-prices__section .price__btn {
    background-color: #FF9800;
    border-color: #FF9800;
}

.subway-prices__section .price__btn:hover {
    background-color: transparent;
    border-color: #FF9800;
    color: #FF9800;
}

.subway-prices__section .price__cost {
    color: #54B451;
}

.subway-menu__text.subway-prices__text {
    margin-bottom: 40px;
    width: 48%;
}

.subway-prices__title span {
    display: block;
    width: 100%;
}

@media screen and (max-width: 900px) {
    .subway-prices__calculations-card {
        width: calc(100% / 2 - 10px * 1 / 2);
    }
}

@media screen and (max-width: 720px) {
    .subway-prices__calculations-container {
        overflow: hidden;
    }
    .subway-prices__calculations-cards {
        flex-wrap: nowrap;
        gap: 0;
    }
    .subway-prices__calculations-card {
        width: 100%;
    }
}

@media screen and (max-width: 680px) {
    .subway-prices__section .price__item {
        background-color: rgba(63, 171, 60, 0.1);
        border: 1px solid rgba(63, 171, 60, 0.1);
        padding: 20px;
        gap: 10px;
        flex-wrap: wrap;
        border-radius: 24px;
        font-size: 14px;
    }

    .subway-prices__section .price__name {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .subway-prices__section .price__name:after {
        width: 100%;
    }

    .subway-prices__section .price__btn {
        font-size: 12px;
    }
    .subway-prices__calculations-container {
        padding: 20px;
    }
    .subway-prices__calculations-text {
        width: 100%;
    }

}   

@media (max-width: 500px) {
    .subway-prices__section .price__cost, .subway-prices__section .price__name {
        font-size: 14px;
    }
}

.subway-tutorial-when__section {
    background-color: unset;
}

.subway-services-symptoms__swiper-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.subway-services-symptoms__card {
    width: calc(100% / 3 - 20px * 2 / 3);
    padding: 32px;
    border-radius: 24px;
    background: linear-gradient(
        to top,
        rgba(84, 180, 81, 0.25) 0%,
        rgba(84, 180, 81, 0.02) 100%
    );
    height: auto;
}

.subway-services-symptoms__card-content {
    gap: 54px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.subway-services-symptoms__card-title {
    font-weight: 600;
    font-size: 24px;
    line-height: 120%;
}

.subway-services-symptoms__card-title span {
    display: block;
}

.subway-services-symptoms__card-text {
    line-height: 140%;
    width: 95%;
}

@media screen and (max-width: 900px) {
    .subway-services-symptoms__swiper-wrapper {
        gap: 10px;
    }
    .subway-services-symptoms__card {
        width: calc(100% / 2 - 10px * 1 / 2);
    }
}

@media screen and (max-width: 720px) {
    .subway-services-symptoms__swiper-wrapper {
        flex-wrap: nowrap; 
        gap: 0; 
    }
    .subway-services-symptoms__card-text {
        font-size: 14px;
    }
    .subway-services-symptoms__card-title {
        font-size: 16px;
    }

    .subway-services-symptoms__card {
        padding: 20px;
    }
    
    .subway-services-symptoms__card-content {
        gap: 12px;
    }

}

.subway-tutorial__text.subway-service-what__text {
    width: 80%;
}

.subway-services-stages {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.subway-services-stages__card {
    width: calc(100% / 3 - 20px * 2 / 3);
    background-color: #FFFFFF;
    padding: 24px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto;
    gap: 20px;
}

.subway-services-stages__card-title {
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
}

.subway-services-symptoms__card-text {
    line-height: 140%;
}

@media screen and (max-width: 900px) {
    .subway-services-stages {
        gap: 10px;
    }
    .subway-services-stages__card {
        width: calc(100% / 2 - 10px * 1 / 2);
        gap: 12px;
    }
}

@media screen and (max-width: 720px) {
    .subway-services-stages__card-title {
        font-size: 16px;
    }
}

@media screen and (max-width: 550px) {
    .subway-tutorial__text.subway-service-what__text {
        width: 95%;
    }
    .subway-services-stages__card {
        width: 100%;
        gap: 12px;
        padding: 20px;
    }

    .subway-services-stages {
        gap: 8px;
    }
}

.subway-locations__wrapper {
    background-color: #54B451;
    padding: 60px;
    border-radius: 30px;
    position: relative;
}

.subway-locations__bg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.subway-locations__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.subway-location {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(64px);
    -webkit-backdrop-filter: blur(64px);
    width: calc(100% / 4 - 10px * 3 / 4);
    transition: box-shadow 0.2s linear;
}

.subway-location:hover {
    box-shadow: 1px 1px 10px rgba(0, 0, 0, .2);
}

.subway-location__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 10px;
    background-color: #FFFFFF;
    width: 40px;
    height: 40px;
}

.subway-location__text {
    color: #FFFFFF;
    font-weight: 600;
}

@media screen and (max-width: 980px) {
    .subway-location {
        width: calc(100% / 3 - 10px * 2 / 3);
    }
}

@media screen and (max-width: 900px) {
    .subway-locations__wrapper {
        padding: 40px 20px;
    }
}

@media screen and (max-width: 600px) {
    .subway-location {
        width: calc(100% / 2 - 10px * 1 / 2);
        padding: 12px;
        gap: 8px;
    }
    .subway-location__icon {
        width: 32px;
        height: 32px;
    }

    .subway-service__description-need-help-title {
        font-size: 24px;
    }

    .subway-location__icon svg {
        flex-shrink: 0;
    }
    .subway-locations__list {
        gap: 8px;
    }
}

@media screen and (max-width: 450px) {
    .subway-location {
        flex-direction: column;
        align-items: flex-start;

    }
}

.subway-location-map__content {
    background-color: #F4F7FD;
    padding: 40px 40px 40px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    border-radius: 24px;
}

.subway-location-map__inner {
    display: flex;
    flex-direction: column;
}

.subway-location-map__title {
    width: 90%;
}

.subway-location-map__text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
    color: rgba(34, 34, 34, 0.8);
}

.subway-location-map__locations-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.subway-location-map__location-coordinator {
    padding: 12px 18px;
    background-color: #FFFFFF;
    color: #54B451;
    border-radius: 40px;
    cursor: pointer;
    transition: box-shadow 0.2s linear;
}

.subway-location-map__location-coordinator:hover, .subway-location__map-station-card:hover {
    box-shadow: 1px 1px 10px rgba(0, 0, 0, .2);
}

.subway-location__map-container {
    border-radius: 20px;
    position: relative;
}

.subway-location__map-station-card {
    border-radius: 20px;
    padding: 16px;
    background-color: #FFFFFF;
    position: absolute;
    z-index: 1;
    max-width: 288px;
    bottom: 10px;
    left: 10px;
    cursor: pointer;
    transition: box-shadow 0.2s linear;
}

.subway-location__map-station-card-inner {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.subway-location__map-station-card-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.subway-location__map-station-card-title {
    line-height: 130%;
    font-weight: 700;
}

.subway-location__map-station-card-text {
    line-height: 130%;
    color: rgba(34, 38, 42, 0.6);
    font-size: 14px;
}

.subway-location__map-station-card-inner svg {
    width: 20px;
    height: 16px;
    flex-shrink: 0;
}

.subway-location__map-station-card-inner.subway-menu__branch-color {
    margin-bottom: 0;
}

.subway-location__map-station-card.subway-location__card-mobile {
    position: relative;
    left: 0;
    bottom: 0;
    display: none;
    max-width: 100%;
    width: 100%;
    margin-top: -12px;
}


@media screen and (max-width: 1030px) {
    .subway-location-map__content {
        flex-direction: column;
        gap: 16px;
    }
    .map__container.subway-location__map-container {
        max-width: 100%;
    }
    .subway-location-map__content {
        padding: 40px;
    }
}

@media (max-width: 820px) {
    .map__item.subway-location-map__map-item {
        height: 360px;
    }
    .subway-location__map-station-card-text {
        font-size: 12px;
    }
    .subway-location__map-station-card-inner {
        gap: 8px;
    }
    .subway-location__map-station-card-text-wrapper {
        gap: 2px;
    }
    .subway-location__map-station-card {
        border-radius: 16px;
    }
    .subway-location-map__text {
        gap: 12px;
        margin-bottom: 12px;
    }
    .subway-location-map__locations-list {
        gap: 4px;
    }
}

@media (max-width: 550px) {
    .subway-location-map__content {
        padding: 40px 20px 20px 20px;
    }
    .map__item.subway-location-map__map-item {
        height: 240px;
    }

    .subway-location__map-station-card {
        display: none;
    }

    .subway-location__map-station-card.subway-location__card-mobile {
        display: flex;
    }
}

.subway-advantages__container {
    max-width: 1230px;
}

.subway-advantages__title, .subway-advantages__text {
    width: 70%;
}

.subway-advantages__cards-container {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 20px;
}

.subway-advantages__card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #F4F7FD;
    border-radius: 24px;
    padding: 24px;
    width: calc(100% / 4 - 20px * 3 / 4);
}

.subway-advantages__card-icon {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 1;
}

.subway-advantages__card-title {
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    margin-bottom: 12px;
}

.subway-advantages__card-text {
    line-height: 140%;
}

@media screen and (max-width: 980px) {
    .subway-advantages__cards-container {
        gap: 10px;
    }

    .subway-advantages__card {
        width: calc(100% / 2 - 20px * 1 / 2);
    }
    
}

@media screen and (max-width: 550px) {
    .subway-advantages__title {
        width: 74%;
        text-align: left;
    }
    
    .subway-advantages__text {
        width: 100%;
    }

    .subway-advantages__card {
        width: 100%;
        padding: 20px;
        display: grid;
        grid-template-columns: 36px 1fr;
        column-gap: 12px;
        row-gap: 16px;
    }

    .subway-advantages__card-icon {
        margin: 4px 0px;
        width: 36px;
        height: 36px;
    }

    .subway-advantages__card-title {
        font-size: 18px;
        margin-bottom: 0;
        display: flex;
        align-items: center;

    }

    .subway-advantages__card-text {
        grid-column: span 2;
    }
    
}

.district-advantages__text {
    width: 95%;
}

@media screen and (max-width: 650px) {
    .district-advantages__text {
        width: 92%;
    }
}

.subway-advantages__card_white {
    background-color: #FFFFFF;
    width: calc(100% / 3 - 20px * 2 / 3);
}

@media screen and (max-width: 960px) {
    .subway-advantages__card_white {
        width: calc(100% / 2 - 10px * 1 / 2);
    }
}

@media screen and (max-width: 680px) {
    .subway-advantages__card_white {
        width: 100%;
    }
}

.check-license {
    margin: 20px 20px 0px 20px;
    background-color: #fff;
}

.check-license__text {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.check-license__container {
    display: flex;
    gap: 40px;
    border-radius: 24px;
    padding: 32px;
    background-color: #F4F7FD;
}

.check-license__container .standart-btn {
    width: 100%;
    max-width: 230px;
    border-radius: 16px;
}

.check-license__title {
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    margin-bottom: 12px;
}

@media screen and (max-width: 1000px) {
    .check-license__container {
        align-items: center;
    }
}

@media screen and (max-width: 997px) {
    .check-license {
        padding: 0;
    }
}

@media screen and (max-width: 750px) {
    .check-license__container {
        flex-direction: column;
    }
    .check-license__container .standart-btn {
        max-width: 100%;
    }
}

@media screen and (max-width: 650px) {
    .check-license__container {
        flex-direction: column;
    }
    .check-license__container .standart-btn {
        max-width: 100%;
    }

    .check-license__container {
        padding: 20px;
        gap: 16px;
    }

    .check-license__title {
        font-size: 16px;
    }
}

.reviewed-by__container {
    gap: 32px;
    padding: 40px;
}

.reviewed-by__text {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto;
}

.reviewed-by__title {
    font-weight: 700;
    font-size: 24px;
    line-height: 130%;
}

.reviewed-by__text-info {
    line-height: 150%;
    color: rgba(34, 34, 34, 0.8);
}

.doctors__picture_reviewed-by {
    width: 150px;
    height: 150px;
    margin: 0;
}

.reviewed-by__card {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    width: 100%;
    align-items: center;
    gap: 16px;
}

.reviewed-by__doctor-text {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.reviewed-by__doctor-appointed-text {
    font-size: 14px;
    line-height: 130%;
    margin-bottom: 16px;
}

.reviewed-by__doctor-name-text {
    font-weight: 600;
    line-height: 130%;
    font-size: 20px;
    margin-bottom: 6px;
}

.reviewed-by__doctor-exp-text {
    font-weight: 600;
    color: #3FAB3C;
    line-height: 130%;
    margin-bottom: 4px;
}

.reviewed-by__doctor-position-text {
    color: rgba(34, 34, 34, 0.8);
    line-height: 130%;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 10px;
}

.reviewed-by__doctor-date {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.reviewed-by__doctor-date-text {
    font-weight: 600;
    font-size: 14px;
    line-height: 130%;
}

.reviewed-by__doctor-date-date {
    font-size: 14px;
    line-height: 130%;
    color: rgba(34, 34, 34, 0.8);
}

.reviewed-by__doctor-name-text_mobile, .reviewed-by__doctor-mobile-img-name {
    display: none;
}

.reviewed-by__doctor-mobile-img-name {
    align-items: center;
    gap: 12px;
}

@media screen and (max-width: 997px) {
    .page-reviewed-by {
        margin: 60px 20px;
    }
}

@media screen and (max-width: 980px) {
    .reviewed-by__container {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }
    .reviewed-by__title {
        margin-bottom: 12px;
    }
}

@media screen and (max-width: 650px) {
    .reviewed-by__card {
        flex-direction: column;
    }
    .reviewed-by__doctor-name-text, .reviewed-by__doctor-img {
        display: none;
    }

    .reviewed-by__doctor-name-text_mobile, .reviewed-by__doctor-mobile-img-name, .reviewed-by__doctor-img_mobile {
        display: flex;
    }
    .reviewed-by__doctor-mobile-img-name {
        margin-bottom: 12px;
    }

    .doctors__picture_reviewed-by_mobile {
        width: 50px;
        height: 50px;
    }

    .reviewed-by__title {
        font-size: 20px;
    }

    .reviewed-by__doctor-name-text {
        margin-bottom: 0;
    }

    .reviewed-by__doctor-appointed-text {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .reviewed-by__doctor-name-text_mobile {
        font-size: 16px;
    }

    .reviewed-by__doctor-date-text, .reviewed-by__doctor-date-date {
        font-size: 12px;
    }

    .reviewed-by__doctor-position-text {
        padding-bottom: 6px;
        margin-bottom: 6px;
    }

    .reviewed-by__doctor-date {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 4px;
    }

}

.subway-advantages__container, .subway-tutorial__container {
    overflow: hidden;
    max-width: 1230px;
}

.subway-services__text {
    margin-bottom: 40px;
    width: 50%;
}

.subway-services__card {
    border-radius: 24px;
    padding: 24px;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.subway-services__card-title {
    font-weight: 600;
    font-size: 18px;
    line-height: 120%;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.subway-services__card-text {
    color: rgba(34, 38, 42, 0.8);
    line-height: 140%;
    margin-bottom: 50px;
    flex: 1;
}

.subway-services__link-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    margin-top: auto;
}

.subway-services__link {
    font-weight: 600;
    color: #3FAB3C;
}

.subway-services__swiper, .subway-tutorial__swiper {
    height: auto;
    overflow: hidden;
}

.subway-services__swiper-wrapper, .subway-tutorial__swiper-wrapper {
    display: flex;
    height: auto !important; 
}

.subway-services__swiper-wrapper .swiper-slide, .subway-tutorial__swiper-wrapper .swiper-slide {
    height: auto !important; 
    display: flex;
}



@media screen and (max-width: 1260px) {
    .subway-services__text {
        width: 80%;
    }
    .subway-services__swiper, .subway-tutorial__swiper {
        overflow: visible;
    }
    
}

@media screen and (max-width: 800px) {
    .subway-services__card  {
        padding: 20px;
    }

    .subway-services__card-title {
        margin-bottom: 10px;
    }

    .subway-services__card-text {
        margin-bottom: 16px;
    }
    
}

@media screen and (max-width: 550px) {
    .subway-services__card-title {
        font-size: 16px;
    }

    .subway-services__text {
        width: 95%;
    }
    

}

.subway-services_disctrict__text {
    width: 62%;
}

@media screen and (max-width: 960px) {
    .subway-services_disctrict__text {
        width: 80%;
    }
}

@media screen and (max-width: 650px) {
    .subway-services_disctrict__text {
        width: 92%;
    }
    .subway-services_district__title {
        width: 95%;
    }
}

.subway-tutorial__section.subway-menu {
    background-color: #FFFFFF;
    padding: 0;
}

.subway-tutorial__text {
    margin-bottom: 40px;
    width: 49%;
}

.subway-tutorial__card {
    padding: 24px;
    border-radius: 24px;
    background-color: #F4F7FD;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    height: 100%;
}

.subway-tutorial__card-counter{
    display: flex;
    align-items: center;    
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: #FF9800;
    border-radius: 12px;
    font-weight: 600;
    font-size: 18px;
    line-height: 120%;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.subway-tutorial__card-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 120%;
    margin-bottom: 12px;
    width: 50%;
}

.subway-tutorial__card-text {
    line-height: 140%;
}

.subway-tutorial__card-content {
    flex: 1; 
    display: flex;
    flex-direction: column;
}

@media screen and (max-width: 1260px) {
    .subway-tutorial__text {
        width: 80%;
    }  
}

@media screen and (max-width: 1059px) {
    .subway-tutorial__card-title {
        width: 100%;
    }  
}

@media screen and (max-width: 800px) {
    .subway-tutorial__card  {
        padding: 20px;
    }

    .subway-tutorial__card-title {
        margin-bottom: 8px;
    }

}

@media screen and (max-width: 550px) {
    .subway-tutorial__title {
        width: 77%;
    }

    .subway-services__card-title {
        font-size: 16px;
    }

    .subway-tutorial__text {
        width: 95%;
    }
    

}

.district-tutorial__section.subway-menu {
    background-color: #FFFFFF;
    padding: 0;
}

.district-tutorial__container {
    max-width: 1230px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.subway-services_district__title-text {
    width: 100%;
}

.district-tutorial__text {
    line-height: 150%;
}

.district-tutorial__title {
    width: 68%;
}

.district-tutorial__cards {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.district-tutorial__card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    background-color: #F4F7FD;
    border-radius: 24px;
    padding: 24px;
    width: calc(100% / 2 - 20px * 1 / 2);
}

.district-tutorial__card-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 120%;
    color: #54B451;
}

.district-tutorial__card-text {
    line-height: 140%;
}


@media screen and (max-width: 1260px) {
    .district-tutorial__title {
        width: 100%;
    }
    
    .district-tutorial__text {
        width: 100%;
    }
}

@media screen and (max-width: 1040px) {
    .subway-services_district__title-text {
        width: 80%;
    }
}

@media screen and (max-width: 900px) {
    .subway-services_district__title-text {
        width: 60%;
    }
}

@media screen and (max-width: 800px) {
    .subway-services_district__title-text {
        width: 80%;
    }

    .district-tutorial__container {
        flex-direction: column;
        gap: 0;
    }
}

@media screen and (max-width: 550px) {
    .subway-services_district__title-text {
        width: 100%;
    }
    .district-tutorial__card {
        width: 100%;
        gap: 12px;
        padding: 20px;
    }
    .district-tutorial__card-title {
        font-size: 18px;
    }
}

.subway-text__section h2{
    font-size: 32px;
    margin-bottom: 20px;
}

@media screen and (max-width: 780px) {
    .subway-text__section h2 {
        font-size: 24px;
    }
}

.subway-relinking__swiper-item .subway-menu__quick-services {
    margin-right: 0;
    height: 100%;
} 
.subway-relinking__link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.swiper-slide.subway-relinking__swiper-item {
    height: auto !important; 
}

.subway-relinking__menu-title {
    font-size: 20px;
}

.subway-relinking__section {
    overflow: hidden;
}
.subway-relinking__swiper {
    overflow: visible;
}

@media (max-width: 768px) {
    .faq__block_buttons {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

.faq__block_buttons {
    gap: 12px;
}

.faq__block_buttons .standart-btn {
    width: 100%;
    border-radius: 16px;
}

.name-phone-green-form {
    background-color: #fff;
}

.name-phone-green-form__container {
    position: relative;
    overflow: hidden;
}

.name-phone-green-form__bg{
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.name-phone-green-form__form {
    background-color: #54B451;
    padding: 60px;
    border-radius: 30px;
    gap: 0;
}

.name-phone-green-form__title {
    font-weight: 700;
    font-size: 32px;
    line-height: 100%;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.name-phone-green-form__description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    width: 64%;
    line-height: 150%;
}

.name-phone-green-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 12px;
    row-gap: 20px;
    position: relative;
    z-index: 2;
}

.name-phone-green-form__politic {
    grid-row: 2;
    display: flex;
    align-items: flex-start;
    margin: auto 0;
    color: rgba(255, 255, 255, 0.8);
}

.name-phone-green-form__checkbox {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    position: relative;
}

.name-phone-green-form__checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
}

.name-phone-green-form__checkbox .custom__checkmark {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #FFFFFF;
    border-radius: 4px;
    background: #FFFFFF;
    transition: all 0.2s ease;
    position: relative;
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

.name-phone-green-form__checkbox .custom__checkmark svg {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.name-phone-green-form__checkbox input[type="checkbox"]:checked + .custom__checkmark svg {
    opacity: 1;
}

.name-phone-green-form__checkbox input[type="checkbox"]:checked + .custom__checkmark {
    background: #FFFFFF;
    border-color: #FFFFFF;
}

.name-phone-green-form__checkbox input[type="checkbox"]:disabled + .custom__checkmark {
    opacity: 0.6;
    cursor: not-allowed;
    background: #f0f0f0;
}

.name-phone-green-form__input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #FFFFFF;
    border-radius: 16px;
    padding: 18px 20px;
    backdrop-filter: blur(46px);
    -webkit-backdrop-filter: blur(46px);
    margin: 0;
}

.name-phone-green-form__input::placeholder {
    color: rgba(255, 255, 255, 0.8) !important;
}

.name-phone-green-form__btn {
    background-color: #FFFFFF;
    color: #1e1e1e;
    padding: 20px 24px;
    border-radius: 16px;
}

.name-phone-green-form__politic span {
    display: flex;
    padding: 0;
}

.form__politic a.name-phone-green-form__politic-link {
    text-decoration: underline;   
}

.form__politic a.name-phone-green-form__politic-link:hover {
    color: #FFFFFF;
}

.standart-btn.name-phone-green-form__btn:hover {
    border: 1px solid #FFFFFF;
    color: #22262A;
}

@media screen and (max-width: 800px) {
    .name-phone-green-form__form {
        padding: 40px 20px;
        border-radius: 24px;
    }

    .name-phone-green-form__title {
        margin-bottom: 12px;
        font-size: 24px;
    }

    .name-phone-green-form__description {
        margin-bottom: 16px;
        width: 100%;
    }

}


@media (max-width: 768px) {
    #phone.name-phone-green-form__input {
        width: 100%;
        height: auto;
    }
}


@media screen and (max-width: 640px) {
    .name-phone-green-form__grid {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 8px;
    }

    .name-phone-green-form__politic {
        grid-row: auto;
    }

    .name-phone-green-form__title {
        width: 90%;
    }

    .name-phone-green-form__accept {
        width: 75%;
    }

    .name-phone-green-form__btn {
        margin: 4px 0px 2px 0px;
    }
    
}

.subway-location {
    cursor: pointer;
}