/* Services — text + buttons on semi-transparent overlay */

.services {
	padding: 56px 0 64px;
	background: #fff;
}

.services .container {
	max-width: none;
	width: 100%;
	padding-left: clamp(16px, 2.5vw, 40px);
	padding-right: clamp(16px, 2.5vw, 40px);
}

.services__head {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 36px;
}

.services__title {
	margin: 0 0 12px;
	font-family: "SF Pro Display", sans-serif;
	font-size: clamp(28px, 4vw, 40px);
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #1f1f1f;
}

.services__subtitle {
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
	color: #6b6b6b;
}

.services__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.service-card {
	min-width: 0;
	height: 100%;
	border-radius: 18px;
	overflow: hidden;
	background: #1a1a1a;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
	transition: transform .25s ease, box-shadow .25s ease;
}

.service-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

@media (hover: none) {
	.service-card:hover {
		transform: none;
		box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
	}
}

.service-card__poster {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 420px;
	height: 100%;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: #222;
}

.service-card__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
}

.service-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform .45s ease;
}

.service-card:hover .service-card__media img {
	transform: scale(1.04);
}

.service-card__poster::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		180deg,
		transparent 28%,
		rgba(10, 10, 10, 0.35) 52%,
		rgba(10, 10, 10, 0.72) 100%
	);
	pointer-events: none;
}

.service-card__body {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	margin: 0 12px 12px;
	padding: 16px 14px 14px;
	border-radius: 14px;
	background: rgba(12, 12, 12, 0.62);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
	color: #fff;
}

.service-card__title {
	margin: 0 0 8px;
	font-family: "SF Pro Display", sans-serif;
	font-size: clamp(17px, 1.4vw, 22px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.service-card__title a {
	color: #fff !important;
	text-decoration: none !important;
}

.service-card__title span {
	display: block;
}

.service-card__text {
	margin: 0 0 8px;
	font-size: 13px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.82);
}

.service-card__price {
	margin: 0 0 12px;
	font-family: "SF Pro Display", sans-serif;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	color: #ff8a72;
}

.service-card__actions {
	display: flex;
	flex-direction: row;
	gap: 8px;
}

.service-card__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 0;
	min-width: 0;
	min-height: 40px;
	padding: 8px 10px;
	border-radius: 35px;
	font-size: 12px;
	font-weight: 700;
	font-family: inherit;
	line-height: 1.15;
	text-align: center;
	text-decoration: none !important;
	cursor: pointer;
	transition: background .2s ease, color .2s ease, border-color .2s ease, filter .2s ease;
	box-sizing: border-box;
	white-space: nowrap;
}

.service-card__btn--ghost {
	border: 1.5px solid rgba(255, 255, 255, 0.45);
	background: rgba(255, 255, 255, 0.08);
	color: #fff !important;
}

.service-card__btn--ghost:hover {
	border-color: #f66446;
	background: rgba(246, 100, 70, 0.15);
	color: #ff8a72 !important;
}

.service-card__btn--solid {
	border: none;
	background: #f66446;
	background-image: linear-gradient(to bottom, #f66446, #ef4d4d);
	color: #fff !important;
	box-shadow: 0 3px 7px rgba(0, 0, 0, 0.25);
}

.service-card__btn--solid:hover {
	filter: brightness(1.05);
}

@media (max-width: 1100px) {
	.services__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.service-card__poster {
		min-height: 380px;
	}
}

@media (max-width: 900px) {
	.services {
		padding: 40px 0 48px;
	}

	.services__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.service-card__poster {
		min-height: 360px;
		aspect-ratio: 3 / 4;
	}

	.service-card__title {
		font-size: clamp(15px, 3.4vw, 18px);
	}

	.service-card__text {
		font-size: 12px;
	}

	.service-card__body {
		margin: 0 10px 10px;
		padding: 14px 12px 12px;
	}
}

@media (max-width: 560px) {
	.services__grid {
		grid-template-columns: minmax(0, 1fr);
		max-width: 420px;
		margin: 0 auto;
		gap: 16px;
	}

	.service-card {
		border-radius: 16px;
	}

	.service-card__poster {
		min-height: 440px;
		aspect-ratio: 3 / 4;
	}

	.service-card__title {
		font-size: clamp(22px, 6vw, 28px);
	}

	.service-card__text {
		font-size: 14px;
	}

	.service-card__btn {
		font-size: 13px;
		min-height: 44px;
	}
}

@media (hover: none) {
	.service-card:hover .service-card__media img {
		transform: none;
	}
}
