/* ============================================================
   online-zivotopis.css — Fajn účet
   Styly pro VEŘEJNOU stránku "Online životopis" (online-zivotopis.php).
   Stránka je standalone (bez _template.php, bez aplikačního menu) —
   toto CSS proto nesdílí obecné layout styly (sidebar, main-layout…)
   z obecne.css, pouze jeho design tokeny (--primary, --card…) a reset.

   Design vychází z varianty "Gradient Modern" (.cv-a__* v
   nahled-zivotopisu-varianty.css) — převzato a doplněno o:
   - výrazný branding pruh nad CV, zdroj profilu = Fajn účet (.cv-brand*)
   - výrazný TrustScore panel s SVG ringem, tier, ověření (.cv-trust*)
   - řádek sdílení veřejné URL (.cv-a__share*)
   - zamčenou sekci kontaktu (.cv-a__locked)
   - sekci hodnocení / recenzí s pohyblivým marquee pásem (.cv-rev*)
   - scroll reveal a mikro-interakce (.cv-reveal, hover efekty)
   ============================================================ */

/* =============================================================
   STANDALONE STRÁNKA — pozadí + kontejner
   ============================================================= */
.ozp-public-body {
    background: linear-gradient(160deg, #eaf3ff 0%, #f7f9fc 35%, #fff8f0 100%);
    min-height: 100vh;
}

.ozp-public-page {
    max-width: 760px;
    margin: 0 auto;
    padding: 1.5rem 1rem 3rem;
}
@media (min-width: 640px) {
    .ozp-public-page { padding: 3rem 1.5rem 3.5rem; }
}

/* =============================================================
   BRANDING PRUH — jasně ukazuje zdroj profilu (Fajn účet)
   Výrazně oranžová (brand Fajn účtu, hsl(33,100%,50%) = #ff8000),
   stejný token jako zbytek aplikace (--primary v obecne.css).
   Vzor maskot+bublina převzatý z pruvodce.php / fajnskupina_cz/404.php.
   ============================================================= */
.cv-brand {
    margin-bottom: 0.875rem;
    padding: 1.125rem 1.25rem 1rem;
    background: linear-gradient(135deg, hsl(33 100% 50% / 0.14) 0%, #fff7ec 45%, #fff 100%);
    border: 1.5px solid hsl(33 100% 50% / 0.35);
    border-radius: 1.25rem;
    box-shadow: 0 6px 20px hsl(33 100% 50% / 0.12);
}
@media (max-width: 640px) {
    .cv-brand { padding: 1rem 1rem 0.875rem; }
    .cv-brand__maskot { width: 52px; height: 52px; }
    .cv-brand__bublina-text { font-size: 0.8125rem; }
}

/* ---------- Maskot + mluvící bublina ---------- */
.cv-brand__maskot-row {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    margin-bottom: 0.875rem;
}
.cv-brand__maskot {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    object-fit: contain;
    display: block;
    animation: cv-brand-maskot-houpani 5s ease-in-out infinite;
    transform-origin: 50% 100%;
}
@keyframes cv-brand-maskot-houpani {
    0%, 100% { transform: rotate(-2deg); }
    50%      { transform: rotate(2deg); }
}

.cv-brand__bublina {
    position: relative;
    flex: 1;
    min-width: 0;
    background: #fff;
    border: 1.5px solid hsl(33 100% 50% / 0.4);
    border-radius: 1rem 1rem 1rem 0.25rem;
    padding: 0.625rem 0.875rem;
    box-shadow: 0 3px 10px hsl(33 100% 50% / 0.1);
}
/* Ocásek bubliny — dvojitý trojúhelník vlevo dole, míří k maskotovi */
.cv-brand__bublina::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: -9px;
    border: 6px solid transparent;
    border-right-color: hsl(33 100% 50% / 0.4);
    border-bottom-color: hsl(33 100% 50% / 0.4);
}
.cv-brand__bublina::after {
    content: '';
    position: absolute;
    bottom: 1px;
    left: -7px;
    border: 5px solid transparent;
    border-right-color: #fff;
    border-bottom-color: #fff;
}
.cv-brand__bublina-text {
    font-size: 0.8438rem;
    font-weight: 400;
    color: #5c4530;
    line-height: 1.45;
}
.cv-brand__bublina-text strong { font-weight: 500; color: #5c4530; }

@media (prefers-reduced-motion: reduce) {
    .cv-brand__maskot { animation: none; }
}

/* ---------- Odkaz na fajnucet.cz (logo + CTA) ---------- */
.cv-brand__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.875rem;
    padding-top: 0.875rem;
    border-top: 1px dashed hsl(33 100% 50% / 0.3);
    text-decoration: none;
    transition: opacity 0.15s ease;
}
.cv-brand__link:hover { opacity: 0.85; }

.cv-brand__left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}
.cv-brand__logo {
    flex-shrink: 0;
    height: 30px;
    width: auto;
    object-fit: contain;
}
.cv-brand__text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}
.cv-brand__text strong {
    font-size: 0.875rem;
    font-weight: 500;
    color: #5c4530;
    line-height: 1.3;
}
.cv-brand__text span {
    font-size: 0.75rem;
    font-weight: 400;
    color: #8a7660;
    line-height: 1.3;
}

.cv-brand__cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.45rem 0.875rem;
    background: hsl(33 100% 50%);
    color: #fff;
    border: 1px solid transparent;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 2px 8px hsl(33 100% 50% / 0.35);
}
.cv-brand__cta-ico { width: 14px; height: 14px; }

/* =============================================================
   SPRÁVCOVSKÝ PRUH — rychlá navigace zpět do aplikace pro majitele
   profilu (přehled životopisů, nastavení soukromí). Vizuálně tlumenější
   než .cv-brand, ať nekonkuruje veřejné prezentaci profilu.
   ============================================================= */
.cv-owner-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}
.cv-owner-bar__link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(15,45,80,0.12);
    border-radius: 9999px;
    color: #4a5b70;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.cv-owner-bar__link:hover {
    background: #ffffff;
    color: #0d3b73;
}

/* =============================================================
   VARIANTA "GRADIENT MODERN" — základ karty
   ============================================================= */
.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 — duotone modrá → oranžová, jasně odlišené od klasické (jednobarevné)
   varianty CV; jemná bodová mřížka navíc podtrhuje "digitální" charakter
   veřejného online profilu (na rozdíl od papírového/PDF CV). */
.cv-a__hero {
    position: relative;
    padding: 2.5rem 2.5rem 2rem;
    background: linear-gradient(125deg, #2f8dff 0%, #5aa5ff 32%, #ffa534 78%, #ffbd6b 100%);
    color: #fff;
    overflow: hidden;
}

.cv-a__hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 15%, rgba(255,255,255,0.24) 0, transparent 42%),
        radial-gradient(circle at 8% 95%, rgba(255,255,255,0.16) 0, transparent 38%),
        radial-gradient(circle, rgba(255,255,255,0.16) 1px, transparent 1.5px);
    background-size: auto, auto, 18px 18px;
    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); } }

/* ---------- Hravý hover efekt: srdíčka místo očí ---------- */
.cv-a__avatar-wrap:hover .cv-a__avatar,
.cv-a__avatar-wrap.is-hearting .cv-a__avatar {
    animation: cvAvatarPulz 0.6s ease-in-out;
}
@keyframes cvAvatarPulz {
    0%, 100% { transform: scale(1); }
    30%      { transform: scale(1.05) rotate(-1.5deg); }
    60%      { transform: scale(1.03) rotate(1.5deg); }
}

.cv-a__avatar-heart {
    position: absolute;
    top: 40px;
    font-size: 1.125rem;
    line-height: 1;
    opacity: 0;
    transform: scale(0.4);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25));
}
.cv-a__avatar-heart--l { left: 34px; }
.cv-a__avatar-heart--r { right: 34px; }

.cv-a__avatar-wrap:hover .cv-a__avatar-heart,
.cv-a__avatar-wrap.is-hearting .cv-a__avatar-heart {
    opacity: 1;
    transform: scale(1);
    animation: cvHeartBeat 0.9s ease-in-out infinite;
}
.cv-a__avatar-wrap:hover .cv-a__avatar-heart--r,
.cv-a__avatar-wrap.is-hearting .cv-a__avatar-heart--r {
    animation-delay: 0.15s;
}
@keyframes cvHeartBeat {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.18); }
}

@media (prefers-reduced-motion: reduce) {
    .cv-a__avatar-wrap:hover .cv-a__avatar,
    .cv-a__avatar-wrap.is-hearting .cv-a__avatar,
    .cv-a__avatar-wrap:hover .cv-a__avatar-heart,
    .cv-a__avatar-wrap.is-hearting .cv-a__avatar-heart {
        animation: none;
    }
}

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

.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: 500; }

.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;
}

/* =============================================================
   DŮVĚRYHODNOST — výrazný TrustScore panel s ringem
   ============================================================= */
.cv-trust {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    flex-wrap: wrap;
    margin: 1.25rem 2.5rem 0;
    padding: 1.5rem 1.75rem;
    background: linear-gradient(120deg, hsl(33 100% 50% / 0.06) 0%, #fff 60%);
    border: 1px solid hsl(33 100% 50% / 0.2);
    border-radius: 1.125rem;
    box-shadow: 0 4px 18px hsl(33 100% 50% / 0.08);
}
@media (max-width: 640px) {
    .cv-trust { margin: 1.125rem 1.25rem 0; padding: 1.25rem 1.25rem; gap: 1.25rem; }
}

.cv-trust__ring-wrap {
    position: relative;
    flex-shrink: 0;
    width: 108px;
    height: 108px;
}
.cv-trust__ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}
.cv-trust__ring-bg {
    fill: none;
    stroke: hsl(33 100% 50% / 0.14);
    stroke-width: 10;
}
.cv-trust__ring-fg {
    fill: none;
    stroke: hsl(33 100% 50%);
    stroke-width: 10;
    stroke-linecap: round;
}
.cv-trust__ring-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.cv-trust__ring-num {
    font-size: 1.75rem;
    font-weight: 500;
    color: #1f2937;
    line-height: 1;
}
.cv-trust__ring-lbl {
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: hsl(28 90% 42%);
    margin-top: 0.2rem;
}

.cv-trust__info {
    flex: 1;
    min-width: 220px;
}
.cv-trust__tier {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.9375rem;
    color: #4b5563;
    margin: 0 0 0.375rem;
}
.cv-trust__tier strong { color: hsl(33 100% 50%); font-weight: 500; }
.cv-trust__desc {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0 0 0.75rem;
}

.cv-trust__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.cv-trust__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.4rem 0.8rem;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cv-trust__badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* =============================================================
   SDÍLENÍ VEŘEJNÉ URL
   ============================================================= */
.cv-a__share {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin: 1rem 2.5rem 0;
    padding: 0.75rem 1rem;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    border-radius: 0.75rem;
    color: #6b7280;
}
@media (max-width: 640px) {
    .cv-a__share { margin: 1rem 1.25rem 0; }
}
.cv-a__share > [data-lucide] { flex-shrink: 0; color: #0077ff; }
.cv-a__share span {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1f2937;
}
.cv-a__share-btn {
    flex-shrink: 0;
    padding: 0.45rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #fff;
    background: #0077ff;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: opacity 0.15s;
}
.cv-a__share-btn:hover { opacity: 0.9; }

/* =============================================================
   ZAMČENÁ SEKCE (kontakt) — klikatelný odkaz na registraci/přihlášení
   do Fajn Správy (firmy tam po ověření uvidí kontaktní údaje).
   ============================================================= */
.cv-a__locked {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s, border-color 0.15s;
}
.cv-a__locked:hover {
    background: #f3f4f6;
    border-color: #0077ff;
}
.cv-a__locked > [data-lucide] { flex-shrink: 0; color: #9ca3af; }
.cv-a__locked span { flex: 1; }
.cv-a__locked-arrow {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: #9ca3af;
    transition: transform 0.15s, color 0.15s;
}
.cv-a__locked:hover .cv-a__locked-arrow {
    color: #0077ff;
    transform: translateX(2px);
}

/* Stats (ponecháno pro budoucí použití, i když se v této stránce nepoužívá) */
.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: 500;
    color: #0077ff;
    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: 500;
    color: #1f2937;
    margin: 0 0 1rem 0;
    letter-spacing: -0.01em;
}

.cv-a__h2-ico {
    width: 20px;
    height: 20px;
    color: #0077ff;
    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: 500;
    color: #1f2937;
}

.cv-a__tl-company {
    font-size: 0.875rem;
    color: #0077ff;
    font-weight: 500;
    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: 500;
    border-radius: 9999px;
    white-space: nowrap;
    height: fit-content;
}

/* Menší varianta odznaku vedle nadpisu sekce (H2), např. "Nové" u videoprofilu */
.cv-a__badge--new {
    margin-left: 0.375rem;
    padding: 0.1875rem 0.5625rem;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* =============================================================
   VIDEOPROFIL — náhledová karta s přehrávacím tlačítkem
   ============================================================= */
.cv-a__video {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 0.75rem;
    background: #fafafa;
    border: 1px solid #f3f4f6;
    border-radius: 0.875rem;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.cv-a__video:hover {
    border-color: hsl(33 100% 50% / 0.4);
    box-shadow: 0 6px 18px hsl(33 100% 50% / 0.12);
    transform: translateY(-1px);
}

.cv-a__video-thumb {
    position: relative;
    flex-shrink: 0;
    height: 128px;
    aspect-ratio: 9 / 16;
    border-radius: 0.625rem;
    overflow: hidden;
    background: #111;
}
.cv-a__video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    opacity: 0.85;
}
.cv-a__video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cv-a__video-play::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.18);
}
.cv-a__video-play-ico {
    position: relative;
    width: 34px;
    height: 34px;
    padding: 8px;
    box-sizing: content-box;
    color: hsl(33 100% 50%);
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    transition: transform 0.15s ease;
}
.cv-a__video:hover .cv-a__video-play-ico { transform: scale(1.08); }

.cv-a__video-length {
    position: absolute;
    right: 6px;
    bottom: 6px;
    padding: 0.0625rem 0.375rem;
    background: rgba(0,0,0,0.65);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 500;
    border-radius: 0.25rem;
    line-height: 1.4;
}

.cv-a__video-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.cv-a__video-title {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1f2937;
}
.cv-a__video-desc {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.45;
}

@media (max-width: 480px) {
    .cv-a__video-thumb { height: 100px; }
    .cv-a__video-desc { display: none; }
}

/* =============================================================
   LIGHTBOX PRO VIDEOPROFIL
   ============================================================= */
.cv-video-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(2px);
}
.cv-video-modal.is-open {
    display: flex;
    animation: cvVideoFadeIn 0.2s ease;
}
@keyframes cvVideoFadeIn { from { opacity: 0; } to { opacity: 1; } }

.cv-video-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 520px;
    background: #000;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.cv-video-modal__close {
    position: absolute;
    top: 0.625rem;
    right: 0.625rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.15s ease;
}
.cv-video-modal__close:hover { background: rgba(0,0,0,0.75); }

.cv-video-modal__video {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    max-height: 80vh;
    background: #000;
}

.cv-video-modal__demo-note {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 0.875rem;
    background: #18181b;
    color: #a1a1aa;
    font-size: 0.75rem;
    line-height: 1.4;
}

/* 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: 500;
    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: 500;
    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, #0077ff, #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: 500;
}

.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: #0077ff;
}

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

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

/* =============================================================
   PATIČKA S LOGY PORTÁLŮ FAJN SKUPINY
   (převzato z nahled-zivotopisu-varianty.css — _cv_footer_skupina.php)
   ============================================================= */
.cv-skupina-footer {
    margin-top: 1.25rem;
    padding: 2rem 2.5rem;
    background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 1.25rem;
}

.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; border-radius: 1rem; }
    .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; }
}

/* =============================================================
   SCROLL REVEAL — sekce CV se plynule zobrazí při vjezdu do viewportu
   ============================================================= */
.cv-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--reveal-delay, 0ms);
}
.cv-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .cv-reveal { opacity: 1; transform: none; transition: none; }
}

/* =============================================================
   MIKRO-INTERAKCE — hover na chipech, kartách, badges
   ============================================================= */
.cv-a__chip {
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.cv-a__chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255,140,0,0.18);
    background: rgba(255,140,0,0.08);
}

.cv-a__trust-badge {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cv-a__trust-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.cv-a__meta-chip {
    transition: transform 0.15s ease;
}
.cv-a__meta-chip:hover { transform: translateY(-1px); }

/* Rozbalovací karty praxí — accordion */
.cv-a__tl-card.is-collapsible {
    cursor: pointer;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.cv-a__tl-card.is-collapsible:hover {
    border-color: rgba(255,140,0,0.35);
    box-shadow: 0 4px 14px rgba(255,140,0,0.1);
}
.cv-a__tl-card.is-collapsible .cv-a__tl-desc {
    max-height: 2.9em;
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease;
}
.cv-a__tl-card.is-collapsible:not(.is-open) .cv-a__tl-desc::after {
    content: "Zobrazit více ▾";
    display: block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #ff8c00;
}
.cv-a__tl-card.is-collapsible.is-open .cv-a__tl-desc {
    max-height: 20em;
}

/* =============================================================
   SEKCE HODNOCENÍ / RECENZE — záměrně odlišný design od CV karty
   (tmavá karta s hvězdičkami + plynule běžící pás recenzí = "nabíhá")
   ============================================================= */
.cv-rev {
    margin-top: 1.5rem;
    padding: 2rem 0 1.75rem;
    background: #fff;
    border: 1px solid rgba(0,119,255,0.14);
    border-radius: 1.25rem;
    box-shadow: 0 8px 28px rgba(0,119,255,0.1);
    overflow: hidden;
    position: relative;
}
.cv-rev::before {
    /* jemný dekorativní glow (modrá vlevo nahoře → oranžová vpravo nahoře),
       propojuje sekci s hero částí brandu. Fixní výška (ne %), ať se
       na vysokém mobilním layoutu nenatáhne do ostrého barevného pruhu. */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 220px;
    background:
        radial-gradient(circle at 12% 0%, rgba(0,119,255,0.10) 0%, transparent 55%),
        radial-gradient(circle at 88% 10%, rgba(255,140,0,0.12) 0%, transparent 55%);
    pointer-events: none;
}

.cv-rev__head {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 0 2.5rem 1.5rem;
}
@media (max-width: 640px) {
    .cv-rev__head { padding: 0 1.25rem 1.25rem; }
    .cv-rev__score { align-items: flex-start; width: 100%; }
    .cv-rev__score-stars { justify-content: flex-start; }
}

.cv-rev__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0077ff;
    margin-bottom: 0.375rem;
}
.cv-rev__title {
    font-size: 1.25rem;
    font-weight: 500;
    color: #1f2937;
    margin: 0;
    letter-spacing: -0.01em;
}

.cv-rev__score {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
}
.cv-rev__score-stars {
    display: flex;
    gap: 0.15rem;
}
.cv-rev__star {
    width: 18px;
    height: 18px;
    color: #d1d5db;
}
.cv-rev__star--full,
.cv-rev__star--half {
    color: #ff8c00;
    fill: #ff8c00;
}
.cv-rev__score-num {
    font-size: 1.375rem;
    font-weight: 500;
    color: #1f2937;
    line-height: 1;
}
.cv-rev__score-total {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #6b7280;
}
.cv-rev__score-sub {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Plynule běžící pás recenzí — nekonečný marquee, "nabíhá" zprava doleva */
.cv-rev__marquee {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.cv-rev__marquee::-webkit-scrollbar { display: none; }

.cv-rev__track {
    display: flex;
    gap: 1rem;
    width: max-content;
    padding: 0 2.5rem;
    animation: cvRevScroll 38s linear infinite;
}
@media (max-width: 640px) {
    .cv-rev__track { padding: 0 1.25rem; animation-duration: 26s; }
}
.cv-rev__track.is-paused { animation-play-state: paused; }
.cv-rev__track.is-dragging { animation-play-state: paused; cursor: grabbing; }

@keyframes cvRevScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .cv-rev__track { animation: none; }
}

.cv-rev__card {
    flex: 0 0 280px;
    background: #fff;
    border: 1px solid rgba(0,119,255,0.12);
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
@media (max-width: 640px) {
    /* Karta o něco užší než viewport (minus padding pásu), ať se na
       mobilu vejde vždy celá jedna karta + náznak další vpravo. */
    .cv-rev__card { flex-basis: min(280px, calc(100vw - 4.5rem)); }
}
.cv-rev__card:hover {
    transform: translateY(-4px);
    border-color: rgba(0,119,255,0.35);
    box-shadow: 0 8px 20px rgba(0,119,255,0.14);
}

.cv-rev__card-stars {
    display: flex;
    gap: 0.125rem;
    margin-bottom: 0.75rem;
}
.cv-rev__card-star {
    width: 14px;
    height: 14px;
    color: #d1d5db;
}
.cv-rev__card-star.is-full {
    color: #ff8c00;
    fill: #ff8c00;
}

.cv-rev__card-text {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #374151;
    margin: 0 0 1rem 0;
    min-height: 4.8em;
}

.cv-rev__card-author {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}
.cv-rev__card-avatar {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0077ff, #ff8c00);
    color: #fff;
    font-weight: 500;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cv-rev__card-name {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #1f2937;
    margin: 0;
}
.cv-rev__card-role {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0.1rem 0 0;
}

.cv-rev__hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    margin: 1.5rem 2.5rem 0;
    font-size: 0.75rem;
    color: #6b7280;
    text-align: center;
}
@media (max-width: 640px) {
    .cv-rev__hint { margin: 1.25rem 1.25rem 0; }
}

/* =============================================================
   CTA — kontaktovat uchazeče / zobrazit hodnocení
   Ilustrační blok pro tým: naznačuje, že konkrétní hodnocení a
   přímé oslovení uchazeče vyžaduje firemní účet na Fajn Správě.
   Gradient spojuje brand barvy Fajn účtu (modrá + oranžová).
   ============================================================= */
.cv-cta {
    margin-top: 1.5rem;
    padding: 2.5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #0077ff 0%, #0060d6 55%, #ff8c00 130%);
    border-radius: 1.25rem;
    box-shadow: 0 12px 32px rgba(0,119,255,0.22);
}
@media (max-width: 640px) {
    .cv-cta { padding: 2rem 1.25rem; border-radius: 1rem; }
}

.cv-cta__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
    background: rgba(255,255,255,0.16);
    border-radius: 999px;
    color: #fff;
}
.cv-cta__icon [data-lucide] { width: 26px; height: 26px; }

.cv-cta__title {
    margin: 0 0 0.625rem;
    color: #fff;
    font-size: 1.375rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}
@media (max-width: 640px) {
    .cv-cta__title { font-size: 1.15rem; }
}

.cv-cta__text {
    max-width: 480px;
    margin: 0 auto 1.5rem;
    color: rgba(255,255,255,0.9);
    font-size: 0.9375rem;
    line-height: 1.55;
}

.cv-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.75rem;
    background: #fff;
    color: #0060d6;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0.75rem;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cv-cta__btn [data-lucide] { width: 19px; height: 19px; }
.cv-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.cv-cta__note {
    margin: 0.875rem 0 0;
    color: rgba(255,255,255,0.75);
    font-size: 0.75rem;
}
