/*
 * Services chips grid — 4 columns on desktop, 2 on tablet, 1 on mobile.
 * Non-interactive cells (text-only).
 */

.teledom-design section.hp-services.compact {
	padding: 100px 20px;
}

.teledom-design .services {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	border-top: 1px solid var(--line-light);
	border-left: 1px solid var(--line-light);
}

.teledom-design .service {
	padding: 32px 26px;
	border-right: 1px solid var(--line-light);
	border-bottom: 1px solid var(--line-light);
	position: relative;
	background: var(--paper);
}

.teledom-design .service .num {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.2em;
	color: var(--gold-deep);
	margin-bottom: 14px;
}

.teledom-design .service h4 {
	font-family: var(--display);
	font-size: 20px;
	font-weight: 500;
	margin: 0 0 10px;
	letter-spacing: -0.01em;
}

.teledom-design .service p {
	font-size: 12px;
	margin: 0;
}

/* Tablet: 4 narrow columns squeeze headings like "Klimatizácia" /
 * "Bezpečnosť" / "Catering" into 1-letter wraps. Drop to 2 cols. */
@media (max-width: 880px) {
	.teledom-design section.hp-services.compact {
		padding: 60px 16px;
	}

	.teledom-design .services {
		grid-template-columns: repeat(2, 1fr);
	}

	.teledom-design .service {
		padding: 24px 20px;
	}

	.teledom-design .service h4 {
		font-size: 17px;
	}
}

/* Phone: 1 column — each service gets full width for comfortable reading. */
@media (max-width: 520px) {
	.teledom-design section.hp-services.compact {
		padding: 48px 12px;
	}

	.teledom-design .services {
		grid-template-columns: 1fr;
	}

	.teledom-design .service {
		padding: 20px 18px;
	}

	.teledom-design .service .num {
		margin-bottom: 8px;
	}
}
