/* FAQ — premium full-width split layout */

.faq-section {
    position: relative;
    width: 100%;
    padding: 24px 16px 40px;
    background: linear-gradient(165deg, #f8f9fc 0%, #eef2fa 50%, #f8f9fc 100%);
    overflow: hidden;
    box-sizing: border-box;
}

@media (min-width: 576px) {
    .faq-section {
        padding: 32px 20px 48px;
    }
}

@media (min-width: 992px) {
    .faq-section {
        padding: 30px 48px;
    }
}

@media (min-width: 1400px) {
    .faq-section {
        padding: 30px 64px;
    }
}

.faq-section__blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.faq-section__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: faqBlobFloat 16s ease-in-out infinite;
}

.faq-section__blob--1 {
    width: 420px;
    height: 420px;
    top: -10%;
    left: -6%;
    background: rgba(232, 81, 38, 0.2);
}

.faq-section__blob--2 {
    width: 360px;
    height: 360px;
    bottom: -12%;
    right: -4%;
    background: rgba(232, 81, 38, 0.12);
    animation-delay: -6s;
}

.faq-section__blob--3 {
    width: 220px;
    height: 220px;
    top: 50%;
    left: 42%;
    background: rgba(255, 255, 255, 0.85);
    animation-delay: -10s;
}

@keyframes faqBlobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -16px) scale(1.05); }
}

.faq-section__inner {
    position: relative;
    z-index: 2;
    width: 100%;
}

.faq-section__head {
    width: 100%;
    text-align: left;
    margin: 0;
    padding: 0;
}

.faq-section__head .faq-section__title {
    margin: 0;
}

.faq-section__head .faq-section__subtitle {
    margin-top: 5px;
    margin-bottom: 0;
}

.faq-section__title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.03em;
    line-height: 1.15;
}

@media (min-width: 768px) {
    .faq-section__title {
        font-size: 2.75rem;
    }
}

.faq-section__title span {
    color: var(--accent-yellow-dark);
}

.faq-section__subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.faq-section__accent {
    display: block;
    width: 64px;
    height: 3px;
    margin: 12px 0 0;
    border-radius: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-yellow), transparent);
}

.faq-section__grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
    align-items: stretch;
}

@media (min-width: 992px) {
    .faq-section__grid {
        flex-direction: row;
        gap: 40px;
        align-items: center;
    }
}

.faq-section__visual {
    order: 1;
    flex: 1;
    min-width: 0;
    position: relative;
}

.faq-section__content {
    order: 2;
    flex: 1;
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.faq-section__content-stack {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 32px;
    align-items: stretch;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 992px) {
    .faq-section__content-stack {
        gap: 28px;
    }
}

@media (min-width: 992px) {
    .faq-section__visual { order: 0; }
    .faq-section__content { order: 1; }
}

.faq-section__visual-glow {
    position: absolute;
    inset: -8%;
    background: radial-gradient(ellipse at 50% 50%, rgba(232, 81, 38, 0.28) 0%, transparent 68%);
    border-radius: 50%;
    animation: faqGlowPulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes faqGlowPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.04); }
}

.faq-section__visual-frame {
    position: relative;
    z-index: 2;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0;
    padding: 0;
    line-height: 0;
    font-size: 0;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(232, 81, 38, 0.12),
        0 0 48px rgba(232, 81, 38, 0.15);
}

.faq-section__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    display: block;
    object-fit: unset;
    object-position: top center;
    -webkit-object-fit: cover;
    -webkit-object-position: top center;
}

.faq-section__particle {
    display: none;
}

.faq-section__particle--1 {
    width: 12px;
    height: 12px;
    top: 12%;
    right: 8%;
    animation-delay: 0s;
}

.faq-section__particle--2 {
    width: 8px;
    height: 8px;
    bottom: 20%;
    left: 6%;
    animation-delay: -2s;
}

.faq-section__particle--3 {
    width: 16px;
    height: 16px;
    top: 55%;
    right: 4%;
    background: rgba(255, 255, 255, 0.8);
    animation-delay: -4s;
}

@keyframes faqParticle {
    0%, 100% { transform: translate(0, 0); opacity: 0.7; }
    50% { transform: translate(-8px, 12px); opacity: 1; }
}

.faq-section__badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    z-index: 4;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.faq-section__badge strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
}

.faq-section__badge span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.faq-accordion__item {
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition:
        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-accordion__item:hover {
    border-color: rgba(232, 81, 38, 0.35);
    box-shadow: 0 10px 36px rgba(232, 81, 38, 0.12);
}

.faq-accordion__item.is-open {
    border-color: rgba(232, 81, 38, 0.5);
    box-shadow:
        0 14px 44px rgba(232, 81, 38, 0.16),
        0 0 0 1px rgba(232, 81, 38, 0.1);
}

.faq-accordion__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    transition: color 0.35s;
}

.faq-accordion__item.is-open .faq-accordion__trigger {
    color: var(--accent-yellow-dark);
}

.faq-accordion__icon {
    position: relative;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(232, 81, 38, 0.15);
    transition: background 0.35s, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-accordion__icon::before,
.faq-accordion__icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--accent-yellow-dark);
    border-radius: 2px;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-accordion__icon::before {
    width: 12px;
    height: 2px;
    transform: translate(-50%, -50%);
}

.faq-accordion__icon::after {
    width: 2px;
    height: 12px;
    transform: translate(-50%, -50%);
}

.faq-accordion__item.is-open .faq-accordion__icon {
    background: rgba(232, 81, 38, 0.28);
    transform: rotate(90deg);
}

.faq-accordion__item.is-open .faq-accordion__icon::after {
    transform: translate(-50%, -50%) scaleY(0);
}

.faq-accordion__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-accordion__body-inner {
    padding: 0 22px 20px;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.4s 0.05s, transform 0.4s 0.05s;
}

.faq-accordion__item.is-open .faq-accordion__body-inner {
    opacity: 1;
    transform: translateY(0);
}

.faq-accordion__body p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* Tablet & mobile */
@media (max-width: 991.98px) {
    .faq-section {
        padding: 12px max(14px, env(safe-area-inset-right)) 32px max(14px, env(safe-area-inset-left));
    }

    .faq-section__blob--1 {
        width: 260px;
        height: 260px;
    }

    .faq-section__blob--2 {
        width: 220px;
        height: 220px;
    }

    .faq-section__blob--3 {
        width: 140px;
        height: 140px;
    }

    .faq-section__grid {
        gap: 24px;
    }

    .faq-section__visual {
        margin: 0;
        padding: 0;
    }

    .faq-section__visual-glow {
        inset: -4%;
    }

    .faq-section__visual-frame {
        border-radius: 18px;
        aspect-ratio: 16 / 10;
    }

    .faq-section__img {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-position: top center;
    }

    .faq-section__badge {
        bottom: 14px;
        left: 14px;
        padding: 10px 14px;
        border-radius: 12px;
    }

    .faq-section__badge strong {
        font-size: 1.05rem;
    }

    .faq-section__badge span {
        font-size: 0.72rem;
    }

    .faq-section__title {
        font-size: clamp(1.65rem, 6.5vw, 2.1rem);
    }

    .faq-section__subtitle {
        font-size: 0.875rem;
        line-height: 1.6;
    }

    .faq-section__accent {
        margin-top: 10px;
    }

    .faq-section__content-stack {
        gap: 20px;
    }

    .faq-section__head .section-badge {
        margin-bottom: 10px;
    }

    .faq-accordion {
        gap: 10px;
    }

    .faq-accordion__item {
        border-radius: 14px;
    }

    .faq-accordion__trigger {
        padding: 16px;
        font-size: 0.9375rem;
        gap: 12px;
        -webkit-tap-highlight-color: transparent;
    }

    .faq-accordion__icon {
        width: 26px;
        height: 26px;
    }

    .faq-accordion__body-inner {
        padding: 0 16px 16px;
    }

    .faq-accordion__body p {
        font-size: 0.875rem;
        line-height: 1.65;
    }
}

@media (max-width: 575.98px) {
    .faq-section {
        padding: 8px max(12px, env(safe-area-inset-right)) 28px max(12px, env(safe-area-inset-left));
    }

    .faq-section__grid {
        gap: 20px;
    }

    .faq-section__visual-frame {
        border-radius: 16px;
        aspect-ratio: 16 / 11;
    }

    .faq-section__badge {
        bottom: 12px;
        left: 12px;
        padding: 8px 12px;
    }

    .faq-section__badge strong {
        font-size: 0.95rem;
    }

    .faq-section__badge span {
        font-size: 0.6875rem;
    }

    .faq-section__title {
        font-size: clamp(1.5rem, 7vw, 1.85rem);
    }

    .faq-section__subtitle {
        font-size: 0.8125rem;
    }

    .faq-section__content-stack {
        gap: 16px;
    }

    .faq-accordion__trigger {
        padding: 14px;
        font-size: 0.875rem;
    }

    .faq-accordion__body-inner {
        padding: 0 14px 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .faq-section__blob,
    .faq-section__particle,
    .faq-section__visual-glow {
        animation: none;
    }

    .faq-accordion__body-inner {
        transition: none;
    }
}
