/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
    --green-50: #eefbf4;
    --green-100: #d4f5e3;
    --green-200: #a3ebc6;
    --green-300: #6ddba6;
    --green-400: #4dd08b;
    --green-500: #2dc471;
    --green-600: #25a15d;
    --green-700: #1d824b;
    --green-800: #17663c;

    --blue-50: #edf5fa;
    --blue-100: #d6eaf5;
    --blue-700: #005a93;
    --blue-800: #003d66;
    --blue-900: #004672;
    --blue-950: #002d4a;

    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    --white: #ffffff;
    --font-body: 'Nunito Sans', system-ui, -apple-system, sans-serif;
    --font-heading: 'Sora', 'Nunito Sans', sans-serif;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 30px rgba(45, 196, 113, 0.15);

    --radius-sm: 0;
    --radius-md: 0;
    --radius-lg: 0;
    --radius-xl: 0;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =============================================
   RESET & BASE
   ============================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    line-height: 1.7;
    font-size: 16px;
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 700;
}

.container {
    width: 100%;
    max-width: 1342px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Visually hidden â€” accessible to screen readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 100001;
    padding: 12px 24px;
    background: var(--green-600);
    color: #0f172a;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-size: 0.95rem;
}

.skip-link:focus {
    top: 16px;
}

/* Global focus indicator */
*:focus-visible {
    outline: 2px solid var(--green-500);
    outline-offset: 2px;
}

/* Form inputs get their own focus style */
.form-group input:focus-visible,
.form-group textarea:focus-visible {
    outline: none;
    border-color: var(--green-500);
    box-shadow: 0 0 0 3px rgba(45, 196, 113, 0.3);
}

/* =============================================
   PAGE TRANSITIONS
   ============================================= */
.page-transition {
    position: fixed;
    inset: 0;
    background: #0f172a;
    z-index: 99999;
    pointer-events: none;
    opacity: 1;
    animation: pageFadeIn 0.5s var(--ease) 0.05s forwards;
}

.page-transition--out {
    animation: pageFadeOut 0.4s var(--ease) forwards;
}

@keyframes pageFadeIn {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes pageFadeOut {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* =============================================
   SCROLL PROGRESS BAR
   ============================================= */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--green-500), var(--green-400));
    z-index: 10000;
    transition: width 0.1s linear;
}

/* =============================================
   REVEAL ANIMATIONS
   ============================================= */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    will-change: opacity, transform;
}

/* Stan ukryty stosowany TYLKO na stronie glownej (body.home) i tylko gdy JS jest
   aktywny — bo obserwator odslaniajacy (.visible) jest w main.js ladowanym wylacznie
   na stronie glownej. Na podstronach .reveal pozostaje widoczny (opacity:1), co
   zapobiega ukryciu tresci tam, gdzie obserwatora nie ma. */
html.js body.home .reveal {
    opacity: 0;
    transform: translateY(30px);
}

html.js body.home .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    transition: all 0.3s var(--ease);
    cursor: pointer;
    white-space: nowrap;
}

.btn--primary {
    background-color: #2dc471;
    color: var(--blue-950);
    box-shadow: 0 4px 14px rgba(37, 163, 94, 0.25);
}

.btn--primary:hover {
    transform: translateY(-2px);
    background-color: #2dc471;
    color: var(--blue-950);
    box-shadow: 0 8px 25px rgba(37, 163, 94, 0.35);
}

.btn--outline {
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    backdrop-filter: blur(4px);
    background: rgba(255, 255, 255, 0.05);
}

.btn--outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.12);
}

.btn--full {
    width: 100%;
}

/* =============================================
   HEADER
   ============================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    background: #ffffff;
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.4s var(--ease);
}

.header.scrolled {
    padding: 10px 0;
    background: #ffffff;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    z-index: 10001;
}

.logo__text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.75rem;
    letter-spacing: 0.06em;
    color: var(--blue-900);
    line-height: 1;
    transition: color 0.4s var(--ease);
}

.logo__img {
    height: 28px;
    width: auto;
    display: block;
}

/* Header CTA */
.header__cta {
    font-size: 0.85rem;
    padding: 10px 20px;
    z-index: 10001;
    white-space: nowrap;
    margin-left: 12px;
}

.nav__cta-mobile {
    display: none;
}

/* Mobile nav hidden on desktop */
.nav--mobile {
    display: none;
}

.nav__mobile-header {
    display: none;
}

.nav__mobile-footer {
    display: none;
}

/* Navigation */
.nav__list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav__link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    transition: all 0.3s var(--ease);
    letter-spacing: -0.01em;
}

.nav__link:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

.nav__chevron {
    transition: transform 0.3s var(--ease);
}

.nav__item.open .nav__chevron {
    transform: rotate(180deg);
}

/* Dropdown â€” hover-based mega menu */
.nav__item {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(8px);
    min-width: 340px;
    padding-top: 16px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s 0.4s;
}

.nav__item.open .dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s 0s;
}

/* Prevent right-side dropdowns from going off-screen */
.nav__item:nth-last-child(-n+3) .dropdown {
    left: auto;
    right: 0;
}

.dropdown__grid {
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.04);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.header.scrolled .dropdown__grid {
    background: #ffffff;
}

.dropdown__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    transition: all 0.25s var(--ease);
}

.dropdown__item:hover {
    background: var(--green-50);
    transform: translateX(4px);
}

.dropdown__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--gray-50);
    color: var(--green-600);
    transition: all 0.25s var(--ease);
}

.dropdown__item:hover .dropdown__icon {
    background: var(--green-100);
    color: var(--green-700);
}

.dropdown__title {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray-900);
}

.dropdown__desc {
    display: block;
    font-size: 0.78rem;
    color: var(--gray-600);
    margin-top: 2px;
}

/* Wide dropdown - System obslugi banku (2-column) */
#dropdown-platforma .dropdown__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

#dropdown-platforma {
    min-width: 660px;
}

/* Wide dropdowns — any top menu with 8+ links uses 2 columns on desktop */
.nav--desktop .dropdown:has(.dropdown__item:nth-child(8)) {
    min-width: 660px;
}

.nav--desktop .dropdown__grid:has(> .dropdown__item:nth-child(8)) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

/* Firma dropdown can stay a touch narrower because labels are shorter */
#dropdown-ofirmie .dropdown__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

#dropdown-ofirmie {
    min-width: 560px;
}

/* Hamburger */
.hamburger {
    display: none;
    position: relative;
    z-index: 10001;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1.5px solid var(--gray-300);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.hamburger:hover {
    border-color: var(--gray-400);
    background: rgba(255, 255, 255, 0.95);
}

.hamburger__lines {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 20px;
    height: 20px;
}

.hamburger__line {
    width: 20px;
    height: 2.5px;
    border-radius: 0;
    background: var(--gray-800);
    transition: all 0.3s var(--ease);
}

.hamburger__label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-700);
    letter-spacing: 0.02em;
}

.hamburger.active .hamburger__line:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active .hamburger__line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger__line:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* =============================================
   HERO â€” SLIDER
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.novum-ai-media-label {
    position: absolute;
    right: clamp(16px, 2vw, 32px);
    bottom: clamp(16px, 2vw, 28px);
    z-index: 8;
    max-width: calc(100% - 32px);
    padding: 7px 10px;
    background: rgba(2, 28, 49, .8);
    border: 1px solid rgba(255, 255, 255, .35);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    pointer-events: none;
}

/* Slides (stacked, smooth crossfade + scale transition) */
.hero__slide {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__slide--active {
    z-index: 2;
}

.hero__slide--leaving {
    z-index: 1;
}

/* Independent hotspot layer â€” sits above overlay & hero__content
   so tooltips are visible without lifting the entire slide */
.hero__hotspots-layer {
    position: absolute;
    inset: 0;
    z-index: 6;
    pointer-events: none;
}

.hero__hotspots-layer .hero__hotspots {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s var(--ease);
}

.hero__hotspots-layer .hero__hotspots.hero__hotspots--active {
    opacity: 1;
}

.hero__slide .hero__bg {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1.6s cubic-bezier(0.4, 0, 0.2, 1),
        transform 1.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__slide--active .hero__bg {
    opacity: 1;
    transform: scale(1);
}

/* Outgoing slide â€” stays visible underneath while incoming fades in on top */
.hero__slide--leaving .hero__bg {
    opacity: 1;
    transform: scale(0.97);
    transition: transform 1.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__slide .hero__bg-image,
.hero__slide .hero__bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    scale: var(--hero-media-scale, 1);
}

/* Background effects â€” per-slide animation (images & video) */
/* Default: Ken Burns (zoom + pan) */
.hero__slide--active .hero__bg-image,
.hero__slide--active .hero__bg-video {
    animation: kenBurns var(--bg-fx-speed, 20s) ease-in-out infinite alternate;
}

/* Effect overrides via data-bg-effect attribute */
.hero__slide--active[data-bg-effect="zoom-in"] .hero__bg-image,
.hero__slide--active[data-bg-effect="zoom-in"] .hero__bg-video {
    animation: heroZoomIn var(--bg-fx-speed, 20s) ease-out forwards;
}

.hero__slide--active[data-bg-effect="zoom-out"] .hero__bg-image,
.hero__slide--active[data-bg-effect="zoom-out"] .hero__bg-video {
    animation: heroZoomOut var(--bg-fx-speed, 20s) ease-out forwards;
}

.hero__slide--active[data-bg-effect="pan-left"] .hero__bg-image,
.hero__slide--active[data-bg-effect="pan-left"] .hero__bg-video {
    animation: heroPanLeft var(--bg-fx-speed, 20s) ease-in-out infinite alternate;
}

.hero__slide--active[data-bg-effect="pan-right"] .hero__bg-image,
.hero__slide--active[data-bg-effect="pan-right"] .hero__bg-video {
    animation: heroPanRight var(--bg-fx-speed, 20s) ease-in-out infinite alternate;
}

.hero__slide--active[data-bg-effect="none"] .hero__bg-image,
.hero__slide--active[data-bg-effect="none"] .hero__bg-video {
    animation: none;
}

@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.06) translate(-0.5%, -0.5%);
    }
}

@keyframes heroZoomIn {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.15);
    }
}

@keyframes heroZoomOut {
    0% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes heroPanLeft {
    0% {
        transform: scale(1.05) translateX(1%);
    }
    100% {
        transform: scale(1.05) translateX(-1%);
    }
}

@keyframes heroPanRight {
    0% {
        transform: scale(1.05) translateX(-1%);
    }
    100% {
        transform: scale(1.05) translateX(1%);
    }
}

/* Hotspots appear with stagger when their group becomes active */
.hero__hotspots-layer .hotspot {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease-bounce);
    pointer-events: none;
}

.hero__hotspots--active .hotspot {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

.hero__hotspots--active .hotspot:nth-child(1) {
    transition-delay: 0.4s;
}

.hero__hotspots--active .hotspot:nth-child(2) {
    transition-delay: 0.55s;
}

.hero__hotspots--active .hotspot:nth-child(3) {
    transition-delay: 0.7s;
}

.hero__hotspots--active .hotspot:nth-child(4) {
    transition-delay: 0.85s;
}

.hero__hotspots--active .hotspot:nth-child(5) {
    transition-delay: 1.0s;
}

.hero__hotspots--active .hotspot:nth-child(6) {
    transition-delay: 1.15s;
}

.hero__hotspots--active .hotspot:nth-child(7) {
    transition-delay: 1.3s;
}

.hero__hotspots--active .hotspot:nth-child(8) {
    transition-delay: 1.45s;
}

/* Overlay (shared, above slides) */
.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(to top, rgba(0, 45, 74, 0.7) 0%, rgba(0, 45, 74, 0.25) 35%, rgba(0, 45, 74, 0.08) 60%, rgba(0, 45, 74, 0.1) 100%);
    pointer-events: none;
    transition: opacity 0.5s ease;
}

/* Slider Dots Navigation */
.hero__slider-nav {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 7;
    display: flex;
    gap: 5px;
    flex-wrap: nowrap;
    justify-content: center;
}

.hero__dot {
    /* Cel klikalny 24x24px (WCAG 2.2 AA / 2.5.8). Sam przycisk jest przezroczysty;
       widoczny kwadrat rysuje ::before, wewnetrzny kwadracik ::after. */
    position: relative;
    width: 32px;
    height: 32px;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

/* Widoczny kwadrat — minimalistycznie: pol-przezroczysta biel z subtelna obwodka
   (czytelne na dowolnym tle zdjecia, bez ciezkiego cienia). */
.hero__dot::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 16px;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.55);
    transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.hero__dot:hover::before {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.9);
}

/* Aktywny: kolor dodatkowy z logo #2dc471 */
.hero__dot--active::before {
    background: #2dc471;
    border-color: #2dc471;
}

/* Slider Progress Bar (thin line under dots) */
.hero__slider-progress {
    position: absolute;
    bottom: 102px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 7;
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 0;
    overflow: hidden;
}

.hero__slider-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--green-400);
    border-radius: 0;
    transition: width 0.1s linear;
}

/* Hero Content */
.hero__content {
    position: relative;
    z-index: 4;
    padding: 0 24px 170px;
    max-width: 800px;
    animation: heroContentIn 1s 0.3s var(--ease) both;
    pointer-events: none;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hero content stays visible when hotspot tooltip is open */
.hero__content a,
.hero__content button {
    pointer-events: auto;
}

.hero__content .hero__glass-frame {
    transition: opacity 0.5s ease;
}

.hero__content .hero__glass-frame.hero__text-fading {
    opacity: 1;
}

@keyframes heroContentIn {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glass Frame around hero text */
.hero__glass-frame {
    background: rgba(0, 45, 74, 0.75);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0;
    padding: 40px 48px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero__title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.gradient-text {
    color: var(--green-500);
}

.hero__subtitle {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: rgba(255, 255, 255, 0.88);
    max-width: 600px;
    margin-bottom: 32px;
    line-height: 1.7;
    font-weight: 400;
}

.hero__cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__cta .btn--primary {
    background-color: #2dc471;
    color: var(--blue-950);
}

.hero__cta .btn--primary:hover {
    background-color: #2dc471;
    color: var(--blue-950);
}

/* Scroll Indicator */
.hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero__scroll-arrow {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(8px);
        opacity: 0.4;
    }
}

/* =============================================
   HOTSPOTS â€” enlarged, glowing, readable
   ============================================= */
.hotspot {
    --hotspot-size: clamp(40px, 3.4vw, 50px);
    --hotspot-backdrop-size: clamp(36px, 3vw, 44px);
    --hotspot-core-size: clamp(18px, 1.5vw, 22px);
    --hotspot-core-active-size: clamp(22px, 1.8vw, 26px);
    position: absolute;
    cursor: pointer;
    width: var(--hotspot-size);
    height: var(--hotspot-size);
    transform: translate(-50%, -50%);
    z-index: 4;
    transition: z-index 0s;
}

/* Raise z-index on hover/active so tooltip appears above other hotspots */
.hotspot:hover,
.hotspot.active {
    z-index: 20;
}

.hotspot__core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: var(--hotspot-core-size);
    height: var(--hotspot-core-size);
    border-radius: 50%;
    background: #2dc471;
    border: 3px solid rgba(255, 255, 255, 0.96);
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.35),
        0 0 0 4px rgba(0, 70, 114, 0.28),
        0 0 22px 6px rgba(45, 196, 113, 0.55);
    z-index: 2;
    transition: all 0.3s var(--ease);
}

/* Static outer glow ring â€” dark backdrop for visibility on any background */
.hotspot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: var(--hotspot-backdrop-size);
    height: var(--hotspot-backdrop-size);
    border-radius: 50%;
    background: rgba(0, 70, 114, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.42);
    box-shadow: 0 0 0 1px rgba(0, 70, 114, 0.2), 0 8px 20px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.hotspot__ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: var(--hotspot-backdrop-size);
    height: var(--hotspot-backdrop-size);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.78);
    box-shadow: 0 0 12px rgba(45, 196, 113, 0.38);
    animation: hotspotPulse 2.6s ease-out infinite;
}

.hotspot__ring--delay {
    animation-delay: 1.5s;
}

@keyframes hotspotPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.9;
    }

    45% {
        opacity: 0.42;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.55);
        opacity: 0;
    }
}

/* Hover state â€” enlarge core */
.hotspot:hover .hotspot__core,
.hotspot.active .hotspot__core {
    width: var(--hotspot-core-active-size);
    height: var(--hotspot-core-active-size);
    background: #2dc471;
    border-color: #fff;
    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.38),
        0 0 0 5px rgba(0, 70, 114, 0.34),
        0 0 28px 8px rgba(45, 196, 113, 0.68);
}

/* Tooltip â€” appears smoothly, stays for comfortable interaction */
.hotspot__tooltip {
    position: absolute;
    display: block;
    top: 50%;
    width: 440px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(45, 196, 113, 0.12);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 40px rgba(45, 196, 113, 0.08);
    padding: 24px 26px;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease-bounce);
    /* Delay hide so user can move mouse to tooltip */
    transition-delay: 0s;
    border-top: 3px solid var(--green-400);
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.hotspot__tooltip:focus-visible {
    outline: 3px solid var(--green-500);
    outline-offset: 4px;
}

.hotspot__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green-700);
    font-size: 0.84rem;
    font-weight: 700;
}

.hotspot__tooltip:hover .hotspot__cta,
.hotspot__tooltip:focus-visible .hotspot__cta {
    color: var(--green-800);
    text-decoration: underline;
}

.hotspot__tooltip--right {
    left: calc(100% + 24px);
    transform-origin: left center;
    transform: scale(0.92) translateX(-12px) translateY(-50%);
}

.hotspot__tooltip--right::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -8px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid rgba(255, 255, 255, 0.98);
    filter: drop-shadow(-2px 0 2px rgba(0, 0, 0, 0.06));
}

.hotspot__tooltip--left {
    right: calc(100% + 24px);
    transform-origin: right center;
    transform: scale(0.92) translateX(12px) translateY(-50%);
}

.hotspot__tooltip--left::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -8px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid rgba(255, 255, 255, 0.98);
    filter: drop-shadow(2px 0 2px rgba(0, 0, 0, 0.06));
}

.hotspot__tooltip--up {
    bottom: calc(100% + 24px);
    top: auto;
    left: 50%;
    transform-origin: center bottom;
    transform: scale(0.92) translateX(-50%) translateY(12px);
}

.hotspot__tooltip--up::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid rgba(255, 255, 255, 0.98);
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.06));
}

.hotspot__tooltip--down {
    top: calc(100% + 24px);
    left: 50%;
    transform-origin: center top;
    transform: scale(0.92) translateX(-50%) translateY(-12px);
}

.hotspot__tooltip--down::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(255, 255, 255, 0.98);
    filter: drop-shadow(0 -2px 2px rgba(0, 0, 0, 0.06));
}

/* Show on hover â€” with delay on hide for comfortable navigation */
.hotspot:hover .hotspot__tooltip,
.hotspot:focus-within .hotspot__tooltip,
.hotspot.active .hotspot__tooltip {
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0s;
}

.hotspot:hover .hotspot__tooltip--right,
.hotspot:focus-within .hotspot__tooltip--right,
.hotspot.active .hotspot__tooltip--right {
    transform: scale(1) translateX(0) translateY(-50%);
}

.hotspot:hover .hotspot__tooltip--left,
.hotspot.active .hotspot__tooltip--left {
    transform: scale(1) translateX(0) translateY(-50%);
}

.hotspot:hover .hotspot__tooltip--up,
.hotspot.active .hotspot__tooltip--up {
    transform: scale(1) translateX(-50%) translateY(0);
}

.hotspot:hover .hotspot__tooltip--down,
.hotspot.active .hotspot__tooltip--down {
    transform: scale(1) translateX(-50%) translateY(0);
}

/* Delay tooltip disappearance â€” gives time to move to it */
.hotspot:not(:hover):not(.active) .hotspot__tooltip {
    transition-delay: 0.35s;
}

/* Keep tooltip visible when hovering over the tooltip itself */
.hotspot__tooltip:hover {
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0s;
}

.tooltip__header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.tooltip__header svg {
    flex-shrink: 0;
    color: var(--green-500);
    margin-top: 2px;
    width: 22px;
    height: 22px;
}

.tooltip__header h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
    font-family: var(--font-heading);
    line-height: 1.3;
}

.tooltip__header span {
    font-size: 0.82rem;
    color: var(--gray-600);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.hotspot__tooltip p {
    font-size: 0.88rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 18px;
}

.tooltip__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 4px;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    padding-top: 14px;
}

.tooltip__links a {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 0;
    background: var(--green-50);
    color: var(--green-700);
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s var(--ease);
    border: 1px solid rgba(45, 196, 113, 0.15);
}

.tooltip__links a:hover {
    background: var(--green-100);
    color: var(--green-800);
    border-color: var(--green-300);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(45, 196, 113, 0.15);
}

/* =============================================
   TRUST BAR
   ============================================= */
.trust {
    padding: 60px 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
}

.trust__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.trust__item {
    position: relative;
}

.trust__item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 10%;
    height: 80%;
    width: 1px;
    background: var(--gray-200);
}

.trust__number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: var(--green-600);
}

.trust__plus {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    color: var(--green-600);
}

.trust__label {
    display: block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* =============================================
   SECTION COMMON
   ============================================= */
.section {
    position: relative;
    padding: 64px 0;
    overflow: hidden;
    scroll-margin-top: 84px;
}

.section--dark {
    background:
        radial-gradient(ellipse 550px 400px at 8% 18%, rgba(30, 180, 140, 0.15) 0%, transparent 65%),
        radial-gradient(ellipse 650px 400px at 88% 78%, rgba(35, 200, 160, 0.17) 0%, transparent 60%),
        radial-gradient(ellipse 400px 250px at 55% 5%, rgba(40, 190, 150, 0.05) 0%, transparent 70%),
        linear-gradient(170deg, #0a1628 0%, #003d66 50%, #0a2540 100%);
    color: var(--white);
}

.section--navy {
    background:
        radial-gradient(ellipse 600px 380px at 85% 10%, rgba(30, 180, 140, 0.13) 0%, transparent 65%),
        radial-gradient(ellipse 750px 450px at 10% 88%, rgba(35, 200, 160, 0.19) 0%, transparent 55%),
        radial-gradient(ellipse 400px 250px at 45% 95%, rgba(40, 190, 150, 0.05) 0%, transparent 70%),
        linear-gradient(170deg, #0a2540 0%, #003d66 45%, #0a1628 100%);
    color: var(--white);
}

.section--light {
    background: var(--white);
}

.section--gray {
    background: var(--gray-50);
}

.section--white {
    background: var(--white);
}

/* Parallax â€” Wsparcie */
.section--parallax-wsparcie {
    background: transparent;
    overflow: hidden;
    padding: 80px 0;
}

.section--parallax-wsparcie::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/grafika/helpdesk.webp') center center / cover no-repeat;
    background-attachment: fixed;
    z-index: 0;
    filter: brightness(0.75) saturate(0.3) contrast(0.95);
}

.section--parallax-wsparcie::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(160deg,
            rgba(255, 255, 255, 0.83) 0%,
            rgba(248, 250, 252, 0.77) 35%,
            rgba(241, 245, 249, 0.70) 70%,
            rgba(226, 232, 240, 0.65) 100%);
}

.section--parallax-wsparcie>* {
    position: relative;
    z-index: 2;
}

.section--parallax-wsparcie .support-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(45, 196, 113, 0.06);
}

.section--parallax-wsparcie .support-card:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(45, 196, 113, 0.12);
}

.section__header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px;
}

.section__badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 0;
    background: rgba(45, 196, 113, 0.12);
    border: 1px solid rgba(45, 196, 113, 0.2);
    color: var(--green-400);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.section__badge--green {
    background: var(--green-50);
    border-color: var(--green-200);
    color: var(--green-700);
}

.section__title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.section__title--dark {
    color: var(--gray-900);
}

.section__title-sub {
    display: block;
    font-size: clamp(1rem, 1.9vw, 1.54rem);
    font-weight: 500;
    letter-spacing: 0.02em;
    opacity: 0.75;
    margin-top: 4px;
}

.section__desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.section__desc--dark {
    color: var(--gray-600);
}

/* Floating Background Shapes */
.section__shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    filter: blur(80px);
}

.shape--1 {
    width: 500px;
    height: 500px;
    background: var(--green-400);
    top: -10%;
    right: -5%;
    animation: floatShape 20s ease-in-out infinite;
}

.shape--2 {
    width: 400px;
    height: 400px;
    background: var(--blue-700);
    bottom: -10%;
    left: -5%;
    animation: floatShape 25s ease-in-out infinite reverse;
}

.shape--3 {
    width: 350px;
    height: 350px;
    background: var(--green-400);
    top: 20%;
    left: -8%;
    animation: floatShape 22s ease-in-out infinite;
    opacity: 0.06;
}

.shape--4 {
    width: 300px;
    height: 300px;
    background: var(--blue-700);
    bottom: 10%;
    right: -5%;
    animation: floatShape 18s ease-in-out infinite reverse;
    opacity: 0.05;
}

.shape--5 {
    width: 500px;
    height: 500px;
    background: var(--green-500);
    top: -15%;
    left: 30%;
    animation: floatShape 30s ease-in-out infinite;
}

.shape--6 {
    width: 350px;
    height: 350px;
    background: #60d4f0;
    bottom: -10%;
    right: 10%;
    animation: floatShape 22s ease-in-out infinite reverse;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(20px, -30px) rotate(5deg);
    }

    50% {
        transform: translate(-10px, -50px) rotate(-3deg);
    }

    75% {
        transform: translate(30px, -20px) rotate(4deg);
    }
}

/* Section Split Layout */
.section__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section__split--no-media {
    grid-template-columns: minmax(0, 980px);
    justify-content: center;
}

.section__split--no-media .section__cards {
    width: 100%;
}

.section__split--reverse .section__image {
    order: -1;
}

.section__image img {
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 78%;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* Video wrappers â€” responsive sizing */
.video-wrap {
    position: relative;
    margin: 0 auto;
}

.section-media {
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.section-media video {
    width: 100%;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.section-media img {
    width: 100%;
    max-width: none;
    height: auto;
    display: block;
    margin: 0 auto;
    transform-origin: center;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.section-media__fade {
    position: absolute;
    inset: 0;
    background: #fff;
    border-radius: var(--radius-xl);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.video-wrap--nux {
    max-width: 83%;
    padding: 16px;
    border: 2px solid var(--green-400, #4dd08b);
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    box-sizing: border-box;
}

.video-wrap--nux video,
.video-wrap--nux.section-media {
    border-radius: 0;
}

.video-wrap--nux .section-media__fade {
    inset: 16px;
    border-radius: 0;
}

.video-wrap--cyfrowa {
    max-width: 72%;
}

.video-wrap--automatyka {
    max-width: 72%;
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.video-wrap--automatyka video {
    margin-bottom: -10%;
}

.section__cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* =============================================
   CARDS
   ============================================= */
.card {
    padding: 20px 24px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    transition: all 0.3s var(--ease);
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(45, 196, 113, 0.3);
    transform: translateX(6px);
}

a.card--clickable {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.card--light {
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    backdrop-filter: none;
    align-items: center;
}

.card--light:hover {
    background: var(--white);
    border-color: var(--green-300);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    transform: translateX(6px);
}

.card__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(45, 196, 113, 0.12);
    color: var(--green-400);
}

.card__icon--green {
    background: var(--green-50);
    color: var(--green-600);
}

.card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
    font-family: var(--font-heading);
}

.card--light h3 {
    color: var(--gray-900);
    margin-bottom: 0;
}

.card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.card--light p {
    color: var(--gray-500);
}

/* =============================================
   NUX CTA â€” Call to Action
   ============================================= */
.nux-cta {
    position: relative;
    margin-top: 56px;
    border-radius: 0;
    background: linear-gradient(135deg, rgba(45, 196, 113, 0.12) 0%, rgba(37, 163, 94, 0.06) 100%);
    border: 1px solid rgba(45, 196, 113, 0.25);
    overflow: hidden;
    padding: 48px 56px;
}

.nux-cta__glow {
    display: none;
}

.nux-cta__content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.nux-cta__title {
    font-family: 'Sora', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.3;
}

.nux-cta__desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin: 0;
    max-width: 560px;
}

.nux-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background-color: var(--green-500);
    color: #0f172a;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 0;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
    flex-shrink: 0;
    animation: none;
}

@keyframes ctaPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 24px rgba(45, 196, 113, 0.3);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 8px 36px rgba(45, 196, 113, 0.55);
        filter: brightness(1.15);
    }
}

.nux-cta__btn:hover {
    transform: scale(1.04);
    box-shadow: none;
    background-color: var(--green-500);
    color: #0f172a;
    filter: none;
}

.nux-cta__btn-arrow {
    transition: transform 0.3s ease;
}

.nux-cta__btn:hover .nux-cta__btn-arrow {
    transform: none;
}

@media (max-width: 768px) {
    .nux-cta {
        padding: 32px 24px;
        margin-top: 40px;
    }

    .nux-cta__content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .nux-cta__title {
        font-size: 1.3rem;
    }

    .nux-cta__desc {
        max-width: 100%;
    }
}

/* =============================================
   SECURITY GRID
   ============================================= */
.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.security-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    transition: all 0.4s var(--ease);
}

.security-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(45, 196, 113, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.security-card__icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: rgba(45, 196, 113, 0.12);
    color: var(--green-400);
}

.security-card__body {
    flex: 1;
    min-width: 0;
}

.security-card h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.security-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.55;
}

/* =============================================
   SUPPORT GRID
   ============================================= */
.support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.support-card {
    padding: 40px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    transition: all 0.3s var(--ease);
}

.support-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: var(--green-300);
}

.support-card__icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    background: var(--green-50);
    color: var(--green-600);
    margin-bottom: 24px;
}

.support-card h3 {
    font-size: 1.3rem;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.support-card p {
    font-size: 0.95rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
}

.support-card__features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.support-card__features li {
    padding-left: 24px;
    position: relative;
    font-size: 0.88rem;
    color: var(--gray-600);
}

.support-card__features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 0;
    background: var(--green-500);
}

/* =============================================
   BLOG GRID
   ============================================= */
.blog-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    text-align: left;
}

.blog-header-row>div {
    flex: 1;
    text-align: center;
}

.blog-rss {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 0;
    background: #f97316;
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.3s var(--ease);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
    margin-top: 8px;
}

.blog-rss:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.blog-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: all 0.3s var(--ease);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--green-300);
}

.blog-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.blog-card__image {
    height: 200px;
    background: var(--blue-950);
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.blog-card__image--1 {
    background: linear-gradient(135deg, #eefbf4, #dbeafe);
}

.blog-card__image--2 {
    background: linear-gradient(135deg, #fef3c7, #d4f5e3);
}

.blog-card__image--3 {
    background: linear-gradient(135deg, #ede9fe, #dbeafe);
}

.blog-card__placeholder {
    color: var(--gray-300);
}

.blog-card__body {
    padding: 24px;
}

.blog-card__tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 0;
    background: var(--green-50);
    color: var(--green-700);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.blog-card__body h3 {
    font-size: 1.05rem;
    color: var(--gray-900);
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card__body p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 14px;
}

.blog-card__date {
    font-size: 0.78rem;
    color: var(--gray-600);
}

/* Blog Actions */
.blog-actions {
    text-align: center;
    margin-top: 48px;
}

.btn--blog {
    gap: 8px;
    padding: 16px 36px;
    font-size: 1rem;
}

.btn--blog svg {
    transition: transform 0.3s var(--ease);
}

.btn--blog:hover svg {
    transform: translateX(4px);
}

/* =============================================
   ABOUT / TIMELINE
   ============================================= */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content--dark {
    max-width: 100%;
}

.about-text {
    margin-bottom: 56px;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-content--dark .about-text p {
    color: rgba(255, 255, 255, 0.7);
}

.about-content--dark .about-text {
    max-width: 1060px;
    margin: 0 auto 48px;
    text-align: center;
}

.about-content--dark .about-text p {
    font-size: 1.08rem;
    line-height: 1.85;
    margin-bottom: 20px;
}

.about-text strong {
    color: var(--green-400);
}

/* Tagline */
.ofirmie-tagline {
    font-family: 'Sora', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--green-600);
    margin-top: 12px;
}

/* Brand Manifest â€” 5 values grid */
.brand-manifest {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    max-width: 1060px;
    margin: 0 auto 48px;
}

.brand-manifest__item {
    text-align: center;
    padding: 28px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.03);
}

.brand-manifest__num {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    border-radius: 0;
    background: var(--green-500);
    color: var(--blue-950);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.brand-manifest__title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

@media (max-width: 768px) {
    .brand-manifest {
        grid-template-columns: repeat(2, 1fr);
    }
    .brand-manifest__item:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .brand-manifest {
        grid-template-columns: 1fr;
    }
    .brand-manifest__item:last-child {
        grid-column: span 1;
    }
}

/* =============================================
   O FIRMIE â€” Multi-zone backgrounds
   ============================================= */
.section--ofirmie-top {
    position: relative;
    padding: 72px 0 48px;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(ellipse 600px 380px at 90% 10%, rgba(30, 180, 140, 0.11) 0%, transparent 68%),
        radial-gradient(ellipse 700px 450px at 8% 85%, rgba(35, 200, 160, 0.15) 0%, transparent 55%),
        radial-gradient(ellipse 400px 250px at 40% 100%, rgba(40, 190, 150, 0.03) 0%, transparent 70%),
        linear-gradient(170deg, #0a1628 0%, #003d66 50%, #0a2540 100%);
}

/* ::before removed â€” opacity was <3%, unnecessary repaint layer */

.section--ofirmie-bottom {
    position: relative;
    padding: 40px 0 64px;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(ellipse 550px 350px at 85% 15%, rgba(30, 180, 140, 0.10) 0%, transparent 68%),
        radial-gradient(ellipse 750px 450px at 5% 80%, rgba(35, 200, 160, 0.17) 0%, transparent 55%),
        radial-gradient(ellipse 450px 280px at 50% 100%, rgba(40, 190, 150, 0.05) 0%, transparent 70%),
        linear-gradient(180deg, #0a2540 0%, #003d66 45%, #0a1628 100%);
}

/* ::before removed â€” opacity was <1%, unnecessary repaint layer */

/* Timeline background animations â€” flow of time */
.htl-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
    will-change: transform;
    contain: strict;
}

.htl-bg-shapes--paused {
    visibility: hidden;
}

.htl-bg-shapes--unpausing {
    visibility: visible;
    animation: htlBgFadeIn 0.6s ease-out forwards;
}

@keyframes htlBgFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Vertical flowing streams â€” light beams drifting downward */
.htl-stream {
    position: absolute;
    width: 1px;
    top: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(45, 196, 113, 0.35) 30%,
            rgba(45, 196, 113, 0.08) 50%,
            transparent 100%);
    background-size: 100% 200%;
    animation: htlStreamFlow 6s linear infinite;
}

.htl-stream--1 {
    left: 8%;
    animation-duration: 7s;
    animation-delay: 0s;
    opacity: 0.7;
}

.htl-stream--2 {
    left: 22%;
    animation-duration: 9s;
    animation-delay: -3s;
    opacity: 0.5;
    width: 2px;
}

.htl-stream--3 {
    right: 18%;
    animation-duration: 5.5s;
    animation-delay: -1s;
    opacity: 0.6;
}

.htl-stream--4 {
    right: 7%;
    animation-duration: 8s;
    animation-delay: -5s;
    opacity: 0.4;
    width: 2px;
}

.htl-stream--5 {
    left: 42%;
    animation-duration: 10s;
    animation-delay: -7s;
    opacity: 0.35;
}

@keyframes htlStreamFlow {
    0% {
        background-position: 0 -100%;
    }

    100% {
        background-position: 0 100%;
    }
}

/* Floating time particles â€” small glowing squares drifting upward */
.htl-particle {
    position: absolute;
    border-radius: 0;
    animation: htlParticleRise linear infinite;
    will-change: transform;
}

.htl-particle--1 {
    width: 3px;
    height: 6px;
    left: 6%;
    bottom: -5%;
    background: rgba(45, 196, 113, 0.6);
    animation-duration: 14s;
    animation-delay: 0s;
}

.htl-particle--2 {
    width: 4px;
    height: 4px;
    left: 15%;
    bottom: -5%;
    background: rgba(37, 99, 235, 0.5);
    animation-duration: 18s;
    animation-delay: -4s;
}

.htl-particle--3 {
    width: 5px;
    height: 2px;
    left: 28%;
    bottom: -5%;
    background: rgba(45, 196, 113, 0.7);
    animation-duration: 12s;
    animation-delay: -2s;
}

.htl-particle--4 {
    width: 3px;
    height: 3px;
    right: 25%;
    bottom: -5%;
    background: rgba(96, 212, 240, 0.5);
    animation-duration: 16s;
    animation-delay: -8s;
}

.htl-particle--5 {
    width: 5px;
    height: 8px;
    right: 12%;
    bottom: -5%;
    background: rgba(45, 196, 113, 0.4);
    animation-duration: 20s;
    animation-delay: -6s;
    box-shadow: 0 0 8px rgba(45, 196, 113, 0.3);
}

.htl-particle--6 {
    width: 6px;
    height: 2px;
    left: 38%;
    bottom: -5%;
    background: rgba(37, 99, 235, 0.6);
    animation-duration: 15s;
    animation-delay: -10s;
}

.htl-particle--7 {
    width: 3px;
    height: 5px;
    right: 5%;
    bottom: -5%;
    background: rgba(45, 196, 113, 0.55);
    animation-duration: 22s;
    animation-delay: -3s;
}

.htl-particle--8 {
    width: 4px;
    height: 4px;
    left: 3%;
    bottom: -5%;
    background: rgba(96, 212, 240, 0.45);
    animation-duration: 17s;
    animation-delay: -12s;
    box-shadow: 0 0 6px rgba(96, 212, 240, 0.25);
}

@keyframes htlParticleRise {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    50% {
        transform: translateY(-50vh) translateX(15px);
    }

    90% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-110vh) translateX(-10px);
        opacity: 0;
    }
}

/* Expanding time squares â€” ripples spreading from points */
.htl-ring {
    position: absolute;
    border-radius: 0;
    border: 1px solid rgba(45, 196, 113, 0.25);
    animation: htlRingExpand 5s ease-out infinite;
    will-change: transform;
}

.htl-ring--1 {
    width: 20px;
    height: 20px;
    top: 18%;
    left: 10%;
    animation-duration: 5s;
    animation-delay: 0s;
}

.htl-ring--2 {
    width: 14px;
    height: 24px;
    top: 55%;
    right: 12%;
    animation-duration: 6s;
    animation-delay: -2s;
    border-color: rgba(37, 99, 235, 0.2);
}

.htl-ring--3 {
    width: 24px;
    height: 16px;
    top: 80%;
    left: 25%;
    animation-duration: 7s;
    animation-delay: -4s;
    border-color: rgba(96, 212, 240, 0.2);
}

@keyframes htlRingExpand {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    80% {
        opacity: 0.05;
    }

    100% {
        transform: scale(6);
        opacity: 0;
    }
}

/* Horizontal scan line â€” sweeping downward */
.htl-scan {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    top: 0;
    background: linear-gradient(to right,
            transparent 0%,
            rgba(45, 196, 113, 0.05) 20%,
            rgba(45, 196, 113, 0.2) 50%,
            rgba(45, 196, 113, 0.05) 80%,
            transparent 100%);
    animation: htlScanDown 8s ease-in-out infinite;
    will-change: transform;
}

@keyframes htlScanDown {
    0% {
        transform: translateY(-2%);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(calc(100vh + 2%));
        opacity: 0;
    }
}

/* ---- People NOVUM — dynamic irregular mosaic ---- */
.people-px {
    position: relative;
    overflow: hidden;
    scroll-margin-top: 84px;
    background: #071426;
    height: clamp(840px, 96vh, 1040px);
}

.people-px__grid {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-start;
    gap: 4px;
    padding: 10px;
}

.people-px__col {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    will-change: transform;
}

.people-px__item {
    position: relative;
    overflow: hidden;
    background: rgba(0, 70, 114, 0.2);
    outline: 1px solid rgba(7, 20, 38, 0.72);
    isolation: isolate;
    margin: 0;
}

.people-px__item--portrait {
    width: 100%;
    align-self: stretch;
}

.people-px__item--landscape {
    width: 100%;
}

.people-px__item img {
    width: 100%;
    height: auto;
    display: block;
    filter: saturate(0.78) brightness(0.72) contrast(1.08);
    transition: filter 0.25s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.people-px__grid:has(.people-px__item:hover) .people-px__item:not(:hover) img {
    filter: saturate(0.42) brightness(0.45) contrast(1.08);
}

.people-px__item:hover img {
    filter: saturate(1) brightness(1.02) contrast(1) !important;
    transform: scale(1.025);
}

.people-px__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg,
        #071426 0%,
        rgba(7, 20, 38, 0.18) 3%,
        transparent 5%,
        transparent 95%,
        rgba(7, 20, 38, 0.18) 97%,
        #071426 100%);
}

.people-px__headline {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
}

.people-px__title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.9), 0 0 60px rgba(0, 0, 0, 0.6);
    margin: 0;
}

.people-px__title span {
    color: var(--green-400);
}

.people-px__sub {
    margin-top: 14px;
    font-family: var(--font-body);
    font-size: clamp(0.88rem, 1.7vw, 1.05rem);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    max-width: 500px;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.95);
}

@media (max-width: 1200px) {
    .people-px__grid {
        gap: 4px;
        padding: 10px;
    }
}

@media (max-width: 900px) {
    .people-px {
        height: 680px;
    }

    .people-px__grid {
        position: relative;
        inset: auto;
        overflow-x: auto;
        scroll-snap-type: x proximity;
    }

    .people-px__col {
        flex-basis: 30vw;
        min-width: 150px;
        scroll-snap-align: start;
    }
}

@media (max-width: 640px) {
    .people-px {
        height: 700px;
    }

    .people-px__title {
        font-size: 1.8rem;
    }

    .people-px__grid {
        padding: 10px;
    }

    .people-px__col {
        flex-basis: 38vw;
        min-width: 128px;
    }
}

/* Keep the original top row; smaller photos below keep their native proportions. */
.people-px--compact {height: var(--people-mosaic-height, 840px);}
.people-px--compact .people-px__grid {position: absolute; inset: 0; display: block; padding: 0; overflow: visible; scroll-snap-type: none;}
.people-px__top-grid {position: absolute; top: 10px; left: 10px; right: 10px; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 2px; align-items: start; z-index: 1; pointer-events: none;}
.people-px__top-col {display: flex; flex-direction: column; gap: 2px; min-width: 0;}
.people-px__top-col .people-px__item {pointer-events: auto;}
.people-px__body {position: absolute; inset: 0; padding: 10px; display: flex; gap: 2px; align-items: flex-start;}
.people-px--compact .people-px__col {flex: 1 1 0; min-width: 0; gap: 2px;}
.people-px--compact .people-px__item {flex: 0 0 auto; border: 1.5px solid #061b32; background: #061b32;}
.people-px--compact .people-px__item img {height: auto; object-fit: initial;}
.people-px--compact .people-px__item--lower.people-px__item--portrait {aspect-ratio: 7 / 10;}
.people-px--compact .people-px__item--lower.people-px__item--portrait img {height: 100%; object-fit: cover; object-position: center 20%;}
@media (min-width: 2200px) {
    /* Put the headline below the faces in the denser wide-screen layout. */
    .people-px--compact .people-px__headline {padding-top: 200px;}
}
.people-px--compact.npm-editing .people-px__top-grid {position: relative; inset: auto; padding: 10px;}
.people-px--compact.npm-editing .people-px__body {position: relative; inset: auto;}
.people-px--compact.npm-editing .people-px__col {margin-top: 0 !important;}
.people-px--compact.npm-editing .people-px__top-grid .people-px__item {cursor: default;}

/* Blog section subtle bg */
.section--blog-bg {
    background: linear-gradient(180deg, var(--gray-50) 0%, #ffffff 40%);
}


/* =============================================
   HISTORY TIMELINE â€” Interactive
   ============================================= */
.htl {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
    padding: 20px 0 40px;
}

.htl__line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    margin-left: -1px;
    background: rgba(255, 255, 255, 0.06);
}

.htl__line-fill {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 0;
    margin-left: -1px;
    background: var(--green-500);
    border-radius: 0;
    transition: height 1.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.htl.htl--animated .htl__line-fill {
    height: 100%;
}

.htl__node {
    position: relative;
    display: flex;
    align-items: center;
    padding: 24px 0;
    z-index: 1;
}

/* Pulse */
.htl__pulse {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border-radius: 0;
    background: rgba(45, 196, 113, 0.15);
    animation: htlPulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes htlPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.htl__node:nth-child(odd) .htl__pulse {
    animation-delay: 0.5s;
}

.htl__node:nth-child(even) .htl__pulse {
    animation-delay: 1.5s;
}

.htl__dot {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border-radius: 0;
    background: var(--green-500);
    border: 0;
    box-shadow: none;
    z-index: 2;
    cursor: pointer;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

/* Mniejszy wewnetrzny kwadracik w wezlach osi czasu (pomijamy crown z liczba) */
.htl__dot:not(.htl__dot--crown)::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 7px;
    height: 7px;
    transform: translate(-50%, -50%);
    background: #004672;
}

.htl__dot:hover,
.htl__node.active .htl__dot {
    transform: scale(1.2);
    box-shadow: none;
}

.htl__dot--crown {
    width: 76px;
    height: 76px;
    margin: -38px 0 0 -38px;
    border-radius: 0;
    background: var(--green-700);
    border: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
}

.htl__node--crown .htl__pulse {
    width: 90px;
    height: 90px;
    margin: -45px 0 0 -45px;
    border-radius: 0;
    background: rgba(45, 196, 113, 0.2);
}

.htl__dot--root {
    background: var(--green-500);
    box-shadow: none;
}

/* Cards */
.htl__card {
    width: calc(50% - 52px);
    padding: 20px 24px;
    background: rgba(15, 34, 64, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

.htl__card--right {
    margin-left: auto;
}

.htl__card--left {
    margin-right: auto;
}

.htl__node.visible .htl__card {
    opacity: 1;
    transform: translateY(0);
}

.htl__node:nth-child(n+3) .htl__card {
    transition-delay: 0.15s;
}

.htl__node:nth-child(n+5) .htl__card {
    transition-delay: 0.25s;
}

.htl__node:nth-child(n+7) .htl__card {
    transition-delay: 0.35s;
}

.htl__node:nth-child(n+9) .htl__card {
    transition-delay: 0.45s;
}

.htl__node:nth-child(n+11) .htl__card {
    transition-delay: 0.55s;
}

.htl__card:hover,
.htl__node.active .htl__card {
    background: rgba(45, 196, 113, 0.08);
    border-color: rgba(45, 196, 113, 0.25);
    box-shadow: 0 4px 16px rgba(45, 196, 113, 0.08);
    transform: translateY(-2px);
}

.htl__year {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.8rem;
    color: var(--green-400);
    padding: 3px 12px;
    border-radius: 0;
    background: rgba(45, 196, 113, 0.1);
    margin-bottom: 8px;
}

.htl__card h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0;
    transition: margin 0.3s;
}

.htl__card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease), opacity 0.4s, margin 0.4s;
    opacity: 0;
    margin-top: 0;
}

.htl__node.active .htl__card h4,
.htl__card:hover h4 {
    margin-bottom: 6px;
}

.htl__node.active .htl__card p,
.htl__card:hover p {
    max-height: 200px;
    opacity: 1;
    margin-top: 0;
}

/* Connector lines */
.htl__node::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 28px;
    height: 1px;
    z-index: 1;
    background: rgba(45, 196, 113, 0.2);
    transition: background 0.3s;
}

.htl__node:hover::before {
    background: rgba(45, 196, 113, 0.5);
}

.htl__node:has(.htl__card--right)::before {
    left: calc(50% + 10px);
}

.htl__node:has(.htl__card--left)::before {
    right: calc(50% + 10px);
    left: auto;
}

/* =============================================
   TESTIMONIALS â€” slider
   ============================================= */
.tslider {
    position: relative;
    max-width: 1190px;
    margin: 0 auto;
    overflow: hidden;
    padding: 1px;
}

.tslider__track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-shrink: 0;
    box-sizing: border-box;
    transition: box-shadow 0.3s, transform 0.3s;
}

.testimonial:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.testimonial__tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    background: var(--green-50);
    color: var(--green-700);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    width: fit-content;
    font-family: var(--font-body);
}

.testimonial__quote {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--gray-700);
    line-height: 1.7;
    margin: 0;
    font-style: italic;
    flex: 1;
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--gray-100);
}

.testimonial__avatar {
    width: 42px;
    height: 42px;
    border-radius: 0;
    background: #004672;
    border: none;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    flex-shrink: 0;
}

.testimonial__name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--gray-800);
}

.testimonial__role {
    font-size: 0.82rem;
    color: var(--gray-500);
    margin-top: 2px;
}

/* Slider navigation */
.tslider__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.tslider__arrow {
    width: 40px;
    height: 40px;
    border-radius: 0;
    border: 1px solid var(--gray-200);
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: all 0.2s;
    flex-shrink: 0;
}

.tslider__arrow:hover {
    border-color: var(--green-400);
    color: var(--green-700);
    background: var(--green-50);
}

.tslider__dots {
    display: flex;
    gap: 8px;
}

.tslider__dot {
    width: 24px;
    height: 24px;
    border-radius: 0;
    background: var(--gray-200);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 10px;
    background-clip: content-box;
}

.tslider__dot--active {
    background: var(--green-500);
    transform: none;
}

/* Card widths handled by JS â€” responsive breakpoints in getPerView() */

/* =============================================
   CONTACT â€” two-column layout
   ============================================= */
.section--light-contact {
    background: var(--gray-50);
    padding: 80px 0 96px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: start;
}

.contact-info__desc {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin: 0 0 40px;
}

.contact-info__items {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-info__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-50);
    border-radius: var(--radius-sm);
    color: var(--green-600);
    flex-shrink: 0;
}

.contact-info__item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.contact-info__item p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin: 0;
}

.contact-info__item a {
    color: var(--gray-500);
    transition: color 0.2s var(--ease);
}

.contact-info__item a:hover {
    color: var(--green-600);
}

.contact-info__registry {
    display: grid;
    gap: 5px;
    margin-top: 28px;
    padding: 22px 0 0;
    border-top: 1px solid rgba(0, 70, 114, 0.12);
    color: var(--gray-600);
    font-size: 0.88rem;
    line-height: 1.55;
}

.contact-info__registry strong {
    margin-bottom: 4px;
    color: var(--navy-900);
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
}

.contact-info__registry span {
    max-width: 640px;
}

/* --- Form card (right column) --- */
.contact-grid .contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.04);
}

.contact-grid .form-group select {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-300);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--gray-800);
    background: var(--white);
    transition: all 0.2s var(--ease);
    cursor: pointer;
}

.contact-grid .form-group select:focus {
    outline: none;
    border-color: var(--green-500);
    box-shadow: 0 0 0 3px rgba(45, 196, 113, 0.15);
}

/* --- Consent --- */
.contact-form__consent {
    margin-bottom: 20px;
}

.contact-form__consent label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--gray-700);
    line-height: 1.55;
    cursor: pointer;
}

.contact-form__consent input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--green-500);
}

.contact-form__consent a {
    color: #065f32;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contact-form__consent a:hover {
    color: #064f2a;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .section--light-contact {
        padding: 56px 0 64px;
    }

    .contact-grid .contact-form {
        padding: 28px 20px;
        border-radius: var(--radius-sm);
    }
}

/* --- Legacy form styles (demo modal etc.) --- */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-300);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--gray-800);
    background: var(--white);
    transition: all 0.2s var(--ease);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green-500);
    box-shadow: 0 0 0 3px rgba(45, 196, 113, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form {
    background: var(--gray-50);
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* =============================================
   VIDEO PARALLAX
   ============================================= */
.video-parallax {
    position: relative;
    height: 55vh;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-parallax__bg {
    position: absolute;
    inset: -20% 0;
    z-index: 0;
}

.video-parallax__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-parallax__video--active {
    opacity: 1;
}

.video-parallax__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 45, 74, 0.75), rgba(37, 163, 94, 0.4));
}

.video-parallax__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
}

.video-parallax__title {
    font-size: clamp(1.9rem, 4vw, 3rem);
    color: var(--white);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.video-parallax__desc {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background:
        radial-gradient(ellipse 800px 500px at 95% 3%, rgba(30, 180, 140, 0.16) 0%, transparent 60%),
        radial-gradient(ellipse 250px 200px at 5% 92%, rgba(35, 200, 160, 0.02) 0%, transparent 55%),
        linear-gradient(170deg, #0a1628 0%, #003d66 50%, #0a2540 100%);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.3fr 1.3fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer .logo__text {
    color: var(--white);
}

.footer .logo__sub {
    color: rgba(255, 255, 255, 0.7);
}

.footer__links h4,
.footer__contact h4,
.footer__heading {
    color: var(--white);
    font-size: 0.9rem;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 12px;
    letter-spacing: 0;
}

.footer__links li {
    margin-bottom: 10px;
    font-size: 0.85rem;
    line-height: 1.5;
}

.footer__links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.2);
    text-underline-offset: 2px;
    transition: color 0.2s, text-decoration-color 0.2s;
}

.footer__links a:hover {
    color: var(--green-400);
    text-decoration-color: var(--green-400);
}

.footer__contact p {
    font-size: 0.85rem;
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer__contact a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.2);
    text-underline-offset: 2px;
    transition: color 0.2s, text-decoration-color 0.2s;
}

.footer__contact a:hover {
    color: var(--green-400);
    text-decoration-color: var(--green-400);
}

.footer__iod-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--white);
    margin: 16px 0 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.footer__iod-name {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 4px;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
}

.footer__bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* =============================================
   RESPONSIVE
   ============================================= */

/* Tablet */
@media (max-width: 1024px) {
    .header__cta {
        display: none;
    }

    .nav--desktop {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* Full-screen mobile nav (outside header) */
    .nav--mobile {
        display: flex;
        position: fixed;
        inset: 0;
        z-index: 10000;
        background: #ffffff;
        padding: 0;
        flex-direction: column;
        overflow-y: auto;
        overflow-x: hidden;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Backdrop overlay */
    .nav-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 9998;
        background: rgba(0, 0, 0, 0.3);
        opacity: 0;
        transition: opacity 0.35s ease;
    }

    .nav-backdrop.visible {
        display: block;
        opacity: 1;
    }

    /* Slide in */
    .nav--mobile.open {
        transform: translateX(0);
    }

    /* Mobile nav header (logo + close) */
    .nav__mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 24px;
        border-bottom: 1px solid var(--gray-200);
        flex-shrink: 0;
        background: var(--blue-900);
    }

    .nav__mobile-logo {
        height: 21px;
        width: auto;
        display: block;
        filter: brightness(0) invert(1);
    }

    .nav__mobile-close {
        width: 36px;
        height: 36px;
        border: none;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 0;
        font-size: 1.5rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        transition: background 0.2s;
    }

    .nav__mobile-close:hover {
        background: rgba(255, 255, 255, 0.25);
    }

    /* Nav list */
    .nav--mobile .nav__list {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 0;
        padding-bottom: env(safe-area-inset-bottom, 0);
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        align-items: flex-start;
    }

    .nav--mobile .nav__item {
        width: 100%;
    }

    .nav--mobile .nav__link {
        color: var(--gray-800);
        font-size: 1.05rem;
        font-weight: 600;
        padding: 16px 24px;
        border-bottom: 1px solid var(--gray-100);
        width: 100%;
        justify-content: flex-start;
        border-radius: 0;
        text-align: left;
        gap: 8px;
    }

    .nav--mobile .nav__link .nav__chevron {
        margin-left: auto;
    }

    .nav--mobile .nav__link:hover {
        background: var(--gray-50);
    }

    .nav--mobile .dropdown {
        position: static;
        transform: none;
        min-width: auto;
        padding-top: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s var(--ease), opacity 0.3s;
    }

    .nav--mobile .nav__item.open .dropdown {
        max-height: 80vh;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav--mobile .nav__item.open>.nav__link {
        background: var(--green-50);
        color: var(--green-700);
    }

    .nav--mobile .dropdown__grid {
        box-shadow: none;
        border-radius: 0;
        padding: 4px 0 8px 0;
        border-left: 3px solid var(--green-400);
        margin-left: 24px;
        width: calc(100% - 24px);
        background: #ffffff;
    }

    .nav--mobile #dropdown-platforma .dropdown__grid,
    .nav--mobile #dropdown-ofirmie .dropdown__grid {
        grid-template-columns: 1fr;
    }

    .nav--mobile .dropdown__item {
        padding: 10px 16px;
        gap: 0;
    }

    .nav--mobile .dropdown__item:hover {
        transform: none;
        background: var(--gray-50);
    }

    /* Hide icons and descriptions on mobile â€” keep it simple */
    .nav--mobile .dropdown__icon {
        display: none;
    }

    .nav--mobile .dropdown__desc {
        display: none;
    }

    .nav--mobile .dropdown__title {
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--gray-700);
    }

    .nav--mobile .dropdown__item:hover .dropdown__title {
        color: var(--green-700);
    }

    /* Mobile nav footer with CTA */
    .nav__mobile-footer {
        padding: 20px 24px;
        border-top: 1px solid var(--gray-200);
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        gap: 10px;
        background: #fff;
    }

    .nav__cta-mobile {
        display: block;
        text-align: center;
        padding: 14px 24px;
        font-size: 0.95rem;
        width: 100%;
    }

    .nav__cta-contact {
        display: block;
        text-align: center;
        padding: 14px 24px;
        font-size: 0.95rem;
        width: 100%;
        border: 1.5px solid var(--blue-900);
        border-radius: var(--radius-sm);
        color: var(--blue-900);
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s;
    }

    .nav__cta-contact:hover {
        background: var(--blue-900);
        color: #fff;
    }

    .section__split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section__split--reverse .section__image {
        order: 0;
    }

    .section__image img {
        max-width: 100%;
    }

    .video-wrap--nux,
    .video-wrap--cyfrowa,
    .video-wrap--automatyka {
        max-width: 95%;
    }

    .security-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .support-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

/* Parallax fallback for mobile (iOS doesn't support background-attachment: fixed) */
@supports (-webkit-touch-callout: none) {
    .section--parallax-wsparcie::before {
        background-attachment: scroll;
    }
}

@media (max-width: 768px) {
    .section--parallax-wsparcie::before {
        background-attachment: scroll;
        background-position: center center;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero__hotspots-layer {
        display: none;
    }

    .hero__slider-nav {
        bottom: 100px;
    }

    .hero__slider-progress {
        bottom: 82px;
    }

    .hero__content {
        padding: 0 12px 120px;
    }

    .hero__glass-frame {
        padding: 24px 20px;
    }

    .hero__title {
        font-size: clamp(1.4rem, 6vw, 2.2rem);
    }

    .hero__scroll {
        display: none;
    }

    .section {
        padding: 48px 0;
    }

    .section__header {
        margin-bottom: 28px;
    }

    .section__header {
        margin-bottom: 40px;
    }

    .trust__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .trust__item:not(:last-child)::after {
        display: none;
    }

    .security-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .contact-form__row {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Timeline mobile â€” single column */
    .htl {
        max-width: 100%;
        padding: 10px 0 20px;
    }

    .htl__line,
    .htl__line-fill {
        left: 16px;
        margin-left: 0;
    }

    .htl__node {
        padding: 16px 0;
    }

    .htl__pulse {
        left: 16px;
        margin-left: -20px;
    }

    .htl__dot {
        left: 16px;
        margin-left: -8px;
    }

    .htl__dot--crown {
        left: 16px;
        margin-left: -38px;
    }

    .htl__node--crown .htl__pulse {
        left: 16px;
        margin-left: -45px;
    }

    .htl__card--right,
    .htl__card--left {
        width: calc(100% - 56px);
        margin-left: auto;
        margin-right: 0;
    }

    .htl__node::before {
        left: 24px !important;
        right: auto !important;
        width: 16px;
    }
}

/* Landscape phones / small tablets */
@media (max-width: 600px) {
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer__policies {
        flex-wrap: wrap;
        gap: 8px;
    }

    .trust__grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .section__header h2 {
        font-size: 1.5rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero__cta {
        flex-direction: column;
    }

    .hero__cta .btn {
        width: 100%;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        white-space: normal;
    }

    .trust__grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .security-card {
        padding: 16px 18px;
    }

    .security-card__icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .support-card {
        padding: 24px;
    }

    .contact-form {
        padding: 24px;
    }

    /* Video wrappers â€” full width on small phones */
    .video-wrap--nux,
    .video-wrap--cyfrowa,
    .video-wrap--automatyka {
        max-width: 100%;
    }

    /* Prevent long email/phone overflow */
    .contact-info a,
    .footer a {
        overflow-wrap: break-word;
        word-break: break-all;
    }
}

/* =============================================
   FOOTER POLICIES
   ============================================= */
.footer__social {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

.footer__social a {
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.2s;
    display: flex;
}

.footer__social a:hover {
    color: var(--green-400);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
}

.footer__bottom-brand .logo__img {
    height: 21px;
    width: auto;
    margin-bottom: 8px;
}

.footer__bottom-brand p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer__policies {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-top: 6px;
}

.footer__policies a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: rgba(255, 255, 255, 0.3);
    transition: color 0.2s, text-decoration-color 0.2s;
}

.footer__policies a:hover {
    color: var(--green-400);
    text-decoration-color: var(--green-400);
}

.footer__policies span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
}

/* =============================================
   ACCESSIBILITY WIDGET
   ============================================= */
.a11y-widget {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 9999;
}

.a11y-widget__trigger {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    border: none;
    background: var(--blue-900);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s var(--ease), background 0.2s;
}

.a11y-widget__trigger:hover {
    transform: scale(1.1);
    background: var(--blue-950);
}

.a11y-widget__panel {
    position: absolute;
    bottom: 64px;
    left: 0;
    width: 280px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: all 0.3s var(--ease);
    pointer-events: none;
}

.a11y-widget.open .a11y-widget__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.a11y-widget__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px 12px;
    border-bottom: 1px solid var(--gray-100);
}

.a11y-widget__header h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

.a11y-widget__close {
    width: 44px;
    height: 44px;
    border: none;
    background: var(--gray-100);
    border-radius: 0;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: background 0.2s;
}

.a11y-widget__close:hover {
    background: var(--gray-200);
}

.a11y-widget__options {
    padding: 8px 12px;
    max-height: 340px;
    overflow-y: auto;
}

.a11y-widget__option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    color: var(--gray-700);
    transition: background 0.15s, color 0.15s;
    text-align: left;
    font-family: var(--font-body);
}

.a11y-widget__option:hover {
    background: var(--gray-50);
}

.a11y-widget__option.active {
    background: var(--green-50);
    color: var(--green-700);
}

.a11y-widget__option.active svg {
    stroke: var(--green-600);
}

.a11y-widget__option svg {
    flex-shrink: 0;
    stroke: var(--gray-500);
}

.a11y-widget__reset {
    width: calc(100% - 24px);
    margin: 8px 12px 12px;
    padding: 10px;
    border: 1px solid var(--gray-200);
    background: none;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    color: var(--gray-500);
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-body);
}

.a11y-widget__reset:hover {
    border-color: var(--gray-300);
    color: var(--gray-700);
}

/* Accessibility modes */
html.a11y-contrast {
    filter: contrast(1.5) !important;
}

html.a11y-contrast * {
    border-color: #000 !important;
}

html.a11y-grayscale {
    filter: grayscale(1) !important;
}

html.a11y-underline-links a {
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

html.a11y-big-cursor,
html.a11y-big-cursor * {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M4 4l7.07 17 2.51-7.39L21 11.07z' fill='%23000' stroke='%23fff' stroke-width='1'/%3E%3C/svg%3E") 4 4, auto !important;
}


html.a11y-voice .a11y-tts-highlight {
    background: rgba(45, 196, 113, 0.25);
    outline: 2px solid var(--green-500);
    outline-offset: 2px;
    border-radius: 0;
}

/* Reading guide */
.reading-guide {
    display: none;
    position: fixed;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(45, 196, 113, 0.18);
    border-top: 2px solid rgba(45, 196, 113, 0.4);
    border-bottom: 2px solid rgba(45, 196, 113, 0.4);
    pointer-events: none;
    z-index: 99998;
    transition: top 0.05s linear;
}

html.a11y-reading-guide .reading-guide {
    display: block;
}

/* =============================================
   AI CHATBOT
   ============================================= */
.chatbot {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9998;
}

.chatbot__trigger {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    border: none;
    background: var(--ncb-secondary, var(--green-600));
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(37, 163, 94, 0.35);
    opacity: var(--ncb-opacity, 1);
    transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.chatbot__trigger:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 30px rgba(37, 163, 94, 0.5);
}

.chatbot__icon-close {
    display: none;
}

.chatbot.open .chatbot__icon-open {
    display: none;
}

.chatbot.open .chatbot__icon-close {
    display: block;
}

.chatbot__panel {
    position: absolute;
    bottom: 72px;
    right: 0;
    width: 600px;
    max-height: 88vh;
    background: var(--ncb-bg, var(--white));
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: all 0.3s var(--ease);
    pointer-events: none;
    overflow: hidden;
}

.chatbot.open .chatbot__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.chatbot.open {
    z-index: 10000;
}

.chatbot__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px 14px 20px;
    background: var(--ncb-primary, var(--blue-900));
    color: var(--white);
}

.chatbot__avatar {
    width: 36px;
    height: 36px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chatbot__header h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    font-family: var(--font-heading);
    flex: 1;
}

.chatbot__status {
    font-size: 0.75rem;
    opacity: 0.7;
}

.chatbot__close {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
    margin-left: auto;
}

.chatbot__close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.chatbot__messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    padding-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 640px;
    min-height: 320px;
    scroll-behavior: smooth;
}

/* Mobile chatbot â€” fullscreen */
@media (max-width: 600px) {
    .chatbot.open .chatbot__panel {
        position: fixed;
        inset: 0;
        bottom: 0;
        right: 0;
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .chatbot__messages {
        max-height: none;
        flex: 1;
    }

    .chatbot.open .chatbot__trigger {
        display: none;
    }
}

.chatbot__message {
    max-width: 85%;
    animation: chatFadeIn 0.3s var(--ease);
}

@keyframes chatFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chatbot__message--bot {
    align-self: flex-start;
}

.chatbot__message--bot p {
    background: var(--gray-100);
    color: var(--ncb-text, var(--gray-800));
    padding: 12px 16px;
    border-radius: 0;
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
}

.chatbot__message--bot p+p {
    margin-top: 6px;
    border-radius: var(--radius-md);
}

.chatbot__message--bot p ul {
    margin: 8px 0 4px;
    padding-left: 18px;
    list-style: disc;
}

.chatbot__message--bot p ul li {
    margin-bottom: 4px;
    line-height: 1.5;
}

.chatbot__message--bot p a {
    color: var(--ncb-secondary, var(--green-700));
    text-decoration: underline;
    text-underline-offset: 2px;
}

.chatbot__message--bot p a:hover {
    color: var(--green-600);
}

/* Typing indicator */
.typing-dots {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    padding: 4px 0;
}

.typing-dots span {
    width: 7px;
    height: 7px;
    border-radius: 0;
    background: var(--gray-400);
    display: inline-block;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dots span:nth-child(1) {
    animation-delay: 0s;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {

    0%,
    80%,
    100% {
        transform: scale(0.6);
        opacity: 0.4;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.chatbot__message--user {
    align-self: flex-end;
}

.chatbot__message--user p {
    background: var(--ncb-secondary, var(--green-600));
    color: var(--white);
    padding: 10px 14px;
    border-radius: 0;
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0;
}

.chatbot__message--bot .chatbot__contact-form {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-top: 8px;
}

.chatbot__contact-form h4 {
    font-size: 0.9rem;
    margin: 0 0 12px;
    color: var(--gray-800);
}

.chatbot__contact-form input,
.chatbot__contact-form textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    margin-bottom: 8px;
    font-family: var(--font-body);
    box-sizing: border-box;
}

.chatbot__contact-form textarea {
    resize: vertical;
    min-height: 60px;
}

.chatbot__contact-form label.chatbot__consent {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 0.75rem;
    color: var(--gray-600);
    margin-bottom: 6px;
    cursor: pointer;
}

.chatbot__contact-form label.chatbot__consent input[type="checkbox"] {
    width: auto;
    margin: 2px 0 0;
    flex-shrink: 0;
}

.chatbot__contact-form button {
    width: 100%;
    padding: 8px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--ncb-secondary, var(--green-600));
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 4px;
    font-family: var(--font-body);
    transition: background 0.2s;
}

.chatbot__contact-form button:hover {
    background: var(--green-700);
}

.chatbot__suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 12px 10px;
    justify-content: center;
}

.chatbot__suggestion {
    padding: 6px 10px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    cursor: pointer;
    font-size: 0.75rem;
    color: var(--gray-600);
    line-height: 1.3;
    transition: all 0.2s;
    font-family: var(--font-body);
    flex: 0 1 auto;
    max-width: 100%;
    white-space: nowrap;
}

.chatbot__suggestion:hover {
    border-color: var(--ncb-secondary, var(--green-400));
    color: var(--ncb-secondary, var(--green-700));
    background: var(--green-50);
}

.chatbot__privacy {
    margin: 0;
    padding: 8px 16px 0;
    border-top: 1px solid var(--gray-100);
    color: var(--gray-500);
    font-size: 0.72rem;
    line-height: 1.35;
}

.chatbot__input {
    display: flex;
    gap: 0;
    padding: 8px 12px 12px 16px;
}

.chatbot__input input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.88rem;
    color: var(--ncb-text, var(--gray-800));
    font-family: var(--font-body);
    background: transparent;
}

.chatbot__input input::placeholder {
    color: var(--gray-400);
}

.chatbot__input button {
    width: 36px;
    height: 36px;
    border-radius: 0;
    border: none;
    background: var(--ncb-secondary, var(--green-600));
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}

.chatbot__input button:hover {
    background: var(--green-700);
}

/* =============================================
   COOKIE CONSENT BAR (PASEK NA DOLE)
   ============================================= */
.cc-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 99990;
    background: #ffffff;
    border-top: 3px solid var(--green-500, #2dc471);
    box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.15);
    border-radius: 0;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.35s;
}

.cc-bar.visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.cc-bar__container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
}

.cc-bar__main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.cc-bar__content {
    flex: 1;
    min-width: 0;
}

.cc-bar__text {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #334155;
    margin: 0;
}

.cc-bar__text a {
    color: #065f32;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.cc-bar__text a:hover {
    color: #043d20;
}

.cc-bar__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.cc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: var(--font-body);
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    line-height: 1.2;
}

.cc-btn--accept {
    background: #16a34a;
    color: #ffffff;
    border: 1px solid #16a34a;
}

.cc-btn--accept:hover {
    background: #15803d;
    border-color: #15803d;
}

.cc-btn--reject {
    background: #ffffff;
    color: #334155;
    border: 1px solid #cbd5e1;
}

.cc-btn--reject:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
}

.cc-btn--customize {
    background: transparent;
    color: #475569;
    border: 1px solid #cbd5e1;
}

.cc-btn--customize:hover {
    background: #f8fafc;
    color: #0f172a;
    border-color: #94a3b8;
}

.cc-btn--save {
    background: #0f172a;
    color: #ffffff;
    border: 1px solid #0f172a;
    padding: 10px 24px;
}

.cc-btn--save:hover {
    background: #1e293b;
    border-color: #1e293b;
}

/* Collapsible Settings Drawer inside the bar */
.cc-bar__settings {
    display: none;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
    max-height: 48vh;
    overflow-y: auto;
}

.cc-bar__settings.visible {
    display: block;
}

.cc-bar__settings-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    margin-top: 14px;
}

/* Category grid */
.cc-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

.cc-category {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 10px 14px;
    border-radius: 0;
}

.cc-category__header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.cc-category__accordion {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    text-align: left;
    padding: 0;
}

.cc-category__name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
}

.cc-category__chevron {
    color: #64748b;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.cc-category.open .cc-category__chevron {
    transform: rotate(180deg);
}

.cc-category__always {
    font-size: 0.75rem;
    font-weight: 600;
    color: #16a34a;
    background: #dcfce7;
    padding: 2px 7px;
    white-space: nowrap;
}

.cc-category__body {
    display: none;
    padding-top: 8px;
    margin-top: 8px;
    border-top: 1px dashed #e2e8f0;
}

.cc-category.open .cc-category__body {
    display: block;
}

.cc-category__body p {
    font-size: 0.8rem;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

/* Toggle switch */
.cc-toggle {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
    cursor: pointer;
}

.cc-toggle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.cc-toggle__track {
    width: 40px;
    height: 22px;
    border-radius: 0;
    background: #cbd5e1;
    position: relative;
    transition: background 0.2s;
}

.cc-toggle__track::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    left: 3px;
    top: 3px;
    background: #ffffff;
    border-radius: 0;
    transition: transform 0.2s;
}

.cc-toggle input:checked + .cc-toggle__track {
    background: #16a34a;
}

.cc-toggle input:checked + .cc-toggle__track::before {
    transform: translateX(18px);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .cc-bar__container {
        padding: 14px 16px;
    }

    .cc-bar__main {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .cc-bar__actions {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .cc-bar__actions .cc-btn {
        flex: 1 1 calc(50% - 4px);
        text-align: center;
        padding: 10px 14px;
    }

    .cc-bar__actions .cc-btn--accept {
        flex: 1 1 100%;
        order: -1;
    }

    .cc-categories {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   POLICY MODALS
   ============================================= */
.policy-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
}

.policy-modal.open {
    display: flex;
}

.policy-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.policy-modal__content {
    position: relative;
    width: 90%;
    max-width: 720px;
    max-height: 85vh;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalIn 0.3s var(--ease);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.policy-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px 16px;
    border-bottom: 1px solid var(--gray-100);
    flex-shrink: 0;
}

.policy-modal__header h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--gray-900);
    margin: 0;
}

.policy-modal__close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--gray-100);
    border-radius: 0;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: all 0.2s;
}

.policy-modal__close:hover {
    background: var(--gray-200);
    color: var(--gray-800);
}

.policy-modal__body {
    padding: 24px 32px 32px;
    overflow-y: auto;
    flex: 1;
}

.policy-modal__body .policy-date {
    font-size: 0.82rem;
    color: var(--gray-400);
    margin: 0 0 24px;
    font-style: italic;
}

.policy-modal__body h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue-900);
    margin: 28px 0 12px;
}

.policy-modal__body h3:first-of-type {
    margin-top: 0;
}

.policy-modal__body h4 {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 16px 0 8px;
}

.policy-modal__body p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0 0 12px;
}

.policy-modal__body ul {
    margin: 0 0 16px;
    padding-left: 20px;
}

.policy-modal__body li {
    font-size: 0.88rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 6px;
}

.policy-modal__body a {
    color: var(--green-600);
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0 20px;
    font-size: 0.82rem;
}

.cookie-table th {
    text-align: left;
    padding: 10px 12px;
    background: var(--gray-50);
    color: var(--gray-700);
    font-weight: 600;
    border-bottom: 2px solid var(--gray-200);
}

.cookie-table td {
    padding: 8px 12px;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-600);
}

/* =============================================
   RESPONSIVE OVERRIDES FOR WIDGETS
   ============================================= */
@media (max-width: 768px) {
    .a11y-widget {
        left: 12px;
        bottom: 12px;
    }

    .a11y-widget__trigger {
        width: 46px;
        height: 46px;
    }

    .a11y-widget__panel {
        width: 260px;
    }

    .chatbot {
        right: 12px;
        bottom: 12px;
    }

    .chatbot__trigger {
        width: 52px;
        height: 52px;
    }

    .chatbot__panel {
        width: calc(100vw - 24px);
        right: -6px;
        bottom: 64px;
        max-height: 70vh;
    }

    .cc-overlay {
        padding: 12px;
    }

    .cc-modal {
        max-height: 92vh;
    }

    .cc-header {
        padding: 18px 20px 0;
    }

    .cc-header__title {
        font-size: 1rem;
    }

    .cc-body {
        padding: 16px 20px;
    }

    .cc-footer {
        padding: 16px 20px;
        flex-direction: column;
        gap: 8px;
    }

    .cc-btn {
        padding: 12px;
    }

    .policy-modal__content {
        width: 96%;
        max-height: 90vh;
    }

    .policy-modal__header {
        padding: 16px 20px 12px;
    }

    .policy-modal__body {
        padding: 16px 20px 24px;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer__bottom-brand .logo__img {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Demo Form Modal */
.policy-modal__content--demo {
    max-width: 720px;
}

@media (min-width: 769px) {

    .demo-form .form-group {
        margin-bottom: 12px;
    }

    .demo-form .form-group--checkbox {
        margin-bottom: 16px;
    }
}

.demo-form__subtitle {
    font-size: 0.88rem;
    color: var(--gray-500);
    margin: 4px 0 0;
    font-weight: 400;
}

.demo-form .form-group {
    margin-bottom: 16px;
}

.demo-form .form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.demo-form .form-group input,
.demo-form .form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    transition: border-color 0.2s;
    background: var(--white);
    font-family: var(--font-body);
}

.demo-form .form-group input:focus,
.demo-form .form-group textarea:focus {
    outline: none;
    border-color: var(--green-500);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

.demo-form .contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.demo-form .required {
    color: #dc2626;
    font-weight: 700;
}

.demo-form .form-group--checkbox {
    margin-top: 4px;
    margin-bottom: 20px;
}

.demo-form .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.demo-form .checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--green-600);
    cursor: pointer;
}

.demo-form .checkbox-text {
    font-size: 0.78rem;
    color: var(--gray-600);
    line-height: 1.45;
}

.demo-form__disclaimer {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 12px;
    text-align: center;
    line-height: 1.4;
}

.demo-form__disclaimer a {
    color: var(--green-600);
}

.demo-form__success {
    text-align: center;
    padding: 40px 20px;
}

.demo-form__success svg {
    color: var(--green-500);
    margin-bottom: 16px;
}

.demo-form__success h3 {
    color: var(--gray-900);
    margin-bottom: 8px;
}

.demo-form__success p {
    color: var(--gray-500);
    font-size: 0.92rem;
}

/* =============================================
   PREFERS-REDUCED-MOTION
   ============================================= */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    html {
        scroll-behavior: auto !important;
    }
}

/* =============================================
   SCROLL TO TOP BUTTON
   ============================================= */
.scroll-top {
    position: fixed;
    left: 20px;
    bottom: 84px;
    z-index: 9998;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--green-500);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(45, 196, 113, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease), transform 0.3s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top:hover {
    transform: scale(1.1);
    background: var(--green-600);
    box-shadow: 0 6px 24px rgba(45, 196, 113, 0.45);
}
.scroll-top:active {
    transform: scale(0.95);
}
.scroll-top svg {
    pointer-events: none;
}
@media (max-width: 768px) {
    .scroll-top {
        left: 12px;
        bottom: 72px;
        width: 46px;
        height: 46px;
    }
}

/* Laptop hero: readable copy and a separate safe area for interactive cards. */
@media (min-width: 769px) {
 .hero { min-height:max(100dvh, 720px); }
 .hero__content { width:min(720px, 43%); max-width:none; margin-left:clamp(20px,3vw,60px); padding:120px 0 160px; }
 .hero__glass-frame { padding:clamp(26px,2.4vw,42px); background-color:rgba(0,45,74,.7) !important; }
 .hero__title { font-size:clamp(1.9rem,2.55vw,3rem); }
 .hero__subtitle { font-size:clamp(1rem,1.1vw,1.15rem); line-height:1.6; margin-bottom:24px; }
 .hero__cta { gap:12px; }
 .hero__cta .btn { padding:15px 22px; font-size:.94rem; }
 .hero__hotspots-layer .hotspot { --hotspot-backdrop-size:36px; --hotspot-core-size:18px; }
 .hero__hotspots-layer .hotspot__tooltip { width:var(--tip-width,360px); left:var(--tip-left,60px); top:var(--tip-top,0px); right:auto; bottom:auto; padding:22px; transform:none !important; transition:opacity .35s ease; }
 .hero__hotspots-layer .hotspot[hidden] { display:none; }
 .hero__hotspots-layer .hotspot__tooltip::before { display:block; content:''; width:0; height:0; inset:auto; border:8px solid transparent; transform:none; }
 .hero__hotspots-layer .hotspot__tooltip[data-side="right"]::before { left:-16px; top:calc(var(--tip-arrow-y) - 8px); border-right-color:rgba(255,255,255,.98); }
 .hero__hotspots-layer .hotspot__tooltip[data-side="left"]::before { right:-16px; top:calc(var(--tip-arrow-y) - 8px); border-left-color:rgba(255,255,255,.98); }
 .hero__hotspots-layer .hotspot__tooltip[data-side="up"]::before { bottom:-16px; left:calc(var(--tip-arrow-x) - 8px); border-top-color:rgba(255,255,255,.98); }
 .hero__hotspots-layer .hotspot__tooltip[data-side="down"]::before { top:-16px; left:calc(var(--tip-arrow-x) - 8px); border-bottom-color:rgba(255,255,255,.98); }
}

/* Subtle glass navigation while scrolling, solid on interaction. */
.header.scrolled { background:rgba(255,255,255,.88); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); transition:background-color .3s ease; }
.header.scrolled:hover, .header.scrolled:focus-within { background:#fff; }

/* Reviewer trial: white labels on a darker brand green (contrast > 4.5:1). */
.home .btn.btn--primary { color: #fff; background-color: #16854e; }
.home .btn.btn--primary:hover { color: #fff; background-color: #116b3e; }

/* Homepage opinions: original quote cards in the flat NOVUM style. */
.nv-opinions .testimonial { border-radius:0; box-shadow:none; transform:none; overflow-wrap:anywhere; }
.nv-opinions .testimonial:hover { box-shadow:none; transform:none; border-color:var(--green-500); }
.nv-opinions .section__title, .nv-opinions .testimonial__name { color:#004672; }

/* Bank icon in client opinions: NOVUM green with a white symbol. */
.nv-opinions .testimonial__avatar { background:var(--green-500); color:#fff; }

/* Active opinion pagination uses the second NOVUM brand colour. */
.nv-opinions .tslider__dot--active { background:#004672; }

/* Footer columns flow automatically when disabled or empty. */
.footer__grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.footer__grid > * { min-width: 0; overflow-wrap: anywhere; }
.footer__grid:not(:has(> *)) { display: none; }
@media (max-width: 767px) { .footer__grid { grid-template-columns: 1fr; } }

/* Readable line endings across public pages; no forced line counts on phones. */
main :is(h1,h2,h3,h4) { text-wrap: balance; }
main :is(p,li,figcaption) { text-wrap: pretty; }
