/* =========================================================================
   WEBEXPRESS & DEMOS FOOTER STYLES
   - footer.footer-mayar-index : Exact 5-column MAYAR Studio footer for index.html
   - footer:not(.footer-mayar-index) : Beautiful, well-arranged 4-column footer for Demos
   ========================================================================= */

/* Hide any legacy floating buttons in demos */
.back-to-main,
.wa-float {
    display: none !important;
}

/* =========================================================================
   1. MAIN INDEX 5-COLUMN FOOTER (webexpress/index.html)
   ========================================================================= */
footer.footer-mayar-index {
    position: relative;
    padding: 70px 0 0;
    background: #080a0c;
    color: #ffffff;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

footer.footer-mayar-index::before {
    content: '';
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 143, 154, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

footer.footer-mayar-index .footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    position: relative;
    z-index: 10;
    padding-bottom: 50px;
}

footer.footer-mayar-index .footer-links h4,
footer.footer-mayar-index .footer-contact h4 {
    font-family: 'Space Grotesk', 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 22px;
    position: relative;
    display: inline-block;
}

footer.footer-mayar-index .footer-links h4::after,
footer.footer-mayar-index .footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 24px;
    height: 2px;
    background: #008f9a;
    border-radius: 2px;
}

footer.footer-mayar-index .footer-menu-icons {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

footer.footer-mayar-index .footer-menu-icons li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

footer.footer-mayar-index .footer-menu-icons li a i {
    font-size: 0.95rem;
    color: #008f9a;
    transition: transform 0.25s ease, color 0.25s ease;
    flex-shrink: 0;
}

footer.footer-mayar-index .footer-menu-icons li a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

footer.footer-mayar-index .footer-menu-icons li a:hover i {
    color: #00d2d3;
    transform: scale(1.15);
}

footer.footer-mayar-index .footer-menu-icons li a small {
    font-size: 0.6rem;
    opacity: 0.7;
    margin-left: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 5px;
    border-radius: 4px;
}

footer.footer-mayar-index .footer-bottom {
    background: #050608;
    padding: 28px 0 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 10;
}

footer.footer-mayar-index .footer-bottom .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

footer.footer-mayar-index .legal-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
}

footer.footer-mayar-index .legal-grid a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
    text-decoration: none;
    transition: color 0.2s;
}

footer.footer-mayar-index .legal-grid a:hover {
    color: #008f9a;
}

footer.footer-mayar-index .footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    margin: 4px 0 0;
    line-height: 1.6;
}

footer.footer-mayar-index .footer-legal {
    font-size: 0.72rem !important;
    opacity: 0.45;
    max-width: 900px;
    margin-top: 12px !important;
}

@media (max-width: 1100px) {
    footer.footer-mayar-index .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
    }
}

@media (max-width: 768px) {
    footer.footer-mayar-index .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 520px) {
    footer.footer-mayar-index .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    footer.footer-mayar-index .legal-grid {
        flex-direction: column;
        gap: 8px;
    }
}

/* =========================================================================
   2. DEMOS 4-COLUMN FOOTER (Clean, Harmonious & Well-Proportioned)
   ========================================================================= */
footer:not(.footer-mayar-index) {
    position: relative;
    padding: 60px 0 35px;
    background: #080a0c;
    color: #ffffff;
    font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer:not(.footer-mayar-index) .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

footer:not(.footer-mayar-index) .footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.5fr;
    gap: 40px;
    align-items: start;
    position: relative;
    z-index: 10;
    padding-bottom: 45px;
}

/* Col 1: Footer Brand */
footer:not(.footer-mayar-index) .footer-brand {
    display: flex;
    flex-direction: column;
}

footer:not(.footer-mayar-index) .footer-brand .logo {
    font-family: 'Outfit', 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.02em;
    display: inline-block;
    margin-bottom: 14px;
}

footer:not(.footer-mayar-index) .footer-brand .by-mayar {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.65;
    text-transform: uppercase;
    margin-left: 3px;
}

footer:not(.footer-mayar-index) .footer-brand p {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.88rem;
    line-height: 1.65;
    margin: 0 0 18px;
    max-width: 320px;
}

footer:not(.footer-mayar-index) .socials {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
}

footer:not(.footer-mayar-index) .socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

footer:not(.footer-mayar-index) .socials a:hover {
    background: var(--primary, #008f9a);
    border-color: var(--primary, #008f9a);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 143, 154, 0.35);
}

footer:not(.footer-mayar-index) .legal-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}

footer:not(.footer-mayar-index) .legal-links a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}

footer:not(.footer-mayar-index) .legal-links a:hover {
    color: #ffffff;
}

/* Cols 2 & 3: Footer Links */
footer:not(.footer-mayar-index) .footer-links h4,
footer:not(.footer-mayar-index) .footer-contact h4 {
    font-family: 'Space Grotesk', 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

footer:not(.footer-mayar-index) .footer-links h4::after,
footer:not(.footer-mayar-index) .footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--primary, #008f9a);
    border-radius: 2px;
}

footer:not(.footer-mayar-index) .footer-menu-icons,
footer:not(.footer-mayar-index) .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

footer:not(.footer-mayar-index) .footer-menu-icons li,
footer:not(.footer-mayar-index) .footer-links ul li {
    list-style: none;
    margin: 0;
}

footer:not(.footer-mayar-index) .footer-menu-icons li a,
footer:not(.footer-mayar-index) .footer-links ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 9px;
    transition: all 0.25s ease;
}

footer:not(.footer-mayar-index) .footer-menu-icons li a i,
footer:not(.footer-mayar-index) .footer-links ul li a i {
    font-size: 0.9rem;
    color: var(--primary, #008f9a);
    transition: transform 0.25s ease;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

footer:not(.footer-mayar-index) .footer-menu-icons li a:hover,
footer:not(.footer-mayar-index) .footer-links ul li a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

footer:not(.footer-mayar-index) .footer-menu-icons li a:hover i,
footer:not(.footer-mayar-index) .footer-links ul li a:hover i {
    transform: scale(1.15);
}

/* Col 4: Footer Contact */
footer:not(.footer-mayar-index) .footer-contact .footer-menu-icons li a {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
}

footer:not(.footer-mayar-index) .footer-contact .footer-menu-icons li a:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: none;
}

footer:not(.footer-mayar-index) .contact-country-label {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 4px;
}

footer:not(.footer-mayar-index) .contact-country-label.mex {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

footer:not(.footer-mayar-index) .contact-country-label.usa {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
}

footer:not(.footer-mayar-index) .verified-icon {
    color: #22c55e;
    font-size: 0.85rem;
    margin-left: 4px;
}

footer:not(.footer-mayar-index) .contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    padding: 5px 0;
    line-height: 1.45;
}

footer:not(.footer-mayar-index) .contact-info-item i {
    color: var(--primary, #008f9a);
    margin-top: 3px;
    font-size: 0.85rem;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

/* Footer Bottom */
footer:not(.footer-mayar-index) .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
    text-align: center;
}

footer:not(.footer-mayar-index) .footer-bottom p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
    margin: 4px 0 0;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
    footer:not(.footer-mayar-index) .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
    }
}

@media (max-width: 580px) {
    footer:not(.footer-mayar-index) {
        padding: 45px 0 25px;
    }

    footer:not(.footer-mayar-index) .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    footer:not(.footer-mayar-index) .footer-brand p {
        max-width: 100%;
    }
}