.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;
    }
    .hero__advantages {
        margin-bottom: 12px;
    }
    
}

@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;
        margin-bottom: 12px;
    }
    
    .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;
    }
    
}

.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 {
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    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__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-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;
    }
}

@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;
    }
    
}

.subway-advantages__container, .subway-tutorial__container {
    overflow: hidden;
}

.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-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%;
    }
    
}

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

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

@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 {
    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;
    }
    
}