/* =========================================================
   CUSTOM ORTHOTICS PAGE
   Get Well Physiotherapy & Sports Injury Clinic
   ========================================================= */

.custom-orthotics-page {
    overflow: hidden;
}

/* =========================================================
   HERO
   ========================================================= */

.custom-orthotics-page .service-hero {
    position: relative;
    padding: 150px 0 120px;
    background:
        linear-gradient(135deg, rgba(0, 119, 185, 0.95), rgba(0, 166, 81, 0.88)),
        url("../images/custom-orthotics-hero.webp") center/cover no-repeat;
    color: #fff;
}

.custom-orthotics-page .service-hero-content {
    max-width: 820px;
}

.custom-orthotics-page .eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.custom-orthotics-page .service-hero h1 {
    margin: 0 0 22px;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.08;
    font-weight: 800;
}

.custom-orthotics-page .service-hero p {
    max-width: 700px;
    margin: 0 0 32px;
    font-size: 20px;
    line-height: 1.7;
}

.custom-orthotics-page .hero-actions,
.custom-orthotics-page .cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.custom-orthotics-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 13px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.custom-orthotics-page .btn:hover {
    transform: translateY(-3px);
}

.custom-orthotics-page .btn-primary {
    background: #00a651;
    color: #fff;
}

.custom-orthotics-page .btn-primary:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.16);
}

.custom-orthotics-page .btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.9);
    color: #fff;
    background: transparent;
}

.custom-orthotics-page .btn-outline:hover {
    background: #fff;
    color: #0077b9;
}


/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

.custom-orthotics-page .section-padding {
    padding: 95px 0;
}

.custom-orthotics-page .section-light {
    background: #f5f9fc;
}

.custom-orthotics-page .section-heading {
    max-width: 850px;
    margin: 0 auto 55px;
    text-align: center;
}

.custom-orthotics-page .section-label {
    display: inline-block;
    margin-bottom: 12px;
    color: #0077b9;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.custom-orthotics-page .section-heading h2,
.custom-orthotics-page .content-narrow h2 {
    margin: 0 0 20px;
    color: #172b3a;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
    font-weight: 800;
}

.custom-orthotics-page .section-heading p,
.custom-orthotics-page .content-narrow p {
    color: #536573;
    font-size: 17px;
    line-height: 1.8;
}

.custom-orthotics-page .content-narrow {
    max-width: 900px;
    margin: 0 auto;
}

.custom-orthotics-page .content-narrow p {
    margin: 0 0 20px;
}


/* =========================================================
   INFO GRID
   ========================================================= */

.custom-orthotics-page .info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.custom-orthotics-page .info-card {
    padding: 32px;
    background: #fff;
    border: 1px solid #e6edf2;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(20, 55, 75, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-orthotics-page .info-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 40px rgba(20, 55, 75, 0.11);
}

.custom-orthotics-page .info-card h3 {
    margin: 0 0 14px;
    color: #0077b9;
    font-size: 21px;
    line-height: 1.3;
}

.custom-orthotics-page .info-card p {
    margin: 0;
    color: #5a6a76;
    font-size: 15px;
    line-height: 1.75;
}


/* =========================================================
   CONDITIONS
   ========================================================= */

.custom-orthotics-page .condition-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

.custom-orthotics-page .condition-item {
    position: relative;
    padding: 20px 22px 20px 50px;
    background: #fff;
    border: 1px solid #e2ebf0;
    border-radius: 8px;
    color: #344956;
    font-size: 16px;
    line-height: 1.5;
    box-shadow: 0 5px 18px rgba(20, 55, 75, 0.04);
}

.custom-orthotics-page .condition-item::before {
    content: "✓";
    position: absolute;
    left: 20px;
    top: 18px;
    color: #00a651;
    font-size: 18px;
    font-weight: 800;
}


/* =========================================================
   STEPS
   ========================================================= */

.custom-orthotics-page .steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.custom-orthotics-page .step-card {
    position: relative;
    padding: 35px 28px;
    background: #fff;
    border: 1px solid #e5edf2;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(20, 55, 75, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-orthotics-page .step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 35px rgba(20, 55, 75, 0.1);
}

.custom-orthotics-page .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 22px;
    border-radius: 50%;
    background: #eaf7f1;
    color: #00a651;
    font-size: 14px;
    font-weight: 800;
}

.custom-orthotics-page .step-card h3 {
    margin: 0 0 14px;
    color: #172b3a;
    font-size: 20px;
}

.custom-orthotics-page .step-card p {
    margin: 0;
    color: #5a6a76;
    font-size: 15px;
    line-height: 1.75;
}


/* =========================================================
   FAQ
   ========================================================= */

.custom-orthotics-page .service-faq {
    background: #fff;
}

.custom-orthotics-page .faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.custom-orthotics-page .faq-item {
    margin-bottom: 12px;
    border: 1px solid #e1e9ee;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.custom-orthotics-page .faq-item summary {
    position: relative;
    padding: 21px 55px 21px 24px;
    cursor: pointer;
    list-style: none;
    color: #172b3a;
    font-size: 17px;
    font-weight: 700;
}

.custom-orthotics-page .faq-item summary::-webkit-details-marker {
    display: none;
}

.custom-orthotics-page .faq-item summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: #0077b9;
    font-size: 25px;
    font-weight: 400;
}

.custom-orthotics-page .faq-item[open] summary::after {
    content: "−";
}

.custom-orthotics-page .faq-item p {
    margin: 0;
    padding: 0 24px 23px;
    color: #5a6a76;
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   CTA
   ========================================================= */

.custom-orthotics-page .service-cta {
    background:
        linear-gradient(135deg, #0077b9, #00679f);
}

.custom-orthotics-page .cta-box {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

.custom-orthotics-page .cta-box .section-label {
    color: #fff;
}

.custom-orthotics-page .cta-box h2 {
    margin: 0 0 20px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
}

.custom-orthotics-page .cta-box p {
    max-width: 720px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 17px;
    line-height: 1.8;
}

.custom-orthotics-page .cta-actions {
    justify-content: center;
}

.custom-orthotics-page .cta-box .btn-outline:hover {
    color: #0077b9;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .custom-orthotics-page .service-hero {
        padding: 120px 0 95px;
    }

    .custom-orthotics-page .section-padding {
        padding: 75px 0;
    }

    .custom-orthotics-page .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .custom-orthotics-page .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .custom-orthotics-page .service-hero {
        padding: 95px 0 75px;
    }

    .custom-orthotics-page .service-hero h1 {
        font-size: 40px;
    }

    .custom-orthotics-page .service-hero p {
        font-size: 17px;
        line-height: 1.6;
    }

    .custom-orthotics-page .hero-actions,
    .custom-orthotics-page .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .custom-orthotics-page .btn {
        width: 100%;
    }

    .custom-orthotics-page .section-padding {
        padding: 60px 0;
    }

    .custom-orthotics-page .section-heading {
        margin-bottom: 35px;
    }

    .custom-orthotics-page .section-heading h2,
    .custom-orthotics-page .content-narrow h2 {
        font-size: 32px;
    }

    .custom-orthotics-page .section-heading p,
    .custom-orthotics-page .content-narrow p {
        font-size: 16px;
        line-height: 1.7;
    }

    .custom-orthotics-page .info-grid,
    .custom-orthotics-page .condition-grid,
    .custom-orthotics-page .steps-grid {
        grid-template-columns: 1fr;
    }

    .custom-orthotics-page .info-card,
    .custom-orthotics-page .step-card {
        padding: 26px;
    }

    .custom-orthotics-page .condition-item {
        padding: 17px 18px 17px 46px;
    }

    .custom-orthotics-page .faq-item summary {
        padding: 18px 48px 18px 18px;
        font-size: 16px;
    }

    .custom-orthotics-page .faq-item p {
        padding: 0 18px 20px;
    }

    .custom-orthotics-page .cta-box h2 {
        font-size: 32px;
    }

    .custom-orthotics-page .cta-box p {
        font-size: 16px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .custom-orthotics-page .service-hero {
        padding: 80px 0 65px;
    }

    .custom-orthotics-page .service-hero h1 {
        font-size: 34px;
    }

    .custom-orthotics-page .eyebrow {
        font-size: 11px;
    }

    .custom-orthotics-page .section-heading h2,
    .custom-orthotics-page .content-narrow h2 {
        font-size: 28px;
    }

    .custom-orthotics-page .info-card,
    .custom-orthotics-page .step-card {
        padding: 22px;
    }
}