:root {
    --lc-faq-bg: #f7f7f7;
    --lc-faq-text: #1a1a1a;
    --lc-faq-accent: #849ccf;
    --lc-faq-soft: #e0cff7;
    --lc-faq-deep: #2a3b66;
    --lc-faq-muted: #696969;
    --lc-faq-paper: #ded8ce;
    --lc-faq-border: #d4d4d4;
    --lc-faq-white: #ffffff;
}

.lc-faq-page-content {
    max-width: 100%;
}

.lc-faq {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 0 20px 72px;
    color: var(--lc-faq-text);
}

.lc-faq-hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: stretch;
    margin: 18px 0 42px;
}

.lc-faq-hero__text {
    background: linear-gradient(145deg, var(--lc-faq-deep) 0%, #3d4d7a 52%, var(--lc-faq-deep) 100%);
    border-radius: 20px;
    padding: 42px;
    color: var(--lc-faq-white);
    box-shadow: 0 20px 44px rgba(42, 59, 102, 0.2);
}

.lc-faq-hero__text h1 {
    margin: 0 0 14px;
    font-size: clamp(2rem, 4vw, 2.9rem);
    line-height: 1.1;
    color: var(--lc-faq-white);
}

.lc-faq-hero__text h2 {
    margin: 0 0 10px;
    font-size: clamp(1.1rem, 2.1vw, 1.45rem);
    color: rgba(255, 255, 255, 0.95);
}

.lc-faq-hero__text p {
    margin: 0;
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

.lc-faq-hero__media {
    margin: 0;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
    min-height: 250px;
}

.lc-faq-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(42, 59, 102, 0.12), rgba(42, 59, 102, 0.32));
    pointer-events: none;
}

.lc-faq-hero__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.lc-faq-main {
    background: radial-gradient(circle at top right, rgba(224, 207, 247, 0.45), transparent 40%) var(--lc-faq-bg);
    border: 1px solid var(--lc-faq-border);
    border-radius: 20px;
    padding: clamp(24px, 3vw, 40px);
}

.lc-faq-main h2 {
    margin: 0 0 24px;
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    color: var(--lc-faq-text);
    line-height: 1.25;
}

.lc-faq-intro {
    margin: -8px 0 22px;
    color: var(--lc-faq-muted);
}

.lc-faq-accordion {
    display: grid;
    gap: 16px;
}

.lc-faq-item {
    border: 1px solid var(--lc-faq-border);
    border-radius: 14px;
    background: var(--lc-faq-white);
    overflow: clip;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.lc-faq-item:hover {
    border-color: rgba(132, 156, 207, 0.75);
    transform: translateY(-1px);
}

.lc-faq-item.is-open {
    border-color: var(--lc-faq-accent);
    box-shadow: 0 10px 24px rgba(132, 156, 207, 0.2);
}

.lc-faq-item h3 {
    margin: 0;
}

.lc-faq-question {
    appearance: none;
    width: 100%;
    border: 0;
    cursor: pointer;
    background: transparent;
    padding: 20px 54px 20px 24px;
    text-align: left;
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-weight: 650;
    color: var(--lc-faq-text);
    position: relative;
}

.lc-faq-question::before,
.lc-faq-question::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 14px;
    height: 2px;
    border-radius: 999px;
    background: var(--lc-faq-deep);
    transform: translateY(-50%);
    transition: transform 180ms ease, opacity 180ms ease;
}

.lc-faq-question::after {
    transform: translateY(-50%) rotate(90deg);
}

.lc-faq-item.is-open .lc-faq-question {
    color: var(--lc-faq-deep);
}

.lc-faq-item.is-open .lc-faq-question::after {
    opacity: 0;
    transform: translateY(-50%) rotate(90deg) scaleX(0.1);
}

.lc-faq-question:focus-visible {
    outline: 3px solid var(--lc-faq-accent);
    outline-offset: -3px;
}

.lc-faq-answer {
    padding: 14px 24px 22px;
    color: var(--lc-faq-muted);
    line-height: 1.75;
    font-size: 1rem;
    animation: lcFaqFade 220ms ease;
}

.lc-faq-item.is-open .lc-faq-answer {
    border-top: 1px solid rgba(132, 156, 207, 0.55);
}

.lc-faq-answer p {
    margin: 0 0 12px;
}

.lc-faq-answer p:last-child {
    margin-bottom: 0;
}

.lc-faq-answer ul {
    margin: 0 0 14px 0;
    padding-left: 20px;
    display: grid;
    gap: 6px;
}

.lc-faq-answer li {
    color: var(--lc-faq-muted);
}

.lc-faq-answer a {
    color: var(--lc-faq-deep);
    font-weight: 600;
}

.lc-faq-answer a:hover {
    color: #1f2f52;
}

.lc-faq-help {
    margin: 30px 0 0;
    padding: 18px 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(222, 216, 206, 0.55), rgba(224, 207, 247, 0.35));
    border: 1px solid var(--lc-faq-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px 20px;
    flex-wrap: wrap;
}

.lc-faq-help__text {
    margin: 0;
    color: var(--lc-faq-text);
    font-size: clamp(1rem, 1.5vw, 1.08rem);
}

.lc-faq-help__cta {
    margin: 0;
}

.lc-faq-help__cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    background: var(--lc-faq-deep);
    color: var(--lc-faq-white);
    transition: background-color 180ms ease, transform 180ms ease;
}

.lc-faq-help__cta a:hover {
    background: #1f2f52;
    transform: translateY(-1px);
}

.lc-faq-help__cta a:focus-visible {
    outline: 3px solid var(--lc-faq-accent);
    outline-offset: 2px;
}

@keyframes lcFaqFade {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .lc-faq-hero {
        grid-template-columns: 1fr;
    }

    .lc-faq-hero__text {
        padding: 34px 28px;
    }

    .lc-faq-hero__media {
        min-height: 220px;
    }
}

@media (max-width: 640px) {
    .lc-faq {
        padding: 0 14px 56px;
    }

    .lc-faq-main {
        border-radius: 16px;
        padding: 18px;
    }

    .lc-faq-question {
        padding: 18px 48px 18px 16px;
    }

    .lc-faq-answer {
        padding: 12px 16px 16px;
    }

    .lc-faq-help {
        margin-top: 24px;
        padding: 14px 16px;
    }

    .lc-faq-help__cta a {
        width: 100%;
    }
}
