/* ==========================================================================
   ParsTakin front-page hero (from home.html)
   ========================================================================== */

:root {
	--ink: #ffffff;
	--line: #e2e8f0;
	--line-soft: #edf2f7;
	--text: #0f172a;
	--text-dim: #475569;
	--text-faint: #94a3b8;
	--coral: #e78652;
	--coral-bright: #efa074;
	--coral-dim: #bd5f2e;
	--wire-copper: #e07838;
	--wire-alu: #0284c7;
	--wire-control: #10b981;
	--wire-coax: #8b5cf6;
	--wire-instrument: #ec4899;
	--radius: 14px;
	--card-shadow:
		0 4px 20px -2px rgba(0, 0, 0, 0.05),
		0 2px 6px -1px rgba(0, 0, 0, 0.03);
	--card-shadow-hover:
		0 16px 32px -4px rgba(231, 134, 82, 0.12),
		0 4px 12px -2px rgba(0, 0, 0, 0.05);
}

.mono {
	font-family: "Estedad";
	letter-spacing: 0.02em;
}

html,
body {
	overflow-x: clip;
}

.wrap {
	max-width: 1220px;
	margin: 0 auto;
	padding: 0 28px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: 10px;
	font-size: 14.5px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
	border: 1px solid transparent;
}

.btn-coral {
	background: linear-gradient(135deg, var(--coral), var(--coral-dim));
	color: #fff;
	box-shadow: 0 4px 15px rgba(231, 134, 82, 0.25);
}

.btn-coral:hover {
	background: linear-gradient(135deg, var(--coral-bright), var(--coral));
	box-shadow: 0 8px 20px rgba(231, 134, 82, 0.35);
}

.btn-outline {
	border-color: var(--line);
	background: #fff;
	color: var(--text);
}

.btn-outline:hover {
	border-color: var(--coral);
	color: var(--coral);
	background: rgba(231, 134, 82, 0.04);
}

.grid-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image:
		linear-gradient(var(--line) 1px, transparent 1px),
		linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 32px 32px;
	opacity: 0.38;
	animation: gridDrift 50s linear infinite;
	-webkit-mask-image: linear-gradient(to bottom, black, transparent 85%);
	mask-image: linear-gradient(to bottom, black, transparent 85%);
}

@keyframes gridDrift {
	from {
		background-position:
			0 0,
			0 0;
	}

	to {
		background-position:
			64px 64px,
			64px 64px;
	}
}

/* ===== hero ===== */
.hero {
	padding: 40px 0 48px;
	overflow: hidden;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	position: relative;
}

.hero .wrap {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 56px;
	align-items: start;
}

.hero-text {
	padding: 0;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--coral-dim);
	background: rgba(231, 134, 82, 0.08);
	border: 1px solid rgba(231, 134, 82, 0.25);
	padding: 7px 16px;
	border-radius: 99px;
	margin-bottom: 24px;
}

.eyebrow .dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--coral);
	box-shadow: 0 0 8px var(--coral);
}

.hero h1 {
	font-size: 48px;
	font-weight: 900;
	line-height: 1.32;
	letter-spacing: -0.02em;
	margin-bottom: 22px;
	color: #0f172a;
}

.hero h1 em {
	font-style: normal;
	background: linear-gradient(90deg, var(--coral-bright), var(--coral-dim));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.hero p.lead {
	font-size: 16.5px;
	font-weight: 400;
	color: var(--text-dim);
	max-width: 520px;
	margin-bottom: 34px;
}

.hero-cta {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 36px;
}

.hero-trust {
	font-size: 13px;
	color: var(--text-faint);
}

.hero-visual {
	position: relative;
	height: 615px;
	max-height: 615px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.hero-visual::before,
.hero-visual::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	z-index: 3;
	pointer-events: none;
}

.hero-visual::before {
	top: 0;
	height: 60px;
	background: linear-gradient(to bottom, #ffffff, transparent);
}
.hero-visual::after {
	bottom: 0;
	height: 60px;
	background: linear-gradient(to top, #f8fafc, transparent);
}

.scroll-col {
	overflow: hidden;
	position: relative;
	border-radius: var(--radius);
	height: 100%;
}

.scroll-track {
	display: flex;
	flex-direction: column;
	gap: 14px;
	animation: scrollDown linear infinite;
}

.scroll-col.down .scroll-track {
	animation-name: scrollDown;
}

.scroll-col.up .scroll-track {
	animation-name: scrollUp;
}

.scroll-col:nth-child(1) .scroll-track {
	animation-duration: 36s;
}

.scroll-col:nth-child(2) .scroll-track {
	animation-duration: 46s;
}

.scroll-col:nth-child(2) {
	margin-top: 0;
}

@keyframes scrollDown {
	from {
		transform: translateY(-50%);
	}

	to {
		transform: translateY(0);
	}
}

@keyframes scrollUp {
	from {
		transform: translateY(0);
	}

	to {
		transform: translateY(-50%);
	}
}

.prod-tile {
	background: #ffffff;
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 16px;
	display: flex;
	align-items: center;
	gap: 12px;
	box-shadow: var(--card-shadow);
	transition: all 0.25s;
}

.prod-tile:hover {
	border-color: var(--coral);
	box-shadow: var(--card-shadow-hover);
}

.prod-ico {
	width: 40px;
	height: 40px;
	flex: none;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.prod-ico span {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #ffffff;
}

.prod-tile b {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: var(--text);
	margin-bottom: 3px;
}

.prod-tile em {
	font-style: normal;
	font-family: "Estedad";
	font-size: 10.8px;
	color: var(--text-faint);
}

.hero-badge {
	position: absolute;
	bottom: 18px;
	right: -18px;
	z-index: 10;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(231, 134, 82, 0.22);
	border-radius: 18px;
	padding: 12px 18px 12px 14px;
	box-shadow:
		0 20px 40px -8px rgba(15, 23, 42, 0.12),
		0 8px 18px -4px rgba(231, 134, 82, 0.16),
		0 0 0 1px rgba(255, 255, 255, 0.9) inset;
	display: inline-flex;
	align-items: center;
	gap: 14px;
	direction: rtl;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
	cursor: default;
	user-select: none;
}

.hero-badge:hover {
	transform: translateY(-4px) scale(1.02);
	box-shadow:
		0 26px 50px -10px rgba(15, 23, 42, 0.16),
		0 12px 24px -4px rgba(231, 134, 82, 0.22),
		0 0 0 1px #ffffff inset;
}

.hero-badge-icon {
	width: 44px;
	height: 44px;
	border-radius: 13px;
	background: linear-gradient(135deg, rgba(231, 134, 82, 0.16), rgba(231, 134, 82, 0.06));
	border: 1px solid rgba(231, 134, 82, 0.25);
	color: #e78652;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 4px 12px rgba(231, 134, 82, 0.14);
	transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
}

.hero-badge:hover .hero-badge-icon {
	transform: rotate(6deg) scale(1.08);
	background: linear-gradient(135deg, #e78652, #bd5f2e);
	color: #ffffff;
	border-color: transparent;
	box-shadow: 0 6px 18px rgba(231, 134, 82, 0.35);
}

.hero-badge-icon svg {
	width: 22px;
	height: 22px;
	display: block;
}

.hero-badge-content {
	display: flex;
	flex-direction: column;
	gap: 4px;
	text-align: right;
}

.hero-badge-title {
	display: flex;
	align-items: center;
	gap: 8px;
	line-height: 1.2;
}

.hero-badge-title b {
	font-family: "Estedad", system-ui, sans-serif;
	font-size: 13.5px;
	font-weight: 800;
	color: #0f172a;
	letter-spacing: -0.01em;
}

.hero-badge-pill {
	font-family: "Estedad", system-ui, sans-serif;
	font-size: 10px;
	font-weight: 700;
	color: #059669;
	background: rgba(16, 185, 129, 0.1);
	border: 1px solid rgba(16, 185, 129, 0.25);
	padding: 1px 7px;
	border-radius: 999px;
	line-height: 1.4;
	display: inline-block;
}

.hero-badge-sub {
	display: flex;
	align-items: center;
	gap: 6px;
	font-family: "Estedad", system-ui, sans-serif;
	font-size: 11.5px;
	font-weight: 500;
	color: #64748b;
	line-height: 1.2;
}

.hero-badge-sub .badge-dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #e78652;
	flex-shrink: 0;
}

/* ===== hero authority / comparison panel ===== */
.hero-compare {
	background: linear-gradient(180deg, #ffffff, #fffaf6);
	border: 1px solid #fde3cd;
	border-radius: 16px;
	padding: 18px 20px;
	margin-bottom: 26px;
	box-shadow: 0 10px 26px -8px rgba(231, 134, 82, 0.18);
	position: relative;
}

.hero-compare::before {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: 16px;
	padding: 1px;
	background: linear-gradient(120deg,
			rgba(231, 134, 82, 0.5),
			rgba(239, 160, 116, 0),
			rgba(231, 134, 82, 0.5));
	background-size: 200% 100%;
	animation: shimmer 3.5s linear infinite;
	-webkit-mask:
		linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

.compare-head {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 13.5px;
	font-weight: 800;
	color: var(--coral-dim);
	margin-bottom: 14px;
}

.compare-head svg {
	flex: none;
}

.compare-rows {
	display: grid;
	grid-template-columns: 1fr auto;
	row-gap: 11px;
	column-gap: 16px;
	font-size: 13.5px;
}

.compare-row {
	display: contents;
}

.compare-row .c-label {
	color: var(--text-dim);
	font-weight: 600;
	text-align: right;
}

.compare-row .c-value {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	color: #0f172a;
	text-align: right;
	justify-content: flex-start;
}

.compare-row .c-value svg {
	flex-shrink: 0;
	color: #10b981;
	width: 16px;
	height: 16px;
}

.compare-foot {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px dashed #fde3cd;
	font-size: 11.8px;
	color: var(--coral-dim);
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 6px;
}

/* ===== hero entrance timeline ===== */
.hero-text>* {
	opacity: 0;
	animation: fadeInUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-text .eyebrow {
	animation-delay: 0.05s;
}

.hero-text h1 {
	animation-delay: 0.16s;
}

.hero-text .hero-compare {
	animation-delay: 0.28s;
}

.hero-text p.lead {
	animation-delay: 0.4s;
}

.hero-text .hero-cta {
	animation-delay: 0.52s;
}

.hero-text .hero-trust {
	animation-delay: 0.62s;
}

.hero-visual {
	opacity: 0;
	animation: fadeIn 1s ease 0.35s forwards;
}

.hero-badge {
	animation:
		popIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.95s backwards,
		floatY 4.2s ease-in-out 1.55s infinite;
}

.eyebrow .dot {
	animation: softPulse 2.2s ease-in-out infinite;
}

/* ===== keyframes ===== */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(28px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes floatY {

	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-9px);
	}
}

@keyframes popIn {
	from {
		opacity: 0;
		transform: scale(0.88);
	}

	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes softPulse {

	0%,
	100% {
		box-shadow: 0 0 0 0 rgba(231, 134, 82, 0.35);
	}

	50% {
		box-shadow: 0 0 0 8px rgba(231, 134, 82, 0);
	}
}

@keyframes shimmer {
	0% {
		background-position: -200% 0;
	}

	100% {
		background-position: 200% 0;
	}
}

/* ===== responsive ===== */
@media (max-width: 980px) {
	.hero .wrap {
		grid-template-columns: 1fr;
	}

	.hero-text {
		padding: 0;
	}

	.hero-visual {
		height: 320px;
		max-height: 320px;
		order: -1;
	}

	.hero-visual .scroll-col:nth-child(2) {
		display: none;
	}

	.hero-badge {
		right: 12px;
		bottom: 12px;
		padding: 10px 14px;
		gap: 10px;
	}

	.hero-badge-icon {
		width: 38px;
		height: 38px;
		border-radius: 11px;
	}

	.hero-badge-icon svg {
		width: 20px;
		height: 20px;
	}

	.hero-badge-title b {
		font-size: 12.5px;
	}

	.hero-badge-sub {
		font-size: 11px;
	}

	.hero h1 {
		font-size: 34px;
	}
}

@media (max-width: 620px) {
	.hero {
		padding: 32px 0 36px;
	}

	.hero-text {
		padding: 0;
	}

	.hero-visual {
		height: 260px;
		max-height: 260px;
	}

	.hero h1 {
		font-size: 27px;
	}

	.wrap {
		padding: 0 20px;
	}
}
@media (max-width: 480px) {
	.hero-badge {
		right: 6px;
		bottom: 6px;
		padding: 8px 12px;
		border-radius: 14px;
	}

	.hero-badge-pill {
		display: none;
	}
}
