/* Auto Glass World - Final call to action (modules/global/global_cta.php) */
.agw-cta {
    position: relative;
    overflow: hidden;
    padding: clamp(80px, 11vw, 170px) 0 var(--agw-space-section);
}

/* Optional photo, blended light into the blue. */
.agw-cta-media {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    mix-blend-mode: screen;
}

.agw-cta-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agw-cta-in {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px 48px;
    align-items: end;
}

/* Title: .agw-display (same size as every section title); second line indented as in the design. */

/* The <em> line (after a <br>) is indented and light blue. */
.agw-cta-title em {
    padding-left: 0.6em;
    color: var(--agw-color-ice);
}

.agw-cta .agw-lead {
    margin-top: 22px;
}

.agw-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    min-width: 240px;
}

.agw-cta-actions .btn {
    justify-content: space-between;
}

/* Call button on blue: darker blue with a white outline. */
.agw-cta .agw-cta-call {
    padding: 5px 5px 5px 24px;
    border: 2px solid var(--agw-color-white);
    background: var(--agw-color-primary-dark);
    color: var(--agw-color-white);
}

.agw-cta .agw-cta-call .btn-disc {
    width: 42px;
    height: 42px;
    background: var(--agw-color-white);
    color: var(--agw-color-primary);
}

.agw-cta .agw-cta-call:hover,
.agw-cta .agw-cta-call:focus-visible {
    background: var(--agw-color-navy);
    color: var(--agw-color-white);
}

@media (max-width: 767px) {
    .agw-cta-in {
        grid-template-columns: minmax(0, 1fr);
    }

    .agw-cta-title em {
        padding-left: 0;
    }

    .agw-cta-actions {
        min-width: 0;
    }
}
