/* =========================================================
   GET WELL PHYSIOTHERAPY
   HOME PAGE STYLES
========================================================= */


/* =========================================================
   GLOBAL HOME HELPERS
========================================================= */

.home-page {
    overflow: hidden;
}

.home-page .container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0;
}

.section-light {
    background: #f5f9fc;
}

.section-dark {
    background: #063b59;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: #0077b9;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.section-label::before {
    content: "";
    width: 28px;
    height: 2px;
    background: #00a651;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-heading h2,
.home-intro__content h2,
.conditions-content h2,
.faq-intro h2 {
    margin: 0 0 20px;
    color: #12354a;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.12;
    letter-spacing: -1px;
}

.section-heading p,
.home-intro__content p,
.conditions-content p,
.faq-intro p {
    color: #607482;
    font-size: 17px;
    line-height: 1.8;
}

.section-heading--split {
    display: grid;
    grid-template-columns: 1fr 0.75fr;
    gap: 60px;
    max-width: none;
    text-align: left;
    align-items: end;
}

.section-heading--split p {
    margin: 0;
}

.section-heading--light h2,
.section-heading--light p {
    color: #fff;
}

.section-heading--light p {
    color: rgba(255, 255, 255, 0.75);
}


/* =========================================================
   BUTTONS
========================================================= */

.home-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 28px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease,
        color 0.3s ease;
}

.home-page .btn:hover {
    transform: translateY(-3px);
}

.home-page .btn-primary {
    background: #00a651;
    color: #fff;
    box-shadow: 0 12px 28px rgba(0, 166, 81, 0.22);
}

.home-page .btn-primary:hover {
    background: #008e45;
    box-shadow: 0 16px 34px rgba(0, 166, 81, 0.28);
}

.home-page .btn-secondary {
    background: #0077b9;
    color: #fff;
}

.home-page .btn-secondary:hover {
    background: #005f94;
}

.home-page .btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    background: transparent;
}

.home-page .btn-outline:hover {
    background: #fff;
    color: #12354a;
}

.home-page .btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    background: transparent;
}

.home-page .btn-outline-light:hover {
    background: #fff;
    color: #063b59;
}

.btn-large {
    min-height: 60px !important;
    padding: 0 34px !important;
}


/* =========================================================
   HERO
========================================================= */

.home-hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            90deg,
            rgba(4, 39, 59, 0.94) 0%,
            rgba(4, 39, 59, 0.78) 45%,
            rgba(4, 39, 59, 0.28) 100%
        ),
        url("../images/home-hero.webp") center center / cover no-repeat;
    color: #fff;
    isolation: isolate;
}

.home-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(
            circle at 75% 40%,
            rgba(0, 166, 81, 0.15),
            transparent 35%
        );
}

.home-hero__container {
    position: relative;
    z-index: 2;
}

.home-hero__content {
    max-width: 720px;
    padding: 90px 0;
}

.home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #b8e8cf;
}

.home-eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: #00a651;
}

.home-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(48px, 6vw, 78px);
    line-height: 1.02;
    letter-spacing: -2.5px;
    font-weight: 800;
}

.home-hero h1 span {
    color: #4fd18a;
}

.home-hero p {
    max-width: 620px;
    margin: 28px 0 34px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.75;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.home-hero__location {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 34px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
}

.home-hero__location-icon {
    color: #00a651;
    font-size: 10px;
}

.home-hero__scroll {
    position: absolute;
    right: 35px;
    bottom: 35px;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: rotate(90deg);
    transform-origin: right bottom;
    color: rgba(255, 255, 255, 0.65);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.scroll-line {
    width: 50px;
    height: 1px;
    background: rgba(255, 255, 255, 0.55);
}


/* =========================================================
   INTRO
========================================================= */

.home-intro {
    background: #fff;
}

.home-intro__grid {
    display: grid;
    grid-template-columns: 0.95fr 1fr;
    gap: 90px;
    align-items: center;
}

.home-intro__image {
    position: relative;
}

.home-intro__image::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-top: 3px solid #00a651;
    border-left: 3px solid #00a651;
    z-index: 0;
}

.image-placeholder {
    position: relative;
    z-index: 1;
    overflow: hidden;
    min-height: 500px;
    border-radius: 12px;
    background: #dfeaf0;
}

.image-placeholder img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.home-intro__image:hover img {
    transform: scale(1.04);
}

.experience-card {
    position: absolute;
    right: -25px;
    bottom: 35px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    min-width: 175px;
    padding: 22px 25px;
    border-radius: 8px;
    background: #0077b9;
    color: #fff;
    box-shadow: 0 18px 45px rgba(0, 71, 108, 0.2);
}

.experience-card strong {
    font-size: 20px;
}

.experience-card span {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
}

.home-intro__content .lead {
    color: #345669;
    font-size: 19px;
    line-height: 1.75;
}

.home-intro__content p {
    margin: 0 0 17px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    color: #0077b9;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: gap 0.3s ease, color 0.3s ease;
}

.text-link span {
    font-size: 19px;
}

.text-link:hover {
    gap: 15px;
    color: #00a651;
}


/* =========================================================
   WHY CHOOSE US
========================================================= */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    padding: 35px 28px;
    border: 1px solid #e2edf2;
    border-radius: 10px;
    background: #fff;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 119, 185, 0.2);
    box-shadow: 0 22px 50px rgba(21, 70, 95, 0.1);
}

.feature-card__number {
    position: absolute;
    top: 22px;
    right: 24px;
    color: #dce9ef;
    font-size: 12px;
    font-weight: 800;
}

.feature-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 30px;
    border-radius: 50%;
    background: rgba(0, 119, 185, 0.09);
    color: #0077b9;
    font-size: 24px;
    font-weight: 600;
}

.feature-card h3 {
    margin: 0 0 13px;
    color: #173d52;
    font-size: 20px;
}

.feature-card p {
    margin: 0;
    color: #6b7f8a;
    font-size: 14px;
    line-height: 1.75;
}


/* =========================================================
   SERVICES
========================================================= */

.home-services {
    background: #fff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e3edf2;
    box-shadow: 0 8px 30px rgba(26, 69, 92, 0.05);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(26, 69, 92, 0.12);
}

.service-card__image {
    height: 220px;
    overflow: hidden;
    background: #dce9ef;
}

.service-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-card__image img {
    transform: scale(1.06);
}

.service-card__content {
    position: relative;
    padding: 28px;
}

.service-card__content > span {
    display: block;
    margin-bottom: 10px;
    color: #00a651;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.service-card h3 {
    margin: 0 0 12px;
    color: #173d52;
    font-size: 22px;
}

.service-card p {
    margin: 0 0 20px;
    color: #6b7f8a;
    font-size: 14px;
    line-height: 1.7;
}

.service-card a {
    color: #0077b9;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.service-card a:hover {
    color: #00a651;
}

.service-card--simple {
    display: flex;
    min-height: 270px;
}

.service-card--simple .service-card__content {
    width: 100%;
}

.service-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 70px;
    height: 70px;
    margin: 27px 0 0 27px;
    border-radius: 10px;
    background: rgba(0, 119, 185, 0.08);
    color: #0077b9;
    font-size: 27px;
}

.section-button {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}


/* =========================================================
   TREATMENTS
========================================================= */

.home-treatments {
    position: relative;
    overflow: hidden;
}

.home-treatments::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -150px;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.home-treatments::after {
    content: "";
    position: absolute;
    top: -80px;
    right: -50px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(0, 166, 81, 0.2);
    border-radius: 50%;
}

.home-treatments .container {
    position: relative;
    z-index: 2;
}

.treatment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.treatment-item {
    position: relative;
    min-height: 205px;
    padding: 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    text-decoration: none;
    transition:
        background 0.35s ease,
        transform 0.35s ease;
}

.treatment-item:hover {
    background: rgba(0, 166, 81, 0.1);
}

.treatment-item > span {
    display: block;
    margin-bottom: 38px;
    color: #55cf8d;
    font-size: 11px;
    font-weight: 700;
}

.treatment-item strong {
    display: block;
    max-width: 200px;
    font-size: 18px;
    line-height: 1.35;
}

.treatment-item small {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
}

.treatment-item i {
    position: absolute;
    right: 25px;
    bottom: 25px;
    color: #55cf8d;
    font-size: 18px;
    font-style: normal;
    transition: transform 0.3s ease;
}

.treatment-item:hover i {
    transform: translateX(5px);
}


/* =========================================================
   CONDITIONS
========================================================= */

.home-conditions {
    background: #fff;
}

.conditions-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 90px;
    align-items: center;
}

.conditions-content p {
    max-width: 540px;
}

.conditions-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 13px;
}

.condition-pill {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 62px;
    padding: 0 18px;
    border: 1px solid #e0ebf0;
    border-radius: 7px;
    background: #f8fbfc;
    color: #244b60;
    font-size: 14px;
    font-weight: 600;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}

.condition-pill span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: rgba(0, 166, 81, 0.1);
    color: #00a651;
    font-size: 12px;
}

.condition-pill:hover {
    transform: translateX(5px);
    border-color: rgba(0, 119, 185, 0.25);
    background: #fff;
}


/* =========================================================
   APPROACH
========================================================= */

.home-approach {
    background: #f5f9fc;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.approach-step {
    position: relative;
    padding: 35px 35px 20px;
    border-top: 1px solid #dbe7ed;
}

.approach-step:not(:last-child) {
    border-right: 1px solid #dbe7ed;
}

.approach-step__number {
    margin-bottom: 35px;
    color: #0077b9;
    font-size: 13px;
    font-weight: 800;
}

.approach-step h3 {
    margin: 0 0 12px;
    color: #173d52;
    font-size: 22px;
}

.approach-step p {
    margin: 0;
    color: #6b7f8a;
    font-size: 14px;
    line-height: 1.75;
}


/* =========================================================
   FAQ
========================================================= */

.home-faq {
    background: #fff;
}

.faq-grid {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 100px;
    align-items: start;
}

.faq-intro {
    position: sticky;
    top: 100px;
}

.faq-list details {
    border-bottom: 1px solid #dce8ed;
}

.faq-list details:first-child {
    border-top: 1px solid #dce8ed;
}

.faq-list summary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 25px 0;
    cursor: pointer;
    list-style: none;
    color: #173d52;
    font-size: 16px;
    font-weight: 700;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary span {
    flex: 0 0 auto;
    color: #0077b9;
    font-size: 22px;
    font-weight: 400;
    transition: transform 0.3s ease;
}

.faq-list details[open] summary span {
    transform: rotate(45deg);
}

.faq-list details p {
    max-width: 700px;
    margin: -5px 0 25px;
    color: #6b7f8a;
    font-size: 14px;
    line-height: 1.8;
}


/* =========================================================
   FINAL CTA
========================================================= */

.home-cta {
    padding: 30px 0 100px;
    background: #fff;
}

.home-cta__inner {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 65px 70px;
    border-radius: 14px;
    background:
        linear-gradient(
            120deg,
            #063b59 0%,
            #075475 65%,
            #0077b9 100%
        );
}

.home-cta__inner::after {
    content: "";
    position: absolute;
    right: -130px;
    top: -160px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.home-cta__content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.home-cta .section-label {
    color: #79dca7;
}

.home-cta h2 {
    margin: 0 0 17px;
    color: #fff;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.12;
}

.home-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    line-height: 1.75;
}

.home-cta__actions {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    flex-shrink: 0;
}

.cta-phone {
    display: flex;
    flex-direction: column;
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    text-decoration: none;
}

.cta-phone span {
    margin-bottom: 3px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/* =========================================================
   SCROLL REVEAL ANIMATION
========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    .section-padding {
        padding: 80px 0;
    }

    .home-page .container {
        width: min(100% - 32px, 900px);
    }

    .home-hero {
        min-height: 620px;
    }

    .home-hero h1 {
        font-size: clamp(46px, 7vw, 65px);
    }

    .home-intro__grid {
        gap: 55px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .treatment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .conditions-grid {
        gap: 50px;
    }

    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .approach-step {
        border-bottom: 1px solid #dbe7ed;
    }

    .approach-step:nth-child(2) {
        border-right: 0;
    }

    .faq-grid {
        gap: 50px;
    }

    .home-cta__inner {
        padding: 55px 45px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .section-padding {
        padding: 65px 0;
    }

    .home-page .container {
        width: calc(100% - 30px);
    }

    .section-heading {
        margin-bottom: 38px;
    }

    .section-heading h2,
    .home-intro__content h2,
    .conditions-content h2,
    .faq-intro h2 {
        font-size: 32px;
        letter-spacing: -0.6px;
    }

    .section-heading p,
    .home-intro__content p,
    .conditions-content p,
    .faq-intro p {
        font-size: 15px;
        line-height: 1.7;
    }

    .section-heading--split {
        display: block;
    }

    .section-heading--split p {
        margin-top: 20px;
    }


    /* HERO */

    .home-hero {
        min-height: 680px;
        background-position: 65% center;
    }

    .home-hero__content {
        padding: 100px 0 80px;
    }

    .home-eyebrow {
        font-size: 11px;
        letter-spacing: 1.4px;
    }

    .home-hero h1 {
        font-size: clamp(43px, 12vw, 58px);
        letter-spacing: -1.8px;
    }

    .home-hero p {
        margin: 22px 0 28px;
        font-size: 16px;
    }

    .home-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .home-page .btn {
        width: 100%;
    }

    .home-hero__scroll {
        display: none;
    }


    /* INTRO */

    .home-intro__grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .image-placeholder,
    .image-placeholder img {
        min-height: 380px;
    }

    .experience-card {
        right: 15px;
        bottom: 20px;
    }

    .home-intro__image::before {
        top: -12px;
        left: -10px;
        width: 70px;
        height: 70px;
    }


    /* FEATURES */

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature-card {
        min-height: auto;
    }


    /* SERVICES */

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card__image {
        height: 210px;
    }

    .service-card--simple {
        min-height: auto;
    }


    /* TREATMENTS */

    .treatment-grid {
        grid-template-columns: 1fr;
    }

    .treatment-item {
        min-height: 170px;
    }

    .treatment-item > span {
        margin-bottom: 25px;
    }


    /* CONDITIONS */

    .conditions-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .conditions-list {
        grid-template-columns: 1fr;
    }


    /* APPROACH */

    .approach-grid {
        grid-template-columns: 1fr;
    }

    .approach-step {
        padding: 25px 0;
        border-right: 0 !important;
    }

    .approach-step__number {
        margin-bottom: 20px;
    }


    /* FAQ */

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .faq-intro {
        position: static;
    }

    .faq-list summary {
        padding: 21px 0;
        font-size: 15px;
    }


    /* CTA */

    .home-cta {
        padding: 15px 0 65px;
    }

    .home-cta__inner {
        display: block;
        padding: 45px 25px;
        border-radius: 10px;
    }

    .home-cta h2 {
        font-size: 32px;
    }

    .home-cta__actions {
        margin-top: 30px;
        align-items: stretch;
    }

    .cta-phone {
        text-align: center;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .home-hero {
        min-height: 650px;
    }

    .home-hero h1 {
        font-size: 42px;
    }

    .section-heading h2,
    .home-intro__content h2,
    .conditions-content h2,
    .faq-intro h2 {
        font-size: 29px;
    }

    .experience-card {
        min-width: 145px;
        padding: 16px 18px;
    }

    .service-card__content {
        padding: 23px;
    }

    .treatment-item {
        padding: 25px;
    }

}