/* ============================================================
   nahled-zivotopisu-varianty.css — Fajn Účet
   4 moderní varianty CV (A, B, C, D) s tab switcherem.
   Barva portálu Fajn Účet: #fa6532 (oranžová).
   ============================================================ */

/* =============================================================
   LAYOUT STRÁNKY
   ============================================================= */
.cv-varianty-page {
    padding-bottom: 3rem;
}

/* =============================================================
   SWITCHER (taby nahoře)
   ============================================================= */
.cvv-switcher-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.25rem;
    padding: 0.75rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.cvv-switcher {
    display: flex;
    background: hsl(var(--muted) / 0.5);
    border-radius: 0.875rem;
    padding: 0.25rem;
    gap: 0.125rem;
    flex-wrap: wrap;
}

.cvv-sw-btn {
    border: none;
    background: transparent;
    border-radius: 0.75rem;
    padding: 0.625rem 1rem;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cvv-sw-btn:hover {
    color: #fa6532;
    background: rgba(250, 101, 50, 0.08);
}

.cvv-sw-btn.active {
    background: #fa6532;
    color: #fff;
    box-shadow: 0 2px 8px rgba(250, 101, 50, 0.35);
}

.cvv-sw-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    font-weight: 800;
    font-size: 0.75rem;
}

.cvv-sw-btn:not(.active) .cvv-sw-letter {
    background: rgba(250, 101, 50, 0.12);
    color: #fa6532;
}

@media (max-width: 640px) {
    .cvv-sw-name { display: none; }
    .cvv-sw-btn { padding: 0.5rem 0.625rem; }
}

.cvv-actions { display: flex; gap: 0.5rem; }

.cvv-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid hsl(var(--border));
    background: #fff;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.875rem;
    color: hsl(var(--foreground));
    cursor: pointer;
    transition: all 0.15s;
}

.cvv-action-btn:hover {
    border-color: #fa6532;
    color: #fa6532;
}

/* ===== Horní lišta: Vrátit se zpátky + Uložit životopis ===== */
.cvv-topbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-bottom: 0.75rem;
}

/* Vzhled sjednocen s bílými tlačítky na pridat-zivotopis (.preview-btn / .download-btn):
   bílé pozadí, šedý okraj, tmavý text, radius 0.75rem, hover světlé pozadí + oranžový okraj. */
.cvv-topbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid hsl(var(--border));
    background: #fff;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.875rem;
    color: hsl(var(--foreground));
    cursor: pointer;
    transition: all 0.15s;
}
/* Hover přesně jako .preview-btn / .download-btn na pridat-zivotopis:
   světlé pozadí + jemně oranžový okraj, text zůstává tmavý. */
.cvv-topbar-btn:hover {
    background: hsl(var(--secondary));
    border-color: hsl(var(--primary) / 0.3);
}

@media (max-width: 480px) {
    .cvv-topbar { flex-direction: column; }
    .cvv-topbar-btn { width: 100%; justify-content: center; }
}

/* =============================================================
   VARIANTS CONTAINER
   ============================================================= */
.cvv-variants {
    position: relative;
}

.cvv-variant {
    display: none;
}

.cvv-variant.active {
    display: block;
    animation: cvvFadeIn 0.35s ease;
}

@keyframes cvvFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Popisek varianty skrytý — uživatel ho nepotřebuje, vzhled vybírá v přepínači.
   (Pro vrácení stačí změnit display zpět na inline-block.) */
.cvv-label {
    display: none;
}

/* =============================================================
   SPOLEČNÁ PATIČKA (Fajn Skupina + portály)
   ============================================================= */
.cv-skupina-footer {
    margin-top: 2.5rem;
    padding: 2rem 2.5rem;
    background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);
    border-top: 1px solid #e5e7eb;
}

.cv-skupina-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.cv-skupina-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.cv-skupina-footer__logo {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.cv-skupina-footer__tagline {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}

.cv-skupina-footer__portals {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex-wrap: wrap;
}

.cv-skupina-footer__portal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    overflow: hidden;
    flex-shrink: 0;
}

.cv-skupina-footer__portal:hover {
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
}

.cv-skupina-footer__portal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.cv-skupina-footer__portal--squircle {
    border-radius: 12px;
    background: transparent;
    box-shadow: none;
}

.cv-skupina-footer__portal--squircle img {
    border-radius: 12px;
    object-fit: contain;
}

.cv-skupina-footer__portal--natural,
.cv-skupina-footer__portal--natural:hover {
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    width: 62px;
    height: 62px;
    margin: -7px 0;
}

.cv-skupina-footer__portal--natural img {
    border-radius: 0;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
}

@media (max-width: 640px) {
    .cv-skupina-footer { padding: 1.5rem 1.25rem; }
    .cv-skupina-footer__inner { justify-content: center; text-align: center; }
    .cv-skupina-footer__brand { align-items: center; }
    .cv-skupina-footer__portal { width: 40px; height: 40px; }
}

/* =============================================================
   ==============================================================
   VARIANTA 0 — ORIGINÁL (převzato z nahled-zivotopisu.css)
   ==============================================================
   ============================================================= */
#cvv-orig .nahled-cv-wrapper {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    background: white;
}

#cvv-orig .nahled-cv-content {
    padding: 0;
    overflow-x: auto;
}

#cvv-orig .cv-preview-wrapper {
    min-width: 600px;
    font-family: 'Rubik', sans-serif;
}

#cvv-orig .cv-preview-wrapper table {
    width: 100%;
}

#cvv-orig .table-headline {
    color: #3a3a3a;
    font-size: 20px;
    line-height: 30px;
    font-weight: bold;
    padding-bottom: 16px;
    margin: 0;
    text-align: left;
}

#cvv-orig .text {
    color: #707070;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
    text-align: left;
}

#cvv-orig .year-badge {
    background-color: #ff7e28;
    border-radius: 4px;
    color: #ffffff;
    font-size: 12px;
    line-height: 16px;
    padding: 2px 8px;
    text-align: center;
    display: inline-block;
    white-space: nowrap;
}

#cvv-orig .tl-label {
    color: #707070;
    font-size: 16px;
    line-height: 22px;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
}

#cvv-orig .tl-value {
    color: #707070;
    font-size: 16px;
    line-height: 22px;
    font-weight: bold;
    text-align: left;
}

#cvv-orig .course-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ff7e28;
    display: inline-block;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
}

#cvv-orig .cv-preview-wrapper td {
    text-align: left;
    vertical-align: top;
}

#cvv-orig .cv-preview-wrapper p { margin: 0; }

/* =============================================================
   ==============================================================
   VARIANTA A — GRADIENT MODERN
   ==============================================================
   ============================================================= */
.cv-a {
    background: #fff;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    font-family: 'Rubik', system-ui, sans-serif;
    color: #1f2937;
}

/* Hero */
.cv-a__hero {
    position: relative;
    padding: 2.5rem 2.5rem 2rem;
    background: linear-gradient(135deg, #ff8c00 0%, #ffa534 45%, #ffbd6b 100%);
    color: #fff;
    overflow: hidden;
}

.cv-a__hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(255,255,255,0.22) 0, transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(255,255,255,0.15) 0, transparent 35%);
    pointer-events: none;
}

.cv-a__hero-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cv-a__avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.cv-a__avatar {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,0.9);
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
    background: #fff;
}

.cv-a__avatar-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px dashed rgba(255,255,255,0.5);
    animation: cvASpin 18s linear infinite;
}

@keyframes cvASpin { to { transform: rotate(360deg); } }

.cv-a__hero-text { flex: 1; min-width: 260px; }

.cv-a__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(6px);
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.875rem;
    border: 1px solid rgba(255,255,255,0.3);
}

.cv-a__name {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.1;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.02em;
}

.cv-a__name span { font-weight: 700; }

.cv-a__tagline {
    font-size: 1rem;
    opacity: 0.92;
    margin: 0 0 1rem 0;
    font-weight: 500;
}

.cv-a__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cv-a__meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 500;
}

/* Stats */
.cv-a__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: #fff;
    border-bottom: 1px solid #f3f4f6;
}

.cv-a__stat {
    padding: 1.25rem 1rem;
    text-align: center;
    border-right: 1px solid #f3f4f6;
}

.cv-a__stat:last-child { border-right: none; }

.cv-a__stat-num {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0074ff;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.cv-a__stat-lbl {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

@media (max-width: 640px) {
    .cv-a__stats { grid-template-columns: repeat(2, 1fr); }
    .cv-a__stat:nth-child(2) { border-right: none; }
    .cv-a__stat:nth-child(1), .cv-a__stat:nth-child(2) { border-bottom: 1px solid #f3f4f6; }
}

/* Section */
.cv-a__section {
    padding: 1.75rem 2.5rem;
    border-bottom: 1px solid #f3f4f6;
}

.cv-a__section--inline {
    padding: 0;
    border-bottom: none;
}

.cv-a__two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 1.75rem 2.5rem;
    border-bottom: 1px solid #f3f4f6;
}

@media (max-width: 640px) {
    .cv-a__hero { padding: 1.75rem 1.25rem; }
    .cv-a__name { font-size: 1.875rem; }
    .cv-a__section, .cv-a__two-col { padding: 1.25rem 1.25rem; }
    .cv-a__two-col { grid-template-columns: 1fr; }
}

.cv-a__h2 {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 1rem 0;
    letter-spacing: -0.01em;
}

.cv-a__h2-ico {
    width: 20px;
    height: 20px;
    color: #ff8c00;
    flex-shrink: 0;
}

.cv-a__text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #4b5563;
    margin: 0;
}

/* Timeline */
.cv-a__timeline {
    position: relative;
    padding-left: 1.25rem;
}

.cv-a__timeline::before {
    content: "";
    position: absolute;
    left: 0.375rem;
    top: 0.625rem;
    bottom: 0.625rem;
    width: 2px;
    background: linear-gradient(180deg, #ff8c00, rgba(255,140,0,0.15));
    border-radius: 1px;
}

.cv-a__tl-item {
    position: relative;
    margin-bottom: 1rem;
}

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

.cv-a__tl-dot {
    position: absolute;
    left: -1.0625rem;
    top: 0.625rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #ff8c00;
    box-shadow: 0 0 0 4px rgba(255,140,0,0.1);
}

.cv-a__tl-card {
    background: #fafafa;
    border: 1px solid #f3f4f6;
    border-radius: 0.75rem;
    padding: 1rem 1.125rem;
}

.cv-a__tl-head {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.cv-a__tl-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
}

.cv-a__tl-company {
    font-size: 0.875rem;
    color: #0074ff;
    font-weight: 600;
    margin-top: 0.125rem;
}

.cv-a__tl-desc {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0.375rem 0 0 0;
}

.cv-a__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    background: rgba(255,140,0,0.12);
    color: #ff8c00;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9999px;
    white-space: nowrap;
    height: fit-content;
}

/* Edu card */
.cv-a__edu-card {
    background: #fafafa;
    border: 1px solid #f3f4f6;
    border-radius: 0.75rem;
    padding: 1rem 1.125rem;
}

.cv-a__edu-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin-top: 0.5rem;
}

.cv-a__edu-sub {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.125rem;
}

/* Languages */
.cv-a__lang {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cv-a__lang-row {
    display: grid;
    grid-template-columns: 80px 1fr 70px;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
}

.cv-a__lang-name {
    font-weight: 600;
    color: #1f2937;
}

.cv-a__lang-bar {
    height: 6px;
    background: #f3f4f6;
    border-radius: 3px;
    overflow: hidden;
}

.cv-a__lang-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #0074ff, #4ba1ff);
    border-radius: 3px;
}

.cv-a__lang-lvl {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
    text-align: right;
}

/* Chips */
.cv-a__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cv-a__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    background: #fff;
    border: 1.5px solid rgba(255,140,0,0.3);
    color: #ff8c00;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.cv-a__chip--soft {
    background: rgba(255,140,0,0.1);
    border-color: transparent;
}

/* List */
.cv-a__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.cv-a__list li {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    padding-left: 1.125rem;
    position: relative;
    font-size: 0.875rem;
    color: #4b5563;
}

.cv-a__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0074ff;
}

.cv-a__list strong {
    color: #1f2937;
    font-weight: 700;
}

.cv-a__list span {
    color: #6b7280;
    font-size: 0.8125rem;
}

/* =============================================================
   ==============================================================
   VARIANTA B — SPLIT MINIMAL
   ==============================================================
   ============================================================= */
.cv-b {
    display: grid;
    grid-template-columns: 280px 1fr;
    background: #fff;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    font-family: 'Rubik', system-ui, sans-serif;
    color: #1f2937;
    min-height: 700px;
}

/* Patička zabere plnou šířku pod gridem */
.cv-b > .cv-skupina-footer {
    grid-column: 1 / -1;
    margin-top: 0;
}

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

/* Sidebar */
.cv-b__side {
    background: #1f2937;
    color: #e5e7eb;
    padding: 2rem 1.5rem;
}

.cv-b__avatar-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.cv-b__avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255,140,0,0.9);
    background: #fff;
}

.cv-b__name-block {
    text-align: center;
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.cv-b__name {
    font-size: 1.375rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.375rem 0;
    letter-spacing: -0.01em;
}

.cv-b__role {
    font-size: 0.8125rem;
    color: #9ca3af;
    margin: 0;
    font-weight: 500;
}

.cv-b__side-section {
    margin-bottom: 1.5rem;
}

.cv-b__side-h3 {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #ff8c00;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 0.75rem 0;
}

.cv-b__side-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cv-b__side-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: #e5e7eb;
    line-height: 1.5;
    word-break: break-word;
}

.cv-b__side-ico {
    width: 14px;
    height: 14px;
    color: #ff8c00;
    flex-shrink: 0;
    margin-top: 0.1875rem;
}

.cv-b__skills {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.cv-b__skill {
    padding: 0.4375rem 0.625rem;
    background: rgba(255,140,0,0.14);
    border-left: 3px solid #ff8c00;
    border-radius: 0 0.375rem 0.375rem 0;
    font-size: 0.8125rem;
    color: #f3f4f6;
    font-weight: 500;
}

.cv-b__lang-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4375rem;
}

.cv-b__lang-list li {
    display: flex;
    justify-content: space-between;
    font-size: 0.8125rem;
    color: #e5e7eb;
    padding-bottom: 0.375rem;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
}

.cv-b__lang-list li:last-child { border-bottom: none; }

.cv-b__lang-list em {
    color: #9ca3af;
    font-style: normal;
    font-size: 0.75rem;
}

.cv-b__side-text {
    font-size: 0.8125rem;
    color: #e5e7eb;
    margin: 0;
    line-height: 1.6;
}

/* Main content */
.cv-b__main {
    padding: 2.5rem 2.25rem;
}

@media (max-width: 640px) {
    .cv-b__main { padding: 1.5rem 1.25rem; }
    .cv-b__side { padding: 1.5rem 1.25rem; }
}

.cv-b__section {
    margin-bottom: 2rem;
}

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

.cv-b__h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #1f2937;
    display: inline-block;
    letter-spacing: -0.01em;
}

.cv-b__text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #4b5563;
    margin: 0;
}

.cv-b__exp {
    padding: 1rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.cv-b__exp:last-child { border-bottom: none; padding-bottom: 0; }
.cv-b__exp:first-child { padding-top: 0.25rem; }

.cv-b__exp-head {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: baseline;
    margin-bottom: 0.25rem;
}

.cv-b__exp-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.cv-b__exp-date {
    font-size: 0.75rem;
    font-weight: 600;
    color: #0074ff;
    padding: 0.1875rem 0.5rem;
    background: rgba(0,116,255,0.1);
    border-radius: 0.25rem;
    white-space: nowrap;
}

.cv-b__exp-company {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.cv-b__exp-desc {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #4b5563;
    margin: 0;
}

.cv-b__courses {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.cv-b__courses li {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    padding-left: 1rem;
    border-left: 2px solid #0074ff;
    padding-top: 0.125rem;
    padding-bottom: 0.125rem;
}

.cv-b__courses strong {
    font-size: 0.9375rem;
    color: #1f2937;
}

.cv-b__courses span {
    font-size: 0.8125rem;
    color: #6b7280;
}

/* =============================================================
   ==============================================================
   VARIANTA C — EXECUTIVE CARD (ATS-friendly, 1-sloupec, F-pattern)
   Primární akcent: #ff8c00 (oranžová), sekundární: #0074ff (modrá).
   ==============================================================
   ============================================================= */
.cv-c {
    background: #fff;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    font-family: 'Rubik', system-ui, sans-serif;
    color: #1f2937;
    position: relative;
}

/* Oranžový pruh brand akcent vlevo */
.cv-c::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #ff8c00 0%, #0074ff 100%);
}

/* ============ HERO ============ */
.cv-c__hero {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem 2.75rem 2rem 3rem;
    border-bottom: 1px solid #f3f4f6;
    text-align: left;
}

.cv-c__photo {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    background: #f3f4f6;
    border: 3px solid #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08), 0 0 0 2px rgba(255,140,0,0.25);
}

.cv-c__hero-text { flex: 1; min-width: 0; text-align: left; }

.cv-c__name {
    display: block;
    font-size: 2.25rem;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 5px 0;
    letter-spacing: -0.025em;
    line-height: 1.1;
    text-align: left;
}

.cv-c__role {
    font-size: 0.9375rem;
    color: #6b7280;
    margin: 0 0 1rem 0;
    font-weight: 500;
}

.cv-c__contact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem 1rem;
}

.cv-c__contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4375rem;
    font-size: 0.8125rem;
    color: #4b5563;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s;
}

.cv-c__contact-item:hover { color: #ff8c00; }
.cv-c__contact-item i { color: #ff8c00; }

@media (max-width: 640px) {
    .cv-c__hero { flex-direction: column; align-items: flex-start; gap: 1.25rem; padding: 1.75rem 1.5rem 1.5rem 1.75rem; }
    .cv-c__photo { width: 96px; height: 96px; }
    .cv-c__name { font-size: 1.75rem; }
}

/* ============ STATS LIŠTA ============ */
.cv-c__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding: 0;
    background: #fafafa;
    border-bottom: 1px solid #f3f4f6;
}

.cv-c__stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-right: 1px solid #f3f4f6;
}

.cv-c__stat:last-child { border-right: none; }

.cv-c__stat-ico {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #ff8c00;
}

.cv-c__stat-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}

.cv-c__stat-text strong {
    font-size: 0.875rem;
    font-weight: 700;
    color: #1f2937;
}

.cv-c__stat-text span {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.125rem;
}

@media (max-width: 640px) {
    .cv-c__stats { grid-template-columns: repeat(2, 1fr); }
    .cv-c__stat:nth-child(2) { border-right: none; }
    .cv-c__stat:nth-child(1), .cv-c__stat:nth-child(2) { border-bottom: 1px solid #f3f4f6; }
    .cv-c__stat { padding: 0.75rem 1rem; }
}

/* ============ BODY ============ */
.cv-c__body {
    padding: 0.5rem 2.75rem 1.5rem 3rem;
}

@media (max-width: 640px) {
    .cv-c__body { padding: 0.5rem 1.5rem 1rem 1.75rem; }
}

.cv-c__section {
    padding: 1.5rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.cv-c__section--last,
.cv-c__section:last-of-type {
    border-bottom: none;
}

.cv-c__h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 800;
    color: #9ca3af;
    margin: 0 0 0.875rem 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.cv-c__h2-ico {
    width: 14px;
    height: 14px;
    color: #ff8c00;
    flex-shrink: 0;
}

.cv-c__about {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #4b5563;
    margin: 0;
}

/* ============ ENTRIES (praxe / vzdělání) ============ */
.cv-c__entries {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cv-c__entry {
    position: relative;
}

.cv-c__entry-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.cv-c__entry-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    letter-spacing: -0.01em;
}

.cv-c__entry-date {
    font-size: 0.75rem;
    font-weight: 700;
    color: #0074ff;
    padding: 0.1875rem 0.5rem;
    background: rgba(0,116,255,0.08);
    border-radius: 0.375rem;
    white-space: nowrap;
}

.cv-c__entry-sub {
    font-size: 0.875rem;
    color: #4b5563;
    font-weight: 600;
    margin-bottom: 0.375rem;
}

.cv-c__entry-dur {
    font-weight: 500;
    color: #9ca3af;
}

.cv-c__entry-desc {
    font-size: 0.875rem;
    line-height: 1.55;
    color: #6b7280;
    margin: 0;
}

/* ============ JAZYKY ============ */
.cv-c__langs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cv-c__lang-head {
    display: flex;
    justify-content: space-between;
    font-size: 0.8125rem;
    margin-bottom: 0.375rem;
}

.cv-c__lang-head span {
    font-weight: 600;
    color: #1f2937;
}

.cv-c__lang-head em {
    font-style: normal;
    color: #9ca3af;
    font-size: 0.75rem;
}

.cv-c__lang-meter {
    height: 6px;
    background: #f3f4f6;
    border-radius: 3px;
    overflow: hidden;
}

.cv-c__lang-meter span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #ff8c00, #0074ff);
    border-radius: 3px;
}

/* ============ CHIPS ============ */
.cv-c__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.cv-c__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.4375rem 0.75rem;
    background: rgba(255,140,0,0.08);
    color: #ff8c00;
    border: 1px solid rgba(255,140,0,0.2);
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
}

/* ============ KURZY ============ */
.cv-c__courses {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.cv-c__courses li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.cv-c__year-badge {
    flex-shrink: 0;
    font-size: 0.6875rem;
    font-weight: 800;
    color: #0074ff;
    background: rgba(0,116,255,0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    letter-spacing: 0.02em;
    margin-top: 0.125rem;
}

.cv-c__courses strong {
    display: block;
    font-size: 0.9375rem;
    color: #1f2937;
    font-weight: 700;
    margin-bottom: 0.125rem;
}

.cv-c__courses span {
    display: block;
    font-size: 0.8125rem;
    color: #6b7280;
}

/* =============================================================
   ==============================================================
   VARIANTA D — DARK PRO
   ==============================================================
   ============================================================= */
.cv-d {
    background: #0a0a0f;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    font-family: 'Rubik', system-ui, sans-serif;
    color: #e5e7eb;
    position: relative;
}

/* Hero */
.cv-d__hero {
    position: relative;
    padding: 2.75rem 2.5rem 2.25rem;
    background: linear-gradient(135deg, #0a0a0f 0%, #14141f 100%);
    overflow: hidden;
}

.cv-d__hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,140,0,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,140,0,0.08) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
}

.cv-d__hero-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,140,0,0.2) 0%, transparent 60%);
    pointer-events: none;
}

.cv-d__hero-glow::after {
    content: "";
    position: absolute;
    bottom: -40%;
    left: -40%;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(0,116,255,0.18) 0%, transparent 60%);
}

.cv-d__hero-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cv-d__hero-left { flex: 1; min-width: 260px; }

.cv-d__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: rgba(34,197,94,0.12);
    border: 1px solid rgba(34,197,94,0.3);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #4ade80;
    margin-bottom: 1rem;
}

.cv-d__tag-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34,197,94,0.2);
    animation: cvDPulse 2s ease-in-out infinite;
}

@keyframes cvDPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
    50% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}

.cv-d__name {
    display: block;
    font-size: 2.75rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 5px 0;
    letter-spacing: -0.03em;
    line-height: 1;
    text-align: left;
}

.cv-d__name span {
    background: linear-gradient(135deg, #ff8c00, #0074ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cv-d__role {
    font-size: 0.9375rem;
    color: #9ca3af;
    margin: 0 0 1.25rem 0;
    font-weight: 500;
}

.cv-d__contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cv-d__contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.15s;
    width: fit-content;
}

.cv-d__contact-item:hover { color: #ff8c00; }

.cv-d__contact-item i { color: #ff8c00; }

.cv-d__hero-right { flex-shrink: 0; }

.cv-d__avatar-frame {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 1rem;
    padding: 3px;
    background: linear-gradient(135deg, #ff8c00, #0074ff);
    box-shadow: 0 0 40px rgba(255,140,0,0.35);
}

.cv-d__avatar-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.875rem;
    background: #14141f;
}

@media (max-width: 640px) {
    .cv-d__hero { padding: 1.75rem 1.25rem; }
    .cv-d__name { font-size: 2rem; }
}

/* Body */
.cv-d__body {
    padding: 2.25rem 2.5rem;
    background: #0a0a0f;
    position: relative;
}

@media (max-width: 640px) {
    .cv-d__body { padding: 1.5rem 1.25rem; }
}

.cv-d__section {
    margin-bottom: 2rem;
}

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

.cv-d__section--box {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 1rem;
    padding: 1.25rem 1.375rem;
    margin-bottom: 0;
}

.cv-d__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

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

.cv-d__h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cv-d__h2-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #ff8c00, #0074ff);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 0.5rem;
    letter-spacing: 0;
    box-shadow: 0 4px 12px rgba(255,140,0,0.35);
}

.cv-d__text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #d1d5db;
    margin: 0;
}

/* Experience */
.cv-d__exp-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cv-d__exp {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 1.25rem;
    padding: 1rem 1.25rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 0.875rem;
    transition: all 0.2s;
}

.cv-d__exp:hover {
    background: rgba(0,116,255,0.05);
    border-color: rgba(0,116,255,0.28);
    transform: translateY(-2px);
}

.cv-d__exp-period {
    font-size: 0.75rem;
    font-weight: 700;
    color: #0074ff;
    text-align: center;
    padding-right: 1.25rem;
    border-right: 1px solid rgba(255,255,255,0.08);
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.cv-d__exp-body h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.25rem 0;
    letter-spacing: -0.01em;
}

.cv-d__exp-company {
    font-size: 0.8125rem;
    color: #9ca3af;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.cv-d__exp-body p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #d1d5db;
    margin: 0;
}

@media (max-width: 640px) {
    .cv-d__exp { grid-template-columns: 1fr; gap: 0.5rem; padding: 1rem; }
    .cv-d__exp-period {
        text-align: left;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        padding: 0 0 0.5rem 0;
        line-height: 1.6;
    }
    .cv-d__exp-period br { display: none; }
}

/* Chips */
.cv-d__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cv-d__chip {
    padding: 0.4375rem 0.875rem;
    background: rgba(255,140,0,0.12);
    border: 1px solid rgba(255,140,0,0.3);
    color: #ffa534;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.cv-d__chip--soft {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
    color: #d1d5db;
}

/* Languages */
.cv-d__langs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cv-d__lang-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.375rem;
    font-size: 0.875rem;
}

.cv-d__lang-head span {
    font-weight: 600;
    color: #f3f4f6;
}

.cv-d__lang-head em {
    font-style: normal;
    font-size: 0.75rem;
    color: #9ca3af;
}

.cv-d__lang-bar {
    height: 6px;
    background: rgba(255,255,255,0.06);
    border-radius: 3px;
    overflow: hidden;
}

.cv-d__lang-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #ff8c00, #0074ff);
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(255,140,0,0.4);
}

/* Courses */
.cv-d__courses {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.cv-d__courses li {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    padding-left: 1rem;
    border-left: 2px solid #0074ff;
}

.cv-d__courses strong {
    font-size: 0.9375rem;
    color: #fff;
    font-weight: 700;
}

.cv-d__courses span {
    font-size: 0.8125rem;
    color: #9ca3af;
}

/* Dark footer - override for D */
.cv-d .cv-skupina-footer {
    background: linear-gradient(180deg, #0a0a0f 0%, #050508 100%);
    border-top: 1px solid rgba(255,255,255,0.06);
}

.cv-d .cv-skupina-footer__tagline {
    color: #9ca3af;
}

.cv-d .cv-skupina-footer__logo {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.cv-d .cv-skupina-footer__portal {
    background: #14141f;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* =========================================================
   BANNER — ULOŽENÍ VÝBĚRU
   ========================================================= */
.cvv-save-notice {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    width: fit-content;
    margin: 0.3rem 0 0.85rem 0.25rem;
    padding: 0.3rem 0.7rem 0.3rem 0.5rem;
    background: hsl(var(--muted) / 0.5);
    border-radius: 2rem;
    font-size: 0.775rem;
    color: hsl(var(--muted-foreground));
    transition: background 0.3s, color 0.25s;
}

.cvv-save-notice i {
    opacity: 0.55;
    transition: opacity 0.25s, color 0.25s;
    flex-shrink: 0;
}

.cvv-save-notice--saved {
    background: hsl(142 60% 91%);
    color: hsl(142 40% 28%);
}

.cvv-save-notice--saved i {
    opacity: 1;
    color: hsl(142 50% 35%);
}
