:root {
    --faq-primary: #087a68;
    --faq-primary-dark: #075e52;
    --faq-primary-light: #eaf8f3;

    --faq-heading: #15201d;
    --faq-text: #596273;

    --faq-white: #ffffff;
    --faq-border: #dce8e6;

    --faq-shadow:
        0 10px 28px rgba(20, 67, 61, 0.07);
}

/* =========================================
   MAIN SECTION
========================================= */

.faq-section {
    position: relative;
    width: 100%;

    padding: 62px 20px 68px;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(218, 244, 239, 0.24),
            transparent 36%
        ),
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f9fdfc 100%
        );
}

.faq-container {
    position: relative;
    z-index: 5;

    width: min(1240px, 100%);
    margin: 0 auto;
}

/* =========================================
   DECORATIONS
========================================= */

.faq-dot-pattern {
    position: absolute;

    width: 140px;
    height: 84px;

    opacity: 0.26;

    background-image:
        radial-gradient(
            var(--faq-primary) 3px,
            transparent 3px
        );

    background-size: 22px 22px;

    pointer-events: none;
}

.faq-dot-pattern-top {
    top: 25px;
    left: 20px;
}

.faq-dot-pattern-right {
    top: 145px;
    right: 22px;
}

.faq-circle-decoration {
    position: absolute;

    border: 1px solid rgba(7, 141, 125, 0.15);
    border-radius: 50%;

    pointer-events: none;
}

.faq-circle-decoration::before,
.faq-circle-decoration::after {
    content: "";
    position: absolute;

    border: 1px solid rgba(7, 141, 125, 0.12);
    border-radius: 50%;
}

.faq-circle-decoration-left {
    top: 170px;
    left: -145px;

    width: 260px;
    height: 260px;

    border-width: 32px;
    border-color: rgba(7, 141, 125, 0.06);
}

.faq-circle-decoration-left::before,
.faq-circle-decoration-left::after {
    display: none;
}

.faq-circle-decoration-top {
    top: -185px;
    right: -45px;

    width: 315px;
    height: 315px;
}

.faq-circle-decoration-top::before {
    inset: 30px;
}

.faq-circle-decoration-top::after {
    inset: 60px;
}

/* =========================================
   HEADING
========================================= */

.faq-heading {
    max-width: 950px;

    margin: 0 auto 30px;
    text-align: center;
}

.faq-badge {
    width: fit-content;

    margin: 0 auto 15px;
    padding: 0 18px 0 0;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: var(--faq-white);

    background:
        linear-gradient(
            135deg,
            var(--faq-primary-dark),
            #20a393
        );

    border-radius: 100px;

    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.7px;
    text-transform: uppercase;

    box-shadow:
        0 9px 22px rgba(7, 141, 125, 0.18);
}

.faq-badge-icon {
    width: 43px;
    height: 43px;

    margin: -4px 0 -4px -5px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--faq-white);
    background: var(--faq-primary);

    border: 5px solid #ffffff;
    border-radius: 50%;

    box-shadow:
        0 6px 16px rgba(7, 141, 125, 0.18);
}

.faq-badge-icon svg {
    width: 20px;
    height: 20px;
}

.faq-heading h2 {
    margin: 0;

    color: var(--title-color);

    font-family: var(--title-font);
    font-size: var(--title-size);
    font-weight: var(--title-weight);
    line-height: 1.15;
    letter-spacing: -1px;
}

.faq-heading h2 span {
    color: var(--faq-primary);
}

.faq-title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    margin-top: 14px;

    color: var(--faq-primary);
}

.faq-title-decoration svg {
    width: 22px;
    height: 22px;
}

.faq-title-line {
    width: 90px;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--faq-primary)
        );
}

.faq-title-line:last-child {
    background:
        linear-gradient(
            90deg,
            var(--faq-primary),
            transparent
        );
}

.faq-title-decoration i {
    width: 5px;
    height: 5px;

    background: var(--faq-primary);
    border-radius: 50%;
}

.faq-heading p {
    margin: 14px 0 0;

    color: var(--faq-text);

    font-size: 15px;
    line-height: 1.55;
}

/* =========================================
   FAQ INDEPENDENT COLUMNS
========================================= */

.faq-grid {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 20px;
}

.faq-column {
    min-width: 0;

    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* =========================================
   FAQ ITEM
========================================= */

.faq-item {
    position: relative;

    width: 100%;
    margin: 0;

    overflow: hidden;

    background: rgba(255, 255, 255, 0.96);

    border: 1px solid var(--faq-border);
    border-radius: 15px;

    box-shadow: var(--faq-shadow);

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(7, 141, 125, 0.26);

    box-shadow:
        0 14px 34px rgba(20, 67, 61, 0.1);
}

/* =========================================
   FAQ QUESTION
========================================= */

.faq-question-button {
    width: 100%;
    min-height: 82px;

    padding: 14px 18px;

    display: grid;
    grid-template-columns: 50px minmax(0, 1fr) 32px;
    align-items: center;
    gap: 13px;

    color: inherit;
    background: transparent;

    border: 0;

    text-align: left;
    cursor: pointer;
}

.faq-question-icon {
    width: 48px;
    height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--faq-primary);
    background: var(--faq-primary-light);

    border-radius: 50%;

    transition:
        transform 0.3s ease,
        background-color 0.3s ease;
}

.faq-question-icon svg {
    width: 27px;
    height: 27px;
}

.faq-question-text {
    color: var(--faq-heading);

    font-size: 15px;
    font-weight: 720;
    line-height: 1.35;
}

/* =========================================
   PLUS / MINUS
========================================= */

.faq-toggle-icon {
    position: relative;

    width: 30px;
    height: 30px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: var(--faq-primary-light);
    border-radius: 50%;

    transition:
        background-color 0.3s ease,
        transform 0.3s ease;
}

.faq-toggle-icon span {
    position: absolute;

    width: 12px;
    height: 2px;

    background: var(--faq-primary);
    border-radius: 10px;

    transition:
        transform 0.3s ease,
        background-color 0.3s ease;
}

.faq-toggle-icon span:last-child {
    transform: rotate(90deg);
}

/* =========================================
   FAQ ANSWER
========================================= */

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;

    opacity: 0;

    transition:
        grid-template-rows 0.38s ease,
        opacity 0.28s ease;
}

.faq-answer-inner {
    min-height: 0;
    overflow: hidden;

    padding: 0 20px 0 81px;
}

.faq-answer p {
    margin: 0;

    color: var(--faq-text);

    font-size: 12.5px;
    line-height: 1.65;
}

.faq-answer-line {
    display: block;

    width: 100%;
    height: 1px;

    margin-top: 13px;

    background: var(--faq-border);
}

/* =========================================
   OPEN STATE
========================================= */

.faq-item.active {
    border-color: rgba(7, 141, 125, 0.23);
}

.faq-item.active .faq-question-button {
    min-height: 72px;
    padding-bottom: 7px;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
    opacity: 1;
}

.faq-item.active .faq-answer-inner {
    padding-bottom: 15px;
}

.faq-item.active .faq-toggle-icon {
    color: #ffffff;
    background: var(--faq-primary);
}

.faq-item.active .faq-toggle-icon span {
    background: #ffffff;
}

.faq-item.active .faq-toggle-icon span:last-child {
    transform: rotate(0deg);
}

.faq-item.active .faq-question-icon {
    transform: scale(1.03);
}

/* =========================================
   SUPPORT CTA
========================================= */

.faq-support-card {
    position: relative;

    margin-top: 22px;
    padding: 18px 36px;

    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        1px
        minmax(280px, 0.72fr);

    align-items: center;
    gap: 30px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.98),
            rgba(240, 250, 248, 0.96)
        );

    border: 1px solid rgba(7, 141, 125, 0.2);
    border-radius: 16px;

    box-shadow:
        0 12px 30px rgba(20, 67, 61, 0.06);
}

.faq-support-decoration {
    position: absolute;

    right: -30px;
    bottom: -55px;

    width: 175px;
    height: 175px;

    opacity: 0.18;

    background-image:
        radial-gradient(
            var(--faq-primary) 3px,
            transparent 3px
        );

    background-size: 15px 15px;

    transform: rotate(-20deg);

    pointer-events: none;
}

.faq-support-left {
    display: flex;
    align-items: center;
    gap: 22px;
}

.faq-support-illustration {
    position: relative;

    width: 105px;
    height: 105px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #102a29;

    background:
        radial-gradient(
            circle,
            rgba(7, 141, 125, 0.17),
            rgba(7, 141, 125, 0.04) 65%,
            transparent 66%
        );

    border-radius: 50%;
}

.faq-headset-icon {
    width: 70px;
    height: 70px;
}

.faq-headset-icon svg {
    width: 100%;
    height: 100%;
}

.faq-chat-bubble {
    position: absolute;

    right: 8px;
    bottom: 18px;

    width: 40px;
    height: 29px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;

    background: var(--faq-primary);
    border-radius: 7px;

    box-shadow:
        0 7px 16px rgba(7, 141, 125, 0.18);
}

.faq-chat-bubble::after {
    content: "";

    position: absolute;

    left: 7px;
    bottom: -5px;

    border-width: 5px 5px 0 0;
    border-style: solid;
    border-color:
        var(--faq-primary)
        transparent
        transparent
        transparent;
}

.faq-chat-bubble i {
    width: 4px;
    height: 4px;

    background: #ffffff;
    border-radius: 50%;
}

.faq-support-copy {
    min-width: 0;
}

.faq-support-label {
    display: block;

    margin-bottom: 4px;

    color: var(--faq-primary);

    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.faq-support-copy h3 {
    margin: 0;

    color: var(--faq-heading);

    font-size: 22px;
    font-weight: 750;
    line-height: 1.25;
}

.faq-support-copy p {
    max-width: 390px;

    margin: 6px 0 0;

    color: var(--faq-text);

    font-size: 12.5px;
    line-height: 1.55;
}

.faq-support-divider {
    width: 1px;
    height: 62px;

    background: var(--faq-border);
}

.faq-support-action {
    position: relative;
    z-index: 2;

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

    text-align: center;
}

.faq-support-button {
    min-height: 42px;

    padding: 10px 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--faq-primary-dark),
            #20a393
        );

    border-radius: 100px;

    font-size: 13px;
    font-weight: 720;
    text-decoration: none;

    box-shadow:
        0 10px 22px rgba(7, 141, 125, 0.2);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.faq-support-button svg {
    width: 18px;
    height: 18px;
}

.faq-support-button:hover {
    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 14px 28px rgba(7, 141, 125, 0.26);
}

.faq-support-timing {
    display: block;

    margin-top: 9px;

    color: var(--faq-text);

    font-size: 11.5px;
}

/* =========================================
   LAPTOP
========================================= */

@media screen and (max-width: 1100px) {
    .faq-container {
        width: min(100%, 960px);
    }

    .faq-question-button {
        grid-template-columns:
            46px
            minmax(0, 1fr)
            30px;

        gap: 12px;
        padding: 13px 15px;
    }

    .faq-question-icon {
        width: 44px;
        height: 44px;
    }

    .faq-question-icon svg {
        width: 24px;
        height: 24px;
    }

    .faq-question-text {
        font-size: 14px;
    }

    .faq-answer-inner {
        padding-left: 72px;
        padding-right: 16px;
    }

    .faq-support-card {
        padding: 18px 26px;
        gap: 24px;
    }

    .faq-support-illustration {
        width: 95px;
        height: 95px;
    }
}

/* =========================================
   TABLET
========================================= */

@media screen and (max-width: 850px) {
    .faq-section {
        padding: 55px 18px 60px;
    }

    .faq-heading h2 {
        font-size: var(--title-size);
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .faq-column {
        gap: 12px;
    }

    .faq-question-button {
        min-height: 76px;
    }

    .faq-support-card {
        grid-template-columns: 1fr;
        gap: 20px;

        text-align: center;
    }

    .faq-support-left {
        justify-content: center;
    }

    .faq-support-divider {
        width: 100%;
        height: 1px;
    }

    .faq-support-action {
        align-items: center;
    }
}

/* =========================================
   MOBILE
========================================= */

@media screen and (max-width: 600px) {
    .faq-section {
        padding: 45px 14px 50px;
    }

    .faq-heading {
        margin-bottom: 25px;
    }

    .faq-badge {
        font-size: 10px;
    }

    .faq-badge-icon {
        width: 39px;
        height: 39px;

        border-width: 5px;
    }

    .faq-heading h2 {
        font-size: var(--title-size);
        letter-spacing: -1px;
    }

    .faq-title-line {
        width: 58px;
    }

    .faq-heading p {
        font-size: 13px;
    }

    .faq-item {
        border-radius: 13px;
    }

    .faq-question-button {
        min-height: 70px;

        grid-template-columns:
            42px
            minmax(0, 1fr)
            28px;

        gap: 9px;
        padding: 12px;
    }

    .faq-question-icon {
        width: 40px;
        height: 40px;
    }

    .faq-question-icon svg {
        width: 22px;
        height: 22px;
    }

    .faq-question-text {
        font-size: 13px;
    }

    .faq-toggle-icon {
        width: 27px;
        height: 27px;
    }

    .faq-toggle-icon span {
        width: 11px;
    }

    .faq-answer-inner {
        padding-left: 63px;
        padding-right: 13px;
    }

    .faq-answer p {
        font-size: 11.5px;
    }

    .faq-support-card {
        margin-top: 18px;
        padding: 22px 16px;
    }

    .faq-support-left {
        flex-direction: column;
        gap: 13px;
    }

    .faq-support-illustration {
        width: 90px;
        height: 90px;
    }

    .faq-headset-icon {
        width: 62px;
        height: 62px;
    }

    .faq-support-copy h3 {
        font-size: 21px;
    }

    .faq-support-copy p {
        font-size: 12px;
    }

    .faq-support-button {
        width: 100%;
    }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media screen and (max-width: 390px) {
    .faq-heading h2 {
        font-size: var(--title-size);
    }

    .faq-title-line {
        width: 40px;
    }

    .faq-question-button {
        grid-template-columns:
            38px
            minmax(0, 1fr)
            26px;

        gap: 8px;
        padding: 10px;
    }

    .faq-question-icon {
        width: 37px;
        height: 37px;
    }

    .faq-question-text {
        font-size: 12px;
    }

    .faq-answer-inner {
        padding-left: 55px;
        padding-right: 11px;
    }
}

/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {
    .faq-item,
    .faq-answer,
    .faq-question-icon,
    .faq-toggle-icon,
    .faq-toggle-icon span,
    .faq-support-button {
        transition: none !important;
    }

    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
    }
}