/* =========================================================
   ENTERPRISE FOOTER CSS (NON-CRITICAL)
   ========================================================= */

/* --- 1. Base Layout --- */
.site-footer {
    background: var(--color-white);
    color: var(--text-muted);
    border-top: 1px solid rgba(8, 24, 50, 0.08);
    padding-top: 64px;
    font-size: 14px;
    line-height: 1.6;
    position: relative;
    z-index: 10;
}

/* --- 2. Top Section: 3-Column Grid --- */
.footer__top-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

@media (min-width: 992px) {
    .footer__top-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
        gap: 0; 
    }
    .footer__col { padding: 0 40px; }
    .footer__col:first-child { padding-left: 0; }
    .footer__col:last-child { padding-right: 0; }
    
    /* Vertical Dividers */
    .footer__col:not(:last-child) { 
        border-right: 1px solid rgba(8, 24, 50, 0.08); 
    }
}

/* --- Column 1: Brand & Trust --- */
.footer__logo { display: flex; align-items: center; margin-bottom: 20px; text-decoration: none; }
.footer__desc { margin-bottom: 24px; font-family: var(--font-tagline); }

.google-badge {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border: 1px solid rgba(8, 24, 50, 0.08);
    border-radius: 8px;
    margin-bottom: 24px;
    background: var(--color-white);
}
.google-badge__icon { width: 24px; height: 24px; }
.google-badge__content { display: flex; flex-direction: column; gap: 2px; }
.trust-stars { display: flex; gap: 2px; color: #FBBC04; } 
.trust-stars svg { width: 14px; height: 14px; fill: currentColor; }
.trust-text { font-size: 12px; color: var(--color-black); font-weight: 600; font-family: var(--font-main); }
.google-review-text { color: #1a73e8; text-decoration: none; font-weight: 400; transition: color 0.2s; }
/* .google-review-text:hover { text-decoration: underline; } */

/* Reused Header Socials */
.site-footer .utility-socials { display: flex; gap: 12px; flex-wrap: wrap; }
.site-footer .utility-socials a {
    display: flex;
    width: 36px; height: 36px;
    background: rgba(8, 24, 50, 0.05);
    color: var(--color-black);
}

/* --- Column 2: GST Centerpiece --- */
.gst-card-wrapper { display: flex; justify-content: center; align-items: center; height: 100%; }
.gst-card {
    background: #f8faff; 
    border: 1px solid rgba(26, 115, 232, 0.1);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    width: 100%;
    max-width: 280px;
}
.gst-card__icon { width: 32px; height: 32px; color: #1a73e8; margin-bottom: 12px; }
.gst-card__title { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #1a73e8; font-weight: 800; margin-bottom: 8px; font-family: var(--font-main); }
.gst-card__number { display: block; font-size: 18px; font-weight: 900; color: var(--color-black); letter-spacing: 0.5px; margin-bottom: 4px; font-family: monospace; }
.gst-card__sub { display: block; font-size: 12px; color: var(--text-muted); font-family: var(--font-tagline); }

/* --- Column 3: Contact List --- */
.footer__widget-title { color: var(--color-black); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-top: 0; margin-bottom: 24px; font-family: var(--font-main); }
.footer__contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 20px; }
.footer__contact-list li { display: flex; align-items: flex-start; gap: 16px; }
.footer__contact-list .icon-wrapper { width: 32px; height: 32px; border-radius: 50%; background: #f8faff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.footer__contact-list .icon-wrapper svg { width: 14px; height: 14px; color: var(--color-black); fill: none; stroke: currentColor; stroke-width: 2; }
.contact-details { display: flex; flex-direction: column; gap: 4px; font-family: var(--font-tagline); }
.contact-label { font-size: 12px; letter-spacing: 0.5px; color: var(--text-muted); font-weight: 700; }
.contact-details a, .contact-details span { color: var(--color-black); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.contact-details a:hover { color: #1a73e8; }

/* --- 3. Middle Section: SEO Matrix --- */
.footer__seo-matrix { border-top: 1px solid rgba(8, 24, 50, 0.08); padding: 32px 0; display: flex; flex-direction: column; gap: 24px; }
.seo-row {
    font-size: 13px;
    line-height: 1.8;
    color: rgb(8 24 50 / .65);
}
.seo-cat { font-weight: 800; color: var(--color-black); margin-right: 8px; min-width: 160px; font-family: var(--font-main); }

/* Mobile-First Pill Layout */
.seo-links { display: flex; flex-wrap: wrap; gap: 8px; color: var(--text-muted); line-height: 1.8; }
.seo-links a { background: #f8faff; padding: 8px 14px; border-radius: 6px; color: inherit; text-decoration: none; transition: 0.2s; }
.seo-links a:hover { background: var(--color-yellow); color: var(--color-black); }
.seo-sep { display: none; }

/* Desktop SEO Override */
@media (min-width: 768px) { 
    .footer__seo-matrix { gap: 16px; }
    .seo-row { flex-direction: row; align-items: baseline; }
    .seo-links { display: inline; }
    .seo-links a { background: transparent; padding: 0; border-radius: 0; }
    .seo-links a:hover { background: transparent; color: var(--color-black); text-decoration: underline; text-decoration-color: var(--color-yellow); text-decoration-thickness: 2px; }
    .seo-sep { display: inline-block; color: rgba(8, 24, 50, 0.2); margin: 0 10px; }
}

/* --- 4. Bottom Section: Copyright & Legal --- */
.footer__bottom { border-top: 1px solid rgba(8, 24, 50, 0.08); padding: 24px 0; font-size: 13px; font-family: var(--font-tagline); }
.footer__bottom-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }

@media (min-width: 1024px) { 
    .footer__bottom-inner { flex-direction: row; justify-content: space-between; text-align: left; } 
}

.footer__copyright { color: var(--text-muted); }
.brand-text { font-size: 14px; font-weight: 800; color: var(--color-black); letter-spacing: -0.5px; font-family: var(--font-main); }
.brand-text span { color: var(--color-yellow); }

/* --- 1. Fix: Make WP Badge look highly clickable --- */
/* WP Badge - Using Official Logo */
.footer__wp-badge { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    color: var(--text-muted); 
    text-decoration: none; 
    font-weight: 600;
    cursor: pointer;
}
.footer__wp-badge:hover .wp-badge-text { 
    color: var(--color-black); 
    text-decoration: underline; 
    text-decoration-color: var(--color-yellow); 
    text-decoration-thickness: 2px;
}
.footer__wp-badge:hover .wp-full-logo {
    opacity: 0.8; /* Subtle visual feedback for the SVG */
}

/* Constrain the massive SVG viewBox */
.footer__wp-badge .wp-full-logo {
    height: 18px; 
    width: auto;
    max-width: 120px; /* 🚨 THE FAILSAFE: Forces it to stay small */
    display: block;
    transition: opacity 0.2s;
}

/* --- 2. Fix: Override global list styles for the Legal Menu --- */
.footer__legal { 
    display: flex; 
    gap: 16px; 
    flex-wrap: wrap; 
    justify-content: center; 
    align-items: center; 
    margin: 0; 
    padding: 0; 
    list-style: none;
}
.footer__legal li {
    font-size: 13px !important; /* Overrides the global clamp() font size */
    font-weight: 500 !important;
    font-family: var(--font-tagline);
    margin: 0;
    line-height: 1;
}
.footer__legal li:not(:last-child)::after { 
    content: "|"; 
    color: rgba(8, 24, 50, 0.2); 
    margin-left: 16px; 
    pointer-events: none; 
}
.footer__legal a { 
    color: var(--text-muted); 
    text-decoration: none; 
    transition: color 0.2s; 
}
.footer__legal a:hover { 
    color: var(--color-black); 
    text-decoration: underline; 
    text-decoration-color: var(--color-yellow); 
    text-decoration-thickness: 2px;
}
