/* ===== NAV ===== */
.cv-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: #0F172A;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.cv-nav-logo {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.02em;
    font-family: 'Inter', sans-serif;
}

.cv-nav-logo:hover {
    color: #93C5FD;
}

.cv-page {
    padding-top: 56px;
}

/* ===== HERO ===== */
.cv-hero {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 100%);
    padding: 3rem 1.5rem;
}

.cv-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    max-width: 960px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .cv-hero-inner {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        flex-wrap: wrap;
    }
}

.cv-hero-identity {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex: 1;
    min-width: 280px;
}

.cv-hero-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    border: 3px solid #93C5FD;
}

.cv-hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cv-hero-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: flex-start;
}

.cv-contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 20px;
    padding: 6px 12px;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 0.82rem;
    transition: background 0.15s, border-color 0.15s;
}

.cv-contact-chip:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.35);
    color: white;
    text-decoration: none;
}

.cv-contact-chip-static {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 6px 12px;
    color: rgba(255,255,255,0.7);
    font-size: 0.82rem;
}

.cv-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

/* ===== BODY ===== */
.cv-body {
    background: #F8FAFC;
    min-height: 50vh;
}

.cv-section {
    padding: 2.25rem 0;
    border-bottom: 1px solid #E5E7EB;
}

.cv-section:last-child {
    border-bottom: none;
}

.cv-section-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #E5E7EB;
}

/* ===== EXPERIENCE ===== */
.cv-timeline-card {
    border-left: 4px solid #1E3A5F !important;
    margin-bottom: 1.25rem;
}

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

/* ===== SKILLS / CHIPS ===== */
.cv-chips-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* ===== EDUCATION ===== */
.cv-education-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cv-education-item:last-child {
    margin-bottom: 0;
}

.cv-education-logo {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 8px;
    background: #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== LANGUAGES ===== */
.cv-lang-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* ===== TWO-COLUMN LAYOUT ===== */
.cv-layout-grid {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 960px) {
    .cv-layout-grid {
        grid-template-columns: 1fr 300px;
        gap: 0 2rem;
        align-items: start;
    }
}

.cv-sidebar .cv-section {
    padding: 1.5rem 0;
}

.cv-sidebar .cv-section-header {
    margin-bottom: 1rem;
}

/* ===== FOOTER ===== */
.cv-footer {
    background: #0F172A;
    padding: 1.25rem 1.5rem;
    text-align: center;
}

/* ===== PRINT ===== */
@media print {
    .cv-nav,
    .cv-actions {
        display: none !important;
    }

    .cv-page {
        padding-top: 0 !important;
    }

    .cv-hero {
        background: #0F172A !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .cv-body {
        background: white !important;
    }

    .cv-timeline-card {
        page-break-inside: avoid;
        break-inside: avoid;
    }

    .cv-section {
        page-break-inside: avoid;
        break-inside: avoid;
    }

    @page {
        margin: 1.5cm;
    }
}
