/* Shared support section + floating call action. Scoped to gm-support-* only. */
:root {
    --gm-support-navy: #17254B;
    --gm-support-blue: #29477F;
    --gm-support-yellow: #FFD84D;
    --gm-support-white: #FFFFFF;
    --gm-support-bg: #F3F5F9;
}

.gm-support-section {
    width: min(100% - 32px, 1180px);
    margin: 36px auto 30px;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid rgba(23, 37, 75, .045);
    border-radius: 28px;
    background: var(--gm-support-bg);
    color: var(--gm-support-navy);
    direction: rtl;
}

.gm-support-section__container {
    width: 100%;
    max-width: 1080px;
    margin-inline: auto;
}

.gm-support-section__header {
    margin: 0 auto 26px;
    text-align: center;
}

.gm-support-section__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 27px;
    margin-bottom: 8px;
    padding: 3px 12px;
    border-radius: 999px;
    background: rgba(255, 216, 77, .25);
    color: var(--gm-support-blue);
    font-size: 12px;
    font-weight: 700;
}

.gm-support-section__header h2 {
    margin: 0;
    color: var(--gm-support-navy);
    font-size: clamp(21px, 2.2vw, 28px);
    font-weight: 800;
    line-height: 1.55;
}

.gm-support-section__header p {
    margin: 7px 0 0;
    color: #64708A;
    font-size: 14px;
    line-height: 1.9;
}

.gm-support-services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.gm-support-service {
    display: flex;
    min-width: 0;
    min-height: 148px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 16px;
    border: 1px solid rgba(23, 37, 75, .055);
    border-radius: 20px;
    background: var(--gm-support-white);
    box-shadow: 0 8px 24px rgba(23, 37, 75, .035);
    text-align: center;
}

.gm-support-service__icon {
    display: inline-flex;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    background: rgba(255, 216, 77, .22);
    color: var(--gm-support-navy);
}

.gm-support-service__content {
    min-width: 0;
}

.gm-support-service h3 {
    margin: 0;
    color: var(--gm-support-navy);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.6;
}

.gm-support-service p {
    max-width: 290px;
    margin: 5px 0 0;
    color: #69758D;
    font-size: 13px;
    line-height: 1.85;
}

.gm-support-section__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.gm-support-phone,
.gm-support-cta {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.gm-support-phone {
    border: 1px solid rgba(23, 37, 75, .12);
    background: var(--gm-support-white);
    color: var(--gm-support-navy);
}

.gm-support-cta {
    min-width: 158px;
    border: 1px solid var(--gm-support-yellow);
    background: var(--gm-support-yellow);
    color: var(--gm-support-navy);
}

.gm-support-phone:hover,
.gm-support-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(23, 37, 75, .10);
}

.gm-support-phone:focus-visible,
.gm-support-cta:focus-visible,
.gm-floating-contact:focus-visible {
    outline: 3px solid var(--gm-support-blue);
    outline-offset: 4px;
}

.gm-floating-contact {
    position: fixed;
    z-index: 8;
    right: max(24px, env(safe-area-inset-right));
    bottom: max(24px, env(safe-area-inset-bottom));
    display: flex;
    width: 224px;
    height: 56px;
    align-items: center;
    gap: 9px;
    padding: 5px 7px 5px 13px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: var(--gm-support-navy);
    box-shadow: 0 10px 28px rgba(23, 37, 75, .24);
    color: var(--gm-support-white);
    direction: rtl;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transform: translate3d(0, 0, 0);
    opacity: 1;
    visibility: visible;
    transition: transform .24s ease, opacity .2s ease, visibility .2s ease;
    will-change: transform, opacity;
}

.gm-floating-contact__icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gm-support-yellow);
    color: var(--gm-support-navy);
}

.gm-floating-contact__label {
    display: block;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    color: var(--gm-support-white);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
    text-overflow: clip;
    white-space: nowrap;
    opacity: 1;
    transform: translateY(0);
    transition: opacity .16s ease, transform .16s ease;
}

.gm-floating-contact__label.is-changing {
    opacity: 0;
    transform: translateY(-5px);
}

.gm-floating-contact__arrow {
    display: inline-flex;
    width: 16px;
    height: 22px;
    flex: 0 0 16px;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .78);
}

.gm-floating-contact.is-hidden {
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 14px, 0);
}

@media (max-width: 1023px) {
    .gm-floating-contact {
        right: max(12px, env(safe-area-inset-right));
        bottom: calc(76px + env(safe-area-inset-bottom));
        width: 206px;
        height: 48px;
        gap: 8px;
        padding: 4px 6px 4px 11px;
    }

    .gm-floating-contact__icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .gm-floating-contact__icon svg {
        width: 20px;
        height: 20px;
    }

    .gm-floating-contact__label {
        font-size: 13px;
    }
}

@media (max-width: 600px) {
    .gm-support-section {
        width: calc(100% - 24px);
        margin: 26px auto 22px;
        padding: 24px 14px;
        border-radius: 22px;
    }

    .gm-support-section__header {
        margin-bottom: 18px;
    }

    .gm-support-section__header p {
        font-size: 13px;
    }

    .gm-support-services {
        grid-template-columns: minmax(0, 1fr);
        gap: 9px;
    }

    .gm-support-service {
        min-height: 76px;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 13px;
        padding: 12px;
        border-radius: 16px;
        text-align: right;
    }

    .gm-support-service__icon {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
        border-radius: 14px;
    }

    .gm-support-service__icon svg {
        width: 30px;
        height: 30px;
    }

    .gm-support-service h3 {
        font-size: 14px;
    }

    .gm-support-service p {
        margin-top: 2px;
        font-size: 11.5px;
        line-height: 1.7;
    }

    .gm-support-section__actions {
        gap: 9px;
        margin-top: 18px;
    }

    .gm-support-phone,
    .gm-support-cta {
        min-height: 44px;
        padding: 9px 14px;
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .gm-floating-contact {
        right: max(10px, env(safe-area-inset-right));
        width: 194px;
    }

    .gm-support-section__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .gm-support-phone,
    .gm-support-cta {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gm-floating-contact,
    .gm-floating-contact__label,
    .gm-support-phone,
    .gm-support-cta {
        transition: none !important;
        transform: none;
    }
}
