    /* ===== Sistema veikime ===== */
    /* Švelni šviesiai mėlyna spalva; viršuje ir apačioje – ta pati banga kaip kituose blokuose. */
    #sistema-veikime {
      background:
        radial-gradient(ellipse 50% 45% at 100% 0%, rgba(245, 197, 24, 0.07), transparent 60%),
        linear-gradient(180deg, #eef3fd 0%, #f3f7fe 100%);
      padding: 96px 0 140px;
      position: relative;
      overflow: hidden;
    }
    #sistema-veikime .container { position: relative; z-index: 2; }
    #sistema-veikime::after {
      content: '';
      position: absolute;
      bottom: -1px; left: 0; right: 0;
      height: 72px;
      background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 72' preserveAspectRatio='none'%3E%3Cpath fill='%23fffbeb' d='M0,40 C360,72 720,8 1080,40 C1260,56 1380,56 1440,40 L1440,72 L0,72 Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
      pointer-events: none;
      z-index: 1;
    }
    @media (max-width: 560px) { #sistema-veikime { padding: 72px 0 110px; } }
    .wd-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
    .wd-tab {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 11px 20px; border-radius: 999px; border: 1.5px solid var(--gray-200);
      background: #fff; color: var(--gray-600); font: 600 0.92rem Inter, sans-serif;
      cursor: pointer; transition: all 0.25s ease;
    }
    .wd-tab svg { width: 18px; height: 18px; }
    .wd-tab:hover { border-color: rgba(26, 58, 143, 0.4); color: var(--blue); }
    .wd-tab[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(26, 58, 143, 0.3); }
    .wd-tab:focus-visible { outline: 3px solid rgba(43, 77, 184, 0.45); outline-offset: 2px; }

    .wd-panel { display: none; grid-template-columns: 4.3fr 7.7fr; gap: 48px; align-items: center; }
    .wd-panel.active { display: grid; animation: wdIn 0.5s ease; }
    @keyframes wdIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
    .wd-text h3 { font-size: 1.6rem; letter-spacing: -0.02em; color: var(--gray-900); margin-bottom: 12px; line-height: 1.25; }
    .wd-text > p { color: var(--gray-600); margin-bottom: 22px; }
    .wd-checks { list-style: none; display: grid; gap: 12px; margin-bottom: 26px; }
    .wd-checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--gray-800); font-weight: 500; }
    .wd-tick { flex-shrink: 0; width: 24px; height: 24px; border-radius: 8px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
    .wd-tick svg { width: 14px; height: 14px; }
    .wd-more { color: var(--blue); font-weight: 600; }
    .wd-more:hover { text-decoration: underline; }

    .wd-frame { background: #fff; border: 1px solid var(--gray-200); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
    .wd-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--gray-100); border-bottom: 1px solid var(--gray-200); }
    .wd-dot { width: 11px; height: 11px; border-radius: 50%; }
    .wd-dot:nth-child(1) { background: #f87171; } .wd-dot:nth-child(2) { background: #fbbf24; } .wd-dot:nth-child(3) { background: #4ade80; }
    .wd-url { margin-left: 10px; flex: 1; background: #fff; border: 1px solid var(--gray-200); border-radius: 8px; padding: 3px 12px; font-size: 0.75rem; color: #94a3b8; }
    .wd-body { position: relative; aspect-ratio: 2560 / 1455; background: var(--gray-50); overflow: hidden; }
    .wd-body img.wd-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
    .wd-url { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

    .wd-stats { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .wd-stat { background: #fff; border: 1px solid var(--gray-200); border-radius: 20px; padding: 26px; text-align: center; transition: 0.25s ease; }
    .wd-stat:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(26, 58, 143, 0.08); }
    .wd-stat strong { display: block; font-size: 2.2rem; letter-spacing: -0.03em; color: var(--blue); line-height: 1.1; margin-bottom: 6px; }
    .wd-stat span { color: var(--gray-600); font-size: 0.95rem; }


    @media (max-width: 900px) {
      .wd-panel.active { grid-template-columns: 1fr; gap: 28px; }
      .wd-stats { grid-template-columns: 1fr; }
    }
    @media (max-width: 560px) {
      .wd-tab { padding: 9px 14px; font-size: 0.85rem; }
    }
    @media (prefers-reduced-motion: reduce) { .wd-panel.active { animation: none; } }

    .wd-panels { position: relative; }
    .wd-panel[hidden] { display: none; }
    .wd-body img.wd-shot { height: 100%; }
    .wd-tab[role="tab"] { -webkit-tap-highlight-color: transparent; }
    #sistema-veikime .wd-text .wd-more { display: inline-block; }


    /* Priartinta nuotrauka + visos nuotraukos peržiūra */
    .wd-body { overflow: hidden; }
    .wd-frame[data-full] { cursor: zoom-in; }
    .wd-frame[data-full]:focus-visible { outline: 3px solid rgba(43, 77, 184, 0.45); outline-offset: 3px; }
    .wd-zoom-hint {
      position: absolute; right: 12px; bottom: 12px; z-index: 2;
      background: rgba(15, 37, 87, 0.88); color: #fff; font-size: 0.74rem; font-weight: 600;
      padding: 6px 12px; border-radius: 999px; pointer-events: none;
    }
    .wd-lightbox {
      position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
      padding: 40px 24px; background: rgba(15, 23, 42, 0.82);
    }
    .wd-lightbox[hidden] { display: none; }
    .wd-lightbox img { max-width: min(1600px, 100%); max-height: 100%; width: auto; height: auto; border-radius: 12px; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); cursor: zoom-out; }
    .wd-lightbox-close {
      position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; border-radius: 50%;
      border: 0; background: #fff; color: #0f172a; font-size: 1.8rem; line-height: 1; cursor: pointer;
    }
    body.wd-lightbox-open { overflow: hidden; }
