:root {
    --primary-color: #4a7c37;
    --primary-dark: #3a632b;
    --accent-muted: #A4AF9F;
    --text-color: #111111;
    --text-light: #555555;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --architect-bg: #d3dcd6;
    --section-gap: 120px;
    --font-family: 'Inter', sans-serif;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-width: 1320px;
    --font-hero: 48px;
    --font-h2: 28px;
    --font-h3: 16px;
    --font-body: 14px;
    --font-small: 12px;
    --font-tiny: 11px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-family: 'Inter', sans-serif;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.4;
    overflow-x: hidden;
    background-color: #f7f8fa;
    -webkit-font-smoothing: antialiased;
}

/* Inter wszędzie dla tekstu (nawigacja, nagłówki, treść) – ikony FA bez zmian */
h1, h2, h3, h4, h5, h6, p, a, span, li, label, input, textarea, select, td, th, .section-title, .btn {
    font-family: 'Inter', sans-serif;
}

/* Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

.text-left { text-align: left; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: var(--font-body);
    letter-spacing: 0.02em;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid #000;
}

.btn-outline-dark:hover {
    background-color: #000;
    color: var(--white);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--text-color);
}

.btn-accent, .link-zobacz-wiecej {
    background-color: var(--accent-muted);
    color: #fff;
    border-color: var(--accent-muted);
}
.btn-accent:hover, .link-zobacz-wiecej:hover {
    background-color: #8f9a8a;
    border-color: #8f9a8a;
    color: #fff;
}
a.link-zobacz-wiecej {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s, border-color 0.2s;
}

/* Header — ten sam kolor co panel mega (#fff) */
.site-header {
    font-family: 'Inter', sans-serif;
    background-color: #fff;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 72px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    border-top: none;
    border-bottom: none;
    border-left: 2px solid rgba(0, 0, 0, 0.08);
    border-right: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 0;
}

.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
}

.site-header .container.header-inner {
    max-width: 1380px;
    width: 100%;
    margin: 0 auto;
    padding: 0 30px;
    justify-content: space-between;
    position: relative;
    align-self: stretch;
    min-height: 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    margin-left: 40px; /* wyrównanie z lewą krawędzią treści .container (40px) */
}

.logo img {
    height: 34px;
    width: auto;
    transition: height 0.3s ease;
    display: block;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 34px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    color: var(--text-color);
    font-size: 12.5px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    transition: color 0.3s ease;
    position: relative;
    padding: 4px 0;
    white-space: nowrap;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.main-nav a:hover {
    color: var(--primary-color);
}

.main-nav a:hover::after {
    width: 100%;
}

/* Dropdown: interakcja i siatka bazowa — wygląd całego panelu w header-config.css (.site-header) */
.nav-item-dropdown {
    position: relative;
}
.nav-item-dropdown .nav-item-dropdown__link {
    display: inline-flex;
    align-items: center;
}
.nav-item-dropdown::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 10px;
}
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(0);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    display: grid;
    box-sizing: border-box;
    width: max-content;
}
.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.nav-dropdown::before {
    display: none;
}
.nav-dropdown-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
    color: #111;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    /* Jedna płaszczyzna: zdjęcie (contain) + tytuł na lekko szarym tle */
    background: rgba(236, 236, 236, 0.439);
    padding: 12px 12px 14px;
    box-sizing: border-box;
    box-shadow: none;
}
.nav-dropdown-card-img {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 3/2;
    box-sizing: border-box;
    padding: 12px;
    background-color: transparent;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-origin: content-box;
    border: none;
    border-radius: 12px;
    overflow: hidden;
}
.nav-dropdown-card-title {
    font-family: 'Inter', sans-serif;
    display: block;
    margin-top: 0;
    font-size: var(--font-body);
    font-weight: 600;
    color: #111;
}

/* Szybkie parametry jak w hero produktu — desktop: po hover / focus-within */
.nav-dropdown-card-specs.specs-list {
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

.nav-dropdown-card .nav-dropdown-card-specs .spec-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-family: 'Inter', sans-serif;
}

.nav-dropdown-card .nav-dropdown-card-specs .spec-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.nav-dropdown-card .nav-dropdown-card-specs .spec-name {
    font-size: 11px;
    font-weight: 400;
    color: #5c6369;
    line-height: 1.35;
}

.nav-dropdown-card .nav-dropdown-card-specs .spec-val {
    font-size: 11px;
    font-weight: 600;
    color: #111;
    line-height: 1.35;
    text-align: right;
}

@media (min-width: 993px) {
    .nav-dropdown-card-specs {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transform: translateY(-4px);
        transition:
            opacity 0.22s ease,
            max-height 0.3s ease,
            transform 0.22s ease;
        pointer-events: none;
    }

    .nav-dropdown-card:hover .nav-dropdown-card-specs,
    .nav-dropdown-card:focus-within .nav-dropdown-card-specs {
        max-height: 220px;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}

@media (max-width: 992px) {
    .nav-dropdown-card-specs {
        max-height: none;
        opacity: 1;
        overflow: visible;
        transform: none;
        pointer-events: auto;
        margin-top: 2px;
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
    flex-shrink: 0;
}

.header-separator {
    width: 1px;
    height: 24px;
    background-color: #e0e0e0;
}

.lang-selector {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    display: flex;
    align-items: center;
    font-size: 12px;
    cursor: pointer;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.ue-logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 10px; /* wyrównanie z prawą krawędzią treści .container (40px) */
}

.ue-text {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    line-height: 1.2;
    text-align: right;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    white-space: nowrap;
}

.ue-flag img {
    height: 28px;
    width: auto;
    display: block;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    gap: 6px;
    z-index: 1002;
    transition: transform 0.3s ease;
}
.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-color);
    border-radius: 10px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Hero – nawigacja + hero = 100vh */
.hero-wrapper {
    position: relative;
    width: 100%;
    height: calc(100vh - 72px);
    min-height: 0;
    padding: 0;
    box-sizing: border-box;
}

.hero-wrapper .hero-section {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    z-index: 0;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0.22) 42%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: absolute;
    z-index: 2;
    top: auto;
    bottom: 88px;
    left: 72px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    text-align: left;
    width: auto;
    max-width: 780px;
    padding: 0;
}

.hero-cta-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-cta-inner .btn,
.hero-cta-btn {
    height: 46px;
    padding: 0 26px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 15px;
    white-space: nowrap;
}

.hero-cta-btn.btn-primary {
    background-color: #4a7c37;
    border-color: #4a7c37;
    color: #fff;
}

.hero-cta-btn.btn-primary:hover {
    background-color: #3f6d30;
    border-color: #3f6d30;
}

.hero-cta-btn.btn-outline-dark {
    background-color: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.hero-cta-btn.btn-outline-dark:hover {
    background-color: #fff;
    color: var(--primary-color);
    border-color: #fff;
}

.hero-title {
    color: #ffffff;
    font-family: var(--font-family);
    font-size: clamp(30px, 3.9vw, 50px);
    font-weight: 300;
    line-height: 1.04;
    letter-spacing: -0.02em;
    text-transform: none;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.hero-title-strong {
    font-weight: 700;
}

.hero-title-accent {
    display: block;
    font-size: 1em;
    font-weight: 700;
    margin-top: 0.08em;
    letter-spacing: inherit;
}

/* Blok Gutenberg Hero — jeden RichText (strong + br) */
.hero-title strong,
.hero-title b {
    font-weight: 700;
}

.hero-title br + strong,
.hero-title br + b {
    display: block;
    font-size: 1em;
    font-weight: 700;
    margin-top: 0.08em;
    letter-spacing: inherit;
}

/* Ten sam model zakresów co w bloku Gutenberg (strona z szablonem / treścią HTML) */
.hero-title .hero-inline-light {
    font-weight: 300;
}

.hero-title .hero-inline-strong {
    font-weight: 700;
}

.hero-title .hero-inline-accent {
    display: block;
    font-size: 1em;
    font-weight: 700;
    margin-top: 0.08em;
    letter-spacing: inherit;
}

.hero-subtitle {
    color: var(--white);
    font-size: clamp(12px, 1.05vw, 14px);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 4px;
}

.hero-content .fundings-intro {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(13px, 1.1vw, 16px);
    font-weight: 300;
    line-height: 1.55;
    max-width: 640px;
}

.hero-content .fundings-intro.entry-content p {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    margin: 0.45em 0;
}

.hero-content .fundings-intro.entry-content p:first-child {
    margin-top: 0;
}

.hero-content .fundings-intro.entry-content p:last-child {
    margin-bottom: 0;
}

.hero-stats {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    max-width: none;
    --np-hero-sep-opacity: 0.4;
    --np-hero-val-min: 32px;
    --np-hero-val-mid: 40px;
    --np-hero-val-max: 48px;
    --np-hero-label-opacity: 0.9;
    background: #354035;
    border-radius: 0;
    padding: 38px 24px;
    min-height: 130px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/*
 * Gutenberg na landing: opakowania bloków nie zwężają layoutu (jak czysty HTML w UI:UX).
 */
.natan-landing-main .wp-block-post-content,
.natan-landing-main .entry-content {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.natan-landing-main .is-layout-constrained {
    max-width: none !important;
}

.natan-landing-main [class*='wp-block-natan-plast-landing-'] {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}

/* Poznaj nasze produkty – karty rozwijane przy hover (jak UI:UX — jawne longhandy flex, bo transition: flex słabo się interpoluje) */
.products-cards-section {
    margin-top: var(--section-gap);
    margin-bottom: var(--section-gap);
    --np-pc-flex-dur: 0.55s;
    --np-pc-flex-ease: cubic-bezier(0.33, 1, 0.68, 1);
    --np-pc-bg-dur: 0.5s;
    --np-pc-arrow-dur: 0.3s;
    /* Opis startuje przy ~90% rozsunięcia karty, potem łagodnie 0.4s */
    --np-pc-desc-show-delay: calc(var(--np-pc-flex-dur) * 0.9);
    --np-pc-desc-in-dur: 0.4s;
    --np-pc-desc-in-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
    --np-pc-desc-out-dur: 0.18s;
    --np-pc-desc-blur-out: 4px;
}

.products-cards-title {
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 700;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.products-cards-wrap {
    display: flex;
    justify-content: center;
    gap: 16px;
    height: 320px;
}

/* Karty desktop: rozszerzenie przez .products-card-np-active (JS — ostatnia wskazana zostaje); bez JS — pierwsza. Tekst w karcie do lewej. */
.products-cards-section .products-cards-wrap .products-card {
    position: relative;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 18%;
    min-width: 140px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    padding: 24px 20px;
    text-decoration: none;
    color: #fff;
    transition:
        flex-grow var(--np-pc-flex-dur) var(--np-pc-flex-ease),
        flex-shrink var(--np-pc-flex-dur) var(--np-pc-flex-ease),
        flex-basis var(--np-pc-flex-dur) var(--np-pc-flex-ease),
        min-width var(--np-pc-flex-dur) var(--np-pc-flex-ease);
}

@media (min-width: 769px) {
    .products-cards-section .products-cards-wrap .products-card-np-active,
    .products-cards-section .products-cards-wrap:not(:has(.products-card-np-active)) > .products-card:first-child {
        flex-grow: 1;
        flex-shrink: 1;
        flex-basis: 46%;
        min-width: 280px;
    }

    .products-cards-section .products-cards-wrap:has(.products-card-np-active) > .products-card:not(.products-card-np-active) {
        flex-grow: 0;
        flex-shrink: 0;
        flex-basis: 18%;
        min-width: 140px;
    }
}

.products-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transform-origin: center center;
    backface-visibility: hidden;
    transition: transform var(--np-pc-bg-dur) var(--np-pc-flex-ease);
}

@media (min-width: 769px) {
    .products-cards-section .products-cards-wrap .products-card-np-active .products-card-bg,
    .products-cards-section .products-cards-wrap:not(:has(.products-card-np-active)) > .products-card:first-child .products-card-bg {
        transform: scale(1.05);
    }

    .products-cards-section .products-cards-wrap:has(.products-card-np-active) > .products-card:not(.products-card-np-active) .products-card-bg {
        transform: scale(1);
    }
}

.products-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 45%, transparent 100%);
    pointer-events: none;
}

.products-card-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: left;
}

.products-card-heading {
    font-size: clamp(16px, 1.4vw, 20px);
    font-weight: 700;
    margin: 0 0 8px 0;
    letter-spacing: 0.02em;
    line-height: 1.2;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.products-card-desc {
    font-size: 12px;
    line-height: 1.45;
    margin: 0;
    white-space: pre-wrap;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(10px);
    filter: blur(var(--np-pc-desc-blur-out));
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    transition:
        opacity var(--np-pc-desc-out-dur) var(--np-pc-desc-in-ease),
        filter var(--np-pc-desc-out-dur) var(--np-pc-desc-in-ease),
        max-height var(--np-pc-desc-out-dur) var(--np-pc-desc-in-ease),
        transform var(--np-pc-desc-out-dur) var(--np-pc-desc-in-ease);
    transition-delay: 0s;
    will-change: opacity, transform, filter;
}

@media (min-width: 769px) {
    .products-cards-section .products-cards-wrap .products-card-np-active .products-card-desc,
    .products-cards-section .products-cards-wrap:not(:has(.products-card-np-active)) > .products-card:first-child .products-card-desc {
        opacity: 1;
        max-height: 100px;
        transform: translateY(0);
        filter: blur(0);
        transition:
            opacity var(--np-pc-desc-in-dur) var(--np-pc-desc-in-ease),
            filter var(--np-pc-desc-in-dur) var(--np-pc-desc-in-ease),
            max-height var(--np-pc-desc-in-dur) var(--np-pc-desc-in-ease),
            transform var(--np-pc-desc-in-dur) var(--np-pc-desc-in-ease);
        transition-delay: var(--np-pc-desc-show-delay);
    }

    .products-cards-section .products-cards-wrap:has(.products-card-np-active) > .products-card:not(.products-card-np-active) .products-card-desc {
        opacity: 0;
        max-height: 0;
        transform: translateY(10px);
        filter: blur(var(--np-pc-desc-blur-out));
        transition:
            opacity var(--np-pc-desc-out-dur) var(--np-pc-desc-in-ease),
            filter var(--np-pc-desc-out-dur) var(--np-pc-desc-in-ease),
            max-height var(--np-pc-desc-out-dur) var(--np-pc-desc-in-ease),
            transform var(--np-pc-desc-out-dur) var(--np-pc-desc-in-ease);
        transition-delay: 0s;
    }
}

.products-card-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transform: scale(1);
    transition: transform var(--np-pc-arrow-dur) var(--np-pc-flex-ease);
}

@media (min-width: 769px) {
    .products-cards-section .products-cards-wrap .products-card-np-active .products-card-arrow,
    .products-cards-section .products-cards-wrap:not(:has(.products-card-np-active)) > .products-card:first-child .products-card-arrow {
        transform: scale(1.08);
    }

    .products-cards-section .products-cards-wrap:has(.products-card-np-active) > .products-card:not(.products-card-np-active) .products-card-arrow {
        transform: scale(1);
    }
}

.stats-wrapper {
    margin-top: var(--section-gap);
    position: relative;
    z-index: 20;
    margin-bottom: var(--section-gap);
    padding: 0;
    overflow: visible;
}

.stat-item {
    text-align: center;
    color: var(--white);
    padding: 0 clamp(16px, 24px, 40px);
    flex: 1;
    min-width: 120px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: rgba(255, 255, 255, var(--np-hero-sep-opacity, 0.4));
}

.stat-value {
    font-size: clamp(var(--np-hero-val-min, 32px), var(--np-hero-val-mid, 40px), var(--np-hero-val-max, 48px));
    font-weight: var(--np-hero-value-fw, 300);
    line-height: 1.25;
    display: block;
    margin-bottom: 12px;
    color: var(--white);
    letter-spacing: -0.02em;
}

.stat-value .np-stat-value-anim {
    display: inline;
    min-width: 0.25em;
}

.stat-label {
    font-size: var(--font-small);
    text-transform: uppercase;
    opacity: var(--np-hero-label-opacity, 0.9);
    display: block;
    letter-spacing: 0.05em;
    font-weight: var(--np-hero-label-fw, 400);
    color: rgba(255, 255, 255, 0.9);
}

.stat-divider {
    display: none;
}

/* Statystyki — tekst: kolor z przezroczystości do pełnej (Ustawienia → Natan Plast → Statystyki) */
.stats-wrapper[data-np-stats-anim='1'] .np-stat-text-target {
    transition:
        color var(--np-stat-text-ms, 0.65s) ease-out,
        font-weight var(--np-stat-text-ms, 0.65s) ease-out;
}

.stats-wrapper[data-np-stats-anim='1'] .np-stat-text-target a {
    color: inherit;
    transition:
        color var(--np-stat-text-ms, 0.65s) ease-out,
        font-weight var(--np-stat-text-ms, 0.65s) ease-out;
}

.stats-wrapper[data-np-stats-anim='1'] [data-np-stat-col]:not(.np-stat-col-revealed) .np-stat-text-target {
    font-weight: var(--np-stat-fw-from, 100);
}

.stats-wrapper[data-np-stats-anim='1']:not(.np-stats-desc-separate) [data-np-stat-col]:not(.np-stat-col-revealed) .np-stat-text-target {
    color: var(--np-stat-text-from, rgba(255, 255, 255, 0));
}

.stats-wrapper[data-np-stats-anim='1']:not(.np-stats-desc-separate) [data-np-stat-col].np-stat-col-revealed .np-stat-text-target {
    color: var(--np-stat-text-to, rgba(255, 255, 255, 0.92));
}

.stats-wrapper[data-np-stats-anim='1'].np-stats-desc-separate [data-np-stat-col]:not(.np-stat-col-revealed) .stats-nav-strip__value .np-stat-text-target,
.stats-wrapper[data-np-stats-anim='1'].np-stats-desc-separate [data-np-stat-col]:not(.np-stat-col-revealed) .stat-value .np-stat-text-target {
    color: var(--np-stat-text-from, rgba(255, 255, 255, 0));
}

.stats-wrapper[data-np-stats-anim='1'].np-stats-desc-separate [data-np-stat-col].np-stat-col-revealed .stats-nav-strip__value .np-stat-text-target,
.stats-wrapper[data-np-stats-anim='1'].np-stats-desc-separate [data-np-stat-col].np-stat-col-revealed .stat-value .np-stat-text-target {
    color: var(--np-stat-text-to, rgba(255, 255, 255, 1));
}

.stats-wrapper[data-np-stats-anim='1'].np-stats-desc-separate [data-np-stat-col]:not(.np-stat-col-revealed) .stats-nav-strip__desc .np-stat-text-target,
.stats-wrapper[data-np-stats-anim='1'].np-stats-desc-separate [data-np-stat-col]:not(.np-stat-col-revealed) .stat-label .np-stat-text-target {
    color: var(--np-stat-desc-from, rgba(255, 255, 255, 0));
}

.stats-wrapper[data-np-stats-anim='1'].np-stats-desc-separate [data-np-stat-col].np-stat-col-revealed .stats-nav-strip__desc .np-stat-text-target,
.stats-wrapper[data-np-stats-anim='1'].np-stats-desc-separate [data-np-stat-col].np-stat-col-revealed .stat-label .np-stat-text-target {
    color: var(--np-stat-desc-to, rgba(255, 255, 255, 0.92));
}

.stats-wrapper[data-np-stats-anim='1'] [data-np-stat-col].np-stat-col-revealed .stats-nav-strip__value .np-stat-text-target {
    font-weight: var(--np-strip-value-fw, 300);
}

.stats-wrapper[data-np-stats-anim='1'] [data-np-stat-col].np-stat-col-revealed .stats-nav-strip__desc .np-stat-text-target {
    font-weight: var(--np-strip-desc-fw, 300);
}

.stats-wrapper[data-np-stats-anim='1'] [data-np-stat-col].np-stat-col-revealed .stat-value .np-stat-text-target {
    font-weight: var(--np-hero-value-fw, 300);
}

.stats-wrapper[data-np-stats-anim='1'] [data-np-stat-col].np-stat-col-revealed .stat-label .np-stat-text-target {
    font-weight: var(--np-hero-label-fw, 400);
}

.stats-wrapper.np-strip-no-line-anim .stats-nav-strip__rule {
    transform: scaleX(1);
    animation: none !important;
}

/* Statystyki — styl „pas nawigacji” (jak hero-stats: #354035; kolumny równo; linia rośnie w → po wejściu w widok) */
@keyframes np-stats-strip-rule-grow {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

.stats-wrapper.stats-bar-style--strip {
    margin-top: calc(var(--section-gap) * var(--np-strip-section-mul, 1.2));
    margin-bottom: calc(var(--section-gap) * var(--np-strip-section-mul, 1.2));
}

.stats-wrapper.stats-bar-style--strip .stats-nav-strip {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    max-width: none;
    background: var(--np-strip-bg, #354035);
    box-sizing: border-box;
    padding: var(--np-strip-pad-y, 56px) var(--np-strip-pad-x, 40px);
    min-height: var(--np-strip-min-h, 180px);
    box-shadow: var(--np-strip-box-shadow, 0 8px 24px rgba(0, 0, 0, 0.2));
}

.stats-wrapper.stats-bar-style--strip .stats-nav-strip__grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: var(--np-strip-gap-row, 44px) var(--np-strip-gap-col, 56px);
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.stats-wrapper.stats-bar-style--strip .stats-nav-strip__col {
    flex: 0 1 auto;
    width: 100%;
    max-width: var(--np-strip-col-max, 280px);
    min-width: 0;
    text-align: left;
    color: var(--white);
}

.stats-wrapper.stats-bar-style--strip .stats-nav-strip__value {
    font-size: clamp(
        var(--np-strip-value-min, 28px),
        var(--np-strip-value-vw, 2.85vw),
        var(--np-strip-value-max, 48px)
    );
    font-weight: var(--np-strip-value-fw, 300);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 var(--np-strip-value-mb, 20px);
    color: var(--white);
}

.stats-wrapper.stats-bar-style--strip .stats-nav-strip__rule {
    display: block;
    height: var(--np-strip-rule-h, 2px);
    background: var(--np-strip-rule-color, #ffffff);
    width: 100%;
    margin: 0 0 var(--np-strip-rule-mb, 20px);
    transform-origin: left center;
    transform: scaleX(0);
    will-change: transform;
}

.stats-wrapper.stats-bar-style--strip.np-strip-lines-visible .stats-nav-strip__col:nth-child(1) .stats-nav-strip__rule {
    animation: np-stats-strip-rule-grow 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.06s;
}

.stats-wrapper.stats-bar-style--strip.np-strip-lines-visible .stats-nav-strip__col:nth-child(2) .stats-nav-strip__rule {
    animation: np-stats-strip-rule-grow 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.2s;
}

.stats-wrapper.stats-bar-style--strip.np-strip-lines-visible .stats-nav-strip__col:nth-child(3) .stats-nav-strip__rule {
    animation: np-stats-strip-rule-grow 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.34s;
}

.stats-wrapper.stats-bar-style--strip.np-strip-lines-visible .stats-nav-strip__col:nth-child(4) .stats-nav-strip__rule {
    animation: np-stats-strip-rule-grow 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.48s;
}

.stats-wrapper.stats-bar-style--strip.np-strip-lines-visible .stats-nav-strip__col:nth-child(5) .stats-nav-strip__rule {
    animation: np-stats-strip-rule-grow 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.62s;
}

.stats-wrapper.stats-bar-style--strip.np-strip-lines-visible .stats-nav-strip__col:nth-child(6) .stats-nav-strip__rule {
    animation: np-stats-strip-rule-grow 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.76s;
}

.stats-wrapper.stats-bar-style--strip.np-strip-lines-visible .stats-nav-strip__col:nth-child(7) .stats-nav-strip__rule {
    animation: np-stats-strip-rule-grow 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.9s;
}

.stats-wrapper.stats-bar-style--strip.np-strip-lines-visible .stats-nav-strip__col:nth-child(8) .stats-nav-strip__rule {
    animation: np-stats-strip-rule-grow 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 1.04s;
}

.stats-wrapper.stats-bar-style--strip.np-strip-lines-visible .stats-nav-strip__col:nth-child(9) .stats-nav-strip__rule {
    animation: np-stats-strip-rule-grow 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 1.18s;
}

.stats-wrapper.stats-bar-style--strip.np-strip-lines-visible .stats-nav-strip__col:nth-child(10) .stats-nav-strip__rule {
    animation: np-stats-strip-rule-grow 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 1.32s;
}

.stats-wrapper.stats-bar-style--strip.np-strip-lines-visible .stats-nav-strip__col:nth-child(11) .stats-nav-strip__rule {
    animation: np-stats-strip-rule-grow 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 1.46s;
}

.stats-wrapper.stats-bar-style--strip.np-strip-lines-visible .stats-nav-strip__col:nth-child(12) .stats-nav-strip__rule {
    animation: np-stats-strip-rule-grow 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 1.6s;
}

.stats-wrapper.stats-bar-style--strip .stats-nav-strip__value .np-stat-value-anim {
    display: inline;
    min-width: 0.25em;
}

.stats-wrapper.stats-bar-style--strip .stats-nav-strip__desc {
    font-size: var(--np-strip-desc-fs, 16px);
    font-weight: var(--np-strip-desc-fw, 300);
    line-height: var(--np-strip-desc-lh, 1.55);
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
}

.stats-wrapper.stats-bar-style--strip .stats-nav-strip__desc p {
    margin: 0 0 0.45em;
}

.stats-wrapper.stats-bar-style--strip .stats-nav-strip__desc p:last-child {
    margin-bottom: 0;
}

.stats-wrapper.stats-bar-style--strip .stats-nav-strip__desc a,
.stats-wrapper.stats-bar-style--strip .stats-nav-strip__value a {
    color: rgba(255, 255, 255, 0.96);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.stats-wrapper.stats-bar-style--strip .stats-nav-strip__value strong,
.stats-wrapper.stats-bar-style--strip .stats-nav-strip__desc strong {
    font-weight: 600;
}

.hero-stats .stat-value a,
.hero-stats .stat-label a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hero-stats .stat-value strong,
.hero-stats .stat-label strong {
    font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
    .stats-wrapper[data-np-stats-anim='1'] .np-stat-text-target,
    .stats-wrapper[data-np-stats-anim='1'] .np-stat-text-target a {
        transition: none;
    }

    .stats-wrapper.stats-bar-style--strip .stats-nav-strip__rule {
        transform: scaleX(1);
        animation: none !important;
    }
}

@media (max-width: 992px) {
    .stats-wrapper.stats-bar-style--strip .stats-nav-strip__grid {
        row-gap: var(--np-strip-gap-row-992, 36px);
        column-gap: var(--np-strip-gap-col-992, 40px);
    }

    .stats-wrapper.stats-bar-style--strip .stats-nav-strip__col {
        flex: 0 1 calc(50% - var(--np-strip-gap-col-992, 40px) / 2);
        max-width: min(
            var(--np-strip-col-max-992, 280px),
            calc(var(--np-strip-col-vw-992, 46) * 1vw)
        );
    }
}

@media (max-width: 768px) {
    .stats-wrapper.stats-bar-style--strip .stats-nav-strip {
        padding: var(--np-strip-pad-768-t, 44px) var(--np-strip-pad-768-x, 22px) var(--np-strip-pad-768-b, 48px);
    }

    .stats-wrapper.stats-bar-style--strip .stats-nav-strip__grid {
        flex-direction: column;
        align-items: center;
        gap: var(--np-strip-gap-768, 36px);
    }

    .stats-wrapper.stats-bar-style--strip .stats-nav-strip__col {
        flex: 0 1 auto;
        max-width: var(--np-strip-col-max-768, 420px);
        width: 100%;
    }
}

section {
    padding: 0;
    margin-bottom: var(--section-gap);
}

section:last-of-type {
    margin-bottom: 0;
}

.section-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.section-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .section-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .app-card {
        transition: none;
    }

    .app-card:hover {
        transform: none;
    }

    .app-card:hover .app-image img,
    .app-image img {
        transform: none;
        transition: none;
    }

    .app-dot {
        transition: none;
    }

    .products-cards-section {
        --np-pc-desc-show-delay: 0s;
    }

    .products-cards-section .products-cards-wrap .products-card,
    .products-cards-section .products-card-bg,
    .products-cards-section .products-card-desc,
    .products-cards-section .products-card-arrow {
        transition: none;
    }

    .products-cards-section .products-card-desc {
        will-change: auto;
        filter: none;
    }
}

.section-header-center {
    text-align: center;
    margin-bottom: 56px;
}

.section-title {
    font-size: 24px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

.tags-nav {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.architect-wrapper {
    padding: 0 40px;
}

.tag {
    padding: 6px 18px;
    border-radius: 10px;
    font-size: var(--font-small);
    text-transform: uppercase;
    border: 1px solid #d0d0d0;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s;
}

.tag.active, .tag:hover {
    background-color: var(--accent-muted);
    border-color: var(--accent-muted);
    color: var(--white);
}

/* Katalog realizacji: filtry (wyższa specyficzność niż .tag:hover — nadpisuje tylko tu) */
.realizacje-portfolio .tags-nav .tag {
    font-family: inherit;
    background-color: transparent;
    color: var(--text-light);
    border-color: #d0d0d0;
}

.realizacje-portfolio .tags-nav .tag.active {
    background-color: var(--accent-muted);
    border-color: var(--accent-muted);
    color: var(--white);
}

.realizacje-portfolio .tags-nav button.tag {
    -webkit-appearance: none;
    appearance: none;
}

.realizacje-portfolio .tags-nav a.tag:hover,
.realizacje-portfolio .tags-nav a.tag:focus-visible,
.realizacje-portfolio .tags-nav button.tag:hover,
.realizacje-portfolio .tags-nav button.tag:focus-visible {
    background-color: #e4e5e9;
    border-color: #c8c9cd;
    color: var(--primary-color);
}

/* ——— Zastosowania (landing): pełny pas jak portfolio, przewijanie poziome, karty jako linki ——— */
.applications-slider-wrap {
    margin-bottom: 12px;
    position: relative;
}

.applications-grid-fullwidth {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: visible;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
    position: relative;
}

/* Delikatna maska po prawej, gdy jest więcej kart (tylko desktop, nie koliduje z dots na mobile) */
@media (min-width: 993px) {
    .applications-grid-fullwidth::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: min(72px, 8vw);
        height: calc(100% - 14px);
        pointer-events: none;
        background: linear-gradient(
            to left,
            #f7f8fa 0%,
            rgba(247, 248, 250, 0) 100%
        );
        z-index: 1;
    }

    .applications-grid-fullwidth:has(.applications-grid > .app-card:only-child)::after {
        display: none;
    }
}

.applications-grid {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 20px;
    margin-bottom: 8px;
    padding: 0 max(0px, env(safe-area-inset-right)) 10px max(0px, env(safe-area-inset-left));
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.applications-grid::-webkit-scrollbar {
    display: none;
}

.applications-grid .app-card {
    scroll-snap-align: start;
}

/* Dots (gdy dodasz .app-dots obok siatki w markupu) */
.app-dots {
    display: none;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 0 4px;
    list-style: none;
    margin: 0;
}

.app-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: #c5c9d0;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.app-dot.active {
    background: var(--accent-muted);
    transform: scale(1.25);
}

.app-dot:hover {
    background: #9ca3af;
}

.app-dot.active:hover {
    background: var(--primary-color);
}

@media (min-width: 993px) {
    .applications-grid-fullwidth {
        padding-left: 50px;
        padding-right: 24px;
    }
}

@media (max-width: 992px) {
    .applications-grid-fullwidth::after {
        display: none;
    }

    .app-dots {
        display: flex;
    }
}

a.app-card {
    display: block;
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

.app-card {
    background: transparent;
    flex: 0 0 auto;
    min-width: 280px;
    width: 25%;
    max-width: 350px;
    border-radius: 0;
    overflow: visible;
    border: none;
    padding: 0 0 24px;
    box-shadow: none;
    transition: background 0.3s ease;
}

.app-card:hover {
    background: transparent;
    box-shadow: none;
}

.app-card:focus {
    outline: none;
}

.app-card:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

.app-image {
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
    margin: 0 0 0 0;
    width: 100%;
    position: relative;
    background: #eceef2;
}

.app-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.app-card:hover .app-image img {
    transform: scale(1.06);
}

.app-card h3 {
    font-size: clamp(15px, 1.15vw, var(--font-h3));
    font-weight: 600;
    margin-bottom: 10px;
    padding: 20px 20px 0;
    color: var(--text-color);
    line-height: 1.3;
    background: transparent;
}

.app-card p {
    font-size: var(--font-small);
    color: var(--text-light);
    line-height: 1.55;
    padding: 0 20px;
    margin: 0;
    background: transparent;
}

.app-nav-arrows {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    margin-bottom: 0;
}

.app-nav-arrows:not(:empty) {
    display: flex;
}

section.applications {
    margin-bottom: clamp(64px, 8vw, var(--section-gap));
}

section.applications .section-header-center {
    margin-bottom: 48px;
}

section.applications .section-title {
    margin-bottom: 16px;
}

.nav-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--white);
    color: var(--text-color);
    font-size: var(--font-body);
}

.nav-arrow:hover {
    border-color: var(--text-color);
}

/* Showcase */
.showcase-section {
    min-height: auto;
    display: flex;
    align-items: flex-start;
    padding: 40px;
    margin-top: 80px;
    margin-bottom: var(--section-gap);
    box-sizing: border-box;
}

.showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
    max-width: var(--container-width);
    height: 580px;
    min-height: 0;
    margin: 0 auto;
    width: 100%;
}

.showcase-left {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
}

.showcase-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 0;
}

.showcase-panel__img-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    background: #e2e4e2;
}

.showcase-panel__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
}

.showcase-panel__content {
    padding: 0 0 40px 0;
    flex-shrink: 0;
    background: transparent;
}

.showcase-panel__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-tiny);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.showcase-panel__title {
    font-size: clamp(18px, 1.85vw, 24px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-color);
    margin-bottom: 12px;
}

.showcase-panel__text {
    font-size: var(--font-small);
    color: var(--text-light);
    line-height: 1.55;
    margin-bottom: 24px;
}

.showcase-panel__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-size: var(--font-tiny);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease;
}

.showcase-panel__btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.showcase-panel__btn i {
    font-size: 0.85em;
}

.showcase-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    flex: 1;
    min-height: 0;
}

.showcase-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    text-align: left;
    padding: 24px 20px;
    height: 100%;
    min-height: 140px;
    border: none;
    border-radius: 10px;
    background: #f0f1f0;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    font-family: inherit;
}

.showcase-tile:hover,
.showcase-tile:focus {
    outline: none;
    background: #e5e6e5;
}

.showcase-tile--active,
.showcase-tile--active:hover,
.showcase-tile--active:focus {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 16px rgba(74, 124, 55, 0.35);
}

.showcase-tile--bottom {
    grid-column: auto;
    grid-row: auto;
    height: auto;
    min-height: 140px;
}

.showcase-tile__num {
    font-size: var(--font-tiny);
    font-weight: 500;
    opacity: 0.8;
    margin-bottom: 8px;
}

.showcase-tile--active .showcase-tile__num {
    color: rgba(255,255,255,0.9);
}

.showcase-tile__label {
    font-size: var(--font-h3);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-color);
}

.showcase-tile--active .showcase-tile__label {
    color: #fff;
}

.showcase-tile__arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: background 0.25s ease, color 0.25s ease;
}

.showcase-tile--active .showcase-tile__arrow {
    background: rgba(255,255,255,0.95);
    color: var(--primary-color);
}

.showcase-tile:hover .showcase-tile__arrow,
.showcase-tile:focus .showcase-tile__arrow {
    background: var(--primary-color);
    color: #fff;
}

.showcase-tile--active:hover .showcase-tile__arrow,
.showcase-tile--active:focus .showcase-tile__arrow {
    background: #fff;
    color: var(--primary-color);
}

/* Portfolio */
.portfolio-header {
    margin-bottom: 28px;
}

.portfolio-more {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.portfolio-more:hover {
    color: var(--text-color);
    opacity: 0.9;
}

.portfolio-title-center {
    text-align: center;
    margin-bottom: 0;
}

.portfolio-slider {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.portfolio-slider::-webkit-scrollbar {
    display: none;
}

.portfolio-slider-wrap {
    margin-bottom: 0;
    padding-left: 50px;
    box-sizing: border-box;
}

.portfolio-arrows {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
}

.portfolio-arrows .portfolio-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 22px;
    border-radius: 10px;
    border: 1px solid var(--primary-color);
    background: var(--primary-color);
    color: #fff;
    font-size: 14px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.portfolio-arrows .portfolio-more:hover {
    background: var(--primary-dark);
    color: #fff;
    border-color: var(--primary-dark);
}

.portfolio-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    background: #fff;
    color: var(--text-color);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.portfolio-arrow:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.portfolio-arrow i {
    font-size: 12px;
}

.portfolio .portfolio-grid {
    display: flex;
    gap: 20px;
    width: max-content;
    scroll-snap-type: x mandatory;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.portfolio .portfolio-grid .portfolio-item {
    scroll-snap-align: start;
    min-width: 320px;
    max-width: 380px;
    flex-shrink: 0;
}

.portfolio .portfolio-grid a.portfolio-item-link {
    scroll-snap-align: start;
    min-width: 320px;
    max-width: 380px;
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
    display: block;
}

.portfolio .portfolio-grid a.portfolio-item-link .portfolio-item {
    min-width: 0;
    max-width: none;
}

.portfolio-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-img {
    height: 220px;
    overflow: hidden;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-content {
    padding: 20px;
}

.portfolio-tag {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 3px 8px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 10px;
}

.portfolio-content h3 {
    font-size: var(--font-h3);
    font-weight: 500;
    margin-bottom: 4px;
}

.portfolio-desc {
    font-size: var(--font-tiny);
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.portfolio-text {
    font-size: var(--font-small);
    color: var(--text-light);
    line-height: 1.5;
}

.portfolio-desc.entry-content p,
.portfolio-text.entry-content p {
    margin: 0.35em 0;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    text-transform: none;
    letter-spacing: normal;
}

.portfolio-desc.entry-content p:first-child,
.portfolio-text.entry-content p:first-child {
    margin-top: 0;
}

.portfolio-desc.entry-content p:last-child,
.portfolio-text.entry-content p:last-child {
    margin-bottom: 0;
}

.np-realiz-inline-tiny sup,
.np-realiz-inline-tiny sub {
    font-size: 0.72em;
    line-height: 0;
    vertical-align: baseline;
}

.np-realiz-inline-tiny sup {
    vertical-align: super;
}

.np-realiz-inline-tiny sub {
    vertical-align: sub;
}

/* Architect Zone */
.architect-wrapper {
    padding: 0 40px;
    margin-top: var(--section-gap);
}

.architect-zone {
    background: linear-gradient(135deg, #d7dfd9 0%, #c7d3ca 52%, #dfe6e1 100%);
    border: 1px solid rgba(58, 99, 43, 0.12);
    border-radius: 14px;
    padding: 64px 60px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.az-content {
    flex: 1;
    padding-right: 80px;
}

.az-content h2 {
    font-size: var(--font-h2);
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    font-weight: 700;
    line-height: 1.2;
}

.az-intro {
    margin-bottom: 14px;
    max-width: 520px;
    color: #1f2822;
    font-size: var(--font-body);
    font-weight: 600;
    line-height: 1.6;
}

.az-desc {
    margin-bottom: 26px;
    max-width: 520px;
    color: #3f4b43;
    font-size: var(--font-body);
    line-height: 1.6;
}

.az-btn {
    padding: 11px 34px;
    border-color: rgba(58, 99, 43, 0.4);
    background: rgba(255, 255, 255, 0.55);
    color: #24401a;
    font-weight: 600;
}

.az-links {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    margin-top: 4px;
    gap: 10px;
}

.az-link {
    padding: 14px 16px;
    text-align: left;
    font-size: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    color: #1f2822;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    letter-spacing: 0.02em;
    border: 1px solid rgba(58, 99, 43, 0.16);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.48);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.divider {
    display: none;
}

.az-link:hover {
    color: var(--primary-dark);
    border-color: rgba(58, 99, 43, 0.36);
    background: rgba(255, 255, 255, 0.82);
    transform: translateX(4px);
}

.az-link::after {
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 11px;
    color: var(--primary-dark);
    opacity: 0.9;
}

/* Tips Section */
.tips-section {
    background-color: #f7f8fa;
    padding: 0;
    margin-top: var(--section-gap);
    margin-bottom: var(--section-gap);
}

.tips-title {
    text-align: center;
    font-size: 24px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 28px;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

.tips-slider-wrap {
    margin-bottom: 0;
}

.tips-slider {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tips-slider::-webkit-scrollbar {
    display: none;
}

.tips-grid {
    display: flex;
    gap: 20px;
    width: max-content;
    scroll-snap-type: x mandatory;
}

.tips-grid .tip-card {
    scroll-snap-align: start;
    flex: 0 0 auto;
    width: 295px;
    min-width: 295px;
    max-width: 295px;
}

.tip-card {
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.tip-card--gray {
    background-color: #dce2dd;
}

.tip-image {
    position: relative;
    height: 220px;
    width: 100%;
    overflow: hidden;
}

.tip-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tip-card:hover .tip-image img {
    transform: scale(1.08);
}

.tip-arrow {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 14px;
    z-index: 2;
    transition: transform 0.3s ease, background 0.3s ease;
}

.tip-card:hover .tip-arrow {
    transform: rotate(45deg);
    background-color: #fff;
}

.tip-content {
    padding: 28px 24px 36px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tip-content h3 {
    font-size: var(--font-h3);
    font-weight: 500;
    margin-bottom: 4px;
    line-height: 1.25;
    color: var(--text-color);
}

.tip-content p {
    font-size: var(--font-small);
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

.tips-arrows {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
}

.tips-arrows .portfolio-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 22px;
    border-radius: 10px;
    border: 1px solid var(--primary-color);
    background: var(--primary-color);
    color: #fff;
    font-size: 14px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tips-arrows .portfolio-more:hover {
    background: var(--primary-dark);
    color: #fff;
    border-color: var(--primary-dark);
}

/* 
   RESPONSIVE - SCALING FOR TV & LARGE SCREENS 
*/
@media (min-width: 1921px) {
    .container {
        max-width: clamp(1200px, 1320px, 1600px);
        padding: 0 clamp(40px, 96px, 120px);
    }
    
    .site-header {
        height: 72px;
    }
    
    .logo img {
        height: clamp(28px, 32px, 40px);
    }
    
    .main-nav ul {
        gap: clamp(24px, 32px, 48px);
    }
    
    .main-nav a {
        font-size: clamp(12px, 14px, 16px);
    }
    
    .hero-wrapper {
        height: calc(100vh - 72px);
        padding: 0;
        margin-bottom: 0;
    }

    .hero-title {
        font-size: clamp(32px, 48px, 72px);
    }
    
    .hero-subtitle {
        font-size: clamp(14px, 18px, 24px);
    }
    
    .btn {
        padding: clamp(10px, 14px, 20px) clamp(20px, 24px, 32px);
        font-size: clamp(12px, 14px, 16px);
    }
    
    .section-title {
        font-size: clamp(24px, 32px, 48px);
    }
    
    .app-image {
        height: clamp(200px, 280px, 360px);
    }
    
    .az-content h2 {
        font-size: clamp(24px, 28px, 36px);
    }
}

/* 
   RESPONSIVE - STANDARD LAPTOP/DESKTOP 
*/
@media (max-width: 1200px) {
    .container, .showcase-section, .architect-wrapper {
        padding: 0 20px;
    }
    
    .tips-grid .tip-card {
        width: 275px;
        min-width: 275px;
        max-width: 275px;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
}

/* 
   RESPONSIVE - TABLET 
*/
@media (max-width: 992px) {
    .showcase-section {
        align-items: flex-start;
    }
    .showcase {
        grid-template-columns: 1fr;
        gap: 32px;
        height: auto;
    }
    .showcase-left {
        height: 360px;
    }
    .showcase-panel__content {
        padding-bottom: 28px;
    }
    .showcase-tiles {
        grid-template-rows: auto auto;
        gap: 12px;
    }
    .showcase-tile {
        padding: 20px 18px;
        min-height: 130px;
    }
}

/* 
   RESPONSIVE - MOBILE 
*/
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .products-cards-section {
        margin-top: 32px;
        --np-pc-desc-show-delay: 0s;
    }
    .products-cards-title {
        margin-bottom: 20px;
    }
    .products-cards-wrap {
        flex-wrap: wrap;
        flex-direction: row;
        height: auto;
        gap: 12px;
    }
    .products-cards-section .products-cards-wrap .products-card,
    .products-cards-section .products-cards-wrap:hover .products-card,
    .products-cards-section .products-cards-wrap .products-card:hover,
    .products-cards-section .products-cards-wrap .products-card:focus-visible,
    .products-cards-section .products-cards-wrap > .products-card:first-child {
        flex-grow: 1;
        flex-shrink: 1;
        flex-basis: calc(50% - 6px);
        min-width: 0;
        height: 180px;
    }
    .products-cards-section .products-cards-wrap:has(.products-card-np-active) > .products-card:not(.products-card-np-active) .products-card-desc {
        opacity: 0;
        max-height: 0;
        transform: translateY(8px);
        filter: blur(var(--np-pc-desc-blur-out));
        transition:
            opacity var(--np-pc-desc-out-dur) var(--np-pc-desc-in-ease),
            filter var(--np-pc-desc-out-dur) var(--np-pc-desc-in-ease),
            max-height var(--np-pc-desc-out-dur) var(--np-pc-desc-in-ease),
            transform var(--np-pc-desc-out-dur) var(--np-pc-desc-in-ease);
        transition-delay: 0s;
    }
    .products-cards-section .products-cards-wrap .products-card-np-active .products-card-desc,
    .products-cards-section .products-cards-wrap:not(:has(.products-card-np-active)) > .products-card:first-child .products-card-desc {
        opacity: 1;
        max-height: 60px;
        transform: translateY(0);
        filter: blur(0);
        transition:
            opacity var(--np-pc-desc-in-dur) var(--np-pc-desc-in-ease),
            filter var(--np-pc-desc-in-dur) var(--np-pc-desc-in-ease),
            max-height var(--np-pc-desc-in-dur) var(--np-pc-desc-in-ease),
            transform var(--np-pc-desc-in-dur) var(--np-pc-desc-in-ease);
        transition-delay: var(--np-pc-desc-show-delay);
    }

    .nav-toggle {
        display: flex;
        order: 2;
    }
    .header-actions {
        display: none;
    }
    .header-inner .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 320px;
        top: 0;
        bottom: 0;
        height: auto;
        background: #fff;
        box-shadow: -4px 0 24px rgba(0,0,0,0.12);
        z-index: 999;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
        padding: 80px 24px 40px;
    }
    .main-nav.open {
        transform: translateX(0);
    }
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        width: 100%;
    }
    .main-nav li {
        border-bottom: 1px solid #eaeaea;
    }
    .main-nav a {
        display: block;
        padding: 16px 0;
        font-size: 1rem;
    }
    .nav-overlay {
        display: block;
    }
    body.nav-open {
        overflow: hidden;
    }
    .site-header .container.header-inner {
        padding: 0 20px;
    }
    .site-header {
        height: 64px;
        padding: 0;
    }
    .logo img {
        height: 28px;
    }

    .hero-wrapper {
        height: calc(100vh - 64px);
        height: calc(100dvh - 64px);
        min-height: 0;
        margin-bottom: 0;
        padding: 0;
        display: block;
        position: relative;
        box-sizing: border-box;
    }

    .hero-section {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: flex-end;
        justify-content: flex-start;
    }

    .hero-section .hero-video {
        position: absolute;
        inset: 0;
    }

    .hero-content {
        top: auto;
        bottom: max(28px, env(safe-area-inset-bottom));
        left: 20px;
        right: 20px;
        max-width: none;
        gap: 16px;
    }

    .hero-cta-inner {
        flex-direction: row;
        gap: 12px;
        flex-wrap: wrap;
    }

    .hero-cta-inner .btn {
        height: 44px;
        min-width: 0;
        flex: 1;
        padding: 0 20px;
        font-size: 11px;
    }

    .hero-title {
        font-size: clamp(20px, 5.5vw, 28px);
        line-height: 1.2;
        font-weight: 300;
    }

    .hero-title-accent {
        font-size: 1em;
        font-weight: 700;
    }
    
    .hero-subtitle {
        font-size: 13px;
        margin-left: 0;
    }
    
    .hero-stats {
        display: none;
    }
    
    .stats-wrapper {
        margin-top: 24px;
        margin-bottom: 60px;
    }

    .section-header-center {
        margin-bottom: 32px;
    }
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 16px;
    }

    .products-showcase {
        margin-top: 60px;
        margin-bottom: 80px;
    }

    .applications .tags-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    section.applications .section-header-center {
        margin-bottom: 28px;
    }

    .applications-slider-wrap {
        margin-bottom: 16px;
    }
    .app-dots {
        display: flex;
    }
    .app-card {
        width: 85%;
        min-width: 260px;
        flex: 0 0 auto;
    }
    .app-nav-arrows {
        margin-top: 8px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .portfolio .portfolio-grid {
        display: flex;
        grid-template-columns: unset;
        gap: 20px;
    }
    .portfolio .portfolio-grid .portfolio-item {
        min-width: 280px;
    }
    .portfolio-header {
        margin-bottom: 20px;
    }
    .portfolio-item {
        animation: none;
    }
    .portfolio .section-title {
        margin-bottom: 0;
    }

    .showcase-section {
        padding: 24px 16px 40px;
        min-height: auto;
        align-items: flex-start;
    }
    .showcase {
        max-height: none;
        gap: 24px;
    }
    .showcase-left {
        height: 260px;
    }
    .showcase-panel__img-wrap {
        height: 100%;
    }
    .showcase-panel__content {
        padding: 0 0 24px 0;
    }
    .showcase-panel__tag {
        font-size: 9px;
        letter-spacing: 0.08em;
        margin-bottom: 10px;
        color: var(--primary-color);
    }
    .showcase-panel__title {
        font-size: 1.2rem;
        line-height: 1.25;
        margin-bottom: 10px;
    }
    .showcase-panel__text {
        font-size: 11px;
        margin-bottom: 16px;
        line-height: 1.5;
    }
    .showcase-panel__btn {
        padding: 12px 20px;
        font-size: 10px;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        width: 100%;
        justify-content: center;
    }
    .showcase-tiles {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 10px;
    }
    .showcase-tile {
        padding: 14px 12px;
        min-height: 110px;
    }
    .showcase-tile__num {
        font-size: 10px;
        margin-bottom: 4px;
    }
    .showcase-tile__label {
        font-size: var(--font-small);
        line-height: 1.3;
    }
    .showcase-tile__arrow {
        width: 28px;
        height: 28px;
        top: 12px;
        right: 12px;
        font-size: 10px;
    }

    .architect-wrapper {
        padding: 0 20px;
    }
    .architect-zone {
        flex-direction: column;
        padding: 40px 24px;
        gap: 32px;
    }
    .az-content {
        padding-right: 0;
    }
    .az-content h2 {
        font-size: 1.75rem;
    }
    .az-intro, .az-desc {
        max-width: 100%;
    }
    .az-links {
        width: 100%;
    }
    .az-link {
        text-align: left;
    }

    .tips-grid .tip-card {
        width: 167px;
        min-width: 167px;
        max-width: 167px;
    }
    .tips-title {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }
    .tip-card {
        border-radius: 16px;
    }
    .tip-image {
        height: 200px;
    }

    footer {
        padding: 32px 0 !important;
    }
}

/* =========================================
   PRODUCTS SHOWCASE ACCORDION
   ========================================= */

.products-showcase {
    position: relative;
    z-index: 5;
    margin-top: 150px;
    margin-bottom: 200px;
}

.products-accordion {
    display: flex;
    gap: 20px;
    height: 380px;
    width: 100%;
}

.product-card {
    position: relative;
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    min-width: 80px;
}

/* Background Image */
.product-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.product-card:hover .product-bg {
    transform: scale(1.05);
}

/* Dark Gradient Overlay */
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

/* Default Expanded State (First Child) */
.product-card:first-child {
    flex: 2;
}

.products-accordion:hover .product-card:first-child {
    flex: 1;
}

.products-accordion .product-card:hover {
    flex: 2 !important;
}

/* Arrow Icon */
.product-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    color: #333;
    font-size: 1rem;
    transition: transform 0.3s ease, background 0.3s;
}

.product-arrow i {
    transform: rotate(-45deg);
}

.product-card:hover .product-arrow {
    background: #fff;
    transform: scale(1.1);
}

/* Content */
.product-info {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    z-index: 2;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.product-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0;
    letter-spacing: 0.05em;
    transition: margin-bottom 0.3s ease;
}




.product-info p {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0;
    max-height: 0;
    transition: opacity 0.4s ease 0.1s, max-height 0.4s ease, margin-top 0.4s ease;
    white-space: normal;
    font-weight: 300;
    margin-top: 0;
}

/* Show description on expanded items */
.product-card:first-child .product-info h3 {
    margin-bottom: 10px;
}
.product-card:first-child .product-info p {
    opacity: 1;
    max-height: 100px;
    margin-top: 5px;
}

.products-accordion:hover .product-card:first-child .product-info h3 {
    margin-bottom: 0;
}
.products-accordion:hover .product-card:first-child .product-info p {
    opacity: 0;
    max-height: 0;
    margin-top: 0;
}

.products-accordion .product-card:hover .product-info h3 {
    margin-bottom: 10px !important;
}
.products-accordion .product-card:hover .product-info p {
    opacity: 1 !important;
    max-height: 100px !important;
    margin-top: 5px !important;
}

/* Mobile Responsive for Accordion */
@media (max-width: 768px) {
    .products-accordion {
        flex-direction: column;
        height: auto;
        gap: 12px;
    }
    
    .product-card {
        height: 80px;
        flex: none;
        width: 100%;
        min-width: 100%;
        transition: height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    }
    
    .product-card:first-child,
    .product-card.expanded {
        flex: none;
        height: 320px;
    }
    
    .products-accordion:hover .product-card:first-child:not(.expanded) {
        flex: none;
        height: 80px;
    }
    
    .products-accordion .product-card:hover:not(.expanded) {
        height: 80px;
    }
    
    .products-accordion .product-card.expanded .product-info p {
        opacity: 1;
        max-height: 120px;
        margin-top: 8px;
    }
    .products-accordion .product-card:not(.expanded) .product-info p {
        opacity: 0;
        max-height: 0;
        margin-top: 0;
    }
    .products-accordion .product-card.expanded .product-info h3 {
        margin-bottom: 10px;
    }
}

/* =========================================
   Blok: Split + 2 karty (wersja z obrazem / bez obrazu)
   ========================================= */
.np-split-cards {
    padding: var(--section-gap, 120px) 0;
    background: #fff;
}

.np-split-cards__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(40px, 5vw, 72px);
    align-items: start;
}

.np-split-cards__kicker {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #d0d0d0;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 20px;
}

.np-split-cards__heading {
    font-family: var(--font-heading, 'Inter', sans-serif);
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #111;
    margin: 0 0 24px 0;
}

.np-split-cards__heading strong {
    font-weight: 700;
}

.np-split-cards__lead {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light, #555);
    max-width: 520px;
}

.np-split-cards__lead p {
    margin: 0 0 12px 0;
}

.np-split-cards__lead p:last-child {
    margin-bottom: 0;
}

.np-split-cards__stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.np-split-cards__card {
    border-radius: 16px;
    overflow: hidden;
}

.np-split-cards__card-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(140px, 38%);
    gap: 28px;
    align-items: center;
    min-height: 0;
}

.np-split-cards__card-layout--solo {
    grid-template-columns: 1fr;
}

.np-split-cards__card-layout:not(:has(.np-split-cards__card-media)) {
    grid-template-columns: 1fr;
}

.np-split-cards--no-media .np-split-cards__card-layout {
    grid-template-columns: 1fr;
}

.np-split-cards__card--light .np-split-cards__card-layout {
    padding: 28px 28px 28px 32px;
    background: #f4f5f6;
}

.np-split-cards__card--green .np-split-cards__card-layout {
    padding: 28px 28px 28px 32px;
    background: var(--primary-dark, #3a632b);
}

.np-split-cards__card-body {
    min-width: 0;
}

.np-split-cards__card-title {
    font-family: var(--font-heading, 'Inter', sans-serif);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 12px 0;
    color: #111;
}

.np-split-cards__card--green .np-split-cards__card-title {
    color: #fff;
}

.np-split-cards__card-text {
    font-size: 14px;
    line-height: 1.65;
    margin: 0 0 20px 0;
    color: #444;
}

.np-split-cards__card--green .np-split-cards__card-text {
    color: rgba(255, 255, 255, 0.92);
}

.np-split-cards__cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px 12px 18px;
    background: #fff;
    color: #111;
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.np-split-cards__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    color: #111;
}

.np-split-cards__cta-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.np-split-cards__card-media {
    border-radius: 12px;
    overflow: hidden;
    background: #e4e4e4;
    aspect-ratio: 4 / 3;
    min-height: 140px;
}

.np-split-cards__card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 992px) {
    .np-split-cards__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .np-split-cards__lead {
        max-width: none;
    }

    .np-split-cards__card-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .np-split-cards__card--light .np-split-cards__card-layout,
    .np-split-cards__card--green .np-split-cards__card-layout {
        padding: 24px 22px;
    }

    .np-split-cards__card-media {
        order: -1;
        max-height: 220px;
        aspect-ratio: 16 / 9;
    }

    .np-split-cards--no-media .np-split-cards__card-media {
        display: none;
    }
}
