/* ================================================================
   Homepage — scoped stylesheet
   Loaded only on is_front_page()
   ================================================================ */

/* ================================================================
   HOMEPAGE SECTION ENHANCEMENTS
   ================================================================ */

/* --- Why Choose Us: subtle brand glow + dot pattern --- */
.sc-why-section {
	position: relative;
	overflow: hidden;
}

.sc-why-section::before {
	content: '';
	position: absolute;
	bottom: -120px;
	left: -80px;
	width: 500px;
	height: 500px;
	border-radius: 50%;
	background: radial-gradient(ellipse, rgba(220, 74, 38, 0.12) 0%, transparent 65%);
	pointer-events: none;
}

.sc-why-section::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
	background-size: 28px 28px;
	pointer-events: none;
}

/* --- Testimonials: large decorative quote mark --- */
.sc-testimonial-card {
	position: relative;
}

.sc-testimonial-card::before {
	content: '\201C';
	position: absolute;
	top: -4px;
	right: 16px;
	font-size: 5rem;
	line-height: 1;
	color: #f3f4f6;
	font-family: Georgia, serif;
	pointer-events: none;
	user-select: none;
}

/* Testimonials section: subtle warm tint bg */
.sc-testimonials-section {
	background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

/* --- CTA Banner: dot pattern overlay --- */
.sc-cta-section {
	position: relative;
	overflow: hidden;
}

.sc-cta-section::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255,255,255,0.15) 1px, transparent 1px);
	background-size: 24px 24px;
	pointer-events: none;
}

.sc-cta-section::after {
	content: '';
	position: absolute;
	top: -60px;
	right: -60px;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: rgba(255,255,255,0.06);
	pointer-events: none;
}

/* --- Category pills: hover lift --- */

/* ---- Tech stack icon tooltips ---- */
.sc-tech-icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	opacity: 0.65;
	transition: opacity 0.2s ease, transform 0.2s ease;
	cursor: default;
}
.sc-tech-icon:hover {
	opacity: 1;
	transform: translateY(-2px);
}
.sc-tech-icon::after {
	content: attr(data-name);
	position: absolute;
	top: calc(100% + 7px);
	left: 50%;
	transform: translateX(-50%) translateY(-4px);
	background: #111827;
	color: #fff;
	font-size: 11px;
	font-weight: 500;
	white-space: nowrap;
	padding: 4px 8px;
	border-radius: 5px;
	pointer-events: none;
	opacity: 0;
	z-index: 50;
	transition: opacity 0.15s ease, transform 0.15s ease;
}
.sc-tech-icon::before {
	content: '';
	position: absolute;
	top: calc(100% + 2px);
	left: 50%;
	transform: translateX(-50%) translateY(-4px);
	border: 4px solid transparent;
	border-bottom-color: #111827;
	pointer-events: none;
	opacity: 0;
	z-index: 50;
	transition: opacity 0.15s ease, transform 0.15s ease;
}
.sc-tech-icon:hover::after,
.sc-tech-icon:hover::before {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

.sc-cat-pill {
	transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
	            box-shadow 0.2s ease,
	            border-color 0.2s ease;
}

.sc-cat-pill:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(220, 74, 38, 0.08);
}

/* Title: clamp to 3 lines (homepage featured cards) */
.sc-card-title {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	line-clamp: 3;
	overflow: hidden;
}

/* --- Hire Us card: subtle gradient on hover --- */
.sc-hire-card {
	transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.sc-hire-card:hover {
	box-shadow: 0 8px 32px rgba(220, 74, 38, 0.08);
	border-color: rgba(220, 74, 38, 0.2);
}

/* ---- Hero misc ---- */
.sc-grid-pattern {
	background-image: linear-gradient(#e5e7eb 1px, transparent 1px),
	                  linear-gradient(to right, #e5e7eb 1px, transparent 1px);
	background-size: 40px 40px;
}

.sc-gradient-text {
	background: linear-gradient(135deg, #dc4a26 0%, #f26644 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* py-18 utility (not in default Tailwind scale) */
.py-18 { padding-top: 4.5rem; padding-bottom: 4.5rem; }

/* Hero panel: strip WooCommerce del color */
.sc-hero .sc-price del,
.sc-hero .sc-price ins { text-decoration: none; }
.sc-hero .sc-price del { color: #d1d5db; font-size: 0.75rem; }
.sc-hero .sc-price ins { font-weight: 600; }

