﻿/* =================================
   ARIONepc FAQ PAGE
================================= */

.faq-page {
    min-height: 500px;
    padding-bottom: 60px;
    background: #ffffff;
}


/* =================================
   HERO
================================= */

.faq-hero {
    width: calc(100% - 40px);
    max-width: 1450px;
    min-height: 210px;
    margin: 25px auto 35px;
    padding: 40px 55px;
    border-radius: 22px;
    background: linear-gradient( 115deg, #edf9f2 0%, #ffffff 55%, #eaf7f0 100% );
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}


    .faq-hero::before {
        content: "";
        position: absolute;
        width: 340px;
        height: 340px;
        border-radius: 50%;
        background: rgba(114,194,154,.08);
        left: -120px;
        top: -125px;
    }


    .faq-hero::after {
        content: "";
        position: absolute;
        width: 190px;
        height: 190px;
        border: 1px solid rgba(72,168,120,.10);
        border-radius: 50%;
        right: 10%;
        bottom: -110px;
    }


.faq-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}


.faq-badge {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 30px;
    background: rgba(114,194,154,.13);
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 13px;
}


.faq-hero h1 {
    margin: 0 0 10px;
    color: #26332d;
    font-size: 32px;
    font-weight: 800;
}


.faq-hero p {
    margin: 0;
    color: #6d7872;
    font-size: 14px;
    line-height: 2;
}


/* =================================
   CONTAINER
================================= */

.faq-container {
    width: calc(100% - 40px);
    max-width: 1050px;
    margin: auto;
}


/* =================================
   HEADING
================================= */

.faq-heading {
    margin-bottom: 20px;
}


    .faq-heading h2 {
        margin: 0 0 7px;
        color: var(--green-dark);
        font-size: 22px;
        font-weight: 800;
    }


    .faq-heading p {
        margin: 0;
        color: #7a8580;
        font-size: 12px;
    }


/* =================================
   FAQ LIST
================================= */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


/* =================================
   FAQ ITEM
================================= */

.faq-item {
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #ffffff;
    overflow: hidden;
    transition: .25s ease;
}


    .faq-item:hover {
        border-color: rgba(72,168,120,.28);
    }


    .faq-item.open {
        border-color: rgba(72,168,120,.38);
        box-shadow: 0 6px 20px rgba(40,70,55,.055);
    }


/* =================================
   QUESTION
================================= */

.faq-question {
    width: 100%;
    min-height: 62px;
    padding: 0 20px;
    border: none;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #303a35;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    text-align: right;
    cursor: pointer;
}


    .faq-question:hover {
        color: var(--green-dark);
    }


/* =================================
   ICON
================================= */

.faq-icon {
    width: 30px;
    min-width: 30px;
    height: 30px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-light);
    color: var(--green-dark);
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    transition: .25s ease;
}


.faq-item.open .faq-icon {
    background: var(--green-dark);
    color: #ffffff;
    transform: rotate(45deg);
}


/* =================================
   ANSWER
================================= */

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .3s ease;
}


    .faq-answer > p {
        overflow: hidden;
        margin: 0;
        padding: 0 20px;
        color: #707b75;
        font-size: 12px;
        line-height: 2;
        transition: padding .3s ease;
    }


.faq-item.open .faq-answer {
    grid-template-rows: 1fr;
}


    .faq-item.open .faq-answer > p {
        padding: 0 20px 18px;
    }


/* =================================
   CONTACT CTA
================================= */

.faq-contact {
    margin-top: 25px;
    padding: 20px;
    border: 1px solid #dcebe2;
    border-radius: 18px;
    background: #f2faf5;
    display: flex;
    align-items: center;
    gap: 14px;
}


.faq-contact-icon {
    width: 45px;
    min-width: 45px;
    height: 45px;
    border-radius: 13px;
    background: var(--green-dark);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
}


.faq-contact-content {
    flex: 1;
}


    .faq-contact-content h3 {
        margin: 0 0 5px;
        color: #334039;
        font-size: 14px;
    }


    .faq-contact-content p {
        margin: 0;
        color: #76817b;
        font-size: 11px;
    }


.faq-contact-btn {
    height: 42px;
    padding: 0 16px;
    border: 1px solid var(--green-dark);
    border-radius: 12px;
    background: var(--green-dark);
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
}


    .faq-contact-btn span {
        font-size: 16px;
    }


/* =================================
   TABLET
================================= */

@media (max-width: 900px) {

    .faq-container {
        width: calc(100% - 30px);
    }
}


/* =================================
   MOBILE
================================= */

@media (max-width: 600px) {

    .faq-hero {
        width: calc(100% - 16px);
        min-height: 185px;
        margin: 15px auto 25px;
        padding: 30px 22px;
        border-radius: 17px;
    }


        .faq-hero h1 {
            font-size: 26px;
        }


        .faq-hero p {
            font-size: 12px;
            line-height: 2;
        }


    .faq-container {
        width: calc(100% - 16px);
    }


    .faq-heading h2 {
        font-size: 19px;
    }


    .faq-heading p {
        font-size: 11px;
    }


    .faq-question {
        min-height: 60px;
        padding: 0 15px;
        font-size: 12px;
        gap: 12px;
    }


    .faq-icon {
        width: 28px;
        min-width: 28px;
        height: 28px;
    }


    .faq-answer > p {
        font-size: 11px;
        padding: 0 15px;
        line-height: 2.1;
    }


    .faq-item.open .faq-answer > p {
        padding: 0 15px 17px;
    }


    .faq-contact {
        padding: 16px;
        flex-wrap: wrap;
    }


    .faq-contact-content {
        min-width: calc(100% - 60px);
    }


    .faq-contact-btn {
        width: 100%;
        justify-content: center;
    }
}
