/* =========================================================================
   HCD Electronics — main.css
   Brand: deep navy / teal / gold, industrial B2B look
   ========================================================================= */
:root {
	--navy-900: #071c33;
	--navy-800: #0b2a4a;
	--navy-700: #123a63;
	--teal: #17a398;
	--teal-600: #0f8a80;
	--teal-soft: #e3f4f2;
	--gold: #e0b94f;
	--gold-600: #c9a23c;
	--ink: #16283a;
	--muted: #5a6b7d;
	--line: #e3eaf1;
	--bg: #f5f8fb;
	--white: #fff;
	--radius: 10px;
	--radius-sm: 8px;
	--shadow: 0 2px 10px rgba(11, 42, 74, 0.06);
	--shadow-lg: 0 10px 30px rgba(11, 42, 74, 0.12);
	--font: "Inter", "SF Pro Text", -apple-system, "Segoe UI", system-ui, Roboto, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink);
	background: var(--white);
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-600); text-decoration: none; }
a:hover { color: var(--teal); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.6em; letter-spacing: -0.01em; color: var(--navy-800); font-weight: 800; }
h1 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 22px;
	border-radius: var(--radius-sm);
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1.2;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
	white-space: nowrap;
}
.btn:hover { transform: none; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--teal-600); color: #fff; }
.btn-primary:hover { color: #fff; background: #0d7a71; }
.btn-gold { background: var(--gold); color: #21301f; }
.btn-gold:hover { color: #16283a; background: var(--gold-600); }
.btn-outline { border-color: var(--navy-800); color: var(--navy-800); background: transparent; }
.btn-outline:hover { background: var(--navy-800); color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.55); color: #fff; background: transparent; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn-ghost { border-color: var(--teal); color: var(--teal-600); background: transparent; }
.btn-ghost:hover { background: var(--teal); color: #fff; }
.btn-wa { background: #25d366; color: #07321a; }
.btn-wa:hover { color: #05240f; background: #1fc95e; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: rgba(255, 255, 255, 0.78); font-size: 0.8rem; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; min-height: 36px; gap: 12px; }
.topbar a { color: rgba(255, 255, 255, 0.82); display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar-l { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.topbar-sep { width: 1px; height: 12px; background: rgba(255, 255, 255, 0.25); }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; }
.lang { padding: 1px 6px; border-radius: 6px; font-weight: 700; letter-spacing: 0.04em; }
.lang.cur { background: rgba(23, 163, 152, 0.28); color: #fff; }
.lang-sep { opacity: 0.4; }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
	transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(11, 42, 74, 0.08); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { display: inline-flex; gap: 3px; }
.brand-mark i { width: 7px; height: 30px; border-radius: 3px; display: inline-block; }
.brand-mark i:first-child { background: var(--teal-600); }
.brand-mark i:last-child { background: var(--gold); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; color: var(--navy-800); }
.brand-text strong { font-size: 1.2rem; font-weight: 800; letter-spacing: 0.02em; }
.brand-text small { font-size: 0.62rem; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }
.brand-foot { margin-bottom: 14px; }
.brand-foot .brand-text strong { color: #fff; }
.brand-foot .brand-text small { color: rgba(255, 255, 255, 0.6); }

.main-nav .menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav .menu > li { position: relative; }
.main-nav .menu > li > a {
	display: block;
	padding: 10px 13px;
	color: var(--ink);
	font-weight: 600;
	font-size: 0.95rem;
	border-radius: 8px;
}
.main-nav .menu > li > a:hover,
.main-nav .menu > li.current-menu-item > a,
.main-nav .menu > li.current_page_item > a { color: var(--teal-600); background: var(--teal-soft); }
.main-nav .sub-menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	min-width: 280px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-lg);
	list-style: none;
	margin: 0;
	padding: 8px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: all 0.18s ease;
}
.main-nav li.menu-item-has-children:hover > .sub-menu,
.main-nav li.menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .sub-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-size: 0.92rem; font-weight: 500; }
.main-nav .sub-menu a:hover { background: var(--bg); color: var(--teal-600); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-burger span { width: 24px; height: 2.5px; border-radius: 2px; background: var(--navy-800); transition: all 0.2s ease; }
.nav-burger.is-active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger.is-active span:nth-child(2) { opacity: 0; }
.nav-burger.is-active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.nav-cta-m { display: none; margin: 10px 13px 14px; }

/* ---------- Banner (immersive slider) ---------- */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.banner { position: relative; background: var(--navy-900); overflow: hidden; }
.banner-slides { position: relative; height: clamp(480px, 68vh, 640px); }
.banner-slide {
	position: absolute;
	inset: 0;
	background-color: var(--navy-900);
	background-size: cover;
	background-position: center right;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.7s ease, visibility 0.7s ease;
}
.banner-slide.is-active { opacity: 1; visibility: visible; }
.banner-copy { max-width: 660px; padding: 40px 0; }
.banner-copy h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.6rem); margin-bottom: 16px; }
.banner-sub { color: rgba(255, 255, 255, 0.82); font-size: 1.02rem; max-width: 54ch; margin-bottom: 26px; }
.banner-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.banner-badges { color: rgba(255, 255, 255, 0.62); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; margin: 0; }
.banner-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: rgba(7, 28, 51, 0.45);
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s ease;
}
.banner-arrow:hover { background: rgba(23, 163, 152, 0.75); }
.banner-arrow.prev { left: 18px; }
.banner-arrow.next { right: 18px; }
.banner-dots {
	position: absolute;
	bottom: 22px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 5;
	display: flex;
	gap: 10px;
}
.banner-dot {
	width: 28px;
	height: 3px;
	border: 0;
	padding: 0;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.35);
	cursor: pointer;
}
.banner-dot.is-active { background: #fff; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg); }
.section-dark { background: var(--navy-800); color: rgba(255, 255, 255, 0.85); }
.section-dark h2, .section-dark h3 { color: #fff; }
.sec-head { max-width: 780px; margin-bottom: 44px; }
.sec-head h2 { margin-bottom: 12px; }
.overline { color: var(--teal-600); font-weight: 700; letter-spacing: 0.14em; font-size: 0.74rem; text-transform: uppercase; margin-bottom: 12px; }
.overline-light { color: var(--teal); }
.lead { color: var(--muted); font-size: 1.02rem; }
.lead-light { color: rgba(255, 255, 255, 0.75); }
.h-light { color: #fff; }
.sec-more { margin-top: 36px; text-align: center; }

/* ---------- Stats ---------- */
.stats-band { padding: 0; }
.stats-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	transform: translateY(-46px);
	margin-bottom: -46px;
}
.stat {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	text-align: center;
	padding: 26px 18px 22px;
}
.stat strong { display: block; font-size: 2.6rem; font-weight: 800; color: var(--teal-600); line-height: 1.1; }
.stat span { color: var(--muted); font-weight: 600; font-size: 0.92rem; }
.stats-grid-light { transform: none; margin: 40px 0 0; }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	color: inherit;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: inherit; }
.cat-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-800); }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.cat-card:hover .cat-img img { transform: scale(1.05); }
.cat-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cat-body h2, .cat-body h3 { margin-bottom: 6px; }
.cat-body h2 a, .cat-body h3 a { color: var(--navy-800); }
.cat-body p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.cat-card-lg { grid-template-columns: 1fr; }
.more-link { color: var(--teal-600); font-weight: 700; font-size: 0.92rem; }
.subcats { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }

/* ---------- Chips ---------- */
.chip {
	display: inline-block;
	background: var(--teal-soft);
	color: var(--teal-600);
	border-radius: 999px;
	padding: 3px 12px;
	font-size: 0.78rem;
	font-weight: 700;
}
.chip-lg { padding: 9px 20px; font-size: 0.92rem; }
.chips-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }

/* ---------- Grid helpers ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---------- Feature / app cards ---------- */
.feature-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px 24px;
	box-shadow: var(--shadow);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon { display: flex; gap: 4px; margin-bottom: 16px; }
.card-icon {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background: var(--teal-soft);
	color: var(--teal-600);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}
.card-icon-dark { background: rgba(23, 163, 152, 0.16); color: #5cd0c5; }
.feature-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

.app-card {
	background: #0f2f52;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--radius);
	padding: 26px 22px;
	transition: border-color 0.2s ease;
}
.app-card:hover { border-color: rgba(23, 163, 152, 0.6); }
.app-card p { color: rgba(255, 255, 255, 0.72); font-size: 0.92rem; margin: 0; }

.solution-card {
	position: relative;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 30px 24px 24px;
	box-shadow: var(--shadow);
}
.sol-num {
	position: absolute;
	top: 18px;
	right: 22px;
	font-size: 2rem;
	font-weight: 800;
	color: var(--teal-soft);
	-webkit-text-stroke: 1px rgba(23, 163, 152, 0.4);
	line-height: 1;
}
.solution-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

.cert-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 22px;
	text-align: center;
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
	gap: 4px;
	justify-content: center;
}
.cert-card strong { color: var(--navy-800); font-size: 1.05rem; }
.cert-card span { color: var(--muted); font-size: 0.85rem; }

/* ---------- CTA band ---------- */
.cta-band {
	background: var(--navy-900);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	color: #fff;
	padding: 66px 0;
}
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-in h2 { color: #fff; margin-bottom: 8px; }
.cta-in p { color: rgba(255, 255, 255, 0.75); margin: 0; }
.cta-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
	background: var(--navy-800);
	color: #fff;
	padding: 56px 0 60px;
}
.page-hero h1 { color: #fff; margin: 10px 0 8px; }
.page-hero p { color: rgba(255, 255, 255, 0.75); max-width: 68ch; margin: 0; }
.page-hero-split { padding: 52px 0 56px; }
.hero-split-in { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.page-hero-img img { border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: var(--shadow-lg); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.page-hero-slim { padding: 40px 0 44px; }
.page-hero .hero-cta { margin: 18px 0 0; }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: 0.82rem; color: rgba(255, 255, 255, 0.65); margin-bottom: 6px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.crumbs a { color: rgba(255, 255, 255, 0.85); }
.crumbs a:hover { color: #fff; }
.crumbs span { color: rgba(255, 255, 255, 0.55); }
.crumb-sep { font-style: normal; opacity: 0.5; }

/* ---------- Content ---------- */
.entry-content { color: var(--ink); font-size: 1rem; }
.entry-content h2 { margin-top: 1.4em; }
.entry-content h3 { margin-top: 1.2em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: 0.4em; }
.entry-content img { border-radius: var(--radius-sm); }
.about-entry { max-width: 860px; }

/* ---------- Product cards ---------- */
.prod-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.prod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.prod-card-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg); }
.prod-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.prod-card:hover .prod-card-img img { transform: scale(1.05); }
.prod-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.prod-card-text .prod-card-body { padding: 24px 24px 26px; gap: 10px; border-top: 3px solid var(--teal-600); }
.prod-card-body .chip { align-self: flex-start; }
.prod-card-body h3 { margin: 0; }
.prod-card-body h3 a { color: var(--navy-800); }
.prod-card-body h3 a:hover { color: var(--teal-600); }
.prod-card-body p { color: var(--muted); font-size: 0.9rem; flex: 1; margin: 0; }

/* ---------- Post cards ---------- */
.post-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.post-card-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-800); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.post-card:hover .post-card-img img { transform: scale(1.05); }
.post-card-body { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-date { color: var(--muted); font-size: 0.8rem; font-weight: 600; }
.post-card-body h3 { margin: 0; font-size: 1.08rem; }
.post-card-body h3 a { color: var(--navy-800); }
.post-card-body h3 a:hover { color: var(--teal-600); }
.post-card-body p { color: var(--muted); font-size: 0.9rem; flex: 1; margin: 0; }

/* ---------- Placeholders ---------- */
.img-placeholder {
	width: 100%;
	height: 100%;
	min-height: 180px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 18px;
	background:
		radial-gradient(420px 200px at 80% 0%, rgba(23, 163, 152, 0.35), transparent 65%),
		radial-gradient(320px 200px at 10% 100%, rgba(224, 185, 79, 0.2), transparent 60%),
		var(--navy-700);
	color: rgba(255, 255, 255, 0.85);
	font-weight: 700;
	letter-spacing: 0.06em;
	font-size: 0.85rem;
}
.img-placeholder-lg { min-height: 320px; font-size: 1rem; }

/* ---------- Single product ---------- */
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.product-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; margin-bottom: 30px; }
.product-media img { width: 100%; }
.product-desc h1 { margin-bottom: 6px; }
.product-desc .muted { margin-bottom: 20px; }
.spec-block { margin-top: 34px; }
.spec-table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.spec-table th, .spec-table td { padding: 12px 16px; text-align: left; font-size: 0.94rem; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: 0; }
.spec-table tr:nth-child(odd) { background: var(--bg); }
.spec-table th { color: var(--muted); font-weight: 600; width: 38%; }
.product-side { position: sticky; top: 96px; }
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 26px 24px; }
.quote-card h3 { margin-bottom: 8px; }
.quote-card .muted { font-size: 0.9rem; }
.quote-card .btn { margin-bottom: 10px; }
.quote-points { list-style: none; margin: 16px 0 0; padding: 0; }
.quote-points li { position: relative; padding-left: 26px; margin-bottom: 8px; color: var(--muted); font-size: 0.9rem; }
.quote-points li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--teal-soft);
	color: var(--teal-600);
	font-size: 0.72rem;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 4px;
}

/* ---------- Downloads ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.dl-item {
	display: flex;
	align-items: center;
	gap: 14px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 16px 18px;
	color: inherit;
	transition: border-color 0.15s ease;
}
.dl-item:hover { border-color: var(--teal); color: inherit; }
.dl-badge {
	flex: 0 0 auto;
	width: 52px;
	height: 40px;
	border-radius: 6px;
	background: var(--navy-800);
	color: #fff;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	display: flex;
	align-items: center;
	justify-content: center;
}
.dl-name { flex: 1 1 auto; font-weight: 600; font-size: 0.94rem; color: var(--navy-800); }
.dl-cta { flex: 0 0 auto; color: var(--teal-600); font-weight: 700; font-size: 0.85rem; white-space: nowrap; }
@media (max-width: 860px) { .dl-grid { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow); }
.step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--teal), var(--teal-600));
	color: #fff;
	font-weight: 800;
	font-size: 1.1rem;
	margin-bottom: 14px;
	box-shadow: 0 8px 18px rgba(23, 163, 152, 0.3);
}
.step-card p { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* ---------- Sample / contact layouts ---------- */
.sample-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.contact-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.card-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 28px; }
.card-form h2 { margin-bottom: 18px; font-size: 1.4rem; }
.contact-list { list-style: none; margin: 20px 0 0; padding: 0; }
.contact-list li { display: flex; gap: 14px; margin-bottom: 20px; }
.ci-icon {
	flex: 0 0 42px;
	height: 42px;
	border-radius: 12px;
	background: var(--teal-soft);
	color: var(--teal-600);
	display: flex;
	align-items: center;
	justify-content: center;
}
.contact-list strong { display: block; font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 2px; }
.contact-extra { margin-top: 26px; }

/* ---------- Single post ---------- */
.post-header .chip { margin-bottom: 12px; }
.post-meta { color: var(--muted); font-size: 0.9rem; }
.post-thumb { margin: 0 0 30px; }
.post-thumb img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.post-tags a { margin-right: 8px; margin-bottom: 8px; display: inline-block; }
.post-tags { margin-top: 30px; }

/* ---------- Pagination ---------- */
.pagination-wrap { margin-top: 44px; text-align: center; }
.pagination-wrap .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	margin: 0 4px;
	border-radius: 10px;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--ink);
	font-weight: 600;
}
.pagination-wrap .page-numbers.current { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }
.pagination-wrap .page-numbers:hover:not(.current) { border-color: var(--teal); color: var(--teal-600); }

/* ---------- Forms (Contact Form 7) ---------- */
.wpcf7 form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 14px; }
.wpcf7 form > p { margin: 0; grid-column: span 2; display: flex; flex-direction: column; gap: 6px; }
.wpcf7 form > p:nth-of-type(1), .wpcf7 form > p:nth-of-type(2) { grid-column: span 1; }
.wpcf7 form > p:nth-of-type(8) { grid-column: span 2; }
.wpcf7 label { font-size: 0.86rem; font-weight: 600; color: var(--navy-800); }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 select,
.wpcf7 textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-sm);
	font-family: inherit;
	font-size: 0.95rem;
	color: var(--ink);
	background: #fff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.wpcf7 textarea { min-height: 120px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus {
	outline: none;
	border-color: var(--teal);
	box-shadow: 0 0 0 3px rgba(23, 163, 152, 0.15);
}
.wpcf7-submit {
	grid-column: span 2;
	justify-self: start;
	background: linear-gradient(135deg, var(--teal), var(--teal-600));
	color: #fff;
	border: 0;
	border-radius: var(--radius-sm);
	padding: 13px 30px;
	font-weight: 700;
	font-size: 0.98rem;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(23, 163, 152, 0.32);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.wpcf7-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(23, 163, 152, 0.42); }
.wpcf7-not-valid-tip { color: #c0392b; font-size: 0.8rem; }
.wpcf7 input.wpcf7-not-valid, .wpcf7 textarea.wpcf7-not-valid { border-color: #c0392b; }
.wpcf7-response-output {
	margin: 14px 0 0 !important;
	padding: 12px 16px !important;
	border-radius: var(--radius-sm) !important;
	font-size: 0.9rem;
	border-width: 1.5px !important;
}
.wpcf7-spinner { visibility: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, 0.72); margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding: 64px 24px 48px; }
.foot-col h4 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 18px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin-bottom: 10px; }
.foot-col a { color: rgba(255, 255, 255, 0.72); }
.foot-col a:hover { color: #fff; }
.foot-about p { font-size: 0.92rem; line-height: 1.75; }
.foot-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.foot-badges span {
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	padding: 3px 12px;
	font-size: 0.72rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.7);
}
.foot-contact li { display: flex; align-items: flex-start; gap: 10px; }
.foot-contact svg { flex: 0 0 auto; margin-top: 4px; color: var(--teal); }
.foot-bar { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.foot-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; min-height: 54px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.5); }
.foot-bar a { color: rgba(255, 255, 255, 0.6); }

/* ---------- Cookie banner ---------- */
.cookie-banner {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 130;
	background: var(--navy-900);
	border-top: 2px solid var(--teal-600);
	color: rgba(255, 255, 255, 0.85);
	box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.25);
	transform: translateY(100%);
	visibility: hidden;
	transition: transform 0.3s ease, visibility 0.3s ease;
}
.cookie-banner.is-visible { transform: translateY(0); visibility: visible; }
.cookie-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 16px; padding-bottom: 16px; }
.cookie-text { margin: 0; font-size: 0.9rem; display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, 0.85); }
.cookie-text svg { flex: 0 0 auto; color: var(--teal); }
.cookie-text a { color: #fff; text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex: 0 0 auto; }
.cookie-btns .btn { padding: 9px 22px; font-size: 0.9rem; }
.foot-bar-links { display: inline-flex; align-items: center; gap: 10px; }
.foot-sep { opacity: 0.4; }
.cookie-settings-link {
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	color: rgba(255, 255, 255, 0.6);
	cursor: pointer;
}
.cookie-settings-link:hover { color: #fff; }
@media (max-width: 860px) {
	.cookie-in { flex-direction: column; align-items: flex-start; gap: 12px; }
	.cookie-btns { width: 100%; }
	.cookie-btns .btn { flex: 1; }
}

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 120; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.wa-btn {
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
	position: relative;
	transition: transform 0.18s ease;
}
.wa-btn:hover { transform: none; color: #fff; }
.wa-popup {
	width: 300px;
	background: #fff;
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	border: 1px solid var(--line);
	padding: 18px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px) scale(0.97);
	transform-origin: bottom right;
	transition: all 0.25s ease;
	position: relative;
}
.wa-popup.is-visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.wa-popup-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; color: var(--navy-800); }
.wa-avatar {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}
.wa-popup p { font-size: 0.88rem; color: var(--muted); margin-bottom: 14px; }
.wa-popup-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #25d366;
	color: #fff;
	font-weight: 700;
	border-radius: 999px;
	padding: 10px 18px;
	font-size: 0.9rem;
}
.wa-popup-btn:hover { background: #1fc95e; color: #fff; }
.wa-close {
	position: absolute;
	top: 8px;
	right: 10px;
	background: none;
	border: 0;
	font-size: 1.3rem;
	line-height: 1;
	color: var(--muted);
	cursor: pointer;
	padding: 4px;
}
.wa-close:hover { color: var(--ink); }

/* ---------- Reveal (disabled for a sober, static look) ---------- */
.reveal { opacity: 1; transform: none; }

/* ---------- About image row ---------- */
.about-imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 30px 0 10px; }
.about-imgs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); box-shadow: var(--shadow); }
@media (max-width: 640px) { .about-imgs { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.nf-page { padding: 110px 0; }
.nf-page h1 { color: var(--navy-800); }
.nf-page .btn { margin: 0 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.banner-slides { height: clamp(440px, 56vh, 560px); }
	.banner-slide { background-position: center; }
	.grid-4 { grid-template-columns: repeat(2, 1fr); }
	.cat-grid { grid-template-columns: repeat(2, 1fr); }
	.foot-grid { grid-template-columns: 1fr 1fr; }
	.product-layout { grid-template-columns: 1fr; }
	.product-side { position: static; }
	.steps-grid { grid-template-columns: repeat(2, 1fr); }
	.sample-layout, .contact-layout { grid-template-columns: 1fr; }
	.hero-split-in { grid-template-columns: 1fr; }
	.page-hero-img { max-width: 560px; }
}

@media (max-width: 860px) {
	.header-cta .btn { display: none; }
	.nav-burger { display: flex; }
	.main-nav {
		position: fixed;
		top: 0;
		right: 0;
		width: min(320px, 86vw);
		height: 100vh;
		background: #fff;
		box-shadow: var(--shadow-lg);
		transform: translateX(100%);
		transition: transform 0.25s ease;
		z-index: 100;
		overflow-y: auto;
		padding-top: 18px;
	}
	.main-nav.is-open { transform: translateX(0); }
	.main-nav .menu { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 16px; }
	.main-nav .menu > li > a { padding: 13px 22px; border-radius: 0; }
	.main-nav .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		border-left: 2px solid var(--teal-soft);
		margin: 0 0 6px 22px;
		padding: 4px 0;
		border-radius: 0;
	}
	.nav-cta-m { display: inline-flex; }
	.grid-3 { grid-template-columns: 1fr; }
	.section { padding: 60px 0; }
	.banner-slides { height: 520px; }
	.banner-copy { padding: 32px 0; }
	.banner-arrow { display: none; }
}

@media (max-width: 640px) {
	.grid-2, .grid-4, .cat-grid, .steps-grid, .foot-grid { grid-template-columns: 1fr; }
	.topbar-l .topbar-loc { display: none; }
	.stats-grid { grid-template-columns: 1fr; gap: 12px; transform: translateY(-36px); margin-bottom: -36px; }
	.wa-popup { width: min(300px, calc(100vw - 44px)); }
	.wpcf7 form { grid-template-columns: 1fr; }
	.wpcf7 form > p { grid-column: span 1; }
	.wpcf7 form > p:nth-of-type(8) { grid-column: span 1; }
	.cta-in { flex-direction: column; align-items: flex-start; }
	.entry-content { font-size: 0.97rem; }
}

/* Thank-you page (hidden, post-submit) */
.ty-section { display: flex; align-items: center; min-height: 56vh; }
.ty-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 56px 40px; text-align: center; max-width: 720px; margin: 0 auto; }
.ty-icon { font-size: 44px; line-height: 1; margin-bottom: 18px; }
.ty-title { font-size: 1.9rem; margin-bottom: 14px; }
.ty-body { color: var(--muted); font-size: 1.05rem; }
.ty-body p { margin-bottom: 10px; }
.ty-body a { color: var(--teal-600); font-weight: 600; }
.ty-actions { margin-top: 28px; }
@media (max-width: 640px) { .ty-card { padding: 40px 22px; } .ty-title { font-size: 1.5rem; } }

/* Technical Resources page */
.res-intro { margin-bottom: 20px; }
.res-more { margin-top: 32px; }

/* =========================================================================
   Industry Applications (v1.2.0) — 3rd-level nav flyout, area cards,
   scenario chips and compatible-series accordions
   ========================================================================= */
.main-nav .sub-menu .menu-item-has-children { position: relative; }
.main-nav .sub-menu .sub-menu { top: -9px; left: calc(100% - 6px); min-width: 230px; }

.app-area-card { display: block; }
.app-area-card .more-link { display: inline-block; margin-top: 14px; color: var(--teal-600); font-weight: 600; font-size: 0.9rem; }
.app-area-card:hover h3 { color: var(--teal-600); }

.app-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.app-chips .chip {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	background: var(--teal-soft);
	border: 1px solid rgba(23, 163, 152, 0.22);
	border-radius: 999px;
	color: var(--teal-600);
	font-weight: 600;
	font-size: 0.9rem;
}

.app-acc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.app-acc {
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
}
.app-acc summary {
	list-style: none;
	cursor: pointer;
	user-select: none;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 16px;
	color: var(--navy-700);
	font-weight: 700;
	font-size: 0.98rem;
	border-radius: var(--radius-sm);
}
.app-acc summary::-webkit-details-marker { display: none; }
.app-acc summary::before { content: "•"; color: var(--teal-600); }
.app-acc summary:hover { color: var(--teal-600); }
.app-acc .acc-t { flex: 1; }
.app-acc .acc-arrow { flex: 0 0 auto; color: var(--muted); transition: transform 0.2s ease; }
.app-acc[open] .acc-arrow { transform: rotate(180deg); }
.app-acc[open] summary { border-bottom: 1px solid var(--line); }
.app-acc .acc-body { padding: 14px 18px 16px 28px; }
.app-acc .acc-series { list-style: none; margin: 0 0 12px; padding: 0; color: var(--muted); }
.app-acc .acc-series li { padding: 3px 0; font-size: 0.94rem; }
.app-acc .acc-key-label { display: block; color: var(--teal-600); font-weight: 700; font-size: 0.92rem; margin-bottom: 4px; }
.app-acc .acc-key-text { color: var(--ink); font-size: 0.94rem; }

@media (max-width: 860px) {
	.main-nav .sub-menu .sub-menu { margin-left: 18px; border-left-color: rgba(11, 42, 74, 0.08); }
	.app-acc-grid { grid-template-columns: 1fr; }
}
