/**
 * ChanoDev Portfolio & EEAT Pages Stylesheet
 *
 * @package ChanoDev
 */

/* ==========================================================================
   1. Design Tokens & Utility Classes
   ========================================================================== */
:root {
	--chanodev-accent: #8bc34a;
	--chanodev-accent-dark: #689f38;
	--chanodev-accent-glow: rgba(139, 195, 74, 0.2);
	--chanodev-surface: #ffffff;
	--chanodev-surface-elevated: #f8fafc;
	--chanodev-border: rgba(0, 0, 0, 0.08);
	--chanodev-border-focus: #8bc34a;
	--chanodev-text-main: #0f172a;
	--chanodev-text-muted: #475569;
	--chanodev-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
	--chanodev-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
	--chanodev-shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.1);
}

/* Accessibility: High-Contrast Focus Visible Outline (WCAG 2.4.7) */
:focus-visible {
	outline: 2px solid var(--color-primary, #8bc34a);
	outline-offset: 3px;
}

.home-deck-card:focus-visible {
	outline: 3px solid var(--color-primary, #8bc34a) !important;
	outline-offset: 4px !important;
	border-radius: 1.2rem;
}

.home-metric-slide:focus-visible {
	outline: 2px solid var(--color-primary, #8bc34a) !important;
	outline-offset: 2px !important;
	border-radius: 12px;
}

.btn:focus-visible,
button:focus-visible,
a:focus-visible {
	outline: 2px solid var(--color-primary, #8bc34a);
	outline-offset: 2px;
}

/* ==========================================================================
   2. Hero & Header Sections
   ========================================================================== */

.portfolio-kicker,
.about-kicker,
.legal-kicker {
	display: inline-block;
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--color-primary);
	background: color-mix(in srgb, var(--color-primary) 12%, transparent);
	padding: 0.3rem 0.8rem;
	border-radius: 999px;
}

.portfolio-page-title,
.about-title,
.services-main-title,
.contact-main-title,
.legal-page-title,
.hero-headline {
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 800;
	line-height: 1.15;
	color: var(--chanodev-text-main, #0f172a);
	margin: 0.5rem 0 1rem 0;
	letter-spacing: -0.02em;
}

.portfolio-page-description,
.about-lead,
.services-main-description,
.contact-main-description,
.hero-subheadline {
	font-size: 1.15rem;
	line-height: 1.6;
	color: var(--chanodev-text-muted, #64748b);
	max-width: 720px;
	margin: 0 0 1.5rem 0;
}

/* ==========================================================================
   3. Front Page Hero & Engineering Terminal Component
   ========================================================================== */
.home-hero-grid {
	display: grid;
	grid-template-columns: 1.12fr 0.88fr;
	gap: 3.5rem;
	align-items: center;
}

.home-hero-badge-row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin-bottom: 1.25rem;
	animation: heroSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.home-hero-kicker {
	display: inline-flex;
	align-items: center;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--chanodev-accent-dark, #558b2f);
	background: color-mix(in srgb, var(--color-primary, #8bc34a) 12%, transparent);
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	border: 1px solid color-mix(in srgb, var(--color-primary, #8bc34a) 25%, transparent);
}

.home-hero-status-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: #065f46;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
}

.home-hero-text .hero-headline {
	font-size: clamp(2.35rem, 4.2vw, 3.65rem);
	font-weight: 850;
	line-height: 1.12;
	color: var(--chanodev-text-main, #0f172a);
	margin: 0 0 1.25rem 0;
	letter-spacing: -0.03em;
	animation: heroSlideUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

.home-hero-text .hero-subheadline {
	font-size: clamp(1.05rem, 1.35vw, 1.18rem);
	line-height: 1.65;
	color: var(--chanodev-text-muted, #475569);
	max-width: 640px;
	margin: 0 0 2rem 0;
	animation: heroSlideUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.34s both;
}

.hero-actions {
	display: flex;
	gap: 1rem;
	margin-bottom: 1.5rem;
	flex-wrap: wrap;
	align-items: center;
	animation: heroSlideUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.46s both;
}

/* Hero Key Metrics Slideshow */
.home-hero-metrics-carousel {
	position: relative;
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--chanodev-border, rgba(0, 0, 0, 0.08));
	max-width: 580px;
	animation: heroSlideUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.58s both;
}

.home-hero-metrics-track {
	position: relative;
	min-height: 100px;
}

.home-metric-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
	pointer-events: none;
}

.home-metric-slide.active {
	position: relative;
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
	cursor: pointer;
}

.home-metric-slide-card {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	box-shadow: none;
	transition: all 0.25s ease;
}

@supports (corner-shape: squircle) {
	.home-metric-slide-card {
		border-radius: 16px;
		corner-shape: squircle;
	}
}

.home-metric-slide-card:hover {
	border-color: color-mix(in srgb, var(--color-primary, #8bc34a) 40%, transparent);
	box-shadow: none;
}

.home-metric-slide-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.home-metric-slide-icon {
	color: var(--chanodev-accent-dark, #558b2f);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	background: color-mix(in srgb, var(--color-primary, #8bc34a) 10%, transparent);
}

.home-metric-slide-body {
	display: flex;
	align-items: center;
	gap: 1.25rem;
}

.home-metric-slide-num {
	font-size: clamp(1.75rem, 2.3vw, 2.2rem);
	font-weight: 850;
	color: var(--chanodev-text-main, #0f172a);
	line-height: 1;
	letter-spacing: -0.03em;
	white-space: nowrap;
}

.home-metric-slide-info {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.home-metric-slide-info h4 {
	font-size: 0.96rem;
	font-weight: 700;
	color: var(--chanodev-text-main, #0f172a);
	margin: 0;
	letter-spacing: -0.01em;
}

.home-metric-slide-info p {
	font-size: 0.82rem;
	line-height: 1.45;
	color: var(--chanodev-text-muted, #64748b);
	margin: 0;
}



/* ==========================================================================
   Home Hero 3D Card Deck (4-Card Rotating Isometric Showcase)
   ========================================================================== */
.home-hero-visual {
	position: relative;
	perspective: 1200px;
	animation: heroVisualEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;

	&::before {
		content: '';
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		width: 125%;
		height: 125%;
		background: radial-gradient(circle, color-mix(in srgb, var(--color-primary, #8bc34a) 18%, transparent) 0%, transparent 68%);
		pointer-events: none;
		z-index: -1;
		opacity: 0.75;
		transition: opacity 0.4s ease, transform 0.4s ease;
	}

	&:hover::before {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1.08);
	}
}

.home-deck-wrapper {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
	position: relative;
}

/* 3D Stack Container */
.home-deck-stack {
	position: relative;
	min-height: 440px;
	width: 100%;
	perspective: 1200px;
	transform-style: preserve-3d;
}

/* Generic Base Deck Card */
.home-deck-card {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background: var(--footer-background, #101c15);
	border: 8px solid #ffffff;
	border-radius: 1.2rem;
	box-shadow: none !important;
	overflow: hidden;
	transform-origin: center center;
	transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease, filter 0.4s ease;
	will-change: transform, opacity;
}

.is-chromium .home-deck-card {
	border-radius: 2rem;
	corner-shape: squircle;
}

/* Spotlight interactivo en todas las tarjetas */
.home-deck-card::after {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(450px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
			color-mix(in srgb, var(--color-primary, #8bc34a) 22%, transparent),
			transparent 75%);
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.4s ease;
	z-index: 5;
}

.home-deck-card:hover::after {
	opacity: 1;
}

/* 3D Transform Rotations in Desktop (>=1366px) */
@media (width >=1366px) {
	.home-deck-card.is-active {
		transform: rotateX(8deg) rotateY(-12deg) rotateZ(2deg) translate3d(0, 0, 0);
		opacity: 1;
		z-index: 10;
		pointer-events: auto;
		filter: brightness(1);
		box-shadow: 0 2px 4px rgba(0, 0, 0, .25) !important;
	}

	.home-deck-card.is-active:hover {
		transform: rotateX(0) rotateY(0) rotateZ(0) translate3d(0, 0, 0);
		box-shadow: none;
	}

	.home-deck-card.is-next {
		transform: rotateX(8deg) rotateY(-12deg) rotateZ(2deg) translate3d(28px, -20px, -45px) scale(0.96);
		z-index: 8;
		pointer-events: auto;
		cursor: pointer;
		filter: brightness(0.8);
	}

	.home-deck-card.is-prev {
		transform: rotateX(8deg) rotateY(-12deg) rotateZ(2deg) translate3d(52px, -38px, -90px) scale(0.92);
		z-index: 6;
		pointer-events: auto;
		cursor: pointer;
		filter: brightness(0.65);
	}

	.home-deck-card.is-stacked {
		transform: rotateX(8deg) rotateY(-12deg) rotateZ(2deg) translate3d(72px, -52px, -135px) scale(0.88);
		z-index: 4;
		pointer-events: auto;
		cursor: pointer;
		filter: brightness(0.5);
	}
}

@media (width < 1366px) {
	.home-deck-card.is-active {
		opacity: 1;
		z-index: 10;
		pointer-events: auto;
		transform: translate3d(0, 0, 0);
	}

	.home-deck-card.is-next,
	.home-deck-card.is-prev,
	.home-deck-card.is-stacked {
		opacity: 0;
		z-index: 1;
		pointer-events: none;
		transform: translate3d(15px, 0, 0);
	}
}

/* Responsive Mobile & Tablet Rules for Hero Deck Visual */
@media (max-width: 991px) {
	.home-hero-grid {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.home-hero-visual {
		width: 100%;
		max-width: 580px;
		margin: 1rem auto 0;
		opacity: 1 !important;
		visibility: visible !important;
		display: block !important;
		transform: none !important;
	}

	.home-deck-stack {
		min-height: 480px;
	}
}

@media (max-width: 640px) {
	.home-hero-visual {
		max-width: 100%;
		margin: 1rem 0 0;
	}

	.home-deck-stack {
		min-height: 520px;
	}

	.home-deck-card {
		border-width: 4px;
		border-radius: 1rem;
	}

	.mockup-browser-header {
		padding: 0.5rem 0.75rem;
		gap: 0.45rem;
	}

	.terminal-dots .term-btn {
		width: 7px;
		height: 7px;
	}

	.mockup-url-bar {
		font-size: 0.62rem;
		padding: 0.15rem 0.45rem;
		max-width: 175px;
		border-radius: 4px;
	}

	.mockup-pill-badge {
		font-size: 0.56rem;
		padding: 0.12rem 0.38rem;
	}

	.mockup-body {
		padding: 0.85rem 0.75rem;
		gap: 0.65rem;
		height: auto;
		min-height: calc(100% - 38px);
	}

	/* Card 1 Mobile adjustments */
	.arch-brand-title h4 {
		font-size: 0.82rem;
	}

	.arch-sub-tag {
		font-size: 0.6rem;
	}

	.arch-version-chip {
		font-size: 0.56rem;
		padding: 0.08rem 0.3rem;
	}

	.arch-layer-item {
		padding: 0.38rem 0.55rem;
		gap: 0.2rem;
	}

	.layer-name {
		font-size: 0.7rem;
	}

	.layer-chips span {
		font-size: 0.55rem;
		padding: 0.06rem 0.25rem;
	}

	.arch-footer-strip {
		gap: 0.4rem;
		padding-top: 0.45rem;
	}

	.arch-kpi-pill {
		padding: 0.35rem 0.45rem;
	}

	.arch-kpi-pill strong {
		font-size: 0.82rem;
	}

	.arch-kpi-pill span {
		font-size: 0.55rem;
	}

	/* Card 2 Mobile adjustments */
	.mockup-perf-banner {
		gap: 0.65rem;
	}

	.perf-score-meter {
		width: 44px;
		height: 44px;
	}

	.perf-score-num {
		font-size: 1.1rem;
	}

	.perf-banner-info h3 {
		font-size: 0.85rem;
	}

	.perf-banner-info p {
		font-size: 0.68rem;
	}

	.mockup-perf-metrics-grid {
		gap: 0.45rem;
	}

	.perf-metric-box {
		padding: 0.45rem 0.55rem;
	}

	.perf-metric-box .metric-val {
		font-size: 1rem;
	}

	.perf-metric-box .metric-sub {
		font-size: 0.58rem;
	}

	.perf-footer-strip {
		gap: 0.35rem;
		padding-top: 0.45rem;
	}

	.perf-feature-pill {
		font-size: 0.6rem;
		padding: 0.12rem 0.35rem;
	}

	/* Card 3 Mobile adjustments */
	.ecom-store-nav {
		padding-bottom: 0.35rem;
	}

	.ecom-store-categories {
		gap: 3px;
	}

	.ecom-store-categories span {
		font-size: 0.58rem;
		padding: 0.08rem 0.3rem;
	}

	.ecom-product-showcase {
		grid-template-columns: 75px 1fr;
		gap: 0.65rem;
		padding: 0.55rem;
	}

	.ecom-product-visual {
		height: 75px;
	}

	.ecom-product-details h4 {
		font-size: 0.8rem;
	}

	.ecom-price {
		font-size: 1rem;
	}

	.ecom-quick-buy-btn {
		font-size: 0.64rem;
		padding: 0.3rem 0.55rem;
	}

	.ecom-store-stats-strip {
		gap: 0.4rem;
		padding-top: 0.45rem;
	}

	.ecom-stat-item {
		padding: 0.4rem 0.45rem;
	}

	.ecom-stat-item strong {
		font-size: 0.8rem;
	}

	.ecom-stat-item span {
		font-size: 0.58rem;
	}

	/* Card 4 Mobile adjustments */
	.analytics-header-row {
		padding-bottom: 0.35rem;
	}

	.analytics-brand-box strong {
		font-size: 0.68rem;
	}

	.analytics-live-chip {
		font-size: 0.58rem;
		padding: 0.08rem 0.3rem;
	}

	.analytics-kpi-grid {
		gap: 0.35rem;
	}

	.analytics-kpi-card {
		padding: 0.4rem 0.45rem;
	}

	.analytics-kpi-card .kpi-val {
		font-size: 0.9rem;
	}

	.analytics-main-grid {
		grid-template-columns: 1fr;
		gap: 0.45rem;
	}

	.analytics-chart-panel,
	.analytics-sources-panel {
		padding: 0.45rem 0.55rem;
	}

	.analytics-bars-wrap {
		height: 50px;
		padding-top: 8px;
	}

	.analytics-tag-pill {
		font-size: 0.58rem;
		padding: 0.12rem 0.35rem;
	}
}

@media (max-width: 420px) {
	.home-deck-stack {
		min-height: 540px;
	}

	.home-deck-card {
		border-width: 3px;
		border-radius: 0.85rem;
	}

	.mockup-browser-header {
		padding: 0.4rem 0.55rem;
		gap: 0.35rem;
	}

	.terminal-dots .term-btn {
		width: 6px;
		height: 6px;
	}

	.mockup-url-bar {
		font-size: 0.58rem;
		padding: 0.12rem 0.35rem;
		max-width: 140px;
	}

	.mockup-pill-badge {
		font-size: 0.52rem;
		padding: 0.1rem 0.3rem;
	}

	.mockup-body {
		padding: 0.75rem 0.65rem;
		gap: 0.55rem;
	}

	.ecom-product-showcase {
		grid-template-columns: 1fr;
	}

	.ecom-product-visual {
		height: 65px;
	}
}

/* ==========================================================================
   Hero Deck Card Component Staggered Entry Animations
   ========================================================================== */

@keyframes deckItemSlideUp {
	0% {
		opacity: 0;
		transform: translateY(32px) scale(0.94);
		filter: blur(4px);
	}

	70% {
		transform: translateY(-3px) scale(1.01);
		filter: blur(0);
	}

	100% {
		opacity: 1;
		transform: translateY(0) scale(1);
		filter: blur(0);
	}
}

@keyframes deckItemSlideLeft {
	0% {
		opacity: 0;
		transform: translateX(-40px) scale(0.92);
		filter: blur(4px);
	}

	70% {
		transform: translateX(4px) scale(1.01);
		filter: blur(0);
	}

	100% {
		opacity: 1;
		transform: translateX(0) scale(1);
		filter: blur(0);
	}
}

@keyframes deckItemPopScale {
	0% {
		opacity: 0;
		transform: scale(0.72) translateY(20px);
		filter: blur(6px);
	}

	65% {
		transform: scale(1.06) translateY(-4px);
		filter: blur(0);
	}

	100% {
		opacity: 1;
		transform: scale(1) translateY(0);
		filter: blur(0);
	}
}

@keyframes deckScoreRingDraw {
	0% {
		stroke-dashoffset: 283;
		opacity: 0;
	}

	40% {
		opacity: 1;
	}

	100% {
		stroke-dashoffset: 0;
		opacity: 1;
	}
}

@keyframes deckBarGrowUp {
	0% {
		transform: scaleY(0);
		transform-origin: bottom;
		opacity: 0;
	}

	60% {
		transform: scaleY(1.15);
		transform-origin: bottom;
	}

	100% {
		transform: scaleY(1);
		transform-origin: bottom;
		opacity: 1;
	}
}

@keyframes deckProgressExpand {
	0% {
		transform: scaleX(0);
		transform-origin: left;
		opacity: 0;
	}

	100% {
		transform: scaleX(1);
		transform-origin: left;
		opacity: 1;
	}
}

/* Card 1: Clean Architecture Animations */
.home-deck-card.is-active .arch-header-row {
	animation: deckItemSlideUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.home-deck-card.is-active .arch-layer-item:nth-child(1) {
	animation: deckItemSlideLeft 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

.home-deck-card.is-active .arch-layer-item:nth-child(2) {
	animation: deckItemSlideLeft 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

.home-deck-card.is-active .arch-layer-item:nth-child(3) {
	animation: deckItemSlideLeft 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both;
}

.home-deck-card.is-active .arch-footer-strip {
	animation: deckItemSlideUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.42s both;
}

/* Card 2: Performance & Core Web Vitals Animations */
.home-deck-card.is-active .mockup-perf-summary {
	animation: deckItemPopScale 0.65s cubic-bezier(0.34, 1.25, 0.64, 1) 0.06s both;
}

.home-deck-card.is-active .score-ring-circle {
	animation: deckScoreRingDraw 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

.home-deck-card.is-active .perf-metric-card:nth-child(1) {
	animation: deckItemSlideUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.16s both;
}

.home-deck-card.is-active .perf-metric-card:nth-child(2) {
	animation: deckItemSlideUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.24s both;
}

.home-deck-card.is-active .perf-metric-card:nth-child(3) {
	animation: deckItemSlideUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both;
}

.home-deck-card.is-active .perf-metric-card:nth-child(4) {
	animation: deckItemSlideUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.40s both;
}

.home-deck-card.is-active .mockup-perf-footer-tags {
	animation: deckItemSlideUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.48s both;
}

/* Card 3: E-Commerce Storefront Animations */
.home-deck-card.is-active .ecom-store-nav {
	animation: deckItemSlideUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.home-deck-card.is-active .ecom-product-showcase {
	animation: deckItemPopScale 0.65s cubic-bezier(0.34, 1.25, 0.64, 1) 0.16s both;
}

.home-deck-card.is-active .ecom-store-stats-strip {
	animation: deckItemSlideUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both;
}

/* Card 4: Analytics Dashboard Animations */
.home-deck-card.is-active .analytics-header-row {
	animation: deckItemSlideUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.home-deck-card.is-active .analytics-kpi-card:nth-child(1) {
	animation: deckItemSlideUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.14s both;
}

.home-deck-card.is-active .analytics-kpi-card:nth-child(2) {
	animation: deckItemSlideUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

.home-deck-card.is-active .analytics-kpi-card:nth-child(3) {
	animation: deckItemSlideUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.30s both;
}

.home-deck-card.is-active .analytics-chart-panel {
	animation: deckItemSlideUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.36s both;
}

.home-deck-card.is-active .analytics-sources-panel {
	animation: deckItemSlideUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.42s both;
}

.home-deck-card.is-active .analytics-col .bar-fill {
	animation: deckBarGrowUp 0.75s cubic-bezier(0.34, 1.25, 0.64, 1) 0.40s both;
}

.home-deck-card.is-active .source-progress .progress-bar {
	animation: deckProgressExpand 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.48s both;
}

.home-deck-card.is-active .analytics-footer-strip {
	animation: deckItemSlideUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.50s both;
}

/* Left Hero Metric Slide animations */
.home-metric-slide.active .home-metric-tag {
	animation: deckItemSlideLeft 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.home-metric-slide.active .home-metric-title {
	animation: deckItemSlideLeft 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.14s both;
}

.home-metric-slide.active .home-metric-desc {
	animation: deckItemSlideLeft 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

.home-metric-slide.active .home-metric-footer {
	animation: deckItemSlideUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.30s both;
}

/* Card 1: Clean Architecture Window Body */
.mockup-pill-badge.arch-badge {
	background: rgba(16, 185, 129, 0.16);
	color: #10b981;
	border-color: rgba(16, 185, 129, 0.35);
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.mockup-arch-body {
	gap: 0.85rem;
}

.arch-header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 0.6rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.arch-brand-title {
	display: flex;
	align-items: center;
	gap: 8px;
}

.arch-icon-cube {
	width: 28px;
	height: 28px;
	border-radius: 6px;
	background: rgba(16, 185, 129, 0.14);
	border: 1px solid rgba(16, 185, 129, 0.28);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.arch-brand-title h4 {
	font-size: 0.92rem;
	font-weight: 800;
	color: #ffffff;
	margin: 0;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

.arch-sub-tag {
	font-size: 0.68rem;
	color: #cbd5e1;
	font-weight: 500;
}

.arch-version-chip {
	font-size: 0.65rem;
	font-weight: 750;
	color: #10b981;
	background: rgba(16, 185, 129, 0.12);
	border: 1px solid rgba(16, 185, 129, 0.25);
	padding: 0.15rem 0.45rem;
	border-radius: 4px;
}

/* Architecture Layer Stack */
.arch-layers-stack {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.arch-layer-item {
	background: rgba(255, 255, 255, 0.025);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 8px;
	padding: 0.5rem 0.75rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	transition: all 0.2s ease;
}

.arch-layer-item.highlight {
	background: rgba(16, 185, 129, 0.06);
	border-color: rgba(16, 185, 129, 0.22);
}

.layer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.layer-meta {
	display: flex;
	align-items: center;
	gap: 6px;
}

.layer-num {
	font-size: 0.65rem;
	font-weight: 800;
	color: #94a3b8;
	font-family: ui-monospace, SFMono-Regular, monospace;
}

.layer-name {
	font-size: 0.78rem;
	font-weight: 750;
	color: #ffffff;
}

.layer-tag {
	font-size: 0.6rem;
	font-weight: 800;
	padding: 0.08rem 0.35rem;
	border-radius: 3px;
	text-transform: uppercase;
}

.layer-tag.cyan {
	color: #38bdf8;
	background: rgba(56, 189, 248, 0.15);
}

.layer-tag.green {
	color: #10b981;
	background: rgba(16, 185, 129, 0.15);
}

.layer-tag.purple {
	color: #a855f7;
	background: rgba(168, 85, 247, 0.15);
}

.layer-chips {
	display: flex;
	align-items: center;
	gap: 5px;
	flex-wrap: wrap;
}

.layer-chips span {
	font-size: 0.64rem;
	color: #cbd5e1;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.06);
	padding: 0.1rem 0.4rem;
	border-radius: 4px;
	font-weight: 500;
}

/* Architecture Footer Strip */
.arch-footer-strip {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.6rem;
	margin-top: auto;
	padding-top: 0.6rem;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.arch-kpi-pill {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 8px;
	padding: 0.5rem 0.65rem;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.arch-kpi-pill.highlight {
	background: rgba(16, 185, 129, 0.08);
	border-color: rgba(16, 185, 129, 0.25);
}

.arch-kpi-pill strong {
	font-size: 0.95rem;
	font-weight: 850;
	color: #ffffff;
	line-height: 1.1;
}

.arch-kpi-pill.highlight strong {
	color: #10b981;
}

.arch-kpi-pill span {
	font-size: 0.65rem;
	color: #cbd5e1;
	font-weight: 600;
}

/* Card 2: Performance & PageSpeed Body */
.mockup-pill-badge.perf-badge {
	background: rgba(16, 185, 129, 0.16);
	color: #10b981;
	border-color: rgba(16, 185, 129, 0.35);
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.mockup-pill-badge.perf-badge .status-pulse-dot {
	width: 6px;
	height: 6px;
	background-color: #10b981;
	box-shadow: 0 0 6px #10b981;
	border-radius: 50%;
	display: inline-block;
	margin-right: 0;
	animation: none;
}

.mockup-perf-body {
	gap: 1.15rem;
}

.mockup-perf-banner {
	display: flex;
	align-items: center;
	gap: 1.15rem;
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.14) 0%, rgba(5, 150, 105, 0.04) 100%);
	border: 1px solid rgba(16, 185, 129, 0.25);
	border-radius: 12px;
	padding: 1rem 1.25rem;
}

.perf-score-meter {
	position: relative;
	width: 58px;
	height: 58px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.perf-ring-svg {
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}

.perf-ring-bg {
	fill: none;
	stroke: rgba(16, 185, 129, 0.2);
	stroke-width: 3.5;
}

.perf-ring-val {
	fill: none;
	stroke: #10b981;
	stroke-width: 3.5;
	stroke-linecap: round;
	filter: drop-shadow(0 0 4px rgba(16, 185, 129, 0.6));
}

.perf-score-num {
	position: absolute;
	font-size: 1.25rem;
	font-weight: 900;
	color: #10b981;
	letter-spacing: -0.03em;
	line-height: 1;
}

.perf-banner-info {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.perf-kicker-tag {
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #10b981;
}

.perf-banner-info h3 {
	font-size: 1.08rem;
	font-weight: 800;
	color: #ffffff;
	margin: 0;
	letter-spacing: -0.02em;
}

.perf-banner-info p {
	font-size: 0.78rem;
	color: #94a3b8;
	margin: 0;
}

.mockup-perf-metrics-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.75rem;
}

.perf-metric-box {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 10px;
	padding: 0.75rem 0.95rem;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	transition: border-color 0.2s ease;
}

.perf-metric-box.highlight {
	background: rgba(16, 185, 129, 0.07);
	border-color: rgba(16, 185, 129, 0.24);
}

.perf-metric-top {
	display: flex;
	align-items: center;
	gap: 6px;
}

.metric-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	flex-shrink: 0;
}

.metric-dot.green {
	background: #10b981;
	box-shadow: 0 0 6px #10b981;
}

.perf-metric-box .metric-lbl {
	font-size: 0.72rem;
	color: #94a3b8;
	font-weight: 600;
}

.perf-metric-box .metric-val {
	font-size: 1.25rem;
	font-weight: 850;
	color: #ffffff;
	line-height: 1.1;
}

.perf-metric-box.highlight .metric-val {
	color: #10b981;
}

.perf-metric-box .metric-sub {
	font-size: 0.68rem;
	color: #cbd5e1;
	font-weight: 500;
}

.perf-footer-strip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding-top: 0.75rem;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	margin-top: auto;
	flex-wrap: wrap;
}

.perf-feature-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 0.72rem;
	font-weight: 600;
	color: #cbd5e1;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.06);
	padding: 0.22rem 0.55rem;
	border-radius: 6px;
}

/* Mockup Browser Windows Header */
.mockup-browser-header {
	background: #111827;
	padding: 0.65rem 1rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.6rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	min-width: 0;
	overflow: hidden;
}

.terminal-dots {
	display: flex;
	align-items: center;
	gap: 0.3rem;
	flex-shrink: 0;
}

.terminal-dots .term-btn {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	display: inline-block;
}

.terminal-dots .term-btn.red {
	background: #ef4444;
}

.terminal-dots .term-btn.yellow {
	background: #f59e0b;
}

.terminal-dots .term-btn.green {
	background: #10b981;
}

.mockup-url-bar {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 6px;
	padding: 0.2rem 0.6rem;
	color: #94a3b8;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.72rem;
	font-weight: 500;
	flex: 1;
	min-width: 0;
	max-width: 250px;
	overflow: hidden;
}

.mockup-url-bar svg {
	flex-shrink: 0;
}

.mockup-url-bar span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: inline-block;
	min-width: 0;
}

.mockup-pill-badge {
	display: inline-flex;
	align-items: center;
	background: rgba(16, 185, 129, 0.15);
	color: #10b981;
	border: 1px solid rgba(16, 185, 129, 0.3);
	padding: 0.18rem 0.55rem;
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	white-space: nowrap;
	flex-shrink: 0;
}

.mockup-pill-badge.react-badge {
	background: rgba(56, 189, 248, 0.15);
	color: #38bdf8;
	border-color: rgba(56, 189, 248, 0.3);
}

.mockup-body {
	padding: 1.5rem 1.65rem;
	background: linear-gradient(180deg, #090d16 0%, #0d1320 100%);
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	height: calc(100% - 50px);
}

/* Card 3: E-Commerce Storefront Body */
.mockup-ecommerce-body {
	gap: 0.95rem;
}

.ecom-store-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 0.65rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.ecom-store-brand {
	display: flex;
	align-items: center;
	gap: 6px;
}

.ecom-store-brand strong {
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	color: #ffffff;
}

.ecom-store-categories {
	display: flex;
	align-items: center;
	gap: 6px;
}

.ecom-store-categories span {
	font-size: 0.68rem;
	font-weight: 600;
	color: #64748b;
	padding: 0.15rem 0.45rem;
	border-radius: 4px;
	transition: all 0.2s ease;
}

.ecom-store-categories span.active {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.08);
}

.ecom-mini-cart {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: rgba(16, 185, 129, 0.15);
	border: 1px solid rgba(16, 185, 129, 0.3);
	color: #10b981;
	padding: 0.2rem 0.5rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
}

.ecom-cart-count {
	font-size: 0.72rem;
	font-weight: 800;
}

/* Product Showcase Box */
.ecom-product-showcase {
	display: grid;
	grid-template-columns: 105px 1fr;
	gap: 1rem;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	padding: 0.85rem;
	align-items: center;
}

.ecom-product-visual {
	position: relative;
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(15, 23, 42, 0.8) 100%);
	border: 1px solid rgba(16, 185, 129, 0.25);
	border-radius: 10px;
	height: 105px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.ecom-sale-chip {
	position: absolute;
	top: 5px;
	left: 5px;
	background: #ef4444;
	color: #ffffff;
	font-size: 0.62rem;
	font-weight: 800;
	padding: 0.1rem 0.35rem;
	border-radius: 4px;
	line-height: 1.2;
}

.ecom-prod-icon-box {
	color: #38bdf8;
	filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.4));
}

.ecom-stock-badge {
	position: absolute;
	bottom: 4px;
	font-size: 0.6rem;
	font-weight: 700;
	color: #94a3b8;
	background: rgba(0, 0, 0, 0.55);
	padding: 0.08rem 0.35rem;
	border-radius: 4px;
}

.ecom-product-details {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.ecom-rating-row {
	display: flex;
	align-items: center;
	gap: 5px;
}

.ecom-stars {
	color: #fbbf24;
	font-size: 0.72rem;
	letter-spacing: 1px;
}

.ecom-rating-row small {
	font-size: 0.68rem;
	color: #cbd5e1;
	font-weight: 600;
}

.ecom-product-details h4 {
	font-size: 0.95rem;
	font-weight: 750;
	color: #ffffff;
	margin: 0;
	letter-spacing: -0.01em;
	line-height: 1.25;
}

.ecom-price-row {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin-top: 0.1rem;
}

.ecom-price {
	font-size: 1.2rem;
	font-weight: 850;
	color: #10b981;
	letter-spacing: -0.02em;
}

.ecom-old-price {
	font-size: 0.78rem;
	color: #94a3b8;
	text-decoration: line-through;
	font-weight: 500;
}

.ecom-quick-buy-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	background: linear-gradient(135deg, #10b981 0%, #059669 100%);
	color: #ffffff;
	border: none;
	border-radius: 8px;
	padding: 0.45rem 0.75rem;
	font-size: 0.75rem;
	font-weight: 750;
	cursor: pointer;
	margin-top: 0.2rem;
	box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
	transition: all 0.2s ease;
}

.ecom-quick-buy-btn:hover {
	filter: brightness(1.1);
	box-shadow: 0 4px 12px rgba(16, 185, 129, 0.5);
}

/* Store Stats Strip */
.ecom-store-stats-strip {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.6rem;
	margin-top: auto;
	padding-top: 0.65rem;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ecom-stat-item {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 8px;
	padding: 0.6rem 0.65rem;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.ecom-stat-item.highlight {
	background: rgba(16, 185, 129, 0.08);
	border-color: rgba(16, 185, 129, 0.25);
}

.ecom-stat-item strong {
	font-size: 0.95rem;
	font-weight: 800;
	color: #ffffff;
	line-height: 1.1;
}

.ecom-stat-item.highlight strong {
	color: #10b981;
}

.ecom-stat-item span {
	font-size: 0.68rem;
	color: #cbd5e1;
	font-weight: 600;
}

/* Card 4: Analytics Dashboard Body */
.mockup-analytics-body {
	gap: 0.85rem;
}

.analytics-header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 0.65rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.analytics-brand-box {
	display: flex;
	align-items: center;
	gap: 8px;
}

.analytics-brand-box strong {
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	color: #ffffff;
}

.analytics-live-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: rgba(16, 185, 129, 0.12);
	border: 1px solid rgba(16, 185, 129, 0.25);
	color: #94a3b8;
	font-size: 0.68rem;
	padding: 0.15rem 0.45rem;
	border-radius: 999px;
}

.analytics-live-chip b {
	color: #10b981;
}

.analytics-range-picker {
	display: flex;
	align-items: center;
	gap: 4px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.06);
	padding: 2px;
	border-radius: 6px;
}

.analytics-range-picker span {
	font-size: 0.65rem;
	font-weight: 600;
	color: #cbd5e1;
	padding: 0.15rem 0.45rem;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.analytics-range-picker span.active {
	background: #38bdf8;
	color: #0f172a;
	font-weight: 750;
}

/* 3-KPI Grid */
.analytics-kpi-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.6rem;
}

.analytics-kpi-card {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 8px;
	padding: 0.55rem 0.7rem;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.analytics-kpi-card.highlight {
	background: rgba(56, 189, 248, 0.08);
	border-color: rgba(56, 189, 248, 0.25);
}

.kpi-label-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 4px;
}

.kpi-label-row span {
	font-size: 0.65rem;
	color: #cbd5e1;
	font-weight: 600;
}

.kpi-trend {
	font-size: 0.6rem;
	font-weight: 800;
	padding: 0.05rem 0.3rem;
	border-radius: 3px;
}

.kpi-trend.up {
	color: #10b981;
	background: rgba(16, 185, 129, 0.15);
}

.kpi-trend.down {
	color: #38bdf8;
	background: rgba(56, 189, 248, 0.15);
}

.kpi-val {
	font-size: 1.15rem;
	font-weight: 850;
	color: #ffffff;
	line-height: 1.1;
}

.analytics-kpi-card.highlight .kpi-val {
	color: #38bdf8;
}

/* Main Grid: Chart + Sources */
.analytics-main-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 0.75rem;
	align-items: stretch;
}

.analytics-chart-panel,
.analytics-sources-panel {
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 10px;
	padding: 0.65rem 0.8rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.chart-panel-header small {
	font-size: 0.68rem;
	font-weight: 700;
	color: #cbd5e1;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* Daily Traffic Bars */
.analytics-bars-wrap {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 6px;
	height: 70px;
	padding-top: 15px;
}

.analytics-col {
	flex: 1;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	gap: 4px;
}

.analytics-col .bar-fill {
	position: relative;
	width: 100%;
	height: var(--h, 40%);
	background: rgba(56, 189, 248, 0.35);
	border-radius: 4px 4px 0 0;
	transition: height 0.4s ease, background 0.2s ease;
}

.analytics-col.active .bar-fill {
	background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
	box-shadow: 0 0 8px rgba(56, 189, 248, 0.45);
}

.bar-tooltip {
	position: absolute;
	top: -16px;
	left: 50%;
	transform: translateX(-50%);
	font-size: 0.55rem;
	font-weight: 800;
	color: #ffffff;
	background: #0284c7;
	padding: 0.05rem 0.25rem;
	border-radius: 3px;
	white-space: nowrap;
}

.analytics-col span {
	font-size: 0.62rem;
	color: #64748b;
	font-weight: 600;
}

.analytics-col.active span {
	color: #38bdf8;
	font-weight: 800;
}

/* Sources List */
.analytics-sources-list {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.source-row {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.source-info {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.source-info span {
	font-size: 0.65rem;
	color: #cbd5e1;
	font-weight: 500;
}

.source-info b {
	font-size: 0.65rem;
	color: #ffffff;
	font-weight: 700;
}

.source-progress {
	width: 100%;
	height: 4px;
	background: rgba(255, 255, 255, 0.06);
	border-radius: 999px;
	overflow: hidden;
}

.progress-bar {
	height: 100%;
	border-radius: 999px;
}

.progress-bar.cyan {
	background: #38bdf8;
}

.progress-bar.green {
	background: #10b981;
}

.progress-bar.purple {
	background: #a855f7;
}

/* Bottom Telemetry Strip */
.analytics-footer-strip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding-top: 0.65rem;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	margin-top: auto;
	flex-wrap: wrap;
}

.analytics-tag-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 0.68rem;
	font-weight: 600;
	color: #cbd5e1;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.06);
	padding: 0.2rem 0.5rem;
	border-radius: 6px;
}



/* ==========================================================================
   4. Portfolio Projects Grid & Cards
   ========================================================================== */
.portfolio-filter-nav {
	margin: 2rem 0;
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.filter-label {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--chanodev-text-muted);
}

.filter-list {
	display: flex;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}

.filter-link {
	display: inline-block;
	font-size: 0.85rem;
	font-weight: 600;
	padding: 0.4rem 1rem;
	border-radius: 999px;
	background: var(--chanodev-surface-elevated);
	border: 1px solid var(--chanodev-border);
	color: var(--chanodev-text-main);
	text-decoration: none;
	transition: all 0.2s ease;
}

.filter-link:hover,
.filter-link.is-active {
	background: var(--chanodev-accent-dark, #689f38);
	color: #ffffff;
	border-color: var(--chanodev-accent-dark, #689f38);
}

.chanodev-projects-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 2rem;
	margin-bottom: 3rem;
}

.chanodev-project-card {
	background: var(--chanodev-surface);
	border: 1px solid var(--chanodev-border);
	border-radius: var(--card-border-radius);
	overflow: hidden;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	flex-direction: column;
	box-shadow: var(--chanodev-shadow-sm);
}

.chanodev-project-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--chanodev-shadow-lg);
	border-color: rgba(104, 159, 56, 0.4);
}

.project-card-media {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	background: #e2e8f0;
	overflow: hidden;
}

.project-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.chanodev-project-card:hover .project-card-img {
	transform: scale(1.05);
}

.project-card-placeholder {
	width: 100%;
	height: 100%;
	position: relative;
	background-color: var(--bg-card, #ffffff);
	background-image:
		/* Major Blueprint Grid (40px) */
		linear-gradient(to right, color-mix(in srgb, var(--color-primary, #0284c7) 26%, transparent) 1px, transparent 1px),
		linear-gradient(to bottom, color-mix(in srgb, var(--color-primary, #0284c7) 26%, transparent) 1px, transparent 1px),
		/* Minor Sub-Grid (8px) */
		linear-gradient(to right, color-mix(in srgb, var(--color-primary, #0284c7) 10%, transparent) 1px, transparent 1px),
		linear-gradient(to bottom, color-mix(in srgb, var(--color-primary, #0284c7) 10%, transparent) 1px, transparent 1px);
	background-size: 40px 40px, 40px 40px, 8px 8px, 8px 8px;
	background-position: center center;
	border-bottom: 1px solid var(--border-light, color-mix(in srgb, var(--color-text-body, #0f172a) 8%, transparent));
	overflow: hidden;
}

.project-type-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--bg-card, #ffffff);
	border: 1px solid var(--border-light, rgba(0, 0, 0, 0.08));
	color: var(--color-text-heading, #0f172a);
	font-size: 0.75rem;
	font-weight: 700;
	padding: 0.3rem 0.7rem;
	border-radius: var(--badge-border-radius);
	letter-spacing: 0.03em;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
	z-index: 5;
}

.project-card-body {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.project-tech-tags {
	display: flex;
	gap: 0.4rem;
	flex-wrap: wrap;
	margin-bottom: 0.8rem;
}

.tech-tag {
	font-size: 0.75rem;
	font-weight: 600;
	background: #f1f5f9;
	color: #475569;
	padding: 0.2rem 0.55rem;
	border-radius: 4px;
}

.project-card-title {
	font-size: 1.3rem;
	font-weight: 700;
	margin: 0 0 0.6rem 0;
	line-height: 1.3;
}

.project-card-title a {
	color: var(--chanodev-text-main);
	text-decoration: none;
	transition: color 0.2s ease;
}

.project-card-title a:hover {
	color: var(--chanodev-accent-dark, #689f38);
}

.project-card-excerpt {
	font-size: 0.95rem;
	color: var(--chanodev-text-muted);
	line-height: 1.5;
	margin-bottom: 1rem;
	flex: 1;
}

.project-metric-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.85rem;
	font-weight: 600;
	background: #effaf0;
	color: #2e7d32;
	border: 1px solid #d4edda;
	padding: 0.3rem 0.7rem;
	border-radius: 6px;
	margin-bottom: 1.2rem;
}

.project-card-footer {
	padding-top: 1rem;
	border-top: 1px solid var(--chanodev-border);
}

.btn-read-case-study {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--chanodev-accent-dark, #689f38);
	text-decoration: none;
	transition: gap 0.2s ease;
}

.btn-read-case-study:hover {
	gap: 0.7rem;
}

/* ==========================================================================
   5. Single Project Case Study (E-E-A-T)
   ========================================================================== */
.project-breadcrumbs {
	font-size: 0.85rem;
	color: var(--chanodev-text-muted);
	margin-bottom: 1.5rem;
}

.project-breadcrumbs a {
	color: var(--chanodev-text-muted);
	text-decoration: none;
}

.project-breadcrumbs a:hover {
	color: var(--chanodev-accent-dark);
}

.project-single-title {
	font-size: clamp(2.2rem, 5vw, 3.4rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0.5rem 0 1rem 0;
}

.project-meta-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1rem;
	background: var(--chanodev-surface-elevated);
	border: 1px solid var(--chanodev-border);
	padding: 1.5rem;
	border-radius: var(--card-border-radius);
	margin: 2rem 0;
}

.project-meta-item .meta-label {
	display: block;
	font-size: 0.8rem;
	color: var(--chanodev-text-muted);
	text-transform: uppercase;
	font-weight: 600;
	margin-bottom: 0.25rem;
}

.project-meta-item .meta-value {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--chanodev-text-main);
}

.project-meta-item.highlight .meta-value {
	color: #2e7d32;
}

.project-actions-bar {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	margin-top: 1.5rem;
}

.btn-project-live {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: #0f172a;
	color: #ffffff !important;
	padding: 0.75rem 1.4rem;
	border-radius: var(--badge-border-radius);
	font-weight: 700;
	text-decoration: none;
	transition: all 0.2s ease;
}

.btn-project-live:hover {
	background: #1e293b;
	transform: translateY(-2px);
}

.btn-project-repo {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: var(--chanodev-surface);
	color: var(--chanodev-text-main) !important;
	border: 1px solid var(--chanodev-border);
	padding: 0.75rem 1.4rem;
	border-radius: var(--badge-border-radius);
	font-weight: 700;
	text-decoration: none;
	transition: all 0.2s ease;
}

.btn-project-repo:hover {
	background: var(--chanodev-surface-elevated);
}

.project-featured-image-wrapper {
	border-radius: var(--chanodev-radius-lg);
	overflow: hidden;
	box-shadow: var(--chanodev-shadow-lg);
	border: 1px solid var(--chanodev-border);
}

.project-main-image {
	width: 100%;
	height: auto;
	display: block;
}

.case-study-layout {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 3rem;
	align-items: start;
}

.case-study-section {
	display: flex;
	gap: 1.5rem;
	padding: 2rem;
	border-radius: var(--card-border-radius);
	margin-bottom: 2rem;
}

.case-study-section.challenge-box {
	background: #fff8f6;
	border: 1px solid #fed7cc;
}

.case-study-section.solution-box {
	background: #f4faf4;
	border: 1px solid #d4edda;
}

.section-icon-badge {
	font-size: 2rem;
	line-height: 1;
}

.case-study-section h2 {
	font-size: 1.35rem;
	margin: 0 0 0.5rem 0;
}

.case-study-section p {
	margin: 0;
	line-height: 1.6;
}

.sidebar-card {
	background: var(--chanodev-surface);
	border: 1px solid var(--chanodev-border);
	border-radius: var(--card-border-radius);
	padding: 1.5rem;
	margin-bottom: 1.5rem;
	box-shadow: var(--chanodev-shadow-sm);
}

.sidebar-card-title {
	font-size: 1.1rem;
	font-weight: 700;
	margin: 0 0 1rem 0;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--chanodev-border);
}

.tech-stack-badges {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.tech-badge {
	font-size: 0.85rem;
	font-weight: 600;
	background: var(--chanodev-accent-glow);
	color: var(--chanodev-accent-dark);
	padding: 0.35rem 0.75rem;
	border-radius: 6px;
	border: 1px solid rgba(139, 195, 74, 0.3);
}

.author-name {
	font-size: 1.15rem;
	margin: 0 0 0.2rem 0;
}

.author-role {
	font-size: 0.85rem;
	color: var(--chanodev-accent-dark);
	font-weight: 600;
	margin: 0 0 0.6rem 0;
}

.author-bio {
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--chanodev-text-muted);
	margin-bottom: 1rem;
}

.author-link {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--chanodev-text-main);
	text-decoration: none;
}

/* ==========================================================================
   6. About Page Redesign (Hero, Terminal, Metrics, Skills, Timeline, Philosophy)
   ========================================================================== */

.about-hero-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 4rem;
	align-items: center;
}

.about-kicker {
	display: inline-block;
	color: var(--color-primary);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 0 !important;
	animation: aboutSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.about-main-title {
	max-width: 720px;
	font-size: clamp(2.4rem, 4.8vw, 4.4rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1.12;
	color: var(--chanodev-text-main, #0f172a);
	margin: 0.8rem 0 1.2rem 0;
	animation: aboutSlideUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

.about-main-description {
	max-width: 620px;
	font-size: 1.18rem;
	line-height: 1.65;
	color: var(--chanodev-text-muted, #64748b);
	margin: 0 0 1.8rem 0;
	animation: aboutSlideUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.34s both;
}

.about-hero-actions {
	display: flex;
	gap: 0.8rem;
	flex-wrap: wrap;
	margin: 2rem 0 1.5rem;
	animation: aboutSlideUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.46s both;
}

.about-trust-line {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	font-size: 0.88rem;
	font-weight: 500;
	color: #476052;
	animation: aboutSlideUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.58s both;
}

/* Developer Profile Terminal Window */
.about-hero-visual {
	position: relative;
	perspective: 1200px;
	animation: aboutTerminalEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;

	&::before {
		content: '';
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		width: 120%;
		height: 120%;
		background: radial-gradient(circle, color-mix(in srgb, var(--color-primary) 20%, transparent) 0%, transparent 68%);
		pointer-events: none;
		z-index: -1;
		opacity: 0.7;
		transition: opacity 0.4s ease, transform 0.4s ease;
	}

	&:hover::before {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1.08);
	}
}

.profile-terminal-window {
	position: relative;
	background: var(--footer-background);
	border: 8px solid #ffffff;
	border-radius: 1.2rem;
	box-shadow: 22px 25px 0 color-mix(in srgb, var(--footer-background) 12%, transparent), 0 25px 55px color-mix(in srgb, var(--footer-background) 22%, transparent);
	overflow: hidden;
	transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;

	&::after {
		content: '';
		position: absolute;
		inset: 0;
		background: radial-gradient(450px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
				color-mix(in srgb, var(--color-primary) 22%, transparent),
				transparent 75%);
		pointer-events: none;
		opacity: 0;
		transition: opacity 0.4s ease;
		z-index: 5;
	}

	@media (width >=1366px) {
		transform: rotateX(6deg) rotateY(-10deg) rotateZ(1.5deg);

		&:hover {
			transform: rotateX(0) rotateY(0) rotateZ(0);
		}
	}

	&:hover {
		box-shadow: 22px 25px 0 color-mix(in srgb, var(--footer-background) 12%, transparent), 0 28px 65px color-mix(in srgb, var(--color-primary) 28%, transparent);

		&::after {
			opacity: 1;
		}
	}

	.is-chromium & {
		border-radius: 2rem;
		corner-shape: squircle;
	}
}

.profile-terminal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.8rem 1.2rem;
	background: color-mix(in hsl, var(--footer-background), var(--color-white) 10%);
	color: color-mix(in hsl, var(--footer-background), var(--color-white) 60%);
	font: 0.72rem/1 monospace;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	animation: aboutSlideDown 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.terminal-dots {
	display: flex;
	gap: 0.35rem;
}

.terminal-dots span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #ef8354;
}

.terminal-dots span:nth-child(2) {
	background: #f9c74f;
}

.terminal-dots span:nth-child(3) {
	background: #8bc34a;
}

.terminal-file-title {
	font-weight: 500;
	color: color-mix(in hsl, var(--footer-background), var(--color-white) 85%);
}

.terminal-badge-live {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: #10b981;
	font-weight: 700;
	font-size: 0.68rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.profile-terminal-body {
	padding: 1.8rem 2rem;
	color: #ffffff;
}

.profile-avatar-row {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	margin-bottom: 1.5rem;
	animation: aboutSlideUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.62s both;
}

.profile-avatar-badge {
	width: 56px;
	height: 56px;
	background: linear-gradient(135deg, var(--color-primary), #4caf50);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #0b1a13;
	font-weight: 900;
	font-size: 1.2rem;
	letter-spacing: 0.05em;
	box-shadow: 0 0 20px color-mix(in srgb, var(--color-primary) 50%, transparent);
	flex-shrink: 0;
}

.profile-avatar-info h3 {
	margin: 0;
	color: #ffffff;
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1.2;
}

.profile-avatar-info p {
	margin: 0.2rem 0;
	color: color-mix(in srgb, var(--color-primary) 90%, #ffffff);
	font-size: 0.88rem;
	font-weight: 600;
}

.profile-avatar-info small {
	color: color-mix(in hsl, var(--footer-background), var(--color-white) 65%);
	font-size: 0.78rem;

	& svg {
		margin-right: 5px;
		width: 11px;
		height: 11px;
	}
}

.profile-code-snippet {
	background: color-mix(in hsl, var(--footer-background), var(--color-black) 25%);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 0.8rem;
	padding: 1rem 1.2rem;
	margin-bottom: 1.5rem;
	animation: aboutSlideUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.74s both;
}

.profile-code-snippet pre {
	margin: 0;
	font-family: monospace;
	font-size: 0.8rem;
	line-height: 1.6;
	white-space: pre-wrap;
}

.code-key {
	color: #93c5fd;
}

.code-str {
	color: #86efac;
}

.code-num {
	color: #fcd34d;
}

.profile-links-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	animation: aboutSlideUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.86s both;
}

.profile-social-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: color-mix(in hsl, var(--footer-background), var(--color-white) 80%);
	text-decoration: none;
	font-size: 0.82rem;
	font-weight: 600;
	transition: color 0.25s ease;

	&:hover {
		color: var(--color-primary);
	}
}

.profile-verified-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.75rem;
	font-weight: 700;
	color: #10b981;
}

/* ==========================================================================
   6.1 Key Metrics Slideshow (.about-metrics-section)
   ========================================================================== */
.about-metric-step .about-metric-visual {
	position: relative;
	overflow: hidden;
	background-color: var(--footer-background);
	border: 1px solid color-mix(in hsl, var(--footer-background), var(--color-white) 15%);
}

.metric-bg-photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	filter: brightness(0.58) saturate(1.15);
	transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
	z-index: 1;
}

.process-step-item:hover .metric-bg-photo {
	transform: scale(1.05);
	filter: brightness(0.68) saturate(1.2);
}

.metric-slide-blueprint {
	position: relative;
	z-index: 2;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 2.2rem 2.5rem;
	box-sizing: border-box;
	background: linear-gradient(135deg, rgba(11, 23, 42, 0.78) 0%, rgba(11, 23, 42, 0.38) 50%, rgba(11, 23, 42, 0.88) 100%);
}

.metric-slide-top-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.metric-slide-main-figure {
	display: flex;
	align-items: center;
	gap: 2.2rem;
	margin: 1.5rem 0;
}

.metric-slide-icon-halo {
	width: 84px;
	height: 84px;
	background: radial-gradient(circle, color-mix(in srgb, var(--color-primary) 25%, transparent) 0%, color-mix(in srgb, var(--color-primary) 8%, transparent) 70%);
	border: 1px solid color-mix(in srgb, var(--color-primary) 35%, transparent);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-primary);
	box-shadow: 0 0 30px color-mix(in srgb, var(--color-primary) 25%, transparent);
	flex-shrink: 0;
	transition: transform 0.4s ease;
}

.process-step-item:hover .metric-slide-icon-halo {
	transform: scale(1.08) rotate(5deg);
}

.metric-slide-text-group {
	display: flex;
	flex-direction: column;
}

.metric-slide-big-value {
	font-size: clamp(3.5rem, 7vw, 5.5rem);
	font-weight: 900;
	line-height: 0.95;
	letter-spacing: -0.04em;
	color: #ffffff;
	text-shadow: 0 0 40px color-mix(in srgb, var(--color-primary) 40%, transparent);
}

.metric-slide-sub-title {
	font-size: 1.15rem;
	font-weight: 700;
	color: color-mix(in srgb, var(--color-primary) 90%, #ffffff);
	margin-top: 0.4rem;
}

.metric-slide-footer-bars {
	display: flex;
	align-items: end;
	gap: 0.6rem;
	height: 24px;
}

.metric-slide-footer-bars span {
	width: 24px;
	height: 8px;
	background: color-mix(in srgb, var(--color-primary) 40%, transparent);
	border-radius: 2px;
	transition: background 0.3s ease;
}

.metric-slide-footer-bars span:nth-child(1) {
	height: 12px;
	background: var(--color-primary);
}

.metric-slide-footer-bars span:nth-child(2) {
	height: 18px;
	background: color-mix(in srgb, var(--color-primary) 80%, transparent);
}

.metric-slide-footer-bars span:nth-child(3) {
	height: 24px;
	background: color-mix(in srgb, var(--color-primary) 60%, transparent);
}

.metric-slide-footer-bars span:nth-child(4) {
	height: 14px;
	background: color-mix(in srgb, var(--color-primary) 40%, transparent);
}

.about-metric-highlights {
	list-style: none;
	padding: 0;
	margin: 1.2rem 0 0 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.about-metric-highlights li {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	font-size: 0.92rem;
	color: var(--color-text-heading);
	line-height: 1.4;
}

.about-metric-highlights li svg {
	flex-shrink: 0;
	color: #10b981;
}

@media (max-width: 640px) {
	.metric-slide-blueprint {
		padding: 1.5rem 1.2rem;
	}

	.metric-slide-main-figure {
		gap: 1.2rem;
	}

	.metric-slide-icon-halo {
		width: 60px;
		height: 60px;
	}

	.metric-slide-icon-halo svg {
		width: 32px;
		height: 32px;
	}
}

/* ==========================================================================
   6.2 Skills / Tech Stack Section (Dark Theme)
   ========================================================================== */

.about-skills-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 2rem;
	position: relative;
	z-index: 2;
}

.about-skill-card {
	display: flex;
	flex-direction: column;
}

.skill-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem;
}

.about-skill-card h3 {
	color: #ffffff;
	font-size: 1.35rem;
	font-weight: 800;
	padding: 0 1rem;
	margin: 0;
}

.about-skill-card p {
	color: color-mix(in hsl, var(--footer-background), var(--color-white) 72%);
	font-size: 0.95rem;
	line-height: 1.6;
	margin: 0;
	padding: 1rem;
	padding-top: .5rem;
	flex: 1;
}

.post--tags__wrapper,
.about-skill-card .post--tags__wrapper {
	margin-top: auto;
	width: 100%;
	padding: 0.85rem 1rem;
	position: relative;
	background-color: color-mix(in hsl, var(--footer-background), var(--color-white) 3%);
	border-top: 1px solid color-mix(in hsl, var(--footer-background), var(--color-white) 10%);
	box-sizing: border-box;
	overflow: hidden;

	&::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 1px;
		background-color: color-mix(in srgb, #000000, transparent 40%);
	}

	&::after {
		content: '';
		position: absolute;
		top: 1px;
		left: 0;
		width: 100%;
		height: 1px;
		background-color: color-mix(in srgb, var(--color-white), transparent 92%);
	}
}

.chanodev-project-card .post--tags__wrapper {
	background: transparent;
	border: none;
	padding: 0;
	margin-top: 0;
	margin-bottom: 0.8rem;
	overflow: hidden;

	&::before,
	&::after {
		display: none;
	}
}

.process-step-content .post--tags__wrapper {
	background: transparent;
	border: none;
	padding: 0;
	margin-top: 1rem;
	overflow: hidden;

	&::before,
	&::after {
		display: none;
	}
}

.post--tags,
.skill-tags-cloud,
.about-skill-card .post--tags,
.about-skill-card .skill-tags-cloud {
	display: flex;
	gap: 0.4rem;
	overflow-x: auto;
	overflow-y: hidden;
	flex-wrap: nowrap;
	padding-bottom: 2px;
	cursor: grab;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	-webkit-mask-image: linear-gradient(to right, black calc(100% - 1.5rem), transparent 100%);
	mask-image: linear-gradient(to right, black calc(100% - 1.5rem), transparent 100%);

	&::-webkit-scrollbar {
		display: none;
		height: 0;
	}

	&[data-scroll-state="start"] {
		-webkit-mask-image: linear-gradient(to right, black calc(100% - 1.5rem), transparent 100%) !important;
		mask-image: linear-gradient(to right, black calc(100% - 1.5rem), transparent 100%) !important;
	}

	&[data-scroll-state="middle"] {
		-webkit-mask-image: linear-gradient(to right, transparent 0%, black 1.5rem, black calc(100% - 1.5rem), transparent 100%) !important;
		mask-image: linear-gradient(to right, transparent 0%, black 1.5rem, black calc(100% - 1.5rem), transparent 100%) !important;
	}

	&[data-scroll-state="end"] {
		-webkit-mask-image: linear-gradient(to right, transparent 0%, black 1.5rem, 100%) !important;
		mask-image: linear-gradient(to right, transparent 0%, black 1.5rem, 100%) !important;
	}

	&[data-scroll-state="none"] {
		-webkit-mask-image: none !important;
		mask-image: none !important;
		padding-bottom: 0 !important;
	}

	&.is-dragging {
		cursor: grabbing !important;
		user-select: none;
	}
}

/* ==========================================================================
   6.3 Career Journey Timeline Section (3D Cascading Card Slideshow)
   ========================================================================== */

/* Main 3D Showcase Container */
.timeline-3d-showcase {
	display: grid;
	grid-template-columns: 330px 1fr;
	gap: 7rem;
	align-items: center;
	margin-top: 3rem;
	position: relative;
}

/* 1. Left: Stepper Navigation */
.timeline-nav-stepper {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	position: relative;
}

.timeline-stepper-progress-rail {
	position: absolute;
	left: 28px;
	top: 36px;
	bottom: 80px;
	width: 16px;
	background-color: rgba(255, 255, 255, 0.18);
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 14' width='16' height='14'%3E%3Cpath d='M2 3 L8 9 L14 3' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") repeat-y center top;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 14' width='16' height='14'%3E%3Cpath d='M2 3 L8 9 L14 3' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") repeat-y center top;
	mask-size: 16px 14px;
	-webkit-mask-size: 16px 14px;
	z-index: 1;
}

.timeline-stepper-progress-bar {
	position: relative;
	width: 100%;
	height: 0%;
	background: linear-gradient(to bottom,
			#38bdf8 0%,
			color-mix(in srgb, var(--color-primary) 85%, #ffffff) 30%,
			var(--color-primary) 65%,
			#10b981 100%);
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 14' width='16' height='14'%3E%3Cpath d='M2 3 L8 9 L14 3' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") repeat-y center top;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 14' width='16' height='14'%3E%3Cpath d='M2 3 L8 9 L14 3' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") repeat-y center top;
	mask-size: 16px 14px;
	-webkit-mask-size: 16px 14px;
	filter:
		drop-shadow(0 0 4px color-mix(in srgb, var(--color-primary) 80%, #ffffff)) drop-shadow(0 0 10px var(--color-primary)) drop-shadow(0 0 16px color-mix(in srgb, var(--color-primary) 70%, #38bdf8));
	transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);

	&::before {
		position: absolute;
		content: '';
		inset: 0;
		background: radial-gradient(ellipse at center,
				color-mix(in srgb, var(--color-primary) 85%, #ffffff) 0%,
				var(--color-primary) 60%,
				transparent 100%);
		box-shadow: 0 0 14px var(--color-primary), 0 0 28px color-mix(in srgb, var(--color-primary) 80%, #38bdf8);
		filter: drop-shadow(0 0 8px var(--color-primary));
		opacity: 0.85;
		border-radius: var(--minibadge-border-radius);
		pointer-events: none;
		transition: opacity 0.4s ease;
	}
}

.timeline-step-btn {
	display: flex;
	align-items: start;
	gap: 1.2rem;
	background: transparent;
	border: 1px solid transparent;
	border-radius: var(--card-border-radius);
	padding: 1rem;
	text-align: left;
	cursor: pointer;
	position: relative;
	z-index: 2;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	outline: none;

	&:hover {
		background: rgba(255, 255, 255, 0.03);

		& .step-node-badge {
			border-color: color-mix(in srgb, var(--color-primary) 70%, transparent);
			transform: scale(1.06);
		}
	}

	&.is-active {
		background: color-mix(in hsl, var(--footer-background), var(--color-white) 7%);
		border-color: color-mix(in srgb, var(--color-primary) 35%, transparent);
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);

		& .step-node-badge {
			border-color: var(--color-primary);
			box-shadow: 0 0 16px var(--color-primary), inset 0 0 8px color-mix(in srgb, var(--color-primary) 40%, transparent);
			background: linear-gradient(135deg, color-mix(in srgb, var(--color-primary) 35%, var(--footer-background)) 0%, var(--footer-background) 100%);

			& .step-node-num {
				color: #ffffff;
			}
		}

		& .step-title {
			color: #ffffff;
		}

		& .step-period {
			color: var(--color-primary);
		}
	}

	.is-chromium & {
		corner-shape: squircle;
		-webkit-corner-shape: squircle;
	}
}

.step-node-badge {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	border-radius: var(--minibadge-border-radius);
	background:
		linear-gradient(135deg, color-mix(in hsl, var(--footer-background), var(--color-white) 15%) 0%, var(--footer-background) 100%);
	border: 2px solid rgba(255, 255, 255, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	transition: all 0.35s ease;

	.is-chromium & {
		corner-shape: squircle;
		-webkit-corner-shape: squircle;
	}
}

.step-node-num {
	font-family: 'Fira Code', 'SF Mono', monospace;
	font-size: 0.8rem;
	font-weight: 800;
	color: color-mix(in hsl, var(--footer-background), var(--color-white) 70%);
	transition: color 0.3s ease;
}

.step-meta {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}

.step-period {
	font-family: 'Fira Code', 'SF Mono', monospace;
	font-size: 0.76rem;
	font-weight: 700;
	color: color-mix(in hsl, var(--footer-background), var(--color-white) 55%);
	transition: color 0.3s ease;
}

.step-title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--color-text-heading);
	transition: color 0.3s ease;
}

/* Radar Beacon Ring for live milestone in Stepper */
.timeline-beacon-ring {
	position: absolute;
	inset: -5px;
	border-radius: var(--minibadge-border-radius);
	border: 2px solid var(--color-primary);
	opacity: 0;
	animation: beaconRadar 2.4s cubic-bezier(0, 0.2, 0.8, 1) infinite;
	pointer-events: none;
}

@keyframes beaconRadar {
	0% {
		transform: scale(0.9);
		opacity: 0.8;
	}

	100% {
		transform: scale(1.65);
		opacity: 0;
	}
}

/* 2. Right: 3D Stage & Card Deck */
.timeline-stage-wrapper {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	position: relative;
}

.timeline-3d-stage {
	position: relative;
	width: 100%;
	height: 370px;
	perspective: 1200px;
	-webkit-perspective: 1200px;
	perspective-origin: 50% 50%;
	-webkit-perspective-origin: 50% 50%;
	transform-style: preserve-3d;
	-webkit-transform-style: preserve-3d;
}

/* 3D Card Architecture */
.timeline-3d-card {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transform-origin: 50% 100%;
	transform-style: preserve-3d;
	-webkit-transform-style: preserve-3d;
	will-change: transform, opacity;
	user-select: none;
	border-radius: var(--card-border-radius);

	/* 1. Stacked Position: all cards at the exact same position, hidden behind active */
	transform: translate3d(0, 0, 0) scale(1) rotateX(0deg) rotateZ(0deg);
	opacity: 0;
	z-index: 10;
	pointer-events: none;
	transition: transform 0.65s cubic-bezier(0.34, 1.2, 0.64, 1), opacity 0.4s ease, filter 0.4s ease;

	/* 2. Active / Foreground Card in Deck */
	&.is-active {
		transform: translate3d(0, 0, 0) scale(1) rotateX(0deg) rotateZ(0deg);
		opacity: 1;
		z-index: 25;
		pointer-events: auto;
		filter: brightness(1) saturate(1);
		border-radius: var(--card-border-radius);
		transition: transform 0.65s cubic-bezier(0.34, 1.2, 0.64, 1), opacity 0.4s ease, filter 0.4s ease;

		& .timeline-card-front {
			box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45), 0 0 32px color-mix(in srgb, var(--color-primary) 18%, transparent);
		}
	}

	/* 3. Fallen Card ("cae hacia adelante en 3D sobre la mesa mostrando su dorso") */
	&.is-fallen {
		transform-origin: 50% 100%;
		transform:
			translateY(var(--fall-y, 45px)) translateX(var(--fall-x, 0px)) translateZ(var(--fall-z, 70px)) rotateX(var(--fall-rotX, -78deg)) rotateZ(var(--fall-rotZ, -4deg)) scale(1);
		opacity: 1;
		z-index: calc(5 + var(--card-index, 0));
		pointer-events: auto;
		cursor: pointer;
		transition: transform 0.75s cubic-bezier(0.25, 1, 0.35, 1), opacity 0.5s ease, filter 0.4s ease;

		& .timeline-card-back {
			backface-visibility: visible;
			-webkit-backface-visibility: visible;
			filter: brightness(0.88) saturate(0.9);
		}

		&:hover {
			transform:
				translateY(calc(var(--fall-y, 45px) - 10px)) translateX(var(--fall-x, 0px)) translateZ(calc(var(--fall-z, 70px) + 25px)) rotateX(calc(var(--fall-rotX, -78deg) + 6deg)) rotateZ(var(--fall-rotZ, -4deg)) scale(1);

			& .timeline-card-back {
				filter: brightness(1) saturate(1);
			}
		}
	}

	/* 4. Rising / Resetting ("se levantan todas las tarjetas y vuelven a la baraja") */
	&.is-rising {
		transition: transform 0.85s cubic-bezier(0.2, 0.95, 0.3, 1), opacity 0.5s ease, filter 0.5s ease;
		transition-delay: calc((4 - var(--card-index, 0)) * 0.12s);
	}

	/* Current milestone special glow */
	&.is-current.is-active .timeline-card-front {
		border-color: color-mix(in srgb, var(--color-primary) 45%, transparent);
		background:
			linear-gradient(165deg, color-mix(in srgb, var(--color-primary) 9%, var(--footer-background)) 0%, color-mix(in hsl, var(--footer-background), var(--color-white) 4%) 100%) padding-box,
			color-mix(in srgb, var(--color-primary) 40%, transparent) border-box;
	}

	.is-chromium & {
		corner-shape: squircle;
		-webkit-corner-shape: squircle;
	}
}

/* Front Face */
.timeline-card-front {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: grid;
	grid-template-rows: auto 1fr auto;
	transform-style: preserve-3d;
	-webkit-transform-style: preserve-3d;
	transform: rotateX(0deg);
}

/* Back Face (Decorative Dorso for Fallen Cards) */
.timeline-card-back {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background-color: var(--footer-background);
	background:
		linear-gradient(145deg, color-mix(in hsl, var(--footer-background), var(--color-white) 8%) 0%, color-mix(in srgb, var(--color-primary) 12%, var(--footer-background)) 100%);
	border: 1px solid color-mix(in srgb, var(--color-primary) 35%, rgba(255, 255, 255, 0.12));
	border-radius: var(--card-border-radius);
	transform-style: preserve-3d;
	-webkit-transform-style: preserve-3d;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	transform: rotateX(180deg);
	display: flex;
	align-items: center;
	justify-content: center;

	.is-chromium & {
		corner-shape: squircle;
		-webkit-corner-shape: squircle;
	}
}

.card-back-pattern {
	position: absolute;
	inset: 0;
	background-image:
		radial-gradient(color-mix(in srgb, var(--color-primary) 30%, rgba(255, 255, 255, 0.12)) 1.2px, transparent 1.2px),
		linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
	background-size: 20px 20px, 20px 20px, 20px 20px;
	opacity: 0.85;
	pointer-events: none;
}

.card-back-inner-frame {
	position: absolute;
	inset: 12px;
	border: 1px dashed color-mix(in srgb, var(--color-primary) 38%, rgba(255, 255, 255, 0.15));
	border-radius: calc(var(--card-border-radius) - 6px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
}

.card-back-corner {
	position: absolute;
	font-family: 'Fira Code', 'SF Mono', monospace;
	font-size: 0.72rem;
	font-weight: 700;
	color: color-mix(in srgb, var(--color-primary) 80%, var(--color-white));
	opacity: 0.8;

	&.top-left {
		top: 10px;
		left: 12px;
	}

	&.top-right {
		top: 10px;
		right: 12px;
	}

	&.bottom-left {
		bottom: 10px;
		left: 12px;
	}

	&.bottom-right {
		bottom: 10px;
		right: 12px;
	}
}

.card-back-center-emblem {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.4rem;
	position: relative;
	z-index: 2;
}

.card-back-logo {
	font-family: 'Fira Code', 'SF Mono', monospace;
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--color-primary);
	text-shadow: 0 0 16px color-mix(in srgb, var(--color-primary) 50%, transparent);
	letter-spacing: -0.02em;
}

.card-back-year {
	font-family: 'Fira Code', 'SF Mono', monospace;
	font-size: 0.75rem;
	font-weight: 700;
	color: color-mix(in hsl, var(--footer-background), var(--color-white) 85%);
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	padding: 0.2rem 0.65rem;
	border-radius: 999px;
}

.card-back-title {
	font-size: 0.88rem;
	font-weight: 700;
	color: #ffffff;
	margin-top: 0.2rem;
	max-width: 240px;
	line-height: 1.35;
}

/* Organic Tabletop Scatter Variances per Card (Falling Forward onto Table) */
.timeline-3d-card[data-card-index="0"].is-fallen {
	--fall-x: 0;
	--fall-y: 0;
	--fall-z: 0;
	--fall-rotZ: 0deg;
	--fall-rotX: -94deg;
}

.timeline-3d-card[data-card-index="1"].is-fallen {
	--fall-x: 2rem;
	--fall-y: 0rem;
	--fall-z: 2rem;
	--fall-rotZ: 0deg;
	--fall-rotX: -94deg;
}

.timeline-3d-card[data-card-index="2"].is-fallen {
	--fall-x: 3rem;
	--fall-y: 0rem;
	--fall-z: 5rem;
	--fall-rotZ: 0deg;
	--fall-rotX: -94deg;
}

.timeline-3d-card[data-card-index="3"].is-fallen {
	--fall-x: 14px;
	--fall-y: 60px;
	--fall-z: 105px;
	--fall-rotZ: 4deg;
	--fall-rotX: -75deg;
}

/* Card Header */
.timeline-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
	z-index: 2;
	padding: 2rem;
}

/* Card Body */
.timeline-card-body {
	position: relative;
	z-index: 2;
	padding: 2rem;

	& h3 {
		color: #ffffff;
		font-size: 1.45rem;
		font-weight: 800;
		letter-spacing: -0.01em;
		margin: 0 0 0.85rem 0;
	}

	& p {
		color: color-mix(in hsl, var(--footer-background), var(--color-white) 75%);
		font-size: 1rem;
		line-height: 1.7;
		margin: 0;
	}
}

/* Card Footer */
.timeline-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 2rem;
	position: relative;
	z-index: 2;

	&::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 1px;
		background-color: color-mix(in srgb, #000000, transparent 40%);
	}

	&::after {
		content: '';
		position: absolute;
		top: 1px;
		left: 0;
		width: 100%;
		height: 1px;
		background-color: color-mix(in srgb, var(--color-white), transparent 92%);
	}
}

.timeline-card-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-family: 'Fira Code', 'SF Mono', monospace;
	font-size: 0.76rem;
	font-weight: 700;
	color: color-mix(in hsl, var(--footer-background), var(--color-white) 65%);
}

.timeline-card-drop-trigger {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	background: color-mix(in srgb, var(--color-primary) 12%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
	color: var(--color-primary);
	font-size: 0.78rem;
	font-weight: 700;
	padding: 0.35rem 0.8rem;
	border-radius: 999px;
	cursor: pointer;
	transition: all 0.25s ease;

	& svg {
		transition: transform 0.25s ease;
	}

	&:hover {
		background: var(--color-primary);
		color: #ffffff;
		border-color: var(--color-primary);
		box-shadow: 0 0 14px color-mix(in srgb, var(--color-primary) 50%, transparent);

		& svg {
			transform: translateY(2px);
		}
	}
}

/* Card Watermark Index */
.timeline-card-watermark {
	position: absolute;
	top: 4rem;
	right: 1.2rem;
	font-family: 'Fira Code', 'SF Mono', monospace;
	font-size: 5.5rem;
	font-weight: 900;
	line-height: 1;
	color: var(--color-white);
	opacity: 0.035;
	pointer-events: none;
	user-select: none;
}

/* Metadata components inside Card */
.timeline-meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem;
}

.timeline-period {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--color-primary);
	font-weight: 800;
	font-size: 0.85rem;
	font-family: 'Fira Code', 'SF Mono', monospace;
	background: color-mix(in srgb, var(--color-primary) 12%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-primary) 28%, transparent);
	padding: 0.25rem 0.65rem;
	border-radius: 6px;
}

/* 3. Controls Toolbar Bar (Inside Stepper Column) */
.timeline-controls-bar {
	height: auto;
	padding: 4px;
	background-color:
		color-mix(in srgb, var(--color-text-heading), transparent 93%);
	border: 1px solid color-mix(in srgb, var(--color-text-heading), transparent 86%);
	border-radius: var(--badge-border-radius);
	box-shadow: inset 0 2px 4px color-mix(in srgb, var(--color-text-heading), transparent 86%), inset 0 1px 2px color-mix(in srgb, var(--color-text-heading), transparent 80%), 0 1px 0 color-mix(in srgb, var(--color-white), transparent 50%);
	z-index: 30;
	display: flex;
	align-items: center;
	justify-content: space-between;
	overflow: hidden;
	transition: opacity var(--transition-fast);
	position: relative;
	flex-shrink: 0;

	.is-chromium & {
		corner-shape: squircle;
		-webkit-corner-shape: squircle;
	}
}

.timeline-ctrl-btn {
	display: inline-flex;
	align-items: center;
	height: 37px;
	gap: 0.5rem;
	background: transparent;
	border: 1px solid rgba(0, 0, 0, 0.25);
	color: var(--color-text-heading);
	font-size: 1rem;
	font-weight: 700;
	padding: 0.45rem 0.9rem;
	border-radius: var(--minibadge-border-radius);
	cursor: pointer;
	transition: all 0.25s ease;

	&:hover:not(:disabled) {
		background: color-mix(in srgb, var(--color-primary) 18%, transparent);
		border-color: var(--color-primary);
		color: var(--color-text-heading);
	}

	&:disabled {
		opacity: 0.35;
		cursor: not-allowed;
	}

	.is-chromium & {
		corner-shape: squircle;
		-webkit-corner-shape: squircle;
	}
}

.timeline-autoplay-indicator {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.timeline-play-toggle {
	background: transparent;
	border: none;
	color: var(--color-text-heading);
	font-size: 0.75rem;
	cursor: pointer;
	padding: 0.2rem 0.4rem;
	transition: color 0.2s ease;

	&:hover {
		color: var(--color-primary);
	}

	& .play-icon {
		display: none;
	}

	& .pause-icon {
		display: inline-block;
	}

	&.is-paused {
		& .play-icon {
			display: inline-block;
		}

		& .pause-icon {
			display: none;
		}
	}
}

.timeline-autoplay-bar {
	width: 90px;
	height: 3px;
	background: rgba(0, 0, 0, 0.25);
	border-radius: 999px;
	overflow: hidden;
}

.timeline-autoplay-fill {
	height: 100%;
	width: 0%;
	background: var(--color-primary);
	border-radius: 999px;
	box-shadow: 0 0 6px var(--color-primary);
}

/* Responsive Styles */
@media (max-width: 960px) {
	.timeline-3d-showcase {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.timeline-nav-stepper {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
		padding-left: 0;
		gap: 0.6rem;
	}

	.timeline-stepper-progress-rail {
		display: none;
	}

	.timeline-3d-stage {
		height: 360px;
	}

	.timeline-3d-card {
		padding: 1.8rem 1.8rem;
	}
}

@media (max-width: 620px) {
	.timeline-nav-stepper {
		grid-template-columns: 1fr;
	}

	.timeline-3d-stage {
		height: 400px;
	}

	.timeline-3d-card {
		padding: 1.5rem 1.3rem;
	}

	.timeline-card-body h3 {
		font-size: 1.25rem;
	}

	.timeline-card-body p {
		font-size: 0.92rem;
	}
}

/* ==========================================================================
   6.4 Philosophy / Principles Section Slideshow
   ========================================================================== */
.about-philosophy-section {
	position: relative;

	&::before {
		content: '';
		position: absolute;
		inset: 0;
		background-image: repeating-linear-gradient(to right,
				color-mix(in srgb, var(--color-primary) 20%, transparent) 0px,
				color-mix(in srgb, var(--color-primary) 20%, transparent) 1px,
				transparent 1px,
				transparent 180px);
		mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
		pointer-events: none;
		z-index: 0;
	}

	& .content {
		position: relative;
		z-index: 1;

		&::before,
		&::after {
			content: '';
			position: absolute;
			top: 3rem;
			left: 0;
			width: 15rem;
			height: 15rem;
			background-color: color-mix(in srgb, var(--color-primary) 15%, transparent);
			pointer-events: none;
			z-index: -1;
			opacity: .5;
		}

		&::after {
			top: auto;
			bottom: 3rem;
			left: auto;
			right: 0;
		}
	}
}

.philosophy-carousel-wrapper {
	position: relative;
	margin: 2rem auto 0;
	width: 100%;
	max-width: 980px;

	&::before,
	&::after {
		content: '';
		position: absolute;
		width: 160px;
		height: 70px;
		background-image: radial-gradient(circle, color-mix(in srgb, var(--color-primary) 50%, transparent) 1.5px, transparent 1.5px);
		background-size: 18px 18px;
		pointer-events: none;
		z-index: 0;
	}

	&::before {
		top: -100px;
		left: 0;
	}

	&::after {
		bottom: 0;
		right: 0;
	}
}

.philosophy-slideshow-track {
	display: grid;
	grid-template-areas: "slide";
	width: 100%;
	position: relative;
	padding: 0;
	margin: 0;
}

.philosophy-slide-item {
	grid-area: slide;
	width: 100%;
	box-sizing: border-box;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: scale(0.98) translateY(10px);
	transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s;

	&.active {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: scale(1) translateY(0);
		position: relative;
		z-index: 2;
	}
}

.philosophy-slide-card {
	position: relative;
	background:
		linear-gradient(165deg, color-mix(in hsl, var(--footer-background), var(--color-white) 10%) 0%, color-mix(in hsl, var(--footer-background), var(--color-white) 4%) 100%) padding-box,
		color-mix(in hsl, var(--footer-background), var(--color-white) 14%) border-box;
	border: 1px solid transparent;
	border-radius: var(--chanodev-radius-lg, 1.5rem);
	overflow: hidden;
	padding: 2.2rem;
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	transition: transform 0.3s ease, box-shadow 0.3s ease;

	.is-chromium & {
		border-radius: 2rem;
		corner-shape: squircle;
		-webkit-corner-shape: squircle;
	}

	&::after {
		content: '';
		position: absolute;
		inset: 0;
		background: radial-gradient(380px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
				color-mix(in srgb, var(--color-primary) 18%, transparent),
				transparent 75%);
		pointer-events: none;
		opacity: 0;
		transition: opacity 0.35s ease;
	}

	&:hover::after {
		opacity: 1;
	}

	@media (min-width: 860px) {
		grid-template-columns: 280px 1fr;
		gap: 2.5rem;
		padding: 2.8rem 2.5rem;
		align-items: center;
	}
}

/* Visual identity panel */
.philosophy-visual-panel {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 2.5rem 1.5rem;
	background: color-mix(in hsl, var(--footer-background), var(--color-white) 6%);
	border: 1px solid color-mix(in hsl, var(--footer-background), var(--color-white) 16%);
	border-radius: var(--card-border-radius, 1rem);
	overflow: hidden;
	text-align: center;
	min-height: 240px;

	.is-chromium & {
		border-radius: 1.5rem;
		corner-shape: squircle;
		-webkit-corner-shape: squircle;
	}
}

.philosophy-visual-ambient-orb {
	position: absolute;
	width: 140px;
	height: 140px;
	border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--color-primary) 35%, transparent) 0%, transparent 70%);
	filter: blur(20px);
	pointer-events: none;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.philosophy-watermark-num {
	position: absolute;
	top: -0.5rem;
	right: 0.5rem;
	font-size: 5.5rem;
	font-weight: 900;
	font-family: monospace;
	line-height: 1;
	color: color-mix(in hsl, var(--footer-background), var(--color-white) 10%);
	pointer-events: none;
	user-select: none;
}

.philosophy-icon-container {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 76px;
	margin-bottom: 1.4rem;
}

.philosophy-icon-ring {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: color-mix(in srgb, var(--color-primary) 15%, transparent);
	border: 1.5px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
	box-shadow: 0 0 20px color-mix(in srgb, var(--color-primary) 25%, transparent);
}

.philosophy-icon-svg-wrap {
	position: relative;
	z-index: 2;
	color: var(--color-primary);
	display: flex;
	align-items: center;
	justify-content: center;

	& svg {
		width: 38px;
		height: 38px;
		stroke-width: 2;
		filter: drop-shadow(0 2px 8px color-mix(in srgb, var(--color-primary) 40%, transparent));
	}
}

.philosophy-badge-group {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
}

.philosophy-step-pill {
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-primary);
	font-family: monospace;
}

.philosophy-tag-chip {
	font-size: 0.8rem;
	font-weight: 600;
	color: color-mix(in hsl, var(--footer-background), var(--color-white) 88%);
	background: color-mix(in hsl, var(--footer-background), var(--color-white) 12%);
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	border: 1px solid color-mix(in hsl, var(--footer-background), var(--color-white) 20%);
}

/* Content panel */
.philosophy-content-panel {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.philosophy-content-header {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.philosophy-counter-row {
	display: flex;
	align-items: center;
	gap: 0.8rem;
}

.philosophy-header-kicker {
	font-size: 0.85rem;
	font-weight: 600;
	color: color-mix(in hsl, var(--footer-background), var(--color-white) 70%);
}

.philosophy-card-title {
	color: #ffffff;
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	font-weight: 800;
	line-height: 1.25;
	margin: 0;
}

.philosophy-card-desc {
	color: color-mix(in hsl, var(--footer-background), var(--color-white) 78%);
	font-size: 1rem;
	line-height: 1.65;
	margin: 0;
}

.philosophy-key-points {
	list-style: none;
	padding: 0;
	margin: 0.4rem 0 0 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;

	& li {
		display: flex;
		align-items: flex-start;
		gap: 0.75rem;
		color: color-mix(in hsl, var(--footer-background), var(--color-white) 88%);
		font-size: 0.92rem;
		line-height: 1.5;
	}
}

.philosophy-check-badge {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--color-primary) 15%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-primary) 35%, transparent);
	color: var(--color-primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 1px;
}

.philosophy-quote-box {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	background: color-mix(in hsl, var(--footer-background), var(--color-white) 7%);
	border-left: 3px solid var(--color-primary);
	border-radius: 0 var(--badge-border-radius, 0.5rem) var(--badge-border-radius, 0.5rem) 0;
	padding: 0.85rem 1.1rem;
	margin: 0.5rem 0 0 0;

	& .philosophy-quote-icon {
		flex-shrink: 0;
		color: var(--color-primary);
		opacity: 0.8;
		margin-top: 2px;
	}

	& cite {
		color: color-mix(in hsl, var(--footer-background), var(--color-white) 85%);
		font-size: 0.88rem;
		font-style: italic;
		line-height: 1.5;
	}
}



/* ==========================================================================
   About Hero Keyframe Animations
   ========================================================================== */
@keyframes aboutSlideUp {
	from {
		opacity: 0;
		transform: translate3d(0, 28px, 0);
	}

	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

@keyframes aboutSlideDown {
	from {
		opacity: 0;
		transform: translate3d(0, -20px, 0);
	}

	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

@keyframes aboutTerminalEntrance {
	from {
		opacity: 0;
		transform: translate3d(40px, 0, 0) scale(0.95);
	}

	to {
		opacity: 1;
		transform: translate3d(0, 0, 0) scale(1);
	}
}

/* ==========================================================================
   7. Services & Process Layout
   ========================================================================== */
.services-detailed-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 2rem;
}




.service-card-header {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem;
}

.service-icon-wrapper {
	font-size: 1.8rem;
	background: var(--chanodev-accent-glow);
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--badge-border-radius);

	.is-chromium & {
		corner-shape: squircle;
		-webkit-corner-shape: squircle;
	}
}

.service-features-list {
	list-style: none;
	padding: 0;
	padding: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	font-size: 0.95rem;
	color: #334155;
	flex: 1;
}

.btn-service-action {
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: none;
	margin-top: 1rem;
	position: relative;

	&::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 1px;
		background-color: color-mix(in srgb, #000000, transparent 55%);
	}

	&::after {
		content: '';
		position: absolute;
		top: 1px;
		left: 0;
		width: 100%;
		height: 1px;
		background-color: color-mix(in srgb, var(--color-white), transparent 90%);
	}
}

.services-hero-grid {
	display: grid;
	grid-template-columns: 1fr 0.9fr;
	gap: 4rem;
	align-items: center;
}

.services-kicker {
	display: inline-block;
	color: var(--color-primary);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 0 !important;
}

.services-hero-block .services-kicker {
	color: var(--color-primary);
	animation: heroSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.services-main-title {
	max-width: 720px;
	font-size: clamp(2.5rem, 5vw, 4.6rem);
	letter-spacing: -0.04em;
	animation: heroSlideUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

.services-main-description {
	max-width: 620px;
	font-size: 1.2rem;
	animation: heroSlideUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.34s both;
}

.services-hero-actions {
	display: flex;
	gap: 0.8rem;
	flex-wrap: wrap;
	margin: 2rem 0 1.2rem;
	animation: heroSlideUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.46s both;
}

.services-trust-line {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.88rem;
	color: #476052;
	animation: heroSlideUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.58s both;
}

.services-hero-visual {
	position: relative;
	perspective: 1200px;
	animation: heroVisualEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;

	&::before {
		content: '';
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		width: 120%;
		height: 120%;
		background: radial-gradient(circle, color-mix(in srgb, var(--color-primary) 20%, transparent) 0%, transparent 68%);
		pointer-events: none;
		z-index: -1;
		opacity: 0.7;
		transition: opacity 0.4s ease, transform 0.4s ease;
	}

	&:hover::before {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1.08);
	}
}

.architecture-window {
	position: relative;
	background: var(--footer-background);
	border: 8px solid #ffffff;
	border-radius: 1.2rem;
	box-shadow: 22px 25px 0 color-mix(in srgb, var(--footer-background) 12%, transparent), 0 25px 55px color-mix(in srgb, var(--footer-background) 22%, transparent);
	overflow: hidden;
	transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;

	/* Spotlight interactivo en el interior de la ventana */
	&::after {
		content: '';
		position: absolute;
		inset: 0;
		background: radial-gradient(450px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
				color-mix(in srgb, var(--color-primary) 22%, transparent),
				transparent 75%);
		pointer-events: none;
		opacity: 0;
		transition: opacity 0.4s ease;
		z-index: 5;
	}

	@media (width >=1366px) {
		transform: rotateX(8deg) rotateY(-12deg) rotateZ(2deg);

		&:hover {
			transform: rotateX(0) rotateY(0) rotateZ(0);
		}
	}

	&:hover {
		box-shadow: 22px 25px 0 color-mix(in srgb, var(--footer-background) 12%, transparent), 0 28px 65px color-mix(in srgb, var(--color-primary) 28%, transparent);

		&::after {
			opacity: 1;
		}
	}

	.is-chromium & {
		border-radius: 2rem;
		corner-shape: squircle;
	}
}

.architecture-bar {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.8rem 1rem;
	background: color-mix(in hsl, var(--footer-background), var(--color-white) 10%);
	color: color-mix(in hsl, var(--footer-background), var(--color-white) 60%);
	font: 0.7rem/1 monospace;
	animation: heroSlideDown 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.architecture-bar span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #8bc34a;
}

.architecture-bar span:nth-child(2) {
	background: #f9c74f;
}

.architecture-bar span:nth-child(3) {
	background: #ef8354;
}

.architecture-bar strong {
	margin-left: auto;
	font-weight: 400;
}

.architecture-body {
	display: grid;
	grid-template-columns: 54px 1fr;
	min-height: 330px;
}

.architecture-sidebar {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.3rem;
	padding-top: 1.5rem;
	background: color-mix(in hsl, var(--footer-background), var(--color-black) 10%);
	color: var(--color-primary);
	animation: heroSlideRight 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.architecture-sidebar i {
	width: 16px;
	height: 2px;
	background: color-mix(in hsl, var(--footer-background), var(--color-white) 35%);
}

.architecture-content {
	padding: 3rem 2.4rem;
	color: var(--color-text-white, #ffffff);
}

.architecture-content small {
	display: inline-block;
	color: var(--color-primary);
	font: 0.7rem monospace;
	letter-spacing: 0.14em;
	animation: heroSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.68s both;
}

.architecture-content h2 {
	margin: 1rem 0 2.2rem;
	color: var(--color-text-white, #ffffff);
	font-size: clamp(1.8rem, 4vw, 3rem);
	line-height: 1.05;
	animation: heroSlideUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.78s both;
}

.architecture-content h2 em {
	color: color-mix(in hsl, var(--color-primary), var(--color-white) 55%);
	font-style: normal;
}

.architecture-bars {
	display: flex;
	align-items: end;
	gap: 0.6rem;
	height: 56px;
	border-bottom: 1px solid color-mix(in hsl, var(--footer-background), var(--color-white) 22%);
}

.architecture-bars span {
	width: 18%;
	height: 35%;
	background: var(--color-primary);
	border-radius: 3px 3px 0 0;
	animation: heroBarGrow1 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.88s both;
}

.architecture-bars span:nth-child(2) {
	height: 65%;
	background: color-mix(in hsl, var(--color-primary), var(--color-white) 30%);
	animation: heroBarGrow2 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.98s both;
}

.architecture-bars span:nth-child(3) {
	height: 90%;
	background: color-mix(in hsl, var(--color-primary), var(--color-white) 55%);
	animation: heroBarGrow3 0.75s cubic-bezier(0.16, 1, 0.3, 1) 1.08s both;
}

.architecture-status {
	display: grid;
	grid-template-columns: auto 1fr auto 1fr;
	gap: 0.35rem 0.7rem;
	align-items: center;
	margin-top: 1.5rem;
	color: color-mix(in hsl, var(--footer-background), var(--color-white) 60%);
	font-size: 0.72rem;
	animation: heroSlideUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 1.16s both;
}

.architecture-status b {
	color: var(--color-text-white, #ffffff);
	font-size: 1.25rem;
}

.services-proof-strip {
	display: grid;
	grid-template-areas: "slide";
	align-items: center;
	justify-content: flex-start;
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--border-light, color-mix(in hsl, var(--footer-background), var(--color-white) 85%));
	overflow: hidden;
	min-height: 2.8rem;
	animation: heroSlideUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}

/* ==========================================================================
   Hero Keyframe Animations
   ========================================================================== */
@keyframes heroSlideUp {
	from {
		opacity: 0;
		transform: translate3d(0, 28px, 0);
	}

	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

@keyframes heroSlideDown {
	from {
		opacity: 0;
		transform: translate3d(0, -20px, 0);
	}

	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

@keyframes heroSlideRight {
	from {
		opacity: 0;
		transform: translate3d(-24px, 0, 0);
	}

	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

@keyframes heroVisualEntrance {
	from {
		opacity: 0;
		transform: translate3d(40px, 0, 0) scale(0.95);
	}

	to {
		opacity: 1;
		transform: translate3d(0, 0, 0) scale(1);
	}
}

@keyframes heroBarGrow1 {
	from {
		height: 0;
		opacity: 0;
	}

	to {
		height: 35%;
		opacity: 1;
	}
}

@keyframes heroBarGrow2 {
	from {
		height: 0;
		opacity: 0;
	}

	to {
		height: 65%;
		opacity: 1;
	}
}

@keyframes heroBarGrow3 {
	from {
		height: 0;
		opacity: 0;
	}

	to {
		height: 90%;
		opacity: 1;
	}
}


.services-proof-strip span {
	grid-area: slide;
	display: flex;
	gap: 0.75rem;
	align-items: center;
	justify-content: flex-start;
	color: var(--color-text-body, #2d3748);
	font-size: 0.95rem;
	opacity: 0;
	animation: proofSlideShow var(--slideshow-duration, 9s) infinite ease-in-out;
	will-change: transform, opacity;
}

.services-proof-strip span:nth-child(1) {
	animation-delay: 0s;
}

.services-proof-strip span:nth-child(2) {
	animation-delay: 3s;
}

.services-proof-strip span:nth-child(3) {
	animation-delay: 6s;
}

.services-proof-strip:hover span {
	animation-play-state: paused;
}

.services-proof-strip strong {
	color: var(--color-primary);
	font-size: 1.2rem;
	font-weight: 800;
}

@keyframes proofSlideShow {
	0% {
		opacity: 0;
		transform: translateY(12px);
		visibility: hidden;
	}

	4%,
	29% {
		opacity: 1;
		transform: translateY(0);
		visibility: visible;
	}

	33.33%,
	100% {
		opacity: 0;
		transform: translateY(-12px);
		visibility: hidden;
	}
}

.service-detail-card {
	display: flex;
	flex-direction: column;

	&:hover .service-icon-wrapper {
		transform: scale(1.08);
		background: color-mix(in srgb, var(--color-primary) 25%, transparent);
	}
}

.service-detail-card p {
	color: color-mix(in hsl, var(--footer-background), var(--color-white) 72%);
	font-size: 0.95rem;
	line-height: 1.6;
	padding: 1rem;
	padding-top: 0;
	margin: 0;
}

.service-detail-featured {
	background:
		linear-gradient(165deg, color-mix(in srgb, var(--color-primary) 10%, color-mix(in hsl, var(--footer-background), var(--color-white) 9%)) 0%, color-mix(in hsl, var(--footer-background), var(--color-white) 4%) 100%) padding-box,
		color-mix(in hsl, var(--footer-background), var(--color-white) 14%) border-box;

	&:hover {
		background:
			linear-gradient(165deg, color-mix(in srgb, var(--color-primary) 10%, color-mix(in hsl, var(--footer-background), var(--color-white) 9%)) 0%, color-mix(in hsl, var(--footer-background), var(--color-white) 4%) 100%) padding-box,
			radial-gradient(260px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
				var(--color-primary),
				color-mix(in hsl, var(--footer-background), var(--color-white) 14%) 70%) border-box;
	}
}

.service-card-header {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.service-card-header small {
	display: inline-block;
	color: var(--color-primary);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.service-card-header h3 {
	color: var(--color-text-white, #ffffff);
	font-size: 1.35rem;
	font-weight: 700;
	margin: 0.2rem 0 0 0;
	letter-spacing: -0.01em;
}

.service-icon-wrapper {
	width: 52px;
	height: 52px;
	font-size: 1.5rem;
	background: color-mix(in srgb, var(--color-primary) 16%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
	color: var(--color-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--badge-border-radius);
	box-shadow: 0 4px 12px color-mix(in srgb, var(--color-primary) 15%, transparent);
	transition: transform 0.3s ease, background 0.3s ease;
	flex-shrink: 0;

	& svg {
		width: 24px;
		height: 24px;
		stroke: currentColor;
	}

	.is-chromium & {
		corner-shape: squircle;
		-webkit-corner-shape: squircle;
	}
}

.service-features-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	flex: 1;
	margin: 0;
	position: relative;

	&::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 1px;
		background-color: color-mix(in srgb, #000000, transparent 60%);
		z-index: 2;
	}

	&::after {
		content: '';
		position: absolute;
		top: 1px;
		left: 0;
		width: 100%;
		height: 1px;
		background-color: color-mix(in srgb, var(--color-white), transparent 90%);
		z-index: 2;
	}
}

.service-features-list li {
	color: color-mix(in hsl, var(--footer-background), var(--color-white) 85%);
	font-size: 0.9rem;
	line-height: 1.5;
}

.btn-service-action {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	color: var(--color-primary);
	text-decoration: none;
	font-size: 0.92rem;
	font-weight: 700;
	padding: 1rem;
	background: color-mix(in srgb, var(--color-primary) 10%, transparent);
	transition: all 0.2s ease;
	margin-top: auto;
}

.btn-service-action:hover {
	background: var(--color-primary);
	color: #ffffff !important;
	border-color: var(--color-primary);
	box-shadow: 0 4px 14px color-mix(in srgb, var(--color-primary) 35%, transparent);

	&::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 1px;
		background-color: color-mix(in srgb, #000000, transparent 1%);
	}

	&::after {
		content: '';
		position: absolute;
		top: 1px;
		left: 0;
		width: 100%;
		height: 1px;
		background-color: color-mix(in srgb, var(--color-white), transparent 30%);
	}
}

.services-method-section {
	background-color: var(--bg-body, #f4f8fc);

	& .content {
		width: 100%;
		padding-bottom: 0 !important;

		@media (width > 1366px) {
			width: min(100% - 2rem, 1398px);
		}
	}
}

.services-method-section h2 {
	margin: 0;
	color: var(--color-text-heading, #0f172a);
}

.services-method-section .section-heading-center p {
	margin: 0;
	color: var(--color-text-muted, color-mix(in hsl, var(--color-text-body), var(--bg-body) 50%));
}

.process-carousel-wrapper {
	position: relative;
	margin: 0 auto 0;
	width: 100%;
}

.process-steps-track {
	display: grid;
	grid-template-areas: "slide";
	width: 100%;
	position: relative;
	padding: 0;
	margin: 0;
}

.process-step-item {
	grid-area: slide;
	width: 100%;
	box-sizing: border-box;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	padding: 1rem;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: scale(0.985);
	transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s;

	&.active {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: scale(1);
		position: relative;
		z-index: 2;
	}

	&:hover {
		.process-step-visual img {
			transform: scale(1.03);
		}
	}

	.is-chromium & {
		border-radius: 2rem;
		corner-shape: squircle;
	}
}

.process-step-visual {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background-color: color-mix(in hsl, var(--footer-background), var(--color-primary) 18%);
	background-image:
		linear-gradient(to right, color-mix(in srgb, var(--color-primary) 24%, transparent) 1px, transparent 1px),
		linear-gradient(to bottom, color-mix(in srgb, var(--color-primary) 24%, transparent) 1px, transparent 1px),
		linear-gradient(to right, color-mix(in srgb, var(--color-primary) 10%, transparent) 1px, transparent 1px),
		linear-gradient(to bottom, color-mix(in srgb, var(--color-primary) 10%, transparent) 1px, transparent 1px);
	background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
	background-position: center center;
	overflow: hidden;
	position: relative;
	border: 1px solid color-mix(in hsl, var(--footer-background), var(--color-white) 15%);
	border-radius: var(--card-border-radius);

	.is-chromium & {
		corner-shape: squircle;
		-webkit-corner-shape: squircle;
	}

	& svg {
		width: 100%;
		max-width: 1024px;
		margin-inline: auto;
		height: 100%;
		object-fit: contain;
		display: block;
		padding: 1.2rem;
		transition: transform 0.4s ease;
	}
}

.process-step-content {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding-top: 1.8rem;

	@media (width > 1365px) {
		position: absolute;
		top: 2rem;
		right: 2rem;
		width: 300px;
		background-color: var(--bg-body);
		border-radius: var(--badge-border-radius);
		padding: 1rem;
		z-index: 2;

		.is-chromium & {
			corner-shape: squircle;
			-webkit-corner-shape: squircle;
		}
	}
}

.process-step-header {
	display: flex;
	align-items: start;
	gap: 0.8rem;
	margin-bottom: 0.8rem;
}

.process-step-header h3 {
	color: var(--color-text-heading, #0f172a);
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0;
}

.process-step-content p {
	color: var(--color-text-body, #334155);
	font-size: 0.92rem;
	line-height: 1.6;
	margin: 0;
}

/* ==========================================================================
   Universal Slideshow & Carousel Controls Component (Reusable across all sliders)
   ========================================================================== */
.process-carousel-controls,
.philosophy-carousel-controls,
.slideshow-controls-wrapper,
.testimonies-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.2rem;
	margin-top: 1.8rem;
	width: 100%;
}

.slideshow-control-container.inset-shadow-effect {
	opacity: 1;
	padding: 4px;
	background-color: color-mix(in srgb, var(--color-text-heading), transparent 80%);
	border: 1px solid color-mix(in srgb, var(--color-text-heading), transparent 86%);
	box-shadow:
		inset 0 2px 4px color-mix(in srgb, var(--color-text-heading), transparent 86%),
		inset 0 1px 2px color-mix(in srgb, var(--color-text-heading), transparent 80%),
		0 1px 0 color-mix(in srgb, var(--color-white), transparent 50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--badge-border-radius);
	transition: background var(--transition-fast, 0.25s ease);

	&:hover {
		background: color-mix(in srgb, var(--color-primary), transparent 75%);

		& .carousel-nav-btn {
			background-color: var(--bg-card);
			color: var(--color-primary);
		}
	}

	.is-chromium & {
		corner-shape: squircle;
		-webkit-corner-shape: squircle;
	}
}

.carousel-nav-btn.slideshow-control,
.btn-pagination.slideshow-control {
	min-width: 44px;
	min-height: 44px;
	width: 44px;
	height: 44px;
	background-color: color-mix(in srgb, var(--bg-card), transparent 8%);
	color: var(--color-text-heading);
	border: none;
	border-radius: var(--minibadge-border-radius);
	cursor: pointer;
	font-size: 1.05rem;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	line-height: 1;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 2px 6px rgba(0, 0, 0, 0.15);
	transition: color var(--transition-fast, 0.25s ease), transform var(--transition-fast, 0.25s ease), background-color var(--transition-fast, 0.25s ease), box-shadow var(--transition-fast, 0.25s ease);

	&:hover {
		color: var(--color-primary);
		background-color: var(--bg-card);
		transform: scale(1.02);
	}

	&:active {
		transform: scale(0.96);
	}

	& svg {
		width: 18px;
		height: 18px;
	}

	.is-chromium & {
		corner-shape: squircle;
		-webkit-corner-shape: squircle;
	}
}

.carousel-dots,
.testi-bullets {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
}

.carousel-dot,
.testi-bullets .bullet {
	position: relative;
	width: 12px;
	height: 12px;
	min-width: 12px;
	min-height: 12px;
	border-radius: 999px;
	background: color-mix(in hsl, var(--footer-background), var(--color-white) 75%);
	border: none;
	padding: 0;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

	/* Accessible 48x48px Touch Target (WCAG 2.5.5 / 2.5.8) */
	&::before {
		content: '';
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		min-width: 48px;
		min-height: 48px;
	}

	&.active {
		background: var(--color-primary);
		transform: scale(1.2);
	}
}

.authority-panel {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 3.5rem;
	align-items: center;
	padding: 5rem 3.5rem;
	background:
		radial-gradient(ellipse 600px 350px at 100% 0%, color-mix(in srgb, var(--color-primary) 18%, transparent), transparent 70%),
		linear-gradient(160deg, color-mix(in hsl, var(--footer-background), var(--color-white) 8%) 0%, var(--footer-background) 100%);
	border: 1px solid color-mix(in hsl, var(--footer-background), var(--color-white) 16%);
	border-radius: var(--card-border-radius);
	color: #ffffff;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
	overflow: hidden;

	.is-chromium & {
		corner-shape: squircle;
		-webkit-corner-shape: squircle;
	}
}

.authority-content {
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
}

.authority-badge-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.8rem;
}


.authority-panel h2 {
	color: #ffffff;
	font-size: clamp(1.8rem, 3.5vw, 2.5rem);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.02em;
	margin: 0;
}

.authority-lead {
	color: color-mix(in hsl, var(--footer-background), var(--color-white) 78%);
	font-size: 1.05rem;
	line-height: 1.7;
	margin: 0;
}

.authority-tech-chips {
	display: grid;
	grid-template-areas: "slide";
	align-items: center;
	justify-content: flex-start;
	overflow: hidden;
	min-height: 2.8rem;
	margin-top: 0.4rem;
	padding: 0.6rem 1.1rem;
	background: color-mix(in hsl, var(--footer-background), var(--color-white) 10%);
	border: 1px solid color-mix(in hsl, var(--footer-background), var(--color-white) 18%);
	border-radius: var(--badge-border-radius, 10px);
	position: relative;
	width: fit-content;
	max-width: 100%;

	.is-chromium & {
		border-radius: 0.85rem;
		corner-shape: squircle;
		-webkit-corner-shape: squircle;
	}
}

.tech-chip-slide {
	grid-area: slide;
	display: flex;
	align-items: center;
	gap: 0.65rem;
	opacity: 0;
	animation: techChipSlideShow var(--chips-duration, 15s) infinite ease-in-out;
	will-change: transform, opacity;
	width: 100%;
}

.authority-tech-chips:hover .tech-chip-slide {
	animation-play-state: paused;
}

.tech-chip-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--color-primary);
	flex-shrink: 0;

	& svg {
		width: 17px;
		height: 17px;
		stroke: var(--color-primary);
	}
}

.tech-chip-title {
	color: #ffffff;
	font-size: 0.88rem;
	font-weight: 700;
	white-space: nowrap;
}

.tech-chip-separator {
	color: color-mix(in srgb, var(--color-primary) 60%, #ffffff);
	font-weight: bold;
	font-size: 0.8rem;
}

.tech-chip-desc {
	color: color-mix(in hsl, var(--footer-background), var(--color-white) 75%);
	font-size: 0.84rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

@keyframes techChipSlideShow {
	0% {
		opacity: 0;
		transform: translateY(10px);
		visibility: hidden;
	}

	3%,
	17% {
		opacity: 1;
		transform: translateY(0);
		visibility: visible;
	}

	20%,
	100% {
		opacity: 0;
		transform: translateY(-10px);
		visibility: hidden;
	}
}

.authority-actions {
	margin-top: 0.8rem;

	& .btn.hollow.outline {
		color: #ffffff !important;
	}
}

.authority-metrics-wrapper {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	width: 100%;
}

.authority-metrics-carousel {
	position: relative;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.authority-metrics-track {
	display: grid;
	grid-template-areas: "slide";
	width: 100%;
	min-height: 175px;
}

.authority-metric-card {
	grid-area: slide;
	width: 100%;
	box-sizing: border-box;
	background: transparent;
	border: none;
	padding: 2rem 1.8rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: scale(0.97);
	transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
	position: relative;
	z-index: 2;

	&::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		height: 1px;
		background: linear-gradient(90deg, var(--color-primary), #38bdf8);
		opacity: .3;
	}

	&.active {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: scale(1);
	}
}

.metric-top-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.6rem;
}

.metric-badge {
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--color-primary);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-family: monospace;
}

.metric-sparkle-icon {
	display: grid;
	place-content: center;
	color: #38bdf8;
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: color-mix(in srgb, var(--color-primary) 15%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);

	& svg {
		width: 15px;
		height: 15px;
		stroke: var(--color-primary);
	}
}

.authority-metric-card strong {
	display: block;
	color: #ffffff;
	font-size: 2.4rem;
	font-weight: 900;
	line-height: 1.1;
	margin-bottom: 0.5rem;
	letter-spacing: -0.02em;
}

.authority-metric-card span {
	color: color-mix(in hsl, var(--footer-background), var(--color-white) 78%);
	font-size: 0.95rem;
	line-height: 1.5;
	font-weight: 500;
}

.authority-metrics-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 0.2rem;
}

.authority-guarantee-card {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1.2rem 1.4rem;
	background: color-mix(in srgb, var(--color-primary) 10%, color-mix(in hsl, var(--footer-background), var(--color-white) 6%));
	border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
	border-radius: var(--card-border-radius, 14px);

	.is-chromium & {
		border-radius: 1.2rem;
		corner-shape: squircle;
		-webkit-corner-shape: squircle;
	}
}

.guarantee-icon {
	color: var(--color-primary);
	flex-shrink: 0;
	margin-top: 2px;
}

.authority-guarantee-card strong {
	display: block;
	color: #ffffff;
	font-size: 0.95rem;
	font-weight: 700;
	margin-bottom: 0.2rem;
}

.authority-guarantee-card p {
	color: color-mix(in hsl, var(--footer-background), var(--color-white) 75%);
	font-size: 0.85rem;
	line-height: 1.5;
	margin: 0;
}

@media (max-width: 1024px) {
	.authority-panel {
		grid-template-columns: 1fr;
		gap: 2.5rem;
		padding: 2.5rem 2rem;
	}
}

@media (max-width: 640px) {
	.authority-metrics {
		grid-template-columns: 1fr;
	}

	.authority-panel {
		padding: 2rem 1.4rem;
	}
}






/* ==========================================================================
   Home Pillars Section (.home-pillars-block) - Slideshow
   ========================================================================== */
.home-pillars-carousel {
	position: relative;
	max-width: 820px;
	margin: 0 auto;
}

.home-pillars-track {
	position: relative;
	display: grid;
	grid-template-areas: "slide";
	width: 100%;
	min-height: 250px;
}

.home-pillar-slide {
	grid-area: slide;
	width: 100%;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(12px) scale(0.98);
	transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1), transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.45s;

	&.active {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translateY(0) scale(1);
		z-index: 2;
	}
}

.home-pillar-card {
	padding: 2.25rem 2rem;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.pillar-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 0.5rem;
}

.pillar-tag {
	margin-bottom: 0.25rem;
	width: fit-content;
}

.home-pillar-card h3 {
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	font-weight: 750;
	color: #ffffff;
	margin: 0;
	letter-spacing: -0.02em;
}

.home-pillar-card p {
	font-size: 1.05rem;
	line-height: 1.65;
	color: color-mix(in hsl, var(--footer-background), var(--color-white) 75%);
	margin: 0;
}

.home-pillars-nav-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 1.75rem;
	gap: 1rem;
	flex-wrap: wrap;
}

/* ==========================================================================
   Home Technical Stack Carousel (.home-tech-strip-block)
   ========================================================================== */

.tech-carousel-showcase {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	margin-top: 2rem;
	width: 100%;
}

.tech-marquee-container {
	position: relative;
	width: 100%;
	overflow: hidden;
	padding: 0.35rem 0;
	mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
	-webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.tech-marquee-track {
	display: flex;
	width: max-content;
	animation: techMarqueeForward 32s linear infinite;

	&.reverse {
		animation: techMarqueeReverse 38s linear infinite;
	}

	&:hover {
		animation-play-state: paused;
	}
}

.tech-marquee-group {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding-right: 1rem;

	& .btn.sub-heading.timeline {
		height: 32px;

		&:hover {
			background-color: color-mix(in srgb, var(--color-primary) 32%, transparent);
			color: #ffffff;
			border-color: var(--color-primary);
			cursor: default !important;
		}
	}
}

.tech-badge-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	background: color-mix(in hsl, var(--footer-background), var(--color-white) 7%);
	border: 1px solid color-mix(in hsl, var(--footer-background), var(--color-white) 15%);
	color: color-mix(in hsl, var(--footer-background), var(--color-white) 90%);
	padding: 0.65rem 1.35rem;
	border-radius: var(--minibadge-border-radius, 999px);
	font-size: 0.95rem;
	font-weight: 650;
	white-space: nowrap;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);

	.is-chromium & {
		corner-shape: squircle;
		-webkit-corner-shape: squircle;
	}

	& .status-pulse-dot {
		margin-right: 0;
		width: 7px;
		height: 7px;
		background-color: var(--color-primary);
		box-shadow: 0 0 8px var(--color-primary);
	}

	&:hover {
		background: color-mix(in srgb, var(--color-primary) 22%, transparent);
		border-color: var(--color-primary);
		color: #ffffff;
		transform: translateY(-3px) scale(1.03);
		box-shadow: 0 8px 24px -4px color-mix(in srgb, var(--color-primary) 40%, transparent);
	}
}

@keyframes techMarqueeForward {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-25%);
	}
}

@keyframes techMarqueeReverse {
	0% {
		transform: translateX(-25%);
	}

	100% {
		transform: translateX(0);
	}
}

/* ==========================================================================
   5. FAQ Section
   ========================================================================== */

/* FAQ Accordion */
.faq-accordion-wrapper {
	max-width: 820px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
}

.faq-item {
	background: var(--bg-card, #ffffff);
	border: 1px solid color-mix(in hsl, var(--footer-background), var(--color-white) 88%);
	border-radius: var(--card-border-radius);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
	overflow: hidden;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;

	.is-chromium & {
		corner-shape: squircle;
		-webkit-corner-shape: squircle;
	}

	&:hover {
		border-color: color-mix(in srgb, var(--color-primary) 35%, transparent);
		box-shadow: 0 8px 24px color-mix(in srgb, var(--color-primary) 8%, rgba(0, 0, 0, 0.06));
	}

	&[open] {
		background: var(--bg-card, #ffffff);
		border-color: color-mix(in srgb, var(--color-primary) 50%, transparent);
		box-shadow: 0 12px 32px color-mix(in srgb, var(--color-primary) 10%, rgba(0, 0, 0, 0.07));

		& .faq-question {
			color: var(--color-primary);
		}

		& .faq-toggle-icon {
			background: color-mix(in srgb, var(--color-primary) 15%, transparent);
			color: var(--color-primary);
			transform: rotate(180deg);
		}

		& .faq-answer-wrapper {
			grid-template-rows: 1fr;
			opacity: 1;
		}
	}
}

.faq-question {
	padding: 1rem;
	font-weight: 700;
	font-size: 1.1rem;
	color: var(--color-text-heading, #0f172a);
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	user-select: none;
	list-style: none;
	transition: color 0.2s ease;
	gap: 1.2rem;
}

.faq-question::-webkit-details-marker {
	display: none;
}

.faq-question-text {
	display: flex;
	align-items: center;
	gap: 1rem;
	line-height: 1.4;
}

.faq-number {
	font-family: monospace;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--color-primary);
	background: color-mix(in srgb, var(--color-primary) 12%, transparent);
	padding: 0.2rem 0.55rem;
	border-radius: 6px;
	flex-shrink: 0;
}

.faq-toggle-icon {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: color-mix(in hsl, var(--footer-background), var(--color-white) 92%);
	color: var(--color-text-heading, #0f172a);
	flex-shrink: 0;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease, color 0.3s ease;

	& svg {
		width: 18px;
		height: 18px;
	}
}

.faq-answer-wrapper {
	overflow: hidden;
}

.faq-answer-inner {
	border-top: 1px solid color-mix(in hsl, var(--footer-background), var(--color-white) 90%);
	padding: 0 1rem 1rem 1rem;
}

.faq-answer-content {
	padding-top: 1rem;
	border-top: 1px solid color-mix(in hsl, var(--footer-background), var(--color-white) 90%);
	color: var(--color-text-body, #334155);
	line-height: 1.7;
	font-size: 1rem;
	opacity: 0;
	transform: translateY(-4px);
	transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);

	& p {
		margin: 0;
		color: var(--color-text-body, #475569);
	}
}

.faq-item[open] .faq-answer-content {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 640px) {
	.faq-question {
		padding: 1rem;
		font-size: 1rem;
	}

	.faq-answer-inner {
		padding: 0 1.3rem 1.4rem 1.3rem;
	}
}

/* ==========================================================================
   8. Contact Briefing Form
   ========================================================================== */
.contact-grid-container {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: 3rem;
}

.contact-trust-card {
	background: var(--chanodev-surface-elevated);
	border: 1px solid var(--chanodev-border);
	border-radius: var(--chanodev-radius-lg);
	padding: 2.2rem;
}

.contact-detail-items {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	margin: 2rem 0;
}

.detail-item {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

.detail-icon {
	font-size: 1.3rem;
}

.guarantee-box {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	padding: 1.2rem;
	border-radius: var(--badge-border-radius);
}

.contact-form-wrapper {
	background: var(--chanodev-surface);
	border: 1px solid var(--chanodev-border);
	border-radius: var(--chanodev-radius-lg);
	padding: 2.5rem;
	box-shadow: var(--chanodev-shadow-md);
}

.chanodev-briefing-form .form-group {
	margin-bottom: 1.25rem;
}

.chanodev-briefing-form label {
	display: block;
	font-size: 0.9rem;
	font-weight: 600;
	margin-bottom: 0.4rem;
	color: var(--chanodev-text-main);
}

.chanodev-briefing-form input[type="text"],
.chanodev-briefing-form input[type="email"],
.chanodev-briefing-form select,
.chanodev-briefing-form textarea {
	width: 100%;
	padding: 0.8rem 1rem;
	border: 1px solid #cbd5e1;
	border-radius: var(--badge-border-radius);
	font-size: 1rem;
	background: #ffffff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.chanodev-briefing-form input:focus,
.chanodev-briefing-form select:focus,
.chanodev-briefing-form textarea:focus {
	outline: none;
	border-color: var(--chanodev-accent-dark, #689f38);
	box-shadow: 0 0 0 3px var(--chanodev-accent-glow);
}

.form-row-2col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.privacy-checkbox {
	font-size: 0.85rem;
	color: var(--chanodev-text-muted);
}

.privacy-checkbox label {
	display: flex;
	gap: 0.5rem;
	align-items: flex-start;
	font-weight: 400;
}

/* ==========================================================================
   9. Call to Action Banner (.services-cta-block & .portfolio-cta-box)
   ========================================================================== */

.portfolio-cta-box {
	position: relative;
	z-index: 1;
	background:
		radial-gradient(ellipse 650px 380px at 100% 0%, color-mix(in srgb, var(--color-primary) 22%, transparent), transparent 75%),
		radial-gradient(450px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), color-mix(in srgb, var(--color-primary) 20%, transparent), transparent 75%),
		linear-gradient(160deg, color-mix(in hsl, var(--footer-background), var(--color-white) 10%) 0%, var(--footer-background) 100%);
	border: 1px solid color-mix(in hsl, var(--footer-background), var(--color-white) 18%);
	border-radius: var(--card-border-radius);
	color: #ffffff;
	padding: 5rem 3.5rem;
	text-align: center;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
	overflow: hidden;
	max-width: 1000px;
	margin: 0 auto;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;

	.is-chromium & {
		corner-shape: squircle;
		-webkit-corner-shape: squircle;
	}

	/* Top ambient beam flare */
	&::before {
		content: '';
		position: absolute;
		top: -120px;
		left: 50%;
		transform: translateX(-50%);
		width: 500px;
		height: 240px;
		background: radial-gradient(ellipse 500px 240px at 50% 0%, color-mix(in srgb, var(--color-primary) 35%, transparent), transparent 75%);
		pointer-events: none;
		z-index: 1;
	}

	/* Concentric orbital rings watermark in top-right */
	&::after {
		content: '';
		position: absolute;
		top: -100px;
		right: -100px;
		width: 360px;
		height: 360px;
		border-radius: 50%;
		border: 1px dashed color-mix(in srgb, var(--color-primary) 20%, transparent);
		box-shadow: 0 0 0 45px color-mix(in srgb, var(--color-primary) 5%, transparent), inset 0 0 0 45px color-mix(in srgb, var(--color-primary) 5%, transparent);
		pointer-events: none;
		z-index: 1;
	}

	&:hover {
		& .cta-spotlight-layer {
			opacity: 1;
		}
	}
}

/* Mouse tracking border spotlight glow layer (extra div) */
.cta-spotlight-layer {
	position: absolute;
	inset: 0;
	border-radius: var(--card-border-radius);
	border: 1px solid transparent;
	background: radial-gradient(360px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
			var(--color-primary),
			transparent 70%) border-box;
	-webkit-mask:
		linear-gradient(#fff 0 0) padding-box,
		linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
	opacity: 0;
	z-index: 2;
	transition: opacity 0.3s ease;

	.is-chromium & {
		corner-shape: squircle;
		-webkit-corner-shape: squircle;
	}
}

/* Luminous Blurred Ambient Orbs */
.cta-glow-orb {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
	filter: blur(55px);
	z-index: 1;
	opacity: 0.6;
}

.cta-glow-orb-1 {
	width: 280px;
	height: 280px;
	background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
	top: -60px;
	left: -40px;
}

.cta-glow-orb-2 {
	width: 220px;
	height: 220px;
	background: radial-gradient(circle, var(--color-primary-hover) 0%, transparent 70%);
	bottom: -40px;
	right: -30px;
}

.cta-inner-content {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 680px;
	margin: 0 auto;

	&>*:not(:last-child) {
		margin-bottom: 1.2rem;
	}
}

.portfolio-cta-box .services-kicker {
	color: var(--color-primary);
	background: color-mix(in srgb, var(--color-primary) 16%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-primary) 30%, transparent);
	padding: 0.3rem 0.9rem;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.portfolio-cta-box h2 {
	color: #ffffff;
	font-size: clamp(2.2rem, 4.5vw, 3.2rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.025em;
	margin: 0;
}

.portfolio-cta-box p {
	color: color-mix(in hsl, var(--footer-background), var(--color-white) 78%);
	font-size: 1.12rem;
	line-height: 1.7;
	margin: 0;
	max-width: 600px;
}

.cta-actions-group {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.1rem;
	margin-top: 0.8rem;
}

.btn-cta-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	background: var(--color-primary);
	color: #ffffff !important;
	font-weight: 800;
	font-size: 1.05rem;
	padding: 1rem 2.2rem;
	border-radius: 999px;
	text-decoration: none;
	border: none;
	cursor: pointer;
	box-shadow: 0 8px 24px color-mix(in srgb, var(--color-primary) 45%, transparent);
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

	&:hover {
		background: color-mix(in srgb, var(--color-primary) 85%, #000000);
		transform: translateY(-3px) scale(1.02);
		box-shadow: 0 14px 36px color-mix(in srgb, var(--color-primary) 60%, transparent);

		& svg {
			transform: translateX(4px);
		}
	}

	&:active {
		transform: translateY(-1px) scale(0.99);
	}

	& svg {
		transition: transform 0.25s ease;
	}
}

.cta-reassurance {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: color-mix(in hsl, var(--footer-background), var(--color-white) 72%);
	font-size: 0.88rem;
	font-weight: 500;
}

@media (max-width: 640px) {
	.portfolio-cta-box {
		padding: 3rem 1.5rem;
	}
}

/* ==========================================================================
   10. Responsive Media Queries
   ========================================================================== */
@media (max-width: 900px) {

	.home-hero-grid,
	.about-hero-grid,
	.case-study-layout,
	.contact-grid-container {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.services-hero-grid,
	.about-hero-grid,
	.authority-panel {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}

	.services-hero-visual,
	.about-hero-visual,
	.home-hero-visual {
		max-width: 620px;
		margin: 0 auto;
	}

	.authority-panel {
		padding: 2rem;
	}



	@media (max-width: 620px) {

		.services-main-title,
		.about-main-title {
			font-size: 2.55rem;
		}

		.authority-metrics {
			grid-template-columns: 1fr;
			gap: 0.8rem;
		}

		.architecture-content {
			padding: 2rem 1.2rem;
		}

		.architecture-body {
			min-height: 270px;
		}

		.architecture-status {
			grid-template-columns: auto 1fr;
		}

		.architecture-status b:nth-of-type(2) {
			grid-column: 1;
		}

		.authority-metrics div {
			padding-left: 0.8rem;
		}

		.profile-terminal-body {
			padding: 1.4rem;
		}
	}

	.form-row-2col {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   11. Entry & Scroll Reveal Animations
   ========================================================================== */
html.js-reveal-ready [data-reveal] {
	opacity: 0;
	will-change: transform, opacity;
	transition-property: opacity, transform, filter;
	transition-duration: 0.85s;
	transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
	transition-delay: var(--delay, 0ms);
}

/* Default / Fade-Up */
html.js-reveal-ready [data-reveal="fade-up"],
html.js-reveal-ready [data-reveal=""] {
	transform: translate3d(0, 32px, 0);
}

/* Fade-Down */
html.js-reveal-ready [data-reveal="fade-down"] {
	transform: translate3d(0, -28px, 0);
}

/* Fade-Left (slides in from right to left) */
html.js-reveal-ready [data-reveal="fade-left"] {
	transform: translate3d(36px, 0, 0);
}

/* Fade-Right (slides in from left to right) */
html.js-reveal-ready [data-reveal="fade-right"] {
	transform: translate3d(-36px, 0, 0);
}

/* Scale-Up (subtle zoom + slide up) */
html.js-reveal-ready [data-reveal="scale-up"] {
	transform: scale(0.95) translate3d(0, 24px, 0);
}

/* Active / Revealed state */
html.js-reveal-ready [data-reveal].is-revealed {
	opacity: 1;
	transform: translate3d(0, 0, 0) scale(1);
	filter: none;
}

/* Hero & Card specific micro-reveal transitions */
html.js-reveal-ready .architecture-window.is-revealed,
html.js-reveal-ready .profile-terminal-window.is-revealed {
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 40px color-mix(in srgb, var(--color-primary) 12%, transparent);
}

html.js-reveal-ready .architecture-window.is-revealed .architecture-bars span:nth-child(1) {
	transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

html.js-reveal-ready .architecture-window.is-revealed .architecture-bars span:nth-child(2) {
	transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.45s;
}

html.js-reveal-ready .architecture-window.is-revealed .architecture-bars span:nth-child(3) {
	transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
}

/* Smooth transition restoration for interactive cards once revealed */
html.js-reveal-ready .service-detail-card.is-revealed,
html.js-reveal-ready .authority-metric-card.is-revealed,
html.js-reveal-ready .about-skill-card.is-revealed,
html.js-reveal-ready .about-metric-card.is-revealed,
html.js-reveal-ready .about-philosophy-card.is-revealed,
html.js-reveal-ready .timeline-content-card.is-revealed {
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease, opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {

	html.js-reveal-ready [data-reveal],
	.services-hero-block *,
	.services-hero-visual,
	.architecture-window,
	.about-hero-block *,
	.about-hero-visual,
	.profile-terminal-window,
	.home-hero-block *,
	.home-hero-visual,
	.home-deck-card,
	.home-perf-window {
		opacity: 1 !important;
		transform: none !important;
		filter: none !important;
		transition: none !important;
		animation: none !important;
	}
}

/* ====================================================================== */
/* Globals styles */
/* ====================================================================== */
.site-main .block:not(.block-breadcrumbs) {
	padding: 3rem 0;
}

.sub-heading {
	display: inline-block;
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--color-primary);
	background-color: color-mix(in srgb, var(--color-primary) 5%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-primary) 32%, transparent);
	padding: 0.3rem 0.8rem;
	border-radius: var(--minibadge-border-radius);
	transition: all .3s ease;

	&.green {
		text-transform: initial;
		background: rgba(16, 185, 129, 0.12);
		border: 1px solid rgba(16, 185, 129, 0.3);
		color: #34d399;

		& .status-pulse-dot {
			background-color: #10b981;
			box-shadow: 0 0 8px #10b981;
			animation: statusPulseGreen 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
		}
	}

	& .status-pulse-dot {
		margin-right: .5rem;
		width: 8px;
		height: 8px;
		background-color: color-mix(in srgb, var(--color-primary) 60%, transparent);
		border-radius: 50%;
		display: inline-block;
		box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-primary) 70%, transparent);
		animation: pulseStatusDot 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
	}

	&:has(svg) {
		display: grid;
		place-content: center;
		height: 32.68px;

		svg {
			width: 20px;
			height: 20px;
		}

		&.big-badge {
			width: 52px;
			height: 52px;
			background: color-mix(in srgb, var(--color-primary) 20%, transparent);

			& svg {
				width: 24px;
				height: 24px;
			}
		}
	}

	&.timeline:has(svg) {
		display: inline-flex;
		align-items: center;
		gap: .5rem;

		& svg {
			width: 1rem;
			height: 1rem;
		}

		&.btn {
			&:hover {
				background-color: var(--color-primary);
				color: #ffffff;
				border-color: var(--color-primary);
				box-shadow: 0 0 14px color-mix(in srgb, var(--color-primary) 50%, transparent);
			}
		}
	}

	.is-chromium & {
		corner-shape: squircle;
		-webkit-corner-shape: squircle;
	}
}

.transparent-tag {
	flex-shrink: 0;
	white-space: nowrap;
	font-size: 0.85rem;
	font-weight: 600;
	height: 32.68px;
	color: color-mix(in hsl, var(--footer-background), var(--color-white) 85%);
	background-color: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	padding: 0.28rem 0.68rem;
	border-radius: var(--minibadge-border-radius);
	transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;

	&.text-black {
		color: var(--color-text--heading);
		border-color: var(--color-line);

		&:hover {
			color: var(--footer-background);
		}
	}

	&.full-size {
		font-size: 1rem;

		&:hover {
			color: color-mix(in hsl, var(--footer-background), var(--color-white) 85%);
			background-color: rgba(255, 255, 255, 0.06);
			border-color: rgba(255, 255, 255, 0.1);

		}
	}

	&:hover {
		border-color: var(--color-primary);
		color: #ffffff;
		background: color-mix(in srgb, var(--color-primary) 20%, transparent);
	}

	.is-chromium & {
		corner-shape: squircle;
		-webkit-corner-shape: squircle;
	}
}

.section-heading-center {
	text-align: center;
	max-width: 800px;
	margin: 0 auto 2rem auto;

	&.white-text {
		& h2 {
			color: #ffffff;
		}

		& p {
			color: color-mix(in hsl, var(--footer-background), var(--color-white) 70%);
		}
	}

	& h2 {
		margin: 0;
	}

	& p {
		margin: 0;
		font-size: 1.1rem;
		color: var(--chanodev-text-muted);
	}
}

.blue-background {
	position: relative;
	background-color: var(--footer-background);

	&::before {
		content: '';
		position: absolute;
		inset: 0;
		z-index: 0;
		pointer-events: none;
		background-image:
			radial-gradient(circle, color-mix(in srgb, var(--color-primary) 25%, transparent) 1px, transparent 1px);
		background-size: 40px 40px;
		mask-image:
			radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
	}

	&::after {
		content: '';
		position: absolute;
		top: 15%;
		left: 50%;
		transform: translateX(-50%);
		width: 85%;
		height: 70%;
		background: radial-gradient(ellipse at center, color-mix(in srgb, var(--color-primary) 10%, transparent) 0%, transparent 65%);
		z-index: 0;
		pointer-events: none;
	}

	& .content {
		position: relative;
		z-index: 2;
	}
}

.whiteprint-background {
	background-color: var(--bg-body, #f4f8fc);
	position: relative;

	&::before {
		content: '';
		position: absolute;
		inset: 0;
		background-image:
			linear-gradient(to top, color-mix(in srgb, var(--color-primary) 6%, transparent) 1px, transparent 1px),
			linear-gradient(to right, color-mix(in srgb, var(--color-primary) 6%, transparent) 1px, transparent 1px);
		background-size: 30px 30px;
		background-position: center top;
		z-index: 0;
		pointer-events: none;
		mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
	}

	&::after {
		content: '';
		position: absolute;
		inset: 0;
		background-image:
			linear-gradient(to top, color-mix(in srgb, var(--color-primary) 12%, transparent) 1.5px, transparent 1.5px),
			linear-gradient(to right, color-mix(in srgb, var(--color-primary) 12%, transparent) 1.5px, transparent 1.5px);
		background-size: 150px 150px;
		background-position: center top;
		z-index: 0;
		pointer-events: none;
		mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
	}

	& .content {
		position: relative;
		z-index: 2;
	}
}

.hover-glow {
	position: relative;
	overflow: hidden;
	border: 1px solid transparent;
	border-radius: var(--card-border-radius);
	background:
		linear-gradient(165deg, color-mix(in hsl, var(--footer-background), var(--color-white) 9%) 0%, color-mix(in hsl, var(--footer-background), var(--color-white) 4%) 100%) padding-box,
		color-mix(in hsl, var(--footer-background), var(--color-white) 14%) border-box;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 24px rgba(0, 0, 0, 0.25);
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;

	.is-chromium & {
		border-radius: 1.5rem;
		corner-shape: squircle;
		-webkit-corner-shape: squircle;
	}

	/* 1. Halo ambiental en la esquina superior */
	&::before {
		content: '';
		position: absolute;
		top: 0;
		right: 0;
		width: 150px;
		height: 150px;
		background: radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--color-primary) 18%, transparent), transparent 70%);
		pointer-events: none;
		opacity: 0.6;
		transition: opacity 0.3s ease;
		z-index: 1;
	}

	/* 2. Foco interactivo que sigue al cursor */
	&::after {
		content: '';
		position: absolute;
		inset: 0;
		background: radial-gradient(300px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
				color-mix(in srgb, var(--color-primary) 22%, transparent),
				transparent 80%);
		pointer-events: none;
		opacity: 0;
		transition: opacity 0.3s ease;
		z-index: 1;
	}

	&:hover {
		/* Borde focalizado con el glow en el cursor */
		background:
			linear-gradient(165deg, color-mix(in hsl, var(--footer-background), var(--color-white) 9%) 0%, color-mix(in hsl, var(--footer-background), var(--color-white) 4%) 100%) padding-box,
			radial-gradient(260px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
				var(--color-primary),
				color-mix(in hsl, var(--footer-background), var(--color-white) 14%) 70%) border-box;
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 16px 36px rgba(0, 0, 0, 0.4);

		&::before {
			opacity: 1;
		}

		&::after {
			opacity: 1;
		}
	}
}

/* ====================================================================== */
/* Home Card Specific Styles */
/* ====================================================================== */

@media (width >=1366px) {
	.home .home-deck-card.is-active:hover {
		transform: rotateX(8deg) rotateY(-12deg) rotateZ(2deg) translate3d(0, 0, 0);
		box-shadow: none;
	}
}

/* 
   #testimonies — Overlapping Coverflow Testimonials Carousel
   Smooth infinite 3D loop with top avatars tracking
 */

.home-testimonies-block {
	position: relative;
	overflow: hidden;

	& .testimonies-bg-decor {
		display: none;
	}

	& .content {
		position: relative;
		z-index: 1;
	}

	& .testimonies-interactive-container {
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
		position: relative;

		/* 10% Fade Mask at Left & Right Edges */
		mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
		-webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
	}

	/* Avatars Row tracking index */
	& .testimonies-avatars-row {
		position: relative;
		height: 90px;
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
		margin-bottom: 0.5rem;
	}

	& .avatar-item {
		position: absolute;
		width: 58px;
		height: 58px;
		display: flex;
		align-items: center;
		justify-content: center;
		cursor: pointer;
		background: transparent;
		border: none;
		padding: 0;
		transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1);
		user-select: none;

		& .avatar-ring {
			position: absolute;
			inset: -4px;
			border: 2px solid var(--color-primary);
			border-radius: 50%;
			opacity: 0;
			transform: scale(0.9);
			transition: all 0.5s ease;
		}

		& .avatar-img-wrapper {
			width: 100%;
			height: 100%;
			border-radius: 50%;
			display: flex;
			align-items: center;
			justify-content: center;
			font-size: 1rem;
			font-weight: 700;
			color: #ffffff;
			overflow: hidden;
			box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
			border: 2px solid color-mix(in srgb, var(--color-text-heading, #0f172a) 12%, transparent);
			transition: all 0.3s ease;
		}

		&.active {
			& .avatar-ring {
				opacity: 1;
				transform: scale(1);
				box-shadow: 0 0 16px color-mix(in srgb, var(--color-primary) 30%, transparent);
			}

			& .avatar-img-wrapper {
				border-color: transparent;
			}
		}

		&:hover:not(.active) .avatar-img-wrapper {
			border-color: color-mix(in srgb, var(--color-primary) 50%, transparent);
			transform: scale(1.05);
		}
	}

	/* Overlapping Cards Stack */
	& .testimonies-cards-stack {
		position: relative;
		width: 100%;
		max-width: 620px;
		height: 280px;
		display: flex;
		align-items: center;
		justify-content: center;
		perspective: 1000px;

		@media (width < 768px) {
			height: 330px;
		}
	}

	& .testimony-card {
		position: absolute;
		width: 100%;
		max-width: 560px;
		box-sizing: border-box;
		background-color: var(--bg-body);
		border-radius: var(--card-border-radius);
		padding: 1rem;
		box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
		display: flex;
		flex-direction: column;
		text-align: center;
		transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;

		.is-chromium & {
			corner-shape: squircle;
			-webkit-corner-shape: squircle;
		}

		& .quote-symbol {
			position: absolute;
			top: -1rem;
			left: .5rem;
			font-size: 15rem;
			color: var(--color-primary);
			opacity: 0.12;
			line-height: 1;
			user-select: none;
			pointer-events: none;
		}

		& .testimony-text {
			margin: 0;
			font-size: clamp(0.95rem, 1.8vw, 1.05rem);
			line-height: 1.65;
			color: var(--color-text-body, #334155);
			font-weight: 400;
			z-index: 1;
		}

		& .testimony-author {
			margin-top: 2rem;

			& h4 {
				margin: 0;
				font-size: 1.1rem;
				font-weight: 700;
				color: var(--color-text-heading, #0f172a);
			}

			& span {
				font-size: 0.82rem;
				color: color-mix(in hsl, var(--color-text-body, #334155), transparent 30%);
				margin-top: 0.25rem;
				display: block;
			}
		}

		&.active {
			background: var(--bg-card, #ffffff);
			border-color: color-mix(in srgb, var(--color-primary) 35%, transparent);
			box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);

			& .testimony-author h4 {
				color: var(--color-primary);
			}
		}
	}

	/* Process carousel controls spacing adjustment if needed */
	& .process-carousel-controls {
		margin-top: 0.5rem;
		width: 100%;
	}
}

/* ====================================================================== */
/* Keyframes
/* ====================================================================== */
@keyframes pulseStatusDot {
	0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-primary) 70%, transparent);
	}

	70% {
		transform: scale(1);
		box-shadow: 0 0 0 7px color-mix(in srgb, var(--color-primary) 0%, transparent);
	}

	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 color-mix(in srgb, var(--color-primary) 0%, transparent);
	}
}

@keyframes statusPulseGreen {
	0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
	}

	70% {
		transform: scale(1);
		box-shadow: 0 0 0 7px rgba(16, 185, 129, 0);
	}

	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
	}
}