/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
    --green-50: #ecfdf5;
    --green-100: #d1fae5;
    --green-200: #a7f3d0;
    --green-300: #6ee7b7;
    --green-400: #34d399;
    --green-500: #10b981;
    --green-600: #059669;
    --green-700: #047857;
    --green-800: #065f46;

    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-700: #1d4ed8;
    --blue-800: #1e3a5f;
    --blue-900: #172554;
    --blue-950: #0c1e3a;

    --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: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Plus Jakarta Sans', 'Inter', 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(16, 185, 129, 0.15);

    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 6px;
    --radius-xl: 8px;

    --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: var(--white);
    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(16, 185, 129, 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: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.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: linear-gradient(135deg, var(--green-600), var(--green-500));
    color: var(--white);
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.45);
}

.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: rgba(255, 255, 255, 0.7);
    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: rgba(255, 255, 255, 0.95);
    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);
}

/* 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: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    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: rgba(255, 255, 255, 0.96);
}

.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-500);
    margin-top: 2px;
}

/* Wide dropdown — Platforma bankowa (2-column) */
#dropdown-platforma .dropdown__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

#dropdown-platforma {
    min-width: 580px;
}

/* 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: 6px;
    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: 2px;
    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;
}

/* 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 {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ken Burns — only on active slide */
.hero__slide--active .hero__bg-image {
    animation: kenBurns 20s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.06) translate(-0.5%, -0.5%);
    }
}

/* 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(12, 30, 58, 0.7) 0%, rgba(12, 30, 58, 0.25) 35%, rgba(12, 30, 58, 0.08) 60%, rgba(12, 30, 58, 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 {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.4s var(--ease);
}

.hero__dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}

.hero__dot--active {
    background: var(--green-400);
    border-color: var(--green-400);
    box-shadow: 0 0 8px rgba(52, 211, 153, 0.5);
    transform: scale(1.15);
}

/* 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: 2px;
    overflow: hidden;
}

.hero__slider-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--green-400);
    border-radius: 2px;
    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: 0;
}

@keyframes heroContentIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glass Frame around hero text */
.hero__glass-frame {
    background: rgba(12, 30, 58, 0.28);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-xl);
    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(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--green-300), var(--green-400), #60d4f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-bottom: 32px;
    line-height: 1.7;
    font-weight: 400;
}

.hero__cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* 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 {
    position: absolute;
    cursor: pointer;
    width: 44px;
    height: 44px;
    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: 18px;
    height: 18px;
    border-radius: 50%;
    background: #059669;
    box-shadow: 0 0 18px 4px rgba(5, 150, 105, 0.7), 0 0 40px 8px rgba(5, 150, 105, 0.25);
    z-index: 2;
    transition: all 0.3s var(--ease);
}

/* Static outer glow ring for visibility */
.hotspot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(52, 211, 153, 0.12);
    border: 1.5px solid rgba(52, 211, 153, 0.35);
}

.hotspot__ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(52, 211, 153, 0.6);
    animation: hotspotPulse 3s ease-out infinite;
}

.hotspot__ring--delay {
    animation-delay: 1.5s;
}

@keyframes hotspotPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

/* Hover state — enlarge core */
.hotspot:hover .hotspot__core,
.hotspot.active .hotspot__core {
    width: 22px;
    height: 22px;
    background: #047857;
    box-shadow: 0 0 24px 6px rgba(4, 120, 87, 0.9), 0 0 60px 12px rgba(4, 120, 87, 0.3);
}

/* Tooltip — appears smoothly, stays for comfortable interaction */
.hotspot__tooltip {
    position: absolute;
    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(16, 185, 129, 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(16, 185, 129, 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);
}

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

/* Show on hover — with delay on hide for comfortable navigation */
.hotspot:hover .hotspot__tooltip,
.hotspot.active .hotspot__tooltip {
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0s;
}

.hotspot:hover .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%);
}

/* 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(--green-600);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.hotspot__tooltip p {
    font-size: 0.88rem;
    color: var(--gray-600);
    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: 4px;
    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(16, 185, 129, 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(16, 185, 129, 0.15);
}

/* =============================================
   MOBILE PRODUCTS STRIP
   ============================================= */
.mobile-products {
    display: none;
    padding: 0 0 16px;
    background: var(--gray-50);
}

.mobile-products__scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 16px 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.mobile-products__scroll::-webkit-scrollbar {
    display: none;
}

.mobile-product-card {
    flex-shrink: 0;
    width: 200px;
    padding: 16px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    scroll-snap-align: start;
    border-left: 3px solid var(--green-500);
}

.mobile-product-card h4 {
    font-size: 0.85rem;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.mobile-product-card p {
    font-size: 0.78rem;
    color: var(--gray-500);
}

/* =============================================
   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);
    background: linear-gradient(135deg, var(--green-600), var(--blue-800));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trust__plus {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    background: linear-gradient(135deg, var(--green-600), var(--blue-800));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.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: var(--blue-950);
    color: var(--white);
}

.section--navy {
    background: var(--blue-950);
    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(16, 185, 129, 0.06);
}

.section--parallax-wsparcie .support-card:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(16, 185, 129, 0.12);
}

.section__header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px;
}

.section__badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 4px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 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: 0.55em;
    font-weight: 500;
    letter-spacing: 0.02em;
    opacity: 0.6;
    margin-top: 4px;
}

.section__desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

.section__desc--dark {
    color: var(--gray-500);
}

/* 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--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));
}

.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(16, 185, 129, 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;
}

.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(16, 185, 129, 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);
}

.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: 20px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(5, 150, 105, 0.06) 100%);
    border: 1px solid rgba(16, 185, 129, 0.25);
    overflow: hidden;
    padding: 48px 56px;
}

.nux-cta__glow {
    position: absolute;
    top: -40%;
    right: -10%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.nux-cta__content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.nux-cta__title {
    font-family: 'Plus Jakarta Sans', 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: linear-gradient(135deg, var(--green-500) 0%, var(--green-600) 100%);
    color: #fff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 12px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 24px rgba(16, 185, 129, 0.3), 0 0 0 0 rgba(16, 185, 129, 0);
    flex-shrink: 0;
}

.nux-cta__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.45), 0 0 0 4px rgba(16, 185, 129, 0.15);
    background: linear-gradient(135deg, var(--green-400) 0%, var(--green-500) 100%);
}

.nux-cta__btn-arrow {
    transition: transform 0.3s ease;
}

.nux-cta__btn:hover .nux-cta__btn-arrow {
    transform: translateX(4px);
}

@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(16, 185, 129, 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: 6px;
    background: rgba(16, 185, 129, 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.55);
    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: 50%;
    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: 4px;
    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: linear-gradient(135deg, var(--green-50), var(--blue-50));
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card__image--1 {
    background: linear-gradient(135deg, #ecfdf5, #dbeafe);
}

.blog-card__image--2 {
    background: linear-gradient(135deg, #fef3c7, #d1fae5);
}

.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: 4px;
    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-400);
}

/* 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: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: transparent;
    background: linear-gradient(135deg, #34d399, #60d4f0);
    -webkit-background-clip: text;
    background-clip: text;
    margin-top: 12px;
}

/* =============================================
   O FIRMIE — Multi-zone backgrounds
   ============================================= */
.section--ofirmie-top {
    position: relative;
    padding: 72px 0 48px;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(170deg, #0f1f38 0%, #132844 40%, #162e4e 70%, #0f2240 100%);
}

.section--ofirmie-top::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 700px 400px at 25% 90%, rgba(16, 185, 129, 0.05) 0%, transparent 70%),
        radial-gradient(ellipse 500px 500px at 80% 15%, rgba(59, 130, 246, 0.04) 0%, transparent 70%);
}

.section--ofirmie-bottom {
    position: relative;
    padding: 40px 0 64px;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(180deg, #122640 0%, #152c48 40%, #0f2240 100%);
}

.section--ofirmie-bottom::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 700px 500px at 50% 30%, rgba(16, 185, 129, 0.03) 0%, transparent 70%);
}

/* Timeline background animations — flow of time */
.htl-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

/* 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(16, 185, 129, 0.35) 30%,
            rgba(16, 185, 129, 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 dots drifting upward */
.htl-particle {
    position: absolute;
    border-radius: 50%;
    animation: htlParticleRise linear infinite;
}

.htl-particle--1 {
    width: 3px;
    height: 3px;
    left: 6%;
    bottom: -5%;
    background: rgba(16, 185, 129, 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: 2px;
    height: 2px;
    left: 28%;
    bottom: -5%;
    background: rgba(16, 185, 129, 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: 5px;
    right: 12%;
    bottom: -5%;
    background: rgba(16, 185, 129, 0.4);
    animation-duration: 20s;
    animation-delay: -6s;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}

.htl-particle--6 {
    width: 2px;
    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: 3px;
    right: 5%;
    bottom: -5%;
    background: rgba(16, 185, 129, 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 rings — ripples spreading from points */
.htl-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(16, 185, 129, 0.25);
    animation: htlRingExpand 5s ease-out infinite;
}

.htl-ring--1 {
    width: 20px;
    height: 20px;
    top: 18%;
    left: 10%;
    animation-duration: 5s;
    animation-delay: 0s;
}

.htl-ring--2 {
    width: 20px;
    height: 20px;
    top: 55%;
    right: 12%;
    animation-duration: 6s;
    animation-delay: -2s;
    border-color: rgba(37, 99, 235, 0.2);
}

.htl-ring--3 {
    width: 20px;
    height: 20px;
    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.6;
    }

    80% {
        opacity: 0.1;
    }

    100% {
        transform: scale(12);
        opacity: 0;
    }
}

/* Horizontal scan line — sweeping downward */
.htl-scan {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    top: -2%;
    background: linear-gradient(to right,
            transparent 0%,
            rgba(16, 185, 129, 0.05) 20%,
            rgba(16, 185, 129, 0.2) 50%,
            rgba(16, 185, 129, 0.05) 80%,
            transparent 100%);
    animation: htlScanDown 8s ease-in-out infinite;
}

@keyframes htlScanDown {
    0% {
        top: -2%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 102%;
        opacity: 0;
    }
}

/* ---- People parallax: 3-column photo strip ---- */
.people-px {
    position: relative;
    height: 70vh;
    min-height: 480px;
    max-height: 720px;
    overflow: hidden;
    scroll-margin-top: 84px;
}

.people-px__cols {
    position: absolute;
    inset: -15% 0;
    z-index: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    height: 130%;
}

.people-px__col {
    overflow: hidden;
    will-change: transform;
}

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

.people-px__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse at center, rgba(10, 22, 40, 0.45) 0%, rgba(10, 22, 40, 0.75) 100%),
        linear-gradient(180deg, #0a1628 0%, transparent 12%, transparent 88%, #0b1a30 100%);
}

.people-px__headline {
    position: absolute;
    inset: 0;
    z-index: 2;
    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.4rem, 6vw, 4.2rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
    margin: 0;
}

.people-px__title span {
    color: var(--green-400);
}

.people-px__sub {
    margin-top: 18px;
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
    max-width: 520px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .people-px {
        height: 55vh;
        min-height: 380px;
    }

    .people-px__cols {
        height: 120%;
        inset: -10% 0;
    }

    .people-px__title {
        font-size: 2rem;
    }
}

/* 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: linear-gradient(to bottom, var(--green-400), var(--green-500), var(--blue-600));
    border-radius: 2px;
    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: 50%;
    background: rgba(16, 185, 129, 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(2);
        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: 50%;
    background: var(--green-500);
    border: 3px solid var(--blue-950);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3), 0 0 20px rgba(16, 185, 129, 0.2);
    z-index: 2;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.htl__dot:hover,
.htl__node.active .htl__dot {
    transform: scale(1.4);
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.4), 0 0 30px rgba(16, 185, 129, 0.3);
}

.htl__dot--crown {
    width: 76px;
    height: 76px;
    margin: -38px 0 0 -38px;
    background: linear-gradient(135deg, var(--green-400), var(--green-600));
    border: 4px solid var(--blue-950);
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.3), 0 0 60px rgba(16, 185, 129, 0.3);
    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;
    background: rgba(16, 185, 129, 0.2);
}

.htl__dot--root {
    background: linear-gradient(135deg, #7a5c1f, #a07828);
    box-shadow: 0 0 0 3px rgba(139, 105, 20, 0.3), 0 0 20px rgba(139, 105, 20, 0.15);
}

/* Cards */
.htl__card {
    width: calc(50% - 52px);
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    backdrop-filter: blur(8px);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    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(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.25);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.1);
    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: 4px;
    background: rgba(16, 185, 129, 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(16, 185, 129, 0.2);
    transition: background 0.3s;
}

.htl__node:hover::before {
    background: rgba(16, 185, 129, 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;
}

.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: 50%;
    background: linear-gradient(135deg, var(--blue-800), var(--blue-950));
    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.78rem;
    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: 50%;
    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: 50%;
    background: var(--gray-200);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.tslider__dot--active {
    background: var(--green-500);
    transform: scale(1.2);
}

/* 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);
}

/* --- 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(16, 185, 129, 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-500);
    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: var(--green-600);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contact-form__consent a:hover {
    color: var(--green-700);
}

/* --- 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(16, 185, 129, 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(12, 30, 58, 0.75), rgba(5, 150, 105, 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: var(--blue-950);
    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.5);
}

.footer__links h4,
.footer__contact h4 {
    color: var(--white);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.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.6);
    transition: color 0.2s;
}

.footer__links a:hover {
    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.6);
    transition: color 0.2s;
}

.footer__contact a:hover {
    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 {
        font-family: var(--font-heading);
        font-weight: 800;
        font-size: 1.4rem;
        letter-spacing: 0.06em;
        color: #ffffff;
    }

    .nav__mobile-close {
        width: 36px;
        height: 36px;
        border: none;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 50%;
        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;
        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: 600px;
        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: transparent;
    }

    .nav--mobile #dropdown-platforma .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%;
    }

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

    .mobile-products {
        display: block;
    }

    .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.8rem, 7vw, 2.6rem);
    }

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

    .trust__grid {
        grid-template-columns: 1fr 1fr;
    }

    .security-card {
        padding: 16px 18px;
    }

    .support-card {
        padding: 24px;
    }

    .contact-form {
        padding: 24px;
    }
}

/* =============================================
   FOOTER POLICIES
   ============================================= */
.footer__social {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

.footer__social a {
    color: rgba(255, 255, 255, 0.5);
    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__text {
    font-size: 1.3rem;
    display: block;
    margin-bottom: 8px;
}

.footer__bottom-brand p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.footer__policies {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-top: 6px;
}

.footer__policies a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer__policies a:hover {
    color: var(--green-400);
}

.footer__policies span {
    color: rgba(255, 255, 255, 0.5);
    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: 50%;
    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: 50%;
    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-stop-animations,
html.a11y-stop-animations * {
    animation: none !important;
    transition: none !important;
}

html.a11y-voice .a11y-tts-highlight {
    background: rgba(16, 185, 129, 0.25);
    outline: 2px solid var(--green-500);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Reading guide */
.reading-guide {
    display: none;
    position: fixed;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(16, 185, 129, 0.18);
    border-top: 2px solid rgba(16, 185, 129, 0.4);
    border-bottom: 2px solid rgba(16, 185, 129, 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: 50%;
    border: none;
    background: linear-gradient(135deg, var(--green-500), var(--green-700));
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(5, 150, 105, 0.35);
    transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.chatbot__trigger:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 30px rgba(5, 150, 105, 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: 500px;
    max-height: 88vh;
    background: 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__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px 14px 20px;
    background: var(--blue-900);
    color: var(--white);
}

.chatbot__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    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;
        z-index: 10000;
    }

    .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(--gray-800);
    padding: 12px 16px;
    border-radius: var(--radius-md) var(--radius-md) var(--radius-md) 2px;
    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 a {
    color: 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: 50%;
    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(--green-600);
    color: var(--white);
    padding: 10px 14px;
    border-radius: var(--radius-md) var(--radius-md) 2px var(--radius-md);
    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(--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(--green-400);
    color: var(--green-700);
    background: var(--green-50);
}

.chatbot__input {
    display: flex;
    gap: 0;
    border-top: 1px solid var(--gray-100);
    padding: 12px 12px 12px 16px;
}

.chatbot__input input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.88rem;
    color: 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: 50%;
    border: none;
    background: 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 BANNER
   ============================================= */
/* =============================================
   COOKIE CONSENT MODAL
   ============================================= */
.cc-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s;
}

.cc-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.cc-modal {
    background: var(--white);
    border-radius: 6px;
    width: 100%;
    max-width: 640px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18), 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(24px) scale(0.97);
    transition: transform 0.35s var(--ease);
}

.cc-overlay.visible .cc-modal {
    transform: translateY(0) scale(1);
}

/* Header */
.cc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px 0;
    flex-shrink: 0;
}

.cc-header__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

.cc-header__close {
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    font-size: 1.5rem;
    color: var(--gray-400);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.cc-header__close:hover {
    background: var(--gray-100);
    color: var(--gray-700);
}

/* Scrollable body */
.cc-body {
    padding: 20px 28px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.cc-body::-webkit-scrollbar {
    width: 6px;
}

.cc-body::-webkit-scrollbar-track {
    background: transparent;
}

.cc-body::-webkit-scrollbar-thumb {
    background: var(--gray-200);
    border-radius: 3px;
}

/* Description */
.cc-desc {
    margin-bottom: 24px;
}

.cc-desc p {
    font-size: 0.88rem;
    color: var(--gray-600);
    line-height: 1.65;
    margin: 0 0 10px;
}

.cc-desc__more {
    display: none;
}

.cc-desc__more.visible {
    display: block;
}

.cc-desc__toggle {
    background: none;
    border: none;
    padding: 0;
    color: #3b82f6;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    font-family: var(--font-body);
    transition: color 0.2s;
}

.cc-desc__toggle:hover {
    color: #2563eb;
}

/* Category accordion */
.cc-categories {
    display: flex;
    flex-direction: column;
}

.cc-category {
    border-top: 1px solid var(--gray-100);
}

.cc-category:last-child {
    border-bottom: 1px solid var(--gray-100);
}

.cc-category__header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    text-align: left;
}

.cc-category__chevron {
    color: var(--gray-400);
    flex-shrink: 0;
    transition: transform 0.25s;
}

.cc-category.open .cc-category__chevron {
    transform: rotate(180deg);
}

.cc-category__name {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gray-800);
}

.cc-category__always {
    font-size: 0.8rem;
    font-weight: 600;
    color: #16a34a;
    white-space: nowrap;
}

.cc-category__body {
    display: none;
    padding: 0 0 16px 24px;
}

.cc-category.open .cc-category__body {
    display: block;
}

.cc-category__body p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.6;
    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: 44px;
    height: 24px;
    border-radius: 12px;
    background: var(--gray-300);
    position: relative;
    transition: background 0.3s;
}

.cc-toggle__track::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    top: 3px;
    background: var(--white);
    border-radius: 50%;
    transition: transform 0.3s;
}

.cc-toggle input:checked+.cc-toggle__track {
    background: #16a34a;
}

.cc-toggle input:checked+.cc-toggle__track::before {
    transform: translateX(20px);
}

/* Footer buttons */
.cc-footer {
    display: flex;
    gap: 12px;
    padding: 20px 28px;
    border-top: 1px solid var(--gray-100);
    flex-shrink: 0;
}

.cc-btn {
    flex: 1;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-body);
    transition: all 0.2s;
    text-align: center;
}

.cc-btn--reject {
    background: var(--white);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.cc-btn--reject:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
}

.cc-btn--save {
    background: var(--white);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.cc-btn--save:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
}

.cc-btn--accept {
    background: #16a34a;
    color: var(--white);
    border: 1px solid #16a34a;
}

.cc-btn--accept:hover {
    background: #15803d;
    border-color: #15803d;
}

/* =============================================
   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: 50%;
    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__text {
        text-align: center;
    }
}

/* Demo Form Modal */
.policy-modal__content--demo {
    max-width: 540px;
}

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