/** 
 * CSS Variables 
 * Theme: Light Split (Preset B)
 */
 :root {
    --osteo-bg: #FCFBF9;
    --osteo-surface: #FFFFFF;
    --osteo-accent: #BE5030;
    --osteo-accent-hover: #9E3F23;
    --osteo-text-dark: #1A1A2A;
    --osteo-text-muted: #555566;
    --osteo-border: #E5E0DA;
    --osteo-gradient: linear-gradient(135deg, #BE5030, #E07A5F);
    
    --osteo-font-display: 'Montserrat', sans-serif;
    --osteo-font-body: 'Open Sans', sans-serif;
    
    --osteo-padding-scale: 16dvh; /* Spacious */
    --osteo-radius: 16px; /* Soft */
    --osteo-shadow: 0 10px 25px rgba(26, 26, 42, 0.08); /* Raised */
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--osteo-font-body);
    background-color: var(--osteo-bg);
    color: var(--osteo-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--osteo-font-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--osteo-text-dark);
}

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

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

/* Announcement Bar */
.cartilage-notice-strip {
    text-align: center;
    padding: 0.6rem 1rem;
    color: #FFF;
    font-size: 0.9rem;
    font-weight: 500;
}
.cartilage-notice-strip a {
    text-decoration: underline;
    margin-left: 0.5rem;
    font-weight: 700;
}

/* Header */
.articular-head-wrap {
    background: var(--osteo-surface);
    border-bottom: 1px solid var(--osteo-border);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow 0.3s ease;
}
.articular-head-wrap:focus-within,
.articular-head-wrap:hover {
    box-shadow: var(--osteo-shadow);
}
.articular-head-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    max-width: 1440px;
    margin: 0 auto;
}
.articular-brand-mark {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--osteo-font-display);
    font-weight: 700;
    font-size: 1.2rem;
}
.articular-nav-path {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.articular-nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}
.articular-nav-link:hover {
    color: var(--osteo-accent);
}
.articular-nav-special {
    background: var(--osteo-accent);
    color: #FFF;
    padding: 0.6rem 1.2rem;
    border-radius: var(--osteo-radius);
}
.articular-nav-special:hover {
    background: var(--osteo-accent-hover);
    color: #FFF;
}

/* Mobile Menu Tricks */
.articular-burger-check {
    display: none;
}
.articular-burger-icon {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.articular-burger-line {
    width: 25px;
    height: 3px;
    background: var(--osteo-text-dark);
    border-radius: 3px;
    transition: 0.3s;
}

/* Split Hero */
.kinematic-split-zone {
    display: flex;
    flex-wrap: wrap;
    min-height: calc(100vh - 120px);
    background: var(--osteo-surface);
}
.kinematic-text-side {
    flex: 1 1 55%;
    padding: var(--osteo-padding-scale) 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.kinematic-visual-side {
    flex: 1 1 45%;
    min-height: 40vh;
}
.kinematic-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.kinematic-main-heading {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}
.kinematic-sub-heading {
    font-size: 1.1rem;
    color: var(--osteo-text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.flexion-action-trigger {
    display: inline-block;
    background: var(--osteo-accent);
    color: #FFF;
    padding: 1rem 2.5rem;
    border-radius: var(--osteo-radius);
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    box-shadow: 0 4px 15px rgba(190, 80, 48, 0.3);
}
.flexion-action-trigger:hover {
    background: var(--osteo-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(190, 80, 48, 0.4);
}
.flexion-action-inverse {
    background: var(--osteo-surface);
    color: var(--osteo-accent);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.flexion-action-inverse:hover {
    background: #F9F9F9;
    color: var(--osteo-accent-hover);
}

/* Magazine Content Section */
.tissue-editorial-area {
    background: var(--osteo-bg);
    padding-bottom: var(--osteo-padding-scale);
}
.tissue-stripe-visual {
    width: 100%;
    height: 45vh;
    object-fit: cover;
}
.tissue-magazine-spread {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    padding: 4rem 5%;
    max-width: 1440px;
    margin: 0 auto;
}
.tissue-journal-col {
    flex: 1 1 300px;
    border-top: 3px solid var(--osteo-accent);
    padding-top: 1.5rem;
}
.tissue-journal-heading {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.tissue-journal-text {
    color: var(--osteo-text-muted);
    font-size: 0.95rem;
}

/* Masonry Features */
.ligament-features-domain {
    padding: var(--osteo-padding-scale) 5%;
    background: var(--osteo-surface);
    max-width: 1440px;
    margin: 0 auto;
}
.ligament-domain-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}
.ligament-masonry-board {
    column-count: 2;
    column-gap: 2rem;
}
.ligament-info-tile {
    background: var(--osteo-bg);
    border-radius: var(--osteo-radius);
    padding: 2.5rem;
    margin-bottom: 2rem;
    break-inside: avoid;
    box-shadow: var(--osteo-shadow);
    border: 1px solid var(--osteo-border);
    transition: transform 0.3s;
}
.ligament-info-tile:hover {
    transform: translateY(-5px);
}
.ligament-tile-icon {
    width: 48px;
    height: 48px;
    color: var(--osteo-accent);
    margin-bottom: 1.5rem;
}
.ligament-tile-heading {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}
.ligament-tile-text {
    color: var(--osteo-text-muted);
    font-size: 0.95rem;
}

/* How it works */
.synovial-process-zone {
    padding: var(--osteo-padding-scale) 5%;
    background: var(--osteo-bg);
    max-width: 1440px;
    margin: 0 auto;
}
.synovial-process-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 5rem;
}
.synovial-progress-path {
    display: flex;
    justify-content: space-between;
    position: relative;
    gap: 2rem;
}
.synovial-progress-path::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 0;
    border-top: 2px dashed var(--osteo-border);
    z-index: 0;
}
.synovial-step-node {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    background: var(--osteo-bg);
    padding: 0 1rem;
}
.synovial-step-circle {
    width: 60px;
    height: 60px;
    background: var(--osteo-surface);
    border: 2px solid var(--osteo-border);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--osteo-text-muted);
}
.synovial-step-active .synovial-step-circle {
    border-color: var(--osteo-accent);
    color: var(--osteo-accent);
    background: var(--osteo-surface);
    box-shadow: 0 0 0 5px rgba(190, 80, 48, 0.1);
}
.synovial-step-heading {
    font-size: 1.2rem;
}
.synovial-step-text {
    font-size: 0.9rem;
    color: var(--osteo-text-muted);
}

/* CTA Strip */
.mobility-cta-ribbon {
    padding: var(--osteo-padding-scale) 5%;
    text-align: center;
    color: #FFF;
}
.mobility-cta-inner {
    max-width: 800px;
    margin: 0 auto;
}
.mobility-cta-heading {
    font-size: 2.5rem;
    color: #FFF;
    margin-bottom: 2.5rem;
}

/* Footer */
.articular-foot-wrap {
    background: #111;
    color: #CCC;
    padding: 4rem 5% 2rem;
    text-align: center;
}
.articular-foot-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--osteo-font-display);
    font-weight: 700;
    font-size: 1.5rem;
    color: #FFF;
    margin-bottom: 2rem;
}
.articular-foot-links {
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}
.articular-foot-links a {
    color: #FFF;
    font-size: 0.9rem;
}
.articular-foot-links a:hover {
    color: var(--osteo-accent);
}
.articular-foot-disclaimer {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    color: #888;
}
.articular-foot-copyright {
    font-size: 0.8rem;
    color: #666;
}

/* Cookie Banner */
.cookie-notice-pane {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--osteo-surface);
    box-shadow: 0 -5px 25px rgba(0,0,0,0.1);
    padding: 1.5rem 5%;
    z-index: 9999;
    display: none;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    border-top: 1px solid var(--osteo-border);
}
.cookie-notice-text {
    font-size: 0.95rem;
    flex: 1;
    min-width: 250px;
}
.cookie-notice-actions {
    display: flex;
    gap: 1rem;
}

/* Expert Page Specifics */
.kinematic-minimal-intro {
    padding: calc(var(--osteo-padding-scale) / 2) 5% var(--osteo-padding-scale);
    background: var(--osteo-surface);
}
.educator-profile-split {
    display: flex;
    flex-wrap: wrap;
    max-width: 1440px;
    margin: 0 auto;
    background: var(--osteo-surface);
}
.educator-visual-side, .educator-text-side {
    flex: 1 1 50%;
}
.educator-text-side {
    padding: 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.educator-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}
.educator-bio-text {
    color: var(--osteo-text-muted);
    margin-bottom: 1rem;
}
.metric-horizontal-lane {
    display: flex;
    flex-wrap: wrap;
    background: var(--osteo-bg);
    padding: 4rem 5%;
    justify-content: space-around;
    gap: 2rem;
}
.metric-item-node {
    text-align: center;
}
.metric-number {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: var(--osteo-font-display);
    color: var(--osteo-accent);
    line-height: 1;
}
.metric-label {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--osteo-text-muted);
    margin-top: 0.5rem;
}
.methodology-details-stack {
    max-width: 800px;
    margin: var(--osteo-padding-scale) auto;
    padding: 0 5%;
}
.methodology-fold-open {
    background: var(--osteo-surface);
    border: 1px solid var(--osteo-border);
    border-radius: var(--osteo-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--osteo-shadow);
}
.methodology-fold-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.methodology-fold-text {
    color: var(--osteo-text-muted);
}

/* Reserve Page Specifics */
.booking-dual-layout {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    gap: 4rem;
}
.booking-info-pane {
    flex: 1 1 40%;
}
.booking-form-pane {
    flex: 1 1 50%;
    background: var(--osteo-surface);
    padding: 3rem;
    border-radius: var(--osteo-radius);
    box-shadow: var(--osteo-shadow);
    border: 1px solid var(--osteo-border);
}
.booking-info-card {
    background: var(--osteo-surface);
    padding: 2rem;
    border-radius: var(--osteo-radius);
    margin-bottom: 1.5rem;
    border: 1px solid var(--osteo-border);
}
.booking-card-icon {
    margin-bottom: 1rem;
}
.booking-card-title {
    font-size: 1.3rem;
}
.booking-card-desc {
    color: var(--osteo-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.booking-bullet-list {
    list-style: none;
}
.booking-bullet-list li {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.booking-bullet-list span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--osteo-accent);
    border-radius: 50%;
}
.form-input-group {
    margin-bottom: 1.5rem;
}
.form-input-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}
.form-input-field {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--osteo-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--osteo-bg);
}
.form-input-field:focus {
    outline: none;
    border-color: var(--osteo-accent);
}
.form-check-group {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}
.form-check-box {
    margin-top: 0.3rem;
    accent-color: var(--osteo-accent);
}
.form-check-label {
    font-size: 0.85rem;
    color: var(--osteo-text-muted);
    line-height: 1.4;
}
.form-check-label a {
    color: var(--osteo-accent);
    text-decoration: underline;
}

/* Legal Pages */
.legal-doc-area {
    padding: var(--osteo-padding-scale) 5%;
    min-height: 100vh;
    background: var(--osteo-bg);
}
.legal-doc-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--osteo-surface);
    padding: 3rem;
    border-radius: var(--osteo-radius);
    box-shadow: var(--osteo-shadow);
}
.legal-doc-content p {
    margin-bottom: 1.2rem;
    color: var(--osteo-text-muted);
}
.legal-doc-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 992px) {
    .ligament-masonry-board {
        column-count: 1;
    }
    .booking-dual-layout {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .articular-burger-icon {
        display: flex;
    }
    .articular-nav-path {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--osteo-surface);
        flex-direction: column;
        padding: 2rem 5%;
        border-bottom: 1px solid var(--osteo-border);
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
    }
    .articular-burger-check:checked ~ .articular-nav-path {
        display: flex;
    }
    .kinematic-text-side, .kinematic-visual-side {
        flex: 1 1 100%;
    }
    .tissue-journal-col {
        flex: 1 1 100%;
    }
    .synovial-progress-path {
        flex-direction: column;
        gap: 3rem;
    }
    .synovial-progress-path::before {
        left: 30px;
        top: 0;
        bottom: 0;
        height: auto;
        border-top: none;
        border-left: 2px dashed var(--osteo-border);
    }
    .synovial-step-node {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding-left: 60px;
    }
    .synovial-step-circle {
        position: absolute;
        left: 0;
        top: 0;
        margin: 0;
    }
    .metric-horizontal-lane {
        flex-direction: column;
    }
}