/* =============================================
   FONDOS TECH — Footer Styles
   ============================================= */

/* ---- Footer Container & CTA ---- */
footer[role="contentinfo"] {
    background: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.ft-footer-cta {
    padding: 4.5rem 0 3.5rem;
    position: relative;
    z-index: 2;
}

.ft-footer-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.ft-footer-cta-text h2 {
    color: var(--white);
    font-size: 2.125rem;
    font-weight: 700;
    line-height: 2.75rem;
    margin-bottom: 0.875rem;
}

.ft-footer-cta-text p {
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.625rem;
    opacity: 0.96;
    max-width: 600px;
    margin-bottom: 0;
}

.btn-schedule-demo {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    background: var(--white);
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25rem;
    padding: 1rem 2.25rem;
    border-radius: 2.5rem;
    border: none;
    box-shadow: 0 0.375rem 1.5rem 0 rgba(33, 37, 41, 0.08);
    transition: all var(--transition-base);
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
}

.btn-schedule-demo:hover {
    background: #f8fbff;
    transform: translateY(-2px);
    box-shadow: 0 0.625rem 2rem 0 rgba(33, 37, 41, 0.12);
}

.btn-schedule-demo img {
    width: 1.25rem;
    height: 1.25rem;
}

/* ---- Footer Body (Floating White Card Box) ---- */
.ft-footer-body-area {
    background: var(--primary-color);
}

.ft-footer-body {
    background: var(--white);
    border-radius: 1.5rem 1.5rem 0 0;
    padding: 2.5rem 3rem 1.5rem;
    box-shadow: 0 -0.9375rem 5rem 0 rgba(33, 37, 41, 0.08);
    position: relative;
    z-index: 3;
}

/* ---- Footer Top (Logo + Social) ---- */
.ft-footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eef0f1;
    margin-bottom: 2.5rem;
}

.ft-footer-logo img {
    height: 2.5rem;
    width: auto;
}

.ft-footer-social {
    display: flex;
    gap: 0.625rem;
}

.ft-footer-social a.d-none {
    display: none !important;
}

.ft-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    background: #ffffff;
    border: 1px solid #cee4fd;
    transition: all 0.3s ease;
    text-decoration: none;
}

.ft-footer-social a img {
    width: 1.125rem;
    height: 1.125rem;
    filter: brightness(0) saturate(100%) invert(32%) sepia(85%) saturate(1633%) hue-rotate(198deg) brightness(97%) contrast(96%);
    transition: filter 0.3s ease;
}

.ft-footer-social a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(8, 106, 216, 0.25);
    transform: translateY(-2px);
}

.ft-footer-social a:hover img {
    filter: brightness(0) invert(1);
}

/* ---- Footer Links Grid ---- */
.ft-footer-links {
    padding-bottom: 0.5rem;
}

.ft-footer-col-title {
    font-size: var(--font-size-base);
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.25rem;
}

.ft-footer-col-links a {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 400;
    color: var(--text-body);
    padding: 0.3125rem 0;
    transition: color var(--transition-fast);
}

.ft-footer-col-links a:hover {
    color: var(--primary-color);
}

.ft-footer-col-links a.d-none {
    display: none !important;
}

/* ---- Get in Touch ---- */
.ft-footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.ft-footer-contact-item img {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.ft-footer-contact-item a {
    font-size: var(--font-size-sm);
    color: var(--text-body);
}

.ft-footer-contact-item a:hover {
    color: var(--primary-color);
}

.ft-footer-locations-title {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--secondary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.ft-footer-locations {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.ft-footer-location {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: var(--font-size-sm);
    color: var(--text-body);
}

.ft-footer-location img {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

/* ---- Footer Bottom ---- */
.ft-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0 0;
    border-top: 1px solid var(--border-color);
}

.ft-footer-copyright {
    font-size: 13px;
    color: var(--text-muted);
}

.ft-footer-cin {
    font-size: 13px;
    color: var(--text-muted);
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
    .ft-footer-cta {
        padding: 3rem 0 2.25rem;
    }

    .ft-footer-cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
    }

    .ft-footer-cta-text h2 {
        font-size: 1.625rem;
        line-height: 2.125rem;
        text-align: center;
        margin-bottom: 0.75rem;
    }

    .ft-footer-cta-text p {
        max-width: 100%;
        font-size: 0.9375rem;
        line-height: 1.5rem;
        text-align: center;
    }

    .ft-footer-body {
        padding: 2rem 1.5rem 1.25rem;
        border-radius: 1.25rem 1.25rem 0 0;
    }

    .ft-footer-bottom {
        padding: 1.5rem 0 0;
    }

    .ft-footer-links {
        padding-bottom: 0.5rem;
    }
}

@media (max-width: 767.98px) {
    .ft-footer-cta {
        padding: 2.25rem 0 1.75rem;
    }

    .ft-footer-cta-text h2 {
        font-size: 1.375rem;
        line-height: 1.875rem;
    }

    .btn-schedule-demo {
        padding: 0.75rem 1.625rem;
        font-size: 0.9375rem;
    }

    .ft-footer-body {
        padding: 1.75rem 1.25rem 1rem;
    }

    .ft-footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.25rem;
        margin-bottom: 1.75rem;
        padding-bottom: 1.25rem;
    }

    .ft-footer-col-title {
        margin-bottom: 0.75rem;
    }

    .ft-footer-col-links a {
        padding: 0.25rem 0;
    }

    .ft-footer-locations {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.625rem;
    }

    .ft-footer-bottom {
        flex-direction: column;
        gap: 0.375rem;
        text-align: center;
        padding: 1.25rem 0 0;
    }
}