.directions {
    position: relative;
    padding: 56px 0 64px;
    background-color: #eef1f3;
    background-image:
        repeating-linear-gradient(45deg, rgba(47, 147, 198, 0.06) 0, rgba(47, 147, 198, 0.06) 1px, transparent 1px, transparent 26px),
        repeating-linear-gradient(-45deg, rgba(47, 147, 198, 0.06) 0, rgba(47, 147, 198, 0.06) 1px, transparent 1px, transparent 26px);
    overflow: hidden;
}

.directions__heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 28px;
}

.directions__rule {
    flex: 1;
    max-width: 220px;
    height: 1px;
    background: #c7ccd2;
}

.directions__title {
    margin: 0;
    text-align: center;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: var(--color-primary-dark);
    white-space: nowrap;
}

.directions__paragraph {
    max-width: 1200px;
    margin: 0 auto 40px;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.directions__row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 56px;
    flex-wrap: wrap;
}

.directions__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--color-text-muted);
    transition: color 0.2s ease, transform 0.2s ease;
}
a.directions__item:hover {
    color: var(--color-primary);
    transform: translateY(-3px);
}

.directions__icon {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.directions__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.directions__label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

@media (max-width: 640px) {
    .directions__row {
        gap: 32px;
    }
 
    .directions__heading {
        flex-direction: column;
        gap: 12px;
    }
    .directions__rule {
        max-width: 80px;
    }
    .directions__title {
        white-space: normal;
    }
}
