.left_block { display: none; }
.container ul > li:before { content: unset; }
.container ul > li { margin: 0; }

.timeline-layout {
    background: white;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.timeline-layout .h2 {
    color: #1a365d;
    font-size: 32px;
    margin: 0 0 40px 0;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1.3;
}

.timeline-layout .h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #4299e1, #365edc);
    border-radius: 2px;
}

.timeline-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    line-height: 1.2;
}

.timeline-header h1:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #4299e1, #365edc);
    border-radius: 2px;
}

/* Временная шкала - десктоп */
.timeline-container {
    position: relative;
    margin: 50px 0;
}

.timeline-container:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #4299e1, #365edc, #4299e1);
    border-radius: 3px;
}

.timeline-step {
    position: relative;
    padding-left: 60px;
    margin-bottom: 60px;
}

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

.timeline-dot {
    position: absolute;
    left: 15px;
    top: 30px;
    width: 24px;
    height: 24px;
    background: white;
    border: 5px solid #4299e1;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 4px white, 0 0 0 6px #4299e1;
}

.timeline-content {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 35px rgba(66, 153, 225, 0.1);
    border-color: #cbd5e0;
}

.timeline-content:before {
    content: '';
    position: absolute;
    left: -12px;
    top: 30px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-right: 12px solid #e2e8f0;
}

.timeline-content:after {
    content: '';
    position: absolute;
    left: -10px;
    top: 30px;
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-right: 12px solid white;
}

.timeline-content h2 {
    color: #1a365d;
    font-size: 24px;
    margin: 0 0 20px 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.timeline-content h2:before {
    content: '';
    min-width: 40px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4299e1, #365edc);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: bold;
    flex-shrink: 0;
}

.timeline-step:nth-child(1) .timeline-content h2:before { content: '1'; }
.timeline-step:nth-child(2) .timeline-content h2:before { content: '2'; }
.timeline-step:nth-child(3) .timeline-content h2:before { content: '3'; }
.timeline-step:nth-child(4) .timeline-content h2:before { content: '4'; }

.timeline-content p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 16px;
}

.timeline-content ul {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.timeline-content li {
    padding: 10px 0;
    color: #4a5568;
    position: relative;
    padding-left: 28px;
    border-bottom: 1px dashed #e2e8f0;
    line-height: 1.5;
}

.timeline-content li:last-child {
    border-bottom: none;
}

.timeline-content li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #38a169;
    font-weight: bold;
    background: #f0fff4;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

/* Условия секции */
.conditions-section {
    background: white;
    position: relative;
    overflow: hidden;
}

.conditions-section h2 {
    color: #1a365d;
    font-size: 32px;
    margin: 0 0 40px 0;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1.3;
}

.conditions-section h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #4299e1, #365edc);
    border-radius: 2px;
}

.conditions-section h3 {
    color: #2d3748;
    font-size: 22px;
    margin: 30px 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
}

.highlight-box {
    background: linear-gradient(135deg, #f7fafc 0%, #ebf8ff 100%);
    border: 2px solid #bee3f8;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
}

.highlight-box ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.highlight-box li {
    padding: 12px 0;
    color: #2d3748;
    border-bottom: 1px solid #e2e8f0;
    font-size: 16px;
    line-height: 1.5;
}

.highlight-box li:last-child {
    border-bottom: none;
}

.highlight-box li b {
    color: #1a365d;
}

/* Доставка */
.delivery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.delivery-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.delivery-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #365edc, #4299e1);
}

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

.delivery-card h3 {
    color: #1a365d;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
}

.delivery-card h4 {
    color: #2d3748;
    margin: 20px 0 10px;
    font-size: 18px;
    line-height: 1.4;
}

.delivery-card ul {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

.delivery-card li {
    padding: 8px 0;
    color: #4a5568;
    position: relative;
    padding-left: 24px;
    line-height: 1.5;
}

.delivery-card li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #4299e1;
    font-weight: bold;
}

.delivery-card .highlight {
    background: #f0fff4;
    padding: 12px 15px;
    border-radius: 8px;
    margin: 10px 0;
    border-left: 3px solid #38a169;
    line-height: 1.5;
}

/* Примечание */
.timeline-note {
    margin-top: 60px;
    padding: 30px;
    background: linear-gradient(135deg, #ebf8ff 0%, #bee3f8 100%);
    border-radius: 16px;
    border-left: 5px solid #4299e1;
    position: relative;
    overflow: hidden;
}

.timeline-note:before {
    content: 'ℹ️';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 60px;
    opacity: 0.2;
}

.timeline-note h3 {
    color: #365edc;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
    line-height: 1.4;
}

.timeline-note p {
    color: #2c5282;
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .timeline-header h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .timeline-header h1 {
        font-size: 32px;
    }

    /* Временная шкала для планшетов */
    .timeline-container {
        margin: 40px 0;
    }

    .timeline-step {
        padding-left: 50px;
        margin-bottom: 40px;
    }

    .timeline-dot {
        width: 20px;
        height: 20px;
        border-width: 4px;
    }

    .timeline-content {
        padding: 25px;
    }

    .timeline-content h2 {
        font-size: 22px;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .timeline-content h2:before {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .timeline-content:before,
    .timeline-content:after {
        display: none;
    }

    .timeline-content:hover {
        transform: none;
    }

    .conditions-section h2,
    .timeline-layout .h2 {
        font-size: 28px;
        margin-bottom: 30px;
        width: 100%;
        text-align: center;
        left: 0;
        transform: none;
    }

    .conditions-section h3 {
        font-size: 20px;
    }

    .highlight-box {
        padding: 20px;
    }

    /* Доставка для планшетов */
    .delivery-grid {
        gap: 25px;
    }

    .delivery-card {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .timeline-header {
        margin-bottom: 40px;
    }

    .timeline-header h1 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    /* Временная шкала для телефонов */
    .timeline-container {
        margin: 30px 0;
    }

    .timeline-step {
        padding-left: 40px;
        margin-bottom: 30px;
    }

    .timeline-dot {
        left: 10px;
        width: 16px;
        height: 16px;
        border-width: 3px;
        box-shadow: 0 0 0 3px white, 0 0 0 5px #4299e1;
    }

    .timeline-content {
        padding: 20px;
        border-radius: 12px;
    }

    .timeline-content h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .timeline-content h2:before {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .timeline-content p {
        font-size: 15px;
        line-height: 1.6;
    }

    .timeline-content ul {
        margin: 15px 0;
    }

    .timeline-content li {
        padding: 8px 0;
        padding-left: 24px;
        font-size: 15px;
    }

    .timeline-content li:before {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }

    .conditions-section h2,
    .timeline-layout .h2 {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .conditions-section h2:after {
        width: 80px;
    }

    .conditions-section h3 {
        font-size: 18px;
        margin: 25px 0 15px;
        flex-wrap: wrap;
    }

    .highlight-box {
        padding: 18px;
        margin: 20px 0;
    }

    .highlight-box li {
        padding: 10px 0;
        font-size: 15px;
    }

    .conditions-section ul li {
        padding-left: 22px;
        font-size: 15px;
    }

    /* Доставка для телефонов */
    .delivery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }

    .delivery-card {
        padding: 20px;
        border-radius: 14px;
    }

    .delivery-card h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .delivery-card h4 {
        font-size: 16px;
        margin: 15px 0 8px;
    }

    .delivery-card ul {
        margin: 12px 0;
    }

    .delivery-card li {
        padding: 7px 0;
        padding-left: 22px;
        font-size: 15px;
    }

    .delivery-card .highlight {
        padding: 10px 12px;
        font-size: 14px;
    }

    /* Примечание для телефонов */
    .timeline-note {
        margin-top: 40px;
        padding: 20px;
        border-radius: 14px;
    }

    .timeline-note:before {
        font-size: 40px;
        right: 15px;
    }

    .timeline-note h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .timeline-note p {
        font-size: 15px;
        line-height: 1.5;
    }
}

@media (max-width: 375px) {
    .timeline-header h1 {
        font-size: 26px;
    }

    .timeline-step {
        padding-left: 35px;
    }

    .timeline-content {
        padding: 18px;
    }

    .timeline-content h2 {
        font-size: 18px;
    }

    .conditions-section h2,
    .timeline-layout .h2 {
        font-size: 22px;
    }

    .delivery-card {
        padding: 18px;
    }

    .timeline-note:before {
        display: none;
    }
}

/* Отключение hover эффектов на touch устройствах */
@media (hover: none) and (pointer: coarse) {
    .timeline-content:hover,
    .delivery-card:hover {
        transform: none;
    }
}

/* Портретная ориентация для мобильных */
@media (max-height: 600px) and (orientation: portrait) {
    .timeline-header {
        margin-bottom: 30px;
    }

    .timeline-step {
        margin-bottom: 25px;
    }
}

/* Ландшафтная ориентация для мобильных */
@media (max-height: 500px) and (orientation: landscape) {
    .timeline-header h1 {
        font-size: 28px;
    }

    .timeline-step {
        margin-bottom: 25px;
    }

    .timeline-content {
        padding: 20px;
    }
}