/* ============================================================
   CV FORMAT PAGE
   ============================================================ */

/* ============================================================
   HERO
   ============================================================ */
.cvf-hero {
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    padding: 52px 20px 44px;
}

.cvf-hero-inner {
    max-width: 1320px;
    margin: 0 auto;
}

.cvf-hero-inner--split {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 60px;
    align-items: center;
}

.cvf-hero-image {
    width: 100%;
}

.cvf-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

@media (max-width: 991px) {
    .cvf-hero-inner--split {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cvf-hero-image {
        max-width: 520px;
        margin: 0 auto;
    }
}

.cvf-hero-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.cvf-hero-intro {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin: 0;
}


/* ============================================================
   CONTENT SECTIONS
   ============================================================ */
.cvf-section {
    padding: 52px 20px;
}

.cvf-section:nth-child(even) {
    background: var(--white);
}

.cvf-section:nth-child(odd) {
    background: var(--light-gray);
}

.cvf-section-inner {
    max-width: 1320px;
    margin: 0 auto;
}

.cvf-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.cvf-section-body {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.cvf-section-body p {
    margin-bottom: 14px;
}

.cvf-section-body p:last-child {
    margin-bottom: 0;
}

.cvf-section-body ul,
.cvf-section-body ol {
    padding-left: 1.4rem;
    margin-bottom: 14px;
}

.cvf-section-body li {
    margin-bottom: 6px;
}

.cvf-section-body h2,
.cvf-section-body h3,
.cvf-section-body h4 {
    font-weight: 700;
    color: var(--dark);
    margin: 20px 0 10px;
    line-height: 1.3;
}

.cvf-section-body h2 { font-size: 1.25rem; }
.cvf-section-body h3 { font-size: 1.1rem; }
.cvf-section-body h4 { font-size: 1rem; }

.cvf-section-body a {
    color: var(--brand-blue);
    text-decoration: none;
}

.cvf-section-body a:hover {
    text-decoration: underline;
}

.cvf-section-body strong {
    color: var(--dark);
    font-weight: 600;
}

.cvf-section-body table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 14px;
    font-size: 0.9rem;
}

.cvf-section-body th,
.cvf-section-body td {
    padding: 10px 14px;
    border: 1px solid var(--border-light);
    text-align: left;
}

.cvf-section-body th {
    background: var(--light-gray);
    font-weight: 600;
    color: var(--dark);
}


/* ============================================================
   FAQ — Accordion
   ============================================================ */
.cvf-faq {
    background: var(--light-gray);
    padding: 52px 20px;
}

.cvf-faq-inner {
    max-width: 1320px;
    margin: 0 auto;
}

.cvf-faq-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 28px;
    line-height: 1.3;
}

/* Accordion container */
.cvf-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Each item */
.cvf-accordion-item {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.18s;
}

.cvf-accordion-item[open] {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
    border-color: var(--brand-blue);
}

/* Question row (summary) */
.cvf-accordion-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    cursor: pointer;
    list-style: none;
    user-select: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.4;
    transition: color 0.15s;
}

.cvf-accordion-q::-webkit-details-marker {
    display: none;
}

.cvf-accordion-item[open] .cvf-accordion-q {
    color: var(--brand-blue);
    border-bottom: 1px solid var(--border-light);
}

.cvf-accordion-q:hover {
    color: var(--brand-blue);
}

/* +/− icon */
.cvf-accordion-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--light-gray);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    transition: background 0.15s, border-color 0.15s;
}

.cvf-accordion-icon::before,
.cvf-accordion-icon::after {
    content: '';
    position: absolute;
    background: var(--dark);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s, background 0.15s;
}

.cvf-accordion-icon::before {
    width: 10px;
    height: 2px;
}

.cvf-accordion-icon::after {
    width: 2px;
    height: 10px;
}

.cvf-accordion-item[open] .cvf-accordion-icon {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
}

.cvf-accordion-item[open] .cvf-accordion-icon::before,
.cvf-accordion-item[open] .cvf-accordion-icon::after {
    background: var(--white);
}

.cvf-accordion-item[open] .cvf-accordion-icon::after {
    opacity: 0;
    transform: rotate(90deg);
}

/* Answer */
.cvf-accordion-a {
    padding: 18px 22px;
}

.cvf-accordion-a p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin: 0;
}


/* ============================================================
   CTA
   ============================================================ */
.cvf-cta {
    background: var(--white);
    border-top: 1px solid var(--border-light);
    padding: 60px 20px;
}

.cvf-cta-inner {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.cvf-cta-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
    line-height: 1.4;
}

.cvf-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--brand-blue);
    color: var(--white);
    font-size: 0.925rem;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 7px;
    transition: opacity 0.15s;
}

.cvf-cta-btn:hover {
    opacity: 0.88;
}

.cvf-cta-btn i {
    font-size: 0.8rem;
}


/* ============================================================
   CONTENT COMPONENTS (used inside .cvf-section-body)
   ============================================================ */

/* 1. Badges */
.cvf-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.4;
}

.cvf-badge--blue {
    background: var(--brand-blue);
    color: var(--white);
}

.cvf-badge--green {
    background: #16a34a;
    color: var(--white);
}

.cvf-badge--amber {
    background: var(--brand-yellow);
    color: var(--dark);
}

.cvf-badge--purple {
    background: #7c3aed;
    color: var(--white);
}


/* 2. Highlight box */
.cvf-highlight-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 18px 20px;
    margin: 16px 0;
    font-size: 0.9rem;
    color: var(--dark);
    line-height: 1.75;
}

.cvf-highlight-box p:last-child {
    margin-bottom: 0;
}


/* 3. Warning box */
.cvf-warning-box {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    padding: 18px 20px;
    margin: 16px 0;
    font-size: 0.9rem;
    color: var(--dark);
    line-height: 1.75;
}

.cvf-warning-box p:last-child {
    margin-bottom: 0;
}


/* 4. Do / Don't grid */
.cvf-do-dont {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 16px 0;
}

.cvf-do,
.cvf-dont {
    border-radius: 8px;
    padding: 18px 20px;
    font-size: 0.875rem;
    line-height: 1.75;
}

.cvf-do {
    background: #f0fdf4;
    border: 1px solid #86efac;
}

.cvf-do::before {
    content: '✓ Do';
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #16a34a;
    margin-bottom: 10px;
}

.cvf-dont {
    background: #fef2f2;
    border: 1px solid #fca5a5;
}

.cvf-dont::before {
    content: '✗ Don\'t';
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #dc2626;
    margin-bottom: 10px;
}

.cvf-do p,
.cvf-dont p,
.cvf-do ul,
.cvf-dont ul {
    margin-bottom: 8px;
    color: var(--dark);
}

.cvf-do p:last-child,
.cvf-dont p:last-child {
    margin-bottom: 0;
}


/* 5. Table */
.cvf-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 0.875rem;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
}

.cvf-table thead tr {
    background: var(--brand-blue);
    color: var(--white);
}

.cvf-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cvf-table td {
    padding: 11px 16px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
    line-height: 1.6;
}

.cvf-table tbody tr:last-child td {
    border-bottom: none;
}

.cvf-table tbody tr:nth-child(even) {
    background: var(--light-gray);
}

.cvf-table tbody tr:hover {
    background: #eff6ff;
}


/* 6. Steps */
.cvf-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 16px 0;
}

.cvf-step {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: var(--light-gray);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 20px;
}

.cvf-step-num {
    width: 40px;
    height: 40px;
    background: var(--brand-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    flex-shrink: 0;
}

.cvf-step-content {
    flex: 1;
    min-width: 0;
}

.cvf-step-content h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 6px;
    line-height: 1.3;
}

.cvf-step-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}


/* 7. Stats */
.cvf-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 16px 0;
}

.cvf-stat {
    flex: 1;
    min-width: 140px;
    background: var(--light-gray);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 20px 16px;
    text-align: center;
}

.cvf-stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--brand-blue);
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.cvf-stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}


/* 8. Section icon header */
.cvf-section-icon-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.cvf-section-icon {
    font-size: 1.75rem;
    line-height: 1;
    flex-shrink: 0;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 767px) {
    .cvf-do-dont {
        grid-template-columns: 1fr;
    }

    .cvf-stats {
        flex-wrap: wrap;
    }

    .cvf-stat {
        flex: 1 1 calc(50% - 8px);
        min-width: 0;
    }
}

@media (max-width: 575px) {
    .cvf-hero {
        padding: 32px 16px 28px;
    }

    .cvf-hero-title {
        font-size: 1.4rem;
    }

    .cvf-section {
        padding: 36px 16px;
    }

    .cvf-faq {
        padding: 36px 16px;
    }

    .cvf-cta {
        padding: 44px 16px;
    }

    .cvf-cta-btn {
        width: 100%;
        justify-content: center;
    }
}
