/* Final Polished Footer - Site-Integrated Design */
.footer-inspaire {
    background: #2c2c2c;
    /* Charcoal gray for premium look matching the design image */
    color: var(--white);
    padding: 80px 0 40px;
    font-family: var(--font-body);
}

/* Match Header Alignment perfectly by using the global container class */
.footer-inspaire .container {
    padding: 0 12px;
    /* Matching style.css:68 */
    max-width: 1400px;
    /* Matching style.css:66 */
    margin: 0 auto;
}

.fi-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1.5fr;
    /* Rebalanced for better distribution */
    gap: 60px;
    margin-bottom: 50px;
    width: 100%;
}

.fi-col {
    min-width: 0;
    /* Prevents grid items from overflowing */
}

/* Titles - Using Site Heading Font */
.fi-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 35px;
    color: var(--white);
    text-transform: uppercase;
}

/* Brand Section */
.fi-brand-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.fi-rating {
    color: #f1c40f;
    /* Brighter gold for better visibility */
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    gap: 3px;
}

.fi-rating-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    /* Lighter gray for readability */
    line-height: 1.6;
    margin-bottom: 30px;
}

.fi-social-icons-v2 {
    display: flex;
    gap: 15px;
}

.fi-social-icons-v2 a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

.fi-social-icons-v2 a:hover {
    background: var(--accent);
    color: var(--white);
}

/* Navigation Links */
.fi-links-container {
    display: flex;
    gap: 80px;
}

.fi-links-v2 {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fi-links-v2 li {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.fi-links-v2 li i {
    color: var(--accent);
    font-size: 10px;
}

.fi-links-v2 a {
    color: var(--white);
    opacity: 0.7;
    font-size: 14px;
    transition: var(--transition);
}

.fi-links-v2 a:hover {
    opacity: 1;
    color: var(--white);
    padding-left: 5px;
}

/* Contact Info */
.fi-contact-v2 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fi-addr-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    /* Significantly brighter for the address */
    line-height: 1.8;
}

.fi-contact-item-v2 {
    display: flex;
    align-items: center;
    gap: 15px;
}

.fi-contact-item-v2 i {
    color: var(--accent);
    font-size: 14px;
    width: 20px;
}

.fi-contact-item-v2 a {
    color: var(--white);
    opacity: 0.8;
    font-size: 14px;
}

.fi-contact-item-v2 a:hover {
    opacity: 1;
}

/* Sidebar Floating Switch */
.fi-floating-actions {
    position: fixed;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.fi-float-btn {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.fi-wa {
    background: #25D366;
}

.fi-call {
    background: var(--accent);
}

.fi-float-btn:hover {
    transform: scale(1.1);
}

/* Footer Bottom Strip */
.fi-bottom-v2 {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 60px;
    padding-top: 30px;
    text-align: center;
}

.fi-bottom-v2 p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    /* Brighter for copyright */
    letter-spacing: 1px;
}

.fi-bottom-v2 p a {
    transition: var(--transition);
}

.fi-bottom-v2 p a:hover {
    color: var(--accent) !important;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    /* Site's blue accent color */
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    bottom: 40px;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    background: #004d70;
    /* Slightly darker blue on hover */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Scaling */
@media (max-width: 1200px) {
    .fi-links-container {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .fi-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .fi-links-container {
        flex-direction: column;
        gap: 0;
    }
}