/* ==========================================================================
   Support Page
   ========================================================================== */

.support-page-bg {
    padding: 150px 0 64px;
    background: #f3f5f6;
}


/* ==========================================================================
   Page Heading
   ========================================================================== */

.support-page-header {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.support-page-bg .section-label {
    display: block;
    margin: 0 0 20px;

    color: #1277a0;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.2em;
    text-align: center;
    text-transform: uppercase;

    background: transparent;
    border: 0;
    box-shadow: none;
}

.support-page-bg .section-title,
.support-page-bg .support-page-title,
.support-page-bg h1 {
    margin: 0 0 22px;

    color: #0c2f50;
    font-family: "Roboto", sans-serif;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.support-page-bg .section-title span,
.support-page-bg .support-page-title span,
.support-page-bg h1 span {
    color: #1277a0;
}

.support-page-bg .section-subtitle,
.support-page-bg .support-page-subtitle {
    max-width: 760px;
    margin: 0 auto;

    color: rgba(12, 47, 80, 0.8);
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.65;
}


/* ==========================================================================
   Support Grid
   ========================================================================== */

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 46px;
}


/* ==========================================================================
   Support Card
   ========================================================================== */

.support-card {
    align-self: start;
    overflow: hidden;

    border: 1px solid rgba(12, 47, 80, 0.08);
    border-radius: 10px;
    background: #ffffff;

    box-shadow:
        0 8px 24px rgba(12, 47, 80, 0.04);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.support-card:hover {
    border-color: rgba(18, 119, 160, 0.18);

    box-shadow:
        0 10px 26px rgba(12, 47, 80, 0.05);
}

.support-card.is-open {
    border-color: rgba(18, 119, 160, 0.3);

    box-shadow:
        0 10px 28px rgba(12, 47, 80, 0.06);
}

.support-card-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    min-height: 92px;
    padding: 20px 22px;
}

.support-card-title {
    margin: 0;

    color: #0c2f50;
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}


/* ==========================================================================
   Toggle Button
   ========================================================================== */

.btn-support-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-height: 44px;
    padding: 10px 17px;

    appearance: none;
    -webkit-appearance: none;

    border: 1.5px solid rgba(18, 119, 160, 0.55);
    border-radius: 7px;
    background: #ffffff;

    color: #1277a0;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;

    cursor: pointer;
    box-shadow: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.btn-support-toggle:hover {
    border-color: #1277a0;
    background: #1277a0;
    color: #ffffff;
    box-shadow: none;
}

.btn-support-toggle:focus-visible {
    outline: none;
    border-color: #1277a0;

    box-shadow:
        0 0 0 3px rgba(18, 119, 160, 0.14);
}

.btn-support-toggle:active {
    border-color: #0f688d;
    background: #0f688d;
    color: #ffffff;
    box-shadow: none;
}

.btn-support-toggle[aria-expanded="true"] {
    border-color: #1277a0;
    background: #1277a0;
    color: #ffffff;
}

.btn-support-toggle::before,
.btn-support-toggle::after {
    display: none !important;
    content: none !important;
}

.support-toggle-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    color: currentColor;
    transition: transform 0.2s ease;
}

.btn-support-toggle[aria-expanded="true"]
.support-toggle-icon {
    transform: rotate(180deg);
}


/* ==========================================================================
   Expandable Panel
   ========================================================================== */

.support-card-panel {
    padding: 0 22px 22px;
    border-top: 1px solid rgba(12, 47, 80, 0.09);
}

.support-card-panel[hidden] {
    display: none;
}

.support-form {
    padding-top: 20px;
}


/* ==========================================================================
   Form Fields
   ========================================================================== */

.support-form-group {
    margin-bottom: 16px;
}

.support-form-group label {
    display: block;
    margin-bottom: 7px;

    color: #0c2f50;
    font-family: "Roboto", sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

.support-form-group label span {
    color: #dc3545;
}

.support-form-group input {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;

    border: 1px solid rgba(12, 47, 80, 0.2);
    border-radius: 6px;
    background: #ffffff;

    color: #0c2f50;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    line-height: 1.4;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.support-form-group input::placeholder {
    color: rgba(12, 47, 80, 0.48);
}

.support-form-group input:hover {
    border-color: rgba(18, 119, 160, 0.58);
}

.support-form-group input:focus {
    outline: none;
    border-color: #1277a0;

    box-shadow:
        0 0 0 3px rgba(18, 119, 160, 0.12);
}

.support-form-group input:invalid:not(:placeholder-shown) {
    border-color: rgba(220, 53, 69, 0.58);
}


/* ==========================================================================
   Submit Button
   ========================================================================== */

.btn-support-submit {
    width: 100%;
    min-height: 46px;
    margin-top: 5px;
    padding: 11px 17px;

    appearance: none;
    -webkit-appearance: none;

    border: 1px solid #1277a0;
    border-radius: 7px;
    background: #1277a0;

    color: #ffffff;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;

    cursor: pointer;
    box-shadow: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.btn-support-submit:hover {
    border-color: #0f688d;
    background: #0f688d;
    color: #ffffff;
    box-shadow: none;
}

.btn-support-submit:focus-visible {
    outline: none;
    border-color: #0f688d;

    box-shadow:
        0 0 0 3px rgba(18, 119, 160, 0.16);
}

.btn-support-submit:active {
    border-color: #0d5d7e;
    background: #0d5d7e;
    box-shadow: none;
}

.btn-support-submit::before,
.btn-support-submit::after {
    display: none !important;
    content: none !important;
}


/* ==========================================================================
   Direct Contact
   ========================================================================== */

.support-direct-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;

    max-width: 900px;
    margin: 42px auto 0;
    padding: 22px 26px;

    border: 1px solid rgba(18, 119, 160, 0.2);
    border-radius: 10px;
    background: #ffffff;

    box-shadow:
        0 8px 24px rgba(12, 47, 80, 0.035);
}

.support-direct-contact__content {
    min-width: 0;
}

.support-direct-contact h2 {
    margin: 0 0 6px;

    color: #0c2f50;
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

.support-direct-contact p {
    margin: 0;

    color: rgba(12, 47, 80, 0.72);
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    line-height: 1.55;
}

.support-email-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;

    min-height: 44px;
    padding: 10px 16px;

    border: 1px solid rgba(18, 119, 160, 0.45);
    border-radius: 7px;
    background: #ffffff;

    color: #1277a0;
    font-family: "Roboto", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.support-email-link:hover {
    border-color: #1277a0;
    background: #1277a0;
    color: #ffffff;
    box-shadow: none;
}

.support-email-link:focus-visible {
    outline: none;
    border-color: #1277a0;

    box-shadow:
        0 0 0 3px rgba(18, 119, 160, 0.14);
}

.support-email-link:active {
    border-color: #0f688d;
    background: #0f688d;
    color: #ffffff;
}

.support-email-link::before,
.support-email-link::after {
    display: none !important;
    content: none !important;
}


/* ==========================================================================
   Legal Note
   ========================================================================== */

.support-legal-note {
    max-width: 900px;
    margin: 20px auto 0;
    padding: 16px 20px;

    border: 1px solid rgba(12, 47, 80, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.65);
}

.support-legal-note p {
    margin: 0;

    color: rgba(12, 47, 80, 0.68);
    font-family: "Roboto", sans-serif;
    font-size: 12px;
    line-height: 1.65;
}

.support-legal-note a {
    color: #1277a0;
    font-weight: 700;

    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;

    box-shadow: none !important;
    background-image: none !important;
    border-bottom: none !important;

    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

.support-legal-note a:hover,
.support-legal-note a:focus {
    color: #0c2f50;
    opacity: 0.9;

    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;

    box-shadow: none !important;
    background-image: none !important;
    border-bottom: none !important;
}

.support-legal-note a::before,
.support-legal-note a::after {
    display: none !important;
    content: none !important;
}


/* ==========================================================================
   Legacy
   ========================================================================== */

.entry-id-badge {
    display: block;
    margin-top: 10px;

    color: rgba(12, 47, 80, 0.4);
    font-size: 11px;
    text-align: right;
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
    .support-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 768px) {
    .support-page-bg {
        padding: 140px 0 52px;
    }

    .support-page-bg .section-label {
        margin-bottom: 16px;
        font-size: 14px;
        letter-spacing: 0.18em;
    }

    .support-page-bg .section-title,
    .support-page-bg .support-page-title,
    .support-page-bg h1 {
        font-size: 34px;
        line-height: 1.2;
    }

    .support-page-bg .section-subtitle,
    .support-page-bg .support-page-subtitle {
        font-size: 17px;
    }

    .support-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 34px;
    }

    .support-card-summary {
        min-height: auto;
        padding: 18px;
    }

    .support-card-panel {
        padding-right: 18px;
        padding-bottom: 18px;
        padding-left: 18px;
    }

    .support-direct-contact {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        padding: 20px;
    }

    .support-email-link {
        justify-content: center;
    }
}


@media (max-width: 480px) {
    .support-page-bg {
        padding: 130px 0 42px;
    }

    .support-page-bg .section-label {
        margin-bottom: 14px;
        font-size: 13px;
        letter-spacing: 0.16em;
    }

    .support-page-bg .section-title,
    .support-page-bg .support-page-title,
    .support-page-bg h1 {
        font-size: 29px;
        line-height: 1.23;
    }

    .support-page-bg .section-subtitle,
    .support-page-bg .support-page-subtitle {
        font-size: 16px;
        line-height: 1.6;
    }

    .support-card-summary {
        align-items: stretch;
        flex-direction: column;
        gap: 15px;
    }

    .support-card-title {
        font-size: 18px;
    }

    .btn-support-toggle {
        width: 100%;
        min-height: 46px;
    }

    .btn-support-submit {
        min-height: 46px;
        font-size: 14px;
    }

    .support-email-link {
        width: 100%;
        min-height: 46px;
    }

    .support-legal-note {
        padding: 14px 16px;
    }

    .support-legal-note p {
        font-size: 12px;
    }
}