/*
Theme Name: Three Clouds
Theme URI: https://example.invalid/
Author: Three Clouds Co., Limited
Description: Lightweight bilingual B2B catalog theme for Three Clouds.
Version: 1.3.1
Text Domain: three-clouds
*/

:root {
    --ink: #0b1728;
    --ink-soft: #415066;
    --blue: #155a9a;
    --blue-deep: #0d3f74;
    --blue-bright: #1976c5;
    --sky: #eaf4fc;
    --sky-soft: #f5f9fd;
    --line: #dce6ef;
    --white: #fff;
    --green: #168267;
    --shadow-sm: 0 8px 28px rgba(13, 47, 84, .08);
    --shadow-lg: 0 24px 70px rgba(9, 39, 73, .14);
    --radius: 18px;
    --radius-sm: 10px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.68;
    -webkit-font-smoothing: antialiased;
}
body.site-en { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.screen-reader-text, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; z-index: 9999; top: 12px; left: 12px; padding: 10px 16px; background: #fff; color: var(--blue); border-radius: 6px; box-shadow: var(--shadow-sm); }

.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    background: rgba(255,255,255,.94);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(14px);
    transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 32px rgba(13, 47, 84, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 28px; }
.site-brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-logo { width: 74px; height: 45px; object-fit: contain; }
.brand-mark { position: relative; display: inline-block; width: 54px; height: 38px; }
.brand-mark i { position: absolute; display: block; border: 5px solid var(--blue); border-top-color: transparent; border-radius: 50%; transform: rotate(-18deg); }
.brand-mark i:nth-child(1) { width: 29px; height: 23px; left: 0; top: 10px; }
.brand-mark i:nth-child(2) { width: 31px; height: 31px; left: 13px; top: 0; }
.brand-mark i:nth-child(3) { width: 27px; height: 22px; right: 0; bottom: 0; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.08; }
.brand-copy strong { color: var(--blue-deep); letter-spacing: .11em; font-size: 18px; }
.brand-copy small { margin-top: 5px; color: #65748a; letter-spacing: .2em; font-size: 9px; }
.primary-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; }
.primary-nav > .nav-link, .nav-group > .nav-link { position: relative; padding-block: 26px; }
.primary-nav > .nav-link:not(.nav-rfq)::after, .nav-group > .nav-link:not(.nav-rfq)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 18px; height: 2px; background: var(--blue); transition: right .2s; }
.primary-nav > .nav-link:hover::after, .nav-group > .nav-link:hover::after { right: 0; }
.primary-nav .nav-rfq { padding: 10px 17px; color: #fff; background: var(--blue); border-radius: 8px; box-shadow: 0 8px 20px rgba(21,90,154,.18); }
.primary-nav .nav-rfq:hover { background: var(--blue-deep); }
.nav-group { position: relative; display: flex; align-items: center; }
.submenu-toggle { display: grid; place-items: center; width: 22px; height: 34px; margin-left: 2px; padding: 0; border: 0; background: transparent; color: #607087; }
.submenu-toggle span { display: block; transform: translateY(-1px); transition: transform .2s; }
.nav-group.is-open .submenu-toggle span { transform: rotate(180deg) translateY(1px); }
.submenu { position: absolute; z-index: 20; top: calc(100% - 7px); left: -18px; display: grid; min-width: 220px; padding: 10px; visibility: hidden; opacity: 0; border: 1px solid var(--line); border-radius: 11px; background: #fff; box-shadow: var(--shadow-lg); transform: translateY(8px); transition: opacity .18s, transform .18s, visibility .18s; }
.nav-group:hover .submenu, .nav-group:focus-within .submenu, .nav-group.is-open .submenu { visibility: visible; opacity: 1; transform: translateY(0); }
.submenu-link { padding: 10px 12px; border-radius: 7px; color: #344457; white-space: nowrap; }
.submenu-link:hover { color: var(--blue); background: var(--sky-soft); }
.submenu-link.submenu-button { margin-top: 5px; color: #fff; background: var(--blue); text-align: center; }
.language-switch { display: flex; align-items: center; gap: 6px; margin-left: -8px; padding-left: 20px; border-left: 1px solid var(--line); color: #8793a4; font-size: 13px; }
.language-switch a { color: #7b8797; }
.language-switch a.active { color: var(--blue); font-weight: 800; }
.nav-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--ink); }

.hero { position: relative; min-height: 680px; overflow: hidden; background: linear-gradient(132deg, #f8fbfe 0%, #edf6fd 54%, #dceefa 100%); }
.hero::before { content: ""; position: absolute; width: 680px; height: 680px; right: -160px; top: -220px; border: 1px solid rgba(21,90,154,.13); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255,255,255,.17), 0 0 0 160px rgba(255,255,255,.12); }
.hero::after { content: ""; position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(21,90,154,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(21,90,154,.13) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(90deg, rgba(0,0,0,.25), transparent 64%); }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(400px, .92fr); align-items: center; min-height: 680px; gap: 76px; padding-block: 76px; }
.hero-copy { max-width: 680px; }
.eyebrow { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.hero h1 { max-width: 720px; margin: 18px 0 24px; font-size: clamp(42px, 5.2vw, 72px); line-height: 1.08; letter-spacing: -.045em; }
.site-zh .hero h1 { letter-spacing: .015em; }
.hero h1 span { color: var(--blue); }
.hero-lead { max-width: 610px; margin: 0 0 34px; color: var(--ink-soft); font-size: 19px; line-height: 1.8; }
.button-row { display: flex; flex-wrap: wrap; gap: 13px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); font-weight: 700; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.button-primary { border-color: var(--blue); background: var(--blue); color: #fff; }
.button-primary:hover { background: var(--blue-deep); }
.button-ghost { border-color: rgba(21,90,154,.22); color: var(--blue-deep); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 38px; padding-top: 26px; border-top: 1px solid rgba(21,90,154,.14); }
.hero-proof span { display: flex; align-items: center; gap: 9px; color: #4e5f73; font-size: 13px; font-weight: 650; }
.hero-proof i { width: 7px; height: 7px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 5px rgba(22,130,103,.1); }

.hero-visual { position: relative; min-height: 440px; }
.server-stack { position: absolute; width: 420px; max-width: 100%; right: 0; top: 50%; transform: translateY(-50%) perspective(1200px) rotateY(-7deg) rotateX(3deg); }
.server-unit { position: relative; height: 86px; margin: 0 0 14px; padding: 15px 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.7); border-radius: 10px; background: linear-gradient(110deg, #0d2238, #153c61 72%, #0d2946); box-shadow: 0 22px 32px rgba(4,31,57,.22); }
.server-unit:nth-child(2) { margin-left: 22px; }
.server-unit:nth-child(3) { margin-left: 44px; }
.server-unit::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,.08), transparent 45%); }
.server-face { position: relative; display: flex; align-items: center; height: 100%; gap: 9px; }
.server-bay { width: 36px; height: 36px; border: 1px solid #527292; border-radius: 4px; background: repeating-linear-gradient(90deg, #0b1c2c 0 3px, #173552 3px 5px); }
.server-grill { flex: 1; height: 40px; margin-left: 8px; opacity: .55; background: radial-gradient(circle, #7591aa 1px, transparent 1.5px); background-size: 7px 7px; }
.server-light { width: 5px; height: 5px; margin-left: 4px; background: #55e1ae; border-radius: 50%; box-shadow: 0 0 9px #55e1ae; }
.server-light.blue { background: #51b9ff; box-shadow: 0 0 9px #51b9ff; }
.visual-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1px solid rgba(255,255,255,.8); border-radius: 12px; background: rgba(255,255,255,.9); box-shadow: var(--shadow-lg); backdrop-filter: blur(12px); }
.visual-card strong { display: block; font-size: 13px; }
.visual-card small { display: block; color: #6a788a; font-size: 11px; }
.visual-card.one { left: -12px; top: 72px; }
.visual-card.two { right: -28px; bottom: 54px; }
.visual-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; color: var(--blue); background: var(--sky); font-weight: 800; }

.trust-strip { position: relative; z-index: 4; margin-top: -30px; }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.trust-item { padding: 22px 26px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; font-size: 15px; }
.trust-item span { color: #6b7889; font-size: 12px; }

.section { padding-block: 104px; }
.section-soft { background: var(--sky-soft); }
.section-dark { color: #fff; background: #0a2138; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 44px; }
.section-header > div { max-width: 690px; }
.section h2, .page-hero h1 { margin: 12px 0 14px; font-size: clamp(32px, 4vw, 49px); line-height: 1.16; letter-spacing: -.035em; }
.site-zh .section h2, .site-zh .page-hero h1 { letter-spacing: .01em; }
.section-header p, .section-intro { margin: 0; color: var(--ink-soft); font-size: 17px; }
.section-dark .section-header p, .section-dark .section-intro { color: #aebed0; }
.text-link { color: var(--blue); font-weight: 750; }
.text-link span { display: inline-block; transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }

.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.category-card { position: relative; min-height: 240px; padding: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s; }
.category-card:hover { transform: translateY(-5px); border-color: rgba(21,90,154,.28); box-shadow: var(--shadow-lg); }
.category-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 34px; border-radius: 13px; background: var(--sky); color: var(--blue); font-size: 20px; font-weight: 850; }
.category-card h3 { margin: 0 0 10px; font-size: 20px; }
.category-card p { margin: 0; color: #667487; font-size: 14px; }
.category-arrow { position: absolute; right: 22px; bottom: 18px; color: var(--blue); font-size: 22px; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .25s, box-shadow .25s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card__visual { position: relative; display: grid; place-items: center; min-height: 220px; overflow: hidden; background: linear-gradient(145deg, #eaf3fa, #f8fbfe); }
.product-card__visual img { width: 100%; height: 220px; object-fit: cover; }
.status-pill { position: absolute; top: 16px; left: 16px; padding: 5px 10px; border: 1px solid rgba(21,90,154,.16); border-radius: 999px; background: rgba(255,255,255,.9); color: var(--blue); font-size: 11px; font-weight: 750; }
.product-card__device { position: relative; display: block; width: 190px; height: 78px; border: 2px solid #284e70; border-radius: 8px; background: linear-gradient(110deg, #10293f, #1c4a70); box-shadow: 0 22px 35px rgba(12,53,88,.2); }
.product-card__device::before { content: ""; position: absolute; left: 15px; top: 16px; width: 55px; height: 43px; border: 1px solid #527391; border-radius: 4px; background: repeating-linear-gradient(90deg,#0b1c2c 0 3px,#244863 3px 5px); }
.product-card__device::after { content: ""; position: absolute; left: 82px; right: 18px; top: 18px; bottom: 18px; opacity: .7; background: radial-gradient(circle,#8ca5ba 1px,transparent 1.6px); background-size: 7px 7px; }
.product-card__device i { position: absolute; z-index: 2; right: 8px; width: 4px; height: 4px; border-radius: 50%; background: #4de2ad; box-shadow: 0 0 7px #4de2ad; }
.product-card__device i:nth-child(1) { top: 17px; }
.product-card__device i:nth-child(2) { top: 29px; background: #4aaeff; box-shadow: 0 0 7px #4aaeff; }
.product-card__device i:nth-child(3) { top: 41px; }
.product-card__body { padding: 24px; }
.product-card h3 { margin: 7px 0 7px; font-size: 20px; line-height: 1.35; }
.product-card p { min-height: 48px; margin: 0 0 16px; color: #667487; font-size: 14px; }
.product-card .product-model { min-height: auto; margin-bottom: 10px; color: #8a96a6; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }

.split { display: grid; grid-template-columns: .93fr 1.07fr; align-items: center; gap: 80px; }
.capability-visual { position: relative; min-height: 500px; border-radius: 24px; background: linear-gradient(145deg, #113c64, #081d33); box-shadow: var(--shadow-lg); }
.capability-visual::before { content: ""; position: absolute; inset: 26px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background-image: radial-gradient(circle, rgba(95,174,236,.5) 1px, transparent 1.5px); background-size: 23px 23px; }
.capability-panel { position: absolute; left: 11%; right: 11%; top: 22%; padding: 24px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(8,29,51,.76); box-shadow: 0 22px 50px rgba(0,0,0,.3); backdrop-filter: blur(8px); }
.capability-line { display: flex; align-items: center; gap: 12px; margin: 13px 0; color: #d6e7f5; font-size: 13px; }
.capability-line i { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: #4de2ad; box-shadow: 0 0 10px rgba(77,226,173,.6); }
.capability-badge { position: absolute; right: 8%; bottom: 8%; padding: 13px 18px; border-radius: 10px; background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); font-size: 12px; font-weight: 750; }
.feature-list { display: grid; margin-top: 34px; }
.feature { display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.feature:last-child { border-bottom: 1px solid var(--line); }
.feature-num { color: var(--blue); font-size: 12px; font-weight: 850; letter-spacing: .1em; }
.feature h3 { margin: 0 0 4px; font-size: 17px; }
.feature p { margin: 0; color: #687689; font-size: 14px; }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); background: rgba(255,255,255,.12); }
.process-step { min-height: 250px; padding: 30px; background: #0a2138; }
.process-step .num { color: #5ab5f6; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.process-step h3 { margin: 52px 0 10px; font-size: 19px; }
.process-step p { margin: 0; color: #9eb0c3; font-size: 14px; }

.cta-panel { display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; padding: 54px; border-radius: 24px; color: #fff; background: linear-gradient(125deg, #0b477f, #176cb0); box-shadow: var(--shadow-lg); }
.cta-panel h2 { margin: 10px 0 15px; color: #fff; }
.cta-panel p { margin: 0; color: #d5e8f8; }
.cta-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px; }
.cta-actions .button-primary { border-color: #fff; background: #fff; color: var(--blue-deep); }
.cta-actions .button-ghost { border-color: rgba(255,255,255,.4); background: transparent; color: #fff; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.news-date { color: #7e8c9c; font-size: 12px; }
.news-card h3 { margin: 18px 0 12px; font-size: 20px; line-height: 1.4; }
.news-card p { color: #667487; font-size: 14px; }

.page-hero { padding: 90px 0 70px; overflow: hidden; background: linear-gradient(135deg, #f3f8fc, #e5f1fa); }
.page-hero .container { position: relative; }
.page-hero p { max-width: 700px; margin: 0; color: var(--ink-soft); font-size: 18px; }
.breadcrumbs { margin-bottom: 22px; color: #738196; font-size: 12px; }
.breadcrumbs a { color: var(--blue); }
.archive-layout { display: grid; grid-template-columns: 230px 1fr; gap: 44px; }
.filter-panel { align-self: start; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.filter-panel h3 { margin: 0 0 16px; font-size: 15px; }
.filter-panel a { display: block; padding: 9px 0; border-top: 1px solid #edf1f5; color: #59687a; font-size: 13px; }
.filter-panel a:hover { color: var(--blue); }
.archive-layout .product-grid { grid-template-columns: repeat(2, 1fr); }

.single-product { padding-block: 76px 105px; }
.product-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 70px; }
.product-gallery { display: grid; place-items: center; min-height: 460px; overflow: hidden; border-radius: 22px; background: linear-gradient(145deg, #e7f1f9, #f8fbfd); }
.product-gallery img { width: 100%; height: 460px; object-fit: cover; }
.product-gallery .product-card__device { transform: scale(1.55); }
.product-detail h1 { margin: 14px 0 16px; font-size: clamp(34px, 4vw, 53px); line-height: 1.13; }
.product-detail .lead { color: var(--ink-soft); font-size: 17px; }
.product-meta { display: grid; grid-template-columns: repeat(2, 1fr); margin: 28px 0; border: 1px solid var(--line); border-radius: 12px; }
.product-meta div { padding: 15px 17px; border-bottom: 1px solid var(--line); }
.product-meta div:nth-child(odd) { border-right: 1px solid var(--line); }
.product-meta div:nth-last-child(-n+2) { border-bottom: 0; }
.product-meta small { display: block; color: #8491a0; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.product-meta strong { display: block; margin-top: 3px; font-size: 13px; }
.product-content { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 70px; margin-top: 80px; padding-top: 70px; border-top: 1px solid var(--line); }
.prose { color: #344457; }
.prose h2, .prose h3 { color: var(--ink); line-height: 1.25; }
.prose h2 { margin-top: 0; font-size: 31px; }
.prose p { margin: 0 0 18px; }
.standard-page-grid { max-width: 980px; }
.standard-page-image { margin: 0 0 44px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--sky-soft); box-shadow: var(--shadow-sm); }
.standard-page-image img { width: 100%; max-height: 560px; object-fit: cover; }
.standard-page-content { max-width: 820px; font-size: 17px; }
.standard-page-content > :first-child { margin-top: 0; }
.section-content-cards .section-header { max-width: 820px; }
.content-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.content-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .25s, box-shadow .25s, border-color .25s; }
.content-card.has-link:hover { transform: translateY(-4px); border-color: rgba(21,90,154,.28); box-shadow: var(--shadow-lg); }
.content-card__link { display: block; height: 100%; }
.content-card__visual { display: grid; place-items: center; min-height: 210px; overflow: hidden; background: linear-gradient(145deg, #e4f0f9, #f8fbfe); }
.content-card__visual img { width: 100%; height: 230px; object-fit: cover; }
.content-card__icon { display: grid; place-items: center; width: 86px; height: 86px; border: 1px solid rgba(21,90,154,.18); border-radius: 24px; color: var(--blue); background: rgba(255,255,255,.72); box-shadow: 0 16px 36px rgba(13,63,116,.1); font-size: 22px; font-weight: 850; letter-spacing: .08em; }
.content-card__body { padding: 28px; }
.content-card__body h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.35; }
.content-card__body p { min-height: 52px; margin: 0 0 18px; color: #667487; font-size: 14px; }
.content-card__body .text-link { display: inline-block; font-size: 14px; }
.spec-panel { padding: 26px; border-radius: 16px; background: var(--sky-soft); }
.spec-panel h3 { margin-top: 0; }
.spec-panel ul { padding: 0; margin: 0; list-style: none; }
.spec-panel li { padding: 11px 0; border-top: 1px solid var(--line); font-size: 13px; }
.notice-box { margin-top: 20px; padding: 14px 16px; border-left: 3px solid var(--blue); background: #fff; color: #657387; font-size: 12px; }

.content-narrow { max-width: 820px; margin-inline: auto; }
.article-meta { margin: 12px 0 28px; color: #7c8999; font-size: 13px; }
.article-body { font-size: 17px; }
.article-body h2 { margin-top: 42px; }

.section-page-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; }
.section-page-grid aside { align-self: start; position: sticky; top: 110px; }
.section-page-grid aside h2 { margin-top: 10px; }
.detail-cards { display: grid; gap: 16px; }
.detail-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.detail-card h3 { margin: 0 0 8px; }
.detail-card p { margin: 0; color: #667487; }

.tc-rfq-form { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.tc-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.tc-form-grid label, .tc-consent { display: block; }
.tc-form-grid label span { display: block; margin-bottom: 6px; color: #425267; font-size: 12px; font-weight: 700; }
.tc-form-grid input, .tc-form-grid textarea { width: 100%; border: 1px solid #cfdbe6; border-radius: 8px; background: #fbfdff; color: var(--ink); outline: none; }
.tc-form-grid input { min-height: 45px; padding: 0 12px; }
.tc-form-grid textarea { padding: 10px 12px; resize: vertical; }
.tc-form-grid input:focus, .tc-form-grid textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21,90,154,.1); }
.tc-form-wide { grid-column: 1 / -1; }
.tc-consent { display: flex; gap: 9px; margin: 19px 0; color: #687689; font-size: 12px; }
.tc-consent input { margin-top: 5px; }
.tc-submit { border: 0; }
.tc-honeypot { position: absolute !important; left: -10000px !important; }
.tc-form-success { margin: 0 0 18px; padding: 14px 17px; border: 1px solid #bfe4d8; border-radius: 8px; background: #edf9f5; color: #11654f; }

.site-footer { padding: 70px 0 24px; color: #b3c1d0; background: #07192b; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .8fr 1.1fr; gap: 45px; }
.site-footer h3 { margin: 0 0 16px; color: #fff; font-size: 13px; }
.site-footer a, .site-footer span { display: block; margin: 8px 0; font-size: 13px; }
.site-footer a:hover { color: #fff; }
.site-footer p { margin: 8px 0; color: #91a4b7; font-size: 13px; }
.footer-name { color: #fff; font-size: 19px; font-weight: 750; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom span { margin: 0; color: #72869a; font-size: 11px; }

.empty-state { padding: 55px; text-align: center; border: 1px dashed #cbd8e4; border-radius: var(--radius); color: #677587; }
.pagination { margin-top: 40px; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 38px; height: 38px; margin-right: 5px; border: 1px solid var(--line); border-radius: 7px; }
.pagination .current { color: #fff; border-color: var(--blue); background: var(--blue); }

@media (max-width: 1040px) {
    .primary-nav { gap: 18px; }
    .hero-inner { grid-template-columns: 1fr .78fr; gap: 36px; }
    .server-stack { width: 350px; }
    .visual-card.one { left: -30px; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .split { gap: 50px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .header-inner { min-height: 68px; }
    .nav-toggle { display: block; }
    .primary-nav { position: fixed; inset: 68px 0 auto; display: none; align-items: stretch; padding: 24px 20px 30px; border-top: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-lg); }
    .primary-nav.is-open { display: flex; flex-direction: column; gap: 0; }
    .primary-nav > .nav-link, .nav-group > .nav-link { padding: 12px 4px; border-bottom: 1px solid var(--line); }
    .primary-nav > .nav-link::after, .nav-group > .nav-link::after { display: none; }
    .primary-nav .nav-rfq { margin-top: 16px; padding: 12px; text-align: center; }
    .nav-group { display: grid; grid-template-columns: minmax(0,1fr) 44px; }
    .nav-group > .nav-link { grid-column: 1; }
    .nav-group > .nav-rfq { margin-top: 16px; }
    .submenu-toggle { grid-column: 2; grid-row: 1; width: 44px; height: 100%; margin: 0; border-bottom: 1px solid var(--line); }
    .submenu { position: static; grid-column: 1 / -1; display: none; min-width: 0; margin: 0; padding: 7px 0 9px 16px; visibility: visible; opacity: 1; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; transform: none; transition: none; }
    .nav-group.is-open .submenu { display: grid; }
    .submenu-link { padding: 9px 12px; white-space: normal; }
    .language-switch { margin: 18px 0 0; padding: 0; border: 0; }
    body.nav-open { overflow: hidden; }
    .hero, .hero-inner { min-height: auto; }
    .hero-inner { grid-template-columns: 1fr; padding-block: 72px 105px; }
    .hero-visual { min-height: 390px; }
    .server-stack { left: 50%; right: auto; transform: translate(-50%, -50%) perspective(1200px) rotateY(-7deg); }
    .trust-inner { grid-template-columns: repeat(2, 1fr); }
    .trust-item:nth-child(2) { border-right: 0; }
    .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .section { padding-block: 78px; }
    .section-header { align-items: flex-start; flex-direction: column; gap: 16px; }
    .split, .product-hero, .section-page-grid { grid-template-columns: 1fr; gap: 45px; }
    .section-page-grid aside { position: static; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-panel { grid-template-columns: 1fr; gap: 30px; padding: 40px; }
    .cta-actions { justify-content: flex-start; }
    .archive-layout { grid-template-columns: 1fr; }
    .filter-panel { display: none; }
    .product-content { grid-template-columns: 1fr; gap: 35px; }
}

@media (max-width: 620px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .brand-copy strong { font-size: 16px; }
    .brand-copy small { font-size: 8px; }
    .brand-logo { width: 62px; }
    .hero h1 { font-size: 40px; }
    .hero-lead { font-size: 16px; }
    .hero-visual { min-height: 330px; }
    .server-stack { width: 300px; }
    .server-unit { height: 70px; }
    .visual-card.one { left: 0; top: 38px; }
    .visual-card.two { right: 0; bottom: 36px; }
    .trust-strip { margin-top: -22px; }
    .trust-inner { grid-template-columns: 1fr; }
    .trust-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 17px 20px; }
    .trust-item:last-child { border-bottom: 0; }
    .category-grid, .product-grid, .archive-layout .product-grid, .news-grid, .process-grid { grid-template-columns: 1fr; }
    .category-card { min-height: 205px; }
    .capability-visual { min-height: 390px; }
    .cta-panel { padding: 30px 24px; }
    .product-gallery { min-height: 330px; }
    .product-gallery .product-card__device { transform: scale(1.18); }
    .product-meta { grid-template-columns: 1fr; }
    .product-meta div, .product-meta div:nth-child(odd), .product-meta div:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--line); }
    .product-meta div:last-child { border-bottom: 0; }
    .tc-rfq-form { padding: 23px; }
    .tc-form-grid { grid-template-columns: 1fr; }
    .tc-form-wide { grid-column: auto; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; }
}
