/* --- Floating CTA Banner --- */
.footer-cta-container {
    position: relative;
    z-index: 10;
    margin-bottom: -60px; /* Pulls the dark footer background up behind it */
}

.footer-cta-box {
    background-color: #f4efde;
    /* Subtle striped gradient effect */
    background-image: repeating-linear-gradient(to right, transparent, transparent 40px, rgba(0,0,0,0.02) 40px, rgba(0,0,0,0.02) 80px);
    border-radius: 12px;
    display: flex;
    align-items: stretch; /* Ensures the image stretches to full height */
    overflow: hidden; /* Clips the background image to the rounded corners */
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.cta-content-wrapper {
    width: 70%; /* Takes up left side */
    padding: 40px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cta-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-icon {
    width: 75px;
    height: 75px;
    min-width: 75px; /* Prevents icon from squishing */
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid rgb(9 31 68);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #111;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.cta-text {
    font-size: 24px;
    font-weight: 800;
    color: #111;
    margin: 0;
    line-height: 1.3;
    font-family: var(--font-01);
}

.btn-gold {
    background-color: #dfb13b; /* Vértice Gold */
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s ease;
}

.btn-gold:hover {
    background-color: #c59828;
    color: #ffffff;
    transform: translateY(-2px);
}

/* The right-side image */
.cta-image-bg {
    width: 30%; /* Takes up remaining right side */
    background-size: cover;
    background-position: center;
    position: relative;
}

/* --- Main Dark Footer --- */
.custom-dark-footer {
    background-color: var(--color-2);
    padding-top: 130px; /* Space for the overlapping CTA */
    color: #b0b0b0;
}

.footer-main-row {
    padding-bottom: 60px;
}

.footer-heading {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 12px;
    font-family: var(--font-01);
}

/* The orange dash and dotted line effect */
.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-1);
}
.footer-heading::before {
    content: '';
    position: absolute;
    left: 35px;
    bottom: 0;
    width: 40px;
    height: 1px;
    border-bottom: 2px dotted #444;
}

/* --- Column 1: Newsletter --- */
.footer-desc {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-family: var(--font-01);
    font-weight: 600;
}

.newsletter-input-wrapper {
    position: relative;
    display: flex;
    background: #fff;
    border-radius: 10px;
    padding: 5px;
}

.newsletter-input-wrapper input {
    flex-grow: 1;
    border: none;
    background: transparent;
    padding: 15px 20px;
    border-radius: 10px;
    outline: none;
    color: #333;
    font-size: 16px;
}

.btn-newsletter-submit {
    background-color: var(--color-1);
    color: #fff;
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-top: 5px;
    transition: 0.3s;
}

.btn-newsletter-submit:hover {
    background-color: var(--color-2);
}

.urgent-service-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.urgent-service-box img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #fff;
}

.urgent-text span {
    display: block;
    font-size: 13px;
    color: #b0b0b0;
}

.urgent-text strong {
    display: block;
    font-size: 18px;
    color: #fff;
    font-weight: 700;
}

/* --- Column 2: Contact Info --- */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact-list li i {
    color: var(--color-1);
    font-size: 18px;
    margin-top: 4px;
}

.footer-contact-list li strong {
    display: block;
    color: #fff;
    font-size: 18px;
    margin-bottom: 3px;
    font-family: var(--font-01);
}

.footer-contact-list li p, .footer-contact-list li a {
    color: #b0b0b0;
    font-size: 16px;
    margin: 0;
    text-decoration: none;
    transition: 0.3s;
    font-family: var(--font-02);
}

.footer-contact-list li a:hover {
    color: var(--color-1);
}

/* --- Column 3: Links --- */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
    font-family: var(--font-02);
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--color-1);
    padding-left: 5px;
}

/* --- Column 4: Socials --- */
.footer-social-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-social-list li {
    margin-bottom: 15px;
}

.footer-social-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
    font-family: var(--font-02);
    font-weight: 600;
}

.footer-social-list a i {
    width: 38px;
    height: 38px;
    background-color: #fff;
    color: var(--color-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: 0.3s;
}

.footer-social-list a:hover i {
    background-color: var(--color-1);
    color: #fff;
}

/* --- Copyright Bar --- */
.footer-copyright {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 25px 0;
}

.copyright-text {
    margin: 0;
    font-size: 16px;
    font-family: var(--font-01);
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.footer-bottom-links li {
    position: relative;
}

.footer-bottom-links li:not(:last-child)::after {
    content: '•';
    color: var(--color-1);
    position: absolute;
    right: -10px;
    top: 0;
}

.footer-bottom-links a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
    font-family: var(--font-01);
}

.footer-bottom-links a:hover {
    color: var(--color-1);
}

/* --- Back to Top Button --- */
#scrollToTopBtn {
    position: absolute;
    right: 30px;
    bottom: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--color-1);
    color: #fff;
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    z-index: 99;
}

#scrollToTopBtn:hover {
    background-color: var(--color-2);
    transform: translateY(-3px);
}

/* --- Responsive Adjustments --- */
@media (max-width: 1199px) {
    .cta-content-wrapper {
        width: 100%;
        padding: 30px;
        flex-direction: column;
        text-align: center;
    }
    .cta-left {
        flex-direction: column;
    }
    .cta-image-bg {
        display: none; /* Hide image on tablets/mobile so text has room */
    }
}
@media (max-width: 991px) {
    .footer-cta-box {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    .cta-left {
        flex-direction: column;
    }
    .cta-text {
        font-size: 22px;
    }
    .footer-bottom-links {
        justify-content: center;
        margin-top: 10px;
    }
    #scrollToTopBtn {
        bottom: auto;
        top: -20px;
        right: 20px;
    }
}