/* ===========================================
   FOOTER — Background image + integrated newsletter
   =========================================== */
.control-footer {
    position: relative;
    margin-top: 0;
    padding: 0 0 30px;
    overflow: hidden;
}

/* Parallax background image */
.control-footer-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* iOS Safari: background-attachment:fixed causes blank/broken bg */
@supports (-webkit-touch-callout: none) {
    .control-footer-bg {
        background-attachment: scroll;
    }
}
.control-footer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 30, 80, 0.88);
}

/* ── Newsletter bar (inside footer) ── */
.control-footer .newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 50px;
}
.control-footer .newsletter-inner h3 {
    font-size: 1.25rem;
    font-weight: 400;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
    margin: 0;
}
.control-footer .newsletter-inner h3 strong {
    font-weight: 800;
}
.control-footer .newsletter-form {
    display: flex;
    flex: 1;
    max-width: 520px;
}
.control-footer .newsletter-form input {
    flex: 1;
    padding: 0.95rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-right: none;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.06);
    color: #FFFFFF;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}
.control-footer .newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}
.control-footer .newsletter-form input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
}
.control-footer .newsletter-form .btn-primary {
    border-radius: 0;
    padding: 0.95rem 2rem;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ── Footer Grid ── */
.control-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.control-col {
    position: relative;
    padding-right: 2rem;
}

/* Clean vertical separators */
.control-col:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.control-logo img {
    margin-bottom: 1rem;
    transition: opacity 0.3s ease;
}

.control-logo:hover img {
    opacity: 0.85;
}

.control-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.control-heading {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.control-heading i {
    color: #4d88ff;
    font-size: 0.9rem;
}

.control-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.control-links a,
.control-links li {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 15px;
    line-height: 2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.control-links a i {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    width: 16px;
    text-align: center;
}

.control-links a:hover {
    color: #FFFFFF;
    transform: translateX(4px);
}

.control-links a:hover i {
    color: #FFFFFF;
}

.contact-info li {
    color: rgba(255, 255, 255, 0.55);
}

.contact-info li i {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    width: 16px;
    text-align: center;
}

.control-social {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.control-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.55);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.control-social a:hover {
    background: #002699;
    border-color: #002699;
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 38, 153, 0.3);
}

.control-handle {
    color: #4d88ff;
    font-size: 0.85rem;
    font-weight: 500;
}

.control-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.control-bottom p {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
    margin: 0;
}

.control-legal {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.control-legal a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.control-legal a:hover {
    color: #FFFFFF;
}

.control-legal .separator {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .control-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .control-col:nth-child(3)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .control-footer .newsletter-inner {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    .control-footer .newsletter-inner h3 {
        white-space: normal;
        font-size: 1.1rem;
    }
    .control-footer .newsletter-form {
        width: 100%;
        max-width: none;
    }

    .control-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .control-col::after {
        display: none;
    }

    .control-col {
        padding-right: 0;
    }

    .control-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .control-social a {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
}

@media (max-width: 600px) {
    .control-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .control-col {
        padding-right: 0;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .control-col::after {
        display: none;
    }

    .control-social {
        justify-content: center;
    }

    .control-footer .newsletter-form {
        flex-direction: column;
    }

    .control-footer .newsletter-form input {
        border-right: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 0;
    }

    .control-footer .newsletter-form .btn-primary {
        width: 100%;
        border-radius: 0;
    }
}

@media (max-width: 480px) {
    .control-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .control-col {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .control-social {
        justify-content: center;
    }

    .control-footer .newsletter-inner {
        gap: 1rem;
        padding: 2rem 0;
    }

    .control-footer .newsletter-inner h3 {
        font-size: 1rem;
    }
}
