/* ---------------------------------------------------------------------------
   Shanghai Hangbo Alloy Group - Stainless Steel Export Website
   Light metallic industrial style, responsive
   --------------------------------------------------------------------------- */

:root {
    --color-bg: #ffffff;
    --color-bg-elevated: #e8f2fc;
    --color-bg-card: #ffffff;
    --color-bg-light: #f0f7ff;
    --color-primary: #2c4a6e;
    --color-secondary: #3b6a9a;
    --color-accent: #4a90e2;
    --color-accent-hover: #3b7dd8;
    --color-metal: #64748b;
    --color-metal-light: #94a3b8;
    --color-steel: #94a3b8;
    --color-text: #1e293b;
    --color-text-muted: #64748b;
    --color-text-dark: #2c4a6e;
    --color-border: #d4e4f7;
    --color-border-strong: #b8d4f0;
    --font-heading: 'Oswald', 'Inter', 'Microsoft YaHei', sans-serif;
    --font-body: 'Inter', 'Microsoft YaHei', sans-serif;
    --font-mono: 'SFMono-Regular', Consolas, monospace;
    --shadow: 0 10px 30px rgba(44, 74, 110, 0.08);
    --shadow-sm: 0 4px 12px rgba(44, 74, 110, 0.06);
    --radius: 2px;
    --transition: 0.25s ease;
    --container: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin: 0 0 1rem;
    line-height: 1.2;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--color-text-dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p {
    margin: 0 0 1rem;
    color: var(--color-text-muted);
}

p:last-child {
    margin-bottom: 0;
}

ul, ol {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section {
    padding: 5rem 0;
}

.section-light {
    background-color: var(--color-bg-light);
    color: var(--color-text);
}

.section-light p {
    color: var(--color-text-muted);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    color: var(--color-text-dark);
    margin-bottom: 0.75rem;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.section-title .subtitle {
    display: inline-block;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid var(--color-accent);
    background: var(--color-accent);
    color: #fff;
    cursor: pointer;
    transition: all var(--transition);
    border-radius: var(--radius);
}

.btn:hover {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    color: #fff;
}

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

.btn-outline:hover {
    background: var(--color-accent);
    color: #fff;
}

.btn-light {
    background: #fff;
    border-color: #fff;
    color: var(--color-primary);
}

.btn-light:hover {
    background: var(--color-bg-elevated);
    border-color: var(--color-bg-elevated);
    color: var(--color-primary);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.header-top {
    background: var(--color-bg-elevated);
    border-bottom: 1px solid var(--color-border);
    font-size: 0.85rem;
    padding: 0.5rem 0;
}

.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contact {
    display: flex;
    gap: 1.5rem;
}

.header-contact a {
    color: var(--color-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.header-contact a:hover {
    color: var(--color-accent);
}

.header-contact .icon,
.footer-contact .icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
}

.top-cta {
    color: var(--color-accent);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
}

.header-main {
    padding: 0.75rem 0;
}

.header-main-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-contact {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text-dark);
}

.logo:hover {
    color: var(--color-text-dark);
}

.logo img {
    height: 58px;
    width: auto;
    display: block;
}

.header-contact-inline {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.85rem;
}

.header-contact-inline a {
    color: var(--color-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s ease;
}

.header-contact-inline a:hover {
    color: var(--color-accent);
}

.header-contact-inline .icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    color: var(--color-accent);
}

.logo-mark {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent) 0%, #2c6cb5 100%);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.2);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text strong {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    letter-spacing: 0.04em;
    color: var(--color-text-dark);
}

.logo-text small {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.logo-light .logo-text strong {
    color: var(--color-text-dark);
}

.site-footer .logo img,
.footer-brand .logo img {
    height: 52px;
    width: auto;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.main-nav > a,
.nav-dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem 1rem;
    color: var(--color-text-dark);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    position: relative;
}

.main-nav > a:hover,
.main-nav > a.active,
.nav-dropdown > a:hover,
.nav-dropdown > a.active {
    color: var(--color-accent);
}

.main-nav > a::after,
.nav-dropdown > a::after {
    content: '';
    position: absolute;
    bottom: 0.25rem;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.main-nav > a.active::after,
.main-nav > a:hover::after,
.nav-dropdown > a.active::after,
.nav-dropdown > a:hover::after {
    transform: scaleX(1);
}

.nav-dropdown {
    position: relative;
}

.caret {
    width: 14px;
    height: 14px;
    display: inline-flex;
    opacity: 0.7;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    z-index: 1001;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--color-text-dark);
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9rem;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: rgba(232, 89, 12, 0.06);
    color: var(--color-accent);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-dark);
    transition: all var(--transition);
}

/* Hero - full-bleed background image */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1.6s ease-in-out, transform 8s ease-out;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(22, 45, 75, 0.72) 0%, rgba(44, 74, 110, 0.42) 60%, rgba(44, 74, 110, 0.18) 100%);
    z-index: 2;
}

.hero-indicators {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 4;
}

.hero-indicators button {
    width: 48px;
    height: 4px;
    border: none;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: background 0.3s ease, width 0.3s ease;
}

.hero-indicators button.active {
    background: var(--color-accent);
    width: 64px;
}

.hero-content {
    position: relative;
    z-index: 2;
    /* Shrink the block to its actual content width and centre it, so the gap
       on the left and right of the headline is identical on every screen. */
    width: -moz-fit-content;
    width: fit-content;
    max-width: min(1320px, calc(100% - 5rem));
    margin-left: auto;
    margin-right: auto;
    padding: 7rem 0;
    text-align: center;
}

.hero-title {
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
    font-size: clamp(2.2rem, 3.6vw, 3.4rem);
    white-space: nowrap;
}

.hero-text {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: rgba(255,255,255,0.9);
    margin-bottom: 2.5rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.35);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-actions .btn-outline {
    border-color: rgba(255,255,255,0.8);
    color: #fff;
}

.hero-actions .btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
}

/* Stats bar */
.stats-bar {
    background: var(--color-bg-elevated);
    border-bottom: 1px solid var(--color-border);
    padding: 2.5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    color: var(--color-accent);
    font-size: 2.2rem;
    margin-bottom: 0.25rem;
    font-family: var(--font-mono);
}

.stat-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Cards */
.card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--color-border-strong);
}

.card-image {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #d4e4f7 0%, #b8d4f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
    overflow: hidden;
}

.card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, rgba(100,116,139,0.06) 0px, rgba(100,116,139,0.06) 1px, transparent 1px, transparent 8px);
}

.card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-body h3 {
    margin-bottom: 0.75rem;
    color: var(--color-text-dark);
}

.card-body p {
    flex: 1;
    font-size: 0.95rem;
}

.card-meta {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1rem;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Keep inline arrow icons at text size — without an explicit size the SVG
   stretches to the width of its flex container on wide cards. */
.card-link svg {
    width: 1em;
    height: 1em;
    flex: 0 0 auto;
}

/* Product category grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.category-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-accent);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.category-card:hover {
    border-color: var(--color-border-strong);
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    background: rgba(232, 89, 12, 0.08);
    border: 1px solid rgba(232, 89, 12, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.category-card h3 {
    margin-bottom: 0.5rem;
    color: var(--color-text-dark);
}

.category-card p {
    font-size: 0.9rem;
    margin: 0;
}

/* Company intro block (homepage: big photo + about + factory video) */
.company-intro-section {
    padding: 2.25rem 0 4.5rem;
    background: #fff;
}

.company-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
}

.company-intro-image {
    position: relative;
    /* Full-bleed left half, butted flush against the tinted copy panel. */
    width: 100%;
    height: clamp(620px, 52vw, 860px);
    border-radius: 0 28px 28px 0;
    overflow: hidden;
}

.company-intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.company-intro-image:hover img {
    transform: scale(1.04);
}

.intro-eyebrow {
    display: inline-block;
    color: var(--color-accent);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 0.9rem;
}

.company-intro-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f7f9fc;
    padding: clamp(2.5rem, 5vw, 5rem) clamp(2rem, 5vw, 5.5rem);
    /* Inset the tinted panel slightly so both image rounded corners show. */
    margin-top: 28px;
    margin-bottom: 28px;
}

.company-intro-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 2.7rem);
    line-height: 1.15;
    color: var(--color-text-dark);
    margin: 0 0 1.1rem;
}

.intro-lead {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-text-muted);
    margin: 0 0 1.6rem;
}

.intro-points {
    list-style: none;
    margin: 0 0 1.8rem;
    padding: 0;
}

.intro-points li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: 0.95rem;
}

.intro-points li strong {
    color: var(--color-text-dark);
}

.intro-check {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--color-accent);
    border-radius: 50%;
    margin-top: 2px;
}

.intro-experience {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1.8rem;
}

.exp-number {
    font-family: var(--font-heading);
    font-size: clamp(3.4rem, 5vw, 4.6rem);
    font-weight: 600;
    line-height: 1;
    color: var(--color-accent);
}

.exp-number span {
    font-size: 0.55em;
    vertical-align: super;
}

.exp-label {
    font-size: 1rem;
    color: var(--color-text-muted);
    font-weight: 600;
}

.video-cta {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: none;
    border-radius: 60px;
    background: linear-gradient(120deg, #0a4fb0, #1668d8 70%, #2178e4);
    color: #fff;
    cursor: pointer;
    text-align: left;
    box-shadow: 0 10px 26px rgba(10, 79, 176, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(10, 79, 176, 0.36);
}

.video-thumb {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.85);
    background: #0a3d8f;
}

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

.video-cta-text {
    flex: 1 1 auto;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.4;
}

.video-play {
    position: relative;
    flex: 0 0 auto;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #ffd21f;
    color: #0a4fb0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 8px rgba(255, 210, 31, 0.22);
    transition: transform 0.2s ease;
}

.video-play svg {
    margin-left: 3px;
    position: relative;
    z-index: 2;
}

.video-cta:hover .video-play {
    transform: scale(1.07);
}

/* Pulsing ripple rings around the play button (mirrors XTD factory-video CTA) */
.video-play .ripple,
.video-play .ripple::before,
.video-play .ripple::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 58px;
    height: 58px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(253, 167, 0, 0.55);
    animation: ctaRipple 3s ease-out infinite;
    pointer-events: none;
    z-index: 1;
}

.video-play .ripple::before {
    content: "";
    animation-delay: 0.9s;
}

.video-play .ripple::after {
    content: "";
    animation-delay: 0.6s;
}

@keyframes ctaRipple {
    0% {
        box-shadow: 0 0 0 0 rgba(253, 167, 0, 0.55);
    }
    70% {
        box-shadow: 0 0 0 46px rgba(253, 167, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(253, 167, 0, 0);
    }
}

/* Factory video modal */
.video-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(6, 20, 45, 0.85);
    backdrop-filter: blur(4px);
}

.video-modal-overlay.open {
    display: flex;
}

.video-modal {
    position: relative;
    width: min(1000px, 94vw);
    background: #000;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.video-modal video {
    display: block;
    width: 100%;
    max-height: 82vh;
}

.video-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.video-modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Product showcase (homepage left-sidebar + right grid) */
.product-range-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.product-range-title .title-line {
    display: block;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent));
}

.product-range-title .title-line.right {
    background: linear-gradient(90deg, var(--color-accent), transparent);
}

.product-range-title .title-content {
    text-align: center;
    max-width: 700px;
}

.product-range-title .subtitle {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.product-range-title h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.product-range-title p {
    color: var(--color-text-muted);
    margin: 0;
}

/* Product range: each row = centered 2-line label + left-scrolling image marquee */
.product-showcase {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    width: calc(100% + 4rem);
    max-width: none;
    margin: 1.5rem 0 0 -2rem;
}

.showcase-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.25rem;
    align-items: center;
}

.sidebar-link {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.25rem 0;
    color: var(--color-text-dark);
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.45;
    background: none;
    border: none;
    transition: color 0.2s ease;
    text-decoration: none;
}
.sidebar-link:hover { color: var(--color-accent); }

.product-showcase-scroller {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    overflow: hidden;
}

.marquee-row {
    width: 100%;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: marqueeLeft 38s linear infinite;
}
.marquee-track.marquee-reverse {
    animation-duration: 46s;
}

.marquee-row:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes marqueeLeft {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.showcase-card {
    flex: 0 0 auto;
    width: 300px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}
.showcase-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.showcase-image-wrap {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--color-bg-elevated);
}
.showcase-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.showcase-card:hover .showcase-image-wrap img { transform: scale(1.06); }

.showcase-caption {
    height: 2.9rem;
    padding: 0 0.5rem;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: background 0.2s ease;
}
.showcase-card:hover .showcase-caption { background: var(--color-accent); }
.showcase-caption span {
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Product grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Filter tabs */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.filter-tab {
    padding: 0.6rem 1.25rem;
    border: 1px solid var(--color-border);
    background: transparent;
    color: var(--color-text-dark);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all var(--transition);
    border-radius: var(--radius);
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}

.section-light .filter-tab {
    border-color: #b8d4f0;
    color: var(--color-text-dark);
}

.section-light .filter-tab:hover,
.section-light .filter-tab.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}

/* Grade table */
.grade-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: #fff;
    max-width: 960px;
    margin: 0 auto;
}

.grade-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 700px;
}

.grade-table th,
.grade-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.grade-table th {
    background: var(--color-bg-elevated);
    color: var(--color-text-dark);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
}

.grade-table tr:last-child td {
    border-bottom: none;
}

.grade-table tr:hover td {
    background: rgba(232, 89, 12, 0.04);
}

.grade-table td:first-child {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--color-text-dark);
}

/* Badge */
.badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: rgba(232, 89, 12, 0.1);
    color: var(--color-accent);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius);
}

/* Feature list */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list .icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--color-accent);
}

/* About page */
.about-showcase {
    position: relative;
    background: linear-gradient(125deg, #0a4fb0 0%, #1668d8 55%, #2178e4 100%);
    padding: 4.6rem 0;
    overflow: hidden;
}

.about-showcase .container {
    max-width: 1600px;
    margin-left: max(0px, calc((100vw - 1600px) / 2 - 40px));
    margin-right: auto;
}

.about-showcase::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.18) 1.4px, transparent 1.6px);
    background-size: 26px 26px;
    opacity: 0.45;
    pointer-events: none;
}

.about-showcase::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -8%;
    width: 46%;
    aspect-ratio: 1 / 1;
    transform: translateY(-50%);
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.about-hero-card {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(360px, 30vw, 470px);
    gap: 2rem;
    align-items: center;
}

.showcase-left {
    position: relative;
    z-index: 1;
}

.showcase-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.38);
    color: #eaf3ff;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 1.6rem;
}

.showcase-eyebrow .eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffd21e;
    box-shadow: 0 0 0 3px rgba(255, 210, 30, 0.25);
    flex-shrink: 0;
}

.showcase-title {
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.45rem, 2.15vw, 2.1rem);
    line-height: 1.18;
    letter-spacing: 0.005em;
    margin: 0 0 1.2rem;
}

.showcase-rule {
    display: block;
    width: 66px;
    height: 4px;
    border-radius: 2px;
    background: #ffd21e;
    margin-bottom: 1.4rem;
}

.showcase-desc {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.12rem;
    line-height: 1.75;
    max-width: 920px;
    margin: 0;
}

.showcase-right {
    position: relative;
    z-index: 1;
}

.orbit {
    position: relative;
    width: 100%;
    max-width: 410px;
    margin: 0 auto;
}

.orbit::before {
    content: '';
    display: block;
    padding-top: 100%;
}

.orbit-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1.5px dashed rgba(255, 255, 255, 0.40);
}

.ring-1 {
    width: 62%;
    height: 62%;
}

.ring-2 {
    width: 92%;
    height: 92%;
    border-style: dotted;
    border-color: rgba(255, 255, 255, 0.28);
}

.orbit-core {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 136px;
    height: 136px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 34% 28%, #ffe479 0%, #ffd21e 45%, #f0b400 100%);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.06), 0 14px 40px rgba(255, 190, 0, 0.45);
    z-index: 2;
}

.orbit-core svg {
    width: 46%;
    height: 46%;
}

.orbit-tag {
    position: absolute;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: #0b4fb3;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(6, 40, 90, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.7);
    z-index: 3;
}

.tag-since  { left: 0;    top: 20%; }
.tag-iso    { left: -6%;  top: 45%; }
.tag-cap    { left: 2%;   top: 70%; }
.tag-years  { right: 2%;  top: 13%; }
.tag-global { right: -4%; top: 40%; }
.tag-size   { right: 0;   top: 66%; }

@media (max-width: 860px) {
    .about-showcase {
        padding: 3.4rem 0;
    }

    .about-hero-card {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .showcase-right {
        margin-top: 0.5rem;
    }

    .orbit {
        max-width: 360px;
    }

    .orbit-core {
        width: 110px;
        height: 110px;
    }
}

@media (max-width: 560px) {
    .about-showcase {
        padding: 2.8rem 0;
    }

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

    .showcase-eyebrow {
        justify-content: center;
    }

    .showcase-rule {
        margin-left: auto;
        margin-right: auto;
    }

    .showcase-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .orbit {
        max-width: 300px;
    }

    .orbit-core {
        width: 92px;
        height: 92px;
    }

    .orbit-tag {
        font-size: 0.72rem;
        padding: 6px 12px;
    }

    .tag-iso { left: 0; }
    .tag-global { right: 0; }
}

.about-hero {
    background: linear-gradient(135deg, #3b6a9a 0%, #5fa8f3 100%);
    padding: 5rem 0;
    text-align: center;
}

.about-hero h1 {
    color: #fff;
}

.about-hero p {
    color: rgba(255,255,255,0.8);
    max-width: 640px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.about-image {
    background: linear-gradient(135deg, #d4e4f7 0%, #b8d4f0 100%);
    aspect-ratio: 16 / 9;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    box-shadow: 0 22px 50px rgba(11, 79, 179, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
}

.about-image img,
.about-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, rgba(100,116,139,0.06) 0px, rgba(100,116,139,0.06) 1px, transparent 1px, transparent 10px);
    pointer-events: none;
}

.about-image:has(video)::before {
    display: none;
}

/* About profile section: wider container + larger factory video */
.about-profile .container {
    max-width: 1600px;
}

.about-video-grid {
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.value-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 0;
    overflow: hidden;
    text-align: center;
    transition: all var(--transition);
}

.value-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--color-border-strong);
    transform: translateY(-4px);
}

.value-card-image {
    width: 100%;
    height: 230px;
    overflow: hidden;
    background: var(--color-bg-elevated);
}
.value-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.value-card:hover .value-card-image img { transform: scale(1.06); }

.value-card h4 {
    color: var(--color-primary);
    font-size: 1.15rem;
    margin: 0;
    padding: 1.1rem 1rem;
}

.value-card p {
    font-size: 0.9rem;
    margin: 0;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border-strong);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.65rem;
    top: 0.25rem;
    width: 14px;
    height: 14px;
    background: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(232, 89, 12, 0.15);
}

.timeline-item h4 {
    color: var(--color-text-dark);
    margin-bottom: 0.25rem;
}

.timeline-item p {
    margin: 0;
    font-size: 0.95rem;
}

/* Certificates grid */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.cert-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition);
}

.cert-card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-sm);
}

.cert-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.25rem;
    background: rgba(232, 89, 12, 0.08);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    border: 1px solid rgba(232, 89, 12, 0.18);
}

.cert-card h3 {
    margin-bottom: 0.5rem;
    color: var(--color-text-dark);
    font-size: 1.1rem;
}

.cert-card p {
    font-size: 0.9rem;
    margin: 0;
}

/* Equipment */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.equipment-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 1.5rem;
    transition: all var(--transition);
}

.equipment-card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-sm);
}

.equipment-card h4 {
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.equipment-card p {
    font-size: 0.9rem;
    margin: 0;
}

.equipment-photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}

.equipment-photo-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: all var(--transition);
}

.equipment-photo-card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-sm);
}

.equipment-photo {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f5f7f9;
}

.equipment-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.equipment-photo-card:hover .equipment-photo img {
    transform: scale(1.05);
}

.equipment-photo-card h4 {
    color: var(--color-text-dark);
    padding: 1rem 1rem 1.25rem;
    margin: 0;
    font-size: 1rem;
    text-align: center;
    line-height: 1.3;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.contact-info-card h3 {
    color: var(--color-text-dark);
    margin-bottom: 1.25rem;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
}

.contact-info-list li:last-child {
    border-bottom: none;
}

.contact-info-list .icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--color-accent);
    margin-top: 0.15rem;
}

.contact-info-list a {
    color: var(--color-text);
}

.contact-info-list a:hover {
    color: var(--color-accent);
}

.form-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-dark);
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: var(--radius);
    transition: border-color var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

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

/* News */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.news-date {
    color: var(--color-accent);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

/* News page (reference style) */
.news-hero {
    background: linear-gradient(135deg, #1a6fc4 0%, #0d4a8c 100%);
    color: #fff;
    padding: 3.5rem 0 0;
    text-align: center;
}

.news-hero h1 {
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    color: #fff;
    margin: 0;
    padding-bottom: 1.5rem;
}

.news-hero-line {
    height: 6px;
    background: linear-gradient(90deg, #f4c430 0%, #f4c430 60%, rgba(244, 196, 48, 0.3) 100%);
    max-width: 900px;
    margin: 0 auto;
}

.news-section {
    background: #eef2f6;
    padding: 3rem 0;
}

.news-count-bar {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-border);
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.news-card {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 0;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: box-shadow var(--transition);
}

.news-card:hover {
    box-shadow: var(--shadow);
}

.news-thumbnail {
    display: block;
    overflow: hidden;
    background: #1a4a7a;
    height: 128px;
}

.news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-thumbnail img {
    transform: scale(1.04);
}

.news-content {
    padding: 0.95rem 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-content h2 {
    font-size: 1.05rem;
    color: var(--color-text-dark);
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.news-content .news-date {
    color: var(--color-text-muted);
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 0.4rem;
}

.news-content p {
    color: var(--color-text-muted);
    line-height: 1.5;
    font-size: 0.9rem;
    margin-bottom: 0.7rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-readmore {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 0.4rem 1.1rem;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.news-readmore:hover {
    background: var(--color-accent);
    color: #fff;
}

/* Breadcrumb */
.breadcrumb {
    background: var(--color-bg-elevated);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.breadcrumb a {
    color: var(--color-text-muted);
}

.breadcrumb a:hover {
    color: var(--color-accent);
}

.breadcrumb span {
    margin: 0 0.5rem;
}

/* Detail page */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.detail-image {
    background: linear-gradient(135deg, #d4e4f7 0%, #b8d4f0 100%);
    aspect-ratio: 4 / 3;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    overflow: hidden;
}
.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.detail-meta-item {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    padding: 1rem;
}

.detail-meta-item dt {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}

.detail-meta-item dd {
    margin: 0;
    font-family: var(--font-mono);
    color: var(--color-text-dark);
    font-weight: 600;
}

.specs-block {
    background: var(--color-bg-light);
    border-left: 3px solid var(--color-accent);
    padding: 1.25rem;
    margin: 1.5rem 0;
}

.specs-block h4 {
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
}

.specs-block p {
    margin: 0;
    font-family: var(--font-mono);
    color: var(--color-text-muted);
}

/* Footer */
.site-footer {
    background: #3b6a9a;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-cta {
    background: var(--color-accent);
    padding: 3.5rem 0;
}

.footer-cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-cta h2 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.footer-cta p {
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-size: 1.05rem;
}

.footer-main {
    padding: 4rem 0;
}

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

.footer-brand p {
    margin: 1.25rem 0;
    max-width: 320px;
    color: rgba(255,255,255,0.65);
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    transition: all var(--transition);
}

.social-links a:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}

.social-links svg {
    width: 18px;
    height: 18px;
}

.footer-links h4,
.footer-contact h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-accent);
    display: inline-block;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.75rem;
}

.footer-links a,
.footer-contact a {
    color: rgba(255,255,255,0.65);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--color-accent);
}

.footer-contact .icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    margin-right: 0.5rem;
    vertical-align: middle;
    color: var(--color-accent);
}

.footer-bottom {
    background: #2c4a6e;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 1.25rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.footer-note {
    margin-top: 0.25rem;
}

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    margin: 1rem 0;
    border-left: 4px solid;
    border-radius: var(--radius);
}

.alert-success { background: rgba(34, 197, 94, 0.12); border-color: #22c55e; color: #15803d; }
.alert-warning { background: rgba(234, 179, 8, 0.12); border-color: #eab308; color: #a16207; }
.alert-danger { background: rgba(239, 68, 68, 0.12); border-color: #ef4444; color: #b91c1c; }

/* Flash messages */
.flash-messages {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    width: 90%;
    max-width: 600px;
}

/* Utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.divider {
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    margin: 1rem 0;
}

/* 404 */
.not-found {
    text-align: center;
    padding: 8rem 0;
}

.not-found h1 {
    font-size: 6rem;
    color: var(--color-accent);
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-grid,
    .news-grid,
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .equipment-grid,
    .equipment-photo-grid,
    .value-cards,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .logo-contact {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .logo img {
        height: 48px;
    }

    .header-contact-inline {
        font-size: 0.75rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        gap: 0;
        transform: translateX(100%);
        transition: transform var(--transition);
        overflow-y: auto;
        border-top: 1px solid var(--color-border);
    }

    .main-nav.open {
        transform: translateX(0);
    }

    .main-nav > a,
    .nav-dropdown > a {
        padding: 1rem;
        border-bottom: 1px solid var(--color-border);
        color: var(--color-text-dark);
    }

    .main-nav > a::after,
    .nav-dropdown > a::after {
        display: none;
    }

    .nav-dropdown {
        display: block;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--color-bg-light);
        display: none;
    }

    .nav-dropdown.open .dropdown-menu {
        display: block;
    }

    .hero-content {
        padding: 4rem 1.25rem;
    }

    .hero-title {
        white-space: normal;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .category-grid,
    .product-showcase,
    .product-grid,
    .news-grid,
    .news-card,
    .cert-grid,
    .equipment-grid,
    .equipment-photo-grid,
    .value-cards,
    .stats-grid,
    .about-grid,
    .contact-grid,
    .detail-layout,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .news-thumbnail {
        min-height: 220px;
    }

    .company-intro-grid {
        grid-template-columns: 1fr;
        gap: 2.2rem;
    }

    .company-intro-image {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        margin-left: 0;
        border-radius: 0;
    }

    .company-intro-content {
        padding: 2.5rem 1.5rem;
        margin-top: 0;
        margin-bottom: 0;
    }

    .video-cta-text {
        font-size: 0.9rem;
    }

    .video-thumb {
        width: 52px;
        height: 52px;
    }

    .video-play {
        width: 48px;
        height: 48px;
        box-shadow: 0 0 0 6px rgba(255, 210, 31, 0.22);
    }

    .video-play svg {
        width: 22px;
        height: 22px;
    }

    .product-range-title .title-line {
        display: none;
    }

    .sidebar-header {
        padding: 1rem;
    }

    .sidebar-link {
        padding: 0.85rem 1rem;
    }

    .sidebar-contact {
        padding: 1rem;
    }

    .footer-cta-inner {
        flex-direction: column;
        text-align: center;
    }

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

    .section {
        padding: 3.5rem 0;
    }
}

/* Print */
@media print {
    .site-header,
    .site-footer,
    .hero-indicators,
    .mobile-menu-toggle {
        display: none;
    }
}

/* ===========================================================================
   Content enrichment styles (added — do not touch existing classes above)
   =========================================================================== */

/* ---- Scroll reveal (dynamic entrance) ---- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}
.reveal.in {
    opacity: 1;
    transform: translateY(0);
}
/* stagger children inside a revealed group */
.reveal-group .reveal:nth-child(1) { transition-delay: 0.00s; }
.reveal-group .reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal-group .reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal-group .reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal-group .reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal-group .reveal:nth-child(6) { transition-delay: 0.40s; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- FAQ accordion ---- */
.faq-list {
    max-width: 860px;
    margin: 0 auto;
    border-top: 1px solid var(--color-border);
}
.faq-item {
    border-bottom: 1px solid var(--color-border);
}
.faq-q {
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 1.25rem 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--color-text-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.faq-q:hover { color: var(--color-accent); }
.faq-q .faq-icon {
    flex: 0 0 auto;
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 1px solid var(--color-border-strong);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.1rem; line-height: 1;
    transition: transform var(--transition), background var(--transition), color var(--transition);
    color: var(--color-accent);
}
.faq-item.open .faq-q .faq-icon { transform: rotate(45deg); background: var(--color-accent); color: #fff; }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 0.5rem;
    color: var(--color-text-muted);
}
.faq-item.open .faq-a {
    max-height: 320px;
    padding-bottom: 1.25rem;
}

/* ---- Global reach / partners network ---- */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}
.partner-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--color-border-strong);
}
.partner-card .partner-flag {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.partner-card h4 {
    margin: 0 0 0.35rem;
    color: var(--color-text-dark);
}
.partner-card p { font-size: 0.9rem; margin: 0; }

.cert-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}
.cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-border-strong);
    border-radius: 999px;
    background: var(--color-bg-card);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-dark);
    letter-spacing: 0.02em;
}
.cert-badge .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--color-accent);
}

/* ---- Product card real images ---- */
.product-grid .card-image {
    padding: 0;
}
.product-grid .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-grid .card:hover .card-image img {
    transform: scale(1.06);
}

/* ---- Detail spec table ---- */
.detail-spec {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}
.detail-spec th,
.detail-spec td {
    text-align: left;
    padding: 0.7rem 0.9rem;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.92rem;
}
.detail-spec th {
    width: 42%;
    color: var(--color-text-muted);
    font-weight: 600;
    background: var(--color-bg-light);
}
.detail-spec tr:last-child th,
.detail-spec tr:last-child td { border-bottom: 0; }

/* supply forms row on grade detail */
.form-row-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0.5rem 0 0;
}
.form-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius);
    background: var(--color-bg-light);
    font-size: 0.88rem;
    color: var(--color-text-dark);
}

/* ---- Minor section CTA (lightweight) ---- */
.section-cta {
    margin-top: 1.25rem;
}

/* ---- Footer richer layout ---- */
.footer-cols {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 2rem;
}
.footer-nav h4,
.footer-connect h4 {
    color: #fff;
    margin: 0 0 1rem;
    font-size: 1rem;
}
.footer-nav ul {
    list-style: none;
    padding: 0; margin: 0;
}
.footer-nav li { margin-bottom: 0.5rem; }
.footer-nav a {
    color: rgba(255,255,255,0.75);
    font-size: 0.92rem;
}
.footer-nav a:hover { color: #fff; }
.footer-contact-list {
    list-style: none;
    padding: 0; margin: 0;
}
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: rgba(255,255,255,0.75);
    font-size: 0.92rem;
    margin-bottom: 0.6rem;
}
.footer-contact-list .icon {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--color-accent);
}
.footer-contact-list a { color: rgba(255,255,255,0.75); }
.footer-contact-list a:hover { color: #fff; }
.footer-contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
}
.footer-contact-row a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}
.footer-social a {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.25);
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff;
}
.footer-social a:hover { background: var(--color-accent); border-color: var(--color-accent); }
.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.12);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}
@media (max-width: 768px) {
    .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .footer-cols { grid-template-columns: 1fr; }
}

/* ---- 404 ---- */
.error-page {
    text-align: center;
    padding: 5rem 1rem;
}
.error-page .error-code {
    font-family: var(--font-heading);
    font-size: 6rem;
    line-height: 1;
    color: var(--color-accent);
    margin: 0;
}
.error-page h1 { margin: 0.5rem 0 1rem; color: var(--color-text-dark); }
.error-page p { color: var(--color-text-muted); margin-bottom: 2rem; }

/* ---- Article company signature ---- */
.article-signature {
    margin-top: 2.5rem;
}
.article-signature hr {
    border: 0;
    border-top: 1px solid var(--color-border);
    margin-bottom: 1.25rem;
}
.article-signature p {
    background: var(--color-bg-light);
    border-left: 3px solid var(--color-accent);
    padding: 1.1rem 1.25rem;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}
.article-signature strong { color: var(--color-text-dark); }


/* ---- Article body tables ---- */
.article-content table.article-table,
.news-detail table.article-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.92rem;
    background: var(--color-bg-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.article-table thead th {
    background: var(--color-primary, #1f3a5f);
    color: #fff;
    text-align: left;
    font-weight: 600;
    padding: 0.7rem 0.9rem;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}
.article-table tbody td {
    padding: 0.65rem 0.9rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-text);
    vertical-align: top;
}
.article-table tbody tr:nth-child(even) { background: rgba(0,0,0,0.02); }
.article-table tbody tr:hover { background: rgba(31,58,95,0.06); }

/* ---- News detail layout: wider main article column ---- */
.news-detail .about-grid {
    grid-template-columns: 2fr 1fr;
    align-items: start;
    gap: 3rem;
}
.news-detail .article-content {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.8;
}
.news-detail .article-content p,
.news-detail .article-content ul,
.news-detail .article-content ol {
    max-width: 100%;
}
.news-detail .article-content h2 {
    margin-top: 2rem;
}

/* ---- Quality section certificate image: larger and more prominent ---- */
.about-grid.quality-grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
    gap: 3rem;
}
.about-certificates {
    aspect-ratio: auto;
    min-height: 420px;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(31, 58, 95, 0.12);
}
.about-certificates img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}
@media (max-width: 900px) {
    .about-grid.quality-grid {
        grid-template-columns: 1fr;
    }
    .about-certificates {
        min-height: 320px;
        order: -1;
    }
}

/* ---- Certificate card with real thumbnail images (small icon-size frame) ---- */
.cert-thumb {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    background: var(--color-bg-light);
}
.cert-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.cert-card:hover .cert-thumb img {
    transform: scale(1.08);
}

/* ---- Home: Applications split layout (XTD-style) ---- */
.applications-split-section {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    min-height: 640px;
    height: 80vh;
    max-height: 820px;
    overflow: hidden;
    isolation: isolate;
    background: #0f2c52;
}
.apps-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: opacity 0.4s ease;
}
.apps-bg-tint {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15,30,55,0.72) 0%, rgba(15,30,55,0.45) 38%, rgba(15,30,55,0.18) 60%, rgba(15,30,55,0.05) 100%);
    z-index: 1;
}
.apps-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}
.apps-overlay {
    position: absolute;
    top: 50%;
    left: clamp(2rem, 6vw, 6rem);
    transform: translateY(-50%);
    max-width: 560px;
    color: #fff;
}
.apps-overlay .subtitle {
    color: #ffc92b;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 0.6rem;
}
.apps-overlay h2 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0 0 1.1rem;
    line-height: 1.15;
}
.apps-overlay p {
    color: rgba(255,255,255,0.92);
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 1.6rem;
}
.btn-warning {
    background: #ffc92b;
    color: #1e293b;
    border: none;
    padding: 0.9rem 1.9rem;
    font-weight: 700;
    border-radius: 4px;
    display: inline-block;
    pointer-events: auto;
    transition: background 0.2s ease;
}
.btn-warning:hover {
    background: #ffb43d;
    color: #1e293b;
}
.apps-tabs {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 22%;
    min-width: 280px;
    z-index: 3;
    display: flex;
    flex-direction: column;
}
.apps-tab {
    position: relative;
    flex: 1 1 0;
    border: none;
    border-top: 1px solid rgba(255,255,255,0.18);
    background: rgba(30,108,166,0.65);
    color: #fff;
    text-align: left;
    padding: 0 1.6rem;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background 0.3s ease, padding-left 0.3s ease, color 0.3s ease;
}
.apps-tab:first-child { border-top: none; }
.apps-tab .apps-tab-label {
    position: relative;
    z-index: 1;
}
.apps-tab:hover {
    background: rgba(30,108,166,0.88);
    padding-left: 2.2rem;
}
.apps-tab.is-active {
    background: rgba(30,108,166,0.95);
    padding-left: 2.2rem;
}
.apps-tab.is-active::after {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: #ffc92b;
}

@media (max-width: 900px) {
    .applications-split-section {
        height: auto;
        min-height: 0;
    }
    .apps-tabs {
        position: static;
        width: 100%;
        min-width: 0;
        flex-direction: row;
    }
    .apps-tab {
        flex: 1 1 0;
        border-top: none;
        border-left: 1px solid rgba(255,255,255,0.18);
        padding: 1rem 0.6rem;
        font-size: 0.85rem;
        text-align: center;
        justify-content: center;
    }
    .apps-tab:first-child { border-left: none; }
    .apps-tab:hover, .apps-tab.is-active { padding-left: 0.6rem; }
    .apps-overlay {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        padding: 2.5rem 1.5rem;
    }
}

/* ---- Home: Featured products zigzag layout ---- */
.feature-zigzag {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 3rem;
}
.zigzag-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.zigzag-row:nth-child(even) .zigzag-image { order: 2; }
.zigzag-row:nth-child(even) .zigzag-text { order: 1; }
.zigzag-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(44,74,110,0.12);
    aspect-ratio: 4 / 3;
}
.zigzag-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.zigzag-row:hover .zigzag-image img {
    transform: scale(1.03);
}
.zigzag-text .subtitle {
    color: var(--color-accent);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.zigzag-text h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--color-text-dark);
    margin: 0.75rem 0 1rem;
}
.zigzag-text p {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

@media (max-width: 900px) {
    .zigzag-row,
    .zigzag-row:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .zigzag-row:nth-child(even) .zigzag-image,
    .zigzag-row:nth-child(even) .zigzag-text { order: 0; }
    .zigzag-image { aspect-ratio: 16 / 10; }
}

/* ---- Global network world map ---- */
.global-map-section {
    background: var(--color-bg);
}
.global-map-wrap {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(44,74,110,0.08);
    padding: 1.5rem;
    border: 1px solid var(--color-border);
}
.global-map {
    width: 100%;
    height: 520px;
}
.global-map-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}
.map-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}
.map-legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    display: inline-block;
}
.map-legend-dot.served { background: var(--color-accent); }
.map-legend-dot.base { background: #e2eaf5; }
.map-fallback {
    text-align: center;
    color: var(--color-text-muted);
    padding: 4rem 1rem;
}
@media (max-width: 900px) {
    .global-map { height: 360px; }
    .global-map-legend { flex-direction: column; gap: 0.75rem; align-items: center; }
}


/* ==========================================================================
   Product card 3D tilt + Quick View modal (Products page)
   ========================================================================== */

/* Product cards: subtle lift on hover (no 3D tilt distortion) */
.product-grid .card[data-tilt] {
    transition: opacity 0.6s ease, transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
}

.product-grid .card[data-tilt]:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(30, 108, 166, 0.18);
}

/* Quick View button overlay */
.product-grid .card-image {
    position: relative;
    overflow: hidden;
}

.quick-view-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: rgba(30, 108, 166, 0.92);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.6rem 1.3rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
    z-index: 3;
}

.product-grid .card:hover .quick-view-btn {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.quick-view-btn:hover {
    background: var(--color-primary);
}

/* Modal */
.product-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 30, 45, 0.55);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.product-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.product-modal {
    background: #fff;
    border-radius: 16px;
    max-width: 780px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
    transform: translateY(20px) scale(0.98);
    transition: transform 0.3s ease;
}

.product-modal-overlay.open .product-modal {
    transform: translateY(0) scale(1);
}

.product-modal-image {
    background: #f1f5f9;
}

.product-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 340px;
    display: block;
}

.product-modal-body {
    padding: 2rem 2rem 2.2rem;
    position: relative;
}

.product-modal-body h3 {
    margin: 0.5rem 0 0.75rem;
    font-size: 1.25rem;
    color: var(--color-text-dark);
}

.product-modal-body p {
    color: var(--color-text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0 0 1rem;
}

.product-modal-specs {
    font-size: 0.86rem;
    color: var(--color-text-muted);
    white-space: pre-line;
    line-height: 1.55;
    margin-bottom: 1.5rem;
}

.product-modal-close {
    position: absolute;
    top: 0.7rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    z-index: 2;
}

.product-modal-close:hover {
    color: var(--color-primary);
}

@media (max-width: 640px) {
    .product-modal {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
    .product-modal-image img {
        min-height: 200px;
        max-height: 240px;
    }
}

/* Floating quick-contact dock (phone / email / wechat) */
.quick-dock {
    position: fixed;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}
.quick-dock-btn {
    position: relative;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    border: none;
    border-radius: 14px;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(20, 45, 80, 0.28);
    transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}
.quick-dock-btn:nth-child(2) { background: var(--color-accent); }
.quick-dock-btn:hover {
    transform: translateX(-4px);
    background: var(--color-accent-hover);
    box-shadow: 0 8px 22px rgba(20, 45, 80, 0.38);
}
.quick-dock-btn:focus-visible { outline: 3px solid rgba(74, 144, 226, 0.5); outline-offset: 2px; }
.quick-dock-ico { display: inline-flex; width: 22px; height: 22px; }
.quick-dock-ico svg { width: 100%; height: 100%; fill: currentColor; }
.quick-dock-tip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    white-space: nowrap;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    box-shadow: 0 4px 12px rgba(20, 45, 80, 0.25);
}
.quick-dock-tip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: var(--color-primary);
}
.quick-dock-btn:hover .quick-dock-tip,
.quick-dock-btn:focus-visible .quick-dock-tip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}
.quick-dock-wechat {
    position: absolute;
    right: calc(100% + 12px);
    bottom: 0;
    width: 210px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 16px 18px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(20, 45, 80, 0.18);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.quick-dock-wechat:not([hidden]) { animation: dockPop 0.2s ease; }
.quick-dock-wechat-label {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}
.quick-dock-wechat-id {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary);
    word-break: break-all;
}
.quick-dock-wechat-hint { font-size: 0.75rem; color: var(--color-text-muted); }
@keyframes dockPop {
    from { opacity: 0; transform: translateX(8px) scale(0.96); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}
@media (max-width: 768px) {
    .quick-dock { right: 10px; gap: 8px; }
    .quick-dock-btn { width: 42px; height: 42px; border-radius: 12px; }
    .quick-dock-ico { width: 19px; height: 19px; }
}

/* Ensure the hidden attribute actually hides the WeChat panel
   (author display:flex would otherwise override the UA [hidden] rule). */
.quick-dock-wechat[hidden] { display: none; }

/* Article hero image */
.article-hero-image {
    margin: 0 0 1.5rem;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--color-bg-elevated);
}
.article-hero-image img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}
