.cv-section {
    padding: 88px 0 20px;
    background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}

.cv-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.4fr);
    gap: 26px;
    align-items: start;
}

.cv-side,
.cv-main {
    display: grid;
    gap: 18px;
}

.cv-profile,
.cv-box,
.cv-block {
    background: var(--bg);
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

    .cv-profile:hover,
    .cv-box:hover,
    .cv-block:hover {
        transform: translateY(-5px);
        border-color: var(--rose);
        box-shadow: var(--shadow);
    }

.cv-profile {
    padding: 28px;
    text-align: center;
}

.cv-avatar {
    width: 126px;
    height: 126px;
    display: block;
    margin: 0 auto 18px;
    border-radius: 50%;
    border: 2px solid var(--border);
    object-fit: cover;
    object-position: center 24%;
    background: var(--taupe);
}

.cv-profile h2 {
    font-size: 1.35rem;
    line-height: 1.1;
    font-weight: 1000;
}

.cv-profile p {
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 0.94rem;
}

.cv-box {
    padding: 24px;
}

    .cv-box h3,
    .cv-block h2 {
        display: flex;
        align-items: center;
        gap: 10px;
        color: var(--dark);
        font-size: 1rem;
        font-weight: 1000;
        text-transform: uppercase;
    }

    .cv-box i,
    .cv-block i {
        color: var(--rose);
    }

    .cv-box ul {
        margin-top: 14px;
        padding-left: 18px;
        color: var(--text-muted);
        font-size: 0.92rem;
    }

.cv-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

    .cv-tags span {
        padding: 0.35rem 0.7rem;
        border: 1px solid var(--border);
        border-radius: 999px;
        font-size: 0.76rem;
        font-weight: 900;
    }

.cv-block {
    padding: 28px;
}

    .cv-block article {
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid var(--border);
    }

    .cv-block article:first-of-type {
        margin-top: 18px;
    }

    .cv-block article span {
        display: inline-flex;
        margin-bottom: 8px;
        padding: 0.35rem 0.75rem;
        border-radius: 999px;
        background: var(--rose-soft);
        color: var(--text-on-light);
        font-size: 0.76rem;
        font-weight: 900;
    }

    .cv-block h3 {
        margin-bottom: 8px;
        font-size: 1.2rem;
        line-height: 1.1;
        font-weight: 1000;
    }

    .cv-block p {
        color: var(--text-muted);
        font-size: 0.96rem;
    }

@media (max-width: 860px) {
    .cv-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .cv-section {
        padding-top: 64px;
    }

    .cv-profile,
    .cv-box,
    .cv-block {
        padding: 22px;
    }
}
