/*************************
**** SERVICE PAGES CSS ****
Loaded AFTER main.css and cart.css. Only used by the service pages
(web-development.php, remote-it-support.php, pc-repairs.php,
networking-servers.php, custom-pc-builds.php, software-development.php).
Re-uses the :root tokens from main.css:
--mf-green, --mf-blue, --mf-dark, --mf-panel, --mf-text, --mf-muted
**************************/

/* ---------- Hero ---------- */
.svc-hero
{
	position: relative;
	padding: 140px 0 80px 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

/* ---------- Hero background images Main Section ---------- */

.svc-hero--web-development { background-image: linear-gradient(rgba(16,16,16,.55), rgba(16,16,16,.88)), url(../images/services/hero-web-development.jpg); }
.svc-hero--remote-it-support { background-image: linear-gradient(rgba(16,16,16,.55), rgba(16,16,16,.88)), url(../images/services/hero-remote-it-support.jpg); }
.svc-hero--pc-repairs { background-image: linear-gradient(rgba(16,16,16,.55), rgba(16,16,16,.88)), url(../images/services/hero-pc-repairs.jpg); }
.svc-hero--networking-servers { background-image: linear-gradient(rgba(16,16,16,.55), rgba(16,16,16,.88)), url(../images/services/hero-networking-servers.jpg); }
.svc-hero--custom-pc-builds { background-image: linear-gradient(rgba(16,16,16,.55), rgba(16,16,16,.88)), url(../images/services/hero-custom-pc-builds.jpg); }
.svc-hero--software-development { background-image: linear-gradient(rgba(16,16,16,.55), rgba(16,16,16,.88)), url(../images/services/hero-software-development.jpg); }


/* ---------- Hero background images Sub Section ---------- */

.svc-hero--web-development-sub { background-image: linear-gradient(rgba(16,16,16,.55), rgba(16,16,16,.88)), url(../images/services/hero-web-development.jpg); }
.svc-hero--remote-it-support-sub { background-image: linear-gradient(rgba(16,16,16,.55), rgba(16,16,16,.88)), url(../images/services/hero-remote-it-support.jpg); }
.svc-hero--pc-repairs-sub { background-image: linear-gradient(rgba(16,16,16,.55), rgba(16,16,16,.88)), url(../images/services/hero-pc-repairs.jpg); }
.svc-hero--networking-servers-sub { background-image: linear-gradient(rgba(16,16,16,.55), rgba(16,16,16,.88)), url(../images/services/hero-networking-servers.jpg); }
.svc-hero--custom-pc-builds-sub { background-image: linear-gradient(rgba(16,16,16,.55), rgba(16,16,16,.88)), url(../images/services/hero-custom-pc-builds.jpg); }
.svc-hero--software-development-sub { background-image: linear-gradient(rgba(16,16,16,.55), rgba(16,16,16,.88)), url(../images/services/hero-software-development.jpg); }

.svc-hero .heading h1
{
	font-family: 'Dosis', sans-serif;
	font-size: 52px;
	line-height: 1.15;
	color: #fff;
	margin: 10px 0 15px 0;
	text-shadow: 0 4px 20px rgba(0,0,0,.6);
}

.svc-hero .svc-sub
{
	font-size: 20px;
	line-height: 1.5;
	max-width: 760px;
	margin: 0 auto 25px auto;
	color: #e0e0e0;
}

/* ---------- Breadcrumb bar (sits directly under the hero) ---------- */
.svc-crumbbar
{
	background: #101010;
	border-bottom: 1px solid #151515;
	border-top: 1px solid #050505;
	padding: 12px 0;
}

.svc-crumbs
{
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .5px;
	line-height: 1.6;
}

.svc-crumbs li { display: inline; color: var(--mf-muted); }
.svc-crumbs li + li:before { content: "/"; margin: 0 8px; color: #555; }
.svc-crumbs a { color: var(--mf-green); }
.svc-crumbs a:hover { color: var(--mf-blue); }
.svc-crumbs li[aria-current="page"] { color: #e6e6e6; }

.svc-chips
{
	list-style: none;
	padding: 0;
	margin: 25px 0 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

.svc-chips li
{
	background: rgba(0,0,0,.55);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(0,204,0,.35);
	border-radius: 30px;
	padding: 6px 16px;
	color: #e6e6e6;
	font-size: 14px;
}

.svc-chips li .fa { color: var(--mf-green); margin-right: 6px; }

.svc-chips li,
.svc-tags li
{
	margin: 0;
}

@media (max-width: 767px)
{
	.svc-chips
	{
		flex-direction: column;
		align-items: stretch;
	}

	.svc-chips li
	{
		text-align: center;
		border-radius: 12px;
	}
}

/* ---------- Buttons / CTAs ---------- */
.svc-actions
{
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

.svc-btn
{
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	padding: 8px 24px 8px 20px;
	
	padding: 13px 24px;
	border-radius: 10px;
	font-weight: 600;
	font-size: 16px;
	text-decoration: none !important;
	border: 1px solid var(--mf-green);
	transition: all .3s ease-in-out;
	color: #fff !important;
	background: #202020;
}

.svc-btn .fa {
	flex: 0 0 22px;
	width: 22px;
	margin-right: 0;
	text-align: center;
	font-size: 18px;
	line-height: 1;
}


.svc-btn:hover { background: var(--mf-green); color: #000 !important; }
.svc-btn--primary { background: var(--mf-green); color: #000 !important; }
.svc-btn--primary:hover { background: #fff; border-color: #fff; }
.svc-btn--blue { border-color: var(--mf-blue); }
.svc-btn--blue:hover { background: var(--mf-blue); border-color: var(--mf-blue); }

/* ---------- Section shell ---------- */
.svc-section { padding: 70px 0 50px 0; }
.svc-section--alt { background: rgba(16,16,16,.55); }
.svc-section .heading { margin-bottom: 25px; text-align: center; }
.svc-prose h2 { color: #fff; font-size: 36px; }
.svc-section .heading h2 { font-size: 40px; color: #fff; margin-bottom: 10px; }
.svc-lead { max-width: 720px; margin: 0 auto; color: var(--mf-muted); font-size: 18px; }
.svc-prose p { font-size: 17px; line-height: 1.75; margin-bottom: 18px; }
.svc-prose a, .svc-lead a, .svc-faq a, .svc-note a { color: var(--mf-green); }
.svc-prose a:hover, .svc-faq a:hover { color: var(--mf-blue); }

/* ---------- At a glance ---------- */
.svc-glance
{
	background: var(--mf-panel);
	border-radius: 10px;
	border-top: 4px solid var(--mf-green);
	padding: 22px 24px;
	box-shadow: 0 8px 20px rgba(0,0,0,.25);
}

.svc-glance h3 { color: var(--mf-green); margin: 0 0 12px 0; font-size: 26px; }
.svc-glance dl { margin: 0; }
.svc-glance dt { font-weight: 400; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--mf-muted); }
.svc-glance dd { font-size: 20px; color: #fff; margin: 0 0 12px 0; font-family: 'Dosis', sans-serif; }

/* CTA buttons inside the at-a-glance panel */
.svc-glance-actions
{
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid #101010;
}

.svc-glance-actions .svc-btn { display: flex; }

/* ---------- Feature cards ---------- */
.svc-grid
{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	gap: 24px;
	margin-top: 10px;
}

.svc-card
{
	background: var(--mf-panel);
	border-radius: 10px;
	padding: 26px 24px;
	box-shadow: 0 8px 20px rgba(0,0,0,.2);
	transition: all .25s ease-in-out;
	border-bottom: 3px solid transparent;
}

.svc-card:hover { transform: translateY(-6px); border-bottom-color: var(--mf-green); }
.svc-card .svc-icon
{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--mf-dark);
	color: var(--mf-green);
	font-size: 26px;
	margin-bottom: 14px;
	transition: all .25s ease-in-out;
}

.svc-card:hover .svc-icon { background: var(--mf-green); color: #000; }
.svc-card h3 { color: #fff; margin: 0 0 8px 0; font-size: 24px; }
.svc-card p { font-size: 15px; line-height: 1.6; margin: 0; }



/* ---------- Client Qwl carousel ---------- */

.push-center
{
	display: flex;
	justify-content: center;	
}

.clients-carousel
{
	margin-top: 50px;
}

.clients .owl-item {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0 20px;
}

.clients .content h3 {
	font-weight: 700;
	font-size: 34px;
	margin-bottom: 30px;
}

.clients .owl-item img {
	width: 80%;
	opacity: 0.8;
	transition: 0.3s;
}

.clients .owl-item img:hover {
	opacity: 1;
}

/* ---------- Before / After slider ---------- */
.ba
{
	--pos: 50%;
	position: relative;
	max-width: 900px;
	margin: 10px auto 0 auto;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 12px;
	box-shadow: 0 20px 60px rgba(0,0,0,.6);
	border: 1px solid #101010;
	background: #000;
	user-select: none;
	-webkit-user-select: none;
}

.ba img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }

.ba-handle
{
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--pos);
	width: 3px;
	margin-left: -1px;
	background: var(--mf-green);
	box-shadow: 0 0 12px rgba(0,204,0,.8);
	pointer-events: none;
}

.ba-handle:after
{
	content: "\2039  \203A";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 46px;
	height: 46px;
	line-height: 42px;
	text-align: center;
	border-radius: 50%;
	background: var(--mf-green);
	color: #000;
	font-size: 22px;
	font-weight: 700;
	white-space: nowrap;
	letter-spacing: -2px;
	box-shadow: 0 4px 14px rgba(0,0,0,.6);
}

.ba-range
{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: ew-resize;
	-webkit-appearance: none;
	appearance: none;
}

.ba-range:focus-visible ~ .ba-handle:after { outline: 3px solid #fff; }

.ba-label
{
	position: absolute;
	top: 14px;
	padding: 4px 14px;
	border-radius: 20px;
	background: rgba(0,0,0,.7);
	color: #fff;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 1px;
	pointer-events: none;
	transition: opacity .25s ease;
}

.ba-label--before { left: 14px; background-color: var(--mf-red);   }
.ba-label--after { right: 14px; background-color: var(--mf-green); }
.ba-label.is-hidden { opacity: 0; }
.svc-caption { text-align: center; color: var(--mf-muted); font-size: 14px; margin-top: 14px; }

/* ---------- Steps ---------- */
.svc-steps { list-style: none; counter-reset: svc; margin: 20px auto 0 auto; padding: 0; max-width: 820px; }

.svc-steps li
{
	counter-increment: svc;
	position: relative;
	padding: 0 0 28px 74px;
	min-height: 56px;
}

.svc-steps li:before
{
	content: counter(svc);
	position: absolute;
	left: 0;
	top: 0;
	width: 52px;
	height: 52px;
	line-height: 48px;
	text-align: center;
	border-radius: 50%;
	background: var(--mf-dark);
	border: 2px solid var(--mf-green);
	color: var(--mf-green);
	font-family: 'Orbitron', sans-serif;
	font-size: 20px;
}

.svc-steps li:after
{
	content: "";
	position: absolute;
	left: 25px;
	top: 56px;
	bottom: 4px;
	width: 2px;
	background: linear-gradient(var(--mf-green), rgba(0,204,0,0));
}

.svc-steps li:last-child:after { display: none; }
.svc-steps h3 { color: #fff; margin: 4px 0 6px 0; font-size: 24px; }
.svc-steps p { margin: 0; font-size: 16px; line-height: 1.6; }

/* ---------- Split comparison ---------- */
.svc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 10px; }
.svc-split > div { background: var(--mf-panel); border-radius: 10px; padding: 24px; box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.svc-split h3 { margin: 0 0 14px 0; font-size: 26px; }
.svc-split .svc-yes h3 { color: var(--mf-green); }
.svc-split .svc-maybe h3 { color: var(--mf-blue); }
.svc-split ul { list-style: none; margin: 0; padding: 0; }
.svc-split li { padding: 7px 0 7px 12px; font-size: 16px; border-left: 3px solid #0074ff; margin: 8px 0; }
.svc-split .svc-yes li { border-left-color: var(--mf-green); }
.svc-note { text-align: center; margin-top: 18px; font-size: 16px; color: var(--mf-muted); }

/* ---------- Dated vs modern comparison (website refresh section) ---------- */
.svc-vs { margin: 45px auto 0 auto; }
.svc-vs h3 { color: #fff; font-size: 32px; text-align: center; margin: 0 0 8px 0; }
.svc-vs-intro { text-align: center; color: var(--mf-muted); font-size: 17px; margin: 0 auto 25px auto; max-width: 660px; }

.svc-vs-head,
.svc-vs-row
{
	display: grid;
	grid-template-columns: 170px 1fr 1fr;
	gap: 14px;
	align-items: stretch;
}

.svc-vs-head { margin-bottom: 8px; font-family: 'Dosis', sans-serif; font-size: 18px; text-transform: uppercase; letter-spacing: 1px; }
.svc-vs-head-bad { color: #e0564a; padding-left: 16px; }
.svc-vs-head-good { color: var(--mf-green); padding-left: 16px; }

.svc-vs-row { margin-bottom: 12px; }
.svc-vs-row p { margin: 0; }

.svc-vs-aspect
{
	display: flex;
	align-items: center;
	font-family: 'Dosis', sans-serif;
	font-size: 22px;
	color: #fff;
}

.svc-vs-bad,
.svc-vs-good
{
	background: var(--mf-panel);
	border-radius: 8px;
	padding: 14px 16px 14px 44px;
	position: relative;
	font-size: 15px;
	line-height: 1.55;
	border-left: 2px solid;
}

.svc-vs-bad { border-left-color: #c0392b; }
.svc-vs-good { border-left-color: var(--mf-green); }
.svc-vs-bad .fa,
.svc-vs-good .fa { position: absolute; left: 14px; top: 15px; font-size: 18px; }
.svc-vs-bad .fa { color: #e0564a; }
.svc-vs-good .fa { color: var(--mf-green); }
.svc-vs-cta { text-align: center; margin-top: 28px; }

@media (max-width: 767px)
{
	.svc-vs h3 { font-size: 26px; }
	.svc-vs-head { display: none; }
	.svc-vs-row { grid-template-columns: 1fr; gap: 8px; margin-bottom: 22px; }
	.svc-vs-aspect { font-size: 24px; color: var(--mf-green); }
}

/* ---------- Chips (tech) ---------- */
.svc-tags { list-style: none; padding: 0; margin: 10px 0 0 0; align-items: flex-start; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.svc-tags li { background: var(--mf-dark); border: 1px solid #000; border-radius: 8px; padding: 10px 20px; font-family: 'Orbitron', sans-serif; font-size: 14px; color: var(--mf-green); transition: all .25s; }
.svc-tags li:hover { background: var(--mf-green); color: #000; transform: translateY(-3px); }

/* ---------- Network diagram (CSS only) ---------- */
.svc-net { display: flex; flex-direction: column; align-items: center; gap: 0; margin-top: 15px; }
.svc-net-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; position: relative; }
.svc-node { width: 130px; background: var(--mf-panel); border-radius: 10px; padding: 14px 8px; text-align: center; box-shadow: 0 8px 20px rgba(0,0,0,.25); border-top: 3px solid var(--mf-blue); }
.svc-node .fa { display: block; font-size: 34px; color: var(--mf-green); margin-bottom: 6px; }
.svc-node span { font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: #ddd; }
.svc-node--core { border-top-color: var(--mf-green); }
.svc-link { width: 3px; height: 32px; background: linear-gradient(var(--mf-green), var(--mf-blue)); position: relative; }
.svc-link:after { content: ""; position: absolute; left: -3px; top: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--mf-green); animation: svcpulse 2s linear infinite; }
@keyframes svcpulse { 0% { top: 0; opacity: 1; } 100% { top: 26px; opacity: 0; } }

/* ---------- Pricing (re-uses .services-grid / .service-card from main.css) ---------- */
.svc-pricing .service-card { min-height: 380px; }
.svc-pricing .service-card .price { font-size: 2rem; }

/* ---------- Resource buttons / showcase ---------- */
.svc-showcase { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 10px; }
.svc-showcase a { display: block; background: var(--mf-panel); border-radius: 10px; padding: 24px; border-left: 4px solid var(--mf-blue); transition: all .25s; }
.svc-showcase a:hover { transform: translateY(-6px); border-left-color: var(--mf-green); }
.svc-showcase h3 { color: var(--mf-green); margin: 0 0 8px 0; font-size: 26px; }
.svc-showcase p { margin: 0 0 10px 0; color: #c1c1c1; font-size: 15px; }
.svc-showcase .svc-more { color: var(--mf-blue); font-size: 14px; text-transform: uppercase; }

/* ---------- Areas ---------- */
.svc-areas { text-align: center; max-width: 800px; margin: 0 auto; }
.svc-areas p { font-size: 17px; line-height: 1.7; }
.svc-areas .svc-tags li { font-family: 'Dosis', sans-serif; font-size: 20px; }

/* ---------- FAQ (native details, no JS) ---------- */
.svc-faq { max-width: 860px; margin: 10px auto 0 auto; }
.svc-faq details { background: var(--mf-panel); border-radius: 10px; margin-bottom: 12px; box-shadow: 0 6px 16px rgba(0,0,0,.2); overflow: hidden; }
.svc-faq summary { list-style: none; cursor: pointer; padding: 16px 54px 16px 20px; position: relative; }
.svc-faq summary::-webkit-details-marker { display: none; }
.svc-faq summary h3 { margin: 0; font-size: 22px; color: #fff; }
.svc-faq summary:after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 30px; color: var(--mf-green); transition: transform .25s; }


/* Icon: + turns into x when open */
.svc-faq summary:after
{
	content: "+";
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 30px;
	color: var(--mf-green);
	transition: transform .35s ease;
}

.svc-faq details[open] summary:after { transform: translateY(-50%) rotate(45deg); }

/* Layer 1: browsers with no ::details-content support. Opening only: answer fades and slides in. */
@keyframes svcFaqIn
{
	from { opacity: 0; transform: translateY(-12px); }
	to { opacity: 1; transform: translateY(0); }
}

@supports not selector(::details-content)
{
	.svc-faq details[open] > p { animation: svcFaqIn .35s ease; }
}

/* Layer 2: ::details-content supported. Slides open AND closed using a max-height cap. */
@supports selector(::details-content)
{
	.svc-faq details::details-content
	{
		max-height: 0;
		opacity: 0;
		overflow: hidden;
		transition: max-height .6s ease, opacity .3s ease, content-visibility .6s allow-discrete;
	}

	.svc-faq details[open]::details-content
	{
		max-height: 16em;
		opacity: 1;
	}
}

/* Layer 3: interpolate-size supported. Exact, smooth slide to the real height. */
@supports (interpolate-size: allow-keywords)
{
	.svc-faq { interpolate-size: allow-keywords; }

	.svc-faq details::details-content
	{
		max-height: none;
		block-size: 0;
		transition: block-size .4s ease, opacity .3s ease, content-visibility .4s allow-discrete;
	}

	.svc-faq details[open]::details-content { block-size: auto; }
}

@media (prefers-reduced-motion: reduce)
{
	.svc-faq details::details-content,
	.svc-faq summary:after,
	.svc-faq details[open] > p { transition: none; animation: none; }
}

.svc-faq details[open] summary h3 { color: var(--mf-green); }
.svc-faq details p { padding: 0 20px 18px 20px; margin: 0; font-size: 16px; line-height: 1.7; }

/* ---------- Related services ---------- */
.svc-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 10px; }
.svc-related a { display: block; background: var(--mf-panel); border-radius: 10px; padding: 22px; text-align: center; transition: all .25s; }
.svc-related a:hover { transform: translateY(-6px); background: #3a3a3a; }
.svc-related .fa { font-size: 34px; color: var(--mf-green); margin-bottom: 8px; display: block; }
.svc-related h3 { color: #fff; margin: 0 0 6px 0; font-size: 24px; }
.svc-related p { margin: 0; font-size: 15px; color: #c1c1c1; }

/* ---------- Final CTA band ---------- */
.svc-cta { text-align: center; padding: 70px 0; border-top: 1px solid var(--mf-green); }
.svc-cta h2 { color: #fff; font-size: 40px; }
.svc-cta p { max-width: 640px; margin: 0 auto 24px auto; font-size: 18px; }
.svc-hours { margin-top: 18px; font-size: 14px; color: var(--mf-text); }

/* ---------- Mobile contact bar ---------- */
.svc-mobilebar { display: none; }

@media (max-width: 991px)
{
	.svc-hero .heading h1 { font-size: 42px; }
}

@media (max-width: 767px)
{
	.svc-hero { padding: 110px 0 50px 0; background-attachment: scroll; }
	.svc-hero .heading h1 { font-size: 34px; }
	.svc-hero .svc-sub { font-size: 17px; }
	.svc-section { padding: 50px 0 30px 0; }
	.svc-section .heading h2, .svc-cta h2 { font-size: 30px; }
	.svc-split { grid-template-columns: 1fr; }
	.svc-steps li { padding-left: 64px; }
	.svc-node { width: 105px; }
	.svc-glance { margin-top: 25px; }

	.svc-mobilebar
	{
		display: flex;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 900;
		background: rgba(16,16,16,.96);
		border-top: 2px solid var(--mf-green);
	}

	.svc-mobilebar a { flex: 1; text-align: center; padding: 11px 4px; color: #fff; font-size: 12px; text-transform: uppercase; }
	.svc-mobilebar a .fa { display: block; font-size: 20px; color: var(--mf-green); }
	body.svc-page { padding-bottom: 62px; }
}

@media (prefers-reduced-motion: reduce)
{
	.svc-link:after { animation: none; }
	.svc-card, .svc-showcase a, .svc-related a, .svc-tags li { transition: none; }
}
