.footer-row {
    align-items: flex-start;
}

.footer-col {
    min-width: 0;
}

.footer-link {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-link:hover,
.footer-link:focus {
    color: #ffd86b;
    opacity: 1;
}

.footer-categories-vertical {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-category-link {
    display: inline-block;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 0.25rem 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-category-link:hover,
.footer-category-link:focus {
    color: #ffd86b;
    transform: translateX(2px);
}

.footer-logo-wrap {
    display: flex;
    justify-content: center;
}

.footer-logo {
    max-width: 180px;
    height: auto;
    display: block;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.28));
}

.contact-footer-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 20px;
    padding: 1rem 1.1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.contact-footer-box p {
    margin-bottom: 0.35rem;
}

.contact-footer-box i {
    color: #ffd86b;
    width: 1.2rem;
    text-align: center;
    margin-right: 0.35rem;
}

.top-button {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: linear-gradient(180deg, #ffd86b 0%, #d9a93f 100%);
    color: #24152f;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.top-button:hover {
    color: #24152f;
    transform: translateY(-2px);
    filter: brightness(1.03);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.24);
}

@media (max-width: 576px) {
    .footer-categories-vertical {
        align-items: stretch;
    }

    .footer-logo-wrap {
        justify-content: center;
    }
}

.category-grid-link {
    display: block;
    height: 100%;
    text-decoration: none;
}

.category-grid-card {
    height: 100%;
    border: 0;
    border-radius: 1.25rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8f6fb 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-grid-link:hover .category-grid-card,
.category-grid-link:focus .category-grid-card {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}

.category-grid-card .card-body {
    padding: 1.25rem;
}

.category-grid-title {
    color: #24152f;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.category-grid-text {
    color: #6b7280;
    font-size: 0.92rem;
    line-height: 1.5;
}

.category-grid-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid #8b5cf6;
    color: #8b5cf6;
    background: transparent;
    font-size: 0.875rem;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.category-grid-link:hover .category-grid-btn,
.category-grid-link:focus .category-grid-btn {
    background: #8b5cf6;
    color: #fff;
    border-color: #8b5cf6;
}