/* ================================================================
   DIANHUOLI FIRE — Fire Protection Manufacturing
   Professional B2B Industrial Website Stylesheet

   Design: Modern industrial technology, clean & professional
   Target: International distributors, contractors, project buyers

   HOW TO CUSTOMIZE:
   — All brand colors are in :root variables below
   — --brand-red: primary accent (fire safety red)
   — --brand-navy: dark headers/footers
   — --brand-blue: secondary accent (technology)
   — Section spacing: adjust --section-padding
   ================================================================ */

/* ==================== ROOT VARIABLES ==================== */
:root {
    /* Brand Colors */
    --brand-red: #dc2626;
    --brand-red-dark: #b91c1c;
    --brand-red-light: #fee2e2;
    --brand-navy: #0a1929;
    --brand-navy-2: #112744;
    --brand-blue: #2563eb;
    --brand-blue-light: #dbeafe;

    /* Neutral Palette */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Space Grotesk', -apple-system, sans-serif;

    /* Layout */
    --container-max: 1280px;
    --section-padding: 96px 0;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== RESET ==================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--gray-900);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p { color: var(--gray-600); }

/* ==================== LAYOUT UTILITIES ==================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
}

.section { padding: var(--section-padding); }
.section-sm { padding: 64px 0; }

.bg-navy { background: var(--brand-navy); }
.bg-gray { background: var(--gray-50); }
.bg-white { background: var(--white); }

/* Section Header */
.section-header {
    max-width: 720px;
    margin-bottom: 56px;
}

.section-header.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-red);
    margin-bottom: 16px;
}

.eyebrow::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--brand-red);
}

.section-header.center .eyebrow { justify-content: center; }

.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.05rem; color: var(--gray-500); }

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--brand-red);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--brand-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.3);
}

.btn-secondary {
    background: var(--brand-navy);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--brand-navy-2);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--brand-navy);
    border-color: var(--gray-300);
}

.btn-outline:hover {
    border-color: var(--brand-red);
    color: var(--brand-red);
}

.btn-ghost-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-ghost-light:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }

/* ==================== NAVIGATION ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 19px;
    color: var(--brand-navy);
    letter-spacing: -0.02em;
}

.logo-mark {
    width: 36px;
    height: 36px;
    background: var(--brand-red);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    flex-shrink: 0;
}

.logo-sub {
    font-size: 11px;
    font-weight: 500;
    color: var(--gray-400);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: block;
    line-height: 1.2;
    margin-top: 1px;
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-menu > li > a {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--brand-navy);
    background: var(--gray-100);
}

.nav-menu .nav-cta {
    background: var(--brand-red);
    color: var(--white) !important;
    padding: 10px 20px;
    margin-left: 8px;
}

.nav-menu .nav-cta:hover {
    background: var(--brand-red-dark);
    background: var(--brand-red-dark) !important;
}

/* Dropdown */
.has-dropdown { position: relative; }

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
}

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

.dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--gray-600);
    transition: var(--transition);
}

.dropdown a:hover {
    background: var(--gray-50);
    color: var(--brand-red);
}

.dropdown-icon {
    width: 32px;
    height: 32px;
    background: var(--gray-100);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--brand-navy);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ==================== HERO ==================== */
.hero {
    background: var(--brand-navy);
    color: var(--white);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000, transparent);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000, transparent);
}

.hero-glow {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 28px;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2.2rem, 5.5vw, 3.6rem);
    line-height: 1.12;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero h1 .accent { color: var(--brand-red); }

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 36px;
}

.hero-stat {
    flex: 1;
    padding-right: 32px;
}

.hero-stat:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    margin-right: 32px;
}

.hero-stat-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.hero-stat-num .unit { color: var(--brand-red); }

.hero-stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
    letter-spacing: 0.02em;
}

/* ==================== TRUST BAR ==================== */
.trust-bar {
    padding: 40px 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.trust-label {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 24px;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 56px;
    flex-wrap: wrap;
}

.trust-logo {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-300);
    transition: var(--transition);
    letter-spacing: 0.02em;
}

.trust-logo:hover { color: var(--brand-navy); }

/* ==================== CAPABILITY CARDS ==================== */
.capability-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.capability-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
    position: relative;
}

.capability-card:hover {
    border-color: var(--brand-red);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
}

.capability-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--brand-red);
    border-radius: var(--radius) var(--radius) 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.capability-icon {
    width: 56px;
    height: 56px;
    background: var(--brand-red-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
}

.capability-card h3 {
    margin-bottom: 10px;
}

.capability-card p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.65;
}

/* ==================== FEATURED PRODUCTS ==================== */
.products-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    border-color: var(--gray-300);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.product-image {
    height: 200px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

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

.product-image .placeholder {
    font-size: 14px;
    color: var(--gray-400);
    letter-spacing: 0.05em;
}

.product-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--white);
    background: var(--brand-red);
    padding: 4px 10px;
    border-radius: 4px;
}

.product-body {
    padding: 20px;
}

.product-body h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.product-body p {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 14px;
    line-height: 1.55;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--gray-400);
    padding-top: 14px;
    border-top: 1px solid var(--gray-100);
}

.product-meta .cert {
    display: flex;
    gap: 6px;
}

.product-meta .cert span {
    background: var(--gray-100);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    color: var(--gray-600);
}

/* ==================== SPLIT SECTION (Image + Text) ==================== */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.split-image {
    height: 440px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

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

.split-image .placeholder {
    color: var(--gray-400);
    font-size: 15px;
}

.split-image-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 16px 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.split-image-badge .num {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--brand-red);
    line-height: 1;
}

.split-image-badge .label {
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 4px;
}

.split-content h2 { margin-bottom: 20px; }

.split-content p {
    margin-bottom: 16px;
    color: var(--gray-600);
}

.split-content .eyebrow { margin-bottom: 16px; }

.feature-list {
    margin-top: 24px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--gray-700);
    font-size: 15px;
}

.feature-check {
    width: 22px;
    height: 22px;
    background: var(--brand-red-light);
    color: var(--brand-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ==================== STATS BANNER ==================== */
.stats-banner {
    background: var(--brand-navy);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 48px 48px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 0 16px;
}

.stat-item:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-num .unit { color: var(--brand-red); }

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 12px;
}

/* ==================== PROCESS TIMELINE ==================== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-red), var(--gray-200));
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.process-step-num {
    width: 64px;
    height: 64px;
    background: var(--white);
    border: 2px solid var(--brand-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--brand-red);
    margin: 0 auto 20px;
    transition: var(--transition);
}

.process-step:hover .process-step-num {
    background: var(--brand-red);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.25);
}

.process-step h4 {
    font-size: 15px;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.process-step p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
}

/* ==================== QUALITY / COMPLIANCE ==================== */
.quality-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.quality-card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 28px;
    background: var(--white);
    transition: var(--transition);
}

.quality-card:hover {
    border-color: var(--brand-red);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.quality-card .qc-stage {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-red);
    background: var(--brand-red-light);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.quality-card h4 { margin-bottom: 10px; }
.quality-card p { font-size: 14px; color: var(--gray-500); }

/* ==================== MARKETS / GLOBAL ==================== */
.markets-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.market-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
}

.market-card:hover {
    border-color: var(--brand-navy);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.market-flag {
    font-size: 28px;
    margin-bottom: 10px;
}

.market-card h4 {
    font-size: 14px;
    margin-bottom: 4px;
}

.market-card p {
    font-size: 12px;
    color: var(--gray-400);
}

/* ==================== FAQ ==================== */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
    background: var(--white);
}

.faq-item:hover { border-color: var(--gray-300); }

.faq-item.active {
    border-color: var(--brand-red);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-900);
    text-align: left;
}

.faq-toggle {
    width: 28px;
    height: 28px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--gray-500);
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    background: var(--brand-red);
    color: var(--white);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 320px;
    padding: 0 24px 20px;
}

.faq-answer p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    padding: 80px 0;
    background: var(--brand-navy);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.1) 0%, transparent 60%);
}

.cta-box {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-box h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto 32px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==================== CONTACT FORM ==================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 56px;
    align-items: start;
}

.contact-info-card {
    background: var(--brand-navy);
    border-radius: var(--radius);
    padding: 36px;
    color: var(--white);
}

.contact-info-card h3 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 1.2rem;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-info-item:last-child { margin-bottom: 0; }

.contact-info-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-info-item h4 {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.contact-info-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
}

.contact-form-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 36px;
}

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

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-group label .req { color: var(--brand-red); }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    color: var(--gray-800);
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-red);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2394a3b8' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.form-group select option { background: var(--white); }

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    min-height: 20px;
}

.form-note.success { color: #16a34a; }
.form-note.error { color: var(--brand-red); }

/* ==================== FOOTER ==================== */
.footer {
    background: var(--brand-navy);
    color: rgba(255, 255, 255, 0.6);
    padding: 64px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--brand-red);
    color: var(--white);
}

.footer-col h4 {
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    transition: var(--transition);
}

.footer-bottom-links a:hover { color: var(--white); }

/* ==================== PAGE HEADER (Inner Pages) ==================== */
.page-header {
    background: var(--brand-navy);
    color: var(--white);
    padding: 120px 0 64px;
    position: relative;
    overflow: hidden;
}

.page-header-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, #000, transparent);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, #000, transparent);
}

.page-header-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

.breadcrumb a { color: rgba(255, 255, 255, 0.6); transition: var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: var(--brand-red); }

.page-header h1 {
    color: var(--white);
    margin-bottom: 16px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    max-width: 600px;
}

/* ==================== PRODUCT CATEGORY SECTIONS ==================== */
.category-section {
    padding: 64px 0;
    border-bottom: 1px solid var(--gray-100);
}

.category-section:last-child { border-bottom: none; }

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.category-header h2 {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-header h2 .cat-num {
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-red);
    background: var(--brand-red-light);
    padding: 4px 12px;
    border-radius: 6px;
}

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

.product-detail-card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    background: var(--white);
}

.product-detail-card:hover {
    border-color: var(--gray-300);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
}

.product-detail-image {
    height: 220px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-image .placeholder {
    color: var(--gray-400);
    font-size: 14px;
}

.product-detail-body {
    padding: 24px;
}

.product-detail-body h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.product-detail-body .product-desc {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 16px;
    line-height: 1.6;
}

.spec-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}

.spec-list li {
    font-size: 12px;
    color: var(--gray-500);
    display: flex;
    gap: 6px;
}

.spec-list li::before {
    content: '·';
    color: var(--brand-red);
    font-weight: 700;
}

/* ==================== SPEC TABLE ==================== */
.spec-table-wrap {
    overflow-x: auto;
    margin-top: 32px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.spec-table th {
    background: var(--gray-50);
    padding: 14px 20px;
    text-align: left;
    font-weight: 600;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-200);
    white-space: nowrap;
}

.spec-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-600);
}

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

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

/* ==================== TIMELINE (About Page) ==================== */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 120px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
}

.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-year {
    width: 100px;
    flex-shrink: 0;
    text-align: right;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-red);
    padding-top: 4px;
}

.timeline-dot {
    position: absolute;
    left: 114px;
    top: 8px;
    width: 14px;
    height: 14px;
    background: var(--white);
    border: 3px solid var(--brand-red);
    border-radius: 50%;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    padding-left: 32px;
}

.timeline-content h4 {
    font-size: 17px;
    margin-bottom: 6px;
}

.timeline-content p {
    font-size: 14px;
    color: var(--gray-500);
}

/* ==================== VALUE CARDS ==================== */
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.value-card {
    text-align: center;
    padding: 36px 24px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    transition: var(--transition);
}

.value-card:hover {
    border-color: var(--brand-red);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--brand-red-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.value-card h4 {
    font-size: 17px;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 14px;
    color: var(--gray-500);
}

/* ==================== PARTNERSHIP MODEL ==================== */
.partnership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.partnership-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
    position: relative;
}

.partnership-card.featured {
    border-color: var(--brand-red);
    border-width: 2px;
}

.partnership-card.featured::after {
    content: 'RECOMMENDED';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-red);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 4px 14px;
    border-radius: 100px;
}

.partnership-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
}

.partnership-tier {
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-red);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.partnership-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
}

.partnership-card .tier-desc {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-100);
}

.partnership-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 12px;
}

.partnership-features li::before {
    content: '✓';
    color: var(--brand-red);
    font-weight: 700;
    flex-shrink: 0;
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--brand-navy);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--brand-red);
    transform: translateY(-3px);
}

/* ==================== SCROLL REVEAL ==================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .products-preview { grid-template-columns: repeat(2, 1fr); }
    .product-detail-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(5, 1fr); gap: 8px; }
    .markets-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .section { padding: 64px 0; }
    .container { padding: 0 20px; }

    .nav-menu {
        position: fixed;
        top: 72px;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: calc(100vh - 72px);
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 24px;
        gap: 4px;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
    }

    .nav-menu.active { right: 0; }
    .nav-menu > li > a { padding: 14px 16px; }
    .nav-menu .nav-cta { margin-left: 0; margin-top: 8px; text-align: center; }
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 0 16px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .has-dropdown:hover .dropdown { max-height: 400px; }
    .mobile-toggle { display: flex; }

    .hero { padding: 110px 0 60px; }
    .hero-stats { flex-wrap: wrap; gap: 24px; }
    .hero-stat { flex: 1 1 45%; padding: 0; border: none !important; margin: 0 !important; }

    .split { grid-template-columns: 1fr; gap: 40px; }
    .split-image { height: 320px; }

    .capability-grid,
    .quality-grid,
    .value-grid,
    .partnership-grid { grid-template-columns: 1fr; }

    .products-preview { grid-template-columns: 1fr; }
    .product-detail-grid { grid-template-columns: 1fr; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .stat-item { border: none !important; }

    .process-grid { grid-template-columns: 1fr; gap: 24px; }
    .process-grid::before { display: none; }

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

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

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .timeline::before { left: 8px; }
    .timeline-item { flex-direction: column; gap: 8px; }
    .timeline-year { width: auto; text-align: left; }
    .timeline-dot { left: 2px; }
    .timeline-content { padding-left: 32px; }

    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
    .markets-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-actions { flex-direction: column; }
    .cta-actions .btn { width: 100%; }
}
