/* Footer & Floating Actions - Scoped to .site-footer and .floating-actions */

/* Site Footer */
.site-footer {
    position: relative;
    background: linear-gradient(160deg, #FFFDF8 0%, #F8F6F0 40%, #FDFCF9 75%, #FFFFFF 100%);
    border-top: 1px solid rgba(220, 232, 240, 0.8);
    padding: 80px 0 35px 0;
    overflow: hidden;
}

.site-footer .site-footer__container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Footer Main Grid */
.site-footer .site-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Brand Column */
.site-footer .site-footer__brand-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #10364C;
    margin: 0 0 6px 0;
}

.site-footer .site-footer__brand-sub {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #0B7368;
    margin: 0 0 16px 0;
    display: block;
}

.site-footer .site-footer__brand-desc {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #143F57;
    margin: 0 0 24px 0;
    max-width: 320px;
}

.site-footer .site-footer__social-links {
    display: flex;
    gap: 12px;
}

.site-footer .site-footer__social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid rgba(200, 220, 235, 0.6);
    color: #10364C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(22, 59, 82, 0.06);
}

.site-footer .site-footer__social-btn:hover {
    background: linear-gradient(135deg, #4DA8FF 0%, #35D6C5 100%);
    color: #FFFFFF;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(77, 168, 255, 0.3);
}

/* Navigation & Services Columns */
.site-footer .site-footer__col-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #10364C;
    margin: 0 0 20px 0;
}

.site-footer .site-footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer .site-footer__link {
    font-size: 0.92rem;
    font-weight: 600;
    color: #143F57;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.site-footer .site-footer__link:hover {
    color: #026AA7;
    transform: translateX(4px);
}

/* Contact Column */
.site-footer .site-footer__contact-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.site-footer .site-footer__contact-item {
    font-size: 0.9rem;
    color: #143F57;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.site-footer .site-footer__contact-item i {
    color: #0B7368;
    font-size: 1rem;
    margin-top: 2px;
}

/* Bottom Bar */
.site-footer .site-footer__bottom-bar {
    padding-top: 25px;
    border-top: 1px solid rgba(215, 228, 238, 0.6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.site-footer .site-footer__copyright {
    font-size: 0.84rem;
    color: #143F57;
    margin: 0;
}

.site-footer .site-footer__legal-links {
    display: flex;
    gap: 20px;
}

.site-footer .site-footer__legal-link {
    font-size: 0.84rem;
    color: #143F57;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer .site-footer__legal-link:hover {
    color: #026AA7;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .site-footer .site-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 55px 0 30px 0;
        text-align: center;
    }
    .site-footer .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .site-footer .site-footer__brand-col {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .site-footer .site-footer__brand-title {
        text-align: center;
    }
    .site-footer .site-footer__brand-sub {
        text-align: center;
    }
    .site-footer .site-footer__brand-desc {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .site-footer .site-footer__social-links {
        justify-content: center;
    }
    .site-footer .site-footer__col-title {
        text-align: center;
    }
    .site-footer .site-footer__list {
        align-items: center;
    }
    .site-footer .site-footer__link {
        justify-content: center;
    }
    .site-footer .site-footer__contact-items {
        align-items: center;
    }
    .site-footer .site-footer__contact-item {
        justify-content: center;
        text-align: center;
    }
    .site-footer .site-footer__bottom-bar {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .site-footer .site-footer__legal-links {
        justify-content: center;
    }
}

/* Fixed Right Social Media Dock (Visible Throughout Website) - Scoped to .fixed-social-dock */
.fixed-social-dock {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1040;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fixed-social-dock .fixed-social-dock__link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(131, 230, 208, 0.55);
    box-shadow: 0 4px 16px rgba(77, 168, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    color: #1A516E;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.fixed-social-dock .fixed-social-dock__link:hover {
    transform: translateX(-4px) scale(1.1);
    color: #FFFFFF;
    border-color: transparent;
}

/* Individual Brand Gradients on Hover */
.fixed-social-dock .fixed-social-dock__link--whatsapp:hover {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.fixed-social-dock .fixed-social-dock__link--instagram:hover {
    background: linear-gradient(135deg, #FF6699 0%, #FF9966 100%);
    box-shadow: 0 6px 20px rgba(255, 102, 153, 0.45);
}

.fixed-social-dock .fixed-social-dock__link--facebook:hover {
    background: linear-gradient(135deg, #4DA8FF 0%, #2979FF 100%);
    box-shadow: 0 6px 20px rgba(41, 121, 255, 0.45);
}

.fixed-social-dock .fixed-social-dock__link--linkedin:hover {
    background: linear-gradient(135deg, #00A0DC 0%, #0077B5 100%);
    box-shadow: 0 6px 20px rgba(0, 119, 181, 0.45);
}

.fixed-social-dock .fixed-social-dock__link--youtube:hover {
    background: linear-gradient(135deg, #FF4D4D 0%, #FF1A1A 100%);
    box-shadow: 0 6px 20px rgba(255, 77, 77, 0.45);
}

.fixed-social-dock .fixed-social-dock__link--x:hover {
    background: linear-gradient(135deg, #1A516E 0%, #0BB5A2 100%);
    box-shadow: 0 6px 20px rgba(26, 81, 110, 0.35);
}

/* Tooltip on hover */
.fixed-social-dock .fixed-social-dock__tooltip {
    position: absolute;
    right: 50px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(131, 230, 208, 0.5);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.74rem;
    font-weight: 700;
    color: #1A516E;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(6px);
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(77, 168, 255, 0.15);
}

.fixed-social-dock .fixed-social-dock__link:hover .fixed-social-dock__tooltip {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .fixed-social-dock {
        right: 10px;
        gap: 7px;
        z-index: 850;
    }
    .fixed-social-dock .fixed-social-dock__link {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }
    .fixed-social-dock .fixed-social-dock__tooltip {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .fixed-social-dock {
        right: 6px;
        gap: 6px;
    }
    .fixed-social-dock .fixed-social-dock__link {
        width: 30px;
        height: 30px;
        font-size: 0.82rem;
    }
}

/* Circular Back To Top Button - Bottom Right Corner */
.back-to-top-btn {
    position: fixed;
    right: 22px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid rgba(53, 214, 197, 0.6);
    color: #10364C;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1045;
    box-shadow: 0 6px 20px rgba(77, 168, 255, 0.22), 0 2px 8px rgba(16, 54, 76, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px) scale(0.85);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
    padding: 0;
}

.back-to-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top-btn:hover {
    background: linear-gradient(135deg, #4DA8FF 0%, #35D6C5 100%);
    color: #FFFFFF;
    border-color: transparent;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 10px 28px rgba(77, 168, 255, 0.42), 0 4px 12px rgba(53, 214, 197, 0.3);
}

.back-to-top-btn:active {
    transform: translateY(-1px) scale(0.96);
}

.back-to-top-btn i {
    line-height: 1;
    transition: transform 0.25s ease;
}

.back-to-top-btn:hover i {
    transform: translateY(-2px);
}

/* Tooltip */
.back-to-top-tooltip {
    position: absolute;
    right: 58px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(131, 230, 208, 0.5);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 700;
    color: #10364C;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(6px);
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(77, 168, 255, 0.16);
}

.back-to-top-btn:hover .back-to-top-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .back-to-top-btn {
        right: 14px;
        bottom: 18px;
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
    .back-to-top-tooltip {
        display: none !important;
    }
}
