/* =============================================================
   footer.css — Site Footer + Floating Actions
   Part of the forsah-php CSS component split.
   Source: public.css lines 628-665, 3222-3253, 3324-3386,
           5342-5427, 5840-6035
   ============================================================= */

/* ── Site Footer Base ──────────────────────────────────────── */
.site-footer {
    padding: 80px 0 60px;
    background: #071f39;
    color: rgba(255, 255, 255, 0.8);
}

.site-footer__grid {
    display: grid;
    gap: 34px;
}

.site-footer__brand {
    display: inline-flex;
    max-width: 220px;
    margin-bottom: 18px;
}

.site-footer__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: var(--color-gold);
    font-weight: 600;
}

.site-footer h3 {
    margin: 0 0 18px;
    color: var(--color-white);
    font-size: 22px;
}

.site-footer__list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* ── WhatsApp Float (original + hidden override) ──────────── */
.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 70;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 50px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(9, 17, 29, 0.92), rgba(9, 17, 29, 0.98));
    box-shadow: 0 18px 44px rgba(3, 38, 79, 0.18);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    backdrop-filter: blur(12px);
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.whatsapp-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 54px rgba(3, 38, 79, 0.22);
}

.whatsapp-float svg {
    width: 18px;
    height: 18px;
    color: #25d366;
}

@media (max-width: 767.98px) {
    .whatsapp-float {
        right: 14px;
        bottom: 14px;
        min-height: 46px;
        padding: 0 13px;
        gap: 7px;
        font-size: 13px;
    }
}

/* Floating Action Buttons */
.whatsapp-float {
    display: none !important;
}

/* ── Floating Actions (first pass) ────────────────────────── */
.floating-actions {
    position: fixed;
    top: 50%;
    right: 20px;
    z-index: 70;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transform: translateY(-50%);
}

.floating-actions__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(9, 17, 29, 0.94), rgba(9, 17, 29, 0.98));
    color: #ffffff;
    box-shadow: 0 16px 36px rgba(3, 38, 79, 0.18);
    backdrop-filter: blur(12px);
    transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.floating-actions__button:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 46px rgba(3, 38, 79, 0.24);
}

.floating-actions__button svg {
    width: 22px;
    height: 22px;
    display: block;
}

@media (max-width: 767.98px) {
    .floating-actions {
        right: 14px;
        gap: 10px;
    }

    .floating-actions__button {
        width: 50px;
        height: 50px;
        box-shadow: 0 14px 30px rgba(3, 38, 79, 0.16);
    }

    .floating-actions__button svg {
        width: 20px;
        height: 20px;
    }
}

/* ── Floating contact buttons — redesigned ─────────────────── */
.floating-actions {
    top: auto;
    right: 20px;
    bottom: 28px;
    transform: none;
    gap: 10px;
}

.floating-actions__button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border: none;
    border-radius: 16px;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.22s ease;
}

.floating-actions__button:hover {
    transform: translateY(-4px) scale(1.05);
}

/* Call button — gold */
.floating-actions__button--call {
    background: linear-gradient(145deg, #1687d9, #075a9c);
    box-shadow:
        0 4px 12px rgba(22, 135, 217, 0.35),
        0 16px 32px rgba(7, 90, 156, 0.25);
}

.floating-actions__button--call:hover {
    box-shadow:
        0 6px 18px rgba(22, 135, 217, 0.45),
        0 22px 40px rgba(7, 90, 156, 0.28);
}

/* WhatsApp button — green */
.floating-actions__button--whatsapp {
    background: linear-gradient(145deg, #25d366, #1da851);
    box-shadow:
        0 4px 12px rgba(37, 211, 102, 0.35),
        0 16px 32px rgba(37, 211, 102, 0.22);
}

.floating-actions__button--whatsapp:hover {
    box-shadow:
        0 6px 18px rgba(37, 211, 102, 0.45),
        0 22px 40px rgba(37, 211, 102, 0.25);
}

/* Pulse ring on WhatsApp */
.floating-actions__button--whatsapp::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 20px;
    background: transparent;
    border: 2px solid rgba(37, 211, 102, 0.5);
    animation: fab-pulse 2.4s ease-out infinite;
    pointer-events: none;
}

@keyframes fab-pulse {
    0%   { opacity: 0.7; transform: scale(1); }
    70%  { opacity: 0;   transform: scale(1.22); }
    100% { opacity: 0;   transform: scale(1.22); }
}

/* Icon size */
.floating-actions__button svg {
    width: 22px;
    height: 22px;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

/* Tooltip label on hover */
.floating-actions__button[aria-label]::after {
    content: attr(aria-label);
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    background: rgba(10, 18, 30, 0.88);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    padding: 5px 10px;
    border-radius: 8px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s ease, transform 0.18s ease;
    backdrop-filter: blur(8px);
    letter-spacing: 0.01em;
}

.floating-actions__button:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

@media (max-width: 767.98px) {
    .floating-actions {
        right: 14px;
        bottom: 20px;
        gap: 8px;
    }

    .floating-actions__button {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .floating-actions__button svg {
        width: 20px;
        height: 20px;
    }

    .floating-actions__button[aria-label]::after {
        display: none;
    }
}

/* ── Footer Bottom Bar ─────────────────────────────────────── */
.site-footer__bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(3, 20, 38, 0.96);
}

.site-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 0 24px;
}

.site-footer__legal {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 24px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 13px;
    line-height: 1.6;
}

.site-footer__legal a {
    color: rgba(255, 255, 255, 0.65);
    transition: color 180ms ease;
}

.site-footer__legal a:hover {
    color: #ffffff;
}

.site-footer__socials {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
}

.site-footer__socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.88);
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-footer__socials a:hover {
    background: rgba(227, 135, 10, 0.2);
    color: #ffffff;
    transform: translateY(-1px);
}

.site-footer__socials svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 767.98px) {
    .site-footer__bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 0 22px;
    }

    .site-footer__legal {
        gap: 10px 18px;
    }
}

/* ════════════════════════════════════════════════════════════
   FOOTER PREMIUM REDESIGN
   ════════════════════════════════════════════════════════════ */

/* ── Wrapper: gradient bg + gold accent top line ───────────── */
.site-footer {
    position: relative;
    padding: 0;
    background: linear-gradient(160deg, #0e2d50 0%, #071f39 45%, #040e1c 100%);
    overflow: hidden;
}

/* Subtle radial light in top-right corner */
.site-footer::after {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(227,135,10,0.07) 0%, transparent 65%);
    pointer-events: none;
}

/* Gold accent line across the very top */
.site-footer__grid {
    position: relative;
    padding-top: 60px;
    padding-bottom: 60px;
}

.site-footer__grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(227,135,10,0.25) 15%,
        rgba(227,135,10,0.75) 40%,
        rgba(227,135,10,0.75) 60%,
        rgba(227,135,10,0.25) 85%,
        transparent 100%);
}

/* 4-column grid */
.site-footer__grid--four {
    grid-template-columns: 1.5fr 0.85fr 0.75fr 1.05fr;
    gap: 0 52px;
    align-items: start;
}

.site-footer__column {
    min-width: 0;
}

/* ── Brand column ──────────────────────────────────────────── */
.site-footer__column--brand {
    padding-right: 24px;
    border-right: 1px solid rgba(255,255,255,0.06);
}

.site-footer__brand {
    display: block;
    max-width: 180px;
    margin-bottom: 22px;
}

.site-footer__brand img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Registration / CN numbers — very subtle secondary text */
.site-footer__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: rgba(255, 255, 255, 0.28) !important;
    font-weight: 400 !important;
}

.site-footer__meta--stacked {
    gap: 3px;
    margin: 0 0 18px;
    font-size: 10.5px;
    line-height: 1.7;
    letter-spacing: .02em;
    font-family: 'Courier New', monospace;
}

/* Tagline */
.site-footer__tagline {
    margin: 0 0 24px;
    max-width: 28ch;
    color: rgba(255, 255, 255, 0.48);
    font-size: 13px;
    line-height: 1.85;
}

/* Mini social icons inside brand column */
.site-footer__brand-socials {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.site-footer__brand-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.55);
    border: 1px solid rgba(255,255,255,0.08);
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-footer__brand-socials a:hover {
    background: rgba(227,135,10,0.18);
    color: #fff;
    border-color: rgba(227,135,10,0.3);
}

.site-footer__brand-socials svg {
    width: 15px;
    height: 15px;
}

/* ── Column headings — gold overline label ─────────────────── */
.site-footer h3 {
    margin: 0 0 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--color-gold);
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(227,135,10,0.2);
}

/* ── Lists ─────────────────────────────────────────────────── */
.site-footer__list {
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
}

.site-footer__list li {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.site-footer__list li:last-child {
    border-bottom: none;
}

.site-footer__list li,
.site-footer__list a {
    display: block;
    padding: 9px 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 160ms ease, padding-left 160ms ease;
}

.site-footer__list a:hover {
    color: rgba(255, 255, 255, 0.95);
    padding-left: 6px;
}

/* ── CTA column — highlighted card ─────────────────────────── */
.site-footer__column--cta {
    padding: 0;
}

.site-footer__cta-card {
    background: linear-gradient(135deg, rgba(227,135,10,0.12) 0%, rgba(227,135,10,0.05) 100%);
    border: 1px solid rgba(227,135,10,0.25);
    border-radius: 16px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.site-footer__cta-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--color-gold);
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(227,135,10,0.2);
    margin-bottom: 2px;
}

.site-footer__cta-desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.75;
    color: rgba(255,255,255,0.55);
}

.site-footer__cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
    padding: 14px 22px;
    border-radius: 10px;
    background: linear-gradient(135deg, #e3870a 0%, #c97a08 100%);
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: .03em;
    text-decoration: none;
    box-shadow:
        0 4px 16px rgba(227,135,10,0.35),
        0 1px 0 rgba(255,255,255,0.12) inset;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.site-footer__cta-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 28px rgba(227,135,10,0.5),
        0 1px 0 rgba(255,255,255,0.12) inset;
}

/* ── Bottom bar ────────────────────────────────────────────── */
.site-footer__bottom-bar {
    margin-top: 0;
    background: rgba(2, 10, 22, 0.85);
    border-top: 1px solid rgba(255,255,255,0.07);
}

.site-footer__bottom-inner {
    padding: 18px 0 20px;
}

/* ── Tablet ≤ 1199px — 2×2 grid ───────────────────────────── */
@media (max-width: 1199.98px) {
    .site-footer__grid--four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 44px;
    }

    .site-footer__column--brand {
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        padding-bottom: 36px;
    }
}

/* ── Mobile ≤ 767px — single column ───────────────────────── */
@media (max-width: 767.98px) {
    .site-footer__grid {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .site-footer__grid--four {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .site-footer__column--brand {
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        padding-bottom: 32px;
    }

    .site-footer__tagline {
        max-width: none;
    }

    .site-footer h3 {
        margin-bottom: 16px;
    }

    .site-footer__cta-card {
        padding: 22px 20px;
    }

    .site-footer__bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 16px 0 20px;
    }

    .site-footer__legal {
        gap: 8px 16px;
    }
}
