/* Orthoveda Cartilage Restoration Section - Scoped Front-end Styles
   Everything is namespaced under .ortho-luxury-section so it never
   leaks out and breaks the rest of your theme/layout. */

.ortho-luxury-section {
    --ol-bg-clean: #FFFFFF;
    --ol-bg-panel: #F8FAFC;
    --ol-med-blue: #0F2942;
    --ol-gold-subtle: #C5A880;
    --ol-gold-dark: #A68B62;
    --ol-text-body: #475569;
    --ol-border-soft: #E2E8F0;

    background-color: var(--ol-bg-clean);
    font-family: 'Inter', sans-serif;
    color: var(--ol-text-body);
    padding: 120px 24px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.ortho-luxury-section *,
.ortho-luxury-section *::before,
.ortho-luxury-section *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.ortho-luxury-section ul.ortho-lux-list { padding-top: 20px; }

.ortho-luxury-container {
    max-width: 1140px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(40px);
    animation: orthoLuxFadeIn 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ortho-lux-header {
    text-align: center;
    margin-bottom: 100px;
}

.ortho-lux-tag {
    font-family: 'Manrope', 'Inter', sans-serif;
    color: var(--ol-gold-dark);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-bottom: 20px;
    display: block;
    font-weight: 600;
}

.ortho-lux-title {
    font-family: 'Manrope', 'Inter', sans-serif;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--ol-med-blue);
    line-height: 1.25;
}

.ortho-lux-title span {
    color: var(--ol-gold-subtle);
    font-weight: 500;
    position: relative;
    display: inline-block;
}

.ortho-lux-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--ol-text-body);
    max-width: 760px;
    margin: 26px auto 0;
    font-weight: 400;
    line-height: 1.8;
    opacity: 0.85;
}

.ortho-lux-flow {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.ortho-lux-panel {
    padding: 60px;
    background: radial-gradient(100% 100% at 50% 0%, #FFFFFF 0%, #FDFDFD 100%);
    border: 1px solid var(--ol-border-soft);
    border-radius: 16px;
    position: relative;
    z-index: 1;

    /* scroll reveal starting state */
    opacity: 0;
    transform: translateY(40px);

    transition: border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.8s ease;
}

.ortho-lux-panel.ortho-in-view {
    opacity: 1;
    transform: translateY(0);
}

.ortho-lux-panel.with-image {
    display: flex;
    align-items: center;
    gap: 80px;
}

.ortho-lux-panel:hover {
    border-color: rgba(197, 168, 128, 0.4);
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(15, 41, 66, 0.05),
                0 0 40px rgba(197, 168, 128, 0.03);
    background: radial-gradient(100% 100% at 50% 0%, #FFFFFF 60%, rgba(197, 168, 128, 0.02) 100%);
}

.ortho-lux-image-box {
    flex: 1;
    min-width: 440px;
    position: relative;
}

.ortho-lux-frame {
    width: 100%;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background-color: var(--ol-bg-panel);
    border: 1px solid var(--ol-border-soft);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ortho-lux-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.93;
    display: block;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.6s ease;
}

.ortho-lux-panel:hover .ortho-lux-frame {
    border-color: rgba(197, 168, 128, 0.25);
    box-shadow: 0 20px 45px rgba(15, 41, 66, 0.08);
}

.ortho-lux-panel:hover .ortho-lux-img {
    transform: scale(1.07);
    opacity: 1;
}

.ortho-lux-text-box {
    flex: 1;
    position: relative;
}

.ortho-lux-number {
    font-family: 'Manrope', 'Inter', sans-serif;
    font-size: 13px;
    color: var(--ol-gold-dark);
    font-weight: 700;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 16px;
}

.ortho-lux-heading {
    font-family: 'Manrope', 'Inter', sans-serif;
    font-size: 34px;
    font-weight: 700;
    color: var(--ol-med-blue);
    margin-bottom: 24px;
    line-height: 1.3;
    letter-spacing: -0.5px;
    transition: color 0.4s ease;
}

.ortho-lux-para {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.85;
    color: var(--ol-text-body);
    font-weight: 400;
    margin-bottom: 24px;
}

.ortho-lux-list {
    list-style: none;
    padding-top: 20px;
    border-top: 1px solid var(--ol-border-soft);
}

.ortho-lux-item {
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    line-height: 1.75;
    margin-bottom: 14px;
    position: relative;
    padding-left: 30px;
    color: var(--ol-med-blue);
    font-weight: 500;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ortho-lux-item:last-child {
    margin-bottom: 0;
}

.ortho-lux-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 16px;
    height: 2px;
    background-color: var(--ol-gold-subtle);
    border-radius: 2px;
    transition: width 0.4s ease, background-color 0.4s ease;
}

.ortho-lux-panel:hover .ortho-lux-item {
    transform: translateX(5px);
}

.ortho-lux-panel:hover .ortho-lux-item::before {
    width: 22px;
    background-color: var(--ol-gold-dark);
}

@keyframes orthoLuxFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .ortho-luxury-section {
        padding: 80px 16px;
    }
    .ortho-lux-panel.with-image {
        flex-direction: column !important;
        gap: 45px;
    }
    .ortho-lux-panel {
        padding: 40px 30px;
        margin-bottom: 60px;
    }
    .ortho-lux-image-box {
        min-width: 100%;
        width: 100%;
    }
    .ortho-lux-frame {
        height: 340px;
    }
    .ortho-lux-title {
        font-size: 36px;
    }
    .ortho-lux-heading {
        font-size: 28px;
    }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .ortho-luxury-container,
    .ortho-lux-panel {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
