/* Градиент для кнопок в блоках */
:root {
    --blocks-btn-bg: linear-gradient(180deg, #03737F 0%, #008bd0 100%);
    --blocks-btn-bg-linear: linear-gradient(180deg, #03737F 0%, #008bd0 100%);
}

/* ============================================
   БЛОК ЭТАПОВ РАБОТЫ (basic-steps-section)
   ============================================ */
.basic-steps-section {
    padding: 60px 0;
}

.basic-steps-section .section-title {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 2.5rem;
}

.basic-steps-section .section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #666;
    font-size: 18px;
    line-height: 1.5;
}

.basic-step.has-image {
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
}

.basic-step-content-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

.basic-step-image-col {
    flex: 0 0 45%;
}

.basic-step-image {
    width: 100%;
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
}

.basic-step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.basic-step.image-left .basic-step-content-wrapper {
    flex-direction: row;
}

.basic-step-content-col {
    flex: 1;
}

.basic-step-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.basic-step-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.basic-step-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.basic-step-title {
    font-size: 24px;
    color: #333;
    margin: 0;
}

.basic-step-description {
    color: #555;
    line-height: 1.6;
    font-size: 16px;
    margin-bottom: 20px;
}

.basic-step-duration {
    padding: 12px 20px;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 8px;
    display: inline-block;
    font-size: 15px;
    font-weight: 500;
    color: #3498db;
}

.basic-duration-label {
    font-weight: bold;
    color: #3498db;
}

.basic-step-important {
    border: 2px solid #3498db;
}

@media (max-width: 768px) {
    .basic-step-content-wrapper {
        flex-direction: column !important;
        gap: 30px;
    }

    .basic-step-image-col {
        width: 100%;
    }

    .basic-step-image {
        height: 250px;
    }
}

/* ============================================
   БЛОК ФИЗИЧЕСКОЙ РЕАБИЛИТАЦИИ (rehabilitation-section)
   ============================================ */
.rehabilitation-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.rehabilitation-section .section-title {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.rehabilitation-section .section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #666;
    font-size: 18px;
    line-height: 1.5;
}

.rehab-tabs .tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.tab-btn {
    padding: 15px 25px;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.tab-btn.active {
    background: linear-gradient(180deg, #03737F 0%, #008bd0 100%);
    color: #fff;
    border-color: transparent;
}

.tab-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.tab-pane {
    display: none;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tab-pane.active {
    display: block;
}

.tab-description {
    line-height: 1.6;
    color: #666;
}

.rehab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.rehab-item {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.rehab-item:hover {
    transform: translateY(-5px);
}

.rehab-item-featured {
    border: 2px solid #3498db;
    position: relative;
}

.item-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.item-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.rehab-item .item-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.item-subtitle {
    font-weight: 600;
    color: #3498db;
    margin-bottom: 15px;
    font-size: 16px;
}

.item-description {
    color: #666;
    line-height: 1.6;
}

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

.rehab-card {
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.card-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.card-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.card-title {
    font-size: 18px;
    margin: 0;
    color: #333;
}

.card-description {
    color: #666;
    line-height: 1.6;
}

.rehab-list-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.list-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.list-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.list-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.list-subtitle {
    font-weight: 600;
    color: #3498db;
    margin-bottom: 10px;
}

.list-description {
    color: #666;
    line-height: 1.6;
}

@media (max-width: 768px) {

    .rehab-grid,
    .rehab-cards {
        grid-template-columns: 1fr;
    }

    .rehab-list-item {
        flex-direction: column;
        text-align: center;
    }

    .rehab-tabs .tabs-nav {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   CTA БЛОКИ (cta-block-1, cta-block-2, cta-block-3)
   ============================================ */
.cta-block {
    padding: 60px 0;
    width: 100%;
}

.cta-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

.cta-block-1 .cta-form-column {
    flex: 0 0 45%;
}

.cta-block-1 .cta-content-column {
    flex: 1;
}

.cta-block-2 .cta-content-column {
    flex: 1;
}

.cta-block-2 .cta-content-column {
    flex: 1;
}

.cta-block-2 .cta-form-column {
    flex: 0 0 45%;
}

.cta-block-3 .cta-content-column {
    flex: 1;
}

.cta-block-3 .cta-form-column {
    flex: 0 0 45%;
}

.cta-form-container {
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.cta-form-title {
    margin: 0 0 15px 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.cta-form-description {
    margin: 0 0 20px 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cta-title {
    margin: 0 0 20px 0;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
}

.cta-text {
    font-size: 1.1rem;
    line-height: 1.6;
}

.cta-text p {
    margin-bottom: 15px;
}

.cta-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .cta-wrapper {
        gap: 30px;
    }

    .cta-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .cta-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .cta-block-1 .cta-form-column,
    .cta-block-1 .cta-content-column,
    .cta-block-2 .cta-content-column,
    .cta-block-2 .cta-form-column,
    .cta-block-3 .cta-content-column,
    .cta-block-3 .cta-form-column {
        width: 100%;
    }

    .cta-title {
        font-size: 1.6rem;
    }

    .cta-form-container {
        padding: 25px;
    }
}

/* ============================================
   ГЛОБАЛЬНОЕ МОДАЛЬНОЕ ОКНО ГАЛЕРЕЙ
   ============================================ */
.arkpro-global-gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arkpro-global-gallery-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
}

.arkpro-global-gallery-modal .modal-container {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    background: transparent;
}

.arkpro-global-gallery-modal .modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.51);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.arkpro-global-gallery-modal .modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
}

.arkpro-global-gallery-modal .modal-close svg {
    stroke: #fff;
    width: 20px;
    height: 20px;
}

.arkpro-global-gallery-modal .modal-content {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: modalAppear 0.3s ease;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.arkpro-global-gallery-modal .modal-image {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

.arkpro-global-gallery-modal .modal-caption {
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 20px;
    text-align: center;
}

.arkpro-global-gallery-modal .modal-title {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
}

.arkpro-global-gallery-modal .modal-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.arkpro-global-gallery-modal .modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.arkpro-global-gallery-modal .modal-nav:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

.arkpro-global-gallery-modal .modal-prev {
    left: -70px;
}

.arkpro-global-gallery-modal .modal-next {
    right: -70px;
}

.arkpro-global-gallery-modal .modal-nav svg {
    stroke: #333;
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .arkpro-global-gallery-modal .modal-container {
        width: 95%;
    }

    .arkpro-global-gallery-modal .modal-close {
        top: -40px;
        right: 50%;
        transform: translateX(50%);
    }

    .arkpro-global-gallery-modal .modal-nav {
        width: 40px;
        height: 40px;
    }

    .arkpro-global-gallery-modal .modal-prev {
        left: 10px;
    }

    .arkpro-global-gallery-modal .modal-next {
        right: 10px;
    }

    .arkpro-global-gallery-modal .modal-nav svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .arkpro-global-gallery-modal .modal-caption {
        padding: 15px;
    }

    .arkpro-global-gallery-modal .modal-title {
        font-size: 1.1rem;
    }

    .arkpro-global-gallery-modal .modal-description {
        font-size: 0.9rem;
    }
}

/* ============================================
   БЛОК ПРЕИМУЩЕСТВ (advantages-section)
   ============================================ */
.advantages-section {
    width: 100%;
    padding: 80px 0;
    position: relative;
}

/* ============================================
   БЛОК НОВОСТЕЙ (articles-section)
   ============================================ */
.articles-section {
    padding: 60px 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.article-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.article-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 20px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card .article-content {
    padding: 20px;
}

.article-title {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    line-height: 1.3;
}

.article-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: #3498db;
}

.article-excerpt {
    color: #555;
    line-height: 1.5;
    font-size: 0.9rem;
    margin-bottom: 15px;
    flex: 1;
}

.article-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.article-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
    color: #888;
    margin-bottom: 0;
}

.article-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    width: 100%;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    line-height: 1.3;
}

.meta-item svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    flex-shrink: 0;
}

.meta-item.author {
    margin-right: 2px;
}

.article-author-static {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #888;
}

.article-author-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.article-card .article-author-avatar {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    min-width: 18px;
    margin: 0 !important;
    padding: 0;
    border: none;
    border-radius: 50% !important;
    box-shadow: none !important;
    object-fit: cover;
    display: inline-block !important;
}

.article-author-icon-svg {
    display: block;
    color: #9aa0a6;
}

.article-author-name {
    font-size: 12px;
    font-weight: 400;
    color: inherit;
    white-space: nowrap;
}

.article-read-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    padding: 8px 16px;
    background: linear-gradient(180deg, #03737F 0%, #008bd0 100%);
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    transition: opacity 0.3s ease;
    align-self: flex-start;
}

.article-read-more:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .article-image {
        height: 160px;
    }
}

/* ============================================
   БЛОК ИССЛЕДОВАНИЙ (research-block-section)
   ============================================ */
.research-block-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.research-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
}

.research-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.research-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.research-card:hover {
    transform: translateY(-5px);
}

.research-card-image {
    height: 200px;
    overflow: hidden;
}

.research-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.research-card-content {
    padding: 20px;
}

.research-card-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.research-card-text {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

.research-card-button {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(180deg, #03737F 0%, #008bd0 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.research-card-button:hover {
    opacity: 0.9;
}

@media (min-width: 768px) {
    .research-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ============================================
   SEO БЛОК (seo-block-section)
   ============================================ */
.seo-block-section {
    width: 100%;
    padding: 60px 0;
    position: relative;
}

.seo-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 25px 0;
    line-height: 1.3;
}

.seo-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.seo-text p {
    margin-bottom: 15px;
}

.seo-text p:last-child {
    margin-bottom: 0;
}

.seo-text strong {
    font-weight: 700;
    color: inherit;
}

.seo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.seo-tag {
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
    cursor: pointer;
    background-color: #e8e8e8;
    color: inherit;
}

.seo-tag:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #d8d8d8;
}

@media (max-width: 768px) {
    .seo-block-section {
        padding: 40px 0;
    }

    .seo-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .seo-text {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .seo-tags {
        gap: 8px;
    }

    .seo-tag {
        padding: 6px 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .seo-block-section {
        padding: 30px 0;
    }

    .seo-title {
        font-size: 22px;
    }

    .seo-text {
        font-size: 14px;
    }

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

.advantages-header {
    text-align: center;
    margin-bottom: 60px;
    margin-left: auto;
    margin-right: auto;
}

.advantages-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px 0;
}

.advantages-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
}

.advantages-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 60px;
}

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

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

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

.advantage-card {
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    background-color: var(--advantages-card-hover-bg, inherit);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.advantage-icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.advantage-icon-text {
    font-size: 14px;
    text-align: center;
    line-height: 1.2;
    font-weight: 700;
}

.advantage-icon-number {
    font-size: 24px;
    font-weight: 700;
}

.advantage-content {
    flex: 1;
}

.advantage-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 15px 0;
}

.advantage-description {
    font-size: 16px;
    line-height: 1.6;
}

.advantage-description p {
    margin-bottom: 15px;
}

.advantage-description p:last-child {
    margin-bottom: 0;
}

.advantages-stats {
    border-radius: 15px;
    padding: 20px;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.advantages-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.5),
            transparent);
}

.stats-container {
    display: flex;
    align-items: stretch;
    gap: 40px;
    margin: 0 auto;
}

.stats-left-card {
    flex: 0 0 25%;
    min-width: 200px;
    border-radius: 12px;
    padding: 30px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
}

.stats-left-content {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stats-right-cards {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stats-number-card {
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    border-right: 1px solid;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--advantages-stats-card-bg,
            rgba(255, 255, 255, 0.05));
}

.stats-number-card:hover {
    background-color: var(--advantages-stats-card-hover-bg,
            rgba(255, 255, 255, 0.1));
}

.stats-number-card:last-child {
    border-right: none;
}

.stats-card-title {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 15px;
    font-weight: 500;
}

.stats-card-number {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.stats-number-value {
    display: inline-block;
    min-width: 60px;
}

.stats-suffix {
    font-size: 28px;
    font-weight: 600;
    vertical-align: top;
}

@keyframes countUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.stats-number-value.animating {
    animation:
        countUp 0.8s ease-out forwards,
        pulse 0.3s ease-out 0.8s forwards;
}

.advantages-style-icons .advantage-card {
    text-align: center;
    align-items: center;
}

.advantages-style-icons .advantage-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 30px;
}

.advantages-style-icons .advantage-icon-img {
    width: 50px;
    height: 50px;
}

.advantages-style-minimal .advantage-card {
    box-shadow: none;
    border: 2px solid rgba(0, 0, 0, 0.05);
    padding: 25px;
}

.advantages-style-minimal .advantage-card:hover {
    border-color: var(--advantages-icon-bg, #008BD0);
    transform: translateY(-5px);
}

.advantages-style-minimal .advantage-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.advantages-style-minimal .advantage-icon-img {
    width: 30px;
    height: 30px;
}

@media (max-width: 1200px) {
    .stats-left-content {
        font-size: 20px;
    }

    .stats-card-number {
        font-size: 36px;
    }

    .stats-card-title {
        font-size: 15px;
    }
}

@media (max-width: 992px) {
    .advantages-section {
        padding: 60px 0;
    }

    .advantages-title {
        font-size: 32px;
    }

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

    .stats-container {
        flex-direction: column;
        gap: 30px;
    }

    .stats-left-card {
        flex: none;
        width: 100%;
        padding: 25px 20px;
    }

    .stats-left-content {
        font-size: 22px;
    }

    .stats-right-cards {
        width: 100%;
    }

    .stats-number-card {
        border-right: 1px solid var(--advantages-stats-border, rgba(255, 255, 255, 0.2)) !important;
        border-bottom: 1px solid var(--advantages-stats-border, rgba(255, 255, 255, 0.2));
    }

    .stats-number-card:nth-child(2) {
        border-right: 1px solid var(--advantages-stats-border, rgba(255, 255, 255, 0.2)) !important;
    }

    .stats-number-card:nth-child(3) {
        border-right: none !important;
    }
}

@media (max-width: 768px) {
    .advantages-title {
        font-size: 28px;
    }

    .advantages-subtitle {
        font-size: 16px;
    }

    .advantages-columns-3 .advantages-grid,
    .advantages-columns-4 .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantage-card {
        padding: 25px;
    }

    .advantage-title {
        font-size: 18px;
    }

    .advantage-description {
        font-size: 15px;
    }

    .advantages-stats {
        padding: 30px 20px;
    }

    .stats-card-number {
        font-size: 32px;
    }

    .stats-suffix {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .advantages-section {
        padding: 50px 0;
    }

    .advantages-header {
        margin-bottom: 40px;
    }

    .advantages-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
        margin-bottom: 40px;
    }

    .advantages-columns-2 .advantages-grid,
    .advantages-columns-3 .advantages-grid,
    .advantages-columns-4 .advantages-grid {
        grid-template-columns: 1fr;
    }

    .advantage-card {
        padding: 20px;
    }

    .advantage-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .advantages-style-icons .advantage-icon {
        width: 80px;
        height: 80px;
    }

    .advantages-stats {
        padding: 25px 15px;
        margin-top: 40px;
    }

    .stats-right-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stats-number-card {
        border-right: none !important;
        border-bottom: 1px solid var(--advantages-stats-border, rgba(255, 255, 255, 0.2));
        padding: 20px 15px;
    }

    .stats-number-card:last-child {
        border-bottom: none;
    }

    .stats-left-content {
        font-size: 18px;
    }

    .stats-card-number {
        font-size: 36px;
    }

    .stats-card-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
}

/*! CSS Used from: Embedded */
#primary {
    padding-top: 150px;
}

.main__title {
    font-weight: bold;
    margin: 0 0 20px 0;
}

.main__subtitle {
    line-height: 1.4;
    margin-bottom: 20px;
}

.button {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(180deg, #03737F 0%, #008bd0 100%);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}

* {
    padding: 0;
    margin: 0;
    border: 0;
}

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

:focus,
:active {
    outline: none;
}

a:focus,
a:active {
    outline: none;
}

.main__content {
    max-width: 100%;
    position: relative;
    background-size: cover;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.main-video {
    position: absolute;
    width: 500px;
    right: 0;
    top: 50%;
    transform: translate(0, -40%);
    border-radius: 20px;
    overflow: hidden;
    height: auto;
}

.main__bg {
    max-width: 500px;
    border-radius: 20px;
    overflow: hidden;
    max-height: 350px;
}

.main__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main__container {
    position: relative;
}

.main__content-wrapper {
    max-width: 60%;
}

a,
a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

h1 {
    color: #008BD0;
}

h1 {
    font-size: inherit;
    font-weight: 400;
    word-break: break-word;
}

a {
    color: inherit;
}

[class*=__container] {
    max-width: 95%;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

h1 {
    word-break: break-word;
    font-size: 45px;
    font-weight: 700;
    text-transform: uppercase;
}

h1 span {
    color: #008BD0;
}

@media (max-width: 991px) {
    h1 {
        font-size: 42px;
        text-align: center;
    }
}

@media (max-width: 650px) {
    h1 {
        font-size: 24px;
    }
}

.button {
    text-align: center;
    border-radius: 100px;
    text-transform: uppercase;
    font-size: 24px;
    padding: 10px 30px;
    font-weight: 700;
    background: linear-gradient(180deg, #03737F 0%, #008bd0 100%);
    border-radius: 25px;
    max-width: fit-content;
    width: 100%;
    color: #fff;
    display: block;
    -webkit-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.button:hover {
    -webkit-box-shadow: 2px 2px 12px rgba(0, 139, 208, 0.4);
    box-shadow: 2px 2px 12px rgba(0, 139, 208, 0.4);
}

@media (max-width: 991px) {
    .button {
        padding: 30px 15px;
        font-size: 18px;
    }
}

.subtitle {
    font-size: 17px;
    text-transform: none;
    font-weight: 600;
}

@media (max-width: 991px) {
    .subtitle {
        font-size: 26px;
        text-align: center;
    }
}

@media (max-width: 500px) {
    .subtitle {
        font-size: 14px;
    }

    .main__content-wrapper {
        width: 100%;
    }

    .button {
        padding: 10px 15px;
        font-size: 18px;
        width: 100%;
        max-width: 100%;
    }
}

section {
    margin-bottom: 50px;
}

.main {
    padding-top: 300px;
    /* padding-bottom: 200px; */
    position: relative;
}


.main__container {
    position: relative;
    z-index: 1;
}

.main__content {
    max-width: 100% !important;
    position: relative;
    z-index: 1;
}

@media (max-width: 991px) {
    .main__content {
        max-width: 100% !important;
        text-align: center;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
}

.main__subtitle {
    margin-top: 27px;
    margin-bottom: 60px;
}

@media (max-width: 991px) {
    .main__subtitle {
        margin-top: 30px;
        margin-bottom: 30px;
    }
}

@media (max-width: 650px) {
    .main__subtitle {
        margin: 20px 0;
    }
}

@media (max-width: 991px) {
    .main__content-wrapper {
        max-width: 100%;
        padding: 0;
    }
}

@media screen and (max-width: 480px) {
    .main__content {
        max-width: 100% !important;
        background: none;
        flex-direction: column-reverse;
        gap: 20px;
    }

    .main {
        padding-top: 200px;
        padding-bottom: 0px;
    }

    .main-video {
        position: absolute;
        width: 100%;
        height: auto;
        opacity: 0.2;
    }
}



@media (min-width: 768px) {
    .main-video {
        display: block;
    }
}

* {
    padding: 0;
    margin: 0;
    border: 0;
}

p {
    margin: 10px 0;
}

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

:focus,
:active {
    outline: none;
}

[class*=__container] {
    max-width: 95%;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

section {
    margin-bottom: 20px;
}

.main__body {
    color: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    text-align: center;
    padding: 35px 80px;
    position: relative;
    background: linear-gradient(180deg, #03737F 0%, #008bd0 100%);
    border-radius: 50px;
}

.main__body.no-hasimg {
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.text-block-content {
    text-align: left;
    font-size: 1.15em;
    color: #fff;
}

.text-block-section .text-block-content,
.text-block-section .text-block-content * {
    color: inherit;
}

@media (max-width: 650px) {
    .main__body.no-hasimg {
        margin-top: 50px;
    }

    .main__body.no-hasimg {
        flex-direction: column;

    }
}

@media (max-width: 991px) {
    .main__body {
        padding: 25px;
        width: calc(100% + 40px);
        margin-left: -20px;
        margin-top: 50px;
        border-radius: 0;
        border: none;
    }
}

@media (max-width: 481px) {
    .main__body {
        padding: 15px;
        width: 100%;
        margin-left: 0;
        margin-top: 50px;
        border-radius: 0;
        border: none;
    }

    .text-block-content {
        font-size: 14px;
    }
}

.main__body p {
    margin-top: 12px;
    text-align: center;
    font-size: 20px;
}

.main__body p span {
    font-weight: 700;
}

/* Основные стили блока */
.vacancies-section {
    padding: 50px 0;
    background: #fff;
}

/* Заголовок */
.vacancies-header {
    text-align: center;
    margin-bottom: 50px;
    margin-left: auto;
    margin-right: auto;
}

.vacancies-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0 0 25px 0;
    color: #333;
    line-height: 1.2;
}

.vacancies-intro {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
}

/* Список вакансий */
.vacancies-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 60px;
}

/* Плашка «нет вакансий» */
.vacancies-empty {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 60px;
    text-align: center;
}

.vacancies-empty-text {
    margin: 0;
    font-size: 1.15rem;
    color: #555;
    line-height: 1.5;
}

/* Карточка вакансии */
.vacancy-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
}

.vacancy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: #3498db;
}

/* Особые стили вакансий */
.vacancy-card.featured-vacancy {
    border-left: 4px solid #28a745;
}

.vacancy-card.hot-vacancy {
    border-left: 4px solid #dc3545;
}

.vacancy-card.featured-vacancy.hot-vacancy {
    border-left: 4px solid;
    border-image: linear-gradient(45deg, #28a745 50%, #dc3545 50%) 1;
}

/* Заголовок вакансии */
.vacancy-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.vacancy-title {
    margin: 0;
    font-size: 1.6rem;
    color: #333;
    line-height: 1.3;
    flex: 1;
}

.vacancy-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.vacancy-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.hot-label {
    background: #fff5f5;
    color: #dc3545;
    border: 1px solid #f8d7da;
}

.featured-label {
    background: #f0fff4;
    color: #28a745;
    border: 1px solid #d4edda;
}

.vacancy-label svg {
    flex-shrink: 0;
}

/* Основная информация */
.vacancy-info {
    margin-bottom: 25px;
}

.info-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
    font-size: 0.95rem;
}

.info-item svg {
    color: #3498db;
    flex-shrink: 0;
}

.salary-item {
    font-weight: 600;
    color: #28a745;
}

.salary-item svg {
    color: #28a745;
}

.vacancy-description {
    color: #666;
    line-height: 1.6;
    margin-top: 15px;
}

/* Аккордеон с деталями */
.vacancy-details {
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.vacancy-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #3498db;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.vacancy-toggle-btn:hover {
    color: #0056b3;
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.vacancy-toggle-btn[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}

.vacancy-details-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.vacancy-details-content.active {
    max-height: 2000px;
    margin-top: 20px;
}

.details-section {
    margin-bottom: 25px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: #333;
    margin: 0 0 15px 0;
}

.section-title svg {
    color: #3498db;
    flex-shrink: 0;
}

.details-list {
    margin: 0;
    padding-left: 25px;
    color: #555;
    line-height: 1.6;
}

.details-list li {
    margin-bottom: 8px;
}

.vacancy-actions {
    margin-top: 30px;
    text-align: center;
}

.response-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(180deg, #03737F 0%, #008bd0 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.response-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(6, 207, 229, 0.4);
    opacity: 0.95;
}

.response-btn svg {
    transition: transform 0.3s ease;
}

.response-btn:hover svg {
    transform: translateX(4px);
}

/* Блок формы и контактов */
.vacancies-form-section {

    margin: 50px 0;
}

.form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}

@media (max-width: 1200px) {
    .form-wrapper {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }

    .vacancies-form-section.dop .form-wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .form-image {
        grid-column: 1 / -1;
        grid-row: 1;
        justify-self: center;
    }
}

@media (max-width: 768px) {
    .form-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Изображение */
.form-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    min-height: 300px;
}

.form-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.form-image:hover img {
    transform: scale(1.05);
}

/* Форма */
.form-content {
    background: #333;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-title {
    font-size: 1.8rem;
    color: #fff;
    margin: 0 0 15px 0;
}

.form-description {
    color: #fff;
    line-height: 1.6;
    margin-bottom: 25px;
}

.cf7-form-wrapper {
    margin-top: 20px;
}

/* Контакты */
.contacts-wrapper {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contacts-title {
    font-size: 1.4rem;
    color: #333;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #3498db;
}

.contacts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-icon {
    color: #3498db;
    flex-shrink: 0;
    margin-top: 3px;
}

.contact-info {
    flex: 1;
}

.contact-label {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 5px;
}

.contact-value {
    display: block;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.4;
}

.contact-value[href]:hover {
    color: #3498db;
}

/* [docs_help] в статьях: только форма, без колонки «Контакты специалиста».
   Вакансии — .vacancies-form-section без .dop, контакты отдела кадров не трогаем. */
.vacancies-form-section.dop .form-wrapper > .contacts-wrapper {
    display: none !important;
}

.vacancies-form-section.dop .form-wrapper {
    grid-template-columns: 1fr;
}

/* Типографика тёмной формы [docs_help]: в статье .article-content p/strong задают тёмные цвета — перебиваем */
.vacancies-form-section.dop .form-content p,
.vacancies-form-section.dop .form-content li {
    color: rgba(255, 255, 255, 0.95);
    text-align: left;
}

.vacancies-form-section.dop .form-content strong,
.vacancies-form-section.dop .form-content b {
    color: #fff;
}

.vacancies-form-section.dop .form-content .cta-text,
.vacancies-form-section.dop .form-content .wpcf7-list-item-label,
.vacancies-form-section.dop .form-content .wpcf7-list-item label,
.vacancies-form-section.dop .wpcf7-acceptance label {
    color: rgba(255, 255, 255, 0.95);
}

.vacancies-form-section.dop .form-content a:not(.wpcf7-submit) {
    color: #9bdcff;
    text-decoration: underline;
}

.vacancies-form-section.dop .form-content a:not(.wpcf7-submit):hover {
    color: #cff1ff;
}

.article-content .vacancies-form-section.dop .form-content a:not(.wpcf7-submit):hover {
    border-bottom-color: transparent;
}

/* Узкая колонка на десктопе — форма не на всю ширину статьи (на мобилке по-прежнему 100%). */
@media (min-width: 769px) {
    .vacancies-form-section.dop .form-wrapper {
        max-width: 600px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

.vacancies-form-section.dop .form-content .wpcf7-submit {
    font-weight: 700;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

/* Заключительный текст */
.vacancies-outro {
    text-align: center;
    color: #666;
    line-height: 1.6;
    font-size: 1.1rem;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid #f0f0f0;
}

/* Адаптивность */
@media (max-width: 992px) {
    .vacancies-section {
        padding: 60px 0;
    }

    .vacancies-title {
        font-size: 2.2rem;
    }


}

@media (max-width: 768px) {
    .vacancies-title {
        font-size: 1.8rem;
    }

    .vacancy-card {
        padding: 20px;
    }

    .vacancy-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .vacancy-meta {
        width: 100%;
    }

    .form-wrapper {
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .vacancies-section {
        padding: 40px 0;
    }



    .form-content,
    .contacts-wrapper {
        padding: 20px;
    }

    .info-row {
        flex-direction: column;
        gap: 15px;
    }
}

/* ============================================
   БЛОК НАГРАД (awards-section)
   ============================================ */
.awards-section {
    padding: 80px 0;
    background: #fff;
}

.awards-header {
    text-align: center;
    margin-bottom: 50px;
    margin-left: auto;
    margin-right: auto;
}

.awards-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0 0 30px 0;
    color: #333;
    line-height: 1.2;
}

.awards-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

.awards-description p {
    margin-bottom: 20px;
}

.awards-description p:last-child {
    margin-bottom: 0;
}

.awards-filters {
    margin-bottom: 40px;
    text-align: center;
}

.awards-section .filter-buttons {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
}

.awards-section .filter-btn {
    padding: 10px 20px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.awards-section .filter-btn:hover {
    border-color: #3498db;
    color: #3498db;
}

.awards-section .filter-btn.active {
    background: linear-gradient(180deg, #03737F 0%, #008bd0 100%);
    border-color: transparent;
    color: white;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(var(--awards-columns), 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.award-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e0e0e0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
    display: flex;
    flex-direction: column;
}

.award-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.award-card.featured-award {
    border: 2px solid #ffc107;
}

.award-image-wrapper {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.award-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    background: linear-gradient(90deg, #f5f5f5 25%, #e8e8e8 50%, #f5f5f5 75%);
    background-size: 200% 100%;
    animation: awards-loading 1.5s infinite;
}

@keyframes awards-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.award-image-link:hover .award-image {
    transform: scale(1.05);
}

.award-featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(255, 193, 7, 0.3);
}

.award-featured-badge svg {
    flex-shrink: 0;
}

.award-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 123, 255, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.award-image-link:hover .award-overlay {
    background: rgba(0, 123, 255, 0.8);
    opacity: 1;
}

.award-overlay .overlay-content svg {
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.award-image-link:hover .overlay-content svg {
    transform: scale(1);
}

.award-content {
    padding: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.award-year {
    font-size: 0.85rem;
    color: #3498db;
    font-weight: 600;
    margin-bottom: 10px;
    display: inline-block;
    background: #f0f8ff;
    padding: 4px 10px;
    border-radius: 12px;
    align-self: flex-start;
}

.award-title {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
    line-height: 1.3;
    color: #333;
    flex: 1;
}

.award-organization {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.award-description {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.5;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.awards-info {
    background: linear-gradient(180deg, #06CFE5 0%, #03737F 100%);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    margin-top: 40px;
}

.awards-info .info-content p {
    margin: 0;
    font-size: 1.1rem;
    color: #fff;
    line-height: 1.6;
    margin-left: auto;
    margin-right: auto;
}

.awards-layout-masonry .awards-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.awards-layout-masonry .award-image-wrapper {
    height: auto;
    min-height: 180px;
}

.fancybox__container {
    --fancybox-color: #3498db;
}

.fancybox__image {
    border-radius: 10px;
}

.fancybox__caption {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 1.1rem;
}

.fancybox__slide.has-image .fancybox__content {
    border-radius: 12px;
    overflow: hidden;
}

@media (max-width: 1200px) {
    .awards-title {
        font-size: 2.4rem;
    }

    .awards-grid {
        --awards-columns: 3;
    }
}

@media (max-width: 992px) {
    .awards-section {
        padding: 60px 0;
    }

    .awards-title {
        font-size: 2rem;
    }

    .awards-grid {
        --awards-columns: 2;
        gap: 20px;
    }

    .award-image-wrapper {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .awards-title {
        font-size: 1.8rem;
    }

    .awards-description {
        font-size: 1rem;
    }

    .awards-grid {
        --awards-columns: 2;
        gap: 15px;
    }

    .award-content {
        padding: 15px;
    }

    .award-title {
        font-size: 1.1rem;
    }

    .awards-section .filter-buttons {
        padding: 10px;
    }

    .awards-section .filter-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .awards-section {
        padding: 40px 0;
    }

    .awards-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    .awards-grid {
        --awards-columns: 1 !important;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .award-image-wrapper {
        height: 200px;
    }

    .awards-section .filter-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .awards-section .filter-btn {
        text-align: center;
    }

    .awards-info {
        padding: 20px;
    }

    .awards-info .info-content p {
        font-size: 1rem;
    }
}

@media (max-width: 400px) {
    .award-featured-badge {
        font-size: 0.7rem;
        padding: 4px 8px;
    }

    .award-featured-badge svg {
        width: 16px;
        height: 16px;
    }
}

/* ============================================
   БЛОК ПРОТЕЗИРОВАНИЯ (prosthetics-grid-block)
   ============================================ */
.prosthetics-grid-block {
    padding: 60px 0;
    background: #f8f9fa;
}

.prosthetics-grid-block .block-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.prosthetics-grid-block .block-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.prosthetics-items.grid-layout {
    display: grid;
    gap: 30px;
}

.prosthetics-grid-block.columns-2 .prosthetics-items.grid-layout {
    grid-template-columns: repeat(2, 1fr);
}

.prosthetics-grid-block.columns-3 .prosthetics-items.grid-layout {
    grid-template-columns: repeat(3, 1fr);
}

.prosthetics-grid-block.columns-4 .prosthetics-items.grid-layout {
    grid-template-columns: repeat(4, 1fr);
}

.prosthetic-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.prosthetic-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.prosthetic-item-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.prosthetic-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.prosthetic-item:hover .prosthetic-item-image img {
    transform: scale(1.05);
}

.prosthetics-grid-block .item-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.prosthetics-grid-block .item-title {
    margin: 0 0 10px 0;
    font-size: 1.25rem;
    line-height: 1.3;
    color: #1a1a1a;
}

.prosthetics-grid-block .item-title a {
    color: #1a1a1a;
    text-decoration: none;
}

.prosthetics-grid-block .item-title a:hover {
    color: #3498db;
}

.prosthetics-grid-block .item-parent {
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.prosthetics-grid-block .parent-label {
    color: #888;
}

.prosthetics-grid-block .parent-link {
    color: #3498db;
    text-decoration: none;
}

.prosthetics-grid-block .parent-link:hover {
    text-decoration: underline;
}

.prosthetics-grid-block .item-excerpt {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #555;
    flex-grow: 1;
}

.prosthetics-grid-block .item-actions {
    margin-top: auto;
}

.prosthetics-grid-block .callback-button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(180deg, #03737F 0%, #008bd0 100%);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    border: none;
    transition: opacity 0.3s ease;
}

.prosthetics-grid-block .callback-button:hover {
    opacity: 0.9;
    color: white;
}

.prosthetics-items.list-layout .prosthetic-item {
    flex-direction: row;
    margin-bottom: 20px;
}

.prosthetics-items.list-layout .item-image {
    width: 300px;
    height: auto;
    flex-shrink: 0;
}

.prosthetics-items.list-layout .item-content {
    flex-grow: 1;
}

.prosthetics-pagination {
    margin-top: 40px;
    text-align: center;
}

.prosthetics-pagination .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.prosthetics-pagination .page-numbers.current {
    background: linear-gradient(180deg, #03737F 0%, #008bd0 100%);
    color: white;
    border-color: transparent;
}

.prosthetics-pagination .page-numbers:hover:not(.current) {
    background: #f8f9fa;
}

@media (max-width: 992px) {

    .prosthetics-grid-block.columns-3 .prosthetics-items.grid-layout,
    .prosthetics-grid-block.columns-4 .prosthetics-items.grid-layout {
        grid-template-columns: repeat(2, 1fr);
    }

    .prosthetic-item-image {
        height: 180px;
    }
}

@media (max-width: 768px) {

    .prosthetics-grid-block.columns-2 .prosthetics-items.grid-layout,
    .prosthetics-grid-block.columns-3 .prosthetics-items.grid-layout,
    .prosthetics-grid-block.columns-4 .prosthetics-items.grid-layout {
        grid-template-columns: 1fr;
    }

    .prosthetics-items.list-layout .prosthetic-item {
        flex-direction: column;
    }

    .prosthetics-items.list-layout .item-image {
        width: 100%;
        height: 200px;
    }

    .prosthetics-grid-block .block-title {
        font-size: 2rem;
    }

    .prosthetic-item-image {
        height: 240px;
    }
}

@media (max-width: 480px) {
    .prosthetic-item-image {
        height: 240px;
    }

    .prosthetics-grid-block .item-content {
        padding: 16px;
    }
}

/* ============================================
   БЛОК КОНТАКТОВ (contacts-page-section)
   ============================================ */
.contacts-page-section {
    padding: 80px 0;
    background: #fff;
}

.contacts-page-section .contacts-header {
    text-align: center;
    margin-bottom: 60px;
}

.contacts-page-section .contacts-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #333;
    line-height: 1.2;
}

.contacts-page-section .contacts-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.contacts-page-section .contacts-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 30px;
}

.contacts-page-section .contact-card {
    background: #fff;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.contacts-page-section .contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.contacts-page-section .contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(180deg, #03737F 0%, #008bd0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.contacts-page-section .contact-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.contacts-page-section .contact-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 20px 0;
    color: #333;
}

.contacts-page-section .contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contacts-page-section .contact-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contacts-page-section .contact-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.contacts-page-section .contact-value {
    font-size: 1.1rem;
    color: #008BD0;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.contacts-page-section .contact-value:hover {
    color: #005a87;
}

.contacts-page-section .contact-card-address .contact-value {
    color: #333;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
}

.contacts-page-section .schedule-item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.contacts-page-section .schedule-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contacts-page-section .social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.contacts-page-section .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contacts-page-section .social-link:hover {
    background: linear-gradient(180deg, #03737F 0%, #008bd0 100%);
    transform: translateY(-3px);
}

.contacts-page-section .social-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.contacts-page-section .social-link:hover .social-icon {
    filter: brightness(0) invert(1);
}

.contacts-page-section .social-label {
    font-size: 0.9rem;
    color: #333;
    font-weight: 600;
}

.contacts-page-section .social-link:hover .social-label {
    color: white;
}

@media (max-width: 1200px) {
    .contacts-page-section .contacts-title {
        font-size: 2.4rem;
    }

    .contacts-page-section .contacts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .contacts-page-section {
        padding: 60px 0;
    }

    .contacts-page-section .contacts-title {
        font-size: 2rem;
    }

    .contacts-page-section .contacts-grid {
        gap: 25px;
    }

    .contacts-page-section .contact-card {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .contacts-page-section .contacts-title {
        font-size: 1.8rem;
    }

    .contacts-page-section .contacts-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .contacts-page-section .contact-icon {
        width: 50px;
        height: 50px;
    }

    .contacts-page-section .contact-icon svg {
        width: 24px;
        height: 24px;
    }

    .contacts-page-section .contact-card-title {
        font-size: 1.3rem;
    }

    .contacts-page-section .map-container {
        height: 400px;
    }
}

@media (max-width: 576px) {
    .contacts-page-section {
        padding: 40px 0;
    }

    .contacts-page-section .contacts-title {
        font-size: 1.6rem;
    }

    .contacts-page-section .contacts-subtitle {
        font-size: 1rem;
    }

    .contacts-page-section .map-title {
        font-size: 1.6rem;
    }

    .contacts-page-section .map-container {
        height: 350px;
    }
}

/* ============================================
   БЛОК ЖИЗНЕННЫЕ НАВЫКИ (life-skills-section)
   ============================================ */
.life-skills-section {
    padding: 60px 0;
    background: #fff;
}

.life-skills-section .section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.life-skills-section .skills-grid {
    display: grid;
    gap: 30px;
}

.life-skills-section .skills-grid.layout-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.life-skills-section .skills-grid.layout-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.life-skills-section .skills-grid.layout-list {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
}

.life-skills-section .skill-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.life-skills-section .skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.life-skills-section .skill-icon {
    width: 160px;
    height: 100px;
    margin-bottom: 20px;
}

.life-skills-section .skill-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.life-skills-section .skill-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.3;
}

.life-skills-section .skill-description {
    color: #666;
    line-height: 1.6;
    font-size: 16px;
    flex-grow: 1;
}

.life-skills-section .skill-description p {
    margin-bottom: 10px;
}

.life-skills-section .skill-description p:last-child {
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .life-skills-section .skills-grid.layout-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .life-skills-section .skills-grid.layout-grid-2,
    .life-skills-section .skills-grid.layout-grid-3 {
        grid-template-columns: 1fr;
    }

    .life-skills-section .skill-card {
        padding: 20px;
    }

    .life-skills-section .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
}

.life-skills-section .skill-card:not(:has(.skill-icon)) .skill-title {
    margin-top: 0;
}

/* ============================================
   БЛОК ТОВАРОВ (products-grid-block)
   ============================================ */
.products-grid-block .products-grid {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.products-grid-block .products-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.products-grid-block .products-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.products-grid-block .products-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {

    .products-grid-block .products-grid.cols-3,
    .products-grid-block .products-grid.cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .products-grid-block .products-grid.cols-2,
    .products-grid-block .products-grid.cols-3,
    .products-grid-block .products-grid.cols-4 {
        grid-template-columns: 1fr;
    }
}

.products-grid-block__footer {
    margin-top: 40px;
    text-align: center;
}

.products-grid-block__subtitle {
    margin: 0 0 20px 0;
    font-size: 1.1rem;
    line-height: 1.5;
    color: #333;
}

.products-grid-block__catalog-btn {
    display: inline-block;
}

/* ============================================
   БЛОК ЭТАПОВ РАБОТЫ (work-steps-section)
   ============================================ */
.work-steps-section {
    width: 100%;
    padding: 80px 0;
    position: relative;
}

.work-steps-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.work-steps-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px 0;
}

.work-steps-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
}

.work-steps-wrapper {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.work-steps-tabs {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}

.work-steps-content {
    flex: 1;
    position: relative;
    height: 100%;
}

.work-step-content {
    height: 100%;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    display: none;
    animation: workStepsFadeIn 0.5s ease;
}

.work-step-content.active {
    display: block;
}

.step-content-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.work-step-tab {
    padding: 20px 25px;
    border: none;
    border-radius: 10px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    font-weight: 600;
    font-size: 16px;
    flex: 1;
}

.work-step-tab:hover {
    transform: translateX(5px);
}

.work-step-tab.active {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.step-icon {
    font-weight: 700;
    font-size: 18px;
    min-width: 30px;
    display: inline-block;
}

.step-title {
    flex: 1;
}

.step-arrow {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.work-step-tab.active .step-arrow {
    opacity: 1;
}

.step-content-header {
    margin-bottom: 25px;
}

.step-content-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 10px 0;
    color: inherit;
}

.step-content-body {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    flex: 1;
}

.step-image-wrapper {
    flex: 0 0 300px;
}

.step-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    max-height: 300px;
}

.step-text {
    flex: 1;
    font-size: 16px;
    line-height: 1.7;
}

.step-text p {
    margin-bottom: 15px;
}

.step-text p:last-child {
    margin-bottom: 0;
}

@keyframes workStepsFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.work-steps-layout-right .work-steps-wrapper {
    flex-direction: row-reverse;
}

.work-steps-layout-right .work-step-tab:hover,
.work-steps-layout-right .work-step-tab.active {
    transform: translateX(-5px);
}

.work-steps-style-steps .work-steps-wrapper {
    display: block;
}

.work-steps-style-steps .work-steps-tabs {
    display: none;
}

.work-steps-style-steps .work-steps-content {
    display: block;
}

.work-steps-style-steps .work-step-content {
    display: block;
    margin-bottom: 30px;
    position: relative;
    padding-left: 70px;
    height: auto;
}

.work-steps-style-steps .work-step-content:last-child {
    margin-bottom: 0;
}

.work-steps-style-steps .step-icon {
    position: absolute;
    left: 20px;
    top: 30px;
    width: 40px;
    height: 40px;
    background: linear-gradient(180deg, #03737F 0%, #008bd0 100%);
    color: var(--work-steps-active-text, #ffffff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

@media (max-width: 992px) {
    .work-steps-section {
        padding: 60px 0;
    }

    .work-steps-title {
        font-size: 32px;
    }

    .work-steps-wrapper {
        gap: 30px;
    }

    .work-steps-tabs {
        flex: 0 0 45%;
    }

    .step-content-body {
        flex-direction: column;
    }

    .step-image-wrapper {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        margin: 0 auto 20px auto;
    }

    .step-image {
        max-height: 250px;
    }
}

@media (max-width: 768px) {
    .work-steps-wrapper {
        flex-direction: column;
        gap: 20px;
        min-height: auto;
    }

    .work-steps-tabs {
        flex: 0 0 auto;
        width: 100%;
        height: auto;
    }

    .work-steps-content {
        height: auto;
    }

    .work-step-tab {
        padding: 15px 20px;
    }

    .step-arrow {
        opacity: 1;
        transition: transform 0.3s ease;
    }

    .work-step-tab.active .step-arrow {
        transform: rotate(90deg);
    }

    .work-step-content {
        padding: 25px;
        height: auto;
    }

    .work-steps-layout-right .work-step-tab:hover,
    .work-steps-layout-right .work-step-tab.active {
        transform: translateY(-2px);
    }

    .step-content-title {
        font-size: 20px;
    }

    .step-text {
        font-size: 15px;
    }

    .work-steps-title {
        font-size: 28px;
    }

    .work-steps-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .work-steps-section {
        padding: 50px 0;
    }

    .work-steps-title {
        font-size: 24px;
    }

    .work-step-tab {
        padding: 15px;
        font-size: 15px;
    }

    .step-icon {
        min-width: 25px;
        font-size: 16px;
    }

    .work-step-content {
        padding: 20px;
    }

    .work-steps-style-steps .work-step-content {
        padding-left: 60px;
    }

    .work-steps-style-steps .step-icon {
        left: 15px;
        top: 20px;
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* ============================================
   КАК ПОЛУЧИТЬ ПРОТЕЗ БЕСПЛАТНО (4 шага)
   ============================================ */
.free-prosthesis-steps-section {
    width: 100%;
    padding: 80px 0;
}



.free-prosthesis-steps__title {
    color: var(--fps-title-color, #333);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 40px;
    text-align: center;
}

.free-prosthesis-steps__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.free-prosthesis-steps__card {
    background: #fff;
    border: 1px solid var(--fps-card-border, #e8e8e8);
    border-radius: 12px;
    padding: 28px 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.free-prosthesis-steps__card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.free-prosthesis-steps__card-icon {
    margin-bottom: 16px;
    line-height: 0;
}

.free-prosthesis-steps__card-icon img,
.free-prosthesis-steps__card-icon .fps-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.free-prosthesis-steps__card-icon .fps-icon {
    color: var(--fps-card-title-color, #008BD0);
    display: block;
}

.free-prosthesis-steps__card-title {
    color: var(--fps-card-title-color, #008BD0);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.free-prosthesis-steps__card-desc {
    font-size: 15px;
    line-height: 1.5;
    color: #555;
    margin: 0;
}

@media (max-width: 992px) {
    .free-prosthesis-steps__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .free-prosthesis-steps__title {
        font-size: 28px;
        margin-bottom: 32px;
    }
}

@media (max-width: 576px) {
    .free-prosthesis-steps-section {
        padding: 50px 0;
    }

    .free-prosthesis-steps__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .free-prosthesis-steps__title {
        font-size: 22px;
        margin-bottom: 24px;
    }

    .free-prosthesis-steps__card {
        padding: 22px 16px;
    }

    .free-prosthesis-steps__card-title {
        font-size: 16px;
    }

    .free-prosthesis-steps__card-desc {
        font-size: 14px;
    }
}

/* ============================================
   БЛОК СПЕЦИАЛИСТОВ (specialists-section)
   ============================================ */
.specialists-section {
    width: 100%;
    padding: 80px 0;
    position: relative;
}

.specialists-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.specialists-layout-content_left .specialists-wrapper {
    flex-direction: row;
}

.specialists-layout-content_right .specialists-wrapper {
    flex-direction: row-reverse;
}

.specialists-content {
    flex: 0 0 40%;
    position: sticky;
    top: 100px;
}

.specialists-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 25px 0;
}

.specialists-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 35px;
}

.specialists-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    background: linear-gradient(180deg, #03737F 0%, #008bd0 100%);
    color: #fff;
    border: none;
}

.specialists-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.specialists-grid {
    flex: 1;
    display: grid;
    gap: 30px;
    justify-content: start;
}

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

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

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

.specialist-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.specialist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.specialist-card.featured {
    border: 2px solid var(--specialists-card-name-color, #008BD0);
}

.specialist-photo {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.specialist-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.specialist-card:hover .specialist-img {
    transform: scale(1.05);
}

.specialist-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.specialist-name {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.specialist-position {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.specialist-experience {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.specialist-excerpt {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    flex: 1;
}

.specialist-link {
    color: var(--specialists-card-name-color, #008BD0);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s ease;
}

.specialist-link:hover {
    text-decoration: underline;
}

.specialists-layout-content_top .specialists-wrapper {
    flex-direction: column;
    gap: 50px;
}

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

.specialists-button-container {
    text-align: center;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .specialists-section {
        padding: 60px 0;
    }

    .specialists-title {
        font-size: 32px;
    }

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

    .specialists-wrapper {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .specialists-wrapper {
        flex-direction: column !important;
        gap: 40px;
    }

    .specialists-content {
        flex: 0 0 auto;
        position: static;
    }

    .specialists-title {
        font-size: 28px;
    }

    .specialists-description {
        font-size: 16px;
    }

    .specialists-columns-3 .specialists-grid,
    .specialists-columns-4 .specialists-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .specialist-photo {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .specialists-section {
        padding: 50px 0;
    }

    .specialists-grid {
        width: 100%;
    }

    .specialist-info {
        align-items: center;
    }

    .specialist-img {
        object-fit: contain;
    }

    .specialists-title {
        font-size: 24px;
    }

    .specialists-grid {
        grid-template-columns: 1fr !important;
        gap: 25px;
    }

    .specialist-photo {
        height: 200px;
    }

    .specialist-info {
        padding: 20px;
    }

    .specialist-name {
        font-size: 18px;
    }

    .specialists-button {
        padding: 12px 25px;
        font-size: 15px;
    }
}

/* ============================================
   БЛОК ПРОГРАММЫ ОБУЧЕНИЯ (learning-program-section)
   ============================================ */
.learning-program-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.learning-program-section .section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.learning-program-section .learning-tabs .tabs-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.learning-program-section .tab-btn {
    padding: 12px 30px;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.learning-program-section .tab-btn.active {
    background: linear-gradient(180deg, #03737F 0%, #008bd0 100%);
    color: #fff;
    border-color: transparent;
}

.learning-program-section .tab-pane {
    display: none;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.learning-program-section .tab-pane.active {
    display: block;
}

.learning-program-section .learning-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.learning-program-section .learning-card {
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.learning-program-section .stages-list {
    margin: 20px 0;
}

.learning-program-section .stage-item {
    margin-bottom: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.learning-program-section .duration {
    margin-top: 20px;
    padding: 15px;
    background: #e7f1ff;
    border-radius: 8px;
    font-size: 16px;
}

/* ============================================
   БЛОК FAQ (faq-block-section)
   ============================================ */
.faq-block-section {
    width: 100%;
    padding: 80px 0;
    position: relative;
}

.faq-block-section .faq-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.2;
}

.faq-block-section .faq-accordion {
    width: 100%;
}

.faq-block-section .faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-block-section .faq-item:last-child {
    margin-bottom: 0;
}

.faq-block-section .faq-question {
    width: 100%;
    padding: 20px 60px 20px 25px;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    border: none;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-block-section .faq-question:hover {
    text-decoration: none;
}

.faq-block-section .faq-question-text {
    flex: 1;
    padding-right: 15px;
}

.faq-block-section .faq-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-block-section .faq-item.active .faq-icon {
    transform: translateY(-50%) rotate(180deg);
}

.faq-block-section .faq-item.active .faq-icon-plus {
    display: none;
}

.faq-block-section .faq-item.active .faq-icon-minus {
    display: block;
}

.faq-block-section .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-block-section .faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-block-section .faq-answer-content {
    padding: 25px;
    font-size: 16px;
    line-height: 1.6;
}

.faq-block-section .faq-answer-content p {
    margin-bottom: 15px;
}

.faq-block-section .faq-answer-content p:last-child {
    margin-bottom: 0;
}

.faq-block-section .faq-answer-content ul,
.faq-block-section .faq-answer-content ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.faq-block-section .faq-answer-content li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .faq-block-section {
        padding: 60px 0;
    }

    .faq-block-section .faq-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .faq-block-section .container {
        padding: 0 20px;
    }

    .faq-block-section .faq-question {
        padding: 18px 50px 18px 20px;
        font-size: 16px;
    }

    .faq-block-section .faq-answer-content {
        padding: 20px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .faq-block-section .faq-title {
        font-size: 24px;
    }

    .faq-block-section .faq-question {
        padding: 15px 45px 15px 15px;
        font-size: 15px;
    }

    .faq-block-section .faq-icon {
        right: 15px;
    }
}

/* ============================================
   БЛОК ЗАМЕТКА ПАЦИЕНТАМ (patient-note-block)
   ============================================ */
.patient-note-block {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.patient-note-block .block-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #1a1a1a;
    position: relative;
}

.patient-note-block .block-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #06CFE5 0%, #66C924 100%);
    margin: 15px auto 0;
    border-radius: 2px;
}

.patient-note-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.patient-note-card {
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    animation: patientNoteFadeInUp 0.5s ease forwards;
    opacity: 0;
}

.patient-note-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.patient-note-card:nth-child(1) {
    animation-delay: 0.1s;
}

.patient-note-card:nth-child(2) {
    animation-delay: 0.2s;
}

.patient-note-card:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes patientNoteFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.note-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.note-icon-wrapper {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3498db;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
}

.note-icon {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.note-card-title {
    margin: 0;
    font-size: 1.4rem;
    color: #1a1a1a;
    line-height: 1.3;
}

.note-card-content {
    flex-grow: 1;
    color: #333;
    line-height: 1.6;
    font-size: 1.05rem;
}

.note-card-content p {
    margin-top: 0;
    margin-bottom: 15px;
}

.note-card-content p:last-child {
    margin-bottom: 0;
}

.note-card-content ul,
.note-card-content ol {
    margin: 15px 0;
    padding-left: 20px;
}

.note-card-content li {
    margin-bottom: 8px;
}

@media (max-width: 992px) {
    .patient-note-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .patient-note-block .block-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .patient-note-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .patient-note-card {
        padding: 25px;
    }

    .note-card-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .note-card-title {
        font-size: 1.3rem;
    }

    .patient-note-block {
        padding: 40px 0;
    }
}

/* ============================================
   ГЛОБАЛЬНЫЙ ВИДЕО-СЛАЙДЕР (global-video-slider-section)
   ============================================ */
.global-video-slider-section {
    width: 100%;
    padding: 80px 0;
    position: relative;
}

.global-video-slider__top {
    text-align: center;
    margin-bottom: 50px;
}

.global-video-slider__top h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.global-video-slider__body {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.global-video-slider__swiper {
    flex: 1;
    overflow: hidden;
}

.global-video-slider__arrow {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.global-video-slider__arrow:hover {
    border-color: #3498db;
    color: #3498db;
    background: #f8f9fa;
}

.global-video-slider__arrow svg {
    width: 24px;
    height: 24px;
}

.global-video-slider-section .swiper-wrapper {
    display: flex;
    height: auto;
}

.global-video-slider-section .swiper-slide {
    flex-shrink: 0;
    width: 100%;
    padding: 0 10px;
}

.global-video-container {
    width: 100%;
    height: 315px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.global-video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.global-video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.global-video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--placeholder-color1, #008BD0), var(--placeholder-color2, #005a87));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--placeholder-text-color, white);
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.placeholder-content {
    text-align: center;
}

.play-icon {
    font-size: 50px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.global-video-title {
    margin-top: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

.global-video-container.loaded .global-video-placeholder,
.global-video-container.loaded .global-video-thumbnail {
    display: none;
}

.global-video-container:not(.loaded) iframe {
    display: none;
}

.global-video-slider__pagination {
    display: none;
}

@media (max-width: 768px) {
    .global-video-slider__pagination {
        display: block;
        position: relative;
        margin-top: 20px;
        bottom: auto !important;
    }

    .global-video-slider__pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        background: #ccc;
        opacity: 1;
        margin: 0 5px;
        transition: background 0.2s;
    }

    .global-video-slider__pagination .swiper-pagination-bullet-active {
        background: #008BD0;
    }

    .global-video-slider-section {
        padding: 60px 0;
    }

    .global-video-slider__top h2 {
        font-size: 28px;
    }

    .global-video-slider__body {
        gap: 0;
    }

    .global-video-slider__arrow {
        display: none;
    }

    .global-video-slider-section .swiper-slide {
        padding: 0;
        width: 100%;
    }

    .global-video-slider__swiper {
        width: 100%;
    }

    .global-video-container {
        height: 250px;
        width: 100%;
    }

    .global-video-title {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .global-video-container {
        height: 200px;
    }

    .play-icon {
        font-size: 40px;
    }
}

/* ============================================
   ИСТОРИИ ПАЦИЕНТОВ (patients-stories)
   ============================================ */
.patients-stories {
    padding: 80px 0;
    background: #f9f9f9;
}

.patients-stories .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.patients-stories .section-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
}

.patients-stories .swiper {
    padding: 40px 0px 60px;
    position: relative;
}

.patients-stories .swiper-wrapper {
    align-items: stretch;
}

.patients-stories .swiper-slide {
    height: auto;
}

.story-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    height: 100%;
}

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* На ПК карточка не выше главного фото слева */
@media (min-width: 992px) {
    .story-card {
        max-height: 550px;
    }

    .story-content {
        min-height: 0;
        overflow: hidden;
    }

    .story-excerpt {
        margin-bottom: 12px;
        font-size: 0.9rem;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
    }

    .story-extra-photos {
        margin-bottom: 12px;
        flex-shrink: 0;
    }

    .story-extra-photo {
        min-height: 50px;
        max-height: 150px;
        aspect-ratio: 4/3;
    }
}

.story-image {
    position: relative;
    width: 550px;
    height: 550px;
    overflow: hidden;
    flex-shrink: 0;
}

.story-image-inner {
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
}

.story-image-inner .image-placeholder {
    width: 100%;
    height: 100%;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* На десктопе при двух фото показываем только первое */
.story-image-inner img:not(:first-child) {
    display: none;
}

.story-card:hover .story-image img {
    transform: scale(1.05);
}

.story-image .image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    color: #ccc;
}

.photo-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(5px);
}

.photo-badge svg {
    width: 14px;
    height: 14px;
}

.story-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.story-meta {
    display: flex;

    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #888;
}

.story-date,
.reading-time {
    display: flex;
    align-items: center;
    gap: 5px;
}

.story-title {
    margin: 0 0 10px 0;
    font-size: 1.4rem;
    line-height: 1.3;
}

.story-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.story-title a:hover {
    color: #3498db;
}

.story-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
    font-style: italic;
    line-height: 1.4;
}

.story-quote {
    margin: 15px 0;
    padding-left: 15px;
    border-left: 3px solid #3498db;
    font-style: italic;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

.story-excerpt {
    flex: 1;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.story-extra-photos {
    margin-bottom: 20px;
    width: 30%;
}

.story-extra-photos-link {
    display: flex;
    gap: 10px;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
}

.story-extra-photo {
    width: 30%;
    flex: 1;
    display: block;
    aspect-ratio: 4/3;
    min-height: 150px;
    background: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
}

.story-extra-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.story-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(180deg, #03737F 0%, #008bd0 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    opacity: 0.95;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 207, 229, 0.4);
}

.read-more-btn svg {
    transition: transform 0.3s ease;
}

.read-more-btn:hover svg {
    transform: translateX(3px);
}

.story-actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    background: #f8f9fa;
    border: none;
    border-radius: 8px;
    color: #666;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: #e9ecef;
    color: #333;
}

.action-btn svg {
    width: 16px;
    height: 16px;
}

.archive-link-wrapper {
    text-align: center;
    margin-top: 40px;
}

.view-all-stories-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: transparent;
    color: #008BD0;
    text-decoration: none;
    border: 2px solid #06CFE5;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.view-all-stories-btn:hover {
    background: linear-gradient(180deg, #03737F 0%, #008bd0 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 207, 229, 0.4);
}

.patients-stories .swiper-button-next,
.patients-stories .swiper-button-prev {
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    top: 50%;
    transform: translateY(-50%);
    margin-top: -25px;
}

.patients-stories .swiper-button-next:after,
.patients-stories .swiper-button-prev:after {
    font-size: 18px;
    color: #06CFE5;
    font-weight: bold;
}

.patients-stories .swiper-pagination {
    bottom: 10px !important;
}

.patients-stories .swiper-pagination-bullet-active {
    background: #66C924;
}

.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.share-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.share-content h3 {
    margin-top: 0;
    margin-bottom: 25px;
    color: #333;
}

.share-links {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.share-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 80px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.share-link.vk {
    background: #4a76a8;
}

.share-link.telegram {
    background: #0088cc;
}

.share-link.facebook {
    background: #3b5998;
}

.share-link.whatsapp {
    background: #25d366;
}

.share-link.odnoklassniki {
    background: #f6903b;
}

.copy-link-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: linear-gradient(180deg, #03737F 0%, #008bd0 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 20px;
    transition: opacity 0.3s ease;
}

.copy-link-btn:hover {
    opacity: 0.9;
}

.copy-message {
    display: block;
    color: #28a745;
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.copy-message.show {
    opacity: 1;
}

@media (max-width: 768px) {
    .patients-stories {
        padding: 60px 0;
    }

    .patients-stories .section-title {
        font-size: 2rem;
    }

    .story-image {
        height: 200px;
        width: 100%;
    }

    .story-image-inner {
        display: flex;
        flex-direction: row;
    }

    .story-image-inner img {
        width: 50%;
        flex: 0 0 50%;
        height: 100%;
    }

    .story-image-inner img:not(:first-child) {
        display: block;
    }

    .story-image-inner img:only-child {
        width: 100%;
        flex: 0 0 100%;
    }

    .story-content {
        padding: 20px;
    }

    .story-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .story-actions {
        justify-content: center;
    }

    .patients-stories .swiper-button-next,
    .patients-stories .swiper-button-prev {
        display: none;
    }
}

@media (max-width: 576px) {
    .story-card {
        flex-direction: column;
    }

    .story-image {
        height: 220px;
    }

    .read-more-btn {
        width: 100%;
        justify-content: center;
    }

    .action-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   БЛОК ФОТО КЛИЕНТОВ (clients-photos-section)
   ============================================ */
.clients-photos-section {
    padding: 80px 0;
    background: #fff;
    position: relative;
}

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

.clients-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.client-photo-link {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
    background: #f8f9fa;
    cursor: pointer;
}

.client-photo-link:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.client-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.client-photo-link:hover .client-image {
    transform: scale(1.05);
}

.client-photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 20px;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    pointer-events: none;
}

.client-photo-link:hover .client-photo-overlay {
    opacity: 1;
    transform: translateY(0);
}

.client-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.client-caption {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

.clients-slider-wrapper {
    position: relative;
    padding: 0 20px;
}

.clients-slider {
    overflow: hidden;
    border-radius: 15px;
}

.clients-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid #06CFE5;
}

.clients-arrow:hover {
    background: linear-gradient(180deg, #03737F 0%, #008bd0 100%);
    border-color: transparent;
}

.clients-arrow:hover svg {
    stroke: white;
}

.clients-arrow-prev {
    left: 0;
}

.clients-arrow-next {
    right: 0;
}

.clients-arrow svg {
    stroke: #06CFE5;
    stroke-width: 2;
    transition: stroke 0.3s ease;
}

.clients-photos-section .swiper-pagination {
    position: relative;
    margin-top: 30px;
}

.clients-photos-section .swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
    width: 10px;
    height: 10px;
}

.clients-photos-section .swiper-pagination-bullet-active {
    background: #66C924;
}

.client-photo-item {
    height: 550px;
    padding: 10px;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.client-grid-item {
    height: 200px;
}

.clients-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.masonry-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.masonry-item {
    border-radius: 10px;
    overflow: hidden;
}

.masonry-item:nth-child(3n+1) {
    height: 180px;
}

.masonry-item:nth-child(3n+2) {
    height: 220px;
}

.masonry-item:nth-child(3n+3) {
    height: 160px;
}

@media (max-width: 1200px) {
    .clients-title {
        font-size: 2.4rem;
    }

    .clients-masonry {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .clients-photos-section {
        padding: 60px 0;
    }

    .clients-title {
        font-size: 2rem;
    }

    .clients-slider-wrapper {
        padding: 0 40px;
    }

    .clients-arrow {
        width: 40px;
        height: 40px;
    }

    .client-photo-item {
        height: 200px;
    }

    .clients-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .clients-title {
        font-size: 1.8rem;
    }

    .clients-slider-wrapper {
        padding: 0 30px;
    }

    .clients-arrow {
        width: 35px;
        height: 35px;
    }

    .clients-arrow svg {
        width: 20px;
        height: 20px;
    }

    .client-photo-item {
        height: 280px;
    }

    .clients-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .clients-masonry {
        grid-template-columns: 1fr;
    }

    .masonry-column {
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .clients-photos-section {
        padding: 40px 0;
    }

    .clients-title {
        font-size: 1.6rem;
    }

    .clients-slider-wrapper {
        padding: 0 15px;
    }

    .client-photo-item {
        height: 250px;
    }

    .client-photo-overlay {
        padding: 10px;
    }

    .client-name {
        font-size: 0.9rem;
    }

    .client-caption {
        font-size: 0.8rem;
    }
}

.clients-photos-section .fancybox__container {
    --fancybox-color: #3498db;
    --fancybox-bg: rgba(0, 0, 0, 0.95);
}

.clients-photos-section .fancybox__slide {
    padding: 20px;
}

.clients-photos-section .fancybox__image {
    border-radius: 10px;
    max-width: 90vw;
    max-height: 90vh;
}

/* ========== Квиз (многошаговый опрос) ========== */
.quiz-section {
    padding: 60px 0;

}


.quiz-header {
    text-align: center;
    margin-bottom: 40px;
}

.quiz-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.quiz-subtitle {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

.quiz-wrapper {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

@media (min-width: 1024px) {
    .quiz-wrapper {
        min-height: 420px;
    }
}

.quiz-step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 24px 0;
}

.quiz-answers {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
}

@media (min-width: 1024px) {
    .quiz-answers {
        gap: 20px;
        justify-content: flex-start;
    }
}

.quiz-answer {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    overflow: hidden;
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
}

@media (min-width: 1024px) {
    .quiz-answers .quiz-answer {
        flex: 0 0 100;
        min-width: 0;
        max-width: calc(100% / 5 - 20px);
        height: 220px;
        min-height: 220px;
    }
}

.quiz-answer:hover {
    border-color: #008BD0;
    box-shadow: 0 4px 16px rgba(0, 139, 208, 0.15);
}

.quiz-answer input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.quiz-answer:has(input:checked) {
    border-color: #008BD0;
    box-shadow: 0 0 0 2px rgba(0, 139, 208, 0.25);
}

.quiz-answer:has(input:checked) .quiz-answer-text {
    font-weight: 600;
}

.quiz-answer-visual {
    display: block;
    width: 100%;
    aspect-ratio: 4/3;
    min-height: 140px;
    background: #eee;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .quiz-answer-visual {
        height: 170px;
        min-height: 170px;
        aspect-ratio: auto;
    }
}

.quiz-answer-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quiz-answer-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 140px;
    padding: 16px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

.quiz-answer-text {
    flex: 0 0 auto;
    padding: 8px 12px;
    font-size: 0.9rem;
    line-height: 1.25;
    color: #333;
}

@media (min-width: 1024px) {
    .quiz-answer-text {
        flex: 0 0 auto;
        padding: 10px 14px;
        min-height: 0;
        max-height: 2.6em;
        display: flex;
        align-items: center;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.quiz-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    gap: 16px;
}

.quiz-btn {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, opacity 0.2s;
}

.quiz-btn-prev {
    background: #e9ecef;
    color: #495057;
}

.quiz-btn-prev:hover:not(:disabled) {
    background: #dee2e6;
}

.quiz-btn-prev:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quiz-btn-next,
.quiz-btn-result-text {
    background: linear-gradient(180deg, #03737F 0%, #008bd0 100%);
    color: #fff;
}

.quiz-btn-next:hover {
    opacity: 0.95;
}

.quiz-progress {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #666;
}

.quiz-result {
    margin-top: 24px;
    background: #333;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.quiz-result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 767px) {
    .quiz-result-grid {
        grid-template-columns: 1fr;
    }
}

.quiz-result-heading {
    min-width: 0;
}

.quiz-result-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px 0;
}

.quiz-result-form {
    min-width: 0;
}

.quiz-result-form .wpcf7-form {
    max-width: 100%;
}

/* Шаги ветви в одном контейнере */
.quiz-branch-steps .quiz-step {
    display: block;
}

.quiz-branch-steps .quiz-step[hidden] {
    display: none;
}