/* =========================================================
   FAQ PAGE
   Get Well Physiotherapy & Sports Injury Clinic
========================================================= */

.faq-page {
    overflow: hidden;
}

/* =========================================================
   HERO
========================================================= */

.faq-hero {
    position: relative;
    min-height: 470px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            rgba(8, 48, 72, 0.80),
            rgba(8, 48, 72, 0.84)
        ),
        url("../images/faq-hero.webp") center/cover no-repeat;
}

.faq-hero-inner {
    position: relative;
    z-index: 2;
}

.faq-hero-content {
    max-width: 760px;
    padding: 90px 0;
}

.faq-hero h1 {
    margin: 12px 0 20px;
    color: #ffffff;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.faq-hero h1 span {
    color: #00a651;
}

.faq-hero p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1.8;
}


/* =========================================================
   INTRO
========================================================= */

.faq-intro {
    background: #ffffff;
}

.faq-intro .section-heading {
    max-width: 760px;
}

.faq-intro-content {
    max-width: 900px;
    margin-top: 35px;
}

.faq-intro-content p {
    margin: 0 0 22px;
    color: #526d7a;
    font-size: 16px;
    line-height: 1.9;
}

.faq-intro-content p:last-child {
    margin-bottom: 0;
}

.faq-question-highlight {
    color: #0077b9 !important;
    font-size: 22px !important;
    font-weight: 700;
}

.faq-free-consultation {
    margin-top: 30px !important;
    padding: 24px 28px;
    background: #f2f8fb;
    border-left: 4px solid #00a651;
    border-radius: 0 10px 10px 0;
    color: #163f55 !important;
    font-weight: 600;
}


/* =========================================================
   GENERAL FAQ
========================================================= */

.faq-general {
    background: #f5f9fb;
}

.faq-questions {
    max-width: 950px;
    margin: 55px auto 0;
}

.faq-item {
    margin-bottom: 18px;
    padding: 28px 32px;
    background: #ffffff;
    border: 1px solid #e1ebef;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(17, 65, 88, 0.05);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 119, 185, 0.25);
    box-shadow: 0 14px 35px rgba(17, 65, 88, 0.09);
}

.faq-item h3 {
    position: relative;
    margin: 0;
    padding-right: 35px;
    color: #163f55;
    font-size: 19px;
    line-height: 1.5;
    font-weight: 700;
}

.faq-item h3::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    color: #0077b9;
    font-size: 27px;
    font-weight: 400;
}

.faq-answer {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e5eef2;
}

.faq-answer p {
    margin: 0;
    color: #607783;
    font-size: 15.5px;
    line-height: 1.8;
}

.faq-answer a {
    color: #0077b9;
    font-weight: 600;
    text-decoration: underline;
}

.faq-answer a:hover {
    color: #00a651;
}


/* =========================================================
   CONDITIONS
========================================================= */

.faq-conditions {
    background: #ffffff;
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
    margin-top: 55px;
}

.condition-card {
    padding: 32px;
    background: #ffffff;
    border: 1px solid #e1ebef;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(17, 65, 88, 0.05);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.condition-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 119, 185, 0.22);
    box-shadow: 0 15px 40px rgba(17, 65, 88, 0.09);
}

.condition-card h3 {
    position: relative;
    margin: 0 0 24px;
    padding-left: 17px;
    color: #0077b9;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 800;
}

.condition-card h3::before {
    content: "";
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 0;
    width: 4px;
    background: #00a651;
    border-radius: 4px;
}

.condition-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.condition-card li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 20px;
    color: #607783;
    font-size: 14.5px;
    line-height: 1.65;
}

.condition-card li:last-child {
    margin-bottom: 0;
}

.condition-card li::before {
    content: "•";
    position: absolute;
    top: 0;
    left: 0;
    color: #00a651;
    font-size: 18px;
    font-weight: 700;
}

.condition-card li li {
    padding-left: 20px;
}


/* =========================================================
   CTA
========================================================= */

.faq-cta {
    position: relative;
    padding: 85px 0;
    background:
        linear-gradient(
            135deg,
            #0077b9 0%,
            #00649c 60%,
            #005584 100%
        );
    overflow: hidden;
}

.faq-cta::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    top: -230px;
    right: -120px;
    border: 70px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.faq-cta::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    bottom: -190px;
    left: -90px;
    border: 55px solid rgba(0, 166, 81, 0.15);
    border-radius: 50%;
}

.faq-cta-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.faq-cta .section-eyebrow {
    color: #8ee0b3;
}

.faq-cta h2 {
    margin: 10px 0;
    color: #ffffff;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
}

.faq-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
}

.faq-cta-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.faq-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 145px;
    padding: 15px 25px;
    background: #00a651;
    color: #ffffff;
    border-radius: 7px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.faq-cta-btn:hover {
    background: #008f45;
    color: #ffffff;
    transform: translateY(-2px);
}

.faq-cta-phone {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.faq-cta-phone:hover {
    color: #8ee0b3;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .faq-hero {
        min-height: 420px;
    }

    .faq-hero-content {
        padding: 75px 0;
    }

    .conditions-grid {
        grid-template-columns: 1fr;
        max-width: 760px;
        margin-left: auto;
        margin-right: auto;
    }

    .faq-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .faq-cta-actions {
        margin-top: 5px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .faq-hero {
        min-height: 390px;
    }

    .faq-hero-content {
        padding: 65px 0;
    }

    .faq-hero h1 {
        font-size: 40px;
        letter-spacing: -0.8px;
    }

    .faq-hero p {
        font-size: 16px;
        line-height: 1.7;
    }

    .faq-intro-content p {
        font-size: 15px;
        line-height: 1.8;
    }

    .faq-question-highlight {
        font-size: 20px !important;
    }

    .faq-free-consultation {
        padding: 20px;
    }

    .faq-questions {
        margin-top: 40px;
    }

    .faq-item {
        padding: 23px 20px;
        border-radius: 12px;
    }

    .faq-item h3 {
        font-size: 17px;
    }

    .faq-answer p {
        font-size: 14.5px;
    }

    .conditions-grid {
        gap: 18px;
        margin-top: 40px;
    }

    .condition-card {
        padding: 25px 22px;
    }

    .condition-card h3 {
        font-size: 16px;
    }

    .condition-card li {
        font-size: 14px;
    }

    .faq-cta {
        padding: 65px 0;
    }

    .faq-cta h2 {
        font-size: 32px;
    }

    .faq-cta p {
        font-size: 15px;
    }

    .faq-cta-actions {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .faq-cta-btn {
        width: 100%;
    }
}