/* =========================================================
   MUSON KLIN GO LAUNDRY
   FAQ PAGE
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {
    --primary: #43076b;
    --primary-dark: #2d0649;
    --primary-light: #6d2995;

    --pink: #e8bfdc;
    --pink-light: #f9eafa;
    --pink-soft: #fdf3fb;

    --yellow: #f7c928;

    --white: #ffffff;

    --text: #251532;
    --text-muted: #706579;

    --border: #eadfee;

    --container: 1280px;

    --shadow-sm: 0 8px 30px rgba(67, 7, 107, 0.08);
    --shadow-md: 0 20px 60px rgba(67, 7, 107, 0.12);
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        "Segoe UI",
        Arial,
        sans-serif;

    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(
        calc(100% - 80px),
        var(--container)
    );

    margin-inline: auto;
}


/* =========================================================
   BUTTON
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 50px;
    padding: 14px 25px;

    border-radius: 999px;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);

    box-shadow:
        0 10px 25px
        rgba(67, 7, 107, 0.20);
}

.btn-primary:hover {
    background: var(--primary-dark);

    box-shadow:
        0 14px 30px
        rgba(67, 7, 107, 0.25);
}

.btn-white {
    background: var(--white);
    color: var(--primary);

    box-shadow:
        0 10px 25px
        rgba(67, 7, 107, 0.15);
}

.btn-white:hover {
    background: var(--pink-light);
}


/* =========================================================
   NAVBAR
   STANDARD HEADER
========================================================= */

.navbar {
    position: relative;
    z-index: 2000;

    background: var(--pink);

    border-bottom:
        1px solid
        rgba(67, 7, 107, 0.08);
}

.navbar-inner {
    min-height: 112px;

    display: grid;

    grid-template-columns:
        auto
        1fr
        auto;

    align-items: center;

    column-gap: 50px;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
    width: 112px;
    height: 112px;

    flex-shrink: 0;
}

.logo img {
    width: 112px;
    height: 112px;

    display: block;

    object-fit: cover;
}


/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

.nav-menu {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 38px;

    white-space: nowrap;

    min-width: 0;
}

.nav-menu a {
    position: relative;

    color: var(--text);

    font-size: 14px;
    font-weight: 600;

    transition:
        color 0.25s ease;
}

.nav-menu a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    border-radius: 999px;

    background: var(--primary);

    transition:
        width 0.25s ease;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a:hover::after {
    width: 100%;
}


/* ACTIVE */

.nav-menu a.active {
    color: var(--primary);
    font-weight: 700;
}

.nav-menu a.active::after {
    width: 100%;
}


/* =========================================================
   NAVBAR CTA
========================================================= */

.navbar-button {
    flex-shrink: 0;

    white-space: nowrap;

    min-height: 50px;
    padding: 14px 25px;

    font-size: 14px;
}


/* =========================================================
   MOBILE NAV ELEMENTS
========================================================= */

.menu-toggle,
.menu-close,
.menu-overlay {
    display: none;
}


/* =========================================================
   SECTION LABEL
========================================================= */

.section-label {
    width: fit-content;

    display: inline-flex;
    align-items: center;

    padding: 9px 16px;

    border-radius: 999px;

    background: var(--pink-light);

    color: var(--primary);

    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   FAQ HERO
========================================================= */

.faq-hero {
    position: relative;
    overflow: hidden;

    padding:
        105px 0
        100px;

    text-align: center;

    background:
        radial-gradient(
            circle at 15% 30%,
            rgba(235, 198, 232, 0.45),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 20%,
            rgba(249, 234, 250, 0.9),
            transparent 32%
        ),
        var(--white);
}

.faq-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faq-hero h1 {
    max-width: 850px;

    margin-top: 24px;

    color: var(--text);

    font-size:
        clamp(
            48px,
            5.5vw,
            72px
        );

    line-height: 1.02;

    letter-spacing: -3px;

    font-weight: 800;
}

.faq-hero h1 span {
    display: block;
    color: var(--primary-light);
}

.faq-hero p {
    max-width: 650px;

    margin-top: 25px;

    color: var(--text-muted);

    font-size: 17px;
    line-height: 1.75;
}


/* =========================================================
   FAQ SECTION
========================================================= */

.faq-section {
    padding:
        95px 0
        110px;

    background: var(--pink-soft);
}

.faq-layout {
    display: grid;

    grid-template-columns:
        0.75fr
        1.25fr;

    gap: 100px;

    align-items: start;
}


/* =========================================================
   FAQ LEFT
========================================================= */

.faq-heading {
    position: sticky;
    top: 30px;
}

.faq-heading h2 {
    max-width: 450px;

    margin-top: 22px;

    color: var(--text);

    font-size:
        clamp(
            38px,
            4vw,
            54px
        );

    line-height: 1.05;

    letter-spacing: -2px;

    font-weight: 800;
}

.faq-heading h2 span {
    display: block;
    color: var(--primary-light);
}

.faq-heading p {
    max-width: 430px;

    margin-top: 20px;

    color: var(--text-muted);

    font-size: 15px;
    line-height: 1.75;
}

.faq-heading .btn {
    margin-top: 28px;
}


/* =========================================================
   FAQ LIST
========================================================= */

.faq-list {
    display: flex;
    flex-direction: column;

    gap: 12px;
}


/* =========================================================
   FAQ ITEM
========================================================= */

.faq-item {
    overflow: hidden;

    border:
        1px solid
        var(--border);

    border-radius: 18px;

    background: var(--white);

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.faq-item:hover {
    border-color:
        rgba(109, 41, 149, 0.25);
}

.faq-item[open] {
    border-color:
        rgba(109, 41, 149, 0.28);

    box-shadow:
        var(--shadow-sm);
}


/* =========================================================
   FAQ SUMMARY
========================================================= */

.faq-item summary {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 25px;

    padding:
        24px 26px;

    cursor: pointer;

    list-style: none;

    color: var(--text);

    font-size: 16px;
    font-weight: 700;

    transition:
        color 0.25s ease,
        background 0.25s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::marker {
    display: none;
}


/* QUESTION */

.faq-item summary span {
    flex: 1;
}


/* PLUS */

.faq-item summary b {
    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    background: var(--pink-light);

    color: var(--primary);

    font-size: 20px;
    font-weight: 500;

    line-height: 1;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}


/* OPEN ICON */

.faq-item[open] summary b {
    transform:
        rotate(45deg);

    background: var(--primary);
    color: var(--white);
}


/* OPEN QUESTION */

.faq-item[open] summary {
    color: var(--primary);
}


/* =========================================================
   FAQ ANSWER
========================================================= */

.faq-answer {
    padding:
        0 26px
        25px;
}

.faq-answer p {
    max-width: 720px;

    padding-top: 20px;

    border-top:
        1px solid
        var(--border);

    color: var(--text-muted);

    font-size: 14px;
    line-height: 1.8;
}


/* =========================================================
   CTA
========================================================= */

.faq-cta {
    padding:
        0 0
        100px;

    background: var(--pink-soft);
}

.cta-box {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 50px;

    padding:
        55px 60px;

    border-radius: 32px;

    background:
        linear-gradient(
            135deg,
            var(--pink) 0%,
            #e4acd5 100%
        );
}

.cta-box h2 {
    max-width: 700px;

    margin-top: 18px;

    color: var(--text);

    font-size:
        clamp(
            34px,
            4vw,
            52px
        );

    line-height: 1.05;

    letter-spacing: -2px;

    font-weight: 800;
}

.cta-box h2 span {
    display: block;
    color: var(--primary-light);
}

.cta-box p {
    margin-top: 12px;

    color: var(--text-muted);

    font-size: 15px;
}

.cta-box .btn {
    flex-shrink: 0;
}


/* =========================================================
   FOOTER STANDARD
========================================================= */

.footer {
    background: #ffffff;

    border-top:
        1px solid
        #eadfee;
}

.footer-inner {
    min-height: 105px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.footer strong {
    display: block;

    color: #43076b;

    font-size: 16px;
    font-weight: 800;
}

.footer p {
    color: #706579;
    font-size: 12px;
}

.footer-inner > div p {
    margin-top: 3px;
}

.footer-copy {
    text-align: right;
}


/* =========================================================
   RESPONSIVE
========================================================= */


/* =========================================================
   1200px
========================================================= */

@media (max-width: 1200px) {

    .container {
        width:
            min(
                calc(100% - 48px),
                var(--container)
            );
    }

    .navbar-inner {
        column-gap: 30px;
    }

    .nav-menu {
        gap: 28px;
    }

    .faq-layout {
        gap: 70px;
    }
}


/* =========================================================
   1100px
========================================================= */

@media (max-width: 1100px) {

    .navbar-inner {
        column-gap: 25px;
    }

    .nav-menu {
        gap: 22px;
    }

    .nav-menu a {
        font-size: 13px;
    }

    .faq-layout {
        gap: 55px;
    }
}


/* =========================================================
   1000px
========================================================= */

@media (max-width: 1000px) {

    .faq-layout {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .faq-heading {
        position: static;
        max-width: 700px;
    }

    .faq-heading h2 {
        max-width: 600px;
    }

    .faq-heading p {
        max-width: 600px;
    }

    .cta-box {
        gap: 35px;
    }
}


/* =========================================================
   900px
========================================================= */

@media (max-width: 900px) {

    .navbar-inner {
        min-height: 90px;
        column-gap: 20px;
    }

    .logo,
    .logo img {
        width: 90px;
        height: 90px;
    }

    .nav-menu {
        gap: 15px;
    }

    .nav-menu a {
        font-size: 12px;
    }

    .navbar-button {
        min-height: 46px;
        padding: 13px 18px;
        font-size: 12px;
    }

    .faq-hero {
        padding:
            80px 0;
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* =========================================================
   700px
   MOBILE NAVBAR
========================================================= */

@media (max-width: 700px) {

    .container {
        width:
            min(
                calc(100% - 24px),
                var(--container)
            );
    }


    /* =====================================================
       NAVBAR
    ===================================================== */

    .navbar {
        position: relative;
        z-index: 2000;

        padding: 10px 0 8px;
    }

    .navbar-inner {
        width: calc(100% - 24px);

        min-height: 0;

        display: flex;

        align-items: center;
        justify-content: space-between;

        column-gap: 12px;
    }


    /* =====================================================
       MOBILE LOGO
    ===================================================== */

    .logo {
        width: 62px;
        height: 62px;
    }

    .logo img {
        width: 62px;
        height: 62px;
    }


    /* =====================================================
       HAMBURGER
    ===================================================== */

    .menu-toggle {
        width: 42px;
        height: 42px;

        display: flex;

        align-items: center;
        justify-content: center;

        flex-shrink: 0;

        border: 0;
        border-radius: 12px;

        background: var(--primary);
        color: var(--white);

        font-size: 28px;
        line-height: 1;

        cursor: pointer;

        transition:
            background 0.25s ease,
            transform 0.25s ease;
    }

    .menu-toggle:hover {
        background: var(--primary-dark);
        transform: translateY(-1px);
    }


    /* =====================================================
       DESKTOP CTA HIDDEN
    ===================================================== */

    .navbar-button {
        display: none;
    }


    /* =====================================================
       MOBILE SIDE MENU
    ===================================================== */

    .nav-menu {
        position: fixed;

        top: 0;
        right: 0;

        width: min(82vw, 340px);
        height: 100dvh;

        margin: 0;
        padding:
            90px 25px
            30px;

        display: flex;

        flex-direction: column;

        align-items: flex-start;
        justify-content: flex-start;

        gap: 0;

        background: var(--primary);

        box-shadow:
            -15px 0 40px
            rgba(45, 6, 73, 0.20);

        transform: translateX(100%);

        visibility: hidden;

        transition:
            transform 0.3s ease,
            visibility 0.3s ease;

        overflow-y: auto;

        z-index: 3000;
    }

    .nav-menu.active {
        transform: translateX(0);
        visibility: visible;
    }


    /* =====================================================
       CLOSE BUTTON
    ===================================================== */

    .menu-close {
        position: absolute;

        top: 20px;
        right: 20px;

        width: 42px;
        height: 42px;

        display: flex;

        align-items: center;
        justify-content: center;

        border: 0;
        border-radius: 50%;

        background: rgba(255, 255, 255, 0.12);

        color: var(--white);

        font-size: 28px;
        font-weight: 300;

        line-height: 1;

        cursor: pointer;

        transition:
            background 0.25s ease,
            transform 0.25s ease;
    }

    .menu-close:hover {
        background: rgba(255, 255, 255, 0.20);
        transform: rotate(90deg);
    }


    /* =====================================================
       MOBILE LINKS
    ===================================================== */

    .nav-menu a {
        width: 100%;

        display: block;

        padding: 15px 0;

        color: var(--white);

        font-size: 18px;
        font-weight: 600;

        white-space: normal;
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-menu a:hover {
        color: var(--pink);
    }

    .nav-menu a.active {
        color: var(--white);
        font-weight: 700;
    }


    /* =====================================================
       OVERLAY
    ===================================================== */

    .menu-overlay {
        position: fixed;

        inset: 0;

        display: block;

        background:
            rgba(37, 21, 50, 0.55);

        opacity: 0;
        visibility: hidden;

        pointer-events: none;

        transition:
            opacity 0.3s ease,
            visibility 0.3s ease;

        z-index: 2500;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    body.menu-open {
        overflow: hidden;
    }


    /* =====================================================
       HERO
    ===================================================== */

    .faq-hero {
        padding:
            65px 0
            70px;
    }

    .faq-hero h1 {
        font-size: 43px;
        letter-spacing: -2px;
    }

    .faq-hero p {
        font-size: 15px;
    }


    /* =====================================================
       FAQ
    ===================================================== */

    .faq-section {
        padding:
            70px 0
            80px;
    }

    .faq-heading h2 {
        font-size: 40px;
        letter-spacing: -1.5px;
    }

    .faq-item summary {
        padding: 20px;
        font-size: 14px;
    }

    .faq-answer {
        padding:
            0 20px
            20px;
    }

    .faq-answer p {
        font-size: 13px;
    }


    /* =====================================================
       CTA
    ===================================================== */

    .faq-cta {
        padding-bottom: 70px;
    }

    .cta-box {
        padding:
            38px 28px;
    }

    .cta-box h2 {
        font-size: 38px;
    }


    /* =====================================================
       FOOTER
    ===================================================== */

    .footer-inner {
        min-height: auto;

        padding:
            25px 0;

        flex-direction: column;

        align-items: flex-start;

        gap: 8px;
    }

    .footer-copy {
        text-align: left;
    }
}


/* =========================================================
   480px
========================================================= */

@media (max-width: 480px) {

    .faq-hero h1 {
        font-size: 38px;
    }

    .faq-heading h2 {
        font-size: 35px;
    }

    .cta-box h2 {
        font-size: 35px;
    }

    .faq-item summary b {
        width: 30px;
        height: 30px;

        font-size: 18px;
    }
}


/* =========================================================
   380px
========================================================= */

@media (max-width: 380px) {

    .navbar-inner {
        width: calc(100% - 20px);
    }

    .logo,
    .logo img {
        width: 58px;
        height: 58px;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;

        font-size: 26px;
    }

    .nav-menu {
        width: 84vw;

        padding-left: 22px;
        padding-right: 22px;
    }

    .nav-menu a {
        font-size: 17px;
    }

    .faq-hero h1 {
        font-size: 35px;
    }

    .faq-heading h2 {
        font-size: 32px;
    }

    .cta-box h2 {
        font-size: 32px;
    }
}
