/*
	Service Page Styles - Miller Tech Ally LLC
	Components: Trust Box, Service Grid, Process Steps, Conversion Zone
	Used by: service-template.html and all service pages (home-office, senior-support, general-repairs)
*/

/* Trust Box - "The Miller Tech Ally Promise" */
.trust-box {
	border-left: 4px solid #6b4d9f;
	background: #ecf1f1;
	padding: 1.5em 2em;
	font-size: 1.05em;
	line-height: 1.7;
	color: #444;
}

.trust-box h3 {
	color: #6b4d9f;
	font-weight: 600;
	font-size: 1.25em;
	margin: 0 0 1em 0;
	padding: 0;
}

.trust-box ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.trust-box ul li {
	position: relative;
	padding-left: 1.5em;
	margin-bottom: 1em;
}

.trust-box ul li:last-child {
	margin-bottom: 0;
}

.trust-box ul li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: #6b4d9f;
	font-weight: 600;
}

/* Service Layout: Trust Box at top, then main content */
.service-main {
	text-align: left;
}

/* Trust Box at top - full width, room to breathe */
.trust-box-top {
	margin-bottom: 2.5em;
	max-width: 100%;
}

/* Service Grid */
.service-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5em;
	margin-top: 2em;
}

.service-card {
	background: #fff;
	padding: 1.5em;
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	height: 100%;
	transition: transform 0.3s;
	text-align: center;
}

.service-card:hover {
	transform: translateY(-5px);
}

.service-card-icon {
	display: block;
	font-size: 2em;
	color: #6b4d9f;
	margin-bottom: 0.75em;
}

.service-card h3 {
	margin: 0 0 0.5em 0;
	font-size: 1.2em;
}

.service-card p {
	margin: 0;
	font-size: 0.95em;
	line-height: 1.6;
	color: #555;
}

/* Process Steps */
.process-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2em;
	margin-top: 2em;
}

.process-step {
	text-align: center;
}

.process-step-number {
	width: 3em;
	height: 3em;
	line-height: 3em;
	border-radius: 50%;
	background: #6b4d9f;
	color: #fff;
	font-weight: 600;
	font-size: 1.25em;
	margin: 0 auto 1em auto;
	text-align: center;
}

.process-step h3 {
	margin: 0 0 0.5em 0;
	font-size: 1.1em;
}

.process-step p {
	margin: 0;
	font-size: 1em;
	line-height: 1.7;
	color: #555;
}

/* Conversion Zone */
.conversion-zone {
	background: #6b4d9f;
	color: #fff;
	text-align: center;
	padding: 3em 2em;
}

.conversion-zone header h2 {
	color: #fff !important;
	margin: 0 0 0.5em 0;
}

.conversion-zone header p {
	color: rgba(255, 255, 255, 0.9);
	margin: 0 0 1.5em 0;
	font-size: 1.1em;
	line-height: 1.6;
}

.conversion-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1em;
	margin-bottom: 2em;
}

.conversion-zone .button,
.conversion-zone input[type="submit"] {
	background: #fff !important;
	color: #6b4d9f !important;
	border: 2px solid #fff;
}

.conversion-zone .button:hover,
.conversion-zone input[type="submit"]:hover {
	background: rgba(255, 255, 255, 0.9) !important;
	color: #6b4d9f !important;
}

.conversion-btn-call {
	background: rgba(255, 255, 255, 0.2) !important;
	color: #fff !important;
	border: 2px solid #fff !important;
}

.conversion-btn-call:hover {
	background: #fff !important;
	color: #6b4d9f !important;
}

.conversion-form {
	max-width: 600px;
	margin: 0 auto;
}

.conversion-form input,
.conversion-form textarea {
	background: rgba(255, 255, 255, 0.95) !important;
	color: #000 !important;
}

.conversion-form input::placeholder,
.conversion-form textarea::placeholder {
	color: #666;
}

.conversion-form input:focus,
.conversion-form textarea:focus {
	box-shadow: 0 0 0 2px #fff;
}

/* Service Content Section */
.service-content .section-intro {
	max-width: 90ch;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	line-height: 1.7;
	font-size: 1.05em;
	margin-bottom: 0;
}

.service-content .container {
	text-align: left;
}

/* Side padding for service page sections - more breathing room on desktop */
section.service-hero .container,
section.service-content .container,
section.conversion-zone .container {
	padding-left: 4em;
	padding-right: 4em;
}

.service-content header {
	text-align: center;
	margin: 0 0 1em 0;
}

.service-main header h2 {
	font-size: 2.5em;
}

/* Hero dual CTAs */
.hero-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
	justify-content: center;
}

.hero-buttons .button-secondary {
	background: rgba(255, 255, 255, 0.2) !important;
	color: #fff !important;
	border: 2px solid #fff;
}

.hero-buttons .button-secondary:hover {
	background: #fff !important;
	color: #6b4d9f !important;
}

/* Service category headers */
.service-category {
	margin-top: 2em;
	margin-bottom: 0.75em;
	font-size: 1.15em;
	color: #6b4d9f;
}

.service-category:first-of-type {
	margin-top: 0;
}

/* Responsive */
@media screen and (max-width: 960px) {
	section.service-hero .container,
	section.service-content .container,
	section.conversion-zone .container {
		padding-left: 2.5em;
		padding-right: 2.5em;
	}

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

	.process-steps {
		grid-template-columns: 1fr;
		gap: 2.5em;
	}
}

@media screen and (max-width: 736px) {
	section.service-hero .container,
	section.service-content .container,
	section.conversion-zone .container {
		padding-left: 1em;
		padding-right: 1em;
	}

	.service-grid {
		grid-template-columns: 1fr;
	}

	.conversion-buttons {
		flex-direction: column;
	}

	.conversion-buttons .button {
		width: 100%;
		text-align: center;
	}

	.hero-buttons {
		flex-direction: column;
	}

	.hero-buttons .button {
		width: 100%;
		text-align: center;
	}
}
