: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 */
.site-header {
    font-family: 'Inter', sans-serif;
    background-color: #f7f8fa;
    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: center;
    justify-content: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

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

.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: 600;
    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 Produkty */
.nav-item-dropdown {
    position: relative;
}
.nav-item-dropdown > a {
    display: inline-flex;
    align-items: center;
}
.nav-item-dropdown::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -20px;
    height: 20px;
}
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(10px);
    padding-top: 12px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    display: grid;
    grid-template-columns: repeat(3, 220px);
    gap: 20px;
    width: max-content;
    min-width: 600px;
    padding: 16px;
    background: #f7f8fa;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-radius: 10px;
}
.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 40px;
    width: 14px;
    height: 14px;
    background: #f7f8fa;
    transform: rotate(45deg);
}
.nav-dropdown-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #111;
    border-radius: 10px;
    overflow: hidden;
    background: transparent;
}
.nav-dropdown-card-img {
    display: block;
    width: 100%;
    aspect-ratio: 3/2;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    transition: transform 0.4s ease;
}
.nav-dropdown-card:hover .nav-dropdown-card-img {
    transform: scale(1.02);
}
.nav-dropdown-card-title {
    font-family: 'Inter', sans-serif;
    display: block;
    margin-top: 10px;
    font-size: var(--font-body);
    font-weight: 600;
    color: #111;
}

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

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

.hero-stats {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    max-width: none;
    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);
}

/* Poznaj nasze produkty – karty rozwijane przy hover */
.products-cards-section {
    margin-top: var(--section-gap);
    margin-bottom: var(--section-gap);
}

.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;
    gap: 16px;
    height: 320px;
}

.products-card {
    position: relative;
    flex: 0 0 18%;
    min-width: 140px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px 20px;
    text-decoration: none;
    color: #fff;
    overflow: hidden;
    transition: flex 0.45s ease, min-width 0.45s ease;
}

.products-card-expanded,
.products-card:hover {
    flex: 1 1 46%;
    min-width: 280px;
}

.products-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.products-card-expanded .products-card-bg,
.products-card:hover .products-card-bg {
    transform: scale(1.05);
}

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

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

.products-card-desc {
    font-size: 12px;
    line-height: 1.45;
    margin: 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.35s ease, max-height 0.4s ease;
}

.products-card-expanded .products-card-desc,
.products-card:hover .products-card-desc {
    opacity: 1;
    max-height: 80px;
}

.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;
    transition: transform 0.25s ease;
}

.products-card-expanded .products-card-arrow,
.products-card:hover .products-card-arrow {
    transform: scale(1.08);
}

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

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

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

.stat-divider {
    display: none;
}

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

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

.applications-slider-wrap {
    margin-bottom: 12px;
}

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

.applications-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    margin-bottom: 8px;
    padding: 0 0 10px 0;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

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

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

/* Dots for applications slider (visible on mobile/tablet) */
.app-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    padding: 12px 0;
}
.app-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: #ccc;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}
.app-dot.active {
    background: var(--accent-muted);
    transform: scale(1.2);
}
.app-dot:hover {
    background: #999;
}
.app-dot.active:hover {
    background: #8f9a8a;
}

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

@media (max-width: 992px) {
    .app-dots {
        display: flex;
    }
}

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

.app-card:hover {
    background: rgba(255, 255, 255, 0.06);
}

.app-image {
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    height: 300px;
    margin-bottom: 0;
    position: relative;
}

.app-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    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: var(--font-h3);
    font-weight: 600;
    margin-bottom: 10px;
    padding: 20px 20px 0;
    color: #111;
}

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

.app-image {
    margin-left: 0;
    margin-right: 0;
}

.app-nav-arrows {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 4px;
    margin-bottom: 0;
}

section.applications {
    margin-bottom: 80px;
}

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

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

.architect-zone {
    background-color: var(--architect-bg);
    border-radius: 10px;
    padding: 70px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

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

.az-content h2 {
    font-size: var(--font-h2);
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: -0.02em;
    font-weight: 500;
}

.az-intro {
    margin-bottom: 15px;
    max-width: 450px;
    color: #333;
    font-size: var(--font-body);
    font-weight: 500;
}

.az-desc {
    margin-bottom: 30px;
    max-width: 450px;
    color: #555;
    font-size: var(--font-body);
    line-height: 1.6;
}

.az-btn {
    padding: 10px 40px;
    border-color: #555;
    color: #333;
}

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

.az-link {
    padding: 18px 0;
    text-align: right;
    font-size: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    color: #222;
    text-decoration: none;
    transition: all 0.2s;
    letter-spacing: 0.02em;
}

.divider {
    height: 1px;
    background-color: rgba(0,0,0,0.1);
    width: 100%;
}

.az-link:hover {
    color: var(--primary-color);
    padding-right: 10px;
}

/* 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;
    }
    .products-cards-title {
        margin-bottom: 20px;
    }
    .products-cards-wrap {
        flex-wrap: wrap;
        flex-direction: row;
        height: auto;
        gap: 12px;
    }
    .products-cards-wrap .products-card,
    .products-cards-wrap:hover .products-card,
    .products-cards-wrap .products-card:hover,
    .products-card:first-child {
        flex: 1 1 calc(50% - 6px);
        min-width: 0;
        height: 180px;
    }
    .products-cards-wrap .products-card .products-card-desc {
        opacity: 0;
        max-height: 0;
    }
    .products-cards-wrap .products-card:first-child .products-card-desc {
        opacity: 1;
        max-height: 60px;
    }
    .products-card:hover .products-card-desc {
        opacity: 1;
        max-height: 60px;
    }

    .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: #f7f8fa;
        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;
    }
    .nav-dropdown {
        display: none !important;
    }
    .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: 16px;
        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;
    }
    .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;
    }
}
