/* Page 3 (Services) Specific Styles */

/* Services Hero */
.services-hero {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	padding: 6rem 0;
	text-align: center;
	color: white;
}

.services-hero h1 {
	font-size: 3.5rem;
	margin-bottom: 1.5rem;
	color: white;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.services-hero p {
	font-size: 1.3rem;
	max-width: 900px;
	margin: 0 auto 3rem;
	color: rgba(255, 255, 255, 0.9);
}

.services-hero-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 2.5rem;
	margin-top: 3rem;
}

.services-hero-grid img {
	border-radius: 20px;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
	transition: all 0.4s ease;
}

.services-hero-grid img:hover {
	transform: scale(1.05) translateY(-10px);
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Design Consultation */
.design-consultation {
	padding: 5rem 0;
	background: white;
}

.consultation-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.consultation-text h2 {
	margin-bottom: 1.5rem;
	color: #2c3e50;
}

.consultation-text p {
	margin-bottom: 1.5rem;
	font-size: 1.1rem;
	line-height: 1.7;
	color: #555;
}

.consultation-images {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
}

.consultation-images img:first-child {
	grid-column: 1 / -1;
	border-radius: 15px;
}

.consultation-images img {
	border-radius: 12px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.consultation-images img:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Custom Manufacturing */
.custom-manufacturing {
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	padding: 5rem 0;
}

.custom-manufacturing h2 {
	text-align: center;
	margin-bottom: 1rem;
}

.custom-manufacturing > p {
	text-align: center;
	max-width: 900px;
	margin: 0 auto 3rem;
	font-size: 1.2rem;
	color: #666;
}

.manufacturing-showcase {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.manufacturing-showcase img {
	border-radius: 15px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	aspect-ratio: 4/3;
	object-fit: cover;
}

.manufacturing-showcase img:hover {
	transform: translateY(-8px) scale(1.02);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Professional Installation */
.professional-installation {
	padding: 5rem 0;
}

.professional-installation h2 {
	text-align: center;
	margin-bottom: 1rem;
}

.professional-installation > p {
	text-align: center;
	max-width: 900px;
	margin: 0 auto 3rem;
	font-size: 1.2rem;
	color: #666;
}

.installation-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 2.5rem;
}

.installation-service {
	background: white;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	transition: all 0.4s ease;
	border: 3px solid transparent;
}

.installation-service:hover {
	transform: translateY(-12px);
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
	border-color: #667eea;
}

.installation-service img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	border-radius: 0;
}

.installation-service h3 {
	padding: 1.5rem 1.5rem 0.5rem;
	color: #667eea;
	font-size: 1.4rem;
}

.installation-service p {
	padding: 0 1.5rem 1.5rem;
	color: #666;
	margin: 0;
	line-height: 1.6;
}

/* Maintenance & Repair */
.maintenance-repair {
	background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
	padding: 5rem 0;
}

.maintenance-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.maintenance-text h2 {
	margin-bottom: 1.5rem;
	color: #2c3e50;
}

.maintenance-text p {
	margin-bottom: 1.5rem;
	font-size: 1.1rem;
	line-height: 1.7;
	color: #555;
}

.maintenance-images {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
}

.maintenance-images img:last-child {
	grid-column: 1 / -1;
}

.maintenance-images img {
	border-radius: 12px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Commercial Services */
.commercial-services {
	padding: 5rem 0;
}

.commercial-services h2 {
	text-align: center;
	margin-bottom: 1rem;
}

.commercial-services > p {
	text-align: center;
	max-width: 900px;
	margin: 0 auto 3rem;
	font-size: 1.2rem;
	color: #666;
}

.commercial-services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 2.5rem;
}

.commercial-service {
	background: white;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	transition: all 0.4s ease;
	position: relative;
}

.commercial-service:hover {
	transform: translateY(-10px);
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.commercial-service::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(135deg, #667eea, #764ba2);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.commercial-service:hover::before {
	opacity: 1;
}

.commercial-service img {
	width: 100%;
	height: 250px;
	object-fit: cover;
	border-radius: 0;
}

.commercial-service h3 {
	padding: 1.5rem 1.5rem 0.5rem;
	color: #667eea;
	font-size: 1.4rem;
}

.commercial-service p {
	padding: 0 1.5rem 1.5rem;
	color: #666;
	margin: 0;
}

/* Smart Home Integration */
.smart-home-integration {
	background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
	padding: 5rem 0;
}

.smart-home-integration h2 {
	text-align: center;
	margin-bottom: 1rem;
}

.smart-home-integration > p {
	text-align: center;
	max-width: 900px;
	margin: 0 auto 3rem;
	font-size: 1.2rem;
	color: #666;
}

.smart-integration-showcase {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.smart-integration-showcase img {
	border-radius: 15px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.smart-integration-showcase img:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Project Management */
.project-management {
	padding: 5rem 0;
}

.project-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.project-text h2 {
	margin-bottom: 1.5rem;
	color: #2c3e50;
}

.project-text p {
	margin-bottom: 1.5rem;
	font-size: 1.1rem;
	line-height: 1.7;
}

.project-images {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
}

.project-images img {
	border-radius: 12px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
	aspect-ratio: 4/3;
	object-fit: cover;
}

/* Specialty Services */
.specialty-services {
	background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%);
	padding: 5rem 0;
}

.specialty-services h2 {
	text-align: center;
	margin-bottom: 1rem;
}

.specialty-services > p {
	text-align: center;
	max-width: 900px;
	margin: 0 auto 3rem;
	font-size: 1.2rem;
	color: #666;
}

.specialty-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 2.5rem;
}

.specialty-service {
	background: white;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	transition: all 0.4s ease;
	position: relative;
}

.specialty-service:hover {
	transform: translateY(-10px);
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.specialty-service::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(
		135deg,
		rgba(210, 153, 194, 0.1),
		rgba(254, 249, 215, 0.1)
	);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.specialty-service:hover::after {
	opacity: 1;
}

.specialty-service img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-radius: 0;
}

.specialty-service h3 {
	padding: 1.5rem 1.5rem 0.5rem;
	color: #d299c2;
	position: relative;
	z-index: 1;
}

.specialty-service p {
	padding: 0 1.5rem 1.5rem;
	color: #666;
	margin: 0;
	position: relative;
	z-index: 1;
}

/* Quality Assurance */
.quality-assurance {
	padding: 5rem 0;
}

.quality-assurance h2 {
	text-align: center;
	margin-bottom: 1rem;
}

.quality-assurance > p {
	text-align: center;
	max-width: 900px;
	margin: 0 auto 3rem;
	font-size: 1.2rem;
	color: #666;
}

.quality-showcase {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.quality-showcase img {
	border-radius: 12px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	aspect-ratio: 4/3;
	object-fit: cover;
}

.quality-showcase img:hover {
	transform: scale(1.05);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Training & Education */
.training-education {
	background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
	padding: 5rem 0;
}

.training-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.training-text h2 {
	margin-bottom: 1.5rem;
	color: #2c3e50;
}

.training-text p {
	margin-bottom: 1.5rem;
	font-size: 1.1rem;
	line-height: 1.7;
}

.training-images {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
}

.training-images img {
	border-radius: 12px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Emergency Services */
.emergency-services {
	padding: 5rem 0;
}

.emergency-services h2 {
	text-align: center;
	margin-bottom: 1rem;
}

.emergency-services > p {
	text-align: center;
	max-width: 900px;
	margin: 0 auto 3rem;
	font-size: 1.2rem;
	color: #666;
}

.emergency-showcase {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.emergency-showcase img {
	border-radius: 15px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

/* Consultation Services */
.consultation-services {
	background: linear-gradient(135deg, #a8caba 0%, #5d4e75 100%);
	padding: 5rem 0;
	color: white;
}

.consultation-services h2 {
	text-align: center;
	margin-bottom: 1rem;
	color: white;
}

.consultation-services > p {
	text-align: center;
	max-width: 900px;
	margin: 0 auto 3rem;
	font-size: 1.2rem;
	color: rgba(255, 255, 255, 0.9);
}

.consultation-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 2.5rem;
}

.consultation-service {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
	transition: all 0.4s ease;
	backdrop-filter: blur(10px);
}

.consultation-service:hover {
	transform: translateY(-10px);
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
	background: rgba(255, 255, 255, 0.15);
}

.consultation-service img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-radius: 0;
}

.consultation-service h3 {
	padding: 1.5rem 1.5rem 0.5rem;
	color: white;
}

.consultation-service p {
	padding: 0 1.5rem 1.5rem;
	color: rgba(255, 255, 255, 0.8);
	margin: 0;
}

/* Sustainability Services */
.sustainability-services {
	padding: 5rem 0;
}

.sustainability-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.sustainability-text h2 {
	margin-bottom: 1.5rem;
	color: #2c3e50;
}

.sustainability-text p {
	margin-bottom: 1.5rem;
	font-size: 1.1rem;
	line-height: 1.7;
}

.sustainability-images {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
}

.sustainability-images img {
	border-radius: 12px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Technology Services */
.technology-services {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	padding: 5rem 0;
	color: white;
}

.technology-services h2 {
	text-align: center;
	margin-bottom: 1rem;
	color: white;
}

.technology-services > p {
	text-align: center;
	max-width: 900px;
	margin: 0 auto 3rem;
	font-size: 1.2rem;
	color: rgba(255, 255, 255, 0.9);
}

.technology-showcase {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.technology-showcase img {
	border-radius: 15px;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
	transition: all 0.3s ease;
}

.technology-showcase img:hover {
	transform: translateY(-5px);
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Customer Support */
.customer-support {
	padding: 5rem 0;
}

.customer-support h2 {
	text-align: center;
	margin-bottom: 1rem;
}

.customer-support > p {
	text-align: center;
	max-width: 900px;
	margin: 0 auto 3rem;
	font-size: 1.2rem;
	color: #666;
}

.support-showcase {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.support-showcase img {
	border-radius: 15px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.support-showcase img:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Responsive Design for Page 3 */
@media (max-width: 768px) {
	.services-hero h1 {
		font-size: 2.5rem;
	}

	.services-hero-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.consultation-content,
	.maintenance-content,
	.project-content,
	.training-content,
	.sustainability-content {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.consultation-images,
	.maintenance-images,
	.project-images,
	.training-images,
	.sustainability-images {
		grid-template-columns: 1fr;
	}

	.installation-grid,
	.commercial-services-grid,
	.specialty-grid,
	.consultation-grid {
		grid-template-columns: 1fr;
	}

	.manufacturing-showcase,
	.smart-integration-showcase,
	.quality-showcase,
	.emergency-showcase,
	.technology-showcase,
	.support-showcase {
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	}
}

@media (max-width: 480px) {
	.services-hero h1 {
		font-size: 2rem;
	}

	.services-hero {
		padding: 4rem 0;
	}

	.manufacturing-showcase,
	.smart-integration-showcase,
	.quality-showcase,
	.emergency-showcase,
	.technology-showcase,
	.support-showcase {
		grid-template-columns: 1fr;
	}
}
/* ===============================
   Page 3 — Aftercare & Maintenance
   =============================== */

.aftercare-guide {
	--accent: #2f7d6d;
	--ink: #1f2a37;
	--muted: #5b6472;
	--panel: #ffffff;

	padding-block: clamp(36px, 6vw, 84px);
	background: linear-gradient(
		180deg,
		rgba(47, 125, 109, 0.04),
		transparent 30%
	);
	border-top: 1px solid rgba(31, 42, 55, 0.06);
	border-bottom: 1px solid rgba(31, 42, 55, 0.06);
	color: var(--ink);
}

.aftercare-guide .container {
	max-width: 980px;
}

/* Headings & text */
.aftercare-guide h2 {
	font-family: 'Playfair Display', serif;
	font-weight: 700;
	font-size: clamp(26px, 4vw, 38px);
	line-height: 1.2;
	margin: 0 0 12px;
}

.aftercare-guide h3 {
	font-weight: 700;
	font-size: clamp(18px, 2.4vw, 22px);
	line-height: 1.3;
	margin: clamp(18px, 3vw, 28px) 0 10px;
}

.aftercare-guide p {
	margin: 0 0 16px;
	color: var(--muted);
	font-size: clamp(16px, 1.6vw, 18px);
	line-height: 1.8;
	text-wrap: pretty;
	hyphens: auto;
}

/* Lists */
.aftercare-guide .bulleted {
	margin: 8px 0 18px;
	padding-left: 1.2em;
	color: var(--ink);
}
.aftercare-guide .bulleted li {
	margin: 8px 0;
	line-height: 1.75;
}
.aftercare-guide .bulleted li::marker {
	color: var(--accent);
}

.aftercare-guide .numbered {
	margin: 8px 0 20px;
	padding-left: 1.25em;
	color: var(--ink);
}
.aftercare-guide .numbered li {
	margin: 8px 0;
	line-height: 1.75;
}
.aftercare-guide .numbered li::marker {
	font-weight: 700;
	color: var(--accent);
}

/* Definition list as two-column glossary on wide screens */
.aftercare-guide .defs {
	display: grid;
	grid-template-columns: minmax(160px, 240px) 1fr;
	gap: 8px 24px;
	margin: 8px 0 22px;
}
.aftercare-guide .defs dt {
	font-weight: 600;
	color: var(--accent);
}
.aftercare-guide .defs dd {
	margin: 0 0 8px;
	color: var(--muted);
	line-height: 1.75;
}

/* Note / Aside */
.aftercare-guide .pro-tip {
	margin: 12px 0 18px;
	padding: 14px 16px;
	border-radius: 12px;
	background: rgba(47, 125, 109, 0.06);
	border: 1px solid rgba(31, 42, 55, 0.1);
	color: var(--ink);
}

/* Collapsible policy note (no JS) */
.aftercare-guide .policy-note {
	margin: 8px 0 18px;
	border: 1px solid rgba(31, 42, 55, 0.12);
	border-radius: 12px;
	background: var(--panel);
	overflow: hidden;
}
.aftercare-guide .policy-note > summary {
	list-style: none;
	padding: 14px 16px;
	cursor: pointer;
	font-weight: 600;
	position: relative;
	user-select: none;
}
.aftercare-guide .policy-note > summary::-webkit-details-marker {
	display: none;
}
.aftercare-guide .policy-note > summary::before {
	content: '+';
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translate(-150%, -50%);
	font-weight: 700;
	color: var(--accent);
	transition: transform 0.2s ease;
}
.aftercare-guide .policy-note[open] > summary::before {
	content: '–';
}
.aftercare-guide .policy-note .bulleted {
	padding: 0 16px 16px 32px;
}

/* Inline CTA inside paragraph */
.aftercare-guide .inline-cta {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}
.aftercare-guide .inline-cta:hover {
	text-decoration-thickness: 2px;
}

/* Closing paragraph emphasis */
.aftercare-guide .closing {
	margin-top: 8px;
	color: var(--ink);
}

/* Optional appearance animation:
   видима по умолчанию (чтобы не пропадала),
   а если ваш скрипт добавляет .animated / .is-visible —
   тогда применяем плавное появление. */
.aftercare-guide.animate-on-scroll {
	opacity: 1;
	transform: none;
}
.aftercare-guide.animate-on-scroll.animated,
.aftercare-guide.animate-on-scroll.is-visible {
	animation: ag-fadeUp 0.6s ease both;
}
@keyframes ag-fadeUp {
	from {
		opacity: 0.001;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* Responsive */
@media (max-width: 860px) {
	.aftercare-guide .defs {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.aftercare-guide.animate-on-scroll.animated,
	.aftercare-guide.animate-on-scroll.is-visible {
		animation: none;
	}
}
