/* ═══════════════════════════════════════════════════════════════════════════
   JSHP Transformer Theme — Main Stylesheet
   Inspired by BootstrapMade Moderna template
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── CSS Variables ────────────────────────────────────────────────────────── */
:root {
    --color-primary: #285A8F;
    --color-primary-light: #3a7abf;
    --color-primary-dark: #1e4356;
    --color-primary-rgb: 40, 90, 143;
    --color-accent: #68A4C4;
    --color-accent-light: #85b6cf;
    --color-accent-dark: #468db3;
    --color-white: #ffffff;
    --color-gray-50: #f3f8fa;
    --color-gray-100: #ecf3f7;
    --color-gray-200: #ddecf5;
    --color-gray-300: #dee2e6;
    --color-gray-400: #ced4da;
    --color-gray-500: #adb5bd;
    --color-gray-600: #6c757d;
    --color-gray-700: #495057;
    --color-gray-800: #343a40;
    --color-gray-900: #212529;
    --color-success: #28a745;
    --color-error: #dc3545;

    --font-sans: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Roboto', 'Open Sans', sans-serif;
    --font-heading: 'Roboto', 'Open Sans', sans-serif;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 5px 26px rgba(68, 88, 144, 0.14);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.15);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 50px;

    --transition: 0.3s ease-in-out;
    --container-max: 1140px;
    --header-container-max: 1280px;
    --navbar-height: 80px;
    --navbar-height-compact: 72px;
    --banner-overlay-opacity: 0.75;
}

html[data-palette="emerald"] {
    --color-primary: #0f4f46;
    --color-primary-light: #1b7a6d;
    --color-primary-dark: #0a352f;
    --color-primary-rgb: 15, 79, 70;
    --color-accent: #e19c23;
    --color-accent-light: #edbb64;
    --color-accent-dark: #b97d18;
}

html[data-palette="violet"] {
    --color-primary: #3f3d8f;
    --color-primary-light: #5f5bc0;
    --color-primary-dark: #2b2966;
    --color-primary-rgb: 63, 61, 143;
    --color-accent: #ee7a4d;
    --color-accent-light: #f59f7d;
    --color-accent-dark: #cf5a2f;
}

html[data-palette="sunset"] {
    --color-primary: #6b2f5b;
    --color-primary-light: #91457b;
    --color-primary-dark: #4a2140;
    --color-primary-rgb: 107, 47, 91;
    --color-accent: #f08a2c;
    --color-accent-light: #f6ad64;
    --color-accent-dark: #ca6c18;
}

html[data-palette="pureblack"] {
    --color-primary: #000000;
    --color-primary-light: #222222;
    --color-primary-dark: #000000;
    --color-primary-rgb: 0, 0, 0;
    --color-accent: #d4952a;
    --color-accent-light: #e5b35c;
    --color-accent-dark: #b37a1c;
}

html[data-palette="skyblue"] {
    --color-primary: #0c4a6e;
    --color-primary-light: #0369a1;
    --color-primary-dark: #075985;
    --color-primary-rgb: 12, 74, 110;
    --color-accent: #0ea5e9;
    --color-accent-light: #38bdf8;
    --color-accent-dark: #0284c7;
}

/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    background: var(--color-white);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-light); text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    color: #111;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.container--narrow { max-width: 800px; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.4;
    text-transform: none;
}

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

.btn--outline {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-accent);
}
.btn--outline:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

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

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

.btn--text {
    padding: 0;
    border: none;
    background: none;
    color: var(--color-accent);
    font-weight: 600;
}
.btn--text:hover { color: var(--color-accent-dark); }
.btn--text i { transition: transform var(--transition); }
.btn--text:hover i { transform: translateX(4px); }

.btn--sm { padding: 8px 16px; font-size: 0.8125rem; }
.btn--full { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER & NAVIGATION
   ═══════════════════════════════════════════════════════════════════════════ */

.site-header {
    position: relative;
    width: 100%;
}

.site-header > .navbar .container {
    max-width: var(--header-container-max);
}

/* ── Banner (constrained height + cover for sharper display) ───────────────── */
.banner {
    width: 100%;
    margin: 0;
    padding-top: var(--navbar-height);
    background: #56ACC3;
    line-height: 0;
}

.banner__wrap {
    position: relative;
    overflow: hidden;
}

.banner__image {
    display: block;
    width: 100%;
    height: auto;
    min-height: 180px;
    max-height: min(42vh, 440px);
    object-fit: cover;
    object-position: center;
    vertical-align: top;
}

@media (max-width: 768px) {
    .banner__image {
        min-height: 140px;
        max-height: min(36vh, 280px);
    }
}

/* ── Navbar ────────────────────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 997;
    height: var(--navbar-height);
    background: var(--color-primary);
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition: box-shadow var(--transition), background var(--transition);
}

.navbar.is-sticky {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 100%;
    min-height: var(--navbar-height);
    padding: 0;
}

.navbar__tagline-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    line-height: 1.35;
    white-space: nowrap;
}

.navbar__tagline-link:hover {
    color: inherit;
    opacity: 0.92;
}

.navbar__tagline {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-white);
    letter-spacing: 0.015em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
    white-space: nowrap;
}

.navbar__brand {
    display: flex;
    align-items: center;
    align-self: center;
    flex: 0 0 auto;
    min-width: 0;
    max-width: none;
}

.navbar__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
    gap: 12px;
    min-width: 0;
}

.navbar__menu {
    display: flex;
    align-items: stretch;
    flex: 1 1 auto;
    justify-content: flex-end;
    min-width: 0;
    padding-right: 12px;
    margin-right: 4px;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.navbar__list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: stretch;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    height: 100%;
}

.navbar__item {
    position: relative;
    display: flex;
    align-items: stretch;
}

.navbar__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 100%;
    padding: 0 13px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8125rem;
    font-weight: 600;
    font-family: var(--font-sans);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.2s ease;
    white-space: nowrap;
    border-radius: 0;
    background: transparent;
}

.navbar__link::after {
    content: '';
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 0;
    height: 2px;
    background: var(--color-accent-light);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.navbar__link:hover,
.navbar__item.current-menu-item > .navbar__link,
.navbar__item.current_page_item > .navbar__link {
    color: var(--color-white);
    background: transparent;
}

.navbar__link:hover::after,
.navbar__item.current-menu-item > .navbar__link::after,
.navbar__item.current_page_item > .navbar__link::after {
    transform: scaleX(1);
}

.navbar__toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    padding-left: 4px;
}

.btn--nav-cta {
    padding: 9px 20px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    background: var(--color-accent);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.btn--nav-cta:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: var(--color-white);
}

.navbar__arrow {
    font-size: 0.5625rem;
    opacity: 0.8;
    transition: transform var(--transition);
}

/* ── Dropdown Menus ───────────────────────────────────────────────────────── */
.dropdown-menu,
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--color-white);
    box-shadow: 0 14px 40px rgba(15, 43, 76, 0.16);
    padding: 8px 0 12px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    border-top: 3px solid var(--color-accent);
    z-index: 999;
    pointer-events: none;
}

.navbar__item--has-mega:not(.navbar__item--products-mega):hover .mega-menu,
.navbar__item--has-dropdown:not(.navbar__item--products-mega):hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Nested dropdown items — position relative for flyout sub-menus */
.dropdown__item {
    position: relative;
}

/* Nested dropdown (third-level) — fly out to the right */
.dropdown-menu .dropdown-menu {
    top: -3px;
    left: 100%;
    margin-left: 0;
}

.dropdown__item--has-children:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar__item--has-mega:hover .navbar__arrow,
.navbar__item--has-dropdown:hover .navbar__arrow { transform: rotate(180deg); }

.navbar__item--products-mega > .navbar__link:hover + .dropdown-menu--products-mega,
.navbar__item--products-mega > .dropdown-menu--products-mega:hover {
    display: grid;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Bridge link → panel so the menu stays open while moving the cursor down */
.navbar__item--products-mega > .navbar__link:hover + .dropdown-menu--products-mega::before,
.navbar__item--products-mega > .dropdown-menu--products-mega:hover::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
}

.navbar__item--products-mega > .navbar__link:hover .navbar__arrow {
    transform: rotate(180deg);
}

.mega-menu:not(.dropdown-menu--products-mega) {
    min-width: auto;
    padding: 24px;
    left: 50%;
    transform: translateX(-50%);
}
.mega-menu__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
}

.mega-menu__heading {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1c3745;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--color-gray-200);
}
.mega-menu__heading a { color: #1c3745; }
.mega-menu__heading a:hover { color: var(--color-accent); }

.mega-menu__list { list-style: none; }

.mega-menu__item { margin-bottom: 1px; }

.mega-menu__link {
    display: block;
    padding: 6px 0;
    color: #1c3745;
    font-size: 14px;
    font-weight: 500;
}
.mega-menu__link:hover { color: var(--color-accent); }

.mega-menu__link--parent {
    font-weight: 700;
    color: #1c3745;
}

.mega-menu__sublist {
    list-style: none;
    padding-left: 16px;
    margin: 2px 0 8px;
}
.mega-menu__sublist li a {
    display: block;
    padding: 3px 0;
    font-size: 13px;
    color: var(--color-gray-600);
}
.mega-menu__sublist li a:hover { color: var(--color-accent); }

.dropdown-menu {
    min-width: 240px;
}

.dropdown-menu__link {
    display: block;
    padding: 9px 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-gray-800);
    line-height: 1.4;
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.dropdown-menu__link:hover,
.dropdown-menu__link:focus-visible {
    color: var(--color-primary);
    background: var(--color-gray-50);
}

.dropdown-menu__link--column {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
    padding: 0 0 10px;
    margin-bottom: 4px;
    background: transparent;
}

.dropdown-menu__link--column:hover {
    color: var(--color-accent-dark);
    background: transparent;
}

.dropdown-menu__group { border-bottom: 1px solid var(--color-gray-100); padding-bottom: 6px; margin-bottom: 6px; }
.dropdown-menu__group-heading {
    font-weight: 700 !important;
    color: var(--color-primary) !important;
}
.dropdown-menu__sub { list-style: none; padding: 0; }
.dropdown-menu__sub .dropdown-menu__link {
    padding: 7px 20px 7px 28px;
    font-size: 0.8125rem;
    color: var(--color-gray-600);
}

/* Products — 2-column mega panel (closed = no layout/hits; open only on link or panel hover) */
.navbar__item--products-mega > .dropdown-menu--products-mega {
    display: none;
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: 20px 36px;
    width: max-content;
    max-width: min(92vw, 640px);
    min-width: min(520px, 92vw);
    left: 50%;
    right: auto;
    padding: 24px 32px 28px;
    transform: translateX(-50%) translateY(6px);
}

.navbar__item--products-mega > .dropdown-menu--products-mega > .dropdown__item {
    position: static;
    min-width: 0;
    padding-right: 36px;
    border-right: 1px solid var(--color-gray-200);
}

.navbar__item--products-mega > .dropdown-menu--products-mega > .dropdown__item:nth-child(2n) {
    padding-right: 0;
    border-right: none;
}

.navbar__item--products-mega > .dropdown-menu--products-mega > .dropdown__item--has-children > a .navbar__arrow {
    display: none;
}

.navbar__item--products-mega > .dropdown-menu--products-mega .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    display: block;
    transform: none;
    box-shadow: none;
    border: none;
    border-top: none;
    background: transparent;
    padding: 0;
    min-width: 0;
}

.navbar__item--products-mega > .dropdown-menu--products-mega .dropdown-menu .dropdown-menu__link {
    padding: 7px 0 7px 12px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-gray-700);
    border-left: 2px solid transparent;
    white-space: normal;
    line-height: 1.45;
    text-transform: none;
    letter-spacing: 0;
}

.navbar__item--products-mega > .dropdown-menu--products-mega .dropdown-menu .dropdown-menu__link:hover {
    color: var(--color-primary);
    background: transparent;
    border-left-color: var(--color-accent);
}

@media (max-width: 1280px) {
    .navbar__link {
        padding: 0 10px;
        font-size: 0.75rem;
        letter-spacing: 0.04em;
    }

    .navbar__link::after {
        left: 10px;
        right: 10px;
    }

    .navbar__item--products-mega > .dropdown-menu--products-mega {
        grid-template-columns: repeat(2, minmax(200px, 1fr));
        min-width: min(480px, 92vw);
        max-width: 92vw;
        padding: 20px 24px 24px;
        gap: 16px 28px;
    }
}

/* ── Social Links ─────────────────────────────────────────────────────────── */
.navbar__social {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding-left: 6px;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.navbar__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.875rem;
    transition: all var(--transition);
    line-height: 1;
}
.navbar__social-link:hover {
    color: var(--color-white);
    background: var(--color-accent);
}

/* ── Hamburger ────────────────────────────────────────────────────────────── */
.navbar__hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-self: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 9998;
    flex-shrink: 0;
}
.navbar__hamburger span {
    width: 100%;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all var(--transition);
}
.navbar__hamburger.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar__hamburger.is-active span:nth-child(2) { opacity: 0; }
.navbar__hamburger.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

html[data-nav="light"] .navbar__tagline { color: var(--color-primary); }

html[data-nav="light"] .navbar__link {
    color: var(--color-gray-700);
}

html[data-nav="light"] .navbar__link:hover {
    color: var(--color-primary);
    background: transparent;
}

html[data-nav="light"] .navbar__link::after {
    background: var(--color-accent);
}

html[data-nav="light"] .navbar__social-link {
    color: var(--color-gray-600);
}

html[data-nav="light"] .navbar__social-link:hover {
    color: var(--color-primary);
    background: var(--color-gray-100);
}

html[data-nav="light"] .navbar__hamburger span {
    background: var(--color-primary);
}

/* Mobile menu overlay (hamburger panel uses .navbar__actions) */
body.menu-open::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(30, 67, 86, 0.9);
    z-index: 9997;
}

/* Remove theme picker */
.theme-picker { display: none !important; }

.theme-picker__toggle:hover {
    background: var(--color-primary);
    transform: translateY(-1px);
}

html[data-nav="light"] .theme-picker__toggle {
    border-color: var(--color-gray-200);
    background: rgba(255,255,255,0.96);
    color: var(--color-primary);
}

.theme-picker__panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 12px);
    width: 280px;
    border-radius: var(--radius-lg);
    background: var(--color-white);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-gray-200);
    padding: 16px;
}

.theme-picker__title {
    font-size: 0.95rem;
    color: var(--color-gray-900);
    margin-bottom: 10px;
}

.theme-picker__subtitle {
    font-size: 0.85rem;
    color: var(--color-gray-600);
    margin: 14px 0 10px;
}

.theme-picker__group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.theme-picker__option,
.theme-picker__palette {
    border: 1px solid var(--color-gray-300);
    background: var(--color-white);
    color: var(--color-gray-700);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
}

.theme-picker__option {
    padding: 8px 10px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.theme-picker__option:hover,
.theme-picker__palette:hover {
    border-color: var(--color-primary-light);
}

.theme-picker__option.is-active,
.theme-picker__palette.is-active {
    border-color: var(--color-primary);
    box-shadow: inset 0 0 0 1px var(--color-primary);
    color: var(--color-primary);
}

.theme-picker__palettes {
    display: grid;
    gap: 8px;
}

.theme-picker__palette {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 10px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: left;
}

.theme-picker__swatch {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.12);
    flex-shrink: 0;
}

.theme-picker__swatch--default { background: #0f2b4c; }
.theme-picker__swatch--emerald { background: #0f4f46; }
.theme-picker__swatch--violet { background: #3f3d8f; }
.theme-picker__swatch--sunset { background: #6b2f5b; }
.theme-picker__swatch--pureblack { background: #000000; }
.theme-picker__swatch--skyblue {
    background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
}

.theme-picker__overlay-control {
    margin-top: 4px;
}

.theme-picker__overlay-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    color: var(--color-gray-700);
    margin-bottom: 6px;
}

.theme-picker__overlay-range {
    width: 100%;
    accent-color: var(--color-accent);
    cursor: pointer;
}

/* ── Breadcrumbs ──────────────────────────────────────────────────────────── */
.breadcrumbs {
    background: var(--color-gray-50);
    padding: 15px 0;
    min-height: 40px;
    font-size: 14px;
}
.breadcrumbs a { color: var(--color-gray-600); }
.breadcrumbs a:hover { color: var(--color-accent); }
.breadcrumbs .sep { margin: 0 8px; color: var(--color-gray-400); }
.breadcrumbs .current { color: var(--color-gray-800); font-weight: 500; }

/* ═══════════════════════════════════════════════════════════════════════════
   SECTIONS — COMMON
   ═══════════════════════════════════════════════════════════════════════════ */

.section { padding: 60px 0; }
.section-bg { background-color: var(--color-gray-50); }

.section-header { margin-bottom: 30px; }
.section-header--center { text-align: center; }
.section-header--light .section-header__tag { color: var(--color-accent-light); }
.section-header--light .section-header__title { color: var(--color-white); }

.section-header__tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: var(--color-gray-600);
    margin-bottom: 8px;
}

.section-header__title {
    font-size: 28px;
    font-weight: 600;
    color: #111;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
    font-family: var(--font-heading);
}

.section-header--center .section-header__title::before {
    content: '';
    position: absolute;
    display: block;
    width: 120px;
    height: 1px;
    background: #ddd;
    bottom: 1px;
    left: calc(50% - 60px);
}

.section-header--center .section-header__title::after {
    content: '';
    position: absolute;
    display: block;
    width: 40px;
    height: 3px;
    background: var(--color-accent);
    bottom: 0;
    left: calc(50% - 20px);
}

.section-header__desc {
    font-size: 15px;
    color: var(--color-gray-600);
    max-width: 600px;
    margin: 0 auto 0;
    line-height: 1.7;
}

.section-cta { text-align: center; margin-top: 48px; }

/* ═══════════════════════════════════════════════════════════════════════════
   HOMEPAGE SECTIONS
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── About Grid ───────────────────────────────────────────────────────────── */
.section--about { background: var(--color-gray-50); }
.section--about .section-header { margin-bottom: 8px; }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

.about-grid__text {
    display: flex;
    flex-direction: column;
    height: 100%;
    font-size: 1.125rem;
    color: var(--color-gray-700);
    line-height: 1.75;
}
.about-grid__text p { margin-bottom: 14px; }
.about-grid__text p:last-of-type { margin-bottom: 0; }

.about-grid__image {
    height: 100%;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-img-placeholder {
    aspect-ratio: 4/3;
    background: var(--color-gray-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--color-gray-300);
}

/* ── Homepage: Our History (Z-shaped timeline) ───────────────────────────── */
.section--our-history {
    padding-top: 24px;
    background: var(--color-gray-50);
}

.history-zigzag {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
}

.history-zigzag__line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, rgba(var(--color-primary-rgb), 0.25), rgba(var(--color-primary-rgb), 0.6), rgba(var(--color-primary-rgb), 0.25));
}

.history-zigzag__item {
    position: relative;
    width: 50%;
    padding-bottom: 22px;
}

.history-zigzag__item--left {
    left: 0;
    padding-right: 34px;
}

.history-zigzag__item--right {
    left: 50%;
    padding-left: 34px;
}

.history-zigzag__dot {
    position: absolute;
    top: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 0 6px rgba(212, 149, 42, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1;
    z-index: 2;
}

.history-zigzag__item--left .history-zigzag__dot {
    right: -26px;
}

.history-zigzag__item--right .history-zigzag__dot {
    left: -26px;
}

.history-card {
    position: relative;
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    min-height: 120px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.history-card:hover,
.history-card:focus-within {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(var(--color-primary-rgb), 0.3);
}

.history-card__year {
    display: inline-block;
    margin-bottom: 8px;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(var(--color-primary-rgb), 0.08);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.history-card__title {
    font-size: 0.95rem;
    color: var(--color-gray-900);
    line-height: 1.45;
    margin-bottom: 10px;
    text-align: left;
}

.history-card__desc {
    margin: 0;
    padding-left: 0;
    list-style-position: inside;
    font-size: 0.8125rem;
    color: var(--color-gray-600);
    line-height: 1.6;
    text-align: left;
}

.history-card__desc li + li {
    margin-top: 3px;
}

.home-products-after-news {
    margin-top: 88px;
    padding-top: 72px;
    border-top: 1px solid var(--color-gray-100);
}

.home-products-after-news__header {
    margin-bottom: 32px;
}

/* ── Product Cards ────────────────────────────────────────────────────────── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.products-grid--archive {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

/* Products archive: tag / title / intro left-aligned with grid; intro justified */
.section--products-archive .section-header--products-archive {
    text-align: left;
}
.section--products-archive .section-header--products-archive .section-header__title {
    margin-top: 0;
}
.section--products-archive .section-header--products-archive .section-header__desc {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}

/* Facility archive: same alignment + width as facility-list below */
.section--facility-archive .section-header--facility-archive {
    text-align: left;
}
.section--facility-archive .section-header--facility-archive .section-header__title {
    margin-top: 0;
}
.section--facility-archive .section-header--facility-archive .section-header__desc {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}
.section--facility-archive .section-header__desc--multiline {
    white-space: pre-line;
}

.product-summary-table {
    margin: 32px 0 40px;
    overflow-x: auto;
}
.product-summary-sections {
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding-top: 14px;
}
.product-summary-section__title {
    margin: 0 0 12px;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-accent-dark, #1a5c3a);
}
.product-summary-header {
    padding: 0 0 14px;
    background: transparent;
    color: var(--color-accent-dark, #1a5c3a);
    font-size: 1.45rem;
    font-weight: 900;
    text-align: center;
    border-bottom: 1px solid rgba(26, 92, 58, 0.35);
    border-radius: 0;
}
.product-summary-header h3 {
    margin: 0;
    color: inherit;
    font-size: 1.45rem;
}
.product-summary-table table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 0.875rem;
}
.product-summary-table th,
.product-summary-table td {
    padding: 8px 12px;
    border: 1px solid var(--color-gray-300);
    text-align: left;
    vertical-align: middle;
}
.product-summary-table .product-summary-section table th:nth-child(1),
.product-summary-table .product-summary-section table td:nth-child(1) {
    width: 22%;
}
.product-summary-table .product-summary-section table th:nth-child(2),
.product-summary-table .product-summary-section table td:nth-child(2) {
    width: 44%;
}
.product-summary-table .product-summary-section table th:nth-child(3),
.product-summary-table .product-summary-section table td:nth-child(3) {
    width: 17%;
}
.product-summary-table .product-summary-section table th:nth-child(4),
.product-summary-table .product-summary-section table td:nth-child(4) {
    width: 17%;
}
.product-summary-table thead th {
    background: var(--color-accent);
    color: #fff;
    font-weight: 600;
    text-align: center;
}
.product-summary-table tbody td:first-child {
    font-weight: 700;
    color: inherit;
    background: transparent !important;
    border-left: none;
}
.product-summary-table tbody td:nth-child(2) {
    font-weight: 600;
    background: transparent !important;
}
.product-summary-table tbody tr:hover td {
    background: rgba(0,0,0,0.06);
}
.product-summary-table tbody tr:nth-child(even) td {
    background: rgba(0,0,0,0.02);
}

.products-archive-divider {
    margin: 40px 0 28px;
    text-align: center;
}

.products-archive-divider__tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.products-archive-divider__title {
    margin: 0;
    font-size: clamp(1.5rem, 2vw, 2rem);
    color: var(--color-primary);
}

.product-card {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-200);
    transition: all var(--transition);
    text-decoration: none;
    color: inherit;
}
.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--color-accent);
    color: inherit;
}

.product-card__image {
    aspect-ratio: 3/2;
    overflow: hidden;
    background: var(--color-gray-100);
}
.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform var(--transition);
}
.product-card:hover .product-card__image img { transform: scale(1.05); }

.product-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--color-gray-300);
    background: linear-gradient(135deg, var(--color-gray-50), var(--color-gray-100));
}

.product-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.product-card__title { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.product-card__desc { font-size: 0.875rem; color: var(--color-gray-600); margin-bottom: 16px; flex: 1; }
.product-card__link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}
.product-card__link i { transition: transform var(--transition); }
.product-card:hover .product-card__link i { transform: translateX(4px); }

.product-card__subs {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 16px;
}
.product-card__subs li {
    font-size: 0.75rem;
    background: var(--color-gray-100);
    padding: 4px 10px;
    border-radius: 100px;
    color: var(--color-gray-600);
}

.product-card--large .product-card__image { aspect-ratio: 16/9; }

/* ── Solutions Section ────────────────────────────────────────────────────── */
.section--solutions {
    background: var(--color-primary);
    position: relative;
}

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

.solution-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: all var(--transition);
}
.solution-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}

.solution-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--color-white);
}

.solution-card__title { color: var(--color-white); font-size: 1.125rem; margin-bottom: 8px; }
.solution-card__desc { color: rgba(255,255,255,0.7); font-size: 0.875rem; line-height: 1.6; }

/* ── Facility Showcase ────────────────────────────────────────────────────── */
.facility-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}

.facility-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/10;
    display: block;
}
.facility-item--large {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    aspect-ratio: auto;
}

.facility-item__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}
.facility-item:hover .facility-item__img { transform: scale(1.05); }

.facility-item__placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--color-gray-300);
}

.facility-item__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--color-white);
}
.facility-item__title { font-size: 1.3125rem; font-weight: 800; color: var(--color-white); letter-spacing: 0.02em; line-height: 1.25; text-shadow: 0 1px 2px rgba(0,0,0,0.35); }
.facility-item__excerpt { font-size: 0.8125rem; color: rgba(255,255,255,0.8); margin-top: 4px; }

/* ── News Cards ───────────────────────────────────────────────────────────── */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-200);
    transition: all var(--transition);
}
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.news-card__image-link { display: block; aspect-ratio: 3/2; overflow: hidden; }
.news-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}
.news-card:hover .news-card__img { transform: scale(1.05); }
.news-card__img-placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-gray-300);
}

.news-card__body { padding: 24px; }
.news-card__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 0.8125rem; color: var(--color-gray-500); }
.news-card__type {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
}
.news-card__title { font-size: 1.125rem; margin-bottom: 8px; }
.news-card__title a { color: var(--color-gray-900); }
.news-card__title a:hover { color: var(--color-accent); }
.news-card__excerpt { font-size: 0.875rem; color: var(--color-gray-600); margin-bottom: 16px; line-height: 1.6; }
.news-card__readmore {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.news-card__readmore i { transition: transform var(--transition); }
.news-card__readmore:hover i { transform: translateX(4px); }

/* ── CTA Section ──────────────────────────────────────────────────────────── */
.section--cta {
    padding: 60px 0;
    background: var(--color-primary);
}

.cta-box {
    background: none;
    border-radius: 0;
    padding: 0;
    text-align: center;
    color: var(--color-white);
}
.cta-box__title { color: var(--color-white); font-size: 2rem; margin-bottom: 12px; font-family: var(--font-heading); }
.cta-box__desc { color: rgba(255,255,255,0.85); font-size: 1.0625rem; margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ═══════════════════════════════════════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

.about-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-content-grid__text { line-height: 1.8; color: var(--color-gray-700); }
.about-content-grid__text p { margin-bottom: 16px; }

.about-feature-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 100px;
    width: 100%;
    height: auto;
    display: block;
}

.about-feature-figure { margin: 0; }
.about-feature-figure__caption {
    margin-top: 12px;
    font-size: 0.8125rem;
    color: var(--color-gray-500);
    text-align: center;
    line-height: 1.5;
}

.about-media-placeholder {
    min-height: 280px;
    border: 2px dashed var(--color-gray-200);
    border-radius: var(--radius-lg);
    background: var(--color-gray-50);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
    text-align: center;
    position: sticky;
    top: 100px;
}
.about-media-placeholder__icon {
    font-size: 2.5rem;
    color: var(--color-gray-300);
    margin-bottom: 12px;
}
.about-media-placeholder__title {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-gray-600);
}
.about-media-placeholder__hint {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--color-gray-500);
    line-height: 1.55;
    max-width: 280px;
}

/* About — factory gallery (about.md factory_gallery) */
.section--about-factory { background: var(--color-white); }
.about-factory__intro {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.about-factory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 8px;
}
.about-factory-card {
    margin: 0;
    display: flex;
    flex-direction: column;
}
.about-factory-card__link {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    border-radius: var(--radius-md);
    outline-offset: 2px;
}
.about-factory-card__link:hover .about-factory-card__caption,
.about-factory-card__link:focus-visible .about-factory-card__caption {
    color: var(--color-accent-dark);
}
.about-factory-card__frame {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-200);
    background: var(--color-gray-100);
    aspect-ratio: 4 / 3;
}
.about-factory-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.about-factory-card:hover .about-factory-card__img {
    transform: scale(1.03);
}
.about-factory-card__caption {
    margin-top: 12px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-primary);
    text-align: center;
    line-height: 1.35;
    letter-spacing: 0.01em;
}

/* ── Timeline ─────────────────────────────────────────────────────────────── */
.section--timeline { background: var(--color-gray-50); }

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline__summary {
    max-width: 760px;
    margin: 12px auto 0;
    color: var(--color-gray-600);
    font-size: 1rem;
    line-height: 1.7;
}

.timeline__line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-gray-300);
    transform: translateX(-50%);
}

.timeline__item {
    position: relative;
    width: 50%;
    padding: 0 40px 48px;
}

.timeline__item--left { left: 0; text-align: right; }
.timeline__item--right { left: 50%; text-align: left; }

.timeline__dot {
    position: absolute;
    top: 4px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 0 0 6px var(--color-gray-50);
}

.timeline__item--left .timeline__dot { right: -28px; }
.timeline__item--right .timeline__dot { left: -28px; }

.timeline__year {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--color-white);
}

.timeline__stage {
    display: inline-block;
    margin-bottom: 8px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--color-gray-100);
    color: var(--color-primary);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.timeline__content {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-200);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.timeline__content:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-gray-300);
}

.timeline__title {
    font-size: 1.125rem;
    margin-bottom: 8px;
    color: var(--color-primary);
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.timeline__desc {
    font-size: 0.875rem;
    color: var(--color-gray-600);
    line-height: 1.75;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* ── Values ───────────────────────────────────────────────────────────────── */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-card {
    text-align: center;
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-gray-200);
    transition: all var(--transition);
}
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.value-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.25rem;
}
.value-card__title { font-size: 1rem; margin-bottom: 8px; }
.value-card__desc { font-size: 0.8125rem; color: var(--color-gray-600); line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Product Hero: Gallery + Specs Card ─────────────────────────────────── */
.section--product-hero { padding-bottom: 0; }

.product-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* Gallery */
.product-gallery__main {
    position: relative;
    aspect-ratio: 1;
    background: var(--color-gray-50);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-gray-200);
}

.product-gallery__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: zoom-in;
}

.product-gallery__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--color-gray-300);
}

.product-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.9);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: var(--color-gray-700);
    transition: all var(--transition);
}
.product-gallery__nav:hover { background: var(--color-white); box-shadow: var(--shadow-lg); }
.product-gallery__nav--prev { left: 12px; }
.product-gallery__nav--next { right: 12px; }

.product-gallery__zoom {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    border: none;
    background: rgba(255,255,255,0.9);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--color-gray-600);
    transition: all var(--transition);
}
.product-gallery__zoom:hover { background: var(--color-white); }

.product-gallery__thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.product-gallery__thumb {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid var(--color-gray-200);
    cursor: pointer;
    background: none;
    padding: 0;
    transition: border-color var(--transition);
}
.product-gallery__thumb.is-active,
.product-gallery__thumb:hover { border-color: var(--color-accent); }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ── Specs Card (right column) ──────────────────────────────────────────── */
.product-specs-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
}

.product-specs-card__title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-gray-900);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--color-accent);
}

.product-specs-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
}

.product-specs-tabs__btn {
    appearance: none;
    border: 1px solid var(--color-gray-300);
    background: var(--color-white);
    color: var(--color-gray-700);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 8px 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: all var(--transition);
}

.product-specs-tabs__btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent-dark);
}

.product-specs-tabs__btn.is-active {
    border-color: var(--color-accent);
    background: rgba(var(--color-accent-rgb), 0.12);
    color: var(--color-primary);
}

.product-specs-card__list {
    display: none;
    flex-direction: column;
    gap: 0;
    margin-bottom: 28px;
}
.product-specs-card__list.is-active { display: flex; }

.product-specs-card__item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-gray-100);
    gap: 16px;
}
.product-specs-card__item:last-child { border-bottom: none; }

.product-specs-card__label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-gray-800);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex: 0 0 132px;
    max-width: 132px;
    padding-top: 4px;
}

.product-specs-card__value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    text-align: right;
    flex: 1;
}

/* Rated Current: IEEE / IEC on two lines when value uses "(IEEE) / … (IEC)" pattern */
.product-specs-card__value--stacked {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    line-height: 1.35;
}
.product-specs-card__value-row {
    display: block;
}

.product-specs-card__value--dual {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
    width: 100%;
}

.product-specs-card__value-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.product-specs-card__badge {
    font-size: 0.675rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1;
    padding: 4px 6px;
    border-radius: 999px;
    border: 1px solid var(--color-gray-300);
    color: var(--color-gray-900);
    background: var(--color-gray-50);
    min-width: 42px;
    text-align: center;
}

.product-specs-card__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ── Product Content Section ────────────────────────────────────────────── */
.section--product-content {
    padding-top: 48px;
}

.product-content__tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.product-content__title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-gray-900);
    margin-bottom: 32px;
}

/* Product Body (the_content output) */
.product-content__body {
    line-height: 1.9;
    color: var(--color-gray-700);
    font-size: 1.0625rem;
    max-width: 1100px;
}

.product-content__body p { margin-bottom: 20px; }

.product-extra-images {
    margin-top: 28px;
    display: grid;
    gap: 18px;
}

.product-extra-images__item {
    margin: 0;
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.product-extra-images__item img {
    display: block;
    width: 100%;
    height: auto;
}

.product-oip-sample-tables__figures.product-extra-images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

.product-oip-sample-tables__figures .product-extra-images__link {
    display: block;
    cursor: zoom-in;
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.product-oip-sample-tables__figures .product-extra-images__link:hover img {
    opacity: 0.96;
}

.product-oip-sample-tables__figures .product-extra-images__link:focus-visible {
    outline: 2px solid var(--color-primary-600, var(--color-primary));
    outline-offset: 3px;
}

/* ── Homepage: About intro (image + copy) ─────────────────────────── */
.section--home-intro {
    padding-top: 56px;
    padding-bottom: 64px;
}

.section--home-intro .section-header {
    margin-bottom: 40px;
}

.home-intro-split {
    display: grid;
    grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
    gap: 48px;
    align-items: stretch;
}

.home-intro-split__media {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.home-intro-split__frame {
    flex: 1;
    min-height: 420px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-gray-100);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-gray-200);
}

.home-intro-split__img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    object-position: center 35%;
    display: block;
}

.home-intro-split__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--color-gray-700);
}

.home-intro-split__content p {
    margin: 0;
}

.home-intro__lead {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-gray-800);
    margin-bottom: 20px;
    line-height: 1.75;
}

.home-intro-split__content p + p {
    margin-top: 16px;
}

/* Homepage — oil units delivered chart (above Quick Facts) */
.section--home-deliveries {
    padding-top: 48px;
    padding-bottom: 40px;
}

.home-deliveries__chart {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px 16px 12px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-800);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.home-deliveries__chart canvas {
    display: block;
    width: 100% !important;
    height: auto !important;
    min-height: 280px;
}

.home-deliveries__intro {
    max-width: 920px;
    margin: 24px auto 0;
    font-size: 1.0625rem;
    line-height: 1.85;
    color: var(--color-gray-700);
    text-align: center;
}

.stats-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
}

.stat-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.stat-card__value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.stat-card__label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-gray-600);
    line-height: 1.4;
}

.home-media-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.home-media-grid__item {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-gray-200);
}

.home-media-grid__item img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.home-media-grid__item figcaption {
    padding: 12px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gray-600);
    text-align: center;
    border-top: 1px solid var(--color-gray-100);
}

.home-media-grid__item--video {
    position: relative;
    cursor: pointer;
}

.home-intro-video-modal {
    display: none;
}

.vbox-inline.home-intro-video-modal,
.vbox-content .home-intro-video-modal {
    width: min(960px, 90vw);
    max-width: 100%;
    height: auto;
    max-height: 80vh;
    padding: 0;
    overflow: hidden;
    background: #000;
}

.home-intro-video-modal__player {
    display: block;
    width: 100%;
    max-height: 80vh;
    background: #000;
}

.why-us .play-btn {
    width: 94px;
    height: 94px;
    background: radial-gradient(#68A4C4 50%, rgba(104, 164, 196, 0.4) 52%);
    border-radius: 50%;
    display: block;
    position: absolute;
    left: calc(50% - 47px);
    top: calc(50% - 47px);
    overflow: hidden;
}

.home-media-grid__item--video .play-btn {
    width: 100%;
    height: calc(100% - 44px);
    left: 0;
    top: 0;
    background: transparent;
    border-radius: 0;
    z-index: 2;
    cursor: pointer;
}

.home-media-grid__item--video .play-btn::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 72px;
    height: 72px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(rgba(104, 164, 196, 0.92) 55%, rgba(104, 164, 196, 0.45) 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    animation: none;
    border: none;
}

.home-media-grid__item--video .play-btn::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-35%) translateY(-50%);
    width: 0;
    height: 0;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 14px solid #fff;
    z-index: 1;
    transition: transform 0.2s ease;
}

.home-media-grid__item--video .play-btn:hover::before,
.home-media-grid__item--video .play-btn:focus-visible::before {
    transform: translate(-50%, -50%) scale(1.06);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.home-media-grid__item--video .play-btn:hover::after,
.home-media-grid__item--video .play-btn:focus-visible::after {
    transform: translateX(-35%) translateY(-50%) scale(1.05);
}

.why-us .play-btn::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-40%) translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #fff;
    z-index: 100;
    transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.why-us .play-btn::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    animation: pulsate-btn 2s infinite;
    opacity: 1;
    border-radius: 50%;
    border: 5px solid rgba(104, 164, 196, 0.7);
    top: -15%;
    left: -15%;
    background: rgba(198, 16, 0, 0);
}

.why-us .play-btn:hover::after {
    border-left: 15px solid #68A4C4;
    transform: scale(20);
}

.why-us .play-btn:hover::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-40%) translateY(-50%);
    width: 0;
    height: 0;
    border: none;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #fff;
    z-index: 200;
    animation: none;
    border-radius: 0;
}

@keyframes pulsate-btn {
    0%   { transform: scale(0.6, 0.6); opacity: 1; }
    100% { transform: scale(1, 1); opacity: 0; }
}

@media (max-width: 640px) {
    .product-oip-sample-tables__figures.product-extra-images {
        grid-template-columns: 1fr;
    }
}

.product-oip-sample-tables__figures--single.product-extra-images {
    grid-template-columns: 1fr;
    max-width: 100%;
}

/* OIP sample spec tables (XLSX export) */
.product-oip-sample-tables {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    /* Sticky panes: keep modest so columns stay tight */
    --oip-sticky-w1: 4.5rem;
    --oip-sticky-w2: 4.4rem;
    --oip-hdr-row1: 1.9rem;
    --oip-hdr-row2: 1.9rem;
    /* Solid fills so scrolled cells never show through */
    --oip-sticky-body-bg: var(--color-white);
    --oip-sticky-body-bg-alt: #f1f3f5;
    --oip-sticky-header-bg: var(--color-gray-50);
}

.product-oip-sample-tables__scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
}

/* OIP 115-765 table: hide non-source columns 47-50 (Outer diameter / Thickness). */
.product-oip-sample-tables [data-col="47"],
.product-oip-sample-tables [data-col="48"],
.product-oip-sample-tables [data-col="49"],
.product-oip-sample-tables [data-col="50"] {
    display: none;
}

.product-spec-table {
    width: max-content;
    min-width: 100%;
    border-collapse: collapse;
    font-size: 0.52rem;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.product-spec-table__caption {
    caption-side: top;
    text-align: left;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-gray-900);
    padding: 12px 14px 8px;
    border-bottom: 1px solid var(--color-gray-200);
}

.product-spec-table th,
.product-spec-table td {
    border: 1px solid var(--color-gray-200);
    padding: 1px 2px;
    text-align: center;
    vertical-align: middle;
    color: var(--color-gray-800);
}

/* Spec tables: do not cap/ellipsis body cells — breaks column alignment under headers */

.product-spec-table th {
    background: var(--color-gray-50);
    font-weight: 600;
    color: var(--color-gray-900);
}

.product-spec-table tr:nth-child(even) td {
    background: rgba(0, 0, 0, 0.02);
}

/* ── Spec tables: first two header rows stick vertically; all columns scroll horizontally together ── */
.product-oip-sample-tables__scroll .product-spec-table > tbody > tr:first-child > th[data-col="1"] {
    min-width: var(--oip-sticky-w1);
}

.product-oip-sample-tables__scroll .product-spec-table > tbody > tr:first-child > th[data-col="2"] {
    min-width: var(--oip-sticky-w2);
}

/* Header row 1: all cells stick to top */
.product-oip-sample-tables__scroll .product-spec-table > tbody > tr:first-child > th {
    position: sticky;
    top: 0;
    z-index: 4;
    background-color: var(--oip-sticky-header-bg);
    background-clip: padding-box;
    box-shadow: 0 1px 0 var(--color-gray-200);
}

/* Header row 2 */
.product-oip-sample-tables__scroll .product-spec-table > tbody > tr:nth-child(2) > th {
    position: sticky;
    top: var(--oip-hdr-row1);
    z-index: 4;
    background-color: var(--oip-sticky-header-bg);
    background-clip: padding-box;
    box-shadow: 0 1px 0 var(--color-gray-200);
}

/* Row 3 = unit row (kV, mm, …): scrolls vertically — not sticky */

.product-oip-sample-tables__scroll
    .product-spec-table
    > tbody
    > tr:nth-child(even):nth-child(n + 4)
    > td[data-col="1"],
.product-oip-sample-tables__scroll
    .product-spec-table
    > tbody
    > tr:nth-child(even):nth-child(n + 4)
    > td[data-col="2"] {
    background-color: var(--oip-sticky-body-bg-alt);
    background-clip: padding-box;
}

.product-content__body h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 48px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-accent);
    display: block;
    width: fit-content;
    max-width: 100%;
}

.product-content__body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-top: 32px;
    margin-bottom: 12px;
}

.product-content__body h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-gray-800);
    margin-top: 24px;
    margin-bottom: 8px;
}

.product-content__body ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 24px;
}

.product-content__body ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    line-height: 1.7;
}

.product-content__body ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.75rem;
    color: var(--color-accent);
    width: 20px;
    height: 20px;
    background: rgba(212, 149, 42, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-content__body ol {
    padding-left: 24px;
    margin-bottom: 24px;
}
.product-content__body ol li { margin-bottom: 10px; }

.product-content__body img {
    border-radius: var(--radius-md);
    margin: 24px 0;
    box-shadow: var(--shadow-sm);
}

.product-content__body table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.9375rem;
}

.product-content__body table th,
.product-content__body table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--color-gray-200);
}

.product-content__body table th {
    background: var(--color-gray-50);
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.product-content__body table tr:hover td {
    background: var(--color-gray-50);
}

.product-content__body blockquote {
    border-left: 4px solid var(--color-accent);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--color-gray-50);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--color-gray-600);
}

/* ── Downloads Section (card grid) ──────────────────────────────────────── */
.section--product-downloads { background: var(--color-gray-50); }

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.download-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    text-align: center;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.download-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.download-card__icon {
    font-size: 2.5rem;
    color: var(--color-primary);
}

.download-card__title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-gray-800);
    line-height: 1.4;
}

.download-card__meta {
    font-size: 0.75rem;
    color: var(--color-gray-500);
    font-weight: 500;
}

/* ── Product CTA Box ────────────────────────────────────────────────────── */
.section--product-cta { padding: 0 0 80px; }

.product-cta-box {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: var(--radius-xl);
    padding: 56px 48px;
    text-align: center;
    color: var(--color-white);
}

.product-cta-box__title {
    color: var(--color-white);
    font-size: 2rem;
    margin-bottom: 12px;
}

.product-cta-box__desc {
    color: rgba(255,255,255,0.85);
    font-size: 1.0625rem;
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.product-cta-box__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Fixed Contact Button ───────────────────────────────────────────────── */
.product-contact-fixed {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1200;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 999px;
    background: var(--color-accent);
    color: var(--color-white);
    box-shadow: var(--shadow-lg);
    font-weight: 700;
}
.product-contact-fixed:hover {
    background: var(--color-accent-dark);
    color: var(--color-white);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img { max-width: 90%; max-height: 90vh; object-fit: contain; }
.lightbox__close {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 2rem;
    color: var(--color-white);
    background: none;
    border: none;
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: var(--color-white);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    transition: background var(--transition);
    z-index: 2;
}
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox__nav--prev { left: max(16px, env(safe-area-inset-left)); }
.lightbox__nav--next { right: max(16px, env(safe-area-inset-right)); }

/* ═══════════════════════════════════════════════════════════════════════════
   FACILITY PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

.facility-list { display: flex; flex-direction: column; gap: 48px; }

/*
 * Facility archive: DOM = media then content → default row = image left, text right.
 * Odd rows: .facility-row--reverse → text left, image right (zigzag).
 * Single facility: content-first DOM + no reverse → text left, image right.
 */
.facility-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.facility-row__content { min-width: 0; }
.facility-row__media { min-width: 0; }
.facility-row--reverse .facility-row__media { order: 2; }
.facility-row--reverse .facility-row__content { order: 1; }

.facility-row__img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.facility-row__placeholder {
    aspect-ratio: 16/10;
    background: var(--color-gray-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--color-gray-300);
}

.facility-row__title { font-size: clamp(1.625rem, 2.4vw, 2.125rem); font-weight: 800; margin-bottom: 16px; color: var(--color-primary); letter-spacing: -0.02em; line-height: 1.2; }
.facility-row__text { color: var(--color-gray-700); line-height: 1.8; margin-bottom: 16px; }
.facility-row__text p { margin-bottom: 12px; }

.facility-row__video video { width: 100%; border-radius: var(--radius-md); margin-top: 16px; }

.facility-row__children {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}
.facility-row__children li a {
    display: inline-block;
    padding: 6px 16px;
    background: var(--color-gray-100);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-gray-700);
    transition: all var(--transition);
}
.facility-row__children li a:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

/* Facility Detail — intro row matches archive (text / image) */
/* Multi-photo: keep column top-aligned to the main viewer (not vertically centered in a tall row). */
.facility-row__media--gallery {
    align-self: start;
}
.facility-intro-gallery {
    width: 100%;
    max-width: 100%;
}
/* Outer frame follows each image’s aspect ratio (not a fixed 1:1 box). Product single keeps .product-gallery__main aspect-ratio: 1. */
.facility-intro-gallery .product-gallery__main {
    aspect-ratio: auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.facility-intro-gallery .product-gallery__image {
    width: 100%;
    height: auto;
    max-height: none;
    display: block;
    cursor: zoom-in;
}

.facility-detail__intro {
    margin-bottom: 40px;
}
.facility-detail__page-title {
    font-size: clamp(1.75rem, 2.8vw, 2.375rem);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--color-primary);
    letter-spacing: -0.02em;
    line-height: 1.15;
}
.facility-detail__lead-text { margin-bottom: 0; }
.facility-detail__lead-text p:last-child { margin-bottom: 0; }

/* Production Capacity highlight (facility intro body) */
.facility-detail__lead-text .content-highlight--capacity,
.facility-row__text .content-highlight--capacity {
    margin-top: 28px;
    margin-bottom: 4px;
    padding: 22px 24px 18px;
    background: linear-gradient(145deg, var(--color-gray-50) 0%, rgba(212, 149, 42, 0.07) 100%);
    border: 1px solid var(--color-gray-200);
    border-left: 4px solid var(--color-accent);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.facility-detail__lead-text .content-highlight__title,
.facility-row__text .content-highlight__title {
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-gray-200);
    font-size: 0.9375rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-primary);
    line-height: 1.3;
}
.facility-detail__lead-text .content-highlight__list,
.facility-row__text .content-highlight__list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.facility-detail__lead-text .content-highlight__list li,
.facility-row__text .content-highlight__list li {
    position: relative;
    margin: 0;
    padding: 10px 0 10px 28px;
    border-bottom: 1px solid var(--color-gray-100);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-gray-800);
    line-height: 1.55;
}
.facility-detail__lead-text .content-highlight__list li:last-child,
.facility-row__text .content-highlight__list li:last-child {
    border-bottom: none;
    padding-bottom: 2px;
}
.facility-detail__lead-text .content-highlight__list li::before,
.facility-row__text .content-highlight__list li::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 1.2em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(212, 149, 42, 0.2);
}

.facility-detail__gallery { margin-top: 48px; }
.facility-detail__gallery h3 { font-size: 1.5rem; margin-bottom: 24px; }

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}
.image-grid__item {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
}
.image-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.image-grid__item:hover img { transform: scale(1.05); }

.facility-detail__video { margin-top: 48px; }
.facility-detail__video h3 { font-size: 1.5rem; margin-bottom: 24px; }
.facility-video { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

.facility-detail__children {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--color-gray-200);
}
.facility-detail__children-title {
    font-size: 1.375rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--color-primary);
    letter-spacing: -0.01em;
}

/* ═══════════════════════════════════════════════════════════════════════════
   NEWS / BLOG ARCHIVE
   ═══════════════════════════════════════════════════════════════════════════ */

.news-list { display: flex; flex-direction: column; gap: 24px; }

.news-list-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-200);
    transition: all var(--transition);
}
.news-list-card:hover { box-shadow: var(--shadow-md); }

.news-list-card__image {
    display: block;
    aspect-ratio: auto;
    overflow: hidden;
}
.news-list-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}
.news-list-card:hover .news-list-card__image img { transform: scale(1.05); }

.news-list-card__placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
    background: var(--color-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-gray-300);
}

.news-list-card__body { padding: 28px 32px; display: flex; flex-direction: column; justify-content: center; }
.news-list-card__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 0.8125rem; color: var(--color-gray-500); }
.news-list-card__cat {
    background: var(--color-accent);
    color: var(--color-white);
    padding: 2px 10px;
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
}
.news-list-card__title { font-size: 1.25rem; margin-bottom: 10px; }
.news-list-card__title a { color: var(--color-gray-900); }
.news-list-card__title a:hover { color: var(--color-accent); }
.news-list-card__excerpt { font-size: 0.9375rem; color: var(--color-gray-600); line-height: 1.6; margin-bottom: 16px; }

/* Article Detail */
.article__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 0.875rem;
    color: var(--color-gray-500);
}
.article__cat {
    background: var(--color-accent);
    color: var(--color-white);
    padding: 3px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.article__hero {
    margin-bottom: 32px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.article__hero-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.article__content {
    line-height: 1.9;
    color: var(--color-gray-700);
    font-size: 1.0625rem;
}
.article__content p { margin-bottom: 20px; }
.article__content h2 { margin-top: 40px; margin-bottom: 16px; }
.article__content h3 { margin-top: 32px; margin-bottom: 12px; }
.article__content img {
    border-radius: var(--radius-md);
    margin: 24px 0;
    box-shadow: var(--shadow-sm);
}
.article__content ul, .article__content ol { margin-bottom: 20px; padding-left: 24px; }
.article__content li { margin-bottom: 8px; }

.article__video { margin-top: 32px; }
.article__video video { width: 100%; border-radius: var(--radius-lg); }

.article__nav {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--color-gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.article__share {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    color: var(--color-gray-500);
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--color-gray-200);
}
.article__share-label { font-weight: 600; }
.article__share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-pill, 50px);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
}
.article__share-btn--linkedin {
    background: #0A66C2;
    color: var(--color-white);
}
.article__share-btn--linkedin:hover { background: #084e96; color: var(--color-white); }

/* Pagination */
.pagination { margin-top: 48px; }
.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}
.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-gray-600);
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    transition: all var(--transition);
}
.pagination .page-numbers:hover { border-color: var(--color-accent); color: var(--color-accent); }
.pagination .page-numbers.current {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.no-results {
    text-align: center;
    padding: 80px 0;
    color: var(--color-gray-400);
}
.no-results i { font-size: 3rem; margin-bottom: 16px; display: block; }

/* ═══════════════════════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

/* Extra space below hero so Contact Us / subtitle ≠ crowded against Get in Touch + form */
.contact-page__header {
    margin-bottom: 56px;
}

.section--contact .section-header__desc {
    margin-bottom: 0;
}

/* Intro */
.contact-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
    font-size: 1.0625rem;
    color: var(--color-gray-600);
    line-height: 1.8;
}

/* Office locations (2×2, no section title) */
.contact-locations {
    margin-bottom: 48px;
}

.contact-locations__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 720px) {
    .contact-locations__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

.location-card {
    background: var(--color-gray-50);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    padding: 24px 26px 22px;
    height: 100%;
}

.location-card__region {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-accent);
}

.location-card__address {
    margin: 0 0 16px;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--color-gray-700);
}

.location-card__contact {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.location-card__contact-row {
    display: grid;
    grid-template-columns: 3.25rem minmax(0, 1fr);
    gap: 8px 12px;
    align-items: start;
    font-size: 0.875rem;
    line-height: 1.5;
}

.location-card__contact-row dt {
    margin: 0;
    font-weight: 600;
    color: var(--color-gray-500);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    padding-top: 2px;
}

.location-card__contact-row dd {
    margin: 0;
    color: var(--color-gray-800);
    word-break: break-word;
}

.location-card__contact-row dd a {
    color: var(--color-gray-800);
    text-decoration: none;
}

.location-card__contact-row dd a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

/* Main Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    column-gap: 72px;
    align-items: start;
}

.contact-info__title { font-size: 1.75rem; margin-bottom: 16px; }
.contact-info__desc { color: var(--color-gray-600); margin-bottom: 24px; line-height: 1.7; }

.contact-info__offices {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-gray-200);
}
.contact-info__offices-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--color-gray-800);
}
.contact-info__office + .contact-info__office {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--color-gray-100);
}
.contact-info__office-name {
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-primary);
}

/* Highlights */
.contact-info__highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-highlight {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.contact-highlight__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}
.contact-highlight h4 { font-size: 0.875rem; font-weight: 700; margin-bottom: 2px; color: var(--color-gray-800); }
.contact-highlight p { font-size: 0.8125rem; color: var(--color-gray-500); }

.contact-info__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.contact-action-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-gray-200);
    background: var(--color-white);
    color: inherit;
    text-decoration: none;
    transition: all var(--transition);
}
.contact-action-link:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}
.contact-action-link--email:hover {
    border-color: var(--color-primary);
}
.contact-action-link--email:hover .contact-action-link__external {
    color: var(--color-primary);
}
.contact-action-link--linkedin:hover {
    border-color: #0a66c2;
}
.contact-action-link--linkedin:hover .contact-action-link__external {
    color: #0a66c2;
}
.contact-action-link__icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
}
.contact-action-link--email .contact-action-link__icon {
    background: var(--color-primary);
}
.contact-action-link--linkedin .contact-action-link__icon {
    background: #0a66c2;
}
.contact-action-link__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}
.contact-action-link__label {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-gray-800);
}
.contact-action-link__hint {
    font-size: 0.8125rem;
    color: var(--color-gray-500);
    word-break: break-word;
}
.contact-action-link__external {
    flex-shrink: 0;
    font-size: 0.75rem;
    color: var(--color-gray-400);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-gray-50);
    border-radius: var(--radius-lg);
    padding: 44px 40px 40px;
    border: 1px solid var(--color-gray-200);
}
.contact-form__title { font-size: 1.5rem; margin-bottom: 32px; margin-top: 0; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-gray-700);
}
.form-group label span { color: var(--color-error); }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--color-gray-800);
    transition: border-color var(--transition);
    background: var(--color-white);
}
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236c757d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(212, 149, 42, 0.15);
}
.form-group textarea { resize: vertical; }

.contact-form__note {
    margin-top: 12px;
    font-size: 0.75rem;
    color: var(--color-gray-500);
    text-align: center;
}
.contact-form__note i { margin-right: 4px; }

.contact-form__status {
    margin-top: 16px;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
}
.contact-form__status.success { color: var(--color-success); }
.contact-form__status.error { color: var(--color-error); }

/* Map */
.contact-map {
    margin-top: 64px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-gray-50);
    border: 1px solid var(--color-gray-200);
}
.contact-map__img { width: 100%; display: block; }

.contact-map__visual {
    padding: 48px 32px;
    text-align: center;
}
.contact-map__globe {
    font-size: 4rem;
    color: var(--color-primary);
    opacity: 0.2;
    margin-bottom: 24px;
}
.contact-map__pins {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.contact-map__pin-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--color-white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-gray-200);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-gray-700);
}
.contact-map__pin-label i { color: var(--color-accent); }
.contact-map__note { font-size: 0.75rem; color: var(--color-gray-400); max-width: 480px; margin: 0 auto; }

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */

.site-footer {
    background: #0b212d;
    color: #fff;
    font-size: 14px;
    padding: 0 0 30px 0;
}

.footer-top { background: var(--color-primary); padding: 60px 0 30px 0; border-top: 1px solid #17455e; border-bottom: 1px solid #123649; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-logo { margin-bottom: 16px; }
.footer-logo img,
.footer-logo-image {
    max-height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}
.footer-logo__text {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-accent-light);
    line-height: 1;
}

.footer-desc { font-size: 14px; line-height: 24px; margin-bottom: 20px; color: #fff; font-family: var(--font-heading); }

.footer-social { display: flex; gap: 4px; }
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all var(--transition);
    font-size: 18px;
    line-height: 1;
    border: none;
}
.footer-social a:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

.footer-col__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-accent-light);
    margin-bottom: 20px;
    padding: 2px 0;
    border-bottom: none;
    display: block;
}

.footer-links { list-style: none; }
.footer-links li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.footer-links li i {
    color: var(--color-accent-light);
    font-size: 0.75rem;
    margin-top: 5px;
    flex-shrink: 0;
}
.footer-links a {
    font-size: 14px;
    color: #fff;
    transition: all var(--transition);
}
.footer-links a:hover { color: var(--color-accent-light); padding-left: 0; }

.footer-contact { list-style: none; }
.footer-contact li.footer-contact__name { margin-top: 18px; }
.footer-contact li.footer-contact__name:first-child { margin-top: 0; }
.footer-contact li {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    color: #fff;
}
.footer-contact li i { color: var(--color-accent-light); margin-top: 4px; flex-shrink: 0; }
.footer-contact a { color: #fff; }
.footer-contact a:hover { color: var(--color-accent-light); }

.footer-bottom {
    padding: 20px 0;
    border-top: none;
}
.footer-bottom__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-bottom a:hover { color: var(--color-accent-light); }

/* ── Page Content ─────────────────────────────────────────────────────────── */
.page-content { line-height: 1.9; }
.page-content p { margin-bottom: 20px; }
.page-content h2 { margin-top: 40px; margin-bottom: 16px; }
.page-content h3 { margin-top: 32px; margin-bottom: 12px; }
.page-content img { border-radius: var(--radius-md); margin: 24px 0; }
.page-content ul, .page-content ol { margin-bottom: 20px; padding-left: 24px; }
.page-content li { margin-bottom: 8px; }

.category-intro {
    margin-bottom: 40px;
    padding: 24px 32px;
    background: var(--color-gray-50);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-accent);
    font-size: 1.0625rem;
    color: var(--color-gray-700);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1200px) {
    .btn--nav-cta {
        padding: 8px 16px;
        font-size: 0.75rem;
    }
}

@media (max-width: 1024px) {
    :root { --navbar-height: var(--navbar-height-compact); }

    .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-media-grid { grid-template-columns: 1fr; }

    .navbar__actions { display: none; }
    .navbar__hamburger { display: flex; }

    body.menu-open {
        overflow: hidden;
    }

    body.menu-open .navbar__actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: fixed;
        top: var(--navbar-height);
        left: 0;
        right: 0;
        max-height: calc(100vh - var(--navbar-height));
        overflow-y: auto;
        z-index: 9998;
        background: var(--color-primary-dark);
        padding: 12px 16px 24px;
        gap: 16px;
    }

    body.menu-open .navbar__menu {
        flex: 0 0 auto;
        justify-content: flex-start;
        width: 100%;
    }

    body.menu-open .navbar__list {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0;
    }

    body.menu-open .navbar__item {
        width: 100%;
    }

    body.menu-open .navbar__menu {
        border-right: none;
        padding-right: 0;
        margin-right: 0;
    }

    body.menu-open .navbar__link {
        width: 100%;
        height: auto;
        min-height: 44px;
        padding: 12px 14px;
        font-size: 0.9375rem;
        text-transform: none;
        letter-spacing: 0.02em;
        border-radius: var(--radius-sm);
    }

    body.menu-open .navbar__link::after {
        display: none;
    }

    body.menu-open .dropdown-menu__link {
        padding: 10px 14px;
        font-size: 0.875rem;
        color: rgba(255, 255, 255, 0.9);
        text-transform: none;
        letter-spacing: 0;
    }

    body.menu-open .dropdown-menu__link--column {
        font-size: 0.75rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--color-accent-light);
        padding: 12px 14px 6px;
    }

    body.menu-open .dropdown-menu,
    body.menu-open .mega-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        display: block;
        min-width: 0;
        margin: 0;
        padding: 4px 0 8px 8px;
        box-shadow: none;
        border-top: none;
        background: rgba(0, 0, 0, 0.12);
        border-radius: var(--radius-sm);
    }

    body.menu-open .dropdown-menu .dropdown-menu {
        top: auto;
        left: auto;
        padding-left: 12px;
        background: transparent;
    }

    body.menu-open .dropdown-menu__link:hover,
    body.menu-open .dropdown-menu__link--column:hover {
        color: var(--color-white);
        background: rgba(255, 255, 255, 0.08);
    }

    body.menu-open .navbar__item--products-mega > .dropdown-menu--products-mega {
        display: grid;
    }

    body.menu-open .navbar__item--products-mega > .dropdown-menu--products-mega > .dropdown__item {
        border-right: none;
        padding-right: 0;
    }

    body.menu-open .navbar__item--products-mega > .dropdown-menu--products-mega .dropdown-menu .dropdown-menu__link {
        border-left: none;
        padding-left: 14px;
    }

    body.menu-open .navbar__toolbar {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 12px;
    }

    body.menu-open .btn--nav-cta {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    body.menu-open .navbar__social {
        justify-content: center;
        padding-left: 0;
        border-left: none;
    }

    .navbar__tagline {
        font-size: 1.25rem;
    }

    .navbar__brand { max-width: none; }


    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-grid__image { order: -1; }

    .home-intro-split {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .home-intro-split__media { order: -1; }
    .home-intro-split__frame,
    .home-intro-split__img {
        min-height: 360px;
    }

    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .solutions-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }

    .facility-showcase { grid-template-columns: 1fr 1fr; }
    .facility-item--large { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16/9; }

    .product-hero { grid-template-columns: 1fr; gap: 32px; }
    .product-specs-card { position: static; }

    .facility-row { grid-template-columns: 1fr; }
    .facility-row--reverse .facility-row__media,
    .facility-row--reverse .facility-row__content { order: 0; }

    .news-list-card { grid-template-columns: 240px 1fr; }

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

    .about-content-grid { grid-template-columns: 1fr; }
    .about-feature-img { position: static; }
    .about-media-placeholder { position: static; }
    .about-factory-grid { grid-template-columns: repeat(2, 1fr); }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    :root { --navbar-height: 60px; --navbar-height-compact: 60px; }

    .navbar__brand { max-width: none; }
    .navbar__tagline {
        font-size: clamp(1.125rem, 4.2vw, 1.25rem);
        line-height: 1.25;
        white-space: nowrap;
    }

    .navbar__inner {
        gap: 12px;
    }

    .section { padding: 48px 0; }
    .section-header { margin-bottom: 32px; }
    .section-header__title { font-size: 1.75rem; }

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

    .products-grid { grid-template-columns: 1fr; }
    .products-grid--archive { grid-template-columns: 1fr 1fr; }
    .solutions-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }

    .news-list-card { grid-template-columns: 1fr; }
    .news-list-card__image { aspect-ratio: 16/9; }

    .section--our-history {
        padding-top: 12px;
    }
    .history-zigzag {
        max-width: 100%;
    }
    .history-zigzag__line {
        left: 20px;
        transform: none;
    }
    .history-zigzag__item,
    .history-zigzag__item--left,
    .history-zigzag__item--right {
        width: 100%;
        left: 0;
        padding-left: 42px;
        padding-right: 0;
    }
    .history-zigzag__dot,
    .history-zigzag__item--left .history-zigzag__dot,
    .history-zigzag__item--right .history-zigzag__dot {
        left: -6px;
        right: auto;
        width: 44px;
        height: 44px;
        font-size: 0.7rem;
    }

    .timeline__line { left: 24px; }
    .timeline__item { width: 100%; left: 0 !important; padding-left: 64px; padding-right: 0; text-align: left !important; }
    .timeline__item--left .timeline__dot,
    .timeline__item--right .timeline__dot {
        left: -4px !important;
        right: auto !important;
        width: 48px;
        height: 48px;
    }
    .timeline__year { font-size: 0.68rem; }
    .timeline__content { padding: 18px; }
    .timeline__title { font-size: 1rem; }
    .timeline__desc { font-size: 0.84rem; }

    .about-factory-grid { grid-template-columns: 1fr; }

    .form-row { grid-template-columns: 1fr; }

    .cta-box { padding: 40px 24px; }
    .cta-box__title { font-size: 1.5rem; }

    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom__inner { flex-direction: column; gap: 8px; text-align: center; }

    .product-specs-tabs {
        flex-wrap: wrap;
    }
    .product-content__title { font-size: 1.75rem; }
    .product-cta-box { padding: 40px 24px; }
    .product-cta-box__title { font-size: 1.5rem; }
    .product-cta-box__actions { flex-direction: column; }
    .product-cta-box__actions .btn { width: 100%; justify-content: center; }
    .product-contact-fixed {
        right: 16px;
        bottom: 16px;
        padding: 11px 16px;
    }

    .theme-picker {
        right: 16px;
        bottom: 16px;
    }

    .theme-picker__toggle span {
        display: none;
    }

    .theme-picker__panel {
        width: min(280px, calc(100vw - 32px));
    }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }


    .products-grid--archive { grid-template-columns: 1fr; }

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

/* ── Animations ───────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
    .product-card,
    .solution-card,
    .value-card,
    .news-card,
    .facility-item {
        opacity: 0;
        transform: translateY(24px);
        animation: fadeInUp 0.6s ease forwards;
    }

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

    .products-grid .product-card:nth-child(1) { animation-delay: 0.1s; }
    .products-grid .product-card:nth-child(2) { animation-delay: 0.2s; }
    .products-grid .product-card:nth-child(3) { animation-delay: 0.3s; }

    .solutions-grid .solution-card:nth-child(1) { animation-delay: 0.1s; }
    .solutions-grid .solution-card:nth-child(2) { animation-delay: 0.2s; }
    .solutions-grid .solution-card:nth-child(3) { animation-delay: 0.3s; }
    .solutions-grid .solution-card:nth-child(4) { animation-delay: 0.4s; }
    .solutions-grid .solution-card:nth-child(5) { animation-delay: 0.5s; }
    .solutions-grid .solution-card:nth-child(6) { animation-delay: 0.6s; }

    .news-grid .news-card:nth-child(1) { animation-delay: 0.1s; }
    .news-grid .news-card:nth-child(2) { animation-delay: 0.2s; }
    .news-grid .news-card:nth-child(3) { animation-delay: 0.3s; }
}

/* ── WordPress Defaults ───────────────────────────────────────────────────── */
.wp-block-image { margin: 24px 0; }
.wp-block-image img { border-radius: var(--radius-md); }
.alignwide { max-width: 1000px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100%; }

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* ==========================================================================
   Compact mode for product sample tables (OIP/RIP/SEC/HPO)
   Goal: show more data with less horizontal scrolling
   ========================================================================== */
.product-oip-sample-tables {
    --oip-sticky-w1: 3.9rem;
    --oip-sticky-w2: 3.7rem;
    --oip-hdr-row1: 1.55rem;
    --oip-hdr-row2: 1.55rem;
    --oip-caption-h: 2.35rem;
    gap: 6px;
}

.product-oip-sample-tables__scroll {
    border-radius: 6px;
    box-shadow: none;
}

.product-spec-table {
    font-size: 0.44rem;
    line-height: 1.0;
    letter-spacing: -0.01em;
    zoom: 0.82;
}

.product-spec-table th,
.product-spec-table td {
    padding: 0 1px;
    color: #000 !important;
    text-align: center !important;
    white-space: nowrap;
}

.product-spec-table__caption {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.25;
    padding: 8px 10px 6px;
    color: #000 !important;
    text-align: center;
}

/* Guaranteed visible title above each generated spec table */
.product-spec-table-title {
    margin: 0;
    padding: 8px 10px 6px;
    font-size: 1.15rem;
    line-height: 1.25;
    font-weight: 700;
    color: #000;
    text-align: center;
    background: #fff;
    border-bottom: 1px solid var(--color-gray-200);
}

/* Keep caption visible above sticky header rows */
.product-oip-sample-tables__scroll .product-spec-table__caption {
    display: none;
}

.product-oip-sample-tables__scroll .product-spec-table > tbody > tr:first-child > th {
    top: 0;
}

.product-oip-sample-tables__scroll .product-spec-table > tbody > tr:nth-child(2) > th {
    top: var(--oip-hdr-row1);
}

/* RIP tables: end at B.C. (hide columns after data-col 43). */
.product-spec-tables--rip .product-spec-table [data-col="44"],
.product-spec-tables--rip .product-spec-table [data-col="45"],
.product-spec-tables--rip .product-spec-table [data-col="46"],
.product-spec-tables--rip .product-spec-table [data-col="47"] {
    display: none;
}

@media (min-width: 1280px) {
    .product-spec-table {
        font-size: 0.4rem;
        zoom: 0.76;
    }

    .product-spec-table th,
    .product-spec-table td {
        padding: 0 1px;
    }
}
