/**
 * ============================================================
 * NOTICE FIX — Core Footprint Structural Optimization System
 * Location: /assets/css/footer.css
 * ============================================================
 */

/* Architecture Reset Tokens */
.nf-footer {
    background-color: var(--nf-ft-bg);
    color: var(--nf-ft-text-light);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    padding: 3rem 1.25rem 1.5rem 1.25rem;
    margin-top: 3.5rem;
    clear: both;
    box-sizing: border-box;
}

.nf-footer * {
    box-sizing: border-box;
}

/* Screen-Reader Engine Layout */
.nf-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Visibility Control Flags */
.nf-is-hidden {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* CTA Band Structural System */
.nf-footer__cta-band {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--nf-ft-border);
    border-radius: 8px;
    padding: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 2.5rem auto;
}

.nf-footer__cta-inner {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.nf-footer__cta-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 0.35rem 0;
    color: var(--nf-ft-text-light);
}

.nf-footer__cta-sub {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.nf-footer__cta-btns {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

/* Button UI Components Matrix */
.nf-footer__btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.15s ease;
    cursor: pointer;
    text-align: center;
}

.nf-footer__btn:focus-visible {
    outline: 3px solid var(--nf-ft-accent);
    outline-offset: 2px;
}

.nf-footer__btn--primary {
    background-color: var(--nf-ft-accent);
    color: var(--nf-ft-bg) !important;
}

.nf-footer__btn--primary:hover {
    background-color: #3cb0ba;
}

.nf-footer__btn--secondary {
    background: transparent;
    border: 1px solid rgba(77, 198, 208, 0.4);
    color: var(--nf-ft-accent) !important;
}

.nf-footer__btn--secondary:hover {
    background: rgba(77, 198, 208, 0.08);
}

.nf-footer__cta-tel {
    color: var(--nf-ft-text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nf-footer__cta-tel:hover,
.nf-footer__cta-tel:focus {
    color: var(--nf-ft-accent);
}

/* Disclaimer Architecture Component */
.nf-disclaimer {
    background: var(--nf-disc-bg);
    color: var(--nf-disc-text);
    padding: 1rem 1.25rem;
    text-align: center;
    font-size: 0.825rem;
    line-height: 1.5;
    max-width: 1200px;
    margin: 0 auto 2rem auto;
    border-radius: 6px;
}

/* Navigation System Layout */
.nf-footer__main {
    max-width: 1200px;
    margin: 0 auto 2.5rem auto;
}

.nf-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.nf-footer__col h3 {
    color: var(--nf-ft-accent);
    font-size: 0.875rem;
    margin: 0 0 1.25rem 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.75px;
}

.nf-footer__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nf-footer__col li {
    margin-bottom: 0.75rem;
}

.nf-footer__col a {
    display: inline-block;
    color: var(--nf-ft-text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.15s ease, padding-left 0.15s ease;
}

.nf-footer__col a:hover,
.nf-footer__col a:focus {
    color: var(--nf-ft-accent);
    padding-left: 2px;
}

.nf-footer__col a:focus-visible {
    outline: 2px dashed var(--nf-ft-accent);
    outline-offset: 4px;
}

/* Structured Interaction Elements */
.nf-footer__socials {
    display: flex;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
    flex-wrap: nowrap;
}

.nf-social {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nf-ft-text-light) !important;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.nf-social:hover,
.nf-social:focus {
    background-color: var(--nf-ft-accent);
    color: var(--nf-ft-bg) !important;
    transform: translateY(-2px);
}

.nf-social svg {
    width: 16px;
    height: 16px;
}

.nf-footer__direct-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nf-footer__contact-link {
    font-size: 0.875rem !important;
    color: var(--nf-ft-text-muted) !important;
}

/* Trust Bar Components System */
.nf-footer__brand-bar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 0;
    border-top: 1px solid var(--nf-ft-border);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-start;
}

.nf-footer__brand {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--nf-ft-text-light);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.nf-footer__brand-icon {
    background: var(--nf-ft-accent);
    color: var(--nf-ft-bg);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 800;
}

.nf-footer__tagline {
    font-size: 0.875rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.45);
}

.nf-footer__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.nf-badge {
    background: rgba(255, 255, 255, 0.04);
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.02);
}

/* Compliance Layer Component Rules */
.nf-footer__legal {
    padding: 2rem 0 1rem 0;
    border-top: 1px solid var(--nf-ft-border);
    max-width: 1200px;
    margin: 0 auto;
}

.nf-footer__legal-top {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.nf-footer__legal-logo-placeholder {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--nf-ft-text-light);
    letter-spacing: -0.5px;
}

.nf-footer__legal-logo-placeholder span {
    color: var(--nf-ft-accent);
}

.nf-footer__legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
}

.nf-footer__legal-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.825rem;
    transition: color 0.15s ease;
}

.nf-footer__legal-links a:hover,
.nf-footer__legal-links a:focus {
    color: var(--nf-ft-accent);
}

.nf-footer__copy {
    font-size: 0.75rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.4);
    margin: 1.5rem 0 0 0;
    text-align: left;
}

/* Floating HUD Component Framework */
.nf-floating-actions {
    position: fixed;
    bottom: calc(1.5rem + env(safe-area-inset-bottom));
    right: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 99990;
}

.nf-float-wa, 
.nf-scroll-top {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    transition: transform 0.25rem cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s ease, opacity 0.25s ease;
    border: none;
    cursor: pointer;
}

.nf-float-wa {
    background-color: var(--nf-wa-brand);
    color: var(--nf-ft-text-light) !important;
}

.nf-float-wa:hover {
    background-color: var(--nf-wa-brand-hover);
    transform: scale(1.08);
}

.nf-float-wa svg {
    width: 24px;
    height: 24px;
}

.nf-scroll-top {
    background-color: rgba(11, 37, 48, 0.95);
    color: var(--nf-ft-text-light);
    border: 1px solid var(--nf-ft-border);
    font-size: 1.25rem;
}

.nf-scroll-top:hover {
    background-color: var(--nf-ft-accent);
    color: var(--nf-ft-bg);
}

/* Privacy Consent System Rules */
.nf-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(11, 37, 48, 0.98);
    border-top: 1px solid var(--nf-ft-border);
    padding: 1.25rem;
    z-index: 99995;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nf-cookie-banner__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nf-cookie-banner__text {
    margin: 0;
    font-size: 0.825rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

.nf-cookie-banner__actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nf-cookie-banner__btn--accept {
    background-color: var(--nf-ft-accent);
    color: var(--nf-ft-bg);
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.825rem;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.nf-cookie-banner__btn--accept:hover {
    opacity: 0.9;
}

.nf-cookie-banner__link {
    color: var(--nf-ft-text-light);
    font-size: 0.825rem;
    text-decoration: underline;
}

/* Core Responsive Media Grid Orchestration Matrices */
@media (min-width: 640px) {
    .nf-footer__cta-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

@media (min-width: 768px) {
    .nf-footer {
        padding: 4rem 2rem 2rem 2rem;
    }
    .nf-footer__brand-bar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .nf-footer__legal-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .nf-cookie-banner__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .nf-cookie-banner__text {
        max-width: 75%;
    }
}