/* ==========================================================
   HOLZWOOD — Naše služby (kruhové karty)
   ========================================================== */

.hw-sc {
	--hw-circle-size: 230px;
	--hw-badge-size: 58px;
	--hw-stagger: 55px;
	--hw-deco-color: #E5E1D6;

	position: relative;
	overflow: hidden;
	padding: 10px 0 30px;
}

/* ---------- Hlavička ---------- */

.hw-sc-header {
	position: relative;
	z-index: 2;
	text-align: center;
	margin-bottom: 70px;
}

.hw-sc-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.25em;
	text-transform: uppercase;
}

.hw-sc-eyebrow::before {
	content: "";
	display: inline-block;
	width: 34px;
	height: 1px;
	background-color: currentColor;
}

.hw-sc-title {
	margin: 14px 0 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(32px, 4.5vw, 52px);
	font-weight: 700;
	line-height: 1.15;
}

/* ---------- Grid ---------- */

.hw-sc-grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(var(--hw-cols, 4), minmax(0, 1fr));
	gap: 48px 40px;
	align-items: start;
}

.hw-sc-item {
	text-align: center;
	min-width: 0;
	transition: transform 0.35s ease;
}

.hw-sc-item:hover {
	transform: translateY(calc(-1 * var(--hw-lift, 8px)));
}

.hw-sc-item-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

/* Stagger — párne položky nižšie, len na desktope
   (cez margin, aby hover transform fungoval nezávisle) */
@media (min-width: 1025px) {
	.hw-stagger-on .hw-sc-item:nth-child(even) {
		margin-top: var(--hw-stagger, 55px);
	}
}

/* ---------- Kruh + odznak ---------- */

.hw-sc-circle-wrap {
	position: relative;
	width: var(--hw-circle-size);
	max-width: 100%;
	margin: 0 auto 30px;
}

.hw-sc-circle {
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(31, 42, 32, 0.08);
}

.hw-sc-circle img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 50%;
}

.hw-sc-badge {
	position: absolute;
	right: 4%;
	bottom: 2%;
	width: var(--hw-badge-size);
	height: var(--hw-badge-size);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: calc(var(--hw-badge-size) * 0.4);
	border: 4px solid #F4F1E9;
	box-shadow: 0 4px 14px rgba(31, 42, 32, 0.18);
	z-index: 2;
	transition: background-color 0.35s ease;
}

.hw-sc-badge svg {
	width: calc(var(--hw-badge-size) * 0.42);
	height: auto;
}

/* ---------- Texty položiek ---------- */

.hw-sc-item-title {
	margin: 0 0 12px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.25;
}

.hw-sc-item-text {
	margin: 0 auto;
	max-width: 300px;
	font-size: 15.5px;
	line-height: 1.65;
}

/* ---------- Dekorácie pozadia ---------- */

.hw-sc-deco {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}

/* Všetky dekorácie sedia na jednej spodnej línii (bottom: 0),
   výšky sú nastavené tak, aby pôsobili proporčne. */
.hw-sc-deco-svg {
	position: absolute;
	bottom: 0;
	fill: var(--hw-deco-color);
	width: auto;
}

.hw-sc-deco-trees {
	left: -1%;
	height: clamp(160px, 19vw, 310px);
}

.hw-sc-deco-logs {
	left: 33%;
	height: clamp(80px, 8vw, 125px);
}

.hw-sc-deco-planks {
	left: 56%;
	height: clamp(85px, 8.5vw, 135px);
}

.hw-sc-deco-house {
	right: 0;
	height: clamp(130px, 14vw, 225px);
}

/* ---------- Responzivita ---------- */

@media (max-width: 1024px) {
	.hw-sc-header { margin-bottom: 50px; }

	.hw-sc-deco-logs,
	.hw-sc-deco-planks { display: none; }

	.hw-sc-deco-trees { height: 150px; opacity: 0.7; }
	.hw-sc-deco-house { height: 120px; opacity: 0.7; }
}

@media (max-width: 767px) {
	.hw-sc-grid { gap: 44px 24px; }
	.hw-sc-circle-wrap { margin-bottom: 22px; }
	.hw-sc-item-title { font-size: 21px; }

	.hw-sc-deco-trees,
	.hw-sc-deco-house { height: 100px; opacity: 0.5; }

	/* na dotykových zariadeniach hover lift vypnutý */
	.hw-sc-item:hover { transform: none; }
}
