/* Redesigned CTA Banner Component CSS */
.cta-banner-section {
    position: relative;
    background-color: #ffffff;
    overflow: visible;
    width: 100%;
    padding: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Subtle map pattern in the top-left white section */
.cta-banner-section::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 5%;
    width: 250px;
    height: 55px;
    background-image: url('../map.svg');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
    opacity: 0.07;
    pointer-events: none;
    z-index: 0;
    /* Promote to GPU compositing layer to prevent scroll repaints */
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

/* Top decorative orange strip with thin diagonal patterns */
.cta-top-orange-strip {
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 80px;
    background: repeating-linear-gradient(
        -45deg,
        #ff9e15,
        #ff9e15 10px,
        #ffa524 10px,
        #ffa524 20px
    );
    z-index: 1;
}

/* Main body - dark charcoal panel */
.cta-banner-body {
    margin-top: 80px;
    background-color: #141516; /* Deep charcoal background */
    position: relative;
    z-index: 2;
    padding: 70px 0;
    width: 100%;
    overflow: visible;
}

/* Subtle map pattern overlay inside the dark body */
.cta-banner-body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../map-white.svg'); /* Pre-inverted native white SVG */
    background-repeat: no-repeat;
    background-position: left 8% center;
    background-size: contain;
    opacity: 0.025; /* Very subtle glow */
    pointer-events: none;
    z-index: 1;
    /* Promote to GPU compositing layer to prevent scroll repaints */
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.cta-banner-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    align-items: center;
    overflow: visible;
}

/* Left Content Info block */
.cta-info-left {
    display: flex;
    flex-direction: column;
    z-index: 5;
    position: relative;
}

.cta-info-left h2 {
    color: #ffffff;
    font-size: 42px;
    font-weight: 850;
    line-height: 1.25;
    margin-bottom: 20px;
    max-width: 600px;
    letter-spacing: -0.5px;
    position: relative;
}

/* Glowing golden/orange circle behind the text */
.cta-info-left h2::after {
    content: '';
    position: absolute;
    top: 45%;
    left: 45%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 158, 21, 0.22) 0%, rgba(255, 158, 21, 0) 70%);
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
}

.cta-info-left .highlight-orange {
    color: #ff9e15; /* Brand orange */
}

.cta-text {
    color: #9ca3af;
    font-size: 15.5px;
    line-height: 1.65;
    margin-bottom: 35px;
    max-width: 520px;
}

/* Hotline Call Button */
.cta-phone-block {
    display: inline-block;
    position: relative;
    z-index: 6;
}

.cta-phone-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    width: fit-content;
}

.phone-icon-box {
    width: 54px;
    height: 54px;
    background-color: rgba(255, 158, 21, 0.08);
    border: 2px solid #ff9e15;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff9e15;
    font-size: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.phone-text-box {
    display: flex;
    flex-direction: column;
}

.phone-label {
    font-size: 11px;
    color: #9ca3af;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.8px;
}

.phone-number {
    font-size: 26px;
    font-weight: 800;
    color: #ff9e15;
    transition: color 0.3s ease;
    line-height: 1.1;
}

/* Hover States */
.cta-phone-link:hover .phone-icon-box {
    background-color: #ff9e15;
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 158, 21, 0.3);
}

.cta-phone-link:hover .phone-number {
    color: #ffffff;
}

/* Right Column with absolute alignment to overflow top and bottom */
.cta-image-right {
    position: absolute;
    right: 20px;
    bottom: 0;
    width: 42%;
    height: calc(100% + 80px); /* Height calculated to cover top strip */
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: visible;
    z-index: 10;
}

.cta-man-img {
    height: 100%;
    width: auto;
    object-fit: contain;
    object-position: bottom center;
    z-index: 12;
    display: block;
    transform: translateY(5px); /* Ensure visible bottom edge of the image touches the container boundary */
}

/* Responsive Design Styles */
@media (max-width: 1200px) {
    .cta-image-right {
        right: 0;
        width: 44%;
    }
}

@media (max-width: 1024px) {
    .cta-info-left h2 {
        font-size: 34px;
    }
    .cta-top-orange-strip {
        width: 50%;
    }
}

@media (max-width: 991px) {
    .cta-banner-section {
        overflow: hidden;
    }
    .cta-banner-section::after {
        display: none;
    }
    .cta-top-orange-strip {
        display: none; /* Hide top decorative stripe on mobile grid stack */
    }
    .cta-banner-body {
        margin-top: 0;
        padding: 50px 0;
        clip-path: none; /* Remove clip-path for cleaner mobile flow */
    }
    .cta-banner-body::after {
        background-position: center;
        opacity: 0.015;
    }
    .cta-banner-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .cta-info-left {
        align-items: center;
    }
    .cta-info-left h2 {
        font-size: 30px;
        max-width: 100%;
    }
    .cta-info-left h2::after {
        display: none; /* Hide heading glow inside stacked viewport */
    }
    .cta-text {
        max-width: 90%;
        margin-bottom: 30px;
    }
    .cta-phone-link {
        margin: 0 auto;
    }
    .cta-image-right {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        height: auto;
        max-width: 340px;
        margin: 0 auto;
        z-index: 5;
    }
    .cta-man-img {
        width: 100%;
        height: auto;
        transform: none;
    }
}

@media (max-width: 576px) {
    .cta-info-left h2 {
        font-size: 26px;
    }
    .phone-number {
        font-size: 22px;
    }
    .cta-banner-body {
        padding: 40px 0;
    }
}
