/* Auto Glass World - Insurance or self-pay (modules/global/global_payment.php) */
.agw-pay {
    padding: var(--agw-space-section) 0;
    background: var(--agw-color-cool);
}

.agw-pay-grid {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: var(--agw-gap);
    align-items: start;
}

.agw-pay-intro {
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.agw-pay-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

/* White card; every second card is brand blue (.is-alt). */
.agw-pay-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: var(--agw-card-pad);
    border: 1px solid var(--agw-color-cool-line);
    border-radius: 14px;
    background: var(--agw-color-white);
    transition: border-color 0.35s, box-shadow 0.45s;
}

.agw-pay-card:hover {
    border-color: #b7c3d8;
    box-shadow: 0 30px 60px -40px rgba(11, 30, 61, 0.35);
}

.agw-pay-card p,
.agw-pay-card h3 {
    margin: 0;
}

.agw-pay-kicker {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--agw-color-cool-line);
    color: var(--agw-color-primary);
    font-family: var(--agw-font-mono);
    font-size: var(--agw-fs-label);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.agw-pay-card h3 {
    color: var(--agw-color-navy);
    font-size: var(--agw-fs-title);
}

.agw-pay .agw-pay-text {
    font-size: var(--agw-fs-text);
    line-height: 1.55;
}

.agw-pay-checks {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 16px 0 0;
    border-top: 1px solid var(--agw-color-cool-line);
    list-style: none;
}

.agw-pay-checks li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--agw-color-navy);
    font-size: var(--agw-fs-text);
    line-height: 1.5;
}

.agw-pay-checks svg,
.agw-pay-note svg {
    flex: none;
    color: var(--agw-color-primary);
}

.agw-pay-checks svg {
    margin-top: 4px;
}

.agw-pay .agw-pay-btn {
    align-self: stretch;
    justify-content: space-between;
    margin-top: 6px;
}

.agw-pay-card.is-alt {
    border-color: var(--agw-color-primary);
    background: var(--agw-color-primary);
}

.agw-pay-card.is-alt h3,
.agw-pay-card.is-alt .agw-pay-checks li {
    color: var(--agw-color-white);
}

.agw-pay .agw-pay-card.is-alt .agw-pay-text {
    color: rgba(255, 255, 255, 0.9);
}

.agw-pay-card.is-alt .agw-pay-kicker,
.agw-pay-card.is-alt .agw-pay-checks svg {
    color: #d6e4fb;
}

.agw-pay-card.is-alt .agw-pay-kicker,
.agw-pay-card.is-alt .agw-pay-checks {
    border-color: rgba(255, 255, 255, 0.3);
}

.agw-pay .agw-pay-note {
    display: flex;
    grid-column: 1 / -1;
    gap: 10px;
    align-items: center;
    margin: 4px 0 0;
    font-size: var(--agw-fs-lead);
}

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

    .agw-pay-intro {
        position: static;
    }
}

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

@media (prefers-reduced-motion: reduce) {
    .agw-pay-card {
        transition: none;
    }
}
