/*
 * Tobalt LT — component styles (portfolio showcase .tbs, tools slider .tts, sector blocks, accordion fixes).
 * Author: Tobalt — https://tobalt.lt
 * Ported from prod frisk-child style.css 1.0.12 (Tobalt's own CSS); Elementor/frisk-only rules and the Slick
 * overrides removed, slider behaviour now in assets/js/site.js.
 */
/**
 * WCAG Accessibility Fixes
 * Author: Tobalt — https://tobalt.lt
 */

/* Focus states — visible only for keyboard navigation, not mouse clicks */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    /* Two-tone ring (dark outline over a yellow halo): 17.4:1 between the two, so it shows on any background (WCAG 2.4.7 / 1.4.11). */
    outline: 2px solid #0A0C00 !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 4px #E3FF04 !important;
    /* The ring appears at once: elements with `transition: all` would otherwise fade it in over 0.3 s. */
    transition: none !important;
}
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none !important;
}

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: #0A0C00;
    color: #E3FF04;
    padding: 12px 24px;
    z-index: 99999;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 8px 8px;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
    outline: none !important;
}

/**
 * Layout 10 — Tobalt Product Showcase
 * Based on Genially product template
 * Author: Tobalt — https://tobalt.lt
 */

.tbs {
    --tbs-bg: #f5f5f5;
    --tbs-dark: #2d2d2d;
    --tbs-white: #ffffff;
    --tbs-glass: rgba(255, 255, 255, 0.7);
    --tbs-glass-dark: rgba(45, 45, 45, 0.7);
    --tbs-font-display: 'Unbounded', sans-serif;
    --tbs-font-body: 'Poppins', sans-serif;
    --tbs-radius: 25px;
    --tbs-blur: blur(6px);

    position: relative;
    font-family: var(--tbs-font-body);
    background: var(--tbs-bg);
}

/* Header - fixed at top */
.tbs__header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
}

/* Counter Button - Frosted Glass */
.tbs__menu-wrap {
    position: relative;
}

.tbs__counter {
    height: 32px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.tbs__counter-num {
    font-family: var(--tbs-font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--tbs-white);
    letter-spacing: 0.04em;
}

.tbs__counter:hover {
    background: rgba(0, 0, 0, 0.85);
}

.tbs__counter:hover .tbs__counter-num {
    color: #E3FF04;
}

/* Dropdown Menu */
.tbs__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    min-width: 280px;
    background: var(--tbs-glass);
    backdrop-filter: var(--tbs-blur);
    -webkit-backdrop-filter: var(--tbs-blur);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    max-height: 400px;
    overflow-y: auto;
}

.tbs__dropdown--open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tbs__dropdown {
    border-radius: var(--tbs-radius);
}

.tbs__dropdown-list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.tbs__dropdown-item {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--tbs-font-body);
    font-size: 0.9375rem;
    color: var(--tbs-dark);
    cursor: pointer;
    transition: background 0.15s ease;
}

.tbs__dropdown-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Navigation Arrows */
.tbs__nav {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tbs-glass);
    backdrop-filter: var(--tbs-blur);
    -webkit-backdrop-filter: var(--tbs-blur);
    border: 2px solid var(--tbs-dark);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.tbs__nav svg {
    width: 16px;
    height: 16px;
    color: var(--tbs-dark);
}

.tbs__nav:hover {
    background: var(--tbs-dark);
    border-color: var(--tbs-dark);
}

.tbs__nav:hover svg {
    color: var(--tbs-white);
}

.tbs__nav:active {
    transform: scale(0.95);
}

/* Lime border on image hover */
.tbs:hover .tbs__nav {
    border-color: #E3FF04;
}

/* Slider */
.tbs__slider {
    width: 100%;
}

.tbs__slide {
    outline: none;
    display: block !important;
    height: 600px;
}

/* Image Wrapper - full width */
.tbs__image-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 15px;
}

/* Scrollable Image Container */
.tbs__image-scroll::-webkit-scrollbar {
    display: none;
}

/* Image container - holds image and hotspots */
.tbs__image-container {
    position: relative;
    width: 100%;
    display: inline-block;
}

/* Image - full width, natural proportional height */
.tbs__img {
    display: block;
    width: 100%;
    height: auto;
}

/* Title Footer with Dark Grey Gradient */
.tbs__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(45, 45, 45, 0.95) 0%, rgba(45, 45, 45, 0.6) 60%, transparent 100%) !important;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-radius: 0 0 15px 15px;
}

.tbs__title {
    font-family: var(--tbs-font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--tbs-white);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    flex: 1;
}

.tbs__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tbs__title a:hover {
    color: #E3FF04;
}

.tbs__footer-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid var(--tbs-white);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.tbs__footer-link svg {
    width: 16px;
    height: 16px;
    color: var(--tbs-white);
}

.tbs__footer-link:hover {
    background: #E3FF04;
    border-color: #E3FF04;
}

.tbs__footer-link:hover svg {
    color: var(--tbs-dark);
}


/* Hotspots - lime color */
.tbs__hotspot {
    position: absolute;
    width: 32px;
    height: 32px;
    transform: translate(-50%, -50%);
    background: #E3FF04;
    border: 2px solid #E3FF04;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(227, 255, 4, 0.4);
}

.tbs__hotspot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--tbs-dark);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

/* Tooltip on hover */
.tbs__hotspot::after {
    content: 'Sužinokite daugiau apie atliktus darbus';
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%);
    margin-bottom: 10px;
    padding: 8px 14px;
    background: var(--tbs-dark);
    color: var(--tbs-white);
    font-family: var(--tbs-font-body);
    font-size: 0.8125rem;
    white-space: nowrap;
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
}

.tbs__hotspot:hover::after {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .tbs__hotspot::after {
        display: none !important;
    }
}

.tbs__hotspot-ring {
    position: absolute;
    inset: -6px;
    border: 2px solid #E3FF04;
    border-radius: 50%;
    opacity: 0;
    animation: tbs-pulse 2s ease-out infinite;
}

@keyframes tbs-pulse {
    0% { transform: scale(0.8); opacity: 0.6; }
    100% { transform: scale(1.5); opacity: 0; }
}

.tbs__hotspot:hover {
    background: var(--tbs-dark);
    border-color: var(--tbs-dark);
    transform: translate(-50%, -50%) scale(1.1);
}

.tbs__hotspot:hover::before {
    background: #E3FF04;
}

/* Modal */
.tbs__modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 45, 45, 0.85);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tbs__modal--open {
    opacity: 1;
    visibility: visible;
}

.tbs__modal-card {
    position: relative;
    max-width: 480px;
    width: 90%;
    padding: 32px;
    background: var(--tbs-white);
    border-radius: var(--tbs-radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tbs__modal--open .tbs__modal-card {
    transform: scale(1) translateY(0);
}

.tbs__modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid var(--tbs-dark);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tbs__modal-close svg {
    width: 18px;
    height: 18px;
    color: var(--tbs-dark);
}

.tbs__modal-close:hover {
    background: var(--tbs-dark);
}

.tbs__modal-close:hover svg {
    color: var(--tbs-white);
}

.tbs__modal-title {
    font-family: var(--tbs-font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--tbs-dark);
    margin: 0 0 16px;
    padding-right: 40px;
    line-height: 1.3;
}

.tbs__modal-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--tbs-dark);
    margin: 0;
}

/* Slides stacked; the current one fades in (replaces prod's Slick fade mode) */
.tbs__slider {
    position: relative;
    height: 600px;
}

.tbs__slider .tbs__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease-out, visibility 0s 0.25s;
}

.tbs__slider .tbs__slide.is-current {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.25s ease-out;
}

/* Ensure scroll container works - free native scroll */
.tbs__image-scroll {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: scroll !important;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border-radius: 15px;
}

.tbs__image-scroll::-webkit-scrollbar {
    display: none;
}

/* Responsive */
@media (max-width: 992px) {
    .tbs__slide {
        height: 500px;
    }

    .tbs__slider {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .tbs__header {
        padding: 12px 16px;
        gap: 8px;
    }

    .tbs__nav {
        width: 42px;
        height: 42px;
    }

    .tbs__counter-num {
        font-size: 0.8125rem;
    }

    .tbs__overlay {
        padding: 12px 16px;
    }

    .tbs__title {
        font-size: 0.875rem;
    }

    .tbs__footer-link {
        width: 32px;
        height: 32px;
    }

    .tbs__footer-link svg {
        width: 14px;
        height: 14px;
    }

    .tbs__slide {
        height: 450px;
    }

    .tbs__slider {
        height: 450px;
    }

    .tbs__dropdown {
        min-width: 240px;
    }

    .tbs__nav {
        width: 32px;
        height: 32px;
    }

    .tbs__counter-num {
        font-size: 0.75rem;
    }

    .tbs__nav svg {
        width: 14px;
        height: 14px;
    }

    .tbs__modal-card {
        padding: 24px;
        max-height: 90vh;
        overflow-y: auto;
    }
}

@media (max-width: 480px) {
    .tbs__slide {
        height: 400px;
    }

    .tbs__slider {
        height: 400px;
    }

    .tbs__hotspot {
        width: 28px;
        height: 28px;
    }

    .tbs__hotspot::before {
        width: 5px;
        height: 5px;
    }

    .tbs__nav {
        width: 28px;
        height: 28px;
    }

    .tbs__counter-num {
        font-size: 0.6875rem;
    }

    .tbs__nav svg {
        width: 12px;
        height: 12px;
    }
}

/**
 * Tools Slider — Light Design
 * Author: Tobalt — https://tobalt.lt
 */

.tts-slider { margin: 0 -12px; }
.tts-slider .slick-slide { box-sizing: border-box; }
.tts-slide { padding: 0 12px; }
.tts-slider.slick-initialized .slick-list { overflow: hidden; }

.tts-slider .slick-dots {
    text-align: center;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}
.tts-slider .slick-dots li { display: inline-block; margin: 0; }
/* 24 px hit area (WCAG 2.5.8) around the 8 px dot; centres 24 px apart as before (8 + 2 × 5 margin ≈ 18 → 24). */
.tts-slider .slick-dots li button {
    position: relative; width: 24px; height: 24px; margin: -8px 0; padding: 0;
    border: none; background: none;
    font-size: 0; cursor: pointer;
}
.tts-slider .slick-dots li button::before {
    content: ""; position: absolute; top: 8px; left: 8px; width: 8px; height: 8px;
    border-radius: 50%; background: rgba(0,0,0,0.15); transition: all 0.2s ease;
}
.tts-slider .slick-dots li.slick-active button::before {
    background: #0A0C00;
    transform: scale(1.3);
}

.tts-card {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem 1.75rem 1.5rem;
    min-height: 280px;
    color: #1a1a1a;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
    border-left: 3px solid rgba(0,0,0,0.08);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.tts-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    color: #1a1a1a;
    border-color: rgba(0,0,0,0.12);
}

/* Card header — icon + badge */
.tts-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}
.tts-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    flex-shrink: 0;
}
.tts-card__icon i {
    font-size: 1.1rem;
}
.tts-card__badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 4px 11px;
    border-radius: 20px;
    line-height: 1.4;
    white-space: nowrap;
}

/* Card body */
.tts-card__body { flex: 1; }
.tts-card__title {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 0.625rem;
    color: #0A0C00;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tts-card__tagline {
    font-size: 0.8125rem;
    color: rgba(0,0,0,0.55);
    line-height: 1.65;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tts-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.25rem;
    padding-top: 0.875rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    gap: 8px;
}
.tts-card__link-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(0,0,0,0.6);
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}
.tts-card:hover .tts-card__link-text { color: #0A0C00; }
.tts-card__arrow {
    color: rgba(0,0,0,0.3);
    transition: transform 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}
.tts-card:hover .tts-card__arrow {
    transform: translateX(4px);
    color: #0A0C00;
}

/* CTA card (last) — subtle outline style */
.tts-card--cta {
    background: #fafafa;
    border: 2px dashed rgba(0,0,0,0.12);
    border-left: 3px solid #0A0C00;
}
.tts-card--cta:hover { border-color: rgba(0,0,0,0.2); border-left-color: #0A0C00; }
.tts-card--cta .tts-card__title { color: #0A0C00; }
.tts-card--cta .tts-card__tagline { color: rgba(0,0,0,0.62); }
.tts-card--cta .tts-card__icon { background: #0A0C00; }
.tts-card--cta .tts-card__icon i { color: #E3FF04; }

/* Tools slider — Arrow placement (below cards, centered) */
.tts-slider .slick-arrow {
    position: absolute;
    bottom: -48px;
    top: auto;
    width: 42px;
    height: 42px;
    z-index: 10;
    background: #fff;
    border: 1.5px solid rgba(0,0,0,0.12);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}
.tts-slider .slick-arrow:hover {
    background: #f5f5f5;
    border-color: rgba(0,0,0,0.2);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.tts-slider .slick-arrow::before {
    color: #0A0C00;
    font-size: 13px;
    line-height: 1;
    display: block;
}
.tts-slider .slick-arrow:hover::before { color: #0A0C00; }
.tts-slider .slick-prev { left: calc(50% - 50px); }
.tts-slider .slick-next { right: calc(50% - 50px); }
.tts-slider { padding-bottom: 60px; position: relative; }
.tts-slider .slick-dots { margin-top: 8px; }

/* Tools slider — Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    .tts-card { min-height: 260px; padding: 1.5rem 1.5rem 1.25rem; }
    .tts-card__title { font-size: 1rem; }
}

/* Tools slider — Mobile */
@media (max-width: 767px) {
    .tts-card {
        min-height: auto;
        padding: 1.25rem;
        border-radius: 14px;
    }
    .tts-card__header { margin-bottom: 0.625rem; }
    .tts-card__icon { width: 34px; height: 34px; border-radius: 8px; }
    .tts-card__icon i { font-size: 0.9rem; }
    .tts-card__title { font-size: 0.9rem; -webkit-line-clamp: 3; }
    .tts-card__tagline { font-size: 0.775rem; -webkit-line-clamp: 4; }
    .tts-card__badge { font-size: 0.6875rem; padding: 3px 9px; }
    .tts-card__footer { margin-top: 0.875rem; padding-top: 0.625rem; }
    .tts-slider { margin: 0 -6px; padding-bottom: 52px; }
    .tts-slide { padding: 0 6px; }
    .tts-slider .slick-arrow { width: 36px; height: 36px; bottom: -44px; }
    .tts-slider .slick-prev { left: calc(50% - 46px); }
    .tts-slider .slick-next { right: calc(50% - 46px); }
}

/**
 * FAQ Accordion — Mobile Fixes
 * Author: Tobalt — https://tobalt.lt
 */

@media (max-width: 767px) {
    .tts-slider { margin: 0 -8px; }
    .tts-slide { padding: 0 8px; }
    .tts-card {
        padding: 1.5rem 1.25rem 1.25rem;
        min-height: 240px;
        border-radius: 14px;
    }
    .tts-card__title { font-size: 0.95rem; }
    .tts-card__tagline { font-size: 0.8rem; }
    .tts-card__footer { margin-top: 1rem; padding-top: 0.75rem; }
    .tts-card__icon { width: 36px; height: 36px; border-radius: 8px; }
    .tts-card__icon i { font-size: 0.875rem; }
    .tts-card__header { margin-bottom: 0.75rem; }

    .accordion-area .accordion-button {
        width: 100%;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        gap: 12px;
    }
    .accordion-area .accordion-body { max-width: 100%; }
}

@media (max-width: 480px) {
    .tts-slider { margin: 0 -6px; }
    .tts-slide { padding: 0 6px; }
    .tts-card {
        padding: 1.25rem 1.125rem 1rem;
        min-height: 170px;
        border-radius: 14px;
    }
    .tts-card__title { font-size: 0.85rem; }
    .tts-card__footer { margin-top: 0.875rem; padding-top: 0.625rem; }

    .accordion-area .accordion-button {
        font-size: 16px;
        padding: 14px 12px;
    }
    .accordion-area .faq-number {
        margin-right: 8px;
        font-size: 13px;
        flex-shrink: 0;
    }
    .accordion-area .accordion-body { padding: 0 12px 14px; }
    .accordion-area .faq-text { font-size: 15px; }
}


/**
 * Layout 10 — Scroll Progress Indicator
 * Author: Tobalt — https://tobalt.lt
 */

.tbs__scroll-progress {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 12;
    width: 44px;
    height: 44px;
    pointer-events: none;
    transition: opacity 0.3s ease;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.tbs__scroll-ring {
    position: absolute;
    inset: 2px;
    width: 40px;
    height: 40px;
    transform: rotate(-90deg);
}

.tbs__scroll-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.35);
    stroke-width: 2;
}

.tbs__scroll-ring-fill {
    fill: none;
    stroke: #E3FF04;
    stroke-width: 2.5;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.15s ease-out;
}

.tbs__scroll-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    color: #fff;
    animation: tbs-bounce 1.5s ease-in-out infinite;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.tbs__scroll-progress--scrolled .tbs__scroll-arrow {
    animation: none;
}

.tbs__scroll-progress--done {
    opacity: 0.3;
}

@keyframes tbs-bounce {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, calc(-50% + 4px)); }
}

@media (max-width: 768px) {
    .tbs__scroll-progress {
        width: 32px;
        height: 32px;
        bottom: 70px;
    }

    .tbs__scroll-ring {
        width: 32px;
        height: 32px;
    }

    .tbs__scroll-arrow {
        width: 14px;
        height: 14px;
    }
}

/**
 * Layout 11 — Tobalt Bubble Map
 * Interactive sector category bubbles
 * Author: Tobalt — https://tobalt.lt
 */

.tbb {
    --tbb-bg: #0A0C00;
    --tbb-accent: #E3FF04;
    --tbb-glass: rgba(255, 255, 255, 0.08);
    --tbb-glass-border: rgba(255, 255, 255, 0.12);
    --tbb-font-display: 'Unbounded', sans-serif;
    --tbb-font-body: 'Poppins', sans-serif;

    position: relative;
    font-family: var(--tbb-font-body);
    background: var(--tbb-bg);
    padding: 60px 20px 80px;
    overflow: hidden;
}

.tbb__header {
    text-align: center;
    margin-bottom: 48px;
}

.tbb__heading {
    font-family: var(--tbb-font-display);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.tbb__subheading {
    font-size: clamp(0.875rem, 1.5vw, 1.125rem);
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.tbb__canvas {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    min-height: 300px;
}

.tbb__bubble {
    position: absolute;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: var(--tbb-glass);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid var(--tbb-glass-border);
    cursor: pointer;
    text-decoration: none;
    opacity: 0;
    transform: scale(0);
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    will-change: transform, opacity;
    padding: 10px;
    box-sizing: border-box;
}

.tbb__bubble--visible {
    opacity: 1;
    transform: scale(1);
    animation: tbb-pop-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes tbb-pop-in {
    0% { opacity: 0; transform: scale(0); }
    100% { opacity: 1; transform: scale(1); }
}

.tbb__bubble--float {
    animation: tbb-float 4s ease-in-out infinite;
}

@keyframes tbb-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-6px) scale(1); }
}

.tbb__bubble:hover {
    border-color: var(--tbb-accent);
    transform: scale(1.08) !important;
    background: rgba(227, 255, 4, 0.08);
    animation-play-state: paused;
}

.tbb__bubble:focus-visible {
    outline: 2px solid var(--tbb-accent);
    outline-offset: 3px;
}

.tbb__bubble-count {
    font-family: var(--tbb-font-display);
    font-size: clamp(1.25rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--tbb-accent);
    line-height: 1;
}

.tbb__bubble-name {
    font-size: clamp(0.6rem, 1.2vw, 0.8rem);
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    line-height: 1.2;
    word-break: break-word;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-width: 90%;
}

/* Preview Tooltip */
.tbb__preview {
    position: absolute;
    z-index: 100;
    width: 280px;
    padding: 16px;
    background: rgba(30, 30, 30, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-100%) translateY(-10px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.tbb__preview--visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-100%) translateY(0);
    pointer-events: auto;
}

.tbb__preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 10px;
}

.tbb__preview-thumb {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
}

.tbb__preview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tbb__preview-cta {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--tbb-accent);
    text-align: center;
}

/* Responsive — Tablet */
@media (max-width: 992px) {
    .tbb__canvas {
        max-width: 700px;
    }

    .tbb {
        padding: 48px 16px 64px;
    }
}

/* Responsive — Mobile */
@media (max-width: 768px) {
    .tbb {
        padding: 40px 12px 56px;
    }

    .tbb__header {
        margin-bottom: 32px;
    }

    .tbb__preview {
        width: 240px;
    }
}

/* Responsive — Small mobile: bottom sheet preview */
@media (max-width: 480px) {
    .tbb__preview--bottom,
    .tbb__preview--bottom.tbb__preview--visible {
        position: fixed;
        bottom: 0;
        left: 0 !important;
        right: 0;
        top: auto !important;
        width: 100%;
        max-width: 100%;
        border-radius: 16px 16px 0 0;
        transform: translateY(100%);
        z-index: 9999;
    }

    .tbb__preview--bottom.tbb__preview--visible {
        transform: translateY(0);
    }
}

/* Phones: the cookie box (tobalt-sausainiai) covered ~40 % of the first screen; accept/reject share one row, settings becomes a text-height button.
   The vendor's own ≤640 px rules use !important, so the properties it locks need it here too. */
@media (max-width: 575px) {
    #cc-main .cm.cm--box .cm__texts { padding: 10px 0 0; }
    #cc-main .cm.cm--box .cm__title, #cc-main .cm.cm--box .cm__desc, #cc-main .cm.cm--box .cm__btns { padding-left: 16px !important; padding-right: 16px !important; }
    /* the description already starts with "Mes naudojame slapukus": the title stays for screen readers (aria-labelledby) only */
    #cc-main .cm.cm--box .cm__title { position: absolute !important; width: 1px; height: 1px; padding: 0 !important; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
    #cc-main .cm.cm--box .cm__desc { margin: 0; padding-bottom: 0; font-size: 13px; line-height: 1.45; }
    #cc-main .cm.cm--box .cm__btns { padding-top: 8px; padding-bottom: 4px; border-top: 0 !important; }
    #cc-main .cm.cm--box .cm__btn-group:first-child { flex-direction: row !important; gap: 8px; }
    #cc-main .cm.cm--box .cm__btn-group:first-child .cm__btn { flex: 1 1 0 !important; margin: 0 !important; }
    #cc-main .cm.cm--box .cm__btn { min-height: 44px; padding: 8px 4px; font-size: 14px; white-space: nowrap; }
    #cc-main .cm.cm--box .cm__btn--secondary { min-height: 28px; padding: 2px 4px; border-color: transparent; background: none; text-decoration: underline; }
}
@media (max-width: 374px) {
    #cc-main .cm.cm--box .cm__desc { font-size: 12.5px; line-height: 1.4; }
    #cc-main .cm.cm--box .cm__btn { font-size: 13px; }
}


/**
 * Remove text-transform capitalize/uppercase from headings and titles globally.
 * Author: Tobalt — https://tobalt.lt
 */
h1, h2, h3, h4, h5, h6,
.title,
.section-title,
.sidebar__widget-title,
.blog__details-content .title,
.blog-post-content .title,
.widget .title,
.section-heading .title,
.breadcrumb-content .title,
.services__item-title,
.footer-widget .fw-title,
.about__content .title,
.team__content .title,
.pricing__header .title,
.testimonial__item .title,
.contact__info-title,
.project__content .title,
.error-content .title,
.btn,
.tag-list a,
.sidebar__cat-list a,
.section-title .sub-title,
.blog-post-meta .list-wrap li {
    text-transform: none !important;
}

/* Deferred showcase screenshots (site.js fills them); without JS the <noscript> copy next to each is shown instead. */
html:not(.tlt-js) img[data-tlt-src] { display: none; }
