/* Combined service page styling generated from legacy CSS assets */


/* ======================================
   Services Catalog Page
   ====================================== */

.services-hero {
    padding: 60px 0 50px;
    background: linear-gradient(135deg, rgba(145, 208, 114, 0.12), rgba(255, 255, 255, 0.95));
    position: relative;
}

.services-hero .hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.services-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 700;
}

.services-hero p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4c5b6a;
    margin-bottom: 32px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.services-hero .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.services-hero .hero-actions .btn {
    min-width: 200px;
    justify-content: center;
}

.services-hero .hero-actions .btn-secondary {
    background: transparent;
    color: #2c3e50;
    border: 2px solid rgba(145, 208, 114, 0.5);
}

.services-hero .hero-actions .btn-secondary:hover {
    background: rgba(145, 208, 114, 0.1);
    border-color: #91d072;
    color: #2c3e50;
}

/* Treatment Flow Section */
.treatment-flow {
    padding: 70px 0;
    background: linear-gradient(180deg, #fafcf8 0%, #ffffff 100%);
    position: relative;
}

.treatment-flow h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 12px;
    color: #2c3e50;
    font-weight: 700;
}

.treatment-flow .section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: #59697a;
    margin: 0 auto 50px;
    max-width: 600px;
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.flow-step {
    background: linear-gradient(145deg, #ffffff 0%, #f8fcf6 100%);
    border-radius: 20px;
    padding: 36px 28px;
    box-shadow: 0 16px 40px rgba(44, 62, 80, 0.08), 0 0 0 1px rgba(145, 208, 114, 0.1);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    text-align: center;
}

.flow-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #91d072 0%, #7bc456 100%);
    border-radius: 20px 20px 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.flow-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(44, 62, 80, 0.12), 0 0 0 1px rgba(145, 208, 114, 0.25);
}

.flow-step:hover::before {
    transform: scaleX(1);
}

.flow-step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #91d072 0%, #7bc456 100%);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
    box-shadow: 0 12px 28px rgba(145, 208, 114, 0.4), 0 0 0 6px rgba(145, 208, 114, 0.12);
    transition: all 0.3s ease;
}

.flow-step:hover .flow-step-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 16px 36px rgba(145, 208, 114, 0.5), 0 0 0 8px rgba(145, 208, 114, 0.18);
}

.flow-step h3 {
    font-size: 1.25rem;
    margin: 0 0 14px;
    color: #2c3e50;
    font-weight: 700;
    line-height: 1.3;
}

.flow-step-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: #4c5b6a;
    margin: 0 0 18px;
}

.flow-step-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #91d072;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.25s ease;
    padding: 6px 0;
}

.flow-step-link:hover {
    color: #6caf4f;
    gap: 12px;
}

@media (min-width: 1024px) {
    .flow-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }

    .flow-step {
        position: relative;
    }

    .flow-step::after {
        content: '→';
        position: absolute;
        top: 50%;
        right: -22px;
        transform: translateY(-50%);
        font-size: 2rem;
        color: rgba(145, 208, 114, 0.4);
        font-weight: 300;
        transition: all 0.3s ease;
    }

    .flow-step:hover::after {
        color: rgba(145, 208, 114, 0.7);
        right: -26px;
    }

    .flow-step:last-child::after {
        display: none;
    }
}

.services-navigation {
    padding: 60px 0;
    background: linear-gradient(180deg, #ffffff 0%, #fafcf8 100%);
    border-top: 1px solid rgba(145, 208, 114, 0.15);
    border-bottom: 1px solid rgba(145, 208, 114, 0.15);
    position: relative;
}

.services-navigation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 100%;
    background: radial-gradient(ellipse at center top, rgba(145, 208, 114, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.services-navigation h2 {
    text-align: center;
    margin-bottom: 12px;
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
}

.services-navigation p {
    text-align: center;
    margin: 0 auto 44px;
    color: #59697a;
    font-size: 1.125rem;
    max-width: 700px;
    line-height: 1.6;
    position: relative;
}

.nav-groups {
    display: grid;
    gap: 32px;
    position: relative;
}

.nav-group {
    background: linear-gradient(145deg, #ffffff 0%, #f8fbf5 100%);
    border: 2px solid rgba(145, 208, 114, 0.2);
    border-radius: 24px;
    padding: 32px 36px;
    box-shadow: 0 16px 40px rgba(145, 208, 114, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-group::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(145, 208, 114, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.nav-group:hover {
    border-color: rgba(145, 208, 114, 0.35);
    box-shadow: 0 20px 50px rgba(145, 208, 114, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    transform: translateY(-2px);
}

.nav-group:hover::before {
    transform: scale(1.2);
    opacity: 0.7;
}

.nav-group-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.125rem;
    position: relative;
    z-index: 1;
}

.nav-group-title::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #91d072 0%, #7bc456 100%);
    box-shadow: 0 0 0 3px rgba(145, 208, 114, 0.2);
}

.nav-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.nav-tags a {
    padding: 12px 22px;
    border-radius: 999px;
    background: linear-gradient(145deg, #ffffff 0%, #f3f8ef 100%);
    color: #2c3e50;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(145, 208, 114, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    font-size: 0.875rem;
}

.nav-tags a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(145, 208, 114, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.nav-tags a:hover {
    background: linear-gradient(135deg, #91d072 0%, #7bc456 100%);
    border-color: #7bc456;
    color: #fff;
    box-shadow: 0 12px 28px rgba(145, 208, 114, 0.35), 0 0 0 4px rgba(145, 208, 114, 0.1);
    transform: translateY(-2px);
}

.nav-tags a:hover::before {
    width: 300px;
    height: 300px;
}

.nav-tags a:active {
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(145, 208, 114, 0.3);
}

.services-section {
    padding: 80px 0;
    position: relative;
}

.services-section h2 {
    margin-bottom: 16px;
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 700;
}

.services-section > .container > p {
    font-size: 1.125rem;
    color: #59697a;
    margin-bottom: 40px;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    gap: 28px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.service-card {
    background: linear-gradient(145deg, #ffffff 0%, #fafcf9 100%);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 16px 40px rgba(44, 62, 80, 0.08), 0 0 0 1px rgba(145, 208, 114, 0.08);
    border: 2px solid transparent;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #91d072 0%, #7bc456 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(44, 62, 80, 0.12), 0 0 0 1px rgba(145, 208, 114, 0.2);
    border-color: rgba(145, 208, 114, 0.3);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card h3 {
    margin-top: 0;
    margin-bottom: 16px;
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-card h3::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #91d072 0%, #7bc456 100%);
    box-shadow: 0 0 0 3px rgba(145, 208, 114, 0.2);
    flex-shrink: 0;
}

.service-card-note {
    margin: 0 0 18px;
    padding: 12px 16px;
    background: rgba(145, 208, 114, 0.08);
    border-left: 3px solid #91d072;
    border-radius: 0 8px 8px 0;
    color: #4c5b6a;
    font-size: 0.875rem;
    line-height: 1.6;
    font-style: italic;
}

.service-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
    color: #4c5b6a;
    line-height: 1.6;
    font-size: 1rem;
    display: grid;
    gap: 10px;
}

.service-card ul li {
    margin-bottom: 0;
    padding-left: 24px;
    position: relative;
    transition: all 0.2s ease;
}

.service-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #91d072 0%, #7bc456 100%);
    box-shadow: 0 0 0 2px rgba(145, 208, 114, 0.2);
    transition: all 0.2s ease;
}

.service-card:hover ul li::before {
    transform: scale(1.3);
    box-shadow: 0 0 0 3px rgba(145, 208, 114, 0.25);
}

.service-card ul li:hover {
    padding-left: 28px;
    color: #2c3e50;
}

.service-card-link {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(145, 208, 114, 0.15);
}

.card-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #91d072;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.25s ease;
    padding: 8px 0;
    position: relative;
}

.card-cta-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #91d072 0%, #7bc456 100%);
    transition: width 0.3s ease;
}

.card-cta-link:hover {
    color: #6caf4f;
    gap: 12px;
}

.card-cta-link:hover::after {
    width: calc(100% - 24px);
}

.operations-section .area-block {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 32px;
    box-shadow: 0 12px 28px rgba(44, 62, 80, 0.08);
    border: 1px solid rgba(44, 62, 80, 0.04);
}

.operations-section h3 {
    margin-top: 0;
    margin-bottom: 16px;
    color: #2c3e50;
}

.operations-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

@media (min-width: 768px) {
    .operations-list {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

.operations-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 14px;
    border-radius: 12px;
    background: #f3f8ef;
    color: #3f4e5f;
    font-size: 0.875rem;
    line-height: 1.5;
}

.operations-list li::before {
    content: '•';
    color: #91d072;
    font-size: 1.25rem;
    line-height: 1;
    margin-top: 2px;
    flex-shrink: 0;
}

.area-links-section {
    margin-top: 20px;
}

.area-links-label {
    margin: 0 0 12px 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: #59697a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.area-links-label::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 14px;
    background: linear-gradient(135deg, #91d072 0%, #7bc456 100%);
    border-radius: 2px;
}

.area-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.area-links.planned {
    gap: 0;
}

.area-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(145, 208, 114, 0.25);
    background: #f3f8ef;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    color: #91d072;
    transition: all 0.25s ease;
}

.area-link:hover {
    background: #91d072;
    border-color: #91d072;
    color: #fff;
    box-shadow: 0 10px 20px rgba(145, 208, 114, 0.25);
}

.area-link .badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(145, 208, 114, 0.18);
    color: #2c3e50;
}

.area-link.planned {
    background: rgba(136, 149, 167, 0.12);
    border-color: rgba(136, 149, 167, 0.3);
    color: #8895a7;
    cursor: default;
}

.area-link.planned:hover {
    background: rgba(136, 149, 167, 0.12);
    border-color: rgba(136, 149, 167, 0.3);
    color: #8895a7;
    box-shadow: none;
}

.area-link.planned .badge {
    background: rgba(136, 149, 167, 0.2);
    color: #556070;
}

/* Area heading link (clickable heading with arrow) */
.area-heading-link {
    text-decoration: none;
    display: block;
    position: relative;
    transition: all 0.3s ease;
}

.area-heading-link:hover {
    transform: translateX(4px);
}

.area-heading-link h3 {
    color: #2c3e50;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin: 0 0 16px;
    font-size: 1.75rem;
    font-weight: 700;
}

.area-heading-link:hover h3 {
    color: #91d072;
}

/* Overview link (main area link at bottom) */
.area-overview-link {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 2px solid rgba(145, 208, 114, 0.2);
    display: flex;
    justify-content: center;
}

.area-link.primary {
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(145, 208, 114, 0.12) 0%, rgba(145, 208, 114, 0.08) 100%);
    border: 2px solid rgba(145, 208, 114, 0.35);
    color: #2c3e50;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.area-link.primary svg {
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.area-link.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #91d072 0%, #7bc456 100%);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.area-link.primary:hover {
    color: #fff;
    border-color: #7bc456;
    box-shadow: 0 12px 32px rgba(145, 208, 114, 0.35);
    transform: translateY(-3px);
}

.area-link.primary:hover svg {
    transform: scale(1.1);
}

.area-link.primary:hover::before {
    left: 0;
}

@media (max-width: 768px) {
    .services-hero {
        padding: 50px 0 40px;
    }

    .services-hero h1 {
        font-size: 2.5rem;
    }

    .services-hero p {
        font-size: 1.125rem;
    }

    .services-hero .hero-actions .btn {
        min-width: 160px;
    }

    .treatment-flow {
        padding: 50px 0;
    }

    .treatment-flow h2 {
        font-size: 2rem;
    }

    .treatment-flow .section-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    .flow-steps {
        gap: 24px;
    }

    .flow-step {
        padding: 28px 24px;
    }

    .flow-step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 16px;
    }

    .flow-step h3 {
        font-size: 1.2rem;
    }

    .services-navigation {
        padding: 50px 0;
    }

    .services-navigation h2 {
        font-size: 2rem;
    }

    .services-navigation p {
        font-size: 1rem;
    }

    .nav-group {
        padding: 24px 20px;
        text-align: center;
    }

    .nav-group-title {
        margin-bottom: 16px;
        font-size: 1.125rem;
        justify-content: center;
    }

    .nav-tags {
        justify-content: center;
    }

    .nav-tags a {
        flex: 1 1 calc(50% - 14px);
        text-align: center;
        font-size: 0.875rem;
        padding: 10px 16px;
    }

    .services-section {
        padding: 60px 0;
    }

    .services-section h2 {
        font-size: 2rem;
    }

    .services-grid {
        gap: 20px;
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 24px 20px;
    }

    .service-card h3 {
        font-size: 1.25rem;
    }

    .service-card-link {
        margin-top: 16px;
        padding-top: 16px;
    }

    .card-cta-link {
        font-size: 0.875rem;
    }

    .area-heading-link h3 {
        font-size: 1.5rem;
    }

    .area-links-label {
        font-size: 0.8125rem;
        margin-bottom: 10px;
    }

    .area-overview-link {
        margin-top: 20px;
        padding-top: 20px;
    }

    .area-link.primary {
        padding: 12px 24px;
        font-size: 0.9375rem;
        width: 100%;
        justify-content: center;
    }

    .area-link.primary svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 576px) {
    .services-hero h1 {
        font-size: 2rem;
    }

    .services-hero p {
        font-size: 1rem;
    }

    .services-hero .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .services-hero .hero-actions .btn {
        width: 100%;
        min-width: 100%;
    }

    .treatment-flow h2 {
        font-size: 1.75rem;
    }

    .flow-steps {
        grid-template-columns: 1fr;
    }

    .nav-tags a {
        flex: 1 1 100%;
    }

    .area-links {
        flex-direction: column;
    }

    .area-link {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .area-link.primary {
        font-size: 0.875rem;
        padding: 12px 20px;
    }
}


/* ========================================
   SERVICE LANDING PAGES - UNIFIED STYLES
   For: ortopedichni-konsultatsii.php, endoprotezuvannia.php
   ======================================== */

/* ==========================================================================
   1. SIMPLE HERO
   ========================================================================== */

.service-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fcf6 0%, #fff 100%);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-lead {
    font-size: 20px;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta .btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.hero-cta .btn-secondary:hover {
    background: var(--secondary-color);
    color: #fff;
}

.service-hero--with-media .hero-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

.service-hero--with-media .hero-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 40px;
}

.service-hero--with-media .hero-text {
    max-width: 560px;
}

.service-hero--with-media .hero-cta {
    justify-content: flex-start;
}

.service-hero--with-media .hero-media {
    margin: 0;
}

.service-hero--with-media .hero-media img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   2. INTRO TEXT SECTION
   ========================================================================== */

.intro-text {
    padding: 80px 0;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: #1a1a1a;
}

.intro-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.intro-highlight {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #f8fcf6;
    border-left: 4px solid #91d072;
    padding: 24px;
    margin-top: 40px;
    border-radius: 8px;
}

.intro-highlight svg {
    flex-shrink: 0;
    margin-top: 4px;
}

.intro-highlight p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

/* ==========================================================================
   3. SECTION HEADERS
   ========================================================================== */

.section-header-centered {
    text-align: center;
    margin-bottom: 50px;
}

.section-header-centered h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.section-header-centered p {
    font-size: 18px;
    color: #666;
}

/* ==========================================================================
   4. SERVICES ACCORDION (COMPACT)
   ========================================================================== */

.services-detailed {
    padding: 80px 0;
}

.services-accordion-list {
    max-width: 1000px;
    margin: 0 auto;
}

.service-accordion-item {
    background: #fff;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-accordion-item:hover {
    border-color: #91d072;
    box-shadow: 0 4px 20px rgba(145, 208, 114, 0.1);
}

.service-accordion-item.featured {
    border-color: #91d072;
    box-shadow: 0 4px 20px rgba(145, 208, 114, 0.15);
}

.service-badge-top {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #91d072;
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    pointer-events: none;
}

.service-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    cursor: pointer;
    transition: background 0.2s ease;
    position: relative;
}

.service-header::after {
    content: '';
    position: absolute;
    right: 24px;
    bottom: 24px;
    width: 12px;
    height: 12px;
    border-right: 3px solid #91d072;
    border-bottom: 3px solid #91d072;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.service-accordion-item.active .service-header::after {
    transform: rotate(-135deg);
}

.service-header:hover {
    background: #f8fcf6;
}

.service-icon-circle {
    width: 56px;
    height: 56px;
    background: #f8fcf6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    color: #91d072;
}

.service-accordion-item:hover .service-icon-circle {
    background: #91d072;
    color: #fff;
}

.service-accordion-item.active .service-icon-circle {
    background: #91d072;
    color: #fff;
}

.service-title-group {
    flex: 1;
}

.service-title-group h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
    line-height: 1.3;
}

.service-title-group p {
    font-size: 15px;
    color: #666;
    margin: 0;
}

.service-body {
    display: none;
    padding: 0 24px 24px 96px;
    color: #444;
    line-height: 1.7;
}

.service-accordion-item.active .service-body {
    display: block;
}

.service-body p {
    margin-bottom: 16px;
}

.service-body p:last-child {
    margin-bottom: 0;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.service-features li {
    padding-left: 28px;
    margin-bottom: 12px;
    position: relative;
    line-height: 1.6;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #91d072;
    font-weight: 700;
    font-size: 18px;
}

.service-note {
    background: #fff8e6;
    border-left: 3px solid #ffc107;
    padding: 12px 16px;
    margin-top: 16px;
    font-size: 14px;
    border-radius: 4px;
}

.service-body .btn {
    margin-top: 20px;
}

.service-links {
    margin-top: 12px;
    font-size: 14px;
    color: #666;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    align-items: center;
}

.service-links span {
    font-weight: 600;
    color: #444;
}

.service-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(123, 192, 94, 0.3);
    padding-bottom: 2px;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.service-links a:hover {
    border-color: rgba(123, 192, 94, 0.8);
    color: #5aa543;
}

/* ==========================================================================
   5. CONSULTATION PROCESS TIMELINE (HORIZONTAL)
   ========================================================================== */

.consultation-process {
    padding: 80px 0;
    background: #f9f9f9;
}

.timeline-horizontal {
    max-width: 1200px;
    margin: 50px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    position: relative;
}

.timeline-horizontal::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: linear-gradient(to right, #91d072, #7bc05e);
    z-index: 0;
}

.timeline-step {
    position: relative;
    text-align: center;
    z-index: 1;
}

.timeline-marker {
    width: 60px;
    height: 60px;
    background: #fff;
    border: 4px solid #91d072;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: #91d072;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}

.timeline-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1.3;
}

.timeline-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   6. WHEN NEEDED - SYMPTOMS GRID
   ========================================================================== */

.when-needed {
    padding: 80px 0;
    background: #fff;
}

.symptoms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.symptom-card {
    text-align: center;
    padding: 32px 24px;
    background: #fff;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.symptom-card:hover {
    border-color: #91d072;
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(145, 208, 114, 0.2);
}

.symptom-card svg {
    margin-bottom: 20px;
}

.symptom-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.symptom-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   7. PREPARATION SECTION
   ========================================================================== */

.preparation-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.preparation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.prep-card {
    background: #fff;
    padding: 36px 28px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.prep-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.prep-icon {
    width: 72px;
    height: 72px;
    background: #f8fcf6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.prep-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.prep-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.prep-card ul li {
    padding: 12px 0;
    padding-left: 28px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    color: #555;
    line-height: 1.5;
}

.prep-card ul li:last-child {
    border-bottom: none;
}

.prep-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #91d072;
    font-size: 24px;
    line-height: 1;
}

/* ==========================================================================
   8. CTA INLINE BLOCK
   ========================================================================== */

.cta-inline-section {
    padding: 80px 0;
    background: #fff;
}

.cta-inline-block {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, #91d072 0%, #7bc05e 100%);
    border-radius: 16px;
    padding: 40px 50px;
    box-shadow: 0 8px 24px rgba(145, 208, 114, 0.3);
}

.cta-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-inline-content {
    flex: 1;
    color: #fff;
}

.cta-inline-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-inline-content p {
    font-size: 18px;
    margin-bottom: 24px;
    opacity: 0.95;
}

.cta-inline-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-inline-actions .btn {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
}

.cta-inline-actions .btn-primary {
    background: #fff;
    color: #91d072;
}

.cta-inline-actions .btn-primary:hover {
    background: #f0f0f0;
}

.cta-inline-actions .btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.cta-inline-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   9. RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 968px) {
    .service-hero {
        padding: 60px 0 50px;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .hero-lead {
        font-size: 18px;
    }

    .timeline-horizontal {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px 20px;
    }

    .timeline-horizontal::before {
        display: none;
    }

    .symptoms-grid,
    .preparation-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .cta-inline-block {
        gap: 30px;
    }

    .cta-icon {
        width: 80px;
        height: 80px;
    }

    .cta-inline-content h3 {
        font-size: 28px;
    }

    .cta-inline-content p {
        font-size: 16px;
    }

    .service-hero--with-media .hero-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .service-hero--with-media .hero-cta {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 50px 0 40px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-lead {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }

    .service-hero--with-media .hero-content {
        text-align: center;
    }

    .service-hero--with-media .hero-layout {
        gap: 24px;
    }

    .intro-content h2,
    .section-header-centered h2 {
        font-size: 28px;
    }

    .intro-content p,
    .section-header-centered p {
        font-size: 16px;
    }

    .service-hero {
        padding: 30px 0;
    }

    .intro-text,
    .services-detailed,
    .consultation-process,
    .when-needed,
    .preparation-section,
    .cta-inline-section {
        padding: 30px 0;
    }

    .service-header {
        padding: 20px;
        padding-right: 50px;
        flex-direction: row;
        text-align: left;
        gap: 12px;
    }

    /* Featured item - більше простору для бейджа */
    .service-accordion-item.featured .service-header {
        padding-top: 50px;
    }

    .service-header::after {
        right: 16px;
        bottom: 16px;
    }

    .service-icon-circle {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
    }

    .service-icon-circle svg {
        width: 24px;
        height: 24px;
    }

    .service-title-group {
        flex: 1;
        min-width: 0;
    }

    .service-title-group h3 {
        font-size: 17px;
        margin-bottom: 4px;
    }

    .service-title-group p {
        font-size: 14px;
    }

    /* Badge positioning for mobile */
    .service-badge-top {
        top: 12px;
        right: 12px;
        font-size: 11px;
        padding: 5px 12px;
    }

    .service-body {
        padding: 0 20px 20px 20px;
    }

    .timeline-horizontal {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 16px;
    }

    .timeline-marker {
        width: 50px;
        height: 50px;
        font-size: 18px;
        border-width: 3px;
    }

    .timeline-content h4 {
        font-size: 16px;
    }

    .timeline-content p {
        font-size: 13px;
    }

    .symptoms-grid,
    .preparation-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .symptom-card {
        padding: 28px 20px;
    }

    .prep-card {
        padding: 28px 24px;
    }

    .cta-inline-block {
        flex-direction: column;
        text-align: center;
        padding: 32px 28px;
    }

    .cta-icon {
        width: 70px;
        height: 70px;
    }

    .cta-inline-content h3 {
        font-size: 22px;
    }

    .cta-inline-content p {
        font-size: 15px;
    }

    .cta-inline-actions {
        justify-content: center;
        flex-direction: column;
    }

    .cta-inline-actions .btn {
        width: 100%;
        text-align: center;
    }
}


/* ========================================
   SERVICE ARTICLE LAYOUT - service-article.css
   Long-form medical service content styling
   ======================================== */

.service-hero-basic {
    padding: 80px 0;
    background: linear-gradient(135deg, #f6fbff 0%, #ffffff 100%);
}

.service-hero-basic .hero-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 48px;
    align-items: center;
}

.service-hero-basic .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(44, 62, 80, 0.08);
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.service-hero-basic h1 {
    font-size: 48px;
    line-height: 1.15;
    color: #1a1a1a;
    margin-bottom: 18px;
}

.service-hero-basic .hero-lead {
    font-size: 18px;
    line-height: 1.7;
    color: #425466;
    margin-bottom: 32px;
}

.service-hero-basic .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.service-hero-basic .hero-actions .btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.service-hero-basic .hero-actions .btn-secondary:hover {
    background: var(--secondary-color);
    color: #fff;
}

.service-hero-basic .hero-media {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(26, 47, 75, 0.15);
}

.service-hero-basic .hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-article {
    padding: 80px 0;
    background: #ffffff;
}

.service-article .article-content {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.article-block {
    background: #f8f9fb;
    border-radius: 16px;
    padding: 36px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 12px 40px rgba(17, 38, 58, 0.06);
}

.article-block h2 {
    margin-bottom: 20px;
    font-size: 28px;
    color: var(--secondary-color);
}

.article-block h3 {
    margin-top: 24px;
    margin-bottom: 16px;
    font-size: 20px;
    color: #253347;
}

.article-block p {
    margin-bottom: 18px;
    color: #445267;
    font-size: 16px;
    line-height: 1.75;
}

.article-block ul,
.article-block ol {
    padding-left: 20px;
    margin-bottom: 20px;
    color: #445267;
    font-size: 16px;
    line-height: 1.7;
}

.article-block ul li,
.article-block ol li {
    margin-bottom: 10px;
}

.article-block ul li::marker {
    color: var(--primary-color);
}

.article-highlight {
    background: #eaf7e3;
    border-left: 4px solid var(--primary-color);
    padding: 20px 24px;
    border-radius: 12px;
    margin: 24px 0;
    color: #2c3e50;
    font-weight: 600;
}

.article-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.article-timeline-item {
    background: #ffffff;
    border-radius: 14px;
    padding: 20px;
    border: 1px solid rgba(145, 208, 114, 0.4);
    box-shadow: 0 10px 25px rgba(145, 208, 114, 0.12);
}

.article-timeline-item h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.article-timeline-item p {
    margin: 0;
    font-size: 15px;
    color: #445267;
}

@media (max-width: 992px) {
    .service-hero-basic {
        padding: 60px 0;
    }

    .service-hero-basic h1 {
        font-size: 38px;
    }

    .article-block {
        padding: 28px;
    }
}

@media (max-width: 768px) {
    .service-hero-basic .hero-layout {
        gap: 32px;
    }

    .service-article .article-content {
        gap: 32px;
    }

    .service-hero-basic .hero-actions {
        flex-direction: column;
    }

    .service-hero-basic .hero-actions .btn {
        width: 100%;
    }
}

@media (max-width: 540px) {
    .service-hero-basic h1 {
        font-size: 32px;
    }

    .article-block {
        padding: 22px;
    }

    .article-block h2 {
        font-size: 24px;
    }
}
