

/* Start:/local/components/itlion/cases.detail/templates/.default/style.css?178017894915257*/
/* ============================================
   IT Lion — Case Detail v4
   1200px layout + sidebar
   ============================================ */

/* --- Page wrapper --- */
.case-detail {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 20px 80px;
}

/* --- Breadcrumbs --- */
.case-detail__breadcrumbs {
    font-size: 14px;
    color: #7C859C;
    margin-bottom: 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.case-detail__breadcrumbs a {
    color: #7C859C;
    text-decoration: none;
    transition: color 0.2s;
}

.case-detail__breadcrumbs a:hover {
    color: #1962FF;
}

.case-detail__breadcrumbs-sep {
    color: #BFC3CE;
}

.case-detail__breadcrumbs > span:last-child {
    color: #323439;
    font-weight: 500;
}

/* =====================
   HERO — full width
   ===================== */
.case-hero {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #0A1A3F 0%, #0E2A6B 40%, #1962FF 100%);
    padding: 48px 44px;
    margin-bottom: 40px;
    min-height: 260px;
}

.case-hero__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.case-hero__circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    background: #fff;
}

.case-hero__circle--1 {
    width: 400px;
    height: 400px;
    top: -120px;
    right: -80px;
    animation: heroFloat1 8s ease-in-out infinite;
}

.case-hero__circle--2 {
    width: 250px;
    height: 250px;
    bottom: -60px;
    left: -40px;
    opacity: 0.05;
    animation: heroFloat2 10s ease-in-out infinite;
}

.case-hero__circle--3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 55%;
    opacity: 0.06;
    animation: heroFloat3 6s ease-in-out infinite;
}

.case-hero__grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size: 24px 24px;
    animation: heroGridShift 20s linear infinite;
}

@keyframes heroFloat1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-30px,20px) scale(1.08)} }
@keyframes heroFloat2 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(20px,-25px) scale(1.12)} }
@keyframes heroFloat3 { 0%,100%{transform:translate(0,0)} 33%{transform:translate(15px,-10px)} 66%{transform:translate(-10px,15px)} }
@keyframes heroGridShift { 0%{background-position:0 0} 100%{background-position:24px 24px} }

.case-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 40px;
    align-items: center;
}

.case-hero__left { flex: 1; }

.case-hero__tag {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(4px);
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    margin-bottom: 18px;
    border: 1px solid rgba(255,255,255,0.1);
    animation: heroFadeUp 0.6s ease both;
}

.case-hero__title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin: 0 0 16px;
    animation: heroFadeUp 0.6s ease 0.1s both;
}

.case-hero__client {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    margin: 0;
    animation: heroFadeUp 0.6s ease 0.2s both;
}

.case-hero__client svg { flex-shrink: 0; opacity: 0.5; }

.case-hero__right {
    flex-shrink: 0;
    animation: heroFadeUp 0.6s ease 0.3s both;
}

.case-hero__result {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 32px 36px;
    text-align: center;
    min-width: 220px;
}

.case-hero__result-value {
    display: block;
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.case-hero__result-text {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    line-height: 1.4;
    max-width: 200px;
    margin: 0 auto;
}

@keyframes heroFadeUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }

/* =====================
   TWO-COLUMN LAYOUT
   ===================== */
.case-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

.case-layout__main {
    min-width: 0;
}

.case-layout__sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 100px;
}

/* =====================
   STEPS — timeline
   ===================== */
.case-steps {
    display: flex;
    flex-direction: column;
    margin-bottom: 32px;
}

.case-step {
    display: flex;
    gap: 20px;
    position: relative;
}

.case-step__marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 44px;
}

.case-step__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.case-step--blue .case-step__icon { background: #EBF1FF; color: #1962FF; }
.case-step--orange .case-step__icon { background: #FFF3E0; color: #E08A00; }
.case-step--green .case-step__icon { background: #E8F5E9; color: #2E7D32; }

.case-step__line {
    width: 2px;
    flex: 1;
    background: #E8EAF0;
    min-height: 24px;
}

.case-step--blue .case-step__line { background: linear-gradient(180deg, #BFD3FF, #E8EAF0); }
.case-step--orange .case-step__line { background: linear-gradient(180deg, #FFE0B2, #E8EAF0); }
.case-step--green .case-step__line { background: linear-gradient(180deg, #C8E6C9, #E8EAF0); }

.case-step__body {
    flex: 1;
    padding-bottom: 32px;
}

.case-step:last-child .case-step__body { padding-bottom: 0; }

.case-step__title {
    font-size: 20px;
    font-weight: 600;
    color: #323439;
    margin: 0 0 12px;
    line-height: 1.3;
    padding-top: 8px;
}

.case-step__content {
    font-size: 15px;
    color: #4A4F5C;
    line-height: 1.7;
}

.case-step__content p { margin: 0 0 10px; }
.case-step__content p:last-child { margin-bottom: 0; }
.case-step__content ul, .case-step__content ol { padding-left: 20px; margin: 8px 0; }
.case-step__content li { margin-bottom: 8px; line-height: 1.6; }
.case-step__content li:last-child { margin-bottom: 0; }
.case-step__content strong { color: #323439; font-weight: 600; }

/* =====================
   AFTER TEXT
   ===================== */
.case-after {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #F0FAF0;
    border: 1px solid #C8E6C9;
    border-radius: 14px;
    padding: 24px 28px;
    margin-bottom: 32px;
}

.case-after__icon { color: #2E7D32; flex-shrink: 0; margin-top: 2px; }

.case-after__text { font-size: 15px; color: #2E5A2E; line-height: 1.6; }
.case-after__text p { margin: 0; }

/* =====================
   CTA
   ===================== */
.case-cta { margin-bottom: 0; }

.case-cta__inner {
    background: #F4F6FB;
    border-radius: 16px;
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.case-cta__text h3 { font-size: 22px; font-weight: 700; color: #323439; margin: 0 0 8px; }
.case-cta__text p { font-size: 15px; color: #7C859C; margin: 0; line-height: 1.5; }

.case-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #1962FF;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}

.case-cta__btn:hover {
    background: #0D47D4;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(25, 98, 255, 0.25);
}

.case-cta__btn svg { transition: transform 0.25s; }
.case-cta__btn:hover svg { transform: translateX(3px); }

/* =====================
   SIDEBAR
   ===================== */
.case-sidebar__block {
    background: #fff;
    border: 1px solid #E8EAF0;
    border-radius: 16px;
    padding: 24px;
}

.case-sidebar__block-title {
    font-size: 15px;
    font-weight: 600;
    color: #323439;
    margin-bottom: 14px;
}

/* -- Form -- */
.case-sidebar__form {
    background: linear-gradient(135deg, #F8FAFF 0%, #F4F6FB 100%);
    border-color: #D8DFF0;
}

.case-sidebar__form-title {
    font-size: 17px;
    font-weight: 700;
    color: #323439;
    margin-bottom: 4px;
}

.case-sidebar__form-desc {
    font-size: 14px;
    color: #7C859C;
    margin: 0 0 16px;
    line-height: 1.4;
}

.case-sidebar__form-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.case-sidebar__form-inner input[type="text"],
.case-sidebar__form-inner input[type="tel"] {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #D8DFF0;
    border-radius: 10px;
    font-size: 14px;
    color: #323439;
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.case-sidebar__form-inner input:focus {
    border-color: #1962FF;
}

.case-sidebar__form-btn {
    width: 100%;
    padding: 12px;
    background: #1962FF;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s;
    margin-top: 4px;
}

.case-sidebar__form-btn:hover {
    background: #0D47D4;
}

.case-sidebar__form-policy {
    font-size: 12px;
    color: #9EA0B8;
    margin: 8px 0 0;
    line-height: 1.35;
}

.case-sidebar__form-policy a {
    color: #9EA0B8;
    text-decoration: underline;
}

/* -- Services -- */
.case-sidebar__services {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.case-sidebar__service {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #F4F6FB;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s;
}

.case-sidebar__service:hover {
    background: #EBF1FF;
}

.case-sidebar__service-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: #feaa2a;
    color: #663f38;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}

.case-sidebar__service-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.case-sidebar__service-name {
    font-size: 14px;
    font-weight: 600;
    color: #323439;
    line-height: 1.3;
}

.case-sidebar__service-desc {
    font-size: 12px;
    color: #7C859C;
    line-height: 1.3;
}

/* -- Author -- */
.case-sidebar__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.case-sidebar__author-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.case-sidebar__author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1962FF;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    flex-shrink: 0;
}

.case-sidebar__author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.case-sidebar__author-name {
    font-size: 15px;
    font-weight: 600;
    color: #323439;
    line-height: 1.3;
}

.case-sidebar__author-role {
    font-size: 13px;
    color: #7C859C;
    line-height: 1.3;
}

/* -- Other cases -- */
.case-sidebar__cases {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.case-sidebar__case {
    display: block;
    padding: 14px;
    background: #F4F6FB;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s;
}

.case-sidebar__case:hover {
    background: #EBF1FF;
}

.case-sidebar__case-result {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #1962FF;
    line-height: 1.2;
    margin-bottom: 4px;
}

.case-sidebar__case-name {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #323439;
    line-height: 1.35;
    margin-bottom: 4px;
}

.case-sidebar__case-tag {
    display: inline-block;
    font-size: 12px;
    color: #7C859C;
}

/* =====================
   NAVIGATION — full width
   ===================== */
.case-nav {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-top: 32px;
    margin-top: 40px;
    border-top: 1px solid #E8EAF0;
}

.case-nav__link {
    text-decoration: none;
    color: inherit;
    max-width: 320px;
    transition: color 0.2s;
}

.case-nav__link:hover { color: #1962FF; }
.case-nav__link--next { text-align: right; }

.case-nav__dir {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #7C859C;
    margin-bottom: 4px;
}

.case-nav__link--next .case-nav__dir { justify-content: flex-end; }

.case-nav__name {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: #323439;
    line-height: 1.4;
    transition: color 0.2s;
}

.case-nav__link:hover .case-nav__name { color: #1962FF; }

.case-nav__all {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #1962FF;
    text-decoration: none;
    border: 1px solid #1962FF;
    border-radius: 10px;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}

.case-nav__all:hover { background: #1962FF; color: #fff; }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 960px) {
    .case-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .case-layout__sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .case-sidebar__form {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .case-detail {
        padding: 24px 16px 60px;
    }

    .case-hero {
        padding: 32px 24px;
        border-radius: 16px;
    }

    .case-hero__content {
        flex-direction: column;
        gap: 24px;
    }

    .case-hero__title { font-size: 24px; }

    .case-hero__result {
        min-width: unset;
        width: 100%;
        padding: 24px;
    }

    .case-hero__result-value { font-size: 32px; }

    .case-step { gap: 14px; }
    .case-step__marker { width: 36px; }

    .case-step__icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .case-step__icon svg { width: 18px; height: 18px; }
    .case-step__title { font-size: 18px; padding-top: 5px; }
    .case-step__content { font-size: 14px; }

    .case-cta__inner {
        flex-direction: column;
        padding: 28px 24px;
        text-align: center;
    }

    .case-cta__text h3 { font-size: 20px; }

    .case-layout__sidebar {
        grid-template-columns: 1fr;
    }

    .case-nav {
        flex-direction: column;
        align-items: center;
    }

    .case-nav__link,
    .case-nav__link--next {
        max-width: 100%;
        text-align: center;
    }

    .case-nav__dir,
    .case-nav__link--next .case-nav__dir {
        justify-content: center;
    }
}

/* End */
/* /local/components/itlion/cases.detail/templates/.default/style.css?178017894915257 */
