/**
 * RehabCo primary stylesheet.
 */

:root {
    --rc-navy: #112f3b;
    --rc-navy-deep: #0b222b;
    --rc-teal: #43b7a8;
    --rc-teal-dark: #238f83;
    --rc-mint: #eaf7f4;
    --rc-sand: #f6f5f0;
    --rc-text: #31434a;
    --rc-white: #ffffff;
    --rc-border: #dce7e4;
    --rc-radius: 22px;
    --rc-shadow: 0 20px 55px rgba(17, 47, 59, 0.10);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--rc-text);
    background: var(--rc-white);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.rehabco-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.rehabco-topbar {
    background: var(--rc-navy-deep);
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
}

.rehabco-topbar__inner {
    min-height: 38px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.rehabco-navbar {
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--rc-border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.rehabco-navbar__inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    gap: 34px;
}

.rehabco-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--rc-navy);
    font-weight: 800;
    font-size: 25px;
    letter-spacing: -1px;
}

.rehabco-brand__mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: var(--rc-teal);
    color: var(--rc-white);
    border-radius: 13px 13px 13px 4px;
    font-size: 17px;
    letter-spacing: 0;
}

.rehabco-nav {
    margin-left: auto;
}

.rehabco-nav ul,
.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rehabco-nav > ul {
    display: flex;
    align-items: center;
    gap: 28px;
}

.rehabco-nav a {
    color: var(--rc-navy);
    font-size: 15px;
    font-weight: 700;
}

.rehabco-nav a:hover,
.rehabco-nav .current-menu-item > a {
    color: var(--rc-teal-dark);
}

.rehabco-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 25px;
    border-radius: 999px;
    background: var(--rc-teal);
    color: var(--rc-white);
    font-weight: 800;
    transition: transform .2s ease, background .2s ease;
}

.rehabco-btn:hover {
    transform: translateY(-2px);
    background: var(--rc-teal-dark);
}

.rehabco-btn--outline {
    background: transparent;
    color: var(--rc-navy);
    border: 1px solid var(--rc-navy);
}

.rehabco-btn--light {
    background: var(--rc-white);
    color: var(--rc-navy);
}

.rehabco-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    padding: 8px;
}

.rehabco-menu-toggle span:not(.screen-reader-text) {
    display: block;
    height: 2px;
    margin: 6px 0;
    background: var(--rc-navy);
}

.rehabco-hero {
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 18%, rgba(67,183,168,.22), transparent 24%),
        linear-gradient(120deg, #f7fbfa 0%, #eef8f5 100%);
}

.rehabco-hero__grid {
    min-height: 650px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 60px;
}

.rehabco-kicker {
    display: inline-block;
    margin-bottom: 13px;
    color: var(--rc-teal-dark);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.rehabco-hero h1,
.rehabco-section h2,
.rehabco-cta h2 {
    margin: 0;
    color: var(--rc-navy);
    line-height: 1.07;
    letter-spacing: -2px;
}

.rehabco-hero h1 {
    max-width: 720px;
    font-size: clamp(44px, 5vw, 72px);
}

.rehabco-hero__content > p {
    max-width: 690px;
    margin: 24px 0 28px;
    font-size: 18px;
}

.rehabco-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.rehabco-text-link {
    color: var(--rc-navy);
    font-weight: 800;
}

.rehabco-hero__visual {
    min-height: 500px;
    position: relative;
}

.rehabco-hero__shape {
    position: absolute;
    border-radius: 50%;
}

.rehabco-hero__shape--one {
    width: 390px;
    height: 390px;
    right: 20px;
    top: 20px;
    background: var(--rc-teal);
    opacity: .17;
}

.rehabco-hero__shape--two {
    width: 300px;
    height: 380px;
    right: 80px;
    top: 70px;
    border-radius: 160px 160px 40px 40px;
    background: linear-gradient(150deg, var(--rc-navy), var(--rc-teal));
    opacity: .92;
}

.rehabco-hero__card {
    position: absolute;
    left: 0;
    bottom: 52px;
    width: min(340px, 88%);
    padding: 24px;
    background: var(--rc-white);
    border-radius: var(--rc-radius);
    box-shadow: var(--rc-shadow);
}

.rehabco-hero__card strong,
.rehabco-hero__card span {
    display: block;
}

.rehabco-hero__card strong {
    color: var(--rc-navy);
    font-size: 18px;
    margin-bottom: 7px;
}

.rehabco-hero__card span {
    font-size: 13px;
}

.rehabco-section {
    padding: 95px 0;
}

.rehabco-section--soft {
    background: var(--rc-sand);
}

.rehabco-section--dark {
    background: var(--rc-navy);
    color: rgba(255,255,255,.76);
}

.rehabco-section--dark h2 {
    color: var(--rc-white);
}

.rehabco-section-heading {
    display: grid;
    grid-template-columns: 1fr .75fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 45px;
}

.rehabco-section-heading--center {
    grid-template-columns: 1fr;
    text-align: center;
}

.rehabco-section h2,
.rehabco-cta h2 {
    font-size: clamp(34px, 4vw, 52px);
}

.rehabco-section-heading p {
    margin: 0;
}

.rehabco-service-grid,
.rehabco-feature-grid,
.rehabco-blog-grid {
    display: grid;
    gap: 22px;
}

.rehabco-service-grid {
    grid-template-columns: repeat(4, 1fr);
}

.rehabco-service-card,
.rehabco-blog-card {
    padding: 30px;
    border: 1px solid var(--rc-border);
    border-radius: var(--rc-radius);
    background: var(--rc-white);
    transition: transform .2s ease, box-shadow .2s ease;
}

.rehabco-service-card:hover,
.rehabco-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--rc-shadow);
}

.rehabco-service-card__number {
    color: var(--rc-teal);
    font-size: 13px;
    font-weight: 900;
}

.rehabco-service-card h3,
.rehabco-feature-grid h3,
.rehabco-blog-card h3 {
    color: var(--rc-navy);
    font-size: 22px;
    line-height: 1.25;
}

.rehabco-service-card a {
    color: var(--rc-teal-dark);
    font-weight: 800;
}

.rehabco-split {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 75px;
    align-items: center;
}

.rehabco-abstract-panel {
    min-height: 465px;
    display: grid;
    place-items: center;
    border-radius: 45% 45% 20px 20px;
    background: linear-gradient(145deg, var(--rc-teal), var(--rc-navy));
    color: rgba(255,255,255,.82);
    font-size: 90px;
    font-weight: 900;
}

.rehabco-check-list {
    padding: 0;
    list-style: none;
    margin: 25px 0 30px;
}

.rehabco-check-list li {
    position: relative;
    padding-left: 30px;
    margin: 10px 0;
}

.rehabco-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--rc-teal-dark);
    font-weight: 900;
}

.rehabco-feature-grid {
    grid-template-columns: repeat(3, 1fr);
}

.rehabco-feature-grid article {
    padding: 34px;
    border-left: 3px solid var(--rc-teal);
    background: var(--rc-mint);
    border-radius: 0 var(--rc-radius) var(--rc-radius) 0;
}

.rehabco-feature-grid strong {
    color: var(--rc-teal-dark);
}

.rehabco-appointment {
    padding: 50px;
    border-radius: 30px;
    background: var(--rc-mint);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.rehabco-appointment h2 {
    max-width: 700px;
}

.rehabco-testimonial {
    max-width: 900px;
    text-align: center;
}

.rehabco-testimonial blockquote {
    margin: 10px 0;
    color: var(--rc-navy);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 800;
    line-height: 1.25;
}

.rehabco-blog-grid {
    grid-template-columns: repeat(3, 1fr);
}

.rehabco-blog-card > span {
    font-size: 12px;
    font-weight: 800;
    color: var(--rc-teal-dark);
}

.rehabco-cta {
    padding: 65px 0;
    background: var(--rc-teal);
}

.rehabco-cta__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.rehabco-cta h2 {
    color: var(--rc-white);
}

.rehabco-cta__inner > div > span {
    color: rgba(255,255,255,.78);
    font-weight: 700;
}

.site-footer {
    background: var(--rc-navy-deep);
    color: rgba(255,255,255,.72);
}

.rehabco-footer-grid {
    padding: 70px 0 55px;
    display: grid;
    grid-template-columns: 1.3fr .7fr .8fr;
    gap: 60px;
}

.rehabco-brand--footer {
    color: var(--rc-white);
}

.site-footer h3 {
    color: var(--rc-white);
}

.site-footer li {
    margin: 9px 0;
}

.site-footer a:hover {
    color: var(--rc-white);
}

.rehabco-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 22px 0;
    font-size: 13px;
}

.rehabco-page-shell {
    padding: 75px 0;
    min-height: 55vh;
    background: var(--rc-sand);
}

.rehabco-content-card {
    padding: 45px;
    background: var(--rc-white);
    border-radius: var(--rc-radius);
    box-shadow: var(--rc-shadow);
}

.rehabco-content-card h1 {
    color: var(--rc-navy);
}

.rehabco-center {
    text-align: center;
}

@media (max-width: 980px) {
    .rehabco-btn--header {
        display: none;
    }

    .rehabco-menu-toggle {
        display: block;
        margin-left: auto;
    }

    .rehabco-nav {
        display: none;
        position: absolute;
        left: 20px;
        right: 20px;
        top: 86px;
        padding: 20px;
        background: var(--rc-white);
        border: 1px solid var(--rc-border);
        border-radius: 16px;
        box-shadow: var(--rc-shadow);
    }

    .rehabco-nav.is-open {
        display: block;
    }

    .rehabco-nav > ul {
        display: block;
    }

    .rehabco-nav li + li {
        margin-top: 13px;
    }

    .rehabco-hero__grid,
    .rehabco-split,
    .rehabco-section-heading {
        grid-template-columns: 1fr;
    }

    .rehabco-hero__grid {
        padding: 70px 0;
    }

    .rehabco-service-grid,
    .rehabco-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rehabco-blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .rehabco-container {
        width: min(100% - 28px, 1180px);
    }

    .rehabco-topbar__inner {
        padding: 8px 0;
        display: block;
    }

    .rehabco-topbar__inner a {
        display: none;
    }

    .rehabco-navbar__inner {
        min-height: 72px;
    }

    .rehabco-nav {
        top: 72px;
    }

    .rehabco-hero__grid {
        min-height: auto;
        gap: 25px;
    }

    .rehabco-hero__visual {
        min-height: 360px;
    }

    .rehabco-hero__shape--one {
        width: 300px;
        height: 300px;
    }

    .rehabco-hero__shape--two {
        width: 230px;
        height: 300px;
        right: 25px;
    }

    .rehabco-section {
        padding: 68px 0;
    }

    .rehabco-service-grid,
    .rehabco-feature-grid {
        grid-template-columns: 1fr;
    }

    .rehabco-appointment,
    .rehabco-cta__inner {
        display: block;
    }

    .rehabco-appointment .rehabco-btn,
    .rehabco-cta .rehabco-btn {
        margin-top: 20px;
    }

    .rehabco-footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .rehabco-content-card {
        padding: 28px;
    }
}
