/* FAQ — Blue Door Stay */
.faq-section {
    position: relative;
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
    max-width: 1080px;
    margin: 0 auto;
}

.faq-cats {
    position: sticky;
    top: 6.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.85rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.faq-cats-label {
    margin: 0 0 0.45rem 0.35rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-blue);
}

.faq-cat {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    padding: 0.6rem 0.75rem;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--primary-blue-light);
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.faq-cat i {
    width: 1.1rem;
    flex-shrink: 0;
    font-size: 0.78rem;
    color: var(--accent-blue);
    opacity: 0.85;
}

.faq-cat:hover {
    background: rgba(255, 255, 255, 0.55);
    color: var(--primary-blue);
}

.faq-cat.is-active {
    background: rgba(255, 255, 255, 0.78);
    color: var(--primary-blue);
    box-shadow: 0 4px 14px rgba(30, 58, 95, 0.08);
}

.faq-cat.is-active i {
    opacity: 1;
}

.faq-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-panels {
    min-width: 0;
}

.faq-panel {
    display: none;
    flex-direction: column;
    gap: 0.65rem;
    animation: faqPanelIn 0.35s ease;
}

.faq-panel.is-active {
    display: flex;
}

@keyframes faqPanelIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-panel-title {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 0.25rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: var(--primary-blue);
}

.faq-panel-title i {
    color: var(--accent-blue);
    font-size: 1rem;
}

.faq-item {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.58);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    overflow: hidden;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.62);
    border-color: rgba(59, 130, 246, 0.22);
}

.faq-item[open] {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(59, 130, 246, 0.28);
    box-shadow: 0 10px 28px rgba(30, 58, 95, 0.1);
}

.faq-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.05rem 1.2rem;
    cursor: pointer;
    font-weight: 650;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--primary-blue);
    user-select: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.1);
    transition: transform 0.3s ease, background 0.25s ease;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
    background: rgba(59, 130, 246, 0.18);
}

.faq-answer {
    padding: 0 1.2rem 1.15rem;
    color: var(--primary-blue);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* Useful fill card under FAQ answers */
.faq-fill {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0.85rem;
}

.faq-fill-card {
    padding: 1.05rem 1.15rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.58);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
}

.faq-fill-card h4 {
    margin: 0 0 0.55rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.faq-fill-card h4 i {
    color: var(--accent-blue);
    font-size: 0.85rem;
}

.faq-fill-card p {
    margin: 0 0 0.75rem;
    font-size: 0.84rem;
    line-height: 1.5;
    color: var(--primary-blue-light);
}

.faq-fill-card p:last-child {
    margin-bottom: 0;
}

.faq-fill-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.faq-fill-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.82rem;
    line-height: 1.4;
    color: var(--primary-blue);
    font-weight: 500;
}

.faq-fill-list i {
    color: var(--accent-blue);
    margin-top: 0.15rem;
    font-size: 0.72rem;
    width: 0.9rem;
    text-align: center;
    flex-shrink: 0;
}

.faq-fill-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.85rem;
}

.faq-fill-actions a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.faq-fill-actions a:hover {
    transform: translateY(-2px);
}

.faq-fill-actions a.faq-fill-whatsapp {
    background: #25d366;
    color: #fff;
    box-shadow: 0 6px 14px rgba(37, 211, 102, 0.28);
}

.faq-fill-actions a.faq-fill-book {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: #fff;
    box-shadow: 0 6px 14px rgba(30, 58, 95, 0.22);
}

.faq-fill-actions a.faq-fill-email {
    background: rgba(255, 255, 255, 0.7);
    color: var(--primary-blue);
    border: 1px solid rgba(30, 58, 95, 0.1);
}

.faq-answer p {
    margin: 0 0 0.65rem;
    color: var(--primary-blue-light);
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    margin: 0.35rem 0 0.65rem;
    padding-left: 1.15rem;
}

.faq-answer li {
    margin-bottom: 0.3rem;
    color: var(--primary-blue-light);
}

.faq-answer li:last-child {
    margin-bottom: 0;
}

.faq-answer strong {
    color: var(--primary-blue);
    font-weight: 650;
}

.faq-map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.35rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--accent-blue);
    font-size: 0.82rem;
    font-weight: 650;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.faq-map-link:hover {
    background: rgba(59, 130, 246, 0.16);
    transform: translateY(-1px);
}

.faq-note {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-top: 0.55rem;
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.22);
    color: var(--primary-blue);
    font-size: 0.86rem;
    line-height: 1.5;
}

.faq-note i {
    color: #d97706;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.faq-charge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.45rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(30, 58, 95, 0.08);
    color: var(--primary-blue);
    font-size: 0.8rem;
    font-weight: 700;
}

.faq-disclaimer {
    margin-top: 0.35rem;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.28);
}

.faq-disclaimer-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
    color: var(--primary-blue);
}

.faq-disclaimer-head i {
    color: #d97706;
    font-size: 0.9rem;
}

.faq-disclaimer-head strong {
    font-size: 0.88rem;
    font-weight: 700;
}

.faq-disclaimer p {
    margin: 0;
    color: var(--primary-blue-light);
    font-size: 0.86rem;
    line-height: 1.65;
}

.faq-help {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1080px;
    margin: 1.5rem auto 0;
    padding: 0.85rem 1rem 0.85rem 1.25rem;
    border-radius: 16px;
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.28) 100%);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 12px 32px rgba(30, 58, 95, 0.1);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    color: var(--primary-blue);
}

.faq-help-glow {
    position: absolute;
    inset: auto -8% -60% auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.22) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.faq-help-copy,
.faq-help-actions {
    position: relative;
    z-index: 1;
}

.faq-help-copy {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 0.55rem;
    min-width: 0;
    flex: 1 1 auto;
}

.faq-help-copy h3 {
    margin: 0;
    flex-shrink: 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-blue);
    white-space: nowrap;
}

.faq-help-copy p {
    margin: 0;
    min-width: 0;
    color: var(--primary-blue-light);
    font-size: 0.9rem;
    line-height: 1.3;
    white-space: nowrap;
}

.faq-help-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    justify-content: flex-end;
    align-items: center;
    flex-shrink: 0;
}

.faq-help-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.1rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.faq-help-actions a:hover {
    transform: translateY(-2px) scale(1.05);
}

.faq-help-actions a.faq-help-phone {
    background: #25d366;
    color: #fff;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.32);
}

.faq-help-actions a.faq-help-phone:hover {
    background: #1ebe57;
}

.faq-help-actions a.faq-help-email {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: #fff;
    box-shadow: 0 6px 16px rgba(30, 58, 95, 0.25);
}

.faq-help-actions a.faq-help-email:hover {
    filter: brightness(1.05);
}

@media (max-width: 900px) {
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .faq-cats {
        position: sticky;
        top: 4.5rem;
        z-index: 6;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0.4rem;
        padding: 0.7rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-snap-type: x mandatory;
    }

    .faq-cats::-webkit-scrollbar {
        display: none;
    }

    .faq-cats-label {
        display: none;
    }

    .faq-cat {
        flex: 0 0 auto;
        white-space: nowrap;
        scroll-snap-align: start;
        padding: 0.55rem 0.85rem;
        background: rgba(255, 255, 255, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.45);
        min-height: 42px;
    }

    .faq-cat i {
        display: none;
    }

    .faq-fill {
        grid-template-columns: 1fr;
    }

    .faq-help {
        flex-direction: column;
        flex-wrap: wrap;
        align-items: stretch;
        justify-content: flex-start;
        text-align: left;
        gap: 0.85rem;
        padding: 1rem;
        overflow-x: visible;
    }

    .faq-help-copy {
        flex-direction: column;
        flex-wrap: wrap;
        align-items: flex-start;
        width: 100%;
        gap: 0.35rem;
        white-space: normal;
    }

    .faq-help-copy h3 {
        font-size: 1.05rem;
        white-space: normal;
    }

    .faq-help-copy p {
        white-space: normal;
        font-size: 0.84rem;
        line-height: 1.45;
    }

    .faq-help-actions {
        justify-content: flex-start;
        width: 100%;
    }

    .faq-help-actions .btn {
        flex: 1 1 auto;
        justify-content: center;
    }

    .faq-help-glow {
        inset: auto -8% -55% auto;
        transform: none;
    }
}

@media (max-width: 480px) {
    .faq-cats {
        position: static;
        flex-wrap: wrap;
        overflow-x: visible;
        scroll-snap-type: none;
    }

    .faq-cat {
        white-space: normal;
    }

    .faq-fill-actions {
        flex-direction: column;
    }

    .faq-fill-actions a {
        justify-content: center;
    }

    .faq-item summary {
        gap: 0.75rem;
        padding: 0.95rem 1rem;
        font-size: 0.9rem;
        min-width: 0;
    }

    .faq-item summary span {
        min-width: 0;
    }

    .faq-answer {
        padding: 0 1rem 1rem;
        font-size: 0.88rem;
    }

    .faq-help {
        padding: 0.9rem;
    }

    .faq-help-copy h3 {
        font-size: 1rem;
    }

    .faq-help-copy p {
        font-size: 0.8rem;
    }

    .faq-help-actions a {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .faq-section,
    .faq-item {
        scroll-margin-top: 6rem;
    }
}
