/* Questions + Appointment - Scoped to .faq-appointment */

.faq-appointment {
    position: relative;
    padding: 110px 0;
    background: linear-gradient(160deg, #FFFDF8 0%, #F8F6F0 40%, #FDFCF9 75%, #FFFFFF 100%);
    overflow: hidden;
}

.faq-appointment .faq-appointment__container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Header */
.faq-appointment .faq-appointment__header {
    text-align: center;
    max-width: 740px;
    margin: 0 auto 60px auto;
}

.faq-appointment .faq-appointment__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #0B6B60;
    background: rgba(14, 131, 120, 0.12);
    border: 1px solid rgba(14, 131, 120, 0.2);
    padding: 6px 18px;
    border-radius: 999px;
    margin-bottom: 16px;
    backdrop-filter: blur(8px);
}

.faq-appointment .faq-appointment__title {
    font-size: clamp(2.1rem, 3.8vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: #10364C;
    margin-bottom: 14px;
}

.faq-appointment .faq-appointment__subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #143F57;
}

/* Centered FAQ Layout */
.faq-appointment .faq-appointment__grid {
    display: block;
    max-width: 880px;
    margin: 0 auto;
}

/* FAQ Column (Expandable Bubble Items) */
.faq-appointment .faq-appointment__faq-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-appointment .faq-appointment__faq-item {
    background: #FFFFFF;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(225, 235, 240, 0.9);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(22, 59, 82, 0.05);
    transition: all 0.3s ease;
}

.faq-appointment .faq-appointment__faq-item:hover {
    border-color: #35D6C5;
    box-shadow: 0 12px 30px rgba(53, 214, 197, 0.15);
}

.faq-appointment .faq-appointment__faq-item.faq-appointment__faq-item--active {
    border-color: #35D6C5;
    background: #FFFFFF;
    box-shadow: 0 12px 30px rgba(53, 214, 197, 0.12);
}

.faq-appointment .faq-appointment__faq-btn {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.02rem;
    font-weight: 700;
    color: #10364C;
    cursor: pointer;
    transition: color 0.2s ease;
}

.faq-appointment .faq-appointment__faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(131, 230, 208, 0.25);
    color: #0E8378;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.faq-appointment .faq-appointment__faq-item--active .faq-appointment__faq-icon {
    transform: rotate(45deg);
    background: linear-gradient(135deg, #4DA8FF 0%, #35D6C5 100%);
    color: #FFFFFF;
}

.faq-appointment .faq-appointment__faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
    padding: 0 24px;
}

.faq-appointment .faq-appointment__faq-item--active .faq-appointment__faq-content {
    max-height: 250px;
    padding-bottom: 22px;
}

.faq-appointment .faq-appointment__faq-text {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #143F57;
    margin: 0;
}

/* FAQ CTA Banner */
.faq-appointment .faq-appointment__cta-banner {
    margin-top: 36px;
    background: #FFFFFF;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid rgba(131, 230, 208, 0.45);
    border-radius: 24px;
    padding: 28px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 12px 35px rgba(22, 59, 82, 0.07);
}

.faq-appointment .faq-appointment__cta-content {
    flex: 1;
}

.faq-appointment .faq-appointment__cta-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #10364C;
    margin: 0 0 6px 0;
}

.faq-appointment .faq-appointment__cta-desc {
    font-size: 0.92rem;
    color: #143F57;
    margin: 0;
    line-height: 1.5;
}

.faq-appointment .faq-appointment__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #4DA8FF 0%, #35D6C5 100%);
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 700;
    border: none;
    border-radius: 999px;
    padding: 13px 26px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(77, 168, 255, 0.35);
    transition: all 0.25s ease;
    white-space: nowrap;
    text-decoration: none;
    flex-shrink: 0;
}

.faq-appointment .faq-appointment__cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(77, 168, 255, 0.45);
    color: #FFFFFF;
}

/* ==========================================================================
   APPOINTMENT BOOKING MODAL
   ========================================================================== */
.appointment-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.appointment-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.appointment-modal__backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 54, 76, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: opacity 0.3s ease;
}

.appointment-modal__dialog {
    position: relative;
    z-index: 2;
    background: linear-gradient(165deg, #FFFFFF 0%, #F5FBFF 45%, #F0F9F8 100%);
    border: 1.5px solid rgba(131, 230, 208, 0.6);
    box-shadow: 0 25px 70px rgba(16, 54, 76, 0.3), 0 8px 24px rgba(53, 214, 197, 0.15);
    border-radius: 28px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 34px 38px;
    box-sizing: border-box;
    transform: scale(0.94) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.appointment-modal.is-open .appointment-modal__dialog {
    transform: scale(1) translateY(0);
}

/* Modal Close Button */
.appointment-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(235, 245, 255, 0.9);
    border: 1px solid rgba(77, 168, 255, 0.25);
    color: #10364C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 5;
}

.appointment-modal__close:hover {
    background: #FF4D4D;
    border-color: #FF4D4D;
    color: #FFFFFF;
    transform: rotate(90deg);
}

/* Modal Header */
.appointment-modal__header {
    text-align: left;
    margin-bottom: 20px;
    padding-right: 36px;
}

.appointment-modal__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #0E8378;
    background: rgba(14, 131, 120, 0.12);
    border: 1px solid rgba(14, 131, 120, 0.2);
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.appointment-modal__title {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #10364C;
    margin: 0 0 6px 0;
    font-family: "Outfit", sans-serif;
}

.appointment-modal__subtitle {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #143F57;
    margin: 0;
}

/* Modal Form Controls */
.appointment-modal__form-group {
    margin-bottom: 13px;
}

.appointment-modal__form-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #1B5E82;
    margin-bottom: 5px;
}

.appointment-modal__input,
.appointment-modal__select,
.appointment-modal__textarea {
    width: 100%;
    background: rgba(245, 250, 255, 0.85);
    border: 1px solid rgba(77, 168, 255, 0.35);
    border-radius: 12px;
    padding: 11px 15px;
    font-size: 0.92rem;
    color: #1A516E;
    transition: all 0.25s ease;
    outline: none;
    box-sizing: border-box;
    font-family: inherit;
}

.appointment-modal__input:focus,
.appointment-modal__select:focus,
.appointment-modal__textarea:focus {
    border-color: #35D6C5;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(53, 214, 197, 0.2);
}

.appointment-modal__row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.appointment-modal__submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #4DA8FF 0%, #35D6C5 100%);
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 999px;
    padding: 13px 24px;
    box-shadow: 0 8px 24px rgba(77, 168, 255, 0.35);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.appointment-modal__submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(77, 168, 255, 0.45);
}

.appointment-modal__submit-btn:disabled {
    opacity: 0.75;
    cursor: not-allowed;
    transform: none;
}

.appointment-modal__status {
    display: none;
    margin-top: 14px;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    background: rgba(131, 230, 208, 0.25);
    border: 1px solid rgba(14, 131, 120, 0.3);
    color: #0E8378;
    text-align: center;
}

.appointment-modal__direct-contact {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(131, 230, 208, 0.3);
}

.appointment-modal__quick-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1A516E;
    text-decoration: none;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(235, 245, 255, 0.8);
    transition: all 0.25s ease;
}

.appointment-modal__quick-link:hover {
    background: rgba(131, 230, 208, 0.3);
    color: #144863;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-appointment {
        padding: 70px 0;
    }
    .faq-appointment .faq-appointment__cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }
    .faq-appointment .faq-appointment__cta-btn {
        width: 100%;
        justify-content: center;
    }
    .appointment-modal__dialog {
        padding: 28px 20px;
        border-radius: 22px;
    }
    .appointment-modal__row-2 {
        grid-template-columns: 1fr;
    }
    .appointment-modal__direct-contact {
        flex-direction: column;
    }
    .appointment-modal__quick-link {
        justify-content: center;
    }
}
