/* Homepage sections added in 2026-10: pricing at a glance and common questions
   (resources/views/website/home/pricing.blade.php, faq.blade.php). */

.wk-home-pricing,
.wk-home-faq {
    padding: 80px 0;
}

.wk-home-pricing {
    background: rgb(206 206 206 / 10%);
}

.wk-home-pricing .sec_head h2,
.wk-home-faq .sec_head h2 {
    text-transform: none;
}

/* ---- plans ---- */
.wk-plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    max-width: 1060px;
    margin: 0 auto;
    align-items: stretch;
}

.wk-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px 26px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgb(29 36 51 / 8%);
    box-shadow: 0 10px 30px -18px rgb(29 36 51 / 25%);
}

.wk-plan.is-recommended {
    border: 2px solid var(--main-color);
    box-shadow: 0 24px 50px -24px rgb(15 105 57 / 45%);
}

.wk-plan__badge {
    position: absolute;
    top: -13px;
    inset-inline-start: 24px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--main-color);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.wk-plan h3 {
    font-size: 22px;
    color: #1d2433;
    margin-bottom: 8px;
}

.wk-plan__desc {
    min-height: 48px;
    color: #5b6475;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.wk-plan__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 18px;
}

.wk-plan__price strong {
    font-size: 36px;
    line-height: 1;
    color: #1d2433;
}

.wk-plan__price sup {
    font-size: 18px;
    top: -0.9em;
    margin-inline-end: 2px;
}

.wk-plan__price small {
    color: #8a8fa0;
    font-size: 13px;
}

.wk-plan ul {
    display: grid;
    gap: 10px;
    margin-bottom: 24px;
    flex: 1;
}

.wk-plan li {
    position: relative;
    padding-inline-start: 26px;
    color: #1d2433;
    font-size: 14px;
    line-height: 1.6;
}

.wk-plan li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgb(15 105 57 / 10%) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%230F6939' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.wk-plan .btn-site {
    justify-content: center;
    height: 46px;
}

.wk-plan .wk-plan__btn-soft {
    background: rgb(15 105 57 / 8%);
    color: var(--main-color);
    border: 1px solid rgb(15 105 57 / 25%);
}

.wk-plan .wk-plan__btn-soft:hover {
    background: var(--main-color);
    color: #fff;
}

.wk-home-pricing__more {
    text-align: center;
    margin-top: 30px;
}

.wk-home-pricing__more a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--main-color);
    font-weight: 600;
}

[dir="rtl"] .wk-home-pricing__more .fa-arrow-right-long {
    transform: scaleX(-1);
}

/* ---- questions ---- */
.wk-faq {
    max-width: 860px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.wk-faq__item {
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgb(29 36 51 / 8%);
    transition: border-color .2s, box-shadow .2s;
}

.wk-faq__item[open] {
    border-color: rgb(15 105 57 / 35%);
    box-shadow: 0 12px 30px -20px rgb(15 105 57 / 45%);
}

.wk-faq__item summary {
    position: relative;
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    padding-inline-end: 56px;
    font-weight: 700;
    font-size: 16px;
    color: #1d2433;
    line-height: 1.6;
}

.wk-faq__item summary::-webkit-details-marker {
    display: none;
}

.wk-faq__item summary::after {
    content: "+";
    position: absolute;
    inset-inline-end: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(15 105 57 / 8%);
    color: var(--main-color);
    font-size: 18px;
    font-weight: 500;
}

.wk-faq__item[open] summary::after {
    content: "−";
}

.wk-faq__item summary:focus-visible {
    outline: 3px solid rgb(15 105 57 / 35%);
    outline-offset: 2px;
    border-radius: 14px;
}

.wk-faq__answer {
    padding: 0 22px 20px;
    color: #5b6475;
    line-height: 1.85;
    font-size: 15px;
}

@media (max-width: 991px) {
    .wk-plans {
        grid-template-columns: 1fr;
        max-width: 460px;
    }

    .wk-home-pricing,
    .wk-home-faq {
        padding: 56px 0;
    }
}
