﻿/* =========================================
   SHIPDEEZ FAQ
   Dedicated stylesheet
   ========================================= */

.cta-faq {
    background: linear-gradient(180deg, #f8f3ed 0%, #f4ede6 100%);
    color: var(--text);
    padding: 88px 0;
    border-top: 1px solid rgba(17, 24, 39, .06);
    border-bottom: 1px solid rgba(17, 24, 39, .06);
}

.cta-faq .wrap {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 24px;
}

.faq {
    max-width: 920px;
    margin: 0 auto;
}

.faq-title {
    margin: 0 0 18px;
    text-align: center;
    color: var(--text);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: 900;
}

.faq-intro {
    margin: 0 auto 34px;
    max-width: 720px;
    text-align: center;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.65;
}

.faq-list {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.faq-item {
    border: 1px solid rgba(17, 24, 39, .10);
    border-radius: 22px;
    background: rgba(255, 255, 255, .88);
    /* box-shadow: 0 14px 34px rgba(17, 24, 39, .06); */
    overflow: hidden;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.faq-item:hover {
    border-color: rgba(19, 93, 80, .22);
    box-shadow: 0 18px 40px rgba(17, 24, 39, .08);
    transform: translateY(-1px);
}

.faq-item[open] {
    border-color: rgba(19, 93, 80, .26);
    /* box-shadow: 0 20px 44px rgba(17, 24, 39, .09); */
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    color: var(--text);
    font-size: 20px;
    line-height: 1.35;
    font-weight: 800;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    text-decoration: none;
}

.faq-item summary span:first-child {
    max-width: 88%;
}

.faq-icon {
    position: relative;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    color: var(--shipdeez-green);
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background: currentColor;
    border-radius: 999px;
    transform: translate(-50%, -50%);
    transition: opacity .18s ease, transform .18s ease;
}

.faq-icon::before {
    width: 18px;
    height: 2px;
}

.faq-icon::after {
    width: 2px;
    height: 18px;
}

.faq-item[open] .faq-icon::after {
    opacity: 0;
}

.faq-panel {
    padding: 0 24px 24px;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
}

.faq-panel p {
    margin: 0;
}

.faq-panel p+p {
    margin-top: 12px;
}

.cta-faq .cta {
    margin-top: 40px;
    text-align: center;
    padding: 28px 24px;
    border: 1px solid rgba(17, 24, 39, .08);
    border-radius: 24px;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 16px 40px rgba(17, 24, 39, .05);
}

.cta-faq .cta--bottom {
    margin-bottom: 0;
}

.cta-faq .cta-subtitle {
    margin: 0 0 18px;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
}

.cta-faq .cta-form {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.cta-faq .cta-form input[type="email"] {
    width: min(420px, 100%);
    height: 54px;
    padding: 0 16px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    box-shadow: 0 8px 20px rgba(17, 24, 39, .04);
    outline: none;
    font-size: 15px;
}

.cta-faq .cta-form input[type="email"]::placeholder {
    color: rgba(17, 24, 39, .45);
}

.cta-faq .cta-form input[type="email"]:focus {
    box-shadow: var(--focus);
    border-color: rgba(19, 93, 80, .35);
}

.cta-faq .cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 190px;
    height: 54px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #E58A2E, #C86F1F);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(200, 111, 31, .24);
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}

.cta-faq .cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(200, 111, 31, .30);
}

.cta-faq .cta-arrow {
    font-size: 18px;
    line-height: 1;
}

@media (max-width: 768px) {
    .cta-faq {
        padding: 64px 0;
    }

    .cta-faq .wrap {
        padding: 0 18px;
    }

    .faq-title {
        font-size: 34px;
    }

    .faq-item summary {
        padding: 18px 18px;
        font-size: 18px;
    }

    .faq-panel {
        padding: 0 18px 18px;
        font-size: 15px;
    }

    .cta-faq .cta {
        padding: 22px 18px;
    }
}

@media (max-width: 560px) {
    .cta-faq .cta-form {
        display: grid;
        grid-template-columns: 1fr;
    }

    .cta-faq .cta-form input[type="email"],
    .cta-faq .cta-btn {
        width: 100%;
        min-width: 0;
    }
}