/* ===== FAQ Accordion — Accessible & Animated ===== */

/* Container */
.faqs .accordions {
    max-width: 800px;
    margin: 0 auto;
}

/* Each accordion item */
.faqs .accordion {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    margin-bottom: 14px;
    background: rgba(255, 255, 255, 0.45);
    overflow: hidden;
    transition: box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.faqs .accordion:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* Active / Open state: slightly darker background and border */
.faqs .accordion.is-open {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.15);
}

/* Heading / Trigger Button */
.faqs .accordion__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 18px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.4;
    transition: color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.faqs .accordion__trigger:hover {
    color: #c87533;
}

.faqs .accordion__title {
    flex: 1;
    padding-right: 20px;
}

/* Chevron icon */
.faqs .accordion__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #888;
}

.faqs .accordion.is-open .accordion__icon {
    transform: rotate(180deg);
    color: #c87533;
}

/* Content Panel - Animation Logic */
.faqs .accordion__panel {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.4s ease,
        visibility 0.4s;
}

.faqs .accordion.is-open .accordion__panel {
    max-height: 500px;
    /* High enough value for content */
    opacity: 1;
    visibility: visible;
}

/* Inner Body Padding/Styles */
.faqs .accordion__body {
    padding: 0 24px 24px 24px;
    color: #444;
    line-height: 1.7;
}

.faqs .accordion__body p {
    margin: 0 0 12px;
    font-size: 0.95rem;
}

.faqs .accordion__body ul {
    margin: 8px 0 16px 0;
    padding-left: 20px;
    list-style-type: disc;
}

.faqs .accordion__body ul li {
    margin-bottom: 6px;
    font-size: 0.93rem;
    color: #555;
    padding-left: 4px;
}

/* ===== Section containment — prevent FAQ overlap on slideshow ===== */
.faqs.bg-brown {
    position: relative;
    z-index: 1;
    padding-top: 60px;
    padding-bottom: 60px;
}

/* Ensure the features/video section above doesn't overflow into FAQ */
.features.bg-blue {
    position: relative;
    overflow: hidden;
}