/* ============================================================
   Servize Hyundai Plovdiv — Homepage sections
   ============================================================ */

/* ===== Hero ===== */

.shp-hero {
	position: relative;
	/* Compact vertical padding so the whole hero (text + photo) stays above the fold */
	padding: var(--shp-space-8) 0 var(--shp-space-8);
	background:
		radial-gradient(ellipse 900px 480px at 78% -10%, rgba(0, 170, 210, 0.16), transparent 60%),
		radial-gradient(ellipse 700px 420px at 12% 110%, rgba(0, 170, 210, 0.07), transparent 60%),
		var(--shp-bg);
	border-bottom: 1px solid var(--shp-line-soft);
	overflow: hidden;
}
.shp-hero-inner {
	max-width: 780px;
}

/* Optional hero photo (ACF shp_home_hero_image) — text + image on wide screens.
   No frame/border on purpose: the photo floats on the dark hero background
   with only a soft drop shadow (looks best with a transparent-background PNG).
   max-height caps tall photos so the section never grows past the fold. */
.shp-hero-grid--media {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 420px;
	gap: var(--shp-space-8);
	align-items: center;
}
.shp-hero-media {
	display: flex;
	justify-content: center;
}
.shp-hero-media img {
	max-width: 100%;
	width: auto;
	height: auto;
	max-height: 440px;
	display: block;
	filter: drop-shadow(0 30px 55px rgba(0, 0, 0, 0.55));
}
@media (max-width: 1200px) {
	.shp-hero-grid--media { grid-template-columns: minmax(0, 1fr) 360px; }
	.shp-hero-media img { max-height: 380px; }
}
@media (max-width: 1000px) {
	.shp-hero-grid--media { grid-template-columns: 1fr; }
	.shp-hero-media { max-width: 520px; margin: 0 auto; }
	.shp-hero-media img { max-height: 340px; }
}
.shp-hero-badge {
	display: inline-block;
	font-size: var(--shp-text-sm);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--shp-accent-bright);
	background: var(--shp-accent-soft);
	border: 1px solid rgba(0, 170, 210, 0.3);
	padding: 7px 16px;
	border-radius: var(--shp-radius-pill);
	margin-bottom: var(--shp-space-5);
}
.shp-hero h1 {
	font-size: var(--shp-text-5xl);
	margin: 0 0 var(--shp-space-5);
}
.shp-hero-accent { color: var(--shp-accent-bright); }
.shp-hero-sub {
	font-size: var(--shp-text-xl);
	color: var(--shp-ink-soft);
	max-width: 620px;
	margin: 0 0 var(--shp-space-6);
}
.shp-hero-actions {
	display: flex;
	gap: var(--shp-space-4);
	flex-wrap: wrap;
	margin-bottom: var(--shp-space-8);
}

.shp-hero-stats {
	display: flex;
	gap: var(--shp-space-8);
	margin: 0;
	flex-wrap: wrap;
}
.shp-hero-stats dt {
	font-family: var(--shp-font-heading);
	font-size: var(--shp-text-3xl);
	font-weight: 800;
	color: var(--shp-ink);
}
.shp-hero-stats dd {
	margin: 4px 0 0;
	color: var(--shp-ink-muted);
	font-size: var(--shp-text-sm);
}

@media (max-width: 760px) {
	.shp-hero { padding: var(--shp-space-8) 0 var(--shp-space-7); }
	.shp-hero h1 { font-size: var(--shp-text-4xl); }
	.shp-hero-sub { font-size: var(--shp-text-lg); }
	.shp-hero-stats { gap: var(--shp-space-6); }
	.shp-hero-stats dt { font-size: var(--shp-text-2xl); }
}

/* ===== Why us ===== */

.shp-why { padding: var(--shp-space-9) 0 0; }
.shp-why-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--shp-space-5);
}
.shp-why-card {
	background: var(--shp-surface);
	border: 1px solid var(--shp-line-soft);
	border-radius: var(--shp-radius-lg);
	padding: var(--shp-space-6);
	transition: border-color var(--shp-duration) var(--shp-ease), transform var(--shp-duration) var(--shp-ease);
}
.shp-why-card:hover {
	border-color: var(--shp-line);
	transform: translateY(-4px);
}
.shp-why-card h3 {
	font-size: var(--shp-text-lg);
	margin: var(--shp-space-4) 0 var(--shp-space-3);
}
.shp-why-card p {
	margin: 0;
	font-size: 15px;
	color: var(--shp-ink-soft);
}
@media (max-width: 1000px) { .shp-why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .shp-why-grid { grid-template-columns: 1fr; } }

/* ===== Services grid (shared with archive via single-service.css too) ===== */

.shp-services { padding: var(--shp-space-9) 0 0; }
.shp-services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--shp-space-5);
}
.shp-services-grid--3 { grid-template-columns: repeat(3, 1fr); }
.shp-service-card {
	display: flex;
	flex-direction: column;
	background: var(--shp-surface);
	border: 1px solid var(--shp-line-soft);
	border-radius: var(--shp-radius-lg);
	padding: var(--shp-space-6);
	text-decoration: none;
	transition: border-color var(--shp-duration) var(--shp-ease),
				transform var(--shp-duration) var(--shp-ease),
				box-shadow var(--shp-duration) var(--shp-ease);
}
.shp-service-card:hover {
	border-color: rgba(0, 170, 210, 0.45);
	transform: translateY(-4px);
	box-shadow: var(--shp-shadow);
}
.shp-service-card h3 {
	font-size: var(--shp-text-lg);
	margin: var(--shp-space-4) 0 var(--shp-space-3);
	color: var(--shp-ink);
}
.shp-service-card p {
	margin: 0 0 var(--shp-space-4);
	font-size: 15px;
	color: var(--shp-ink-soft);
	flex-grow: 1;
}
.shp-service-card-more {
	color: var(--shp-accent-bright);
	font-weight: 700;
	font-size: 15px;
}
@media (max-width: 1000px) { .shp-services-grid, .shp-services-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .shp-services-grid, .shp-services-grid--3 { grid-template-columns: 1fr; } }

.shp-empty-note {
	text-align: center;
	color: var(--shp-ink-muted);
	background: var(--shp-surface);
	border: 1px dashed var(--shp-line);
	border-radius: var(--shp-radius);
	padding: var(--shp-space-6);
}

/* ===== Process ===== */

.shp-process { padding: var(--shp-space-9) 0 0; }
.shp-process-steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--shp-space-5);
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: shp-step;
}
.shp-process-steps li {
	position: relative;
	background: var(--shp-bg-soft);
	border: 1px solid var(--shp-line-soft);
	border-radius: var(--shp-radius-lg);
	padding: var(--shp-space-6);
}
.shp-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--shp-accent);
	color: #04222e;
	font-family: var(--shp-font-heading);
	font-weight: 800;
	font-size: var(--shp-text-lg);
	margin-bottom: var(--shp-space-4);
}
.shp-process-steps h3 {
	font-size: var(--shp-text-lg);
	margin: 0 0 var(--shp-space-3);
}
.shp-process-steps p {
	margin: 0;
	font-size: 15px;
	color: var(--shp-ink-soft);
}
@media (max-width: 1000px) { .shp-process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .shp-process-steps { grid-template-columns: 1fr; } }

/* ===== Gallery teaser (renders only when photos exist) ===== */

.shp-gallery-teaser { padding: var(--shp-space-9) 0 0; }
.shp-gallery-teaser-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--shp-space-5);
}
@media (max-width: 1000px) { .shp-gallery-teaser-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .shp-gallery-teaser-grid { grid-template-columns: 1fr; } }

.shp-gallery-teaser-item {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--shp-radius-lg);
	border: 1px solid var(--shp-line-soft);
	background: var(--shp-surface);
	transition: border-color var(--shp-duration) var(--shp-ease),
				transform var(--shp-duration) var(--shp-ease),
				box-shadow var(--shp-duration) var(--shp-ease);
}
.shp-gallery-teaser-item:hover {
	border-color: rgba(0, 170, 210, 0.45);
	transform: translateY(-4px);
	box-shadow: var(--shp-shadow);
}
.shp-gallery-teaser-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 320ms var(--shp-ease);
}
.shp-gallery-teaser-item:hover img { transform: scale(1.04); }

.shp-gallery-teaser-more {
	text-align: center;
	margin: var(--shp-space-6) 0 0;
}
.shp-gallery-teaser-more a {
	color: var(--shp-accent-bright);
	font-weight: 700;
	text-decoration: none;
}
.shp-gallery-teaser-more a:hover { text-decoration: underline; }

/* ===== CTA strip ===== */

.shp-cta-strip { padding: var(--shp-space-9) 0 0; }
.shp-cta-strip-inner {
	background:
		radial-gradient(ellipse 480px 260px at 85% 20%, rgba(255, 255, 255, 0.08), transparent 60%),
		linear-gradient(120deg, #036182, #0090bf);
	border-radius: var(--shp-radius-lg);
	padding: var(--shp-space-8);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--shp-space-6);
	flex-wrap: wrap;
}
.shp-cta-strip h2 {
	color: #fff;
	font-size: var(--shp-text-2xl);
	margin: 0 0 var(--shp-space-2);
}
.shp-cta-strip p {
	color: rgba(255, 255, 255, 0.85);
	margin: 0;
}
.shp-cta-strip-actions {
	display: flex;
	gap: var(--shp-space-4);
	flex-wrap: wrap;
}
.shp-cta-strip .shp-btn--accent {
	background: #fff;
	color: #036182;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}
.shp-cta-strip .shp-btn--accent:hover { background: #fff; color: #024a63; }
.shp-cta-strip .shp-btn--ghost {
	border-color: rgba(255, 255, 255, 0.5);
	color: #fff;
}
.shp-cta-strip .shp-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: #fff;
	color: #fff;
}

/* ===== Visit / contact strip ===== */

.shp-visit { padding: var(--shp-space-9) 0 0; }
.shp-visit-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--shp-space-5);
}
.shp-visit-card {
	background: var(--shp-surface);
	border: 1px solid var(--shp-line-soft);
	border-radius: var(--shp-radius-lg);
	padding: var(--shp-space-6);
}
.shp-visit-card h3 {
	font-size: var(--shp-text-sm);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--shp-ink-muted);
	margin: 0 0 var(--shp-space-3);
}
.shp-visit-card p {
	margin: 0 0 var(--shp-space-3);
	color: var(--shp-ink);
	font-size: var(--shp-text-base);
	line-height: 1.7;
}
.shp-visit-card a {
	color: var(--shp-accent-bright);
	font-weight: 600;
	text-decoration: none;
}
.shp-visit-card a:hover { text-decoration: underline; }
@media (max-width: 860px) { .shp-visit-grid { grid-template-columns: 1fr; } }
