/* =========================================================
   INNACUP FOOTER
   Compact Rebuild - Version 2
   ========================================================= */

.site-footer {
    width: 100%;
    background: var(--innacup-cream);
    color: var(--text-dark);
    border-top: 3px solid #222222;
}

/* =========================================================
   MAIN FOOTER ROW
   ========================================================= */

.footer-main {
    display: grid;
    grid-template-columns:
        minmax(220px, 0.95fr)
        minmax(300px, 1.25fr)
        minmax(210px, 0.9fr)
        minmax(145px, 0.65fr);
    align-items: center;
    gap: 14px;
    padding: 12px 3%;
}

/* =========================================================
   BRAND
   ========================================================= */

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
}

.footer-brand-logo {
    display: block;
    width: 100%;
    max-width: 280px;
    height: auto;
}

/* =========================================================
   LOCATION / HOURS
   ========================================================= */

.footer-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    min-width: 0;
    padding: 2px 12px;
    border-left: 1px solid rgba(0, 0, 0, 0.14);
}

.footer-detail-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    font-size: 13px;
    line-height: 1.3;
}

.footer-detail-block strong {
    color: #075f62;
    font-size: 14px;
    font-weight: 800;
}

.footer-detail-block span {
    white-space: nowrap;
}

.footer-detail-block a {
    margin-top: 3px;
    color: #e65f7a;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.footer-detail-block a:hover {
    text-decoration: underline;
}

/* =========================================================
   REVIEW
   ========================================================= */

.footer-review {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 0;
    padding: 2px 16px;
    border-left: 1px solid rgba(0, 0, 0, 0.14);
}

.footer-review-heart {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #e65f7a;
    color: #ffffff;
    font-size: 20px;
}

.footer-review-text {
    min-width: 0;
    line-height: 1.15;
}

.footer-review strong {
    display: block;
    margin-bottom: 2px;
    font-size: 14px;
}

.footer-review-link {
    display: block;
    color: #e65f7a;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.footer-review-link:hover {
    text-decoration: underline;
}

.footer-stars {
    margin-top: 3px;
    color: var(--innacup-yellow);
    font-size: 14px;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* =========================================================
   SOCIAL
   ========================================================= */

.footer-social {
    min-width: 0;
    padding-left: 16px;
    border-left: 1px solid rgba(0, 0, 0, 0.14);
    text-align: center;
}

.footer-social > strong {
    display: block;
    margin-bottom: 6px;
    color: #075f62;
    font-size: 13px;
}

.footer-social-links {
    display: flex;
    justify-content: center;
    gap: 7px;
}

.footer-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.footer-social-links a:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.22);
}

.social-facebook { background: #08777a; }
.social-instagram { background: #e65f7a; }
.social-more { background: var(--innacup-chocolate); }

/* =========================================================
   VALUES BAR
   ========================================================= */

.footer-values-bar {
    padding: 7px 4%;
    background: #075f62;
    color: #ffffff;
}

.footer-values {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px 10px;
    font-size: 13px;
    font-weight: 800;
}

.footer-heart {
    color: #e65f7a;
}

/* =========================================================
   BOTTOM BAR
   ========================================================= */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 14px;
    padding: 6px 4%;
    background: #064e51;
    color: #ffffff;
}

.footer-legal {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px 0;
    font-size: 10px;
}

.footer-legal span,
.footer-legal a {
    padding: 0 9px;
}

.footer-legal span {
    padding-left: 0;
}

.footer-legal a {
    color: #ffffff;
    text-decoration: none;
    border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.footer-legal a:hover {
    text-decoration: underline;
}

.back-to-top {
    position: absolute;
    right: 4%;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
}

.back-to-top:hover {
    text-decoration: underline;
}

/* =========================================================
   RESPONSIVE - TABLET
   ========================================================= */

@media (max-width: 1050px) {
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px 18px;
        padding: 14px 5%;
    }

    .footer-brand-logo {
        max-width: 290px;
    }

    .footer-details,
    .footer-review,
    .footer-social {
        border-left: 0;
    }

    .footer-details,
    .footer-review,
    .footer-social {
        padding: 4px 10px;
    }

    .footer-bottom {
        padding: 7px 4% 20px;
    }

    .back-to-top {
        right: 50%;
        bottom: 4px;
        transform: translateX(50%);
    }
}

/* =========================================================
   RESPONSIVE - MOBILE
   ========================================================= */

@media (max-width: 650px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 12px 6%;
    }

    .footer-brand-logo {
        max-width: 280px;
    }

    .footer-details {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
        padding: 8px 0;
        border-top: 1px solid rgba(0, 0, 0, 0.12);
    }

    .footer-detail-block {
        font-size: 12px;
    }

    .footer-detail-block strong {
        font-size: 13px;
    }

    .footer-review {
        padding: 8px 0;
        border-top: 1px solid rgba(0, 0, 0, 0.12);
    }

    .footer-social {
        padding: 8px 0 2px;
        border-top: 1px solid rgba(0, 0, 0, 0.12);
    }

    .footer-values {
        gap: 4px 7px;
        font-size: 12px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 4px;
        padding: 7px 5%;
    }

    .footer-legal {
        flex-direction: column;
        gap: 3px;
        text-align: center;
    }

    .footer-legal span,
    .footer-legal a {
        padding: 0;
        border-left: 0;
    }

    .back-to-top {
        position: static;
        transform: none;
        margin-top: 2px;
    }
}
