/* =============================================================================
   FOOTER — Bottom section styles
   Loaded globally on every page via functions.php
   ============================================================================= */

.ap-footer {
    background: #0a0a0a;
    border-top: 1px solid rgba(249,140,31,0.12);
    padding: 5rem 1.5rem 2.5rem;
    font-family: 'Manrope', sans-serif;
}
.ap-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
}
.ap-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(249,140,31,0.10);
}
@media (max-width: 1024px) {
    .ap-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .ap-footer-grid { grid-template-columns: 1fr; }
}
.ap-footer-logo {
    display: flex; align-items: center; gap: 0.6rem;
    text-decoration: none; margin-bottom: 1.25rem;
}
.ap-footer-logo-text {
    font-size: 1.35rem; font-weight: 900;
    text-transform: uppercase; letter-spacing: -0.02em;
    color: #f8fafc;
}
.ap-orange { color: #f98c1f; }
.ap-footer-desc {
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.ap-footer-social {
    display: flex; gap: 0.75rem;
}
.ap-footer-social a {
    width: 2.5rem; height: 2.5rem;
    border-radius: 50%;
    border: 1px solid rgba(249,140,31,0.3);
    display: flex; align-items: center; justify-content: center;
    color: #f98c1f;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}
.ap-footer-social a:hover {
    background: rgba(249,140,31,0.18);
    border-color: #f98c1f;
}
.ap-footer-heading {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #f98c1f;
    margin: 0 0 1.5rem;
}
.ap-footer-links {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: 1rem;
}
.ap-footer-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}
.ap-footer-links a:hover { color: #f8fafc; }
.ap-footer-newsletter-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748b;
    margin: 0 0 1rem;
}
.ap-footer-form {
    display: flex; flex-direction: column; gap: 0.75rem;
}
.ap-footer-input {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    color: #f8fafc;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}
.ap-footer-input::placeholder { color: #475569; }
.ap-footer-input:focus {
    border-color: #f98c1f;
    box-shadow: 0 0 0 2px rgba(249,140,31,0.15);
}
.ap-footer-btn {
    background: #f98c1f;
    color: #000;
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: background 0.2s;
    font-family: inherit;
}
.ap-footer-btn:hover { background: #fff; }
.ap-footer-bottom {
    margin-top: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.ap-footer-bottom p {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #475569;
    margin: 0;
}
.ap-footer-legal {
    display: flex; gap: 1.5rem;
}
.ap-footer-legal a {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #475569;
    text-decoration: none;
    transition: color 0.2s;
}
.ap-footer-legal a:hover { color: #f98c1f; }

@media (max-width: 768px) {
    .ap-footer {
        padding: 3.5rem 1rem 2rem;
    }

    .ap-footer-grid {
        gap: 2rem;
        padding-bottom: 2rem;
    }

    .ap-footer-col {
        text-align: center;
    }

    .ap-footer-logo {
        justify-content: center;
    }

    .ap-footer-desc {
        max-width: 32rem;
        margin-left: auto;
        margin-right: auto;
    }

    .ap-footer-social,
    .ap-footer-links,
    .ap-footer-legal {
        justify-content: center;
    }

    .ap-footer-form {
        max-width: 28rem;
        margin: 0 auto;
    }

    .ap-footer-bottom {
        margin-top: 2rem;
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .ap-footer {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .ap-footer-logo img {
        height: 64px !important;
    }

    .ap-footer-bottom p,
    .ap-footer-legal a,
    .ap-footer-heading,
    .ap-footer-newsletter-label {
        letter-spacing: 0.08em;
    }

    .ap-footer-input,
    .ap-footer-btn {
        width: 100%;
    }

    .ap-footer-legal {
        gap: 1rem;
        flex-wrap: wrap;
    }
}
