/* ——— Блок «Доставка» ——— */
.delivery-section {
    padding: 40px 20px;
    background: #e8eef2;
}

.delivery-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 30px 40px;
    align-items: center;
}

.h-delivery {
    font-size: clamp(28px, 5vw, 50px);
    line-height: 1.2;
    margin: 0 0 30px;
    color: #2d3748;
}

.delivery-content {
    min-width: 0;
}

.delivery-description {
    max-width: 600px;
}

.delivery-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px 18px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.delivery-item:last-child {
    margin-bottom: 0;
}

.delivery-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: #007bff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.delivery-image {
    min-width: 0;
    text-align: center;
}

.delivery-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.highlight-info {
    font-size: 1.1em;
    line-height: 1.5;
    margin-top: 25px;
    padding: 15px 18px;
    background: #e3f2fd;
    border-radius: 8px;
    display: block;
    max-width: 600px;
}

.highlight-info a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

.highlight-info a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .delivery-container {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .delivery-description,
    .highlight-info {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    .delivery-item {
        text-align: left;
    }

    .delivery-image img {
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .delivery-item {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }
}

/* ——— Условия доставки ——— */
.delivery-conditions {
    padding: 60px 20px;
    background: #fff;
}

.delivery-conditions .section-title,
.delivery-conditions .conditions-grid {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    margin: 0 auto 40px;
    color: #2d3748;
    text-align: center;
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.condition-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: #f8fafc;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    min-height: 100%;
}

.condition-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.condition-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #007bff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.condition-content {
    flex: 1;
    min-width: 0;
}

.condition-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 10px;
    color: #1e293b;
    line-height: 1.3;
}

.condition-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

@media (max-width: 992px) {
    .conditions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .delivery-conditions {
        padding: 40px 16px;
    }

    .condition-card {
        flex-direction: row;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .condition-card {
        padding: 18px;
        gap: 14px;
    }
}

/* ——— Транспортные компании ——— */
.other-cities-delivery {
    padding: 60px 20px;
    background: #fff;
    text-align: center;
}

.other-cities-delivery .delivery-header,
.other-cities-delivery .transport-companies {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.delivery-header {
    margin-bottom: 40px;
}

.delivery-title {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 12px;
    line-height: 1.3;
}

.delivery-title b {
    font-weight: 700;
    color: #007bff;
}

.delivery-subtitle {
    font-size: 18px;
    line-height: 1.5;
    color: #4a5568;
    margin: 0;
}

.transport-companies {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
    padding: 4px 0 8px;
}

.company-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 150px;
    padding: 24px 16px;
    background: #f8fafc;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.company-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.company-item img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 60px;
    max-height: 60px;
    object-fit: contain;
    margin: 0;
    filter: grayscale(100%);
    opacity: 0.85;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.company-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

.company-slogan {
    font-size: 13px;
    line-height: 1.4;
    color: #4a5568;
    margin: 0;
    font-weight: 500;
    max-width: 100%;
}

@media (max-width: 992px) {
    .transport-companies {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .other-cities-delivery {
        padding: 40px 16px;
    }

    .delivery-title {
        font-size: 26px;
    }

    .delivery-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .transport-companies {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .company-item {
        min-height: 130px;
    }
}