

/* Start:/local/templates/newdmcg/components/bitrix/news.list/logos/style.css?17762877521679*/
.clients {
    padding: 88px 0 96px;
    background: var(--dmcg-surface, #f5f5f5);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.clients-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.clients-head {
    margin-bottom: 48px;
}

.clients-kicker {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--dmcg-red, #e31e24);
    margin-bottom: 12px;
}

.clients-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--dmcg-black, #0a0a0a);
    letter-spacing: -0.02em;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.client-logo-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.client-logo-card:hover {
    border-color: rgba(227, 30, 36, 0.35);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.client-logo-img {
    max-width: 100%;
    max-height: 56px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.85;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.client-logo-card:hover .client-logo-img {
    filter: grayscale(0);
    opacity: 1;
}

.client-logo-fallback {
    font-size: 14px;
    font-weight: 600;
    color: #404040;
    text-align: center;
    line-height: 1.3;
}

@media (max-width: 900px) {
    .clients-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* End */


/* Start:/local/templates/newdmcg/components/bitrix/news.list/works/style.css?17762877525692*/
.works {
    padding: 96px 0;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.works-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.works-header {
    margin-bottom: 48px;
    max-width: 640px;
}

.works-kicker {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--dmcg-red, #e31e24);
    margin-bottom: 12px;
}

.works-title h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--dmcg-black, #0a0a0a);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.works-lead {
    color: #525252;
    font-size: 16px;
    line-height: 1.6;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.work-card {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.work-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 14px;
    height: 220px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-overlay {
    position: absolute;
    inset: 0;
    background: rgba(227, 30, 36, 0);
    transition: background 0.35s ease;
    z-index: 2;
    pointer-events: none;
}

.work-card:hover .work-overlay {
    background: rgba(227, 30, 36, 0.1);
}

.work-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    vertical-align: middle;
    transition: transform 0.45s ease, filter 0.45s ease;
    filter: grayscale(0.15);
}

.work-card:hover .work-image img {
    transform: scale(1.02);
    filter: grayscale(0);
}

.work-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.work-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px 14px;
    justify-content: space-between;
}

.work-name {
    font-size: 18px;
    font-weight: 700;
    color: #0a0a0a;
    transition: color 0.25s ease;
}

.work-card:hover .work-name {
    color: var(--dmcg-red, #e31e24);
}

.work-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #737373;
    border: 1px solid #e5e5e5;
    padding: 4px 8px;
    border-radius: 4px;
}

.work-desc {
    font-size: 14px;
    color: #737373;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Modal */
.work-modal {
    position: fixed;
    inset: 0;
    z-index: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.work-modal[hidden] {
    display: none;
}

.work-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    cursor: pointer;
}

.work-modal__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 920px;
    max-height: min(92vh, 900px);
    overflow: auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
}

.work-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px 12px;
    border-bottom: 1px solid #eee;
}

.work-modal__title {
    margin: 0;
    font-size: clamp(18px, 2.4vw, 24px);
    font-weight: 800;
    color: #0a0a0a;
    line-height: 1.25;
    padding-right: 8px;
    flex: 1;
}

.work-modal__close {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 8px;
    background: #f3f3f3;
    color: #333;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.work-modal__close:hover {
    background: #e31e24;
    color: #fff;
}

.work-modal__body {
    padding: 16px 22px 22px;
}

.work-modal__desc {
    font-size: 15px;
    line-height: 1.65;
    color: #404040;
    margin-bottom: 12px;
    white-space: pre-wrap;
}

.work-modal__desc[hidden] {
    display: none;
}

.work-modal__link-wrap {
    margin: 0 0 16px;
}

.work-modal__link {
    color: #e31e24;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(227, 30, 36, 0.35);
}

.work-modal__link:hover {
    border-bottom-color: #e31e24;
}

.work-modal__empty {
    margin: 0;
    color: #737373;
    font-size: 14px;
}

.work-modal__hero {
    margin-bottom: 14px;
    cursor: pointer;
}

.work-modal__hero-img {
    display: block;
    width: 100%;
    height: 320px;
    max-height: 42vh;
    object-fit: contain;
    background: #f5f5f5;
    border-radius: 10px;
    padding: 8px;
    box-sizing: border-box;
}

.work-modal__thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.work-modal__thumb {
    display: block;
    width: 108px;
    height: 72px;
    flex: 0 0 auto;
    border-radius: 6px;
    overflow: hidden;
    background: #eee;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
}

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

.work-modal__thumb:hover {
    border-color: rgba(227, 30, 36, 0.45);
}

@media (max-width: 1024px) {
    .works-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .works-grid {
        grid-template-columns: 1fr;
    }

    .work-image {
        height: 200px;
    }

    .work-modal__hero-img {
        height: 240px;
    }

    .work-modal__thumb {
        width: 92px;
        height: 62px;
    }
}

/* End */
/* /local/templates/newdmcg/components/bitrix/news.list/logos/style.css?17762877521679 */
/* /local/templates/newdmcg/components/bitrix/news.list/works/style.css?17762877525692 */
