.footer .container {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    display: grid;
    gap: 16px;
    padding: 16px;
}
.footer__head,
.footer__body {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, 1fr);
}
.support__title {
    font-weight: 700;
}
.support__items {
    display: grid;
    row-gap: 8px;
    column-gap: 32px;
}
.support__item {
    display: grid;
    gap: 16px;
    grid-template-columns: .5fr 1fr;
}
.support__item-title {
    white-space: nowrap;
    color: #ffffff4d;
}
.support__item-link {
    white-space: nowrap;
    text-overflow: ellipsis;
}
.info__items {
    display: flex;
    gap: 16px;
}

.footer__body .subscribe {
    display: flex;
    flex-flow: column;
    padding: 16px;
    border-radius: var(--border-radius);
    background: var(--footer-color);
    overflow: hidden;
}
.subscribe__title {
    font-weight: 700;
}
.subscribe__subtitle {
    margin-bottom: 16px;
}
.subscribe__form {
    display: flex;
    gap: 16px;
}
.subscribe__form input {
    flex: 1;
    padding: 11px 8px;
    border: 1px solid var(--color-light);
    border-radius: var(--border-radius);
    background: #fff0;
    color: #fff0;
}
.subscribe__form  .submit-btn {
    font-size: 13px;
}

.devices {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-auto-flow: column;
}
.devices__item {
    background-color: var(--footer-color);
    border-radius: 12px;
    padding: 16px;
    transition: .3s background;
    overflow: hidden;
}
.devices__item:not(:last-child) {
    display: flex;
    gap: 8px;
    display: grid;
    grid-template-columns: repeat(2, auto) 1fr;
}
.devices__item:not(:last-child) .arrow {
    align-self: center;
    justify-self: end;
}
.devices__item:last-child {
    height: 100%;
    display: grid;
    grid-row: span 1 / span 2;
    grid-column-start: 2;
    grid-row-start: 1;
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
        'icon icon'
        'arrow arrow'
        'title title';
}
.devices__item:hover {
    background: #ffffff1a;
}

.devices__item-title {
    display: flex;
    flex-flow: column;
    font-weight: 700;
}
.devices__item:last-child .devices__item-title {
    grid-area: title;
}
.devices__item-title i {
    font-weight: normal;
    color: #ffffff4d;
}
.devices__item .arrow {
    transform: rotate(-90deg);
}
.devices__item:last-child .arrow {
    grid-area: arrow;
    align-self: center;
    justify-self: end;
}
.devices__item .arrow use {
    fill: #ffffff4d;
}

.devices__item:last-child img {
    grid-area: icon;
}

.footer__bottom .payment {
    display: flex;
    gap: 16px;
    flex-flow: row wrap;
    justify-content: space-between;
}
.footer__bottom  .copiryte {
    display: flex;
    flex-flow: row wrap;
    gap: 16px;
    align-items: baseline;
    color: #ffffff4d;
}
.modal-btn {
    display: flex;
    gap: 10px;
    flex-flow: row wrap;
    outline: none;
    background: none;
    padding: 0;
    border: none;
}
.modal-btn span {
    border-radius: 4px;
    padding: 1px 4px;
    border: 1px solid #ffffff4d;
    font-size: 11px;
    line-height: 13px;
}

@media screen and (max-width: 992px) {
    .footer__head {
        grid-template-columns: 1fr;
    }
    .footer__body {
        display: flex;
        flex-flow: column-reverse;
    }
}

@media screen and (max-width: 576px) {
    .support__item {
        grid-template-columns: 1fr;
    }
    .devices {
        grid-template-columns: 1fr;
    }
    .devices__item:last-child {
        display: none;
    }
}

@media screen and (max-width: 420px) {
    .subscribe__form {
        flex-flow: column;
    }
}



.modal {
    position: fixed;
    bottom: -100%;
    right: 0;
    left: 0;
    width: calc(100% - 40px);
    max-width: 540px;
    height: 85dvh;
    display: flex;
    gap: 20px;
    flex-flow: column;
    margin: auto;
    padding: 32px;
    border-radius: 12px;
    background-color: var(--bg-color);
    overflow: hidden;
    z-index: 100;
}
.modal.show {
    bottom: 0;
    top: 0;
}
.modal__header {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
}
.modal__title {
    margin: 0;
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
}
.modal-close {
    padding: 8px;
    background: var(--color-light);
    border-radius: 99px;
    border: none;
}

.modal__content {
    max-height: 85dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-color: #232325 var(--bg-color);
    scrollbar-width: thin;
}

.overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    inset-inline-start: 0;
    background-color: rgb(0 0 0 / .5);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: .3s;
    z-index: 90;
}
.overlay.show {
    display: block;
    opacity: 1;
}



.hero__image img{
    width: 428px !important;
    height: auto;
}
.reviews__name svg use {
    fill: #fff !important;
}