/* ==========================================================================
   PEU DE PÀGINA (FOOTER) CORPORATIU - Càrrega Global
   ========================================================================== */
.footer-main-grid {
    background-color: var(--fosc);
    color: #E2E8F0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 50px 20px;
    margin-top: 40px;
    text-align: center;
}

@media (min-width: 992px) {
    .footer-main-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 60px max(20px, calc((100vw - var(--ample-max)) / 2));
        text-align: left;
    }
}

.store-figure img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--taronja);
    margin-bottom: 12px;
}

.store-figure figcaption {
    margin-bottom: 16px;
}

.store-figure figcaption a {
    color: #FFFFFF;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s;
}

.store-figure figcaption a:hover {
    color: var(--taronja);
}

.store-contact-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

@media (min-width: 992px) {
    .store-contact-buttons {
        align-items: flex-start;
    }
}

.custom-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    color: #FFFFFF;
    width: 100%;
    max-width: 260px;
    transition: opacity 0.2s, transform 0.2s, background-color 0.2s;
}

.custom-btn:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

.btn-whatsapp {
    background-color: #16A34A;
}

.btn-whatsapp img {
    height: 20px;
    width: 20px;
}

.btn-phone,
.btn-email {
    background-color: #334155;
    border: 1px solid #475569;
}

.btn-phone:hover,
.btn-email:hover {
    background-color: var(--taronja);
    border-color: var(--taronja);
}

.footer-services-card h2 {
    font-size: 1.25rem;
    color: #FFFFFF;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--taronja);
    display: inline-block;
    padding-bottom: 4px;
}

.footer-services-card ul {
    list-style: none;
    text-align: left;
}

.footer-services-card ul li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #CBD5E1;
    padding-left: 16px;
    position: relative;
}

.footer-services-card ul li::before {
    content: '▸';
    color: var(--taronja);
    position: absolute;
    left: 0;
}

.footer-social-row,
.footer-legal-row {
    background-color: #0F172A;
    border-top: 1px solid #1E293B;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

@media (min-width: 768px) {
    .footer-social-row,
    .footer-legal-row {
        flex-direction: row;
        justify-content: center;
    }
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    width: auto;
    transition: opacity 0.2s;
}

.social-btn.facebook {
    background-color: #1877F2;
}

.social-btn.instagram {
    background-color: #E1306C;
}

.social-btn:hover {
    opacity: 0.9;
}

.footer-legal-row a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-legal-row a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

.footer-copyright-row {
    background-color: #090D16;
    color: #64748B;
    text-align: center;
    padding: 24px 15px;
    font-size: 0.82rem;
}

.footer-copyright-row p {
    margin-bottom: 4px;
}

.footer-copyright-row .version {
    font-style: italic;
}
