

/* 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 */
/* /local/templates/flzn/components/bitrix/news/cases/style.css?17703615708380 */
