@import url('https://fonts.googleapis.com/css2?family=Kdam+Thmor+Pro&display=swap');

/* STAR GENERATOR - CORE DESIGN SYSTEM */

:root {
    --primary: #c00000;
    /* Exact Brand Red */
    --primary-hover: #a00000;
    --dark-slate: #0a0a0b;
    /* Deep Black */
    --slate-gray: #151517;
    --page-bg: #f2f2f2;
    --industrial-white: #f8f8fa;
    --white: #ffffff;
    --text-dark: #0a0a0b;
    --text-light: #f8f8fa;
    --text-muted: #71717a;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-heavy: 0 20px 60px rgba(0, 0, 0, 0.15);
    --max-width: 1440px;
    --section-padding: 100px 5%;
    --site-header-offset: 72px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Kdam Thmor Pro', sans-serif;
    color: var(--text-dark);
    background-color: var(--page-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.brand-font {
    font-family: 'Kdam Thmor Pro', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 5%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 36px;
    font-weight: 700;
    border-radius: 4px;
    transition: var(--transition-smooth);
    cursor: pointer;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    gap: 10px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(192, 0, 0, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* 1. HEADER — single nav bar (logo left + menu) */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.site-header-top,
.site-header-top-right,
.site-header-search-btn,
.site-header-partner {
    display: none !important;
}

.site-header-nav {
    background: #2b2b2b;
    border-bottom: 3px solid var(--primary);
}

.site-header-nav-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 10px 0;
    min-height: 56px;
}

.logo,
.site-header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-header-logo img {
    height: 44px;
    width: auto;
    display: block;
}

.site-header-nav-menu {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: center;
}

.site-header-nav-end {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    margin-left: auto;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links.is-menu-loading {
    opacity: 0;
    pointer-events: none;
}

.nav-links>li {
    position: relative;
}

.nav-links>li>a {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.92;
}

.nav-links>li>a:hover {
    opacity: 1;
    color: #ffffff;
}

.site-header-nav-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.site-header-page-label {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    width: 250px;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    border-top: 3px solid var(--primary);
    box-shadow: var(--shadow-heavy);
    z-index: 20;
}

.nav-links li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 0;
    color: var(--text-dark);
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-menu a:hover {
    color: var(--primary);
    padding-left: 10px;
}

.mobile-menu-btn {
    display: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 8px;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.mobile-menu-btn:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .site-header-nav-inner {
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
        padding: 10px 0 14px;
    }

    .site-header-logo img {
        height: 40px;
    }

    .site-header-nav-end {
        margin-left: auto;
    }

    .site-header-nav-menu {
        display: none;
        flex: 1 1 100%;
        order: 3;
        justify-content: stretch;
    }

    .site-header-nav.is-mobile-open .site-header-nav-menu {
        display: block;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        width: 100%;
    }

    .nav-links>li>a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .site-header-nav-meta {
        grid-column: auto;
        justify-self: stretch;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding-top: 12px;
    }
}

/* 2. HERO SECTION */
.hero {
    position: relative;
    display: block;
    height: auto;
    min-height: 0;
    padding-top: var(--site-header-offset, 110px);
    overflow: hidden;
    background: transparent;
}

.hero-slider {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    z-index: 0;
}

.hero-slider .swiper-wrapper {
    width: 100%;
    height: auto;
}

.hero-slider .swiper-slide {
    width: 100%;
    height: auto;
    display: block;
}

.hero-slider img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    opacity: 1;
}

.hero-slider:not(.swiper-initialized) .hero-slider-arrow {
    display: none;
}

.hero-slider-arrow {
    position: absolute;
    top: 38%;
    z-index: 6;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #ffffff;
    font-size: 1.85rem;
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: none;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.75));
    transition: var(--transition-smooth);
}

.hero-slider-arrow--prev {
    left: 20px;
}

.hero-slider-arrow--next {
    right: 20px;
}

.hero-slider-arrow:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-50%) scale(1.12);
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.85));
}

.hero-slider-arrow.swiper-button-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 768px) {
    .hero-slider-arrow {
        top: 36%;
        width: 40px;
        height: 40px;
        font-size: 1.45rem;
    }

    .hero-slider-arrow--prev {
        left: 8px;
    }

    .hero-slider-arrow--next {
        right: 8px;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content-overlay {
    max-width: 720px;
    padding: 32px 36px;
    background: rgba(5, 5, 5, 0.15);
    border-radius: 14px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 900;
}

.hero .sh-text {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
    display: block;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.hero .tagline {
    font-size: 1rem;
    opacity: 0.85;
    max-width: 550px;
    margin-bottom: 40px;
    border-left: 3px solid var(--primary);
    padding-left: 20px;
    line-height: 1.5;
    color: #d1d1d1;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content {
        text-align: center;
    }

    .hero .tagline {
        margin: 0 auto 40px;
        border-left: none;
        padding-left: 0;
        border-top: 2px solid var(--primary);
        padding-top: 20px;
    }

    .hero-actions {
        justify-content: center;
    }
}

.reach-star {
    padding: 40px 0 20px;
    background: var(--page-bg);
    text-align: center;
}

.reach-cover-outer,
.notebook-slider-outer {
    width: min(100%, 1960px);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 clamp(12px, 2vw, 32px);
    box-sizing: border-box;
}

.reach-cover-outer {
    margin-bottom: 0;
}

.reach-cover-img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto 40px;
}

.reach-header {
    max-width: 100%;
    margin: 0 auto 60px;
}

.reach-header .pre-title {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 20px;
}

.reach-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 25px;
    color: var(--text-dark);
    line-height: 1.2;
}

.reach-title-prefix {
    font-size: calc(1em - 4px);
    color: var(--text-dark);
    vertical-align: baseline;
}

.reach-title-star {
    color: var(--primary);
}

.title-accent {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto 30px;
    border-radius: 2px;
}

.reach-desc {
    font-size: clamp(0.85rem, 1.05vw, 1.1rem);
    line-height: 1.5;
    color: #000000;
    max-width: none;
    width: 100%;
    margin: 0 auto;
    white-space: nowrap;
}

@media (max-width: 1280px) {
    .reach-desc {
        white-space: normal;
    }
}

/* NOTEBOOK CATALOG SLIDER (screenshot design) */
.notebook-slider-outer {
    margin-top: 0;
}

@media (min-width: 1200px) {
    .reach-cover-outer,
    .notebook-slider-outer {
        width: min(calc(100vw - 48px), 1960px);
    }
}

.notebook-scroller {
    overflow: hidden;
    padding: 24px 0 48px;
    position: relative;
    width: 100%;
}

.notebook-item {
    width: 100%;
    height: 260px;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px 5px 5px 12px;
    display: flex;
    flex-direction: row;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.35s ease, border-color 0.3s ease;
    cursor: grab;
    overflow: hidden;
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
}

.notebook-item:active {
    cursor: grabbing;
}

.notebook-item:hover {
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
    border-color: #ccc;
}

.notebook-body {
    flex: 1;
    min-width: 0;
    padding: 8px 6px 10px 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #fff;
    position: relative;
}

.notebook-header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 6px;
}

.notebook-logo {
    height: 22px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.notebook-spine {
    width: 44px;
    flex-shrink: 0;
    background: linear-gradient(90deg, #f3f3f3 0%, #e8e8e8 100%);
    border-left: 3px solid #c8c8c8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 6px 12px;
    gap: 0;
}

.notebook-num {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    letter-spacing: 0.02em;
    flex-shrink: 0;
    margin-bottom: 6px;
}

.spine-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: none;
    color: #111;
    line-height: 1.3;
    text-align: center;
    margin-top: auto;
    flex: 0 1 auto;
    align-self: center;
    max-width: 100%;
    padding-bottom: 4px;
    border-bottom: 1px solid transparent;
}

.notebook-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 0 8px;
}

.notebook-main img {
    max-width: 88%;
    max-height: 132px;
    object-fit: contain;
    backface-visibility: hidden;
    image-rendering: -webkit-optimize-contrast;
}

.notebook-star-tag {
    position: absolute;
    right: 0px;
    bottom: 10px;
    background: var(--primary);
    color: #fff;
    font-size: 0.42rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    padding: 7px 4px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    line-height: 1;
    border-radius: 2px;
    z-index: 2;
    transform: rotate(180deg);
    transform-origin: center center;
}

.spine-accent {
    color: var(--primary);
    font-weight: 700;
    text-transform: none;
}

@media (max-width: 1400px) {
    .notebook-item {
        height: 246px;
    }

    .notebook-main img {
        max-height: 120px;
    }
}

@media (max-width: 992px) {
    .notebook-item {
        height: 232px;
    }

    .notebook-logo {
        height: 20px;
    }

    .notebook-main img {
        max-height: 110px;
    }

    .notebook-spine {
        width: 42px;
    }

    .spine-text {
        font-size: 0.58rem;
    }

    .notebook-scroller {
        padding-bottom: 30px;
    }
}

.scroll-top-btn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background-color 0.25s ease;
    z-index: 1200;
}

.scroll-top-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.scroll-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 600px) {
    .scroll-top-btn {
        right: 16px;
        bottom: 16px;
        width: 42px;
        height: 42px;
    }
}

/* PRODUCTION PROCESS */
.production-section {
    margin-top: 100px;
    padding-top: 20px;
    margin-bottom: 20px;
}

.production-section .reach-header {
    max-width: none;
    width: 100%;
    margin: 0 auto 40px;
    text-align: center;
}

.production-section .title-accent {
    margin: 0 auto 30px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.process-card {
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.process-img {
    height: 280px;
    position: relative;
    overflow: hidden;
}

.process-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.process-card:hover .process-img img {
    transform: scale(1.1);
}

.process-number {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    color: #1a1a1a;
    padding: 10px 15px;
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
    z-index: 2;
    box-shadow: 5px 5px 0 var(--primary);
}

.process-label {
    background: var(--primary);
    color: var(--white);
    padding: 15px;
    text-align: center;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    font-weight: 700;
}

@media (max-width: 992px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
}

/* ... existing GALLERY PREVIEW styles ... */
.gallery-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.visual-card {
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.visual-card-header {
    background: var(--primary);
    color: #ffffff;
    padding: 15px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.05em;
}

.visual-card-body {
    position: relative;
    background: #ffffff;
}

.visual-img {
    height: 350px;
    position: relative;
    overflow: hidden;
    padding: 0;
    background: #f0f0f0;
    display: block;
}

.visual-img img,
.visual-img video {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.visual-img .visual-video {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center center;
}

.visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    cursor: pointer;
}

.visual-overlay i {
    color: #ffffff;
    font-size: 3.5rem;
    transform: scale(0.6);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.visual-card:hover .visual-img img,
.visual-card:hover .visual-img video {
    transform: scale(1.1);
}

.visual-card:hover .visual-overlay {
    opacity: 1;
}

.visual-card:hover .visual-overlay i {
    transform: scale(1);
}

.gallery-lightbox-open {
    overflow: hidden;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.88);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px 80px;
}

.gallery-lightbox.is-open {
    display: flex;
}

.gallery-lightbox-stage {
    width: 100%;
    max-width: 1200px;
    height: calc(100vh - 220px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    text-align: center;
}

.gallery-lightbox-media {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    margin: 0 auto;
}

.gallery-lightbox-thumbs {
    position: absolute;
    left: 80px;
    right: 80px;
    bottom: 24px;
    display: flex;
    justify-content: center;
    gap: 10px;
    overflow-x: auto;
    padding: 8px 2px;
}

.gallery-lightbox-thumbs::-webkit-scrollbar {
    height: 6px;
}

.gallery-lightbox-thumbs::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.35);
    border-radius: 999px;
}

.gallery-lightbox-thumb {
    position: relative;
    width: 88px;
    height: 62px;
    flex: 0 0 auto;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
    padding: 0;
    cursor: pointer;
}

.gallery-lightbox-thumb.is-active {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px rgba(192, 0, 0, 0.35);
}

.gallery-lightbox-thumb-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-lightbox-thumb-icon {
    position: absolute;
    right: 6px;
    bottom: 6px;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
    position: absolute;
    border: none;
    border-radius: 999px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
}

.gallery-lightbox-close {
    top: 24px;
    right: 24px;
}

.gallery-lightbox-prev {
    left: 24px;
}

.gallery-lightbox-next {
    right: 24px;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.25);
}

.visual-dots {
    padding: 20px;
    display: flex;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
}

.visual-dots span {
    width: 8px;
    height: 8px;
    background: #e0e0e0;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.visual-dots span.active {
    background: #c0c0c0;
    width: 25px;
    border-radius: 4px;
}

@media (max-width: 992px) {
    .gallery-preview {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery-lightbox {
        padding: 20px 56px;
    }

    .gallery-lightbox-stage {
        height: calc(100vh - 240px);
    }

    .gallery-lightbox-thumbs {
        left: 56px;
        right: 56px;
    }
}

/* 3. PRODUCT CATEGORIES */
.products {
    padding: var(--section-padding);
    background: var(--page-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.underline {
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    position: relative;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-heavy);
}

.product-img {
    height: 250px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.product-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-info {
    padding: 30px;
    text-align: center;
}

.product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

/* 4. FEATURES SECTION (homepage genset grid) */
.features {
    padding: var(--section-padding);
    background: var(--page-bg);
    color: var(--text-dark);
}

.features .section-header {
    margin-bottom: 40px;
}

.features .section-header h2 {
    color: var(--text-dark);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 3px;
    margin-top: 0;
    width: 100%;
}

.feature-item {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    text-align: center;
    min-width: 0;
}

.feature-item:hover {
    background: transparent;
    border-color: transparent;
}

.feature-item-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f4f4f4;
}

.feature-item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.feature-item-label {
    background: var(--primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;
    padding: 10px 6px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-grid.is-empty {
    display: none;
}

/* Dynamic genset grid: always visible (loaded after AOS init) */
.features .feature-grid .feature-item,
.features .feature-grid .feature-item[data-aos] {
    opacity: 1;
    transform: none;
}

@media (max-width: 1200px) {
    .feature-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .feature-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .feature-item-label {
        font-size: 10px;
        min-height: 44px;
    }
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* APPLICATIONS SECTION */
.applications {
    padding: var(--section-padding);
    background: var(--page-bg);
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.app-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    border-left: 4px solid transparent;
}

.app-card:hover {
    transform: translateX(10px);
    border-left-color: var(--primary);
}

.app-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.app-info i {
    font-size: 1.8rem;
    color: var(--primary);
}

.app-info h4 {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

/* 5. ABOUT & STATS */
.about-stats {
    padding: var(--section-padding);
    background: var(--page-bg);
}

.about-stats-cover {
    margin-top: 0px;
    margin-bottom: 20px;
}

.about-stats-cover img {
    display: block;
    width: 90%;
    height: auto;
    margin: 0 auto;
}

/* Footer: skyline cover full width; corp box centered inside */
.site-footer-frame {
    margin: 28px 0 0;
    padding: 0;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

.site-footer-frame__cover {
    background: #ececec;
    padding: 24px 0 28px;
    width: 100%;
    box-sizing: border-box;
}

.site-footer-frame__cover-container {
    max-width: 1680px;
    margin: 0 auto;
    padding-left: 3%;
    padding-right: 3%;
    box-sizing: border-box;
}

.site-footer-frame__cover-img {
    display: block;
    width: 65%;
    height: auto;
    margin: 0 auto 24px;
}

.site-footer-frame__main {
    background: #000000;
    color: #f2f2f2;
    padding: 24px 0 20px;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

.site-footer-frame__main .site-footer-corp,
.site-footer-frame__main > .container {
    max-width: 90%;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    background: transparent;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.about-text p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.about-text .about-star-highlight {
    color: var(--primary);
    font-weight: 700;
    font-family: 'Inter', 'Montserrat', Arial, sans-serif;
    letter-spacing: 0;
    text-transform: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat-card {
    padding: 40px;
    background: var(--industrial-white);
    border-radius: 8px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-label {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

/* 6. FOOTER */
footer {
    background: #000000;
    color: #f2f2f2;
    padding: 60px 0 50px;
}

footer.site-footer-frame__main {
    padding: 24px 0 20px;
    background: #000000;
}

footer .container:not(.site-footer-corp) {
    max-width: 1680px;
    padding-left: 3%;
    padding-right: 3%;
}

.footer-grid {
    display: grid;
    gap: 40px;
}

.footer-grid--corp {
    grid-template-columns: minmax(200px, 1fr) minmax(280px, 2fr) minmax(200px, 1fr);
    gap: 40px 60px;
    align-items: start;
}

.footer-col--locations {
    text-align: left;
}

.footer-col--center {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: 0 10px;
}

.footer-col--legal {
    text-align: right;
}

.footer-location-block + .footer-location-block {
    margin-top: 28px;
}

.footer-title {
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.footer-title--social {
    font-size: 13px;
    margin-top: 8px;
    margin-bottom: 14px;
}

.footer-col--locations .footer-title {
    margin-bottom: -3px;
}

.footer-address p {
    font-size: 0.85rem;
    line-height: 1.55;
    opacity: 0.92;
    margin-bottom: 4px;
}

.footer-address .brand-font {
    opacity: 1;
    color: #f2f2f2;
    font-size: 0.85rem;
    margin-bottom: 4px;
    letter-spacing: 0.04em;
    font-weight: 700;
}

.footer-tagline {
    font-size: 17px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.35;
    white-space: nowrap;
    margin-bottom: 110px;
}

.footer-disclaimer {
    font-size: 13px;
    opacity: 0.88;
    line-height: 1.55;
}

.footer-thanks {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-legal-block p {
    font-size: 0.85rem;
    line-height: 1.25;
    margin-bottom: 4px;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links--legal {
    margin: 18px 0;
}

.footer-links--legal li {
    margin-bottom: 0;
    line-height: 1.4;
}

.footer-links--legal a {
    font-size: 13px;
    line-height: 1.4;
    text-decoration: none;
    color: #f2f2f2;
    opacity: 0.92;
}

.footer-links--legal li:first-child a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-links--legal a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links--footer {
    justify-content: flex-end;
    gap: 18px;
}

.social-links--footer a {
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    font-size: 1.05rem;
    color: #f2f2f2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-links--footer a:hover {
    color: var(--primary);
    background: transparent;
    transform: none;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 1024px) {
    .about-stats-cover {
        margin-top: 24px;
        margin-bottom: 18px;
    }

    .site-footer-frame {
        margin-top: 20px;
        padding: 0;
    }

    .site-footer-frame__cover {
        padding: 18px 0 14px;
    }

    .footer-grid--corp {
        grid-template-columns: 1fr 1fr;
    }

    .footer-col--center {
        grid-column: 1 / -1;
        order: -1;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .about-content {
        gap: 28px;
    }

    .about-text h2 {
        font-size: 1.9rem;
        margin-bottom: 16px;
    }

    .about-text p {
        font-size: 1rem;
        margin-bottom: 18px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .stat-card {
        padding: 24px 18px;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .nav-links li.has-dropdown>.dropdown-menu {
        position: static;
        width: 100%;
        padding: 0 0 0 14px;
        margin-top: 8px;
        border-top: none;
        box-shadow: none;
        background: transparent;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .nav-links li.has-dropdown.is-open>.dropdown-menu {
        display: block;
    }

    .nav-links li.has-dropdown>.dropdown-menu a {
        font-size: 0.95rem;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        color: #ffffff;
    }

    .hero h1 {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    .site-footer-frame {
        padding: 0;
    }

    .site-footer-frame__cover {
        padding: 14px 0 20px;
    }

    .site-footer-frame__cover-img {
        margin-bottom: 16px;
    }

    footer.site-footer-frame__main {
        padding: 20px 0 16px;
    }

    .site-footer-frame__main .site-footer-corp,
    .site-footer-frame__main > .container {
        padding: 0 16px;
    }

    .footer-grid--corp {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-col--center,
    .footer-col--locations {
        text-align: center;
    }

    .footer-col--legal {
        text-align: right;
    }

    .social-links--footer {
        justify-content: flex-end;
    }

    .footer-tagline {
        white-space: normal;
    }
}

/* ANIMATIONS */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

[data-aos].active {
    opacity: 1;
    transform: translateY(0);
}