

/* Start:/local/templates/flzn/components/bitrix/news/cases/style.css?17703615708380*/
/* Стили для раздела Кейсы */

/* === Список кейсов === */
.flzn-cases-container { max-width: 1200px; margin: 0 auto; padding: 40px 20px; }
.flzn-cases-title { font-size: 36px; font-weight: 700; margin-bottom: 40px; color: #000; }
.flzn-cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 40px; }
.flzn-cases-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.flzn-cases-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.flzn-cases-card-image { width: 100%; height: 240px; object-fit: cover; display: block; }
.flzn-cases-card-content { padding: 20px; }
.flzn-cases-card-title { font-size: 20px; font-weight: 600; margin-bottom: 12px; color: #000; }
.flzn-cases-card-title a { color: inherit; text-decoration: none; }
.flzn-cases-card-title a:hover { color: #2973e1; }
.flzn-cases-card-description { font-size: 14px; line-height: 1.6; color: #666; margin-bottom: 16px; }
.flzn-cases-card-link { display: inline-block; color: #2563eb; font-weight: 500; text-decoration: none; font-size: 14px; }
.flzn-cases-card-link:hover { text-decoration: underline; }

/* === Детальная страница === */
.flzn-case-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}
.flzn-case-breadcrumb { font-size: 14px; color: #666; margin-bottom: 30px; }
.flzn-case-breadcrumb a { color: #2563eb; text-decoration: none; }
.flzn-case-breadcrumb a:hover { text-decoration: underline; }

/* Заголовок — курсив как на макете */
.flzn-case-h1 {
    font-size: 36px;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 30px;
    color: #000;
}

/* === ЗАДАЧА === */
.flzn-case-task-block {
    margin-bottom: 15px;
}
.flzn-case-task-label {
    background: #003366;
    color: #fff;
    display: inline-block;
    padding: 5px 16px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}
.flzn-case-task-text {
    font-size: 14px;
    line-height: 1.7;
    color: #333;
}

/* === РЕШЕНИЕ — справа под задачей === */
.flzn-case-solution-wrap {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 40px;
}
.flzn-case-solution-block {
    width: 50%;
    background: #003366;
    color: #fff;
    padding: 20px 24px;
}
.flzn-case-solution-label {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
}
.flzn-case-solution-text {
    font-size: 14px;
    line-height: 1.6;
}

/* === ЭТАПЫ 2×2 === */
.flzn-case-stages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
    align-items: stretch;
}

.flzn-case-stage {
    display: flex;
    flex-direction: column;
}

/* Верх: растягивается чтобы фото начиналось на одной линии */
.flzn-case-stage-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: start;
    margin-bottom: 12px;
    flex: 1;
}

.flzn-case-stage-left {
    align-self: end;
}

.flzn-case-stage-number {
    font-size: 96px;
    font-weight: 700;
    color: #ccc;
    line-height: 1;
    margin-bottom: 6px;
}

.flzn-case-stage-name {
    display: inline-block;
    background: #003366;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    letter-spacing: 0.3px;
    line-height: 1.4;
}

.flzn-case-stage-right {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

/* Фото — фиксированная высота, одинаковая для всех */
.flzn-case-stage-photo {
    position: relative;
    cursor: pointer;
}
.flzn-case-stage-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Иконка убрана */

/* === ИТОГ === */
.flzn-case-result-block {
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 35px;
}
.flzn-case-result-label {
    font-weight: 700;
    color: #003366;
}

/* === Кнопка === */
.flzn-case-cta {
    text-align: center;
    margin-bottom: 50px;
}
.flzn-case-cta-btn {
    display: inline-block;
    padding: 14px 45px;
    background: #003366;
    color: #fff;
    border: none;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
}
.flzn-case-cta-btn:hover {
    background: #002244;
}

/* === Модалка формы === */
.flzn-case-form-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 10000; align-items: center; justify-content: center; }
.flzn-case-form-modal.active { display: flex; }
.flzn-case-form-modal-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); }
.flzn-case-form-modal-content { position: relative; background: #fff; border-radius: 8px; padding: 40px; max-width: 540px; width: 90%; max-height: 90vh; overflow-y: auto; z-index: 1; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.flzn-case-form-modal-close { position: absolute; top: 12px; right: 18px; background: none; border: none; font-size: 32px; color: #999; cursor: pointer; line-height: 1; padding: 0; }
.flzn-case-form-modal-close:hover { color: #333; }

/* === Форма === */
.flzn-case-contact-title { font-size: 26px; font-weight: 600; text-align: center; margin-bottom: 25px; }
.flzn-case-form-group { margin-bottom: 18px; }
.flzn-case-form-label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: #333; }
.flzn-case-form-input, .flzn-case-form-textarea { width: 100%; padding: 12px 16px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 15px; font-family: inherit; transition: border-color 0.3s; box-sizing: border-box; }
.flzn-case-form-input:focus, .flzn-case-form-textarea:focus { outline: none; border-color: #2563eb; }
.flzn-case-form-textarea { resize: vertical; min-height: 120px; }
.flzn-case-form-file { display: none; }
.flzn-case-form-file-label { display: inline-block; padding: 10px 20px; background: #f3f4f6; border: 1px dashed #9ca3af; border-radius: 6px; cursor: pointer; font-size: 14px; }
.flzn-case-form-file-label:hover { background: #e5e7eb; }
.flzn-case-form-file-name { display: inline-block; margin-left: 10px; font-size: 13px; color: #666; }
.flzn-case-form-submit { width: 100%; padding: 14px 20px; background: #2973e1; color: #fff; border: none; border-radius: 6px; font-size: 16px; font-weight: 600; cursor: pointer; transition: background 0.3s; }
.flzn-case-form-submit:hover { background: #1e5bb8; }
.flzn-case-form-message { padding: 12px 16px; border-radius: 6px; margin-bottom: 20px; font-size: 14px; display: none; }
.flzn-case-form-message:not(:empty) { display: block; }
.flzn-case-form-message-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.flzn-case-form-message-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* === Модалка изображения === */
.flzn-case-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 10001; align-items: center; justify-content: center; cursor: pointer; }
.flzn-case-modal.active { display: flex; }
.flzn-case-modal-image { max-width: 90%; max-height: 90%; object-fit: contain; }
.flzn-case-modal-close { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 40px; font-weight: bold; cursor: pointer; }

/* === Адаптив === */
@media (max-width: 992px) {
    .flzn-cases-grid { grid-template-columns: repeat(2, 1fr); }
    .flzn-case-h1 { font-size: 28px; }
    .flzn-case-solution-block { width: 100%; }
    .flzn-case-stage-number { font-size: 40px; }
    .flzn-case-stage-img { height: 250px; }
}
@media (max-width: 640px) {
    .flzn-cases-grid { grid-template-columns: 1fr; }
    .flzn-case-stages-grid { grid-template-columns: 1fr; }
    .flzn-case-h1 { font-size: 24px; }
    .flzn-case-stage-top { grid-template-columns: 1fr; }
    .flzn-case-stage-number { font-size: 36px; }
    .flzn-case-stage-img { height: 220px; }
    .flzn-case-cta-btn { font-size: 16px; padding: 12px 30px; }
    .flzn-case-form-modal-content { padding: 25px; }
}
/* End */


/* Start:/local/templates/flzn/components/bitrix/news.detail/case_detail/style.css?17769235696962*/
.flzn-case-page-wrap {
    width: 100%;
    padding: 24px 24px 60px;
    box-sizing: border-box;
}

.flzn-case-detail {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.flzn-case-breadcrumb {
    margin-bottom: 18px;
}

.flzn-case-h1 {
    margin: 28px 0 24px;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 700;
    color: #111827;
}

.flzn-case-task-block,
.flzn-case-result-block,
.flzn-case-solution-block,
.flzn-case-stage {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.flzn-case-task-block,
.flzn-case-result-block,
.flzn-case-solution-block {
    padding: 24px;
    margin-bottom: 24px;
}

.flzn-case-task-label,
.flzn-case-solution-label,
.flzn-case-result-label {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #2f6fed;
}

.flzn-case-task-text,
.flzn-case-solution-text,
.flzn-case-result-block {
    font-size: 16px;
    line-height: 1.65;
    color: #1f2937;
}

.flzn-case-solution-wrap {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 24px;
}

.flzn-case-solution-block {
    width: min(100%, 760px);
}

.flzn-case-stages-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin: 28px 0;
}

.flzn-case-stage {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: box-shadow .2s ease, transform .2s ease;
    border-top: 0;
}

.flzn-case-stage:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.flzn-case-stage-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.flzn-case-stage-left {
    flex: 0 0 42%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.flzn-case-stage-number {
    font-size: 32px;
    line-height: 1;
    font-weight: 800;
    color: #2f6fed;
}

.flzn-case-stage-name {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    color: #2f6fed;
}

.flzn-case-stage-right {
    flex: 1;
    font-size: 15px;
    line-height: 1.65;
    color: #4b5563;
}

.flzn-case-stage-photo {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #eef0f3;
    background: #f8fafc;
}

.flzn-case-stage-img {
    display: block;
    width: 100%;
    height: auto;
}

.flzn-case-cta {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.flzn-case-cta-btn {
    appearance: none;
    border: 0;
    border-radius: 12px;
    padding: 14px 22px;
    background: #2f6fed;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
    box-shadow: 0 8px 18px rgba(47, 111, 237, 0.22);
}

.flzn-case-cta-btn:hover {
    background: #255fcb;
    transform: translateY(-1px);
}

.flzn-case-form-modal,
.flzn-case-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

.flzn-case-form-modal.active,
.flzn-case-modal.active {
    display: block;
}

.flzn-case-form-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.flzn-case-form-modal-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 6vh auto;
    background: #fff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.flzn-case-form-modal-close,
.flzn-case-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    color: #111827;
}

.flzn-case-modal {
    background: rgba(0, 0, 0, 0.8);
}

.flzn-case-modal-image {
    display: block;
    max-width: min(92vw, 1100px);
    max-height: 88vh;
    margin: 5vh auto;
    object-fit: contain;
    border-radius: 14px;
    background: #fff;
}

.flzn-case-form-group {
    margin-bottom: 16px;
}

.flzn-case-form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.flzn-case-form-input,
.flzn-case-form-textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 15px;
    line-height: 1.45;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
    background: #fff;
    box-sizing: border-box;
}

.flzn-case-form-input:focus,
.flzn-case-form-textarea:focus {
    border-color: #2f6fed;
    box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.12);
}

.flzn-case-form-textarea {
    min-height: 120px;
    resize: vertical;
}

.flzn-case-form-file {
    display: block;
    margin-top: 8px;
}

.flzn-case-form-file-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #2f6fed;
    cursor: pointer;
}

.flzn-case-form-file-name {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #6b7280;
}

.flzn-case-form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 0;
    border-radius: 12px;
    padding: 13px 18px;
    background: #2f6fed;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.flzn-case-form-submit:hover {
    background: #255fcb;
    transform: translateY(-1px);
}

.flzn-case-form-submit:disabled {
    opacity: .7;
    cursor: progress;
    transform: none;
}

.flzn-case-form-message {
    margin: 8px 0 16px;
    font-size: 14px;
    min-height: 20px;
}

.flzn-case-form-message-success {
    color: #15803d;
}

.flzn-case-form-message-error {
    color: #dc2626;
}

@media (max-width: 1024px) {
    .flzn-case-h1 {
        font-size: 30px;
    }

    .flzn-case-stages-grid {
        gap: 18px;
    }

    .flzn-case-stage {
        padding: 20px;
    }

    .flzn-case-page-wrap {
        padding: 20px 18px 50px;
    }
}

@media (max-width: 767px) {
    .flzn-case-page-wrap {
        padding: 16px 12px 40px;
    }

    .flzn-case-h1 {
        font-size: 26px;
        margin: 22px 0 18px;
    }

    .flzn-case-stages-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .flzn-case-stage-top {
        flex-direction: column;
    }

    .flzn-case-stage-left,
    .flzn-case-stage-right {
        flex: 1 1 auto;
    }

    .flzn-case-task-block,
    .flzn-case-result-block,
    .flzn-case-solution-block,
    .flzn-case-stage {
        padding: 18px;
    }

    .flzn-case-form-modal-content {
        width: calc(100% - 24px);
        margin: 12px auto;
        padding: 20px 16px;
    }

    .flzn-case-modal-image {
        max-width: calc(100vw - 24px);
        max-height: 80vh;
    }
}
/* End */
/* /local/templates/flzn/components/bitrix/news/cases/style.css?17703615708380 */
/* /local/templates/flzn/components/bitrix/news.detail/case_detail/style.css?17769235696962 */
