/* =========================================================
   LEGACY AV SOLUTIONS
   SUPPORT PAGE

   Page-specific styles for support.html.

   Shared website elements such as:
   - Header
   - Navigation
   - Footer
   - Global buttons
   - Brand colors
   - Reusable containers

   are handled by style.css.

   DESIGN DIRECTION:
   - Dark dramatic Support hero
   - Warm off-white introduction
   - Dark technical QR support section
   - Strong QR focal point
   - Deep navy final thank-you section
   - Sharp industrial edges
   - Consistent with Home, Our Story, Services,
     Reviews, and Contact
   ========================================================= */


/* =========================================================
   SUPPORT TYPOGRAPHY DETAILS
   ========================================================= */

/*
   Small branded labels use the same condensed display face
   established across Home, Our Story, Services, Reviews,
   and Contact.
*/

.support-hero .section-label,
.support-intro .section-label,
.support-card .section-label,
.support-thank-you .section-label {
    font-family: var(--font-display);

    font-weight: 800;
}


/* =========================================================
   1. SUPPORT HERO
   ========================================================= */

.support-hero {
    position: relative;

    padding: 115px 0 105px;

    background:
        radial-gradient(
            circle at 82% 35%,
            rgba(6, 75, 120, 0.26) 0%,
            rgba(6, 75, 120, 0.08) 30%,
            transparent 58%
        ),
        var(--color-dark);

    color: var(--brand-white);

    overflow: hidden;
}


/*
   Restrained red lighting balances the blue AV glow.
*/

.support-hero::before {
    content: "";

    position: absolute;

    width: 430px;
    height: 430px;

    left: -240px;
    bottom: -270px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(170, 50, 50, 0.14) 0%,
            transparent 70%
        );

    pointer-events: none;
}


.support-hero .section-container {
    position: relative;

    z-index: 1;
}


.support-hero-content {
    max-width: 820px;
}


.support-hero .section-label {
    color: var(--brand-red);
}


.support-hero h1 {
    margin-bottom: 1.4rem;

    color: var(--brand-white);

    font-size: clamp(3.5rem, 7vw, 5.5rem);

    font-weight: 900;

    line-height: 1.02;

    letter-spacing: 0.005em;
}


.support-hero-description {
    max-width: 720px;

    margin-bottom: 2rem;

    color: #e2e2df;

    font-size: 1.12rem;

    line-height: 1.8;
}


.support-hero-divider {
    width: 90px;

    height: 4px;

    background-color: var(--brand-red);
}


/* =========================================================
   2. SUPPORT INTRODUCTION
   ========================================================= */

.support-intro {
    padding-top: 115px;

    padding-bottom: 115px;

    background-color: var(--color-light-section);

    color: var(--color-light-section-text);

    border-top: 4px solid var(--brand-blue);
}


.support-intro-content {
    max-width: 850px;

    margin: 0 auto;

    text-align: center;
}


.support-intro-content h2 {
    margin-bottom: 1.25rem;

    color: var(--color-light-section-text);

    font-size: clamp(2.4rem, 4vw, 3.5rem);

    font-weight: 800;

    line-height: 1.08;

    letter-spacing: 0.005em;
}


/*
   Small red heading accent consistent with the
   redesigned pages.
*/

.support-intro-content h2::after {
    content: "";

    display: block;

    width: 72px;

    height: 4px;

    margin: 24px auto;

    background-color: var(--brand-red);
}


.support-intro-content p:not(.section-label) {
    max-width: 740px;

    margin-left: auto;

    margin-right: auto;

    color: var(--color-light-section-text-secondary);

    font-size: 1.05rem;

    line-height: 1.8;
}


.support-intro-content p:not(.section-label) + p {
    margin-top: 1rem;
}


/* =========================================================
   3. QR CODE SUPPORT SECTION
   ========================================================= */

/*
   This is the functional focal point of the Support page.

   Instead of another light section, the entire QR area
   uses a dark technical background to visually separate
   it from the introductory thank-you section.
*/

.support-qr-section {
    position: relative;

    padding-top: 120px;

    padding-bottom: 120px;

    /*
       Charcoal background separates the technical
       QR section from the navy thank-you section below.
       
       A very subtle blue glow keeps the AV lighting
       influence without making the entire section blue.
    */

    background:
        radial-gradient(
            circle at 88% 50%,
            rgba(6, 75, 120, 0.16) 0%,
            transparent 38%
        ),
        linear-gradient(
            135deg,
            #151619 0%,
            #1b1c20 52%,
            #111216 100%
        );

    color: var(--brand-white);

    border-top: 4px solid var(--brand-blue);

    overflow: hidden;
}

/*
   Subtle red lighting on the opposite side.
*/

.support-qr-section::before {
    content: "";

    position: absolute;

    width: 380px;
    height: 380px;

    left: -220px;
    bottom: -230px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(170, 50, 50, 0.12) 0%,
            transparent 70%
        );

    pointer-events: none;
}


.support-qr-section .section-container {
    position: relative;

    z-index: 1;
}


/* =========================================================
   4. SUPPORT CARD
   ========================================================= */

/*
   The Support card now resembles a dark technical panel
   rather than a rounded white corporate card.
*/

.support-card {
    position: relative;

    display: grid;

    grid-template-columns: 1.3fr 0.7fr;

    align-items: center;

    gap: 5rem;

    max-width: 1050px;

    margin: 0 auto;

    padding: 4rem;

    background:
        linear-gradient(
            145deg,
            #181a1e 0%,
            #111216 100%
        );

    border: 1px solid #35383e;

    border-top: 4px solid var(--brand-red);

    border-radius: 2px;

    overflow: hidden;

    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.24);
}


/*
   Additional subtle blue lighting inside the card.
*/

.support-card::after {
    content: "";

    position: absolute;

    width: 320px;
    height: 320px;

    right: -180px;
    bottom: -190px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(6, 75, 120, 0.26) 0%,
            transparent 70%
        );

    pointer-events: none;
}


.support-card > * {
    position: relative;

    z-index: 1;
}


/* =========================================================
   5. SUPPORT CARD TEXT
   ========================================================= */

.support-card-content .section-label {
    color: var(--brand-red);
}


.support-card-content h2 {
    max-width: 580px;

    margin-bottom: 1.25rem;

    color: var(--brand-white);

    font-size: clamp(2.2rem, 4vw, 3rem);

    font-weight: 800;

    line-height: 1.08;

    letter-spacing: 0.005em;
}


.support-card-content h2::after {
    content: "";

    display: block;

    width: 65px;

    height: 4px;

    margin-top: 22px;

    background-color: var(--brand-red);
}


.support-card-content p:not(.section-label) {
    max-width: 600px;

    margin-bottom: 1rem;

    color: #e2e2df;

    font-size: 1.03rem;

    line-height: 1.8;
}


/* =========================================================
   6. QR CODE AREA
   ========================================================= */

.support-qr-wrapper {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;
}


/*
   The temporary QR placeholder remains clearly
   temporary.

   Once the real QR code is supplied, this element can
   simply be replaced with the image.
*/

.support-qr-placeholder {
    position: relative;

    width: 240px;

    height: 240px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 1rem;

    background-color: #202226;

    border: 2px dashed var(--brand-blue-light);

    border-radius: 2px;

    text-align: center;

    box-shadow:
        inset 0 0 30px rgba(6, 75, 120, 0.10);

    transition:
        border-color 0.25s ease,
        background-color 0.25s ease;
}


.support-qr-placeholder:hover {
    border-color: var(--brand-red);

    background-color: #23262b;
}


.qr-placeholder-icon {
    width: 76px;

    height: 76px;

    display: flex;

    align-items: center;

    justify-content: center;

    background-color: var(--brand-red);

    color: var(--brand-white);

    border-radius: 2px;

    font-family: var(--font-display);

    font-size: 1.2rem;

    font-weight: 800;

    letter-spacing: 0.12em;
}


.support-qr-placeholder p {
    margin-bottom: 0;

    color: #e2e2df;

    font-size: 0.9rem;

    font-weight: 700;

    letter-spacing: 0.04em;
}


.support-qr-caption {
    margin-top: 1rem;

    margin-bottom: 0;

    color: var(--brand-white);

    font-family: var(--font-display);

    font-weight: 800;

    letter-spacing: 0.05em;

    text-transform: uppercase;
}


/* =========================================================
   7. ACTUAL QR CODE
   ========================================================= */

/*
   This class is ready for the actual QR image.

   When the owner supplies it, we can replace the
   placeholder HTML with:

   <img
       src="images/your-qr-code.png"
       alt="Scan to support Legacy AV Solutions"
       class="support-qr"
   >
*/

.support-qr {
    display: block;

    width: 240px;

    max-width: 100%;

    height: auto;

    padding: 10px;

    background-color: var(--brand-white);

    border: 2px solid var(--brand-white);

    border-radius: 2px;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.22);
}


/* =========================================================
   8. FINAL THANK-YOU SECTION
   ========================================================= */

/*
   The final thank-you section uses a deep navy treatment
   to create a strong closing transition from the QR area.
*/

.support-thank-you {
    position: relative;

    padding: 95px 0;

    background:
        linear-gradient(
            135deg,
            #071722 0%,
            #09283d 50%,
            #06304c 100%
        );

    color: var(--brand-white);

    border-top: 4px solid var(--brand-blue);

    text-align: center;

    overflow: hidden;
}


/*
   Restrained red lighting.
*/

.support-thank-you::before {
    content: "";

    position: absolute;

    width: 360px;
    height: 360px;

    left: -200px;
    top: -220px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(170, 50, 50, 0.14) 0%,
            transparent 70%
        );

    pointer-events: none;
}


/*
   Blue lighting on the opposite side.
*/

.support-thank-you::after {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -230px;
    bottom: -270px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(11, 101, 158, 0.20) 0%,
            transparent 70%
        );

    pointer-events: none;
}


.support-thank-you .section-container {
    position: relative;

    z-index: 1;
}


.support-thank-you-content {
    max-width: 780px;

    margin: 0 auto;
}


.support-thank-you .section-label {
    color: var(--brand-red);
}


.support-thank-you h2 {
    margin-bottom: 1.25rem;

    color: var(--brand-white);

    font-size: clamp(2.3rem, 4vw, 3.3rem);

    font-weight: 900;

    line-height: 1.05;

    letter-spacing: 0.005em;
}


.support-thank-you p:not(.section-label) {
    max-width: 680px;

    margin: 0 auto 2rem;

    color: #e2e2df;

    font-size: 1.05rem;

    line-height: 1.8;
}


/* =========================================================
   9. THANK-YOU BUTTON
   ========================================================= */

/*
   Uses the Legacy red CTA treatment to keep this section
   consistent with the rest of the website.
*/

.support-thank-you .button-primary {
    padding: 15px 32px;

    background-color: var(--brand-red);

    color: var(--brand-white);

    border: 1px solid var(--brand-red);

    border-radius: 2px;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease;
}


.support-thank-you .button-primary:hover {
    transform: translateY(-2px);

    background-color: var(--brand-red-hover);

    color: var(--brand-white);

    border-color: var(--brand-red-hover);
}


/* =========================================================
   10. TABLET RESPONSIVE DESIGN
   ========================================================= */

@media (max-width: 900px) {

    .support-hero {
        padding: 95px 0 85px;
    }


    /*
       The support card changes to a single-column layout.
    */

    .support-card {
        grid-template-columns: 1fr;

        gap: 3.5rem;

        padding: 3rem;

        text-align: center;
    }


    .support-card-content {
        max-width: 680px;

        margin: 0 auto;
    }


    .support-card-content h2::after {
        margin-left: auto;

        margin-right: auto;
    }

}


/* =========================================================
   11. MOBILE RESPONSIVE DESIGN
   ========================================================= */

@media (max-width: 600px) {

    .support-hero {
        padding: 75px 0 70px;
    }


    .support-hero h1 {
        font-size: 3rem;

        line-height: 1.03;

        letter-spacing: 0.005em;
    }


    .support-hero-description {
        font-size: 1rem;

        line-height: 1.75;
    }


    .support-intro {
        padding-top: 80px;

        padding-bottom: 80px;
    }


    .support-intro-content h2 {
        font-size: 2rem;

        line-height: 1.08;
    }


    .support-qr-section {
        padding-top: 80px;

        padding-bottom: 80px;
    }


    .support-card {
        padding: 2rem 1.5rem;

        gap: 2.75rem;
    }


    .support-card-content h2 {
        font-size: 2rem;

        line-height: 1.08;
    }


    .support-qr-placeholder {
        width: 205px;

        height: 205px;
    }


    .support-qr {
        width: 205px;
    }


    .support-thank-you {
        padding: 75px 0;
    }


    .support-thank-you h2 {
        font-size: 2rem;

        line-height: 1.08;
    }


    .support-thank-you .button-primary {
        width: 100%;

        text-align: center;
    }

}


/* =========================================================
   12. REDUCED MOTION ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .support-qr-placeholder,
    .support-thank-you .button-primary {
        transition: none;
    }


    .support-thank-you .button-primary:hover {
        transform: none;
    }

}