/* ================= FOOTER VARIABLES ================= */
:root {
    --footer-bg: #f8f9fa;
    --footer-text: #4b5563;
    --footer-text-dark: #1f2937;
    --footer-border: #e5e7eb;
    --footer-hover: #F77B20;
    --footer-title: #0A098A;
    --footer-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
    --white: #ffffff;
    --transition: all 0.3s ease;
}

/* ================= SITE FOOTER ================= */
.site-footer {
    background: var(--footer-bg) !important;
    padding: 70px 0 30px;
    border-top: 1px solid var(--footer-border);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--footer-hover), var(--footer-title), var(--footer-hover));
    opacity: 0.5;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

/* ================= COLUMN STYLES ================= */
.site-footer__col--brand {
    animation: fadeInUp 0.6s ease forwards;
}

.site-footer__col--links {
    animation: fadeInUp 0.6s ease 0.1s forwards;
    opacity: 0;
    transform: translateY(20px);
    animation-fill-mode: forwards;
}

.site-footer__col--contact {
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
    transform: translateY(20px);
    animation-fill-mode: forwards;
}

/* Logo */
.site-footer__logo {
    margin-bottom: 20px;
    transition: var(--transition);
}

.site-footer__logo img {
    max-width: 180px;
    height: auto;
    display: block;
    transition: var(--transition);
}

.site-footer__logo:hover img {
    transform: scale(1.02);
}

/* Description */
.site-footer__description {
    color: #4b5563 !important;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 25px;
    max-width: 350px;
    opacity: 1 !important;
}

/* Social Icons */
.site-footer__social {
    display: flex;
    gap: 12px;
}

.site-footer__social-link {
    width: 40px;
    height: 40px;
    background: rgba(247, 123, 32, 0.1) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0A098A !important;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.site-footer__social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #F77B20, #0A098A);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.site-footer__social-link i {
    position: relative;
    z-index: 1;
    transition: var(--transition);
    color: #0A098A !important;
}

.site-footer__social-link:hover {
    transform: translateY(-5px);
    color: #ffffff !important;
}

.site-footer__social-link:hover i {
    color: #ffffff !important;
}

.site-footer__social-link:hover::before {
    opacity: 1;
}

/* Section Titles */
.site-footer__title {
    color: #0A098A !important;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    opacity: 1 !important;
}

.site-footer__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #F77B20, #0A098A);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.site-footer__col--links:hover .site-footer__title::after,
.site-footer__col--contact:hover .site-footer__title::after {
    width: 60px;
}

/* Links List */
.site-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer__links li {
    margin-bottom: 12px;
    opacity: 0;
    transform: translateX(-10px);
    animation: slideInLeft 0.4s ease forwards;
}

.site-footer__links li:nth-child(1) { animation-delay: 0.05s; }
.site-footer__links li:nth-child(2) { animation-delay: 0.1s; }
.site-footer__links li:nth-child(3) { animation-delay: 0.15s; }
.site-footer__links li:nth-child(4) { animation-delay: 0.2s; }
.site-footer__links li:nth-child(5) { animation-delay: 0.25s; }
.site-footer__links li:nth-child(6) { animation-delay: 0.3s; }
.site-footer__links li:nth-child(7) { animation-delay: 0.35s; }

.site-footer__links a {
    color: #4b5563 !important;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    opacity: 1 !important;
}

.site-footer__links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #F77B20;
    transition: width 0.3s ease;
}

.site-footer__links a:hover {
    color: #F77B20 !important;
    transform: translateX(5px);
}

.site-footer__links a:hover::before {
    width: 100%;
}

/* Contact Items */
.site-footer__contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 14px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-10px);
    animation: slideInLeft 0.4s ease forwards;
}

.site-footer__contact-item:nth-child(1) { animation-delay: 0.05s; }
.site-footer__contact-item:nth-child(2) { animation-delay: 0.1s; }
.site-footer__contact-item:nth-child(3) { animation-delay: 0.15s; }
.site-footer__contact-item:nth-child(4) { animation-delay: 0.2s; }

.site-footer__contact-item i {
    width: 34px;
    height: 34px;
    background: rgba(247, 123, 32, 0.12) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F77B20 !important;
    font-size: 14px;
    transition: all 0.3s ease;
}

.site-footer__contact-item:hover {
    transform: translateX(8px);
}

.site-footer__contact-item:hover i {
    background: #F77B20 !important;
    color: #ffffff !important;
    transform: scale(1.05);
}

.site-footer__contact-item span {
    color: #4b5563 !important;
    transition: all 0.3s ease;
}

.site-footer__contact-item:hover span {
    color: #0A098A !important;
}

/* Footer Bottom */
.site-footer__bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--footer-border);
    margin-top: 20px;
    position: relative;
    z-index: 2;
}

.site-footer__bottom p {
    color: #4b5563 !important;
    font-size: 13px;
    margin: 0;
    transition: var(--transition);
}

.site-footer__bottom p:hover {
    color: #0A098A !important;
}

/* ================= WHATSAPP BUTTON ================= */
.whatsapp-right {
    position: fixed;
    bottom: 30px;
    right: 20px;
    background: #25d366;
    color: #fff;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    border: 2px solid #fff;
    z-index: 100;
    animation: pulseRing 2s infinite;
}

.whatsapp-right:hover {
    background: #128C7E;
    transform: scale(1.1) rotate(5deg);
    color: #fff;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

@keyframes pulseRing {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ================= CALL BUTTON - MOBILE ONLY ================= */
.call-btn-mobile {
    display: none;
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: linear-gradient(135deg, #009900, #006700);
    text-decoration: none;
    z-index: 100;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 153, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #fff;
    animation: fadeInUp 0.5s ease;
}

.call-btn-mobile i {
    font-size: 24px;
    transition: var(--transition);
}

.call-btn-mobile:hover {
    transform: scale(1.1) rotate(-5deg);
    background: linear-gradient(135deg, #00aa00, #008000);
    color: #fff;
    box-shadow: 0 8px 25px rgba(0, 153, 0, 0.5);
}

/* ================= ANIMATIONS ================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ================= RESPONSIVE DESIGN WITH BRIGHT COLORS ================= */
@media (max-width: 992px) {
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .site-footer__col--brand {
        grid-column: span 2;
    }
    .site-footer__description {
        max-width: 100%;
    }
    
    /* Force bright colors on tablet */
    .site-footer {
        background: #f8f9fa !important;
    }
    .site-footer__title {
        color: #0A098A !important;
        opacity: 1 !important;
    }
    .site-footer__description,
    .site-footer__links a,
    .site-footer__contact-item span {
        color: #4b5563 !important;
        opacity: 1 !important;
    }
    .site-footer__social-link i {
        color: #0A098A !important;
    }
    .site-footer__contact-item i {
        color: #F77B20 !important;
        background: rgba(247, 123, 32, 0.12) !important;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 50px 0 20px;
        background: #f8f9fa !important;
    }
    
    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }
    
    .site-footer__col--brand {
        grid-column: span 1;
    }
    
    .site-footer__logo img {
        margin: 0 auto 20px;
    }
    
    .site-footer__description {
        text-align: center;
        margin: 0 auto;
        color: #4b5563 !important;
    }
    
    .site-footer__title {
        text-align: center;
        color: #0A098A !important;
    }
    
    .site-footer__title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .site-footer__links {
        text-align: center;
    }
    
    .site-footer__links a {
        color: #4b5563 !important;
    }
    
    .site-footer__links a:hover {
        color: #F77B20 !important;
    }
    
    .site-footer__contact-item {
        justify-content: center;
    }
    
    .site-footer__contact-item span {
        color: #4b5563 !important;
    }
    
    .site-footer__contact-item i {
        color: #F77B20 !important;
        background: rgba(247, 123, 32, 0.12) !important;
    }
    
    .site-footer__social {
        justify-content: center;
    }
    
    .site-footer__social-link i {
        color: #0A098A !important;
    }
    
    .site-footer__links li {
        transform: translateX(0);
        animation: fadeInUp 0.4s ease forwards;
    }
    
    .site-footer__contact-item {
        transform: translateX(0);
        animation: fadeInUp 0.4s ease forwards;
    }
    
    /* Show call button on mobile */
    .call-btn-mobile {
        display: flex;
        bottom: 100px;
        right: 20px;
        left: auto;
    }
    
    .whatsapp-right {
        bottom: 30px;
        right: 20px;
        left: auto;
        display: flex;
    }
}

@media (max-width: 650px) {
    .whatsapp-right {
        width: 50px;
        height: 50px;
        font-size: 26px;
        bottom: 25px;
        right: 15px;
    }
    
    .call-btn-mobile {
        width: 50px;
        height: 50px;
        bottom: 90px;
        right: 15px;
    }
    
    .call-btn-mobile i {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 40px 0 20px;
        background: #f8f9fa !important;
    }
    
    .site-footer__logo img {
        max-width: 150px;
    }
    
    .site-footer__description {
        font-size: 13px;
        color: #4b5563 !important;
    }
    
    .site-footer__title {
        font-size: 16px;
        color: #0A098A !important;
    }
    
    .site-footer__links a,
    .site-footer__contact-item {
        font-size: 13px;
    }
    
    .site-footer__links a {
        color: #4b5563 !important;
    }
    
    .site-footer__contact-item span {
        color: #4b5563 !important;
    }
    
    .site-footer__contact-item i {
        color: #F77B20 !important;
    }
    
    .whatsapp-right {
        width: 45px;
        height: 45px;
        font-size: 24px;
        bottom: 20px;
        right: 12px;
    }
    
    .call-btn-mobile {
        width: 45px;
        height: 45px;
        bottom: 80px;
        right: 12px;
    }
    
    .call-btn-mobile i {
        font-size: 20px;
    }
}

/* ================= PRINT STYLES ================= */
@media print {
    .whatsapp-right,
    .call-btn-mobile {
        display: none !important;
    }
    
    .site-footer {
        background: white !important;
        color: black;
        border-top: 1px solid #ccc;
    }
    
    .site-footer__social-link,
    .site-footer__contact-item i {
        background: none;
        border: 1px solid #ccc;
    }
}