.get-a-quote-other-preference {
    display: flex;
    flex-direction: column;
    gap: var(--section-gap);
    padding: var(--container-padding);
}

.other-preference-items {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    align-items: center;
    justify-items: center;
}

.other-preference-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-xl);
    text-align: left;
    justify-content: center;
    width: 100%;
    padding: 0 var(--space-lg);
}

.other-preference-icon-whatsapp {
    background-color: var(--whatsapp-green);
}

.other-preference-icon-phone {
    background-color: var(--phone-blue);
}

.other-preference-icon-email {
    background-color: var(--email-purple);
}

.other-preference-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.other-preference-icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.other-preference-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);

}

.other-preference-content h1 {
    font-size: var(--big-para);
    color: var(--dark-font);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.other-preference-content p {
    font-size: var(--small-para);
    color: var(--light-font);
    opacity: 0.8;
}

.other-preference-link {
    padding: var(--space-sm) var(--space-md);
    border-radius: 4px;
    display: inline-block;
    font-size: var(--small-para);
    width: fit-content;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    
}

.other-preference-link a {
    text-decoration: none;

}

.other-preference-link-whatsapp {
    border: 2px solid var(--whatsapp-green);
    color: var(--whatsapp-green);
}

.other-preference-link-whatsapp a {
    color: var(--whatsapp-green);
}

.other-preference-link-phone {
    border: 2px solid var(--phone-blue);
    color: var(--phone-blue);
}

.other-preference-link-phone a {
    color: var(--phone-blue);
}

.other-preference-link-email {
    border: 2px solid var(--email-purple);
    color: var(--email-purple);
}

.other-preference-link-email a {
    color: var(--email-purple);
}

.other-preference-link-whatsapp:hover,
.other-preference-link-whatsapp:focus-within {
    background-color: var(--whatsapp-green);
    box-shadow: 0 8px 18px color-mix(in srgb, var(--whatsapp-green) 28%, transparent);
    transform: translateY(-2px);
}

.other-preference-link-phone:hover,
.other-preference-link-phone:focus-within {
    background-color: var(--phone-blue);
    box-shadow: 0 8px 18px color-mix(in srgb, var(--phone-blue) 28%, transparent);
    transform: translateY(-2px);
}

.other-preference-link-email:hover,
.other-preference-link-email:focus-within {
    background-color: var(--email-purple);
    box-shadow: 0 8px 18px color-mix(in srgb, var(--email-purple) 28%, transparent);
    transform: translateY(-2px);
}

.other-preference-link-whatsapp:hover a,
.other-preference-link-whatsapp:focus-within a,
.other-preference-link-phone:hover a,
.other-preference-link-phone:focus-within a,
.other-preference-link-email:hover a,
.other-preference-link-email:focus-within a {
    color: var(--light-white);
}

.other-preference-item:not(:last-child) {
    border-right: 1px solid color-mix(in srgb, var(--light-font) 20%, transparent);
}

@media (max-width: 1000px) {
    .other-preference-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .other-preference-item {
        flex-direction: column;
        justify-content: center;
    }

    .other-preference-item:last-child {
        border-right: none;
        grid-column: span 2;

    }

    .other-preference-item:not(:last-child) {
        border-right: none;
    }

    .other-preference-content {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .other-preference-items {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .other-preference-item {
        width: 100%;
        padding: 0 var(--space-md) var(--space-md);
        border-right: none;
    }

    .other-preference-item:not(:last-child) {
        border-bottom: 1px solid color-mix(in srgb, var(--light-font) 5%, transparent);
    }

    .other-preference-item:last-child {
        grid-column: auto;
    }

    .other-preference-content {
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .get-a-quote-other-preference {
        gap: var(--space-lg);
        padding: var(--space-lg) var(--space-md);
    }

    .other-preference-item {
        flex-direction: column;
        gap: var(--space-md);
        padding: 0 var(--space-sm) var(--space-lg);
    }

    .other-preference-icon {
        width: 52px;
        height: 52px;
    }

    .other-preference-icon img {
        width: 28px;
        height: 28px;
    }

    .other-preference-content h1 {
        font-size: var(--small-head);
    }

    .other-preference-link {
        width: 100%;
        text-align: center;
        display: block;
        box-sizing: border-box;
    }
}