/*
Theme Name: HPRO Alu
Description: Theme hiện đại cho website tấm Alu Nhôm Hàn Quốc — HPRO GROUP
Version: 1.0.0
Author: HPRO GROUP
Text Domain: hpro-alu
*/

:root {
	--bg: #f4f6f9;
	--surface: #ffffff;
	--text: #0f172a;
	--text-muted: #64748b;
	--primary: #1d4ed8;
	--primary-dark: #1e40af;
	--accent: #38bdf8;
	--dark: #0f172a;
	--dark-2: #1e293b;
	--border: rgba(15, 23, 42, 0.08);
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px rgba(15,23,42,.06);
	--shadow-lg: 0 20px 48px rgba(15,23,42,.12);
	--font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--font-display: "Instrument Sans", "DM Sans", sans-serif;
	--container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.03em; line-height: 1.2; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ─── Header ─── */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255,255,255,.78);
	backdrop-filter: saturate(160%) blur(16px);
	-webkit-backdrop-filter: saturate(160%) blur(16px);
	border-bottom: 1px solid transparent;
	transition: border-color .25s, box-shadow .25s, background .25s;
}
.site-header.is-scrolled {
	background: rgba(255,255,255,.92);
	border-color: rgba(15, 23, 42, 0.06);
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}
.site-header__inner {
	display: flex; align-items: center; gap: 20px;
	min-height: 64px;
}
.site-header__right {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 10px;
}
.site-brand {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	text-decoration: none;
	color: var(--text);
	flex-shrink: 0;
}
.site-brand__logo {
	display: block;
	width: auto;
	height: 38px;
	max-height: 38px;
	max-width: 200px;
	object-fit: contain;
	object-position: center;
	border-radius: 6px;
}

/* Header search */
.site-search {
	position: relative;
}
.site-search__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid rgba(15, 23, 42, 0.1);
	border-radius: 10px;
	background: #fff;
	color: #475569;
	cursor: pointer;
	transition: color .18s, border-color .18s, background .18s, box-shadow .18s;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.site-search__btn:hover,
.site-search.is-open .site-search__btn {
	color: var(--primary);
	border-color: rgba(29, 78, 216, 0.28);
	background: #f8fafc;
}
.site-search__panel {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	width: min(340px, calc(100vw - 32px));
	padding: 10px;
	border-radius: 14px;
	border: 1px solid rgba(15, 23, 42, 0.1);
	background: #fff;
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
	z-index: 120;
}
.site-search__panel[hidden] { display: none; }
.site-search__form {
	display: flex;
	align-items: center;
	gap: 8px;
}
.site-search__input {
	flex: 1;
	min-width: 0;
	height: 40px;
	padding: 0 12px;
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-radius: 10px;
	font-size: 14px;
	color: var(--text);
	background: #f8fafc;
	outline: none;
}
.site-search__input:focus {
	border-color: rgba(29, 78, 216, 0.4);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.site-search__submit {
	flex-shrink: 0;
	height: 40px;
	padding: 0 14px;
	border: 0;
	border-radius: 10px;
	background: linear-gradient(135deg, #1d4ed8, #2563eb);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}
.screen-reader-text {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0);
	white-space: nowrap; border: 0;
}
.site-nav { flex: 1; }
.site-nav__list {
	list-style: none; margin: 0; padding: 0;
	display: flex; gap: 4px; justify-content: center;
}
.site-nav__list a {
	position: relative;
	text-decoration: none; color: #334155;
	font-size: 14px; font-weight: 600;
	padding: 10px 14px; border-radius: 999px;
	transition: color .18s, background .18s;
}
.site-nav__list a:hover {
	background: rgba(15, 23, 42, 0.04);
	color: var(--text);
}
.site-nav__list a::after {
	content: "";
	position: absolute; left: 16px; right: 16px; bottom: 6px;
	height: 2px; border-radius: 2px;
	background: linear-gradient(90deg, #ea580c, #1d4ed8);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .2s ease;
	opacity: .85;
}
.site-nav__list a:hover::after { transform: scaleX(1); }

/* Language buttons VN / EN */
.lang-btns {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.lang-btns__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 34px;
	padding: 0 12px;
	border-radius: 10px;
	border: 1px solid rgba(15, 23, 42, 0.1);
	background: #fff;
	color: #64748b;
	text-decoration: none;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.04em;
	transition: all .18s ease;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.lang-btns__item:hover {
	color: var(--primary);
	border-color: rgba(29, 78, 216, 0.25);
	transform: translateY(-1px);
}
.lang-btns__item.is-active {
	color: #fff;
	border-color: transparent;
	background: linear-gradient(135deg, #1d4ed8, #2563eb);
	box-shadow: 0 6px 16px rgba(29, 78, 216, 0.28);
}
.site-nav__toggle {
	display: none; flex-direction: column; gap: 5px;
	background: none; border: none; cursor: pointer; padding: 8px;
}
.site-nav__toggle span {
	display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px;
}

/* ─── Buttons ─── */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 12px 24px; border-radius: var(--radius-sm);
	font-family: var(--font); font-size: 14px; font-weight: 600;
	text-decoration: none; border: 2px solid transparent;
	cursor: pointer; transition: all .15s;
}
.btn--primary {
	background: linear-gradient(135deg, var(--primary), #2563eb);
	color: #fff !important; box-shadow: 0 2px 10px rgba(29,78,216,.3);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(29,78,216,.35); }
.btn--outline {
	background: transparent; color: var(--text) !important;
	border-color: var(--border);
}
.btn--outline:hover { border-color: var(--primary); color: var(--primary) !important; }
.btn--white { background: #fff; color: var(--primary) !important; }
.btn--white:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn--sm { padding: 8px 16px; font-size: 13px; }

/* ─── Hero ─── */
.hero {
	padding: 80px 0 100px;
	background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
	overflow: hidden;
}
.hero__grid {
	display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.eyebrow {
	display: inline-block; font-size: 12px; font-weight: 700;
	text-transform: uppercase; letter-spacing: .1em;
	color: var(--primary); margin-bottom: 12px;
}
.hero h1 {
	font-size: clamp(36px, 5vw, 52px); margin: 0 0 20px;
}
.hero h1 em {
	font-style: normal;
	background: linear-gradient(135deg, var(--primary), var(--accent));
	-webkit-background-clip: text; -webkit-text-fill-color: transparent;
	background-clip: text;
}
.hero p { color: var(--text-muted); font-size: 17px; max-width: 520px; margin: 0 0 28px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero__stats {
	display: flex; gap: 32px; padding-top: 28px;
	border-top: 1px solid var(--border);
}
.hero__stats strong {
	display: block; font-family: var(--font-display);
	font-size: 28px; font-weight: 700;
}
.hero__stats span { font-size: 12px; color: var(--text-muted); }
.hero__visual {
	position: relative; height: 400px;
}
.hero__visual--image {
	display: flex;
	align-items: center;
	justify-content: center;
}
.hero__visual--image img {
	width: 100%;
	height: 100%;
	max-height: 420px;
	object-fit: contain;
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow-lg);
}
.hero__panel {
	position: absolute; border-radius: var(--radius);
	background: linear-gradient(145deg, #e2e8f0, #cbd5e1);
	border: 1px solid rgba(255,255,255,.6);
	box-shadow: var(--shadow-lg);
}
.hero__panel--1 { width: 70%; height: 75%; top: 10%; left: 5%;
	background: linear-gradient(145deg, #94a3b8, #64748b); }
.hero__panel--2 { width: 55%; height: 60%; top: 25%; right: 0;
	background: linear-gradient(145deg, #38bdf8, #1d4ed8); opacity: .9; }
.hero__panel--3 { width: 40%; height: 45%; bottom: 0; left: 20%;
	background: linear-gradient(145deg, #f8fafc, #e2e8f0); }

/* ─── Sections ─── */
.section { padding: 80px 0; }
.section--dark {
	background: linear-gradient(180deg, var(--dark), var(--dark-2));
	color: #fff;
}
.section--dark .eyebrow { color: var(--accent); }
.section--dark h2 { color: #fff; }
.section--projects {
	background:
		radial-gradient(ellipse 70% 80% at 10% 0%, rgba(234, 88, 12, 0.08), transparent 50%),
		radial-gradient(ellipse 60% 70% at 90% 100%, rgba(29, 78, 216, 0.1), transparent 55%),
		linear-gradient(180deg, #f8fafc 0%, #eef3f9 50%, #f4f6f9 100%);
}
.section--projects .eyebrow {
	color: #ea580c;
}
.section--projects h2 {
	color: #0f172a;
}
.section__head { text-align: center; margin-bottom: 48px; }
.section__head h2 { font-size: clamp(28px, 4vw, 36px); margin: 0; }
.section__head--row {
	display: flex; align-items: flex-end; justify-content: space-between;
	text-align: left; flex-wrap: wrap; gap: 16px;
}
.link-arrow { font-weight: 600; text-decoration: none; font-size: 14px; }

/* ─── Features ─── */
.features-grid {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.feature-card {
	background: var(--surface); border: 1px solid var(--border);
	border-radius: var(--radius); padding: 28px;
	box-shadow: var(--shadow); transition: transform .2s;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-card__icon { font-size: 28px; margin-bottom: 16px; }
.feature-card h3 { font-size: 16px; margin: 0 0 8px; }
.feature-card p { margin: 0; font-size: 14px; color: var(--text-muted); }

/* ─── Products ─── */
.products-grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.product-card {
	background: var(--surface); border: 1px solid var(--border);
	border-radius: var(--radius); overflow: hidden;
	box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card__media { display: block; aspect-ratio: 4/3; overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__placeholder {
	aspect-ratio: 4/3; background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
	display: flex; align-items: center; justify-content: center;
}
.product-card__placeholder span {
	font-weight: 700; color: #94a3b8; font-size: 14px; text-transform: uppercase;
}
.product-card__body { padding: 20px; }
.product-card__sku {
	font-size: 11px; font-weight: 700; text-transform: uppercase;
	letter-spacing: .05em; color: var(--primary);
}
.product-card h3 { font-size: 17px; margin: 6px 0 8px; }
.product-card h3 a { color: var(--text); text-decoration: none; }
.product-card h3 a:hover { color: var(--primary); }
.product-card p { font-size: 14px; color: var(--text-muted); margin: 0 0 12px; }
.product-card__link { font-size: 13px; font-weight: 600; text-decoration: none; }

/* ─── Projects ─── */
.projects-grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.project-card {
	position: relative; border-radius: var(--radius); overflow: hidden;
	aspect-ratio: 4/3; display: block; text-decoration: none;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
	border: 1px solid rgba(15, 23, 42, 0.06);
	background: #fff;
}
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.project-card:hover img { transform: scale(1.05); }
.project-card__placeholder {
	width: 100%; height: 100%;
	background: linear-gradient(145deg, #cbd5e1 0%, #94a3b8 45%, #64748b 100%);
}
.project-card__overlay {
	position: absolute; inset: 0;
	background: linear-gradient(
		180deg,
		rgba(15, 23, 42, 0.05) 0%,
		rgba(15, 23, 42, 0.25) 45%,
		rgba(15, 23, 42, 0.82) 100%
	);
	display: flex; flex-direction: column; justify-content: flex-end;
	padding: 22px 22px 20px;
	color: #fff;
	transition: background .25s ease;
}
.project-card:hover .project-card__overlay {
	background: linear-gradient(
		180deg,
		rgba(29, 78, 216, 0.08) 0%,
		rgba(15, 23, 42, 0.35) 40%,
		rgba(15, 23, 42, 0.9) 100%
	);
}
.project-card__overlay h3 {
	margin: 0 0 6px;
	font-size: 18px;
	color: #fff;
	letter-spacing: -0.02em;
}
.project-card__overlay span {
	font-size: 13px;
	font-weight: 600;
	color: #fdba74;
	opacity: 1;
}

/* ─── CTA ─── */
.cta-band {
	background:
		radial-gradient(ellipse 70% 100% at 100% 0%, rgba(234, 88, 12, 0.08), transparent 50%),
		radial-gradient(ellipse 60% 100% at 0% 100%, rgba(29, 78, 216, 0.07), transparent 50%),
		linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
	padding: 56px 0;
	border-top: 1px solid rgba(15, 23, 42, 0.06);
}
.cta-band__inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 24px; flex-wrap: wrap;
}
.cta-band h2 { color: #0f172a; margin: 0 0 8px; font-size: 28px; }
.cta-band p { color: #64748b; margin: 0; max-width: 46ch; }
.cta-band .btn--white {
	background: linear-gradient(135deg, #ea580c, #f97316);
	color: #fff !important;
	border: 0;
	box-shadow: 0 10px 24px rgba(234, 88, 12, 0.22);
}
.cta-band .btn--white:hover {
	background: linear-gradient(135deg, #c2410c, #ea580c);
	box-shadow: 0 12px 28px rgba(234, 88, 12, 0.3);
}

/* ─── Page hero ─── */
.page-hero {
	padding: 60px 0 40px;
	background: var(--surface);
	border-bottom: 1px solid var(--border);
}
.page-hero--compact { padding: 48px 0 32px; }
.page-hero--products {
	background:
		radial-gradient(ellipse at 10% 0%, rgba(56,189,248,.12), transparent 45%),
		linear-gradient(180deg, #fff, #f4f6f9);
}
.page-hero h1 { font-size: clamp(28px, 4vw, 40px); margin: 0; }
.page-hero__desc { color: var(--text-muted); margin: 12px 0 0; max-width: 640px; }

/* ─── Reveal motion ─── */
[data-reveal] {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].is-visible {
	opacity: 1;
	transform: none;
}

/* ─── Product cards ─── */
.product-card__media { position: relative; }
.product-card__badge {
	position: absolute; left: 12px; bottom: 12px;
	max-width: calc(100% - 24px);
	padding: 6px 10px; border-radius: 999px;
	background: rgba(15, 23, 42, .78); color: #fff;
	font-size: 11px; font-weight: 600; backdrop-filter: blur(6px);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ─── Product detail showcase ─── */
.pd-hero {
	position: relative;
	padding: 56px 0 64px;
	overflow: hidden;
	background: linear-gradient(145deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
	color: #fff;
}
.pd-hero__bg {
	position: absolute; inset: 0;
	background:
		radial-gradient(ellipse at 20% 20%, rgba(56,189,248,.18), transparent 45%),
		radial-gradient(ellipse at 80% 10%, rgba(249,115,22,.16), transparent 40%);
	pointer-events: none;
}
.pd-hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: 40px;
	align-items: center;
}
.pd-hero__crumbs {
	display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
	font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 14px;
}
.pd-hero__crumbs a { color: rgba(255,255,255,.75); text-decoration: none; }
.pd-hero__crumbs a:hover { color: #fff; }
.pd-hero__sku { color: #38bdf8; }
.pd-hero h1 {
	font-size: clamp(32px, 5vw, 52px);
	margin: 8px 0 16px;
	letter-spacing: -0.01em;
	word-spacing: 0.06em;
}
.pd-hero__lead {
	font-size: 17px; line-height: 1.7;
	color: rgba(255,255,255,.72); margin: 0 0 14px; max-width: 540px;
}
.pd-hero__highlight {
	display: inline-block;
	margin: 0 0 22px;
	padding: 10px 14px;
	border-radius: 12px;
	background: rgba(255,255,255,.08);
	border: 1px solid rgba(255,255,255,.12);
	font-size: 14px; color: rgba(255,255,255,.9);
}
.pd-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pd-hero .btn--ghost,
.pd-hero .btn--outline {
	background: transparent; color: #fff !important;
	border: 1px solid rgba(255,255,255,.28);
}
.pd-hero .btn--ghost:hover { background: rgba(255,255,255,.08); }
.pd-hero__visual {
	position: relative;
	min-height: 320px;
}
.pd-hero__img {
	width: 100%;
	border-radius: 20px;
	box-shadow: 0 30px 80px rgba(0,0,0,.35);
	transform: perspective(900px) rotateY(-6deg) rotateX(2deg);
	transition: transform .5s ease;
	background: #fff;
}
.pd-hero__visual:hover .pd-hero__img {
	transform: perspective(900px) rotateY(-2deg) rotateX(0deg) scale(1.02);
}
.pd-hero__float {
	position: absolute; inset: auto -20px -20px auto;
	width: 140px; height: 140px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(56,189,248,.35), transparent 70%);
	animation: pdPulse 4s ease-in-out infinite;
	pointer-events: none;
}
.pd-hero__fallback {
	aspect-ratio: 4/3; border-radius: 20px;
	display: grid; place-items: center;
	background: linear-gradient(135deg, #334155, #1e293b);
	font-weight: 700; font-size: 28px;
}
@keyframes pdPulse {
	0%, 100% { transform: scale(1); opacity: .7; }
	50% { transform: scale(1.15); opacity: 1; }
}

.section__desc {
	margin: 8px 0 0;
	color: var(--text-muted);
	max-width: 560px;
}

.pd-structure__grid {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: 36px;
	align-items: start;
}
.pd-explode {
	position: relative;
	min-height: 380px;
	perspective: 1000px;
	padding: 20px 10px;
}
.pd-explode__layer {
	position: absolute;
	left: 8%;
	right: 18%;
	height: 92px;
	border-radius: 14px;
	padding: 18px 22px;
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	cursor: pointer;
	transform:
		translateY(calc(var(--i) * 88px))
		rotateX(52deg)
		rotateZ(-18deg)
		translateZ(calc(var(--i) * -12px));
	transform-style: preserve-3d;
	transition: transform .35s ease, box-shadow .35s ease, filter .35s ease;
	box-shadow: 0 18px 40px rgba(15,23,42,.22);
	overflow: hidden;
}
.pd-explode__layer:nth-child(1) {
	background: linear-gradient(135deg, #64748b, #94a3b8 40%, #e2e8f0);
	color: #0f172a;
}
.pd-explode__layer:nth-child(2) {
	background: linear-gradient(135deg, #ea580c, #f97316 45%, #fdba74);
}
.pd-explode__layer:nth-child(3) {
	background: linear-gradient(135deg, #334155, #64748b);
}
.pd-explode__layer.is-active {
	transform:
		translateY(calc(var(--i) * 88px - 10px))
		rotateX(48deg)
		rotateZ(-14deg)
		translateZ(24px)
		scale(1.03);
	box-shadow: 0 28px 60px rgba(29,78,216,.28);
	filter: brightness(1.05);
	z-index: 5;
}
.pd-explode__sheen {
	position: absolute; inset: 0;
	background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 48%, transparent 62%);
	transform: translateX(-120%);
	animation: pdSheen 5s ease-in-out infinite;
}
.pd-explode__layer:nth-child(2) .pd-explode__sheen { animation-delay: .6s; }
.pd-explode__layer:nth-child(3) .pd-explode__sheen { animation-delay: 1.2s; }
@keyframes pdSheen {
	0%, 55% { transform: translateX(-120%); }
	75%, 100% { transform: translateX(120%); }
}
.pd-explode__label { font-weight: 700; font-size: 15px; position: relative; z-index: 1; }
.pd-explode__meta { font-size: 12px; opacity: .85; position: relative; z-index: 1; }

.pd-structure__side { display: grid; gap: 18px; }
.pd-diagram {
	margin: 0;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 18px;
	box-shadow: var(--shadow);
}
.pd-diagram img {
	width: 100%;
	max-height: 220px;
	object-fit: contain;
	margin: 0 auto;
}
.pd-diagram figcaption {
	margin-top: 10px;
	font-size: 12px;
	color: var(--text-muted);
	text-align: center;
}
.pd-layers-list {
	list-style: none; margin: 0; padding: 0;
	display: grid; gap: 10px;
}
.pd-layers-list__item {
	display: flex; gap: 14px; align-items: flex-start;
	padding: 14px 16px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 12px;
	cursor: pointer;
	transition: border-color .2s, transform .2s, box-shadow .2s;
}
.pd-layers-list__item:hover,
.pd-layers-list__item.is-active {
	border-color: rgba(29,78,216,.35);
	box-shadow: var(--shadow);
	transform: translateX(4px);
}
.pd-layers-list__idx {
	width: 28px; height: 28px; border-radius: 8px;
	display: grid; place-items: center;
	background: linear-gradient(135deg, #1d4ed8, #2563eb);
	color: #fff; font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.pd-layers-list__item strong { display: block; font-size: 14px; margin-bottom: 2px; }
.pd-layers-list__item span { font-size: 13px; color: var(--text-muted); }

.pd-traits { background: var(--surface); border-block: 1px solid var(--border); }
.pd-traits__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.pd-trait {
	padding: 24px;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: linear-gradient(180deg, #fff, #f8fafc);
	box-shadow: var(--shadow);
	transition: transform .25s ease, box-shadow .25s ease;
}
.pd-trait:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pd-trait__icon {
	width: 48px; height: 48px; border-radius: 14px;
	display: grid; place-items: center;
	background: rgba(29,78,216,.08);
	font-size: 22px; margin-bottom: 14px;
}
.pd-trait h3 { margin: 0 0 8px; font-size: 17px; }
.pd-trait p { margin: 0; font-size: 14px; color: var(--text-muted); }

.pd-detail__grid {
	display: grid;
	grid-template-columns: 1.4fr .6fr;
	gap: 28px;
	align-items: start;
}
.pd-tabs {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
}
.pd-tabs__nav {
	display: flex; gap: 0;
	border-bottom: 1px solid var(--border);
	background: #f8fafc;
	overflow-x: auto;
}
.pd-tabs__btn {
	appearance: none; border: 0; background: transparent;
	padding: 14px 18px; font: inherit; font-weight: 600; font-size: 14px;
	color: var(--text-muted); cursor: pointer;
	border-bottom: 2px solid transparent;
	white-space: nowrap;
}
.pd-tabs__btn.is-active {
	color: var(--primary);
	border-bottom-color: var(--primary);
	background: #fff;
}
.pd-tabs__panel { padding: 24px; }
.pd-overview {
	display: grid;
	grid-template-columns: .9fr 1.1fr;
	gap: 20px;
	align-items: center;
}
.pd-overview__img {
	width: 100%;
	border-radius: 14px;
	border: 1px solid var(--border);
	background: #fff;
}
.pd-overview__text p { margin: 0 0 12px; color: var(--text-muted); }
.pd-rich h3 { font-size: 16px; margin: 24px 0 10px; }
.pd-rich .hpro-spec-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	margin: 0 0 20px;
	border: 1px solid var(--border);
	border-radius: 10px;
	overflow: hidden;
}
.pd-rich .hpro-spec-table th,
.pd-rich .hpro-spec-table td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--border);
	text-align: left;
	vertical-align: top;
}
.pd-rich .hpro-spec-table th {
	background: #f8fafc;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .03em;
	color: var(--text-muted);
}
.pd-rich .hpro-source { font-size: 13px; color: var(--text-muted); }

.specs-table {
	margin: 0; background: var(--surface);
	border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden;
}
.specs-table h3 { margin: 0; padding: 16px 20px; font-size: 15px;
	border-bottom: 1px solid var(--border); background: var(--bg); }
.specs-table dl { margin: 0; }
.specs-table__row {
	display: grid; grid-template-columns: 140px 1fr;
	border-bottom: 1px solid var(--border); font-size: 14px;
}
.specs-table__row:last-child { border-bottom: none; }
.specs-table dt { padding: 12px 20px; font-weight: 600; color: var(--text-muted);
	background: var(--bg); }
.specs-table dd { padding: 12px 20px; margin: 0; }

.pd-cta-card {
	position: sticky; top: 96px;
	padding: 24px;
	border-radius: var(--radius);
	background: linear-gradient(160deg, #0f172a, #1e293b);
	color: #fff;
	box-shadow: var(--shadow-lg);
}
.pd-cta-card__brand {
	font-size: 12px; font-weight: 700; letter-spacing: .08em;
	text-transform: uppercase; color: #38bdf8; margin-bottom: 10px;
}
.pd-cta-card h3 { margin: 0 0 8px; color: #fff; font-size: 22px; }
.pd-cta-card p { margin: 0 0 18px; color: rgba(255,255,255,.7); font-size: 14px; }
.btn--block { width: 100%; justify-content: center; margin-bottom: 10px; }
.pd-cta-card .btn--outline {
	border-color: rgba(255,255,255,.25);
	color: #fff !important;
	background: transparent;
}

.pd-related { padding-top: 8px; }

@media (max-width: 980px) {
	.pd-hero__inner,
	.pd-structure__grid,
	.pd-detail__grid,
	.pd-overview,
	.pd-traits__grid {
		grid-template-columns: 1fr;
	}
	.pd-hero__img { transform: none; }
	.pd-explode { min-height: 340px; }
	.pd-cta-card { position: static; }
}

/* ─── Footer ─── */
.site-footer {
	margin-top: 0;
	background: linear-gradient(180deg, #0f172a 0%, #0a0f1a 100%);
	color: rgba(255, 255, 255, 0.75);
}
.site-footer__top {
	display: grid;
	grid-template-columns: 1.35fr 0.9fr 1.15fr 0.85fr;
	gap: 32px 40px;
	padding: 56px 0 40px;
	align-items: start;
}
.site-footer__brand {
	text-align: left;
}
.site-footer__logo {
	display: flex;
	justify-content: center;
	width: 100%;
	margin-bottom: 16px;
}
.site-footer__logo-img {
	width: auto;
	height: 44px;
	max-width: 230px;
	object-fit: contain;
	border-radius: 6px;
}
.site-footer__about {
	margin: 0;
	max-width: 36ch;
	font-size: 14px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.72);
}
.site-footer__heading {
	margin: 0 0 18px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
}
.site-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
}
.site-footer__links li + li {
	margin-top: 12px;
}
.site-footer__links a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: color .15s;
}
.site-footer__links a:hover {
	color: #38bdf8;
}
.site-footer__phone {
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 700;
	color: #fff !important;
	letter-spacing: -0.02em;
}
.site-footer__links--contact a[href^="mailto"] {
	color: rgba(255, 255, 255, 0.85);
}
.site-footer__links--contact a[href^="mailto"]:hover {
	color: #38bdf8;
}
.site-footer__addr-item + .site-footer__addr-item {
	margin-top: 16px;
}
.site-footer__addr-item span {
	display: block;
	margin-bottom: 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #38bdf8;
}
.site-footer__addr-item p {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.8);
}
.site-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	padding: 20px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 13px;
	color: rgba(255, 255, 255, 0.45);
}
.site-footer__bottom p {
	margin: 0;
}

.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.pagination-wrap { margin-top: 40px; text-align: center; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
	.features-grid, .products-grid, .projects-grid { grid-template-columns: repeat(2, 1fr); }
	.hero__grid, .pd-hero__inner, .pd-structure__grid, .pd-detail__grid { grid-template-columns: 1fr; }
	.hero__visual { height: 280px; }
	.site-footer__top {
		grid-template-columns: 1fr 1fr;
		gap: 28px 32px;
	}
}
@media (max-width: 768px) {
	.site-nav__toggle { display: flex; }
	.site-nav {
		position: fixed; top: 64px; left: 0; right: 0;
		background: #fff; border-bottom: 1px solid var(--border);
		padding: 16px; transform: translateY(-120%); opacity: 0;
		transition: transform .25s, opacity .25s; pointer-events: none;
	}
	.site-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
	.site-nav__list { flex-direction: column; }
	.site-brand__logo { height: 30px; max-height: 30px; max-width: 160px; }
	.site-search__panel { right: auto; left: 50%; transform: translateX(-50%); }
	.features-grid, .products-grid, .projects-grid { grid-template-columns: 1fr; }
	.site-footer__top {
		grid-template-columns: 1fr;
		padding: 36px 0 28px;
		gap: 28px;
	}
	.site-footer__about { max-width: none; }
	.site-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
	}
	.hero { padding: 48px 0 60px; }
	.hero__stats { flex-wrap: wrap; gap: 20px; }
	.cta-band__inner { flex-direction: column; text-align: center; }
}
