/* ═══════════════════════════════════════════════════════════
   CBASCO HISTORY — Page Template Stylesheet
   Replica of HTML-References/Company History/cbasco-history.html
   All selectors namespaced under #cbas-history
═══════════════════════════════════════════════════════════ */

#cbas-history *,
#cbas-history *::before,
#cbas-history *::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

#cbas-history {
	font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
	direction: rtl;
	background: var(--cb-bg, #0d1117);
	color: var(--cb-text, #ddeaf6);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	position: relative;
}

/* ── HERO ── */
#cbas-history .cb-hero {
	min-height: calc(100vh - 80px);
	display: flex; flex-direction: column;
	align-items: center; justify-content: center;
	text-align: center; padding: 4rem 2rem;
	position: relative; overflow: hidden;
}

#cbas-history .cb-hero-mesh {
	position: absolute; inset: 0;
	background:
		radial-gradient(ellipse 75% 65% at 50% 42%, rgba(80,140,200,.22), transparent 65%),
		radial-gradient(ellipse 40% 35% at 18% 80%, rgba(60,110,180,.13), transparent 60%),
		radial-gradient(ellipse 30% 25% at 82% 70%, rgba(60,120,190,.10), transparent 60%);
}

#cbas-history .cb-hero-grid {
	position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(130,180,220,.13) 1px, transparent 1px),
		linear-gradient(90deg, rgba(130,180,220,.13) 1px, transparent 1px);
	background-size: 70px 70px;
	mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, black 30%, transparent 100%);
	-webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 40%, black 30%, transparent 100%);
	animation: cb-gridMove 25s linear infinite;
}
@keyframes cb-gridMove { to { transform: translate(70px,70px); } }

#cbas-history .cb-hero-sheen {
	position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(
		125deg,
		transparent 0%,
		rgba(200,225,248,.04) 34%,
		rgba(200,225,248,.16) 50%,
		rgba(200,225,248,.04) 66%,
		transparent 100%
	);
	animation: cb-sheenMove 8s ease-in-out infinite;
}
@keyframes cb-sheenMove {
	0%, 100% { opacity: 0; transform: translateX(-100%); }
	50%      { opacity: 1; transform: translateX(100%); }
}

#cbas-history .cb-scanline {
	position: absolute; left: 0; right: 0; height: 1px;
	background: linear-gradient(90deg, transparent, rgba(130,190,230,.32), transparent);
	pointer-events: none;
	animation: cb-scan 8s ease-in-out infinite 1.5s;
}
@keyframes cb-scan {
	0%  { top: -1%; opacity: 0; }
	8%  { opacity: 1; }
	92% { opacity: 1; }
	100%{ top: 101%; opacity: 0; }
}

#cbas-history .cb-corner {
	position: absolute; width: 60px; height: 60px;
	opacity: .55; pointer-events: none;
}
#cbas-history .cb-corner-tr { top: 24px; left: 24px;   border-top: 2px solid var(--cb-steel, #6aaecc); border-left: 2px solid var(--cb-steel, #6aaecc); }
#cbas-history .cb-corner-bl { bottom: 24px; right: 24px; border-bottom: 2px solid var(--cb-steel, #6aaecc); border-right: 2px solid var(--cb-steel, #6aaecc); }

#cbas-history .cb-pill {
	position: relative; z-index: 2;
	display: inline-flex; align-items: center; gap: .65rem;
	align-self: center;
	background: rgba(100,170,210,.09);
	border: 1px solid rgba(100,170,210,.26);
	border-radius: 100px; padding: .38rem 1.1rem;
	font-size: .72rem; font-weight: 600; letter-spacing: .06em; color: var(--cb-steel-m, #90c8e4);
	margin-bottom: 2rem;
	opacity: 0; animation: cb-fadeUp .9s .1s ease forwards;
}
#cbas-history .cb-pill-dot {
	width: 6px; height: 6px; border-radius: 50%; background: var(--cb-steel, #6aaecc);
	animation: cb-blink 2.2s ease infinite;
}
@keyframes cb-blink { 0%, 100% { opacity: 1; } 50% { opacity: .12; } }

#cbas-history .cb-hero h1 {
	position: relative; z-index: 2;
	width: 100%; text-align: center;
	font-size: clamp(2.8rem, 6.5vw, 5.5rem);
	font-weight: 900; line-height: 1.1; letter-spacing: -.03em;
	margin-bottom: 1rem;
	opacity: 0; animation: cb-fadeUp .9s .25s ease forwards;
	background: linear-gradient(135deg, #ddeef8 20%, var(--cb-steel, #6aaecc) 60%, #c0d8ee 100%);
	-webkit-background-clip: text; -webkit-text-fill-color: transparent;
	background-clip: text;
}
#cbas-history .cb-hero h1 .cb-thin { font-weight: 200; }

#cbas-history .cb-hero-sub1 {
	position: relative; z-index: 2;
	width: 100%; text-align: center;
	font-size: clamp(.92rem, 1.8vw, 1.12rem);
	font-weight: 400; color: var(--cb-text-2, #7aaec8);
	margin-bottom: .45rem;
	opacity: 0; animation: cb-fadeUp .9s .4s ease forwards;
}
#cbas-history .cb-hero-sub2 {
	position: relative; z-index: 2;
	width: 100%; text-align: center;
	font-size: clamp(.8rem, 1.5vw, .95rem);
	font-weight: 300; color: #3e6080; max-width: 580px;
	margin: 0 auto 3rem;
	opacity: 0; animation: cb-fadeUp .9s .52s ease forwards;
}

#cbas-history .cb-hero-divider {
	position: relative; z-index: 2;
	display: flex; align-items: center; gap: 1rem;
	align-self: center;
	opacity: 0; animation: cb-fadeUp .9s .65s ease forwards;
}
#cbas-history .cb-hero-divider span {
	width: 60px; height: 1px;
	background: linear-gradient(90deg, var(--cb-steel, #6aaecc), transparent);
}
#cbas-history .cb-hero-divider span:first-child { transform: scaleX(-1); }
#cbas-history .cb-hero-divider .cb-diamond {
	width: 8px; height: 8px; background: var(--cb-steel, #6aaecc); transform: rotate(45deg);
	box-shadow: 0 0 8px rgba(106,174,204,.5);
}

#cbas-history .cb-hero-scroll {
	position: absolute; bottom: 2.2rem;
	left: 0; right: 0; margin: 0 auto;
	z-index: 2; display: flex; flex-direction: column; align-items: center; gap: .6rem;
	width: fit-content;
	color: #2a4a60; font-size: .68rem; letter-spacing: .12em;
	opacity: 0; animation: cb-fadeUp .9s 1.1s ease forwards;
}
#cbas-history .cb-scroll-bar {
	width: 1px; height: 44px;
	background: linear-gradient(to bottom, var(--cb-steel, #6aaecc), transparent);
	animation: cb-scrollAnim 2.2s ease-in-out infinite;
}
@keyframes cb-scrollAnim {
	0%  { transform: scaleY(0); transform-origin: top; }
	49% { transform: scaleY(1); transform-origin: top; }
	50% { transform: scaleY(1); transform-origin: bottom; }
	100%{ transform: scaleY(0); transform-origin: bottom; }
}
@keyframes cb-fadeUp {
	from { opacity: 0; transform: translateY(24px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ── STATS STRIP ── */
#cbas-history .cb-stats {
	background: var(--cb-bg-2, #111822);
	border-top: 1px solid rgba(100,170,210,.12);
	border-bottom: 1px solid rgba(100,170,210,.12);
	padding: 2.8rem 2rem;
}
#cbas-history .cb-stats-inner {
	max-width: 1000px; margin: 0 auto;
	display: grid; grid-template-columns: repeat(4, 1fr);
}
#cbas-history .cb-stat {
	text-align: center; padding: 1.2rem 1.5rem;
	border-left: 1px solid rgba(100,170,210,.1);
	opacity: 0; transform: translateY(16px);
	transition: opacity .5s ease, transform .5s ease;
}
#cbas-history .cb-stat:last-child { border-left: none; }
#cbas-history .cb-stat.cb-vis { opacity: 1; transform: translateY(0); }
#cbas-history .cb-stat-num {
	font-size: 2.4rem; font-weight: 900; line-height: 1; margin-bottom: .35rem;
	background: linear-gradient(135deg, #a8d0e8, var(--cb-steel, #6aaecc));
	-webkit-background-clip: text; -webkit-text-fill-color: transparent;
	background-clip: text;
}
#cbas-history .cb-stat-lbl { font-size: .75rem; color: var(--cb-text-muted, #4a6e88); font-weight: 300; }

/* ── SHARED ── */
#cbas-history .cb-wrap { max-width: 1080px; margin: 0 auto; padding: 0 2rem; }

#cbas-history .cb-sec-tag {
	display: inline-flex; align-items: center; gap: .7rem;
	color: var(--cb-steel, #6aaecc); font-size: .68rem; font-weight: 700;
	letter-spacing: .14em; text-transform: uppercase;
	margin-bottom: .9rem;
	opacity: 0; transform: translateX(16px); transition: all .6s ease;
}
#cbas-history .cb-sec-tag::before { content: ''; width: 28px; height: 1px; background: var(--cb-steel, #6aaecc); }
#cbas-history .cb-sec-tag.cb-vis { opacity: 1; transform: translateX(0); }
#cbas-history .cb-sec-tag-center { justify-content: center; display: flex; }

#cbas-history .cb-sec-title {
	font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800;
	line-height: 1.25; margin-bottom: 1rem; color: var(--cb-text, #ddeaf6);
	opacity: 0; transform: translateY(16px); transition: all .7s ease .1s;
}
#cbas-history .cb-sec-title.cb-vis { opacity: 1; transform: translateY(0); }
#cbas-history .cb-sec-title em {
	font-style: normal;
	background: linear-gradient(90deg, var(--cb-steel, #6aaecc), var(--cb-steel-l, #a0d0e8));
	-webkit-background-clip: text; -webkit-text-fill-color: transparent;
	background-clip: text;
}

/* ── INTRO ── */
#cbas-history .cb-intro-sec { padding: 7rem 0 6rem; }
#cbas-history .cb-intro-grid {
	display: grid; grid-template-columns: 1fr 1fr;
	gap: 5rem; align-items: center;
}

#cbas-history .cb-intro-text p {
	font-size: .95rem; line-height: 2; color: var(--cb-text-body, #5a7e9a);
	font-weight: 300; margin-bottom: 1.2rem;
	text-align: justify;
	opacity: 0; transform: translateY(16px); transition: all .6s ease;
}
#cbas-history .cb-intro-text p.cb-vis { opacity: 1; transform: translateY(0); }
#cbas-history .cb-intro-text p strong { color: var(--cb-text, #ddeaf6); }
#cbas-history .cb-hl { color: var(--cb-steel-m, #90c8e4); font-weight: 700; }

#cbas-history .cb-intro-card {
	background: var(--cb-bg-2, #111822);
	border: 1px solid rgba(100,170,210,.16);
	border-radius: 20px; padding: 2.5rem;
	position: relative; overflow: hidden;
	opacity: 0; transform: translateX(-24px); transition: all .8s ease;
}
#cbas-history .cb-intro-card.cb-vis { opacity: 1; transform: translateX(0); }
#cbas-history .cb-intro-card::before {
	content: ''; position: absolute; inset: 0;
	background: radial-gradient(ellipse at 20% 20%, rgba(90,160,210,.08), transparent 60%);
	pointer-events: none;
}
#cbas-history .cb-intro-card::after {
	content: ''; position: absolute;
	top: 0; left: -100%; width: 60%; height: 100%;
	background: linear-gradient(100deg, transparent, rgba(200,230,248,.045), transparent);
	transform: skewX(-14deg);
	animation: cb-cardSheen 6s ease-in-out infinite 1s;
}
@keyframes cb-cardSheen {
	0%, 100% { left: -100%; opacity: 0; }
	50%      { left: 150%;  opacity: 1; }
}
#cbas-history .cb-intro-card-edge {
	position: absolute; top: 0; right: 0; left: 0; height: 1px;
	background: linear-gradient(90deg, transparent, rgba(106,174,204,.4), transparent);
}
#cbas-history .cb-founded-row {
	display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem;
}
#cbas-history .cb-founded-icon {
	width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0;
	background: linear-gradient(135deg, var(--cb-bg-4, #192840), var(--cb-bg-5, #243650));
	border: 1px solid rgba(100,170,210,.18);
	display: flex; align-items: center; justify-content: center;
}
#cbas-history .cb-founded-icon svg { width: 18px; height: 18px; }
#cbas-history .cb-founded-label { font-size: .7rem; color: var(--cb-text-muted, #4a6e88); }

#cbas-history .cb-card-big-year {
	font-size: 6rem; font-weight: 900; line-height: 1; margin-bottom: 1.1rem;
	background: linear-gradient(135deg, #8ac8e4 0%, rgba(90,160,210,.2) 100%);
	-webkit-background-clip: text; -webkit-text-fill-color: transparent;
	background-clip: text;
	letter-spacing: -.04em;
}

#cbas-history .cb-card-fact {
	display: flex; align-items: flex-start; gap: .8rem;
	padding: .72rem 0; border-bottom: 1px solid rgba(255,255,255,.04);
	font-size: .82rem; color: var(--cb-text-muted, #4a6e88); line-height: 1.65;
}
#cbas-history .cb-card-fact:last-child { border-bottom: none; }
#cbas-history .cb-card-fact .cb-dot { color: var(--cb-steel, #6aaecc); flex-shrink: 0; margin-top: .18rem; font-size: .55rem; }

/* ── TIMELINE ── */
#cbas-history .cb-tl-sec { padding: 6rem 0; background: var(--cb-bg-2, #111822); }
#cbas-history .cb-timeline { position: relative; margin-top: 4rem; }
#cbas-history .cb-timeline::before {
	content: ''; position: absolute; right: 50%; top: 0; bottom: 0; width: 1px;
	background: linear-gradient(to bottom, transparent, var(--cb-steel, #6aaecc) 8%, var(--cb-steel, #6aaecc) 92%, transparent);
	transform: translateX(50%);
}

#cbas-history .cb-tl-item {
	display: grid; grid-template-columns: 1fr 56px 1fr;
	margin-bottom: 3.5rem; opacity: 0; transition: all .7s ease;
}
#cbas-history .cb-tl-item:nth-child(odd)  { transform: translateX(-28px); }
#cbas-history .cb-tl-item:nth-child(even) { transform: translateX(28px); }
#cbas-history .cb-tl-item.cb-vis { opacity: 1; transform: translateX(0) !important; }

#cbas-history .cb-tl-item:nth-child(odd)  .cb-tl-card { grid-column: 1; }
#cbas-history .cb-tl-item:nth-child(odd)  .cb-tl-mid  { grid-column: 2; }
#cbas-history .cb-tl-item:nth-child(even) .cb-tl-card { grid-column: 3; grid-row: 1; }
#cbas-history .cb-tl-item:nth-child(even) .cb-tl-mid  { grid-column: 2; grid-row: 1; }

#cbas-history .cb-tl-mid {
	display: flex; justify-content: center; align-items: flex-start; padding-top: 1.6rem;
}
#cbas-history .cb-tl-dot {
	width: 14px; height: 14px; border-radius: 50%;
	background: var(--cb-steel, #6aaecc);
	border: 3px solid var(--cb-bg, #0d1117);
	box-shadow: 0 0 0 3px rgba(106,174,204,.28), 0 0 18px rgba(106,174,204,.45);
	position: relative; z-index: 2; flex-shrink: 0;
}

#cbas-history .cb-tl-card {
	background: var(--cb-bg-3, #161d2a); border: 1px solid rgba(100,170,210,.14);
	border-radius: 14px; padding: 1.6rem;
	position: relative; overflow: hidden;
	transition: border-color .3s, box-shadow .3s, transform .3s;
}
#cbas-history .cb-tl-card::before {
	content: ''; position: absolute; inset: 0;
	background: radial-gradient(ellipse at 15% 15%, rgba(90,160,210,.06), transparent 55%);
	pointer-events: none;
}
#cbas-history .cb-tl-card::after {
	content: ''; position: absolute; top: 0; right: 0; left: 0; height: 2px;
	background: linear-gradient(90deg, transparent, var(--cb-steel, #6aaecc), transparent);
	transform: scaleX(0); transition: transform .4s ease;
}
#cbas-history .cb-tl-card:hover {
	border-color: rgba(100,170,210,.36);
	box-shadow: 0 12px 40px rgba(0,0,0,.38), 0 0 28px rgba(100,170,210,.07);
	transform: translateY(-3px);
}
#cbas-history .cb-tl-card:hover::after { transform: scaleX(1); }

#cbas-history .cb-tl-card .cb-tl-sheen {
	position: absolute; top: 0; left: -120%; width: 55%; height: 100%;
	background: linear-gradient(100deg, transparent, rgba(200,230,248,.04), transparent);
	transform: skewX(-14deg); transition: left .5s ease;
	pointer-events: none;
}
#cbas-history .cb-tl-card:hover .cb-tl-sheen { left: 140%; }

#cbas-history .cb-tl-year  { font-size: .66rem; font-weight: 700; color: var(--cb-steel, #6aaecc); letter-spacing: .1em; margin-bottom: .5rem; }
#cbas-history .cb-tl-title { font-size: 1rem; font-weight: 700; margin-bottom: .6rem; color: var(--cb-text, #ddeaf6); }
#cbas-history .cb-tl-desc  { font-size: .82rem; color: var(--cb-text-muted, #4a6e88); line-height: 1.85; font-weight: 300; }

/* ── CEO SECTION ── */
#cbas-history .cb-ceo-sec { padding: 6rem 0; }
#cbas-history .cb-ceo-card {
	background: var(--cb-bg-2, #111822); border: 1px solid rgba(100,170,210,.15);
	border-radius: 24px; padding: 4rem;
	position: relative; overflow: hidden;
	opacity: 0; transform: translateY(28px); transition: all .8s ease;
}
#cbas-history .cb-ceo-card.cb-vis { opacity: 1; transform: translateY(0); }
#cbas-history .cb-ceo-card::before {
	content: ''; position: absolute; top: -120px; left: -120px;
	width: 420px; height: 420px; border-radius: 50%;
	background: radial-gradient(circle, rgba(90,160,210,.09), transparent 70%);
	pointer-events: none;
}
#cbas-history .cb-ceo-card::after {
	content: ''; position: absolute;
	top: 0; left: -80%; width: 55%; height: 100%;
	background: linear-gradient(100deg, transparent, rgba(200,230,248,.04), transparent);
	transform: skewX(-12deg);
	animation: cb-ceoSheen 7s ease-in-out infinite;
}
@keyframes cb-ceoSheen {
	0%, 100% { left: -80%; opacity: 0; }
	50%      { left: 120%; opacity: 1; }
}

#cbas-history .cb-ceo-inner {
	display: grid; grid-template-columns: auto 1fr;
	gap: 3.5rem; align-items: center; position: relative; z-index: 1;
}

#cbas-history .cb-ceo-photo-wrap { position: relative; flex-shrink: 0; }
#cbas-history .cb-ceo-photo {
	width: 160px; height: 200px; border-radius: 16px;
	background: var(--cb-bg-3, #161d2a); border: 2px solid rgba(100,170,210,.18);
	object-fit: cover; display: block; position: relative; z-index: 1;
}
#cbas-history .cb-ceo-photo-wrap::after {
	content: ''; position: absolute; inset: -6px;
	border-radius: 20px; border: 1px solid rgba(100,170,210,.18); z-index: 0;
}

#cbas-history .cb-big-quote {
	font-size: 6rem; font-weight: 900; line-height: .8;
	color: rgba(100,170,210,.16); margin-bottom: .5rem; user-select: none;
}
#cbas-history .cb-ceo-text {
	font-size: 1.05rem; font-weight: 300; line-height: 2.1;
	color: var(--cb-text-body, #5a7e9a); margin-bottom: 1.8rem;
}
#cbas-history .cb-ceo-name { font-size: 1rem; font-weight: 700; color: var(--cb-text, #ddeaf6); }
#cbas-history .cb-ceo-role { font-size: .78rem; color: var(--cb-steel, #6aaecc); font-weight: 500; margin-top: .3rem; }

/* ── MANAGERS ── */
#cbas-history .cb-mgr-sec { padding: 6rem 0; background: var(--cb-bg-2, #111822); }
#cbas-history .cb-mgr-grid {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 1.5rem; margin-top: 3rem;
}
#cbas-history .cb-mgr-card {
	background: var(--cb-bg-3, #161d2a); border: 1px solid rgba(100,170,210,.12);
	border-radius: 16px; padding: 1.8rem 1.5rem;
	text-align: center; position: relative; overflow: hidden;
	opacity: 0; transform: translateY(20px);
	transition: opacity .6s ease, transform .6s ease, border-color .3s, box-shadow .3s;
}
#cbas-history .cb-mgr-card.cb-vis { opacity: 1; transform: translateY(0); }
#cbas-history .cb-mgr-card:hover {
	border-color: rgba(100,170,210,.34);
	box-shadow: 0 16px 50px rgba(0,0,0,.38), 0 0 24px rgba(100,170,210,.07);
}
#cbas-history .cb-mgr-card::before {
	content: ''; position: absolute; top: 0; right: 0; left: 0; height: 1px;
	background: linear-gradient(90deg, transparent, var(--cb-steel, #6aaecc), transparent);
	transform: scaleX(0); transition: transform .4s ease;
}
#cbas-history .cb-mgr-card:hover::before { transform: scaleX(1); }
#cbas-history .cb-mgr-card::after {
	content: ''; position: absolute;
	top: 0; left: -110%; width: 60%; height: 100%;
	background: linear-gradient(100deg, transparent, rgba(200,230,248,.04), transparent);
	transform: skewX(-14deg); transition: left .55s ease;
	pointer-events: none;
}
#cbas-history .cb-mgr-card:hover::after { left: 140%; }

#cbas-history .cb-mgr-photo {
	width: 80px; height: 80px; border-radius: 50%;
	border: 2px solid rgba(100,170,210,.2);
	object-fit: cover; margin: 0 auto 1.1rem; display: block;
}
#cbas-history .cb-mgr-name   { font-size: .9rem; font-weight: 700; margin-bottom: .4rem; color: var(--cb-highlight, #c8e0f0); }
#cbas-history .cb-mgr-period { font-size: .72rem; color: var(--cb-steel, #6aaecc); font-weight: 600; letter-spacing: .04em; margin-bottom: .6rem; }
#cbas-history .cb-mgr-badge {
	display: inline-block;
	background: rgba(100,170,210,.1); border: 1px solid rgba(100,170,210,.24);
	color: var(--cb-steel-m, #90c8e4); font-size: .65rem; font-weight: 600;
	padding: .2rem .7rem; border-radius: 100px; letter-spacing: .05em;
}

/* ── FEATURES / ACHIEVEMENTS ── */
#cbas-history .cb-feat-sec { padding: 6rem 0; }
#cbas-history .cb-feat-grid {
	display: grid; grid-template-columns: repeat(3, 1fr);
	gap: 1.4rem; margin-top: 3rem;
}
#cbas-history .cb-feat-card {
	background: var(--cb-bg-2, #111822); border: 1px solid rgba(100,170,210,.11);
	border-radius: 16px; padding: 2rem;
	position: relative; overflow: hidden;
	opacity: 0; transform: translateY(22px);
	transition: opacity .6s ease, transform .6s ease, border-color .3s, box-shadow .3s;
}
#cbas-history .cb-feat-card.cb-vis { opacity: 1; transform: translateY(0); }
#cbas-history .cb-feat-card:hover {
	border-color: rgba(100,170,210,.34);
	box-shadow: 0 16px 50px rgba(0,0,0,.32), 0 0 24px rgba(100,170,210,.07);
	transform: translateY(-3px) !important;
}
#cbas-history .cb-feat-card::after {
	content: ''; position: absolute; top: 0; right: 0; left: 0; height: 2px;
	background: linear-gradient(90deg, transparent, var(--cb-steel, #6aaecc), transparent);
	transform: scaleX(0); transition: transform .4s ease;
}
#cbas-history .cb-feat-card:hover::after { transform: scaleX(1); }

#cbas-history .cb-feat-icon  { font-size: 1.8rem; margin-bottom: 1rem; }
#cbas-history .cb-feat-title { font-size: .95rem; font-weight: 700; margin-bottom: .6rem; color: var(--cb-highlight, #c8e0f0); }
#cbas-history .cb-feat-desc  { font-size: .8rem; color: #3e5e78; line-height: 1.85; font-weight: 300; }

/* ── EXTRA EDITORIAL CONTENT (gutenberg) ── */
#cbas-history .cb-extra-content { padding: 4rem 0; }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 850px) {
	#cbas-history .cb-hero { padding: 6rem 1.5rem 3.5rem; }
	#cbas-history .cb-stats-inner { grid-template-columns: 1fr 1fr; }
	#cbas-history .cb-stat:nth-child(2) { border-left: none; }
	#cbas-history .cb-stat-num { font-size: 2rem; }

	#cbas-history .cb-intro-grid { grid-template-columns: 1fr; gap: 2.5rem; }
	#cbas-history .cb-intro-card { order: -1; }

	#cbas-history .cb-timeline::before {
		right: 18px; left: auto; transform: none;
	}
	#cbas-history .cb-tl-item {
		grid-template-columns: 40px 1fr;
		margin-bottom: 2.2rem;
	}
	#cbas-history .cb-tl-item:nth-child(odd)  .cb-tl-mid,
	#cbas-history .cb-tl-item:nth-child(even) .cb-tl-mid  { grid-column: 1; grid-row: 1; }
	#cbas-history .cb-tl-item:nth-child(odd)  .cb-tl-card,
	#cbas-history .cb-tl-item:nth-child(even) .cb-tl-card { grid-column: 2; grid-row: 1; }
	#cbas-history .cb-tl-mid { padding-top: 1.2rem; justify-content: center; }
	#cbas-history .cb-tl-item:nth-child(odd),
	#cbas-history .cb-tl-item:nth-child(even) { transform: translateX(-20px); }
	#cbas-history .cb-tl-item.cb-vis { transform: translateX(0) !important; }

	#cbas-history .cb-ceo-card { padding: 2.5rem; }
	#cbas-history .cb-ceo-inner { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
	#cbas-history .cb-ceo-photo-wrap { margin: 0 auto; }
	#cbas-history .cb-big-quote { font-size: 4rem; }
	#cbas-history .cb-ceo-text { font-size: .95rem; }

	#cbas-history .cb-feat-grid { grid-template-columns: 1fr 1fr; }
	#cbas-history .cb-mgr-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 520px) {
	#cbas-history .cb-hero { padding: 5.5rem 1.2rem 3rem; }
	#cbas-history .cb-hero h1 { font-size: clamp(2rem, 9vw, 2.8rem); letter-spacing: -.02em; }
	#cbas-history .cb-hero-sub1 { font-size: .88rem; }
	#cbas-history .cb-hero-sub2 { font-size: .78rem; }
	#cbas-history .cb-pill { font-size: .65rem; }

	#cbas-history .cb-stats-inner { grid-template-columns: 1fr 1fr; }
	#cbas-history .cb-stat { padding: .9rem .6rem; border-left: none; }
	#cbas-history .cb-stat-num { font-size: 1.7rem; }
	#cbas-history .cb-stat-lbl { font-size: .65rem; }

	#cbas-history .cb-wrap { padding: 0 1.2rem; }
	#cbas-history .cb-sec-title { font-size: 1.5rem; }
	#cbas-history .cb-intro-sec { padding: 4rem 0 3rem; }
	#cbas-history .cb-intro-text p { font-size: .88rem; }
	#cbas-history .cb-card-big-year { font-size: 4.5rem; }
	#cbas-history .cb-intro-card { padding: 1.8rem; }

	#cbas-history .cb-tl-sec { padding: 4rem 0; }
	#cbas-history .cb-tl-item { grid-template-columns: 32px 1fr; margin-bottom: 1.8rem; }
	#cbas-history .cb-timeline::before { right: 13px; left: auto; }
	#cbas-history .cb-tl-card { padding: 1.2rem; }
	#cbas-history .cb-tl-title { font-size: .9rem; }
	#cbas-history .cb-tl-desc  { font-size: .78rem; }
	#cbas-history .cb-tl-dot   { width: 12px; height: 12px; }

	#cbas-history .cb-ceo-sec { padding: 4rem 0; }
	#cbas-history .cb-ceo-card { padding: 1.8rem 1.5rem; border-radius: 16px; }
	#cbas-history .cb-ceo-photo { width: 120px; height: 150px; }

	#cbas-history .cb-mgr-sec { padding: 4rem 0; }
	#cbas-history .cb-mgr-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
	#cbas-history .cb-mgr-card { padding: 1.3rem 1rem; }
	#cbas-history .cb-mgr-name { font-size: .82rem; }
	#cbas-history .cb-mgr-period { font-size: .66rem; }
	#cbas-history .cb-mgr-photo { width: 66px; height: 66px; }

	#cbas-history .cb-feat-sec { padding: 4rem 0; }
	#cbas-history .cb-feat-grid { grid-template-columns: 1fr; gap: 1rem; }
	#cbas-history .cb-feat-card { padding: 1.5rem; }
}

/* ═══════════════════════════════════════════════════════════
   AT-A-GLANCE / CAPACITY & LOCATIONS
═══════════════════════════════════════════════════════════ */
#cbas-history .cb-glance-sec {
	padding: 6rem 0;
	position: relative;
	background:
		radial-gradient(ellipse 60% 50% at 50% 0%, rgba(80,140,200,.08), transparent 60%),
		linear-gradient(180deg, rgba(13,17,23,0) 0%, rgba(8,12,18,.4) 100%);
}

#cbas-history .cb-glance-lede {
	max-width: 760px;
	margin: 1.4rem auto 3rem;
	color: #93b1c8;
	font-size: 1rem;
	font-weight: 300;
	line-height: 2;
	text-align: center;
}
#cbas-history .cb-glance-lede strong {
	color: var(--cb-highlight, #c8e0f0);
	font-weight: 600;
}

/* Production-capacity grid */
#cbas-history .cb-cap-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.4rem;
	margin-bottom: 2rem;
}
#cbas-history .cb-cap-card {
	position: relative;
	background: linear-gradient(160deg, rgba(255,255,255,.025), rgba(255,255,255,.005));
	border: 1px solid rgba(100, 170, 210, .18);
	border-radius: 18px;
	padding: 1.8rem 1.5rem 1.6rem;
	text-align: center;
	transition: transform .35s ease, border-color .35s, box-shadow .35s;
	overflow: hidden;
}
#cbas-history .cb-cap-card::before {
	content: "";
	position: absolute; top: 0; left: 0; right: 0; height: 2px;
	background: linear-gradient(90deg, transparent, var(--cb-steel, #6aaecc), transparent);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .45s ease;
}
#cbas-history .cb-cap-card:hover {
	transform: translateY(-4px);
	border-color: rgba(100, 170, 210, .42);
	box-shadow: 0 14px 38px rgba(100, 170, 210, .12);
}
#cbas-history .cb-cap-card:hover::before { transform: scaleX(1); }
#cbas-history .cb-cap-icon {
	width: 48px; height: 48px;
	margin: 0 auto 1rem;
	display: inline-flex; align-items: center; justify-content: center;
	background: rgba(100, 170, 210, .08);
	border: 1px solid rgba(100, 170, 210, .22);
	border-radius: 12px;
}
#cbas-history .cb-cap-icon svg { width: 24px; height: 24px; }
#cbas-history .cb-cap-num {
	font-size: 2.4rem;
	font-weight: 800;
	color: var(--cb-highlight, #c8e0f0);
	line-height: 1;
	letter-spacing: .5px;
}
#cbas-history .cb-cap-num small {
	display: block;
	margin-top: .35rem;
	font-size: .7rem;
	color: var(--cb-steel, #6aaecc);
	font-weight: 500;
	letter-spacing: 0;
}
#cbas-history .cb-cap-title {
	margin-top: .8rem;
	font-size: .92rem;
	font-weight: 700;
	color: var(--cb-highlight, #c8e0f0);
}
#cbas-history .cb-cap-desc {
	margin-top: .35rem;
	font-size: .76rem;
	color: var(--cb-text-muted, #4a6e88);
	font-weight: 300;
}

/* Factory locations */
#cbas-history .cb-loc-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.4rem;
	margin-bottom: 2rem;
}
#cbas-history .cb-loc-card {
	position: relative;
	background: linear-gradient(140deg, rgba(100, 170, 210, .06), rgba(255,255,255,.015));
	border: 1px solid rgba(100, 170, 210, .2);
	border-radius: 18px;
	padding: 1.6rem 1.6rem 1.7rem;
	transition: transform .35s ease, border-color .35s, box-shadow .35s;
}
#cbas-history .cb-loc-card:hover {
	transform: translateY(-3px);
	border-color: rgba(100, 170, 210, .42);
	box-shadow: 0 14px 30px rgba(100, 170, 210, .12);
}
#cbas-history .cb-loc-pill {
	display: inline-block;
	background: rgba(100, 170, 210, .14);
	border: 1px solid rgba(100, 170, 210, .3);
	color: var(--cb-steel-m, #90c8e4);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .04em;
	padding: .35rem .85rem;
	border-radius: 100px;
	margin-bottom: 1rem;
}
#cbas-history .cb-loc-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin-bottom: .8rem;
	background: rgba(100, 170, 210, .08);
	border-radius: 10px;
}
#cbas-history .cb-loc-icon svg { width: 20px; height: 20px; }
#cbas-history .cb-loc-name {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--cb-highlight, #c8e0f0);
	margin-bottom: .5rem;
}
#cbas-history .cb-loc-addr {
	font-size: .85rem;
	color: #93b1c8;
	line-height: 1.85;
	font-weight: 300;
}

/* Mine investment */
#cbas-history .cb-mine-card {
	display: flex;
	gap: 1.4rem;
	align-items: stretch;
	background: linear-gradient(135deg, rgba(200, 168, 76, .08), rgba(200, 168, 76, .015));
	border: 1px solid rgba(200, 168, 76, .25);
	border-radius: 18px;
	padding: 1.8rem;
	position: relative;
	overflow: hidden;
}
#cbas-history .cb-mine-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 40% 80% at 100% 50%, rgba(200, 168, 76, .07), transparent 70%);
	pointer-events: none;
}
#cbas-history .cb-mine-icon {
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(200, 168, 76, .12);
	border: 1px solid rgba(200, 168, 76, .32);
	border-radius: 14px;
	position: relative;
	z-index: 2;
}
#cbas-history .cb-mine-icon svg { width: 28px; height: 28px; }
#cbas-history .cb-mine-body {
	flex: 1 1 auto;
	position: relative;
	z-index: 2;
}
#cbas-history .cb-mine-tag {
	font-size: .72rem;
	font-weight: 700;
	color: var(--cb-gold, #c8a84c);
	letter-spacing: .06em;
	margin-bottom: .35rem;
}
#cbas-history .cb-mine-name {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--cb-gold-l, #e8d8a8);
	margin-bottom: .7rem;
}
#cbas-history .cb-mine-desc {
	font-size: .9rem;
	color: #b8c9d8;
	line-height: 2;
	font-weight: 300;
	margin-bottom: 1rem;
	text-align: justify;
}
#cbas-history .cb-mine-desc strong {
	color: var(--cb-gold-l, #e8d8a8);
	font-weight: 600;
}
#cbas-history .cb-mine-meta {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
}
#cbas-history .cb-mine-chip {
	display: inline-block;
	background: rgba(200, 168, 76, .1);
	border: 1px solid rgba(200, 168, 76, .28);
	color: var(--cb-gold-l, #e8d8a8);
	font-size: .76rem;
	font-weight: 600;
	padding: .35rem .85rem;
	border-radius: 100px;
}

/* ── Glance: responsive ── */
@media (max-width: 880px) {
	#cbas-history .cb-cap-grid {
		grid-template-columns: 1fr 1fr;
	}
	#cbas-history .cb-cap-card:nth-child(3) {
		grid-column: 1 / -1;
		max-width: 380px;
		margin: 0 auto;
	}
}
@media (max-width: 720px) {
	#cbas-history .cb-glance-sec { padding: 4rem 0; }
	#cbas-history .cb-glance-lede {
		font-size: .92rem;
		margin: 1rem auto 2rem;
	}
	#cbas-history .cb-cap-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
	#cbas-history .cb-cap-card:nth-child(3) {
		grid-column: auto;
		max-width: none;
		margin: 0;
	}
	#cbas-history .cb-cap-num { font-size: 2rem; }
	#cbas-history .cb-loc-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
	#cbas-history .cb-mine-card {
		flex-direction: column;
		gap: 1rem;
		padding: 1.4rem;
	}
	#cbas-history .cb-mine-icon { flex: 0 0 48px; width: 48px; height: 48px; }
	#cbas-history .cb-mine-name { font-size: 1.1rem; }
	#cbas-history .cb-mine-desc { font-size: .85rem; }
}
