
/* =========================================
   SENSTECH FAQ
========================================= */

.senstech-faq {
    position: relative;
    padding: clamp(4.5rem, 8vw, 7.5rem) 0;
    background: #f6f9f6;
    color: #20372c;
    font-family: 'Inter', sans-serif;
    scroll-margin-top: 110px;
}

.senstech-faq__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: clamp(3rem, 7vw, 7rem);
}

/* Introduction */

.senstech-faq__intro {
    position: sticky;
    top: 120px;
}

.senstech-faq__eyebrow {
    margin: 0 0 1.25rem;
    color: #0f6a4a;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.5;
}

.senstech-faq__heading {
    max-width: 470px;
    margin: 0 0 1.25rem;
    color: #173b2d;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.13;
}

.senstech-faq__description {
    max-width: 430px;
    margin: 0;
    color: #627168;
    font-size: 0.98rem;
    line-height: 1.85;
}

/* Contact prompt */

.senstech-faq__contact {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 2.5rem;
    padding: 1.5rem;
    border: 1px solid #e1e9e2;
    border-radius: 12px;
    background: #ffffff;
}

.senstech-faq__contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: #edf5ef;
    color: #0f6a4a;
}

.senstech-faq__contact-copy {
    min-width: 0;
}

.senstech-faq__contact-copy h3 {
    margin: 0 0 0.5rem;
    color: #173b2d;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
}

.senstech-faq__contact-copy > p {
    margin: 0 0 1rem;
    color: #627168;
    font-size: 0.86rem;
    line-height: 1.75;
}

.senstech-faq__contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #0f6a4a;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.senstech-faq__contact-link:hover {
    color: #0b543b;
}

.senstech-faq__contact-link:focus-visible {
    outline: 2px solid #0f6a4a;
    outline-offset: 4px;
    border-radius: 2px;
}

/* Accordion list */

.senstech-faq__list {
    min-width: 0;
    border-top: 1px solid #dce6de;
}

.senstech-faq__item {
    border-bottom: 1px solid #dce6de;
}

.senstech-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.45rem 0;
    color: #20372c;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.65;
    list-style: none;
    cursor: pointer;
}

.senstech-faq__question::-webkit-details-marker {
    display: none;
}

.senstech-faq__question::marker {
    content: '';
}

.senstech-faq__question > span:first-child {
    flex: 1;
}

/* Plus/minus icon */

.senstech-faq__toggle {
    position: relative;
    display: block;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border: 1px solid #dce6de;
    border-radius: 50%;
    background: #ffffff;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.senstech-faq__toggle::before,
.senstech-faq__toggle::after {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 10px;
    height: 1.5px;
    border-radius: 2px;
    background: #0f6a4a;
    content: '';
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease;
}

.senstech-faq__toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.senstech-faq__item[open] .senstech-faq__toggle {
    border-color: #0f6a4a;
    background: #0f6a4a;
}

.senstech-faq__item[open] .senstech-faq__toggle::before,
.senstech-faq__item[open] .senstech-faq__toggle::after {
    background: #ffffff;
}

.senstech-faq__item[open] .senstech-faq__toggle::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

/* Hover and keyboard focus */

.senstech-faq__question:hover {
    color: #0f6a4a;
}

.senstech-faq__question:focus-visible {
    outline: 2px solid #0f6a4a;
    outline-offset: 5px;
    border-radius: 3px;
}

.senstech-faq__question:hover .senstech-faq__toggle {
    border-color: #0f6a4a;
}

/* Answer */

.senstech-faq__answer {
    padding: 0 3rem 1.5rem 0;
}

.senstech-faq__answer p {
    margin: 0;
    color: #627168;
    font-size: 0.92rem;
    line-height: 1.85;
}

/* Tablet */

@media (max-width: 991.98px) {
    .senstech-faq__layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.75rem;
    }

    .senstech-faq__intro {
        position: static;
    }

    .senstech-faq__heading {
        max-width: 620px;
    }

    .senstech-faq__description {
        max-width: 620px;
    }

    .senstech-faq__contact {
        max-width: 500px;
    }
}

/* Mobile */

@media (max-width: 575.98px) {
    .senstech-faq {
        padding: 4rem 0;
    }

    .senstech-faq__layout {
        gap: 2.25rem;
    }

    .senstech-faq__heading {
        font-size: clamp(2rem, 8vw, 2.6rem);
    }

    .senstech-faq__description {
        font-size: 0.92rem;
    }

    .senstech-faq__contact {
        gap: 0.85rem;
        margin-top: 1.75rem;
        padding: 1.15rem;
    }

    .senstech-faq__contact-icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    .senstech-faq__question {
        gap: 1rem;
        padding: 1.2rem 0;
        font-size: 0.9rem;
    }

    .senstech-faq__toggle {
        flex-basis: 28px;
        width: 28px;
        height: 28px;
    }

    .senstech-faq__answer {
        padding: 0 0 1.25rem;
    }

    .senstech-faq__answer p {
        font-size: 0.87rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .senstech-faq__toggle,
    .senstech-faq__toggle::before,
    .senstech-faq__toggle::after,
    .senstech-faq__contact-link {
        transition: none;
    }
}
