/* =========================================================
   Dotyrich — Sectors widget
   Scope: .dr-sec
   ========================================================= */

.dr-sec { background: var(--dr-bg); }

.dr-sec .dr-hero__bg-color { position: absolute; inset: 0; z-index: 0; background: var(--dr-bg-alt); }

.dr-sec__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	background: var(--dr-border);
	border: 1px solid var(--dr-border);
}

.dr-sec__item {
	display: flex;
	flex-direction: column;
	background: var(--dr-bg-card);
	padding: 48px 36px;
	border: none;
	position: relative;
	overflow: hidden;
	transition: var(--dr-transition);
	color: inherit;
	text-decoration: none;
	min-height: 280px;
}

.dr-sec__item::before {
	content: '';
	position: absolute;
	left: 0; top: 0;
	width: 100%; height: 2px;
	background: var(--dr-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.5s var(--dr-ease);
}

.dr-sec__item:hover { background: var(--dr-accent); z-index: 2; }
.dr-sec__item:hover::before { transform: scaleX(1); }

.dr-sec__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: rgba(63, 123, 131, 0.12);
	color: var(--dr-accent);
	margin-bottom: 28px;
	font-size: 24px;
	transition: var(--dr-transition);
}

.dr-sec__icon svg { width: 24px; height: 24px; }

.dr-sec__item:hover .dr-sec__icon {
	background: rgba(255, 255, 255, 0.15);
	color: #ffffff;
	transform: scale(1.06);
}

.dr-sec__title {
	font-size: 1.375rem;
	font-weight: 600;
	margin-bottom: 12px;
	color: var(--dr-text);
	transition: color 0.3s ease;
}

.dr-sec__desc {
	font-size: 0.9375rem;
	color: var(--dr-text-muted);
	line-height: 1.6;
	flex: 1;
	transition: color 0.3s ease;
}

.dr-sec__arrow {
	display: inline-flex;
	align-items: center;
	margin-top: 28px;
	color: var(--dr-text-dim);
	transition: var(--dr-transition);
}

.dr-sec__item:hover .dr-sec__arrow { color: #ffffff; transform: translateX(6px); }

/* Responsive */
@media (max-width: 1024px) {
	.dr-sec__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
	.dr-sec__grid { grid-template-columns: 1fr; }
	.dr-sec__item { padding: 36px 28px; min-height: auto; }
}
