/*
Theme Name: Astra Child - WaynTech
Template: astra
Author: WaynTech Engineering
Description: Industrial B2B Hardware & Engineering Services Theme for Changsha Wayne Technology Co., Ltd. (WaynTech)
Version: 1.1.0
Text Domain: astra-child
*/

:root {
    --wt-teal: #0B6B5B;
    --wt-teal-dark: #075044;
    --wt-teal-light: #2A8C78;
    --wt-teal-soft: #E9F5F2;
    --wt-navy: #0A192F;
    --wt-navy-2: #112645;
    --wt-navy-3: #1B365D;
    --wt-ink: #0F172A;
    --wt-slate: #334155;
    --wt-muted: #64748B;
    --wt-bg: #F8FAFC;
    --wt-surface: #FFFFFF;
    --wt-border: #E2E8F0;
    --wt-amber-bg: #FEF3C7;
    --wt-amber-text: #92400E;
    --wt-blue-bg: #EFF6FF;
    --wt-blue-text: #1D4ED8;
    --wt-radius: 10px;
    --wt-radius-lg: 16px;
    --wt-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --wt-shadow-md: 0 10px 25px -5px rgba(10, 25, 47, 0.08), 0 4px 10px -4px rgba(10, 25, 47, 0.04);
    --wt-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --wt-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Global Reset & Astra Overrides */
html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--wt-font-sans);
    color: var(--wt-ink);
    background-color: var(--wt-surface);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

.site-content .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
    display: block !important;
}

#primary.content-area {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.entry-header,
.ast-single-post .entry-header {
    display: none !important;
}

.entry-content {
    margin: 0 !important;
}

.wt-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Top Utility Bar */
.wt-topbar {
    background: var(--wt-navy);
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wt-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 38px;
    gap: 16px;
    flex-wrap: wrap;
}

.wt-topbar a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.18s ease;
}

.wt-topbar a:hover {
    color: #5EEAD4;
}

.wt-topbar-items {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.wt-lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 5px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.wt-lang-switch a {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.wt-lang-switch a.is-active,
.wt-lang-switch a:hover {
    background: var(--wt-teal);
    color: #FFFFFF;
}

/* Sticky Main Header */
.wt-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--wt-border);
    box-shadow: 0 2px 12px rgba(10, 25, 47, 0.04);
}

.wt-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 24px;
}

.wt-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.wt-brand img {
    height: 46px;
    width: auto;
    display: block;
}

.wt-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.wt-nav > li {
    position: relative;
}

.wt-nav > li > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 15px;
    font-size: 15px;
    font-weight: 500;
    color: var(--wt-ink);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.18s ease;
}

.wt-nav > li > a:hover,
.wt-nav > li.current-menu-item > a,
.wt-nav > li.current-menu-ancestor > a {
    color: var(--wt-teal);
    background: var(--wt-teal-soft);
}

.wt-nav-caret {
    font-size: 10px;
    opacity: 0.65;
}

/* Dropdown Panel */
.wt-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 280px;
    background: var(--wt-surface);
    border: 1px solid var(--wt-border);
    border-radius: 12px;
    box-shadow: 0 18px 40px -10px rgba(10, 25, 47, 0.16);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.18s ease;
    list-style: none;
    margin: 0;
    z-index: 1000;
}

.wt-nav > li:hover > .wt-dropdown,
.wt-nav > li:focus-within > .wt-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.wt-dropdown li a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.wt-dropdown li a:hover {
    background: var(--wt-bg);
}

.wt-dropdown-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--wt-ink);
}

.wt-dropdown-sub {
    display: block;
    font-size: 12px;
    color: var(--wt-muted);
    margin-top: 2px;
}

.wt-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wt-mobile-toggle {
    display: none;
    background: none;
    border: 1px solid var(--wt-border);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 18px;
    color: var(--wt-ink);
    cursor: pointer;
}

/* Buttons */
.wt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    line-height: 1.2;
}

.wt-btn-primary {
    background: var(--wt-teal);
    color: #FFFFFF !important;
    border-color: var(--wt-teal);
}

.wt-btn-primary:hover {
    background: var(--wt-teal-dark);
    border-color: var(--wt-teal-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(11, 107, 91, 0.25);
}

.wt-btn-outline-light {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.35);
}

.wt-btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: #FFFFFF;
}

.wt-btn-outline {
    background: var(--wt-surface);
    color: var(--wt-ink) !important;
    border-color: var(--wt-border);
}

.wt-btn-outline:hover {
    border-color: var(--wt-teal);
    color: var(--wt-teal) !important;
    background: var(--wt-teal-soft);
}

.wt-btn-sm {
    padding: 8px 14px;
    font-size: 13px;
}

/* Hero Section */
.wt-hero {
    background:
        radial-gradient(circle at 80% 25%, rgba(42, 140, 120, 0.22), transparent 48%),
        radial-gradient(circle at 15% 80%, rgba(30, 64, 175, 0.18), transparent 45%),
        linear-gradient(135deg, #071324 0%, #0D2240 55%, #0A2E36 100%);
    color: #FFFFFF;
    padding: 84px 0 76px;
    position: relative;
    overflow: hidden;
}

.wt-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 42px 42px;
    pointer-events: none;
}

.wt-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.wt-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(42, 140, 120, 0.2);
    border: 1px solid rgba(94, 234, 212, 0.35);
    color: #5EEAD4;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.wt-hero h1 {
    font-size: clamp(32px, 4.2vw, 48px);
    line-height: 1.15;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
}

.wt-hero p.wt-lead {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(226, 232, 240, 0.9);
    margin: 0 0 28px;
    max-width: 620px;
}

.wt-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 36px;
}

.wt-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.wt-stat-val {
    font-size: 24px;
    font-weight: 700;
    color: #5EEAD4;
    font-family: var(--wt-font-mono);
    line-height: 1.2;
}

.wt-stat-lbl {
    font-size: 12px;
    color: rgba(203, 213, 225, 0.85);
    margin-top: 4px;
}

/* Hero Right Panel */
.wt-hero-panel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--wt-radius-lg);
    padding: 24px;
    backdrop-filter: blur(8px);
}

.wt-hero-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 12px;
    font-family: var(--wt-font-mono);
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.wt-hero-board-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.wt-hero-board-card {
    background: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: var(--wt-ink);
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
}

.wt-hero-board-card:hover {
    transform: translateY(-3px);
}

.wt-hero-board-card img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    background: #FFFFFF;
    padding: 8px;
}

.wt-hero-board-meta {
    padding: 10px 12px;
    border-top: 1px solid var(--wt-border);
    background: var(--wt-bg);
}

.wt-hero-board-meta strong {
    display: block;
    font-size: 13px;
    font-family: var(--wt-font-mono);
    color: var(--wt-navy);
}

.wt-hero-board-meta span {
    font-size: 11px;
    color: var(--wt-muted);
}

/* Page Sub-Hero */
.wt-page-hero {
    background:
        radial-gradient(circle at 85% 20%, rgba(42, 140, 120, 0.22), transparent 45%),
        linear-gradient(135deg, #081529 0%, #102646 100%);
    color: #FFFFFF;
    padding: 54px 0 48px;
}

.wt-breadcrumb {
    font-size: 13px;
    color: rgba(203, 213, 225, 0.8);
    margin-bottom: 14px;
}

.wt-breadcrumb a {
    color: #5EEAD4;
    text-decoration: none;
}

.wt-breadcrumb a:hover {
    text-decoration: underline;
}

.wt-page-hero h1 {
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 12px;
}

.wt-page-hero p {
    font-size: 16px;
    color: rgba(226, 232, 240, 0.9);
    max-width: 760px;
    margin: 0;
}

/* Sections */
.wt-section {
    padding: 72px 0;
}

.wt-section-alt {
    background: var(--wt-bg);
    border-top: 1px solid var(--wt-border);
    border-bottom: 1px solid var(--wt-border);
}

.wt-section-dark {
    background: var(--wt-navy);
    color: #FFFFFF;
}

.wt-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.wt-kicker {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--wt-teal);
    margin-bottom: 8px;
}

.wt-section-dark .wt-kicker {
    color: #5EEAD4;
}

.wt-section-head h2,
.wt-h2 {
    font-size: clamp(24px, 2.8vw, 34px);
    font-weight: 700;
    color: var(--wt-navy);
    margin: 0 0 10px;
    line-height: 1.25;
}

.wt-section-dark .wt-section-head h2,
.wt-section-dark .wt-h2 {
    color: #FFFFFF;
}

.wt-section-desc {
    font-size: 15px;
    color: var(--wt-muted);
    max-width: 680px;
    margin: 0;
}

.wt-section-dark .wt-section-desc {
    color: rgba(203, 213, 225, 0.85);
}

/* Two Pillar Architecture Cards */
.wt-pillar-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.wt-pillar-card {
    background: var(--wt-surface);
    border: 1px solid var(--wt-border);
    border-radius: var(--wt-radius-lg);
    padding: 32px;
    box-shadow: var(--wt-shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.wt-pillar-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    font-family: var(--wt-font-mono);
    color: var(--wt-teal);
    background: var(--wt-teal-soft);
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 14px;
}

.wt-pillar-card h3 {
    font-size: 24px;
    margin: 0 0 12px;
    color: var(--wt-navy);
}

.wt-pillar-card p {
    color: var(--wt-slate);
    margin: 0 0 20px;
    font-size: 15px;
}

.wt-pillar-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 24px;
}

.wt-pillar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    background: var(--wt-bg);
    border: 1px solid var(--wt-border);
    border-radius: 8px;
    color: var(--wt-ink);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.18s ease;
}

.wt-pillar-link:hover {
    border-color: var(--wt-teal);
    color: var(--wt-teal);
    background: var(--wt-teal-soft);
}

/* Filter Bar */
.wt-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 28px;
    padding: 16px 20px;
    background: var(--wt-surface);
    border: 1px solid var(--wt-border);
    border-radius: 12px;
}

.wt-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wt-filter-btn {
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid var(--wt-border);
    background: var(--wt-bg);
    color: var(--wt-slate);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.16s ease;
}

.wt-filter-btn:hover,
.wt-filter-btn.is-active {
    background: var(--wt-teal);
    color: #FFFFFF;
    border-color: var(--wt-teal);
}

.wt-search-input {
    min-width: 240px;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid var(--wt-border);
    font-size: 14px;
    color: var(--wt-ink);
    outline: none;
}

.wt-search-input:focus {
    border-color: var(--wt-teal);
    box-shadow: 0 0 0 3px rgba(11, 107, 91, 0.12);
}

/* Product Card Grid */
.wt-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.wt-product-card {
    background: var(--wt-surface);
    border: 1px solid var(--wt-border);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.22s ease;
    box-shadow: var(--wt-shadow-sm);
}

.wt-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--wt-shadow-md);
    border-color: rgba(11, 107, 91, 0.45);
}

.wt-product-media {
    position: relative;
    height: 210px;
    background: #FFFFFF;
    border-bottom: 1px solid var(--wt-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.wt-product-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
    transition: transform 0.25s ease;
}

.wt-product-card:hover .wt-product-media img {
    transform: scale(1.03);
}

/* Precision Technical Placeholder when board photo is still pending */
.wt-blueprint-box {
    width: 100%;
    height: 100%;
    background:
        linear-gradient(rgba(11, 107, 91, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 107, 91, 0.06) 1px, transparent 1px),
        linear-gradient(135deg, #0A192F 0%, #112A48 100%);
    background-size: 20px 20px, 20px 20px, 100% 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    color: #FFFFFF;
}

.wt-blueprint-chip {
    font-family: var(--wt-font-mono);
    font-size: 11px;
    color: #5EEAD4;
    border: 1px solid rgba(94, 234, 212, 0.4);
    background: rgba(11, 107, 91, 0.28);
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.wt-blueprint-model {
    font-family: var(--wt-font-mono);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #FFFFFF;
}

.wt-blueprint-sub {
    font-size: 12px;
    color: rgba(203, 213, 225, 0.78);
    margin-top: 6px;
}

.wt-badge-row {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    pointer-events: none;
}

.wt-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 999px;
    line-height: 1.4;
}

.wt-badge-cots {
    background: var(--wt-teal-soft);
    color: var(--wt-teal-dark);
    border: 1px solid rgba(11, 107, 91, 0.2);
}

.wt-badge-ref {
    background: var(--wt-amber-bg);
    color: var(--wt-amber-text);
    border: 1px solid rgba(146, 64, 14, 0.18);
}

.wt-badge-acc {
    background: var(--wt-blue-bg);
    color: var(--wt-blue-text);
    border: 1px solid rgba(29, 78, 216, 0.18);
}

.wt-product-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.wt-product-cats {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--wt-teal);
    margin-bottom: 6px;
}

.wt-product-title {
    font-size: 18px;
    font-weight: 700;
    font-family: var(--wt-font-mono);
    margin: 0 0 6px;
    color: var(--wt-navy);
}

.wt-product-title a {
    color: inherit;
    text-decoration: none;
}

.wt-product-title a:hover {
    color: var(--wt-teal);
}

.wt-product-silicon {
    font-size: 13px;
    font-weight: 600;
    color: var(--wt-slate);
    margin-bottom: 10px;
}

.wt-product-excerpt {
    font-size: 13.5px;
    color: var(--wt-muted);
    margin: 0 0 16px;
    flex: 1;
}

.wt-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--wt-border);
    gap: 10px;
}

.wt-status-pill {
    font-size: 11.5px;
    color: var(--wt-muted);
    font-family: var(--wt-font-mono);
}

/* Single Product Page */
.wt-single-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: start;
}

.wt-gallery-main {
    background: #FFFFFF;
    border: 1px solid var(--wt-border);
    border-radius: 14px;
    overflow: hidden;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wt-gallery-main img {
    width: 100%;
    max-height: 440px;
    object-fit: contain;
    padding: 20px;
}

.wt-gallery-thumbs {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}

.wt-gallery-thumb {
    width: 96px;
    height: 72px;
    border: 2px solid var(--wt-border);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #FFFFFF;
    padding: 4px;
}

.wt-gallery-thumb.is-active {
    border-color: var(--wt-teal);
}

.wt-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wt-spec-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--wt-surface);
    border: 1px solid var(--wt-border);
    border-radius: 12px;
    overflow: hidden;
    margin: 20px 0;
}

.wt-spec-table th,
.wt-spec-table td {
    padding: 13px 16px;
    text-align: left;
    border-bottom: 1px solid var(--wt-border);
    font-size: 14px;
}

.wt-spec-table th {
    width: 30%;
    background: var(--wt-bg);
    font-weight: 600;
    color: var(--wt-navy);
}

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

.wt-feature-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 24px;
    display: grid;
    gap: 10px;
}

.wt-feature-list li {
    position: relative;
    padding-left: 26px;
    font-size: 14.5px;
    color: var(--wt-slate);
}

.wt-feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--wt-teal);
    font-weight: 800;
}

/* Service Cards & Capability Matrices */
.wt-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.wt-service-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.wt-card {
    background: var(--wt-surface);
    border: 1px solid var(--wt-border);
    border-radius: 14px;
    padding: 26px;
    box-shadow: var(--wt-shadow-sm);
    transition: all 0.2s ease;
}

.wt-card:hover {
    border-color: rgba(11, 107, 91, 0.4);
    box-shadow: var(--wt-shadow-md);
}

.wt-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--wt-navy);
    margin: 0 0 10px;
}

.wt-card p {
    font-size: 14px;
    color: var(--wt-muted);
    margin: 0 0 14px;
}

.wt-chip-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.wt-chip-tag {
    font-family: var(--wt-font-mono);
    font-size: 12px;
    padding: 5px 10px;
    background: var(--wt-bg);
    border: 1px solid var(--wt-border);
    border-radius: 6px;
    color: var(--wt-navy);
    font-weight: 500;
}

.wt-chip-tag-teal {
    background: var(--wt-teal-soft);
    border-color: rgba(11, 107, 91, 0.25);
    color: var(--wt-teal-dark);
}

/* Process Steps */
.wt-steps-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.wt-step-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 22px 18px;
}

.wt-step-num {
    font-family: var(--wt-font-mono);
    font-size: 13px;
    font-weight: 700;
    color: #5EEAD4;
    margin-bottom: 10px;
}

.wt-step-card h4 {
    color: #FFFFFF;
    font-size: 16px;
    margin: 0 0 8px;
}

.wt-step-card p {
    color: rgba(203, 213, 225, 0.85);
    font-size: 13.5px;
    margin: 0;
}

/* Callout Banner */
.wt-cta-banner {
    background: linear-gradient(135deg, var(--wt-navy) 0%, #0D353A 100%);
    color: #FFFFFF;
    border-radius: var(--wt-radius-lg);
    padding: 44px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}

.wt-cta-banner h3 {
    font-size: 26px;
    color: #FFFFFF;
    margin: 0 0 8px;
}

.wt-cta-banner p {
    color: rgba(226, 232, 240, 0.88);
    margin: 0;
    max-width: 640px;
}

/* Contact & RFQ Form */
.wt-contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 36px;
    align-items: start;
}

.wt-form-card {
    background: var(--wt-surface);
    border: 1px solid var(--wt-border);
    border-radius: var(--wt-radius-lg);
    padding: 32px;
    box-shadow: var(--wt-shadow-sm);
}

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

.wt-field {
    margin-bottom: 18px;
}

.wt-field label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--wt-navy);
    margin-bottom: 6px;
}

.wt-field input,
.wt-field select,
.wt-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--wt-border);
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--wt-font-sans);
    color: var(--wt-ink);
    background: #FFFFFF;
    box-sizing: border-box;
}

.wt-field input:focus,
.wt-field select:focus,
.wt-field textarea:focus {
    outline: none;
    border-color: var(--wt-teal);
    box-shadow: 0 0 0 3px rgba(11, 107, 91, 0.12);
}

.wt-alert-success {
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: #065F46;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.wt-alert-error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Footer */
.wt-footer {
    background: var(--wt-navy);
    color: rgba(203, 213, 225, 0.85);
    padding: 64px 0 28px;
    margin-top: 0;
}

.wt-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: 36px;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wt-footer-logo {
    height: 44px;
    width: auto;
    margin-bottom: 16px;
}

.wt-footer h4 {
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 16px;
}

.wt-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.wt-footer a {
    color: rgba(203, 213, 225, 0.85);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.16s ease;
}

.wt-footer a:hover {
    color: #5EEAD4;
}

.wt-footer-bottom {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: rgba(148, 163, 184, 0.85);
}

/* Notice box for pending datasheets */
.wt-info-notice {
    background: #F0FDF4;
    border-left: 4px solid var(--wt-teal);
    padding: 16px 20px;
    border-radius: 0 10px 10px 0;
    margin: 20px 0;
    font-size: 14px;
    color: var(--wt-slate);
}

/* Mobile Sticky Bottom Quick-Action Bar (hidden on desktop) */
.wt-mobile-bar {
    display: none;
}

/* Responsive */
@media (max-width: 1080px) {
    .wt-hero-grid,
    .wt-pillar-grid,
    .wt-single-grid,
    .wt-contact-grid {
        grid-template-columns: 1fr;
    }
    .wt-product-grid,
    .wt-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .wt-service-grid-5,
    .wt-steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .wt-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    body {
        padding-bottom: 60px;
    }

    .wt-container {
        padding: 0 16px;
    }

    /* Compact single-line mobile topbar: email + language switcher only */
    .wt-topbar {
        font-size: 12px;
    }
    .wt-topbar-inner {
        min-height: 36px;
        gap: 8px;
        flex-wrap: nowrap;
    }
    .wt-topbar-tagline,
    .wt-topbar-phone {
        display: none !important;
    }
    .wt-topbar-items {
        gap: 10px;
        width: 100%;
        justify-content: space-between;
        flex-wrap: nowrap;
    }
    .wt-lang-switch a {
        padding: 2px 7px;
        font-size: 11px;
    }

    /* Compact Sticky Mobile Header */
    .wt-header-inner {
        height: 60px;
        gap: 10px;
    }
    .wt-brand img {
        height: 34px;
    }
    .wt-header-actions {
        display: none;
    }
    .wt-mobile-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 38px;
        padding: 0;
        font-size: 20px;
        background: var(--wt-bg);
    }

    /* Collapsible Scrollable Mobile Nav Drawer */
    .wt-nav-wrap {
        display: none;
        position: fixed;
        top: 96px;
        left: 0;
        right: 0;
        bottom: 60px;
        background: #FFFFFF;
        border-top: 1px solid var(--wt-border);
        padding: 14px 16px 24px;
        overflow-y: auto;
        z-index: 998;
        box-shadow: 0 14px 30px rgba(10, 25, 47, 0.14);
    }
    .wt-nav-wrap.is-open {
        display: block;
    }
    .wt-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }
    .wt-nav > li > a {
        display: flex;
        justify-content: space-between;
        padding: 12px 14px;
        font-size: 15px;
        font-weight: 600;
        background: var(--wt-bg);
        border: 1px solid var(--wt-border);
        border-radius: 10px;
    }
    .wt-nav > li.has-dropdown > .wt-dropdown {
        display: none;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 6px 0 6px 10px;
        min-width: 0;
    }
    .wt-nav > li.has-dropdown.is-expanded > .wt-dropdown {
        display: block;
    }
    .wt-dropdown li a {
        padding: 9px 12px;
        border-left: 2px solid var(--wt-teal-soft);
        border-radius: 0 8px 8px 0;
    }
    .wt-dropdown-sub {
        display: none;
    }

    /* Mobile-First Hero: Core Value Prop Above the Fold */
    .wt-hero {
        padding: 36px 0 32px;
    }
    .wt-hero-grid {
        gap: 24px;
    }
    .wt-eyebrow {
        font-size: 11px;
        padding: 5px 11px;
        margin-bottom: 14px;
    }
    .wt-hero h1 {
        font-size: 26px;
        line-height: 1.24;
        margin-bottom: 14px;
    }
    .wt-hero p.wt-lead {
        font-size: 14.5px;
        line-height: 1.65;
        margin-bottom: 22px;
    }
    .wt-hero-cta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 24px;
    }
    .wt-hero-cta .wt-btn {
        padding: 11px 12px;
        font-size: 13.5px;
        width: 100%;
        text-align: center;
    }
    .wt-hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding-top: 20px;
    }
    .wt-hero-stats > div {
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        padding: 12px;
    }
    .wt-stat-val {
        font-size: 19px;
    }
    .wt-stat-lbl {
        font-size: 11.5px;
        line-height: 1.35;
    }
    /* Hide PC right-hand hero board montage on phones so users reach core pillars immediately */
    .wt-hero-panel {
        display: none;
    }

    /* Page Sub-Hero */
    .wt-page-hero {
        padding: 30px 0 26px;
    }
    .wt-page-hero h1 {
        font-size: 24px;
        line-height: 1.25;
    }
    .wt-page-hero p {
        font-size: 14px;
    }

    /* Compact Section Spacing & Cards */
    .wt-section {
        padding: 40px 0;
    }
    .wt-section-head {
        margin-bottom: 22px;
        gap: 14px;
    }
    .wt-section-head h2,
    .wt-h2 {
        font-size: 22px;
    }
    .wt-section-desc {
        font-size: 14px;
    }

    .wt-pillar-grid {
        gap: 18px;
    }
    .wt-pillar-card {
        padding: 20px 18px;
        border-radius: 14px;
    }
    .wt-pillar-card h3 {
        font-size: 19px;
    }
    .wt-pillar-card p {
        font-size: 14px;
        margin-bottom: 16px;
    }
    /* Fix inline grid-column:span 2 overflow on narrow screens */
    .wt-pillar-links {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 18px;
    }
    .wt-pillar-links > .wt-pillar-link {
        grid-column: auto !important;
        padding: 10px 12px;
        font-size: 13.5px;
    }
    .wt-pillar-card .wt-btn {
        width: 100%;
    }

    /* Horizontal Swipeable Filter Strip on Mobile */
    .wt-filter-bar {
        padding: 12px;
        gap: 10px;
        margin-bottom: 18px;
    }
    .wt-filter-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        width: 100%;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .wt-filter-tabs::-webkit-scrollbar {
        display: none;
    }
    .wt-filter-btn {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 7px 12px;
        font-size: 12.5px;
    }
    .wt-search-input {
        width: 100%;
        min-width: 0;
        font-size: 14px;
    }

    /* Product & Service Cards */
    .wt-product-grid,
    .wt-service-grid,
    .wt-service-grid-5 {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .wt-product-media {
        height: 170px;
    }
    .wt-product-body {
        padding: 16px;
    }
    .wt-product-title {
        font-size: 16.5px;
    }
    .wt-card {
        padding: 20px 18px;
    }

    /* Compact Vertical Timeline for 5 R&D Steps */
    .wt-steps-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .wt-step-card {
        padding: 16px;
        border-left: 3px solid #5EEAD4;
    }
    .wt-step-card h4 {
        font-size: 15px;
        margin-bottom: 4px;
    }
    .wt-step-card p {
        font-size: 13px;
    }

    /* Responsive Stacked Spec Table (no horizontal overflow on long I/O strings) */
    .wt-spec-table,
    .wt-spec-table tbody,
    .wt-spec-table tr,
    .wt-spec-table th,
    .wt-spec-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    .wt-spec-table th {
        padding: 10px 14px 4px;
        border-bottom: none;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: var(--wt-teal);
    }
    .wt-spec-table td {
        padding: 2px 14px 12px;
        font-size: 13.5px;
        word-break: break-word;
    }

    /* Single Product Gallery */
    .wt-gallery-main {
        min-height: 240px;
    }
    .wt-gallery-main img {
        max-height: 280px;
        padding: 12px;
    }

    /* CTA Banner & Forms */
    .wt-cta-banner {
        padding: 26px 20px;
        gap: 18px;
    }
    .wt-cta-banner h3 {
        font-size: 20px;
    }
    .wt-cta-banner .wt-btn {
        width: 100%;
    }
    .wt-form-card {
        padding: 22px 16px;
    }
    .wt-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* Streamlined Mobile Footer (Brand + Core Contact, hide long duplicate menus) */
    .wt-footer {
        padding: 40px 0 24px;
    }
    .wt-footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-bottom: 24px;
    }
    .wt-footer-col-links {
        display: none;
    }
    .wt-footer-bottom {
        font-size: 12px;
        text-align: center;
        justify-content: center;
    }

    /* Sticky Mobile Bottom Quick-Action Bar */
    .wt-mobile-bar {
        display: grid;
        grid-template-columns: 1fr 1.3fr;
        gap: 8px;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 999;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border-top: 1px solid var(--wt-border);
        padding: 9px 14px;
        box-shadow: 0 -4px 16px rgba(10, 25, 47, 0.08);
    }
    .wt-mobile-bar a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        border-radius: 8px;
        font-size: 13.5px;
        font-weight: 600;
        text-decoration: none;
    }
    .wt-mobile-bar-call {
        background: var(--wt-bg);
        color: var(--wt-navy);
        border: 1px solid var(--wt-border);
    }
    .wt-mobile-bar-cta {
        background: var(--wt-teal);
        color: #FFFFFF;
    }
}
