
.contact-block {
    padding: 60px 0 0;
    background-image: url(/assets/svg/dots-background.svg);
    background-color: #009fe3;
    background-size: cover;
    background-position: center;
}

.contact-container {
    width: min(1525px, calc(100% - 80px));
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.contact-title {
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 300;
    font-size: 70px;
    color: #ffff;
    margin: 0;
    letter-spacing: 0.5px;
    margin-bottom: 64px;
    text-transform: uppercase;
}
.contact-image-container {
    width: 450px;
    margin-bottom: 90px;
}
.contact-image {
    display: block;
    max-width: 100%;
    height: auto;
}
.contact-marketplace-block {
    width: 100%;
    height: 184px;
    background-color: #ffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 70px;
    gap: 50px;
    margin-bottom: 50px;
    padding: 16px;
    flex-wrap: nowrap;
}
.contact-marketplace {
    display: block;
    width: auto;
    max-height: 128px;
    height: auto;
    object-fit: contain;
}

.contact-marketplace-block .where-to-buy__market-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-marketplace-block .where-to-buy__market-link:first-child .contact-marketplace {
    width: 250px;
    /* max-height: 60px; */
}

.contact-marketplace-block .where-to-buy__market-link:last-child .contact-marketplace {
    width: 350px;
}
.contact-grid {
    display: grid;
    grid-template-columns: 468px 785px;
    justify-content: start;
    background-color: #ffff;
    gap: 62px;
    width: 100%;
    height: 852px;
    border-radius: 70px;
    padding: 123px 90px 122px;
    margin-bottom: 30px;
}

.contact-col {
    display: flex;
    flex-direction: column;
    width: fit-content;
}
.col-2 {
    width: 785px;
    height: 593px;
    margin-top: 15px;
}
.col-1 {
    width: 468px;
}

.company-name {
    margin-bottom: 42px;
    max-width: fit-content;
}
.company-img {
    display: block;
    width: 192px;
    height: auto;
}
.contact-phone {
    text-transform: uppercase;
    font-size: 32px;
    line-height: 42px;
    color: #009FE3;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    width: 100%;
    font-weight: 600;
}
.phone-number {
    text-decoration: none;
    color: #009FE3;
}
.contact-button {
    color: #009FE3;
    padding: 20px 0;
    border-radius: 50px;
    background-color: #ffff;
    font-size: 32px;
    font-weight: 400;
    border: 3px solid #009fe3;
    max-width: 320px;
    letter-spacing: 0.04em;
    margin-bottom: 91px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.contact-button:hover {
  background-color: #009fe3;
  color: #fff;
}
.contact-address {
    color: #34465A;
    font-weight: 400;
    font-size: 24px;
    font-style: normal;
    letter-spacing: -0.05em;
    line-height: 100%;
}
.contact-map {
    border-radius: 40px;
    width: 100%;
    height: 100%;
    max-height: none;
}
.bad-text-cont {
    width: 100%;
    height: 202px;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.43);
    background-color: #009fe3;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.bad-text {
    display: block;
    width: max-content;
    flex: 0 0 auto;
    font-family: 'Lato', Arial, sans-serif;
    font-size: 180px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.06em;
    white-space: nowrap;
    transform: scaleX(0.39);
    text-transform: uppercase;
}
@media (max-width: 1300px) {
    .contact-phone {
        font-size: 22pt;
    }
    .contact-button {
        font-size: 20pt;
        margin-bottom: 50px;
    }
}

@media (min-width: 1025px) and (max-width: 1600px) {
    .contact-container {
        width: calc(100% - 80px);
    }

    .contact-grid {
        grid-template-columns: minmax(360px, 0.85fr) minmax(0, 1.35fr);
        gap: 40px;
        padding: 100px 60px;
    }

    .col-1,
    .col-2 {
        width: 100%;
        min-width: 0;
    }

    .contact-phone {
        font-size: 25px;
        line-height: 1.25;
    }

    .contact-address {
        font-size: 21px;
    }
}
@media (max-width: 1200px) {
    .bad-text {
        font-size: 75px;
    }
}
@media (max-width: 1024px) {
    .contact-block {
        padding: 0;
        padding-top: 22px;
    }
    .contact-container {
        width: 84%;
    }
    .contact-title {
        font-size: 22px;
        line-height: 1.2;
        margin-bottom: 14px;
    }
    .contact-image-container {
        width: 200px;
        margin-bottom: 28px;
    }
    .contact-marketplace-block {
        width: 100%;
        height: 111px;
        min-height: 0;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        gap: 24px;
        padding: 16px 26px;
        border-radius: 36px;
        margin-bottom: 13px;
    }
    .where-to-buy__market-link {
        min-width: 0;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .contact-marketplace {
        display: block;
        width: 100%;
        max-width: 110px;
        max-height: 46px;
        object-fit: contain;
    }
    .contact-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        height: 541px;
        padding: 20px 24px;
        width: 100%;
        border-radius: 36px;
        margin-bottom: 16px;
    }
    .contact-col {
        justify-content: center;
        align-items: center;
    }
    .col-1 {
        width: 100%;
    }
    .company-name {
        align-items: center;
        justify-content: center;
        display: flex;
        width: 130px;
        margin-bottom: 12px;
    }
    .company-img {
        width: 130px;
    }
    .contact-phone {
        font-size: 14px;
        line-height: 1.25;
        gap: 0;
        align-items: center;
        margin-bottom: 29px;
    }
    .contact-button {
        width: 188px;
        height: 50px;
        padding: 0;
        font-size: 18px;
        margin-bottom: 23px;
    }
    .contact-address {
        font-size: 13px;
        line-height: 1.05;
        text-align: center;
        margin-bottom: 20px;
    }
    .col-2 {
        width: 100%;
        height: auto;
        margin-top: 0;
    }
    .contact-map {
        height: 200px;
        min-height: 200px;
        border-radius: 20px;
    }
    .bad-text-cont {
        height: 56px;
    }
    .bad-text {
        font-size: 54px;
        line-height: 1;
        letter-spacing: -0.06em;
        transform: scaleX(0.3);
    }
}

@media (min-width: 600px) and (max-width: 1024px) {
    .contact-block {
        padding-top: 34px;
    }

    .contact-container {
        width: min(900px, calc(100% - 64px));
    }

    .contact-title {
        font-size: 38px;
        margin-bottom: 24px;
    }

    .contact-image-container {
        width: 260px;
        margin-bottom: 36px;
    }

    .contact-marketplace-block {
        height: 120px;
        margin-bottom: 20px;
    }

    .contact-marketplace {
        max-width: 160px;
        max-height: 58px;
    }

    .contact-grid {
        display: grid;
        grid-template-columns: minmax(220px, .9fr) minmax(0, 1.2fr);
        gap: 28px;
        height: 470px;
        padding: 36px;
    }

    .contact-phone {
        margin-bottom: 22px;
        font-size: 15px;
    }

    .contact-button {
        width: 174px;
        height: 46px;
        margin-bottom: 24px;
        font-size: 17px;
    }

    .contact-address {
        margin-bottom: 0;
        font-size: 13px;
    }

    .col-2 {
        height: 100%;
    }

    .contact-map {
        height: 100%;
        min-height: 0;
    }

    .bad-text-cont {
        height: 78px;
    }

    .bad-text {
        font-size: 72px;
        transform: scaleX(.37);
    }
}

@media (min-width: 1025px) and (max-width: 1600px) {
    .contact-block {
        padding-top: 48px;
    }

    .contact-title {
        margin-bottom: 40px;
        font-size: 54px;
    }

    .contact-image-container {
        width: 340px;
        margin-bottom: 54px;
    }

    .contact-marketplace-block {
        height: 145px;
        margin-bottom: 36px;
        border-radius: 52px;
    }

    .contact-marketplace-block .where-to-buy__market-link:first-child .contact-marketplace {
        width: 210px;
    }

    .contact-marketplace-block .where-to-buy__market-link:last-child .contact-marketplace {
        width: 290px;
    }

    .contact-grid {
        height: 690px;
        padding: 72px 60px;
        border-radius: 52px;
    }

    .col-2 {
        height: 520px;
        margin-top: 0;
    }

    .company-name {
        margin-bottom: 30px;
    }

    .contact-phone {
        margin-bottom: 30px;
        font-size: 22px;
    }

    .contact-button {
        margin-bottom: 42px;
        font-size: 22px;
    }

    .contact-address {
        font-size: 18px;
    }

    .bad-text-cont {
        height: 130px;
    }

    .bad-text {
        font-size: 110px;
    }
}
