.request-block {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.219);
    display: flex;
    gap: 30px;
    height: 220px;
    overflow: hidden;
    box-sizing: border-box;
}

.request-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
}

/* Изображение — занимает 1/3 ширины, 100% высоты */
.request-image {
    flex: 0 0 calc(33.33% - 30px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.request-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* Текстовая часть — занимает 2/3 ширины, 100% высоты */
.request-content {
    flex: 0 0 calc(66.66% - 30px);
    padding: 20px 0 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
}

.request-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.request-text {
    font-size: 14px;
    line-height: 1.4;
    color: #555;
    margin-bottom: 16px;
}

/* Контакт (телефон) */
.request-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.phone-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: #0B22EF;
    text-decoration: none; /* Убираем подчеркивание при ховере */
}

/* Кнопка */
.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: var(--color-primary);
    border: none;
    border-radius: 100px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px var(--color-primary);
    min-width: 140px;
    height: 44px;
    align-self: flex-start;
}

.btn-submit:hover {
    color: white;
    background: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px var(--color-primary-dark);
    text-decoration: none; /* Убираем подчеркивание при ховере */
}

/* Адаптивность для планшетов */
@media (max-width: 900px) {
    .request-block {
        flex-direction: column;
        height: auto;
        padding: 20px;
        margin: 30px auto;
    }

    .request-wrapper {
        flex-direction: column;
    }

    .request-image {
        flex: none;
        width: 100%;
        height: 200px;
        margin-bottom: 20px;
    }

    .request-content {
        flex: none;
        width: 100%;
        padding: 0;
    }

    .request-title {
        font-size: 18px;
    }

    .request-text {
        font-size: 14px;
    }

    .btn-submit {
        align-self: center;
        width: 100%;
        max-width: 280px;
    }
}

/* Адаптивность для мобильных телефонов */
@media (max-width: 480px) {
    .request-block {
        padding: 15px;
        border-radius: 12px;
        margin: 20px auto;
    }

    .request-image {
        height: 160px;
        margin-bottom: 15px;
    }

    .request-title {
        font-size: 18px;
        text-align: center;
    }

    .request-text {
        font-size: 13px;
        text-align: center;
        margin-bottom: 15px;
    }

    .request-contact {
        justify-content: center;
        font-size: 15px;
        margin-bottom: 20px;
    }

    .btn-submit {
        font-size: 15px;
        padding: 10px 16px;
        height: 42px;
        min-width: 160px;
        width: 100%;
        max-width: none;
    }
}

/* Очень маленькие экраны */
@media (max-width: 360px) {
    .request-block {
        padding: 12px;
        margin: 15px auto;
    }

    .request-image {
        height: 140px;
    }

    .request-title {
        font-size: 16px;
    }

    .request-text {
        font-size: 12px;
    }

    .request-contact {
        font-size: 14px;
    }

    .btn-submit {
        font-size: 14px;
        padding: 8px 14px;
        height: 40px;
    }
}