/* ============================================
   FOOTER - 100% NEW DESIGN
   Futuristic Motorsport GUI
   ============================================ */

/* Note: Variables inherited from tokens.css */

/* ── Site Footer Container ── */
.site-footer {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, rgba(5, 5, 5, 1) 100%);
    position: relative;
    margin-top: 5rem;
}

/* Carbon Fiber Texture */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg,
            rgba(0, 0, 0, 0.05),
            rgba(0, 0, 0, 0.05) 2px,
            transparent 2px,
            transparent 4px);
    pointer-events: none;
    z-index: 1;
}

/* ── CTA Bar ── */
.footer-cta {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg,
            rgba(230, 0, 0, 0.15) 0%,
            rgba(20, 20, 20, 0.9) 50%,
            rgba(230, 0, 0, 0.1) 100%);
    border-top: 2px solid rgba(230, 0, 0, 0.5);
    box-shadow: 0 -4px 20px rgba(230, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    padding: 2.5rem 0;
}

.footer-cta h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.footer-cta .text-red {
    color: var(--color-primary);
    text-shadow: 0 0 15px rgba(230, 0, 0, 0.5);
}

.footer-cta p {
    font-family: var(--font-body);
}

.footer-cta .btn-primary {
    box-shadow: 0 0 25px rgba(230, 0, 0, 0.5), 0 4px 15px rgba(0, 0, 0, 0.3);
}

.footer-cta .btn-primary:hover {
    box-shadow: 0 0 35px rgba(230, 0, 0, 0.7), 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* ── Main Footer ── */
.main-footer {
    position: relative;
    z-index: 2;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-col {
    position: relative;
}

/* ── Footer Brand ── */
.footer-brand h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: white;
}

.footer-brand .text-red {
    color: var(--color-primary);
    text-shadow: 0 0 15px rgba(230, 0, 0, 0.4);
}

.footer-brand .text-xs {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

.footer-brand p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    /* mapped from --footer-text */
}

/* ── Social Icons ── */
.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(230, 0, 0, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.social-btn:hover {
    background: rgba(230, 0, 0, 0.2);
    border-color: rgba(230, 0, 0, 0.5);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(230, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-btn:hover::before {
    width: 100%;
    height: 100%;
}

.social-btn i {
    position: relative;
    z-index: 1;
}

/* ── Headings ── */
.footer-heading {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #E60000 0%, transparent 100%);
    box-shadow: 0 0 8px rgba(230, 0, 0, 0.5);
}

/* ── Links ── */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all var(--transition-fast);
    position: relative;
}

.footer-links a i {
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-links a:hover i {
    color: #FF3333;
    text-shadow: 0 0 10px rgba(255, 51, 51, 0.6);
}

/* ── Contact ── */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 0.75rem;
}

.footer-contact a {
    font-family: var(--font-body);
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
}

.footer-contact a:hover {
    color: white;
}

.footer-contact i {
    width: 20px;
    text-align: center;
}

.footer-contact .text-green {
    color: #00E676;
}

/* ── Bottom ── */
.footer-bottom {
    position: relative;
    z-index: 2;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.3);
}

.footer-bottom p {
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-family: var(--font-body);
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-legal a:hover {
    color: white;
}

/* ── Floating Action Buttons ── */
.float-menu-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.float-btn {
    display: flex;
    align-items: center;
    justify-content: center; /* Center by default */
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    color: white;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    padding: 0;
    text-decoration: none;
}

.float-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.float-btn:hover::before {
    width: 100%;
    height: 100%;
}

.float-btn i {
    position: relative;
    z-index: 1;
    min-width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.float-expanding {
    width: 56px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.float-label {
    display: none !important;
}

/* Specific Colors */
.float-check {
    background: linear-gradient(135deg, #E60000 0%, #990000 100%);
}
.float-check:hover {
    box-shadow: 0 6px 20px rgba(230, 0, 0, 0.4), 0 0 30px rgba(230, 0, 0, 0.3);
}

.float-line {
    background: linear-gradient(135deg, #00E676 0%, #00C853 100%);
}
.float-line:hover {
    box-shadow: 0 6px 20px rgba(0, 230, 118, 0.4), 0 0 30px rgba(0, 230, 118, 0.3);
}

.float-tel {
    background: linear-gradient(135deg, #00B0FF 0%, #0091EA 100%);
}
.float-tel:hover {
    box-shadow: 0 6px 20px rgba(0, 176, 255, 0.4), 0 0 30px rgba(0, 176, 255, 0.3);
}

/* Back to Top - Hidden by default, show on scroll */
.float-top {
    background: linear-gradient(135deg, #333 0%, #111 100%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}
.float-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.float-top:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.08);
}

/* ── Responsive Float Menu ── */
@media (max-width: 992px) {
    .float-menu-container {
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .float-menu-container {
        bottom: 1rem;
        right: 1rem;
        gap: 0.75rem;
    }

    .float-btn {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .float-btn {
        width: 44px;
        height: 44px;
    }
}
ver {
        width: 155px;
    }

    .float-label {
        font-size: 0.8rem;
    }
}