/* =====================================================
   ERTHIOX PREMIUM FOOTER
   ===================================================== */

.erthiox-footer {
    background: #0d0f14;
    color: #fff;
    padding: 80px 0 0;
    margin-top: 80px;
    font-family: 'Inter', 'Roboto', sans-serif;
    position: relative;
    overflow: hidden;
}

.erthiox-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(197, 168, 128, 0.5) 30%, rgba(197, 168, 128, 0.8) 50%, rgba(197, 168, 128, 0.5) 70%, transparent);
}

/* Ambient glow blobs */
.erthiox-footer::after {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(197, 168, 128, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

/* ── Top CTA Band ── */
.footer-cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 0 0 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    flex-wrap: wrap;
}

.footer-cta-text h2 {
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 8px;
    color: #fff;
    letter-spacing: -0.5px;
}

.footer-cta-text p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.footer-cta-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.footer-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    background: linear-gradient(135deg, #C5A880 0%, #B89047 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(197, 168, 128, 0.25);
    white-space: nowrap;
}

.footer-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(197, 168, 128, 0.4);
}

.footer-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.footer-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
}

/* ── Main Link Grid ── */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 48px;
    padding: 56px 0 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 8px;
}

.footer-logo-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.3px;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.65;
    margin-bottom: 28px;
}

.footer-socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

.footer-social-btn:hover {
    background: rgba(197, 168, 128, 0.15);
    border-color: rgba(197, 168, 128, 0.3);
    color: #C5A880;
    transform: translateY(-2px);
}

.footer-social-btn .material-symbols-outlined {
    font-size: 18px;
}

.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.35);
    margin: 0 0 20px;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-col ul li a {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-col ul li a .material-symbols-outlined {
    font-size: 15px;
    opacity: 0.6;
}

.footer-badge-new {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 100px;
    background: linear-gradient(135deg, #C5A880, #B89047);
    color: #fff;
    letter-spacing: 0.5px;
    vertical-align: middle;
}

/* ── Stats Bar ── */
.footer-stats-bar {
    display: flex;
    gap: 0;
    padding: 32px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    overflow-x: auto;
}

.footer-stat {
    flex: 1;
    min-width: 140px;
    text-align: center;
    padding: 0 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-stat:last-child {
    border-right: none;
}

.footer-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 6px;
}

.footer-stat-value span {
    background: linear-gradient(135deg, #C5A880, #B89047);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-stat-label {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* ── Bottom Bar ── */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 0 32px;
    flex-wrap: wrap;
}

.footer-bottom-left {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.28);
    line-height: 1.5;
}

.footer-bottom-left a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-left a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.28);
}

.footer-bottom-right .material-symbols-outlined {
    font-size: 14px;
    color: #C5A880;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 36px;
    }
    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: start;
        gap: 24px;
    }
    .footer-tagline {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .erthiox-footer {
        padding: 60px 0 0;
        margin-top: 60px;
    }
    .footer-inner {
        padding: 0 20px;
    }
    .footer-cta-band {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding-bottom: 40px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
    .footer-brand {
        grid-column: 1 / -1;
        display: block;
    }
    .footer-stats-bar {
        flex-wrap: wrap;
        gap: 0;
    }
    .footer-stat {
        flex: 1 1 calc(50% - 1px);
        padding: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }
    .footer-stat:nth-child(even) {
        border-right: none;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-cta-actions {
        width: 100%;
    }
    .footer-btn-primary,
    .footer-btn-secondary {
        flex: 1;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-stat {
        flex: 1 1 100%;
        border-right: none;
    }
}
