/* Черновые работы — приёмка и контроль качества */
/* Префикс: kr- */

.ch-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--surface-deep);
    overflow: hidden;
}

.ch-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(var(--accent-gold-rgb), 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.ch-hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.ch-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(var(--accent-gold-rgb), 0.12);
    border: 1px solid rgba(var(--accent-gold-rgb), 0.25);
    border-radius: 24px;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 24px;
}

.ch-hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-on-deep);
}

.ch-hero-sub {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(var(--text-on-deep-rgb, 240,232,223), 0.7);
    margin-bottom: 32px;
    line-height: 1.6;
}

.ch-hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.ch-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.ch-stat {
    text-align: center;
    padding: 32px 24px;
    background: var(--surface-elevated);
    border: 1px solid rgba(var(--accent-gold-rgb), 0.2);
    border-radius: var(--radius-card);
    box-shadow: 0 2px 8px rgba(var(--shadow-color-rgb), 0.08);
    transition: transform var(--transition-base) ease, box-shadow var(--transition-base) ease, border-color var(--transition-base) ease;
}

.ch-stat:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--accent-gold-rgb), 0.4);
    box-shadow: 0 12px 32px rgba(var(--shadow-color-rgb), 0.25), 0 0 20px rgba(var(--accent-gold-rgb), 0.15);
}

.ch-stat-val {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 8px;
}

.ch-stat-label {
    font-size: var(--text-base);
    color: var(--text-muted);
    line-height: 1.4;
}

.ch-checklist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.ch-checklist-group {
    background: var(--surface-elevated);
    padding: 32px;
    border-radius: var(--radius-card);
    border: 1px solid rgba(var(--text-body-rgb), 0.08);
    box-shadow: 0 2px 8px rgba(var(--shadow-color-rgb), 0.08);
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-base) ease, box-shadow var(--transition-base) ease, border-color var(--transition-base) ease;
}

.ch-checklist-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-light) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base) ease;
}

.ch-checklist-group:hover::before {
    transform: scaleX(1);
}

.ch-checklist-group:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--accent-gold-rgb), 0.3);
    box-shadow: 0 12px 32px rgba(var(--shadow-color-rgb), 0.25), 0 0 20px rgba(var(--accent-gold-rgb), 0.1);
}

.ch-checklist-group h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-body);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--accent-gold);
}

.ch-checklist-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ch-checklist-group li {
    padding: 12px 0 12px 32px;
    position: relative;
    color: var(--text-body);
    line-height: 1.5;
    border-bottom: 1px solid rgba(var(--text-body-rgb), 0.06);
}

.ch-checklist-group li:last-child {
    border-bottom: none;
}

.ch-checklist-group li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 18px;
}

.ch-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.ch-step {
    background: var(--surface-elevated);
    padding: 32px;
    border-radius: var(--radius-card);
    border: 1px solid rgba(var(--text-body-rgb), 0.08);
    box-shadow: 0 2px 8px rgba(var(--shadow-color-rgb), 0.08);
    position: relative;
    transition: transform var(--transition-base) ease, box-shadow var(--transition-base) ease;
}

.ch-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(var(--shadow-color-rgb), 0.15);
}

.ch-step-num {
    position: absolute;
    top: -20px;
    left: 24px;
    width: 48px;
    height: 48px;
    background: var(--accent-gold);
    color: var(--text-on-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(var(--accent-gold-rgb), 0.4);
}

.ch-step h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-body);
    margin: 16px 0 12px;
}

.ch-step p {
    font-size: var(--text-base);
    color: var(--text-muted);
    line-height: 1.6;
}

.ch-pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.ch-price-card {
    background: var(--surface-elevated);
    padding: 40px 32px;
    border-radius: var(--radius-card);
    border: 1px solid rgba(var(--text-body-rgb), 0.08);
    box-shadow: 0 2px 8px rgba(var(--shadow-color-rgb), 0.08);
    text-align: center;
    transition: transform var(--transition-base) ease, box-shadow var(--transition-base) ease, border-color var(--transition-base) ease;
}

.ch-price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(var(--shadow-color-rgb), 0.15);
}

.ch-price-card--primary {
    border-color: var(--accent-gold);
    border-width: 2px;
    box-shadow: 0 4px 16px rgba(var(--accent-gold-rgb), 0.15);
}

.ch-price-card--primary:hover {
    box-shadow: 0 12px 32px rgba(var(--accent-gold-rgb), 0.25), 0 0 20px rgba(var(--accent-gold-rgb), 0.1);
}

.ch-price-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-body);
    margin-bottom: 16px;
}

.ch-price-val {
    font-size: 40px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 8px;
}

.ch-price-note {
    font-size: var(--text-base);
    color: var(--text-muted);
    margin-bottom: 24px;
}

.ch-price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    text-align: left;
}

.ch-price-features li {
    padding: 8px 0 8px 28px;
    position: relative;
    color: var(--text-body);
    line-height: 1.5;
}

.ch-price-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: 700;
}

.ch-case {
    background: var(--surface-elevated);
    padding: 40px;
    border-radius: var(--radius-card);
    border-left: 4px solid var(--accent-gold);
    box-shadow: 0 4px 16px rgba(var(--shadow-color-rgb), 0.1);
    transition: transform var(--transition-base) ease, box-shadow var(--transition-base) ease;
}

.ch-case:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(var(--shadow-color-rgb), 0.2);
}

.ch-case h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-body);
    margin-bottom: 16px;
}

.ch-case-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 24px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(var(--text-body-rgb), 0.1);
}

.ch-case-metric {
    text-align: center;
}

.ch-case-metric-val {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 4px;
}

.ch-case-metric-label {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.ch-faq {
    margin-top: 32px;
}

.ch-faq-item {
    background: var(--surface-elevated);
    margin-bottom: 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(var(--text-body-rgb), 0.08);
    overflow: hidden;
    transition: border-color var(--transition-base) ease;
}

.ch-faq-item[open] {
    border-color: var(--accent-gold);
}

.ch-faq-q {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-body);
    list-style: none;
}

.ch-faq-q::-webkit-details-marker {
    display: none;
}

.ch-faq-q::after {
    content: '+';
    font-size: 24px;
    color: var(--accent-gold);
    font-weight: 300;
    transition: transform 0.3s ease;
}

.ch-faq-item[open] .ch-faq-q::after {
    content: '−';
}

.ch-faq-a {
    padding: 0 24px 20px;
    font-size: var(--text-base);
    color: var(--text-muted);
    line-height: 1.6;
}

.ch-final {
    text-align: center;
    padding: 80px 0;
    background: var(--surface-deep);
}

.ch-final h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--text-on-deep);
    margin-bottom: 16px;
}

.ch-final p {
    font-size: var(--text-lg);
    color: rgba(var(--text-on-deep-rgb, 240,232,223), 0.7);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.ch-final-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
    max-width: 800px;
    margin: 0 auto 40px;
}

.ch-final-step {
    text-align: center;
}

.ch-final-step-num {
    width: 48px;
    height: 48px;
    background: var(--accent-gold);
    color: var(--text-on-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 12px;
    box-shadow: 0 4px 16px rgba(var(--accent-gold-rgb), 0.4);
}

.ch-final-step p {
    font-size: var(--text-base);
    color: rgba(var(--text-on-deep-rgb, 240,232,223), 0.7);
    margin: 0;
}

.ch-final-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
    .ch-hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .ch-stats,
    .ch-checklist,
    .ch-process,
    .ch-pricing {
        grid-template-columns: 1fr;
    }

    .ch-final-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .ch-hero {
        padding: 80px 0 48px;
    }

    .ch-final-steps {
        grid-template-columns: 1fr;
    }

    .ch-final-btns {
        flex-direction: column;
    }

    .ch-final-btns .btn {
        width: 100%;
        justify-content: center;
    }
}
