/* FAQ Page Styles - Fresh Build */

/* Wrapper */
.faq-page-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Base Styles (Mobile Default) */
.faq-container {
    width: 100%;
    margin: 0 auto;
    padding: 64px 16px 24px;
    /* Mobile Padding */
    box-sizing: border-box;
}

/* Breadcrumbs */
.breadcrumbs {
    font-family: 'Loew', sans-serif;
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--color-charcoal);
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 400;
}

.breadcrumbs a {
    color: var(--color-charcoal);
    text-decoration: none;
}

/* Header */
.faq-header {
    margin-bottom: 40px;
}

.faq-header h1 {
    font-family: 'loew-variable', sans-serif;
    font-size: 32px;
    line-height: 90%;
    font-stretch: 10%;
    letter-spacing: 0;
    color: var(--color-charcoal);
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 0 24px 0;
}

.faq-intro-text {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.4;
    color: var(--color-charcoal);
    margin: 0;
    max-width: 700px;
}

/* Categories Bar */
.faq-categories-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 40px;
    padding-bottom: 8px;
    /* For scrollbar breathing room */
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.faq-categories-wrapper::-webkit-scrollbar {
    display: none;
}

.faq-categories {
    display: flex;
    gap: 12px;
    white-space: nowrap;
}

.faq-category-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: 1px solid var(--color-charcoal);
    border-radius: 20px;
    font-family: 'Loew', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-charcoal);
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.faq-category-pill.active {
    background-color: var(--color-fluoro, #D6F835);
    border-color: var(--color-fluoro, #D6F835);
}

@media (hover: hover) {
    .faq-category-pill:hover {
        background-color: var(--color-fluoro, #D6F835);
        border-color: var(--color-fluoro, #D6F835);
    }
}

/* Lists */
.faq-sections {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.faq-section-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-top: 1px solid #E5E5E5;
    padding-top: 32px;
}

.faq-section-row:first-child {
    border-top: none;
    padding-top: 0;
}

.faq-section-title h2 {
    font-family: 'loew-variable', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0;
    font-stretch: 10%;
    text-transform: uppercase;
    color: #8C8C8C;
    /* Lighter grey for hierarchy on mobile */
    margin: 0;
}

/* FAQ Items */
.faq-section-content {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #E5E5E5;
}

.faq-page-item {
    border-bottom: 1px solid #E5E5E5;
}

.faq-page-item:last-child {
    border-bottom: none;
}

.faq-page-question {
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    cursor: pointer;
    text-align: left;
}

.faq-page-question-text {
    font-family: 'loew-variable', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0;
    font-stretch: 10%;
    text-transform: uppercase;
    color: var(--color-charcoal);
    flex: 1;
}

.faq-page-toggle {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1;
    color: var(--color-charcoal);
    min-width: 20px;
    text-align: right;
}

/* Animation Refinement */
.faq-page-answer {
    max-height: 0;
    overflow: hidden;
    /* Opacity transition for smoother appearance */
    opacity: 0;
    /* Use cubic-bezier for "super nice" spring-like feel (ease-out-quintish) */
    transition: max-height 0.5s cubic-bezier(0.23, 1, 0.32, 1),
        opacity 0.4s ease-in-out,
        padding 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.faq-page-item.active .faq-page-answer {
    /* max-height handled by JS scrollHeight usually, but fallback if JS fails */
    /* opacity 1 for fade in */
    opacity: 1;
    padding-bottom: 24px;
}

.faq-page-answer p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.5;
    color: var(--color-charcoal);
    margin: 0;
}


/* =========================================
   MEDIA QUERIES
   ========================================= */

/* Tablet / Intermediate */
@media (min-width: 481px) {
    .faq-container {
        padding: 80px 40px;
    }

    .faq-header h1 {
        font-size: 42px;
    }

    .faq-intro-text {
        font-size: 20px;
    }

    .faq-page-question-text {
        font-size: 22px;
    }
}

/* Desktop */
@media (min-width: 1025px) {
    .faq-container {
        padding: 80px 80px 120px;
        max-width: 1440px;
    }

    .breadcrumbs {
        font-size: 12px;
        margin-bottom: 24px;
    }

    .faq-header {
        margin-bottom: 64px;
    }

    .faq-header h1 {
        font-size: 54px;
        max-width: 900px;
        margin: 0 0 32px 0;
    }

    .faq-intro-text {
        font-size: 24px;
    }

    /* Categories on Desktop */
    .faq-categories-wrapper {
        margin-bottom: 80px;
    }

    .faq-categories {
        flex-wrap: wrap;
        gap: 16px;
    }

    .faq-category-pill {
        font-size: 14px;
        padding: 10px 24px;
    }

    /* Layout: 2 Columns */
    .faq-section-row {
        flex-direction: row;
        gap: 40px;
        padding-top: 48px;
    }

    .faq-section-title {
        flex: 0 0 300px;
    }

    .faq-section-title h2 {
        font-size: 36px;
        line-height: 1.1;
        color: var(--color-charcoal);
        /* Keep desktop charcoal */
    }

    .faq-section-content {
        flex: 1;
        border-top: 1px solid #000;
        margin-top: -10px;
        border-top: none;
    }

    .faq-section-row {
        border-top: 1px solid #E5E5E5;
        padding-top: 48px;
    }

    .faq-section-content {
        border-top: none;
    }

    .faq-page-item {
        border-bottom: 1px solid #E5E5E5;
    }

    .faq-page-item:first-child {
        border-top: none;
    }

    .faq-page-question {
        padding: 32px 0;
    }

    .faq-page-question-text {
        font-size: 24px;
    }

    .faq-page-answer p {
        font-size: 18px;
        max-width: 800px;
    }
}


/* =========================================
   NAVBAR OVERRIDES (Black on White)
   ========================================= */
.faq-navbar-wrapper .navbar .navbar-logo.white {
    opacity: 0 !important;
}

.faq-navbar-wrapper .navbar .navbar-logo.black {
    opacity: 1 !important;
}

.faq-navbar-wrapper .navbar .navbar-link {
    color: #000000 !important;
}

.faq-navbar-wrapper .navbar .navbar-menu-icon {
    filter: invert(1);
}

.faq-navbar-wrapper .navbar .navbar-mobile-toggle {
    color: #000000 !important;
}

.faq-navbar-wrapper .navbar .navbar-dropdown {
    z-index: 29;
}


/* =========================================
   CONTACT SECTION STYLES (Ported)
   ========================================= */

/* Main Layout */
.contact-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
}

/* Info Section */
.contact-info {
    padding-right: 0;
}

.contact-info h2 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0;
    font-stretch: 10%;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: var(--color-charcoal);
    font-family: 'loew-variable', sans-serif;
    /* Explicitly set font */
}

.contact-desc {
    font-size: 16px;
    line-height: 1.1;
    color: var(--color-charcoal);
    margin-bottom: 48px;
    font-family: 'Inter', sans-serif;
}

.contact-contact-details-item-sp {
    font-size: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-charcoal);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.contact-grid-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.icon-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    font-size: 18px;
    color: var(--color-charcoal);
    font-family: 'Inter', sans-serif;
}

.contact-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.contact-link,
.contact-text {
    font-size: 16px;
    color: var(--color-charcoal);
    text-decoration: none;
    margin-left: 0;
    font-family: 'Inter', sans-serif;
}

.contact-link:hover {
    text-decoration: underline;
}

/* Form Section */
.contact-form-wrapper {
    width: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.label-text {
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--color-charcoal);
    line-height: 1.1;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 24px;
    border: 1px solid var(--color-charcoal);
    border-radius: 8px;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    line-height: 1.1;
    box-sizing: border-box;
    background-color: #fff;
    color: #333;
    /* Input text color */
    outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #aaa;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #000;
}

.form-disclaimer {
    font-size: 12px;
    color: var(--color-charcoal);
    margin-top: 10px;
    margin-bottom: 12px;
    line-height: 1.1;
    font-family: 'Inter', sans-serif;
}

.submit-btn {
    background-color: var(--color-fluoro, #D6F835);
    color: var(--color-charcoal);
    border: 1px solid var(--color-charcoal);
    padding: 22px 32px;
    font-size: 16px;
    letter-spacing: -0.48px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 8px;
    align-self: flex-start;
    transition: color 300ms ease, border-color 300ms ease, transform 200ms ease, box-shadow 200ms ease;
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
    text-align: center;

    /* Fancy Hover Setup */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.submit-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background-color: var(--color-charcoal);
    transition: height 300ms ease;
    z-index: -1;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: var(--color-fluoro);
    border-color: var(--color-charcoal);
}

.submit-btn:hover::after {
    height: 100%;
}

/* Media Queries for Contact Section within FAQ */
@media (min-width: 481px) {
    .contact-main {
        gap: 50px;
    }

    .contact-details {
        gap: 30px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 15px;
        font-family: inherit;
    }

    .submit-btn {
        width: auto;
        text-align: left;
    }
}

@media (min-width: 1025px) {
    .contact-main {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }

    .contact-info {
        padding-right: 20px;
    }

    .contact-details {
        gap: 48px;
    }

    .form-group {
        gap: 4px;
        /* Matches contact.css desktop override */
    }

    .form-disclaimer {
        font-size: 16px;
    }

    .submit-btn {
        font-size: 18px;
    }
}

@media screen and (min-width: 1440px) {
    .faq-header h1 {
        font-size: 96px;
        max-width: 1006px;
    }

    .faq-section-title h2 {
        font-size: 32px;
    }

    .faq-page-question-text {
        font-size: 32px;
    }
}