/*
Theme Name: JINKAITE
Theme URI: https://jinkaite.com
Author: JINKAITE
Description: Engineering-led WordPress theme for JINKAITE power T&D products.
Version: 1.0.0
Text Domain: jinkaite
*/

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --ink: #082f5c;
  --blue: #087fc2;
  --blue-dark: #005e9e;
  --ice: #edf8fe;
  --ice-soft: #f5fbfe;
  --line: #c5dce9;
  --muted: #4e6e89;
  --gold: #e8a52d;
  --red: #e54f4a;
  --white: #fff;
  --shadow: 0 18px 44px rgba(18, 78, 118, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: 'Manrope', 'Segoe UI', sans-serif; font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
.jk-container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.jk-utility { display: flex; justify-content: space-between; gap: 20px; padding: 7px max(24px, calc((100vw - 1180px) / 2)); color: #fff; background: var(--blue); font-size: 12px; font-weight: 700; }
.jk-utility div { display: flex; flex-wrap: wrap; gap: 20px; }
.jk-header { display: flex; align-items: center; gap: 28px; min-height: 104px; width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.jk-logo { flex: 0 0 220px; }
.jk-logo img { width: 82px; height: 58px; object-fit: contain; }
.jk-nav { margin-left: auto; font-size: 13px; font-weight: 700; white-space: nowrap; }
.jk-nav ul { display: flex; align-items: center; justify-content: flex-end; gap: 20px; margin: 0; padding: 0; list-style: none; }
.jk-nav a { padding: 8px 0; border-bottom: 2px solid transparent; }
.jk-nav a:hover, .jk-nav a:focus-visible { border-color: var(--blue); }
.jk-header-cta, .jk-button { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; padding: 11px 19px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.jk-header-cta:hover, .jk-button:hover { background: var(--blue); border-color: var(--blue); }
.jk-button.secondary { border-color: var(--line); background: #fff; color: var(--ink); }
.jk-button.secondary:hover { border-color: var(--blue); color: var(--blue); }
.jk-hero { position: relative; min-height: 570px; overflow: hidden; background: var(--ice); }
.jk-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.jk-hero::after { position: absolute; inset: 0; background: rgba(238, 249, 255, .78); content: ""; }
.jk-hero-content { position: relative; z-index: 1; display: flex; align-items: center; min-height: 570px; }
.jk-hero-copy { max-width: 635px; padding: 45px 0; }
.jk-hero h1 { max-width: 620px; margin: 0 0 20px; font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-size: clamp(42px, 5.4vw, 75px); line-height: .98; letter-spacing: -.03em; text-transform: uppercase; }
.jk-hero h1 strong { color: var(--gold); }
.jk-hero p { max-width: 575px; margin: 0 0 28px; color: #234c6d; font-size: 18px; }
.jk-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.jk-stats { background: var(--ink); color: #fff; }
.jk-stats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; padding: 31px 0; }
.jk-stat { padding-right: 13px; border-right: 1px solid rgba(255,255,255,.25); }
.jk-stat:last-child { border-right: 0; }
.jk-stat strong { display: block; color: #fff; font-size: 28px; line-height: 1; }
.jk-stat span { display: block; margin-top: 7px; color: #b9d7ea; font-size: 12px; line-height: 1.35; }
.jk-section { padding: 92px 0; }
.jk-section.soft { background: var(--ice-soft); }
.jk-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.jk-section-head h2 { max-width: 650px; margin: 0; font-size: clamp(34px, 4vw, 52px); line-height: 1.02; letter-spacing: -.03em; text-transform: uppercase; }
.jk-section-head p { max-width: 460px; margin: 0; color: var(--muted); }
.jk-link { color: var(--blue); font-weight: 800; white-space: nowrap; }
.jk-product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.jk-product-card { overflow: hidden; border: 1px solid var(--line); background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.jk-product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.jk-product-card img { width: 100%; aspect-ratio: 1.25; object-fit: cover; background: #eaf3f7; }
.jk-product-card-body { padding: 22px 20px 24px; }
.jk-product-card h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.1; }
.jk-product-card p { min-height: 72px; margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.jk-product-card .jk-link { font-size: 13px; text-transform: uppercase; }
.jk-split { display: grid; grid-template-columns: 1.05fr .95fr; }
.jk-split-copy { padding: clamp(38px, 6vw, 78px); background: #f2f7fa; }
.jk-split-copy h2 { margin: 0 0 19px; font-size: clamp(34px, 4vw, 54px); line-height: 1; text-transform: uppercase; }
.jk-split-copy p { max-width: 570px; color: var(--muted); }
.jk-split-media { min-height: 430px; }
.jk-split-media img { width: 100%; height: 100%; object-fit: cover; }
.jk-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.jk-why-card { border: 1px solid var(--line); background: #fff; }
.jk-why-card img { width: 100%; aspect-ratio: 1.45; object-fit: cover; }
.jk-why-body { padding: 21px 20px 24px; }
.jk-why-body h3 { min-height: 48px; margin: 0 0 9px; font-size: 19px; line-height: 1.15; }
.jk-why-body p { margin: 0; color: var(--muted); font-size: 14px; }
.jk-route { padding: 78px 0; background: var(--blue); color: #fff; }
.jk-route-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.jk-route h2 { max-width: 710px; margin: 0; font-size: clamp(31px, 4vw, 53px); line-height: 1.03; text-transform: uppercase; }
.jk-route .jk-button { border-color: #fff; background: #fff; color: var(--ink); }
.jk-route .jk-button:hover { background: var(--gold); border-color: var(--gold); }
.jk-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.jk-blog-card { overflow: hidden; border: 1px solid var(--line); background: #fff; }
.jk-blog-card img { width: 100%; aspect-ratio: 1.7; object-fit: cover; }
.jk-blog-body { padding: 20px 20px 23px; }
.jk-blog-body small { color: var(--blue); font-weight: 800; text-transform: uppercase; }
.jk-blog-body h3 { margin: 10px 0 13px; font-size: 22px; line-height: 1.15; }
.jk-blog-body p { margin: 0; color: var(--muted); font-size: 14px; }
.jk-footer { color: #d9ebf6; background: #07264a; }
.jk-footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; padding: 70px 0 48px; }
.jk-footer img { width: 84px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.jk-footer h2 { margin: 0 0 17px; color: #fff; font-size: 14px; text-transform: uppercase; }
.jk-footer p, .jk-footer a { color: #b7d1e1; font-size: 14px; }
.jk-footer-nav { display: grid; align-content: start; gap: 9px; }
.jk-footer-form label { display: block; margin-bottom: 10px; }
.jk-footer-form label span { display: block; margin-bottom: 4px; color: #b7d1e1; font-size: 12px; }
.jk-footer-form input, .jk-footer-form textarea { width: 100%; padding: 9px 10px; border: 1px solid #315879; background: #0d335c; color: #fff; }
.jk-footer-form .jk-button { margin-top: 4px; border-color: var(--gold); background: var(--gold); }
.jk-footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0 27px; border-top: 1px solid #315879; font-size: 12px; }
.jk-footer-bottom div { display: flex; gap: 16px; }
.jk-page-intro { padding: 82px 0 73px; background: var(--ice); }
.jk-page-intro h1 { max-width: 840px; margin: 0 0 15px; font-size: clamp(42px, 5vw, 70px); line-height: .98; letter-spacing: -.03em; text-transform: uppercase; }
.jk-page-intro p { max-width: 690px; margin: 0; color: var(--muted); font-size: 18px; }
.jk-entry { max-width: 820px; margin: 0 auto; padding: 65px 0 100px; }
.jk-entry h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.02; }
.jk-entry h2 { margin-top: 42px; font-size: 31px; }
.jk-entry p, .jk-entry li { color: #315571; font-size: 17px; }
.jk-listing { padding: 70px 0 100px; }
.jk-listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.jk-listing-card { overflow: hidden; border: 1px solid var(--line); background: #fff; }
.jk-listing-card img { width: 100%; aspect-ratio: 1.65; object-fit: cover; background: var(--ice); }
.jk-listing-card > div { padding: 21px; }
.jk-listing-card h2 { margin: 9px 0 11px; font-size: 25px; line-height: 1.12; }
.jk-listing-card p { margin: 0; color: var(--muted); font-size: 14px; }
.jk-product-archive .products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; }
.jk-product-archive .products::before, .jk-product-archive .products::after { display: none; }
.jk-product-archive .products li.product { width: auto; margin: 0; padding: 0; border: 1px solid var(--line); background: #fff; }
.jk-product-archive .products li.product a img { width: 100%; margin: 0 0 16px; }
.jk-product-archive .products li.product .woocommerce-loop-product__title, .jk-product-archive .products li.product .price { padding: 0 18px; }
.jk-product-archive .products li.product .button { margin: 16px 18px 20px; border-radius: 0; background: var(--ink); color: #fff; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
@media (max-width: 1040px) { .jk-nav ul { gap: 12px; } .jk-header { gap: 14px; } .jk-logo { flex-basis: 130px; } .jk-product-grid, .jk-why-grid { grid-template-columns: repeat(2, 1fr); } .jk-stats-grid { grid-template-columns: repeat(3, 1fr); } .jk-stat:nth-child(3) { border-right: 0; } .jk-footer-main { grid-template-columns: repeat(2, 1fr); } .jk-listing-grid, .jk-product-archive .products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .jk-container { width: min(100% - 36px, 540px); } .jk-utility, .jk-header { width: calc(100% - 36px); } .jk-utility { display: none; } .jk-header { min-height: 82px; } .jk-logo { flex: 1; } .jk-nav, .jk-header-cta { display: none; } .jk-header::after { width: 30px; height: 20px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); content: ""; } .jk-header::before { position: absolute; right: 36px; width: 30px; height: 2px; background: var(--ink); content: ""; } .jk-hero, .jk-hero-content { min-height: 620px; } .jk-hero::after { background: rgba(238, 249, 255, .84); } .jk-hero h1 { font-size: 48px; } .jk-section { padding: 65px 0; } .jk-section-head, .jk-route-inner { display: block; } .jk-section-head .jk-link, .jk-route .jk-button { display: inline-flex; margin-top: 18px; } .jk-product-grid, .jk-why-grid, .jk-blog-grid, .jk-split, .jk-footer-main, .jk-listing-grid, .jk-product-archive .products { grid-template-columns: 1fr; } .jk-stats-grid { grid-template-columns: repeat(2, 1fr); } .jk-stat:nth-child(3) { border-right: 1px solid rgba(255,255,255,.25); } .jk-stat:nth-child(even) { border-right: 0; } .jk-split-media { min-height: 280px; order: -1; } .jk-footer-bottom { display: block; } .jk-footer-bottom div { margin-top: 12px; } }
