/* =========================================================
   MegVolt Tech Website
   Version: 0.2 — Modular Rebuild

   File:
   /assets/css/home/quote.css

   Purpose:
   - Homepage closing quotation CTA
   - Metallic dark-red visual treatment
   - Responsive CTA layout

   Dependencies:
   - /assets/css/main.css
   - /modules/home/quote.php
   ========================================================= */


/* =========================================================
   1. SECTION
   ========================================================= */

.home-quote {
    position: relative;

    width: 100%;

    padding-top: clamp(3.5rem, 5vw, 5rem);
    padding-bottom: clamp(3.5rem, 5vw, 5rem);

    background:
        linear-gradient(
            180deg,
            #101010 0%,
            #0d0d0d 100%
        );
}


/* =========================================================
   2. CTA PANEL
   ========================================================= */

.home-quote__panel {
    position: relative;

    display: grid;

    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(250px, 0.55fr);

    align-items: center;

    gap: clamp(2rem, 5vw, 5rem);

    min-height: 310px;

    padding:
        clamp(2.5rem, 5vw, 4.5rem);

    overflow: hidden;

    background:
        radial-gradient(
            circle at 76% 45%,
            rgba(255, 255, 255, 0.075) 0%,
            rgba(255, 255, 255, 0.018) 18%,
            rgba(255, 255, 255, 0) 42%
        ),
        linear-gradient(
            120deg,
            #2c0b0e 0%,
            #491217 28%,
            #6b181e 52%,
            #481116 76%,
            #24090c 100%
        );

    border:
        1px solid rgba(255, 255, 255, 0.09);

    border-radius: var(--radius-lg);

    box-shadow:
        0 24px 55px rgba(0, 0, 0, 0.24);
}


/* metallic highlight */

.home-quote__panel::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            128deg,
            rgba(255, 255, 255, 0.055) 0%,
            rgba(255, 255, 255, 0.018) 22%,
            rgba(255, 255, 255, 0) 22.3%,
            rgba(255, 255, 255, 0) 100%
        );

    pointer-events: none;
}


/* dark edge on right */

.home-quote__panel::after {
    content: "";

    position: absolute;

    top: 0;
    right: 0;

    width: 34%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.16) 100%
        );

    pointer-events: none;
}


/* =========================================================
   3. CONTENT
   ========================================================= */

.home-quote__content {
    position: relative;
    z-index: 2;

    max-width: 820px;
}

.home-quote__eyebrow {
    margin-bottom: var(--space-4);

    color: rgba(255, 255, 255, 0.72);

    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.4;

    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.home-quote__title {
    max-width: 780px;

    margin-bottom: var(--space-5);

    color: var(--color-white);

    font-size:
        clamp(
            2rem,
            3.4vw,
            3.35rem
        );

    font-weight: 800;
    line-height: 1.08;

    letter-spacing: -0.04em;
}

.home-quote__description {
    max-width: 690px;

    margin: 0;

    color: rgba(255, 255, 255, 0.68);

    font-size: clamp(0.95rem, 1.15vw, 1.05rem);
    line-height: 1.72;
}


/* =========================================================
   4. ACTION AREA
   ========================================================= */

.home-quote__action {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: var(--space-4);
}

.home-quote__button {
    min-width: 210px;
    min-height: 54px;

    padding-inline: 1.8rem;

    background: var(--color-white);
    border-color: var(--color-white);

    color: var(--color-black);

    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.18);
}

.home-quote__button:hover,
.home-quote__button:focus-visible {
    color: var(--color-white);

    background: var(--color-black);
    border-color: var(--color-black);

    box-shadow:
        0 14px 34px rgba(0, 0, 0, 0.28);
}

.home-quote__button > span {
    color: var(--color-red);

    transition:
        transform var(--transition-fast);
}

.home-quote__button:hover > span,
.home-quote__button:focus-visible > span {
    transform: translateX(4px);
}


/* =========================================================
   5. CONTACT LINE
   ========================================================= */

.home-quote__contact {
    margin: 0;

    color: rgba(255, 255, 255, 0.62);

    font-size: 0.8rem;
    line-height: 1.5;
}

.home-quote__contact strong {
    color: var(--color-white);

    font-weight: 700;
}


/* =========================================================
   6. DECORATIVE ACCENTS
   ========================================================= */

.home-quote__accent {
    position: absolute;

    display: block;

    border-radius: 50%;

    pointer-events: none;
}

.home-quote__accent--one {
    right: -90px;
    top: -120px;

    width: 310px;
    height: 310px;

    border:
        1px solid rgba(255, 255, 255, 0.07);
}

.home-quote__accent--two {
    right: 95px;
    bottom: -160px;

    width: 300px;
    height: 300px;

    border:
        1px solid rgba(255, 255, 255, 0.045);
}


/* =========================================================
   7. TABLET
   ========================================================= */

@media (max-width: 900px) {

    .home-quote__panel {
        grid-template-columns: 1fr;

        gap: var(--space-8);

        min-height: 0;
    }

    .home-quote__content {
        max-width: 720px;
    }

    .home-quote__action {
        max-width: 420px;
    }

    .home-quote__panel::after {
        width: 48%;
    }

}


/* =========================================================
   8. MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .home-quote {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .home-quote__panel {
        gap: var(--space-6);

        padding:
            2.25rem
            1.5rem;

        border-radius: var(--radius-md);
    }

    .home-quote__title {
        font-size:
            clamp(
                1.85rem,
                9vw,
                2.45rem
            );
    }

    .home-quote__description {
        font-size: 0.95rem;
    }

    .home-quote__action {
        width: 100%;
    }

    .home-quote__button {
        width: 100%;
    }

}


/* =========================================================
   9. SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .home-quote__panel {
        padding:
            2rem
            1.25rem;
    }

    .home-quote__accent--one {
        right: -150px;
    }

}