@media (max-width: 1440px) {
    section.hero {
        max-height: 700px;
    }

    .container {
        width: calc(100% - 40px);
        gap: 40px;
    }

    .hero__slide__info {
        left: 20px;
    }

    .map__info {
        left: 20px;
    }
}
@media (max-width: 1024px) {
    section.hero {
        max-height: 540px;
    }
    
    .hero__slide__info {
        top: 40px;
        gap: 20px;
    }
    
    .swiper-slide.hero__slide, .swiper-slide.hero__slide picture{
width: 100%
    }
    
    .hero__slide__info__header {
        gap: 6px;
    }
    
    h2.hero__slider__title {
        font-size: 30px;
    }

    .hero__slider__text {
        font-size: 20px;
    }
    
    body {
        font-size: 15px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 13px;
    }
    
    .benefits__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    section.benefits {
        margin-bottom: 60px;
    }
    
    .fos__info svg {
        width: 36px;
        height: 36px;
    }
    
    span.fos__title {
        font-size: 28px;
    }
    
    span.fos__text {
        font-size: 16px;
    }
    
    div#timer39eb3ebe56879377fb641ca2552d5821 {
        transform: scale(.8) !important;
    }
    
    .fos__wrapper {
        max-width: 660px;
    }
    
    form.fos__form {
        max-width: 660px;
    }
    
    .fos__container {
        padding: 36px 0;
        border-radius: 28px;
    }
    
    section.model h2.section__title {
        font-size: 48px;
    }
    
    h2.section__title {
        font-size: 36px;
    }
    
    section.model .container {
        gap: 20px;
    }
    
    .model__wrapper {
        gap: 24px;
    }
    
    .adv__list {
        gap: 8px;
    }
    
    p.adv__item {
        font-size: 13px;
    }
    
    .model__slider .swiper-slide {
        max-height: 620px;
    }
    
    span.value {
        font-size: 28px;
    }
    
    .model__wrapper .btn {
        padding: 12px 32px;
    }
    
    section.instock h2.section__title {
        font-size: 28px;
    }
    
    p.intock__count {
        font-size: 16px;
    }
    
    .instock__card.swiper-slide {
        gap: 20px;
    }
    
    p.instock__card__name {
        font-size: 18px;
    }
    
    p.instock__card__desc {
        font-size: 13px;
    }
    
    span.small {
        font-size: 11px;
    }
    
    .instock__card__param__row {
        font-size: 11px;
        line-height: 13px;
    }
    
    p.instock__card__price {
        font-size: 20px;
    }

    .map__info {
        left: 20px;
    }
    
    form.fos__form .row {
        gap: 10px;
    }
    
    .variants__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .variants__item {
        padding: 28px;
    }
    
    .special__wrapper {
        padding: 32px;
    }
    
    .special__items {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    p.special__item__title {
        font-size: 18px;
    }
    
    .team__photo {
        height: 230px;
    }
    
    .container {
        gap: 32px;
    }
    
    .special__wrapper h2.section__title {
        font-size: 26px;
    }
    
    .section__header {
        gap: 12px;
    }
    
    .instock .arrow.prev {
        left: -14px;
    }
    
    .arrow svg {
        width: 20px;
        height: 20px;
    }
    
    .instock .arrow.next {
        right: -14px;
    }
}
@media (max-width: 768px) {
    nav.main {
        display: none;
    }


    
    .call__wrapper .address, .call__wrapper .phone span{
        display: none;
    }
    
    .burger {
        display: flex;
    }
    
    .right {
        width: 135px;
        gap: 20px;
    }
    
    .header__btn {
        width: 135px;
        display: flex;
    }
    
    
    section.hero {
        margin-bottom: 60px;
    }
    
    a.brand__logo img {
        max-width: 100px;
        max-height: 26px;
    }
    
    a.brand__logo {
        gap: 10px;
    }
    
    .fos__wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    div#timer39eb3ebe56879377fb641ca2552d5821 {
        transform: scale(.9) !important;
    }
    
    .fos__info p {
        text-align: center;
    }
    
    .fos__info {
        flex-direction: column;
        align-items: center;
    }
    
    form.fos__form .row {
        flex-direction: column;
        display: flex;
    }
    
    form.fos__form {
        max-width: 100%;
    }
    
    .fos__container {
        padding: 24px;
        gap: 24px;
    }
    
    .checkboxes {
        gap: 12px;
    }
    
    section {
        margin-bottom: 64px;
    }
    
    section.model h2.section__title {
        font-size: 42px;
    }
    
    .model__wrapper {
        gap: 20px;
    }
    
    .adv__list {
        gap: 5px;
    }
    
    p.adv__item {}
    
    .model__slider .swiper-slide {
        max-height: 480px;
        border-radius: 10px;
    }
    
    .model__info {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .model__wrapper .btn {
        margin-top: 12px;
    }
    
    h2.section__title {
        font-size: 32px;
    }
    
    p.section__description {
        font-size: 16px;
    }
    
    p.name {
        font-size: 18px;
    }
    
    p.status {
        font-size: 13px;
    }
    
    .variants__grid {
        display: flex;
        flex-direction: column;
    }
    
    .special__items {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .special__item {
        max-width: 100%;
        width: 100%;
    }
    
    .special__wrapper {
        gap: 24px;
    }
    
    .location__wrapper {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .location__code {
        width: 100%;
        align-items: center;
        height: auto;
        padding: 24px;
        gap: 12px;
    }
    
    .location__code img {
        max-width: 200px;
    }
    
    img.location__media {
        max-width: 100%;
        height: auto;
    }
    
    .team__photo {
        height: 360px;
    }
    
    .swiper-slide.team__item {
        gap: 4px;
    }
    
    p.team__item__name {
        font-size: 18px;
    }
    
    p.team__item__status {
        font-size: 13px;
    }
    
    .avilon__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0px;
        background: var(--grey);
        border: 1px solid var(--dark-grey);
        border-radius: 10px;
    }

    .avilon__item{

        background: rgba(0,0,0,0);
        border-radius: 0px;
        border: none;
    }
    
    .personal__wrapper {
        display: flex;
        flex-direction: column;
    }
    
    .map__info {
        position: initial;
        max-width: 100%;
    }
    
    .map__wrapper {
        flex-direction: column-reverse;
        border-radius: 0 0 20px 20px;
    }
    
    div#map {
        height: 400px;
    }
    
    footer .container {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }
}
@media (max-width: 580px) {
    section.hero {
        max-height: 540px;
    }
    
    .hero__slide__info {
        top: 20px;
        max-width: calc(100% - 40px);
    }
    
    h2.hero__slider__title {
        font-size: 26px;
    }

    .hero__slider__text {
        font-size: 16px;
    }
    
    .header__btn {
        display: none;
    }
    
    .right {
        width: auto;
    }
    
    .benefits__grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }
    
    .benefits__item {
        width: 100%;
    }
    
    div#timer39eb3ebe56879377fb641ca2552d5821 {
        transform: scale(.8) !important;
    }
    
    .fos__container {
        border-radius: 20px;
    }
    
    .model__slider .swiper-slide img {
        border-radius: 10px;
    }
    
    span.value {
        font-size: 20px;
    }
    
    .instock__progressbar {
        margin: 10px 0 0;
    }
    
    .choose__grid {
        display: flex;
        flex-direction: column;
    }
    
    h2.section__title {
        font-size: 28px;
    }
    
    p.section__description {
        font-size: 15px;
    }
    
    .variants__item {
        padding: 24px;
    }
    
    .special__wrapper {
        border-radius: 20px;
        padding: 24px;
    }
    
    .special__wrapper h2.section__title {
        font-size: 20px;
    }
    
    .special__item {
        padding: 16px;
    }
    
    .team__photo {
        height: 230px;
    }
    
    .avilon__grid {
        display: flex;
        flex-direction: column;
    }
    
    .avilon__item svg {
        width: 42px;
        height: 42px;
    }
    
    .avilon__item p {
        max-width: calc(100% - 52px);
    }
    
    form.personal__form {
        padding: 20px;
    }
    
    p.avilon__form__title {
        font-size: 18px;
    }
    
    input.fos__input {
        height: 42px;
        padding: 10px 14px;
    }
    
    button.fos__btn {
        height: 42px;
    }
    
    p.place__name {
        font-size: 20px;
    }
    
    .map__info {
        gap: 16px;
    }
    
    .contacts__list__item {
        gap: 16px;
    }
    
    footer {
        padding: 60px 0 30px;
    }

    .header {
        padding: 10px 0;
    }
}