/* =========================================================
   RESET & BASE
========================================================= */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: Montserrat, sans-serif;
}

:root {
	--blue: #2d9cdb;
	--pink: #ff2d8c;
	--yellow: #ffd600;
	--black: #111111;
}

html {
	scroll-behavior: smooth;
	scrollbar-gutter: stable;
}

body {
	color: #111;
	background: #f8fafc;
	overflow-x: hidden;
}

img {
	max-width: 100%;
	display: block;
}

section,
footer {
	scroll-margin-top: 100px;
}

/* =========================================================
   SCROLL-REVEAL ANIMATION (right -> left, bottom -> up)
   Elements that also carry their own resting transform
   (e.g. .hero-image) expose it via --rest instead of the
   `transform` property, so it never collides with this rule.
========================================================= */
[data-aos] {
	--rest: none;
	opacity: 0;
	transform: translate(60px, 40px) var(--rest);
	transition:
		opacity 0.7s ease,
		transform 0.7s ease;
	transition-delay: var(--aos-delay, 0s);
	will-change: transform, opacity;
}

[data-aos].aos-animate {
	opacity: 1;
	transform: var(--rest);
}

@media (prefers-reduced-motion: reduce) {
	[data-aos] {
		opacity: 1;
		transform: var(--rest);
		transition: none;
	}
}

/* =========================================================
   LAYOUT UTILITIES
========================================================= */
.container {
	max-width: 1200px;
	margin: auto;
	padding: 20px;
}

.btn {
	text-decoration: none;
	display: inline-block;
	color: #111;
}

.btn.primary {
	background: var(--yellow);
	border: none;
	padding: 11px 22px;
	border-radius: 12px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 6px 14px rgba(255, 214, 0, 0.35);
	transition:
		transform 0.3s,
		box-shadow 0.3s;
}

.btn.primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn.outline {
	background: transparent;
	border: 2px solid var(--blue);
	color: var(--blue);
	padding: 9px 20px;
	transition:
		background 0.3s,
		color 0.3s,
		transform 0.3s;
}

.btn.outline:hover {
	background: var(--blue);
	color: #fff;
	transform: translateY(-2px);
}

/* PAGE HEADER (gallery / service subpages) */
.breadcrumb {
	font-size: 13px;
	color: #6b7280;
	margin-bottom: 14px;
}

.breadcrumb a {
	color: var(--blue);
	text-decoration: none;
}

.breadcrumb a:hover {
	text-decoration: underline;
}

.page-header {
	padding: 60px 0 20px;
	text-align: center;
}

.page-header h1 {
	font-size: 40px;
	font-weight: 700;
}

.page-header p {
	max-width: 600px;
	margin: 14px auto 0;
	color: #6b7280;
	font-size: 15px;
}

.socials {
	display: flex;
	gap: 10px;
}

.socials img {
	width: 34px;
	height: 34px;
	padding: 7px;
	border-radius: 10px;
	background: #f3f4f6;
	transition:
		background 0.3s,
		transform 0.3s;
}

.socials img:hover {
	background: #eaf6ff;
	transform: translateY(-3px);
}

/* =========================================================
   HEADER
========================================================= */
.header {
	--z-overlay: 10;
	--z-nav: 20;
	--z-burger: 30;

	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 4px 24px rgba(17, 24, 39, 0.06);
	border-bottom: 1px solid rgba(17, 24, 39, 0.05);
	position: sticky;
	top: 0;
	z-index: 100;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	position: relative;
}

/* LOGO */
.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 21px;
	letter-spacing: 0.2px;
	flex-shrink: 0;
	color: inherit;
	text-decoration: none;
}

.logo img {
	width: 42px;
	height: 42px;
	object-fit: contain;
}

/* NAV */
.nav {
	display: flex;
	align-items: center;
	gap: 34px;
}

.nav a {
	position: relative;
	text-decoration: none;
	color: #111;
	font-weight: 600;
	font-size: 15px;
	padding: 6px 0;
	transition: color 0.3s;
}

.nav a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 2px;
	background: var(--blue);
	border-radius: 2px;
	transition: width 0.3s ease;
}

.nav a:hover {
	color: var(--blue);
}

.nav a:hover::after {
	width: 100%;
}

/* block with socials + CTA duplicated inside the mobile nav panel */
.nav-mobile-extra {
	display: none;
}

/* RIGHT SIDE (desktop) */
.header-right {
	display: flex;
	align-items: center;
	gap: 22px;
	flex-shrink: 0;
}

/* BURGER BUTTON */
.burger {
	display: none;
	position: relative;
	z-index: var(--z-burger);
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 6px;
	width: 42px;
	height: 42px;
	background: transparent;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	flex-shrink: 0;
	transition: background 0.3s;
}

.burger:hover {
	background: rgba(17, 24, 39, 0.05);
}

.burger span {
	display: block;
	width: 24px;
	height: 2px;
	background: #111;
	border-radius: 2px;
	transition:
		transform 0.3s ease,
		opacity 0.3s ease;
}

.burger.active span:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.burger.active span:nth-child(2) {
	opacity: 0;
}

.burger.active span:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* DARK BACKDROP BEHIND THE MOBILE NAV PANEL */
.nav-overlay {
	position: fixed;
	inset: 0;
	background: rgba(5, 7, 10, 0.45);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	z-index: var(--z-overlay);
}

.nav-overlay.active {
	opacity: 1;
	pointer-events: auto;
}

/* =========================================================
   HERO
========================================================= */
.hero {
	padding: 120px 0;
	position: relative;
	overflow: hidden;
	background: linear-gradient(90deg, #ffffff 45%, #eaf6ff 100%);
}

/* shorter variant used by subpages (e.g. service.html) so the
   hero reads as a page header rather than a full landing banner */
.hero.hero-service {
	padding: 70px 0 100px;
}
.hero.hero-service img {
	border-radius: 8px;
}
@media (max-width: 891px) {
	.hero.hero-service {
		padding: 30px 0px 50px;
	}

	.hero.hero-service .hero-inner {
		gap: 8px;
	}
}

.hero-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

.hero-text {
	max-width: 560px;
	z-index: 2;
	flex: 1;
}

.hero-text h1 {
	font-size: 56px;
	font-weight: 700;
	line-height: 1.2;
}

.hero-text span {
	color: var(--blue);
}

.hero-text p {
	margin: 20px 0;
	color: #555;
	font-size: 16px;
}

.badge {
	display: inline-block;
	background: #eaf6ff;
	color: var(--blue);
	padding: 6px 16px;
	border-radius: 20px;
	font-size: 12px;
	margin-bottom: 15px;
}

.buttons {
	display: flex;
	gap: 12px;
	margin-bottom: 25px;
}

/* SERVICE META (key specs strip on service.html) */
.service-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 22px 0;
}

.service-meta-item {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 10px 18px;
	background: #fff;
	border: 1px solid rgba(17, 24, 39, 0.08);
	border-radius: 14px;
	box-shadow: 0 4px 14px rgba(17, 24, 39, 0.04);
}

.service-meta-item span {
	font-size: 11px;
	font-weight: 600;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 0.4px;
}

.service-meta-item strong {
	font-size: 14px;
	color: #111;
}

.features {
	display: flex;
	gap: 30px;
}

.feature {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
}

.feature img {
	width: 28px;
}

/* HERO IMAGE — the design's static offset lives in --rest so it
   never fights with the [data-aos] entrance animation */
.hero-image {
	position: relative;
	z-index: 2;
	flex: 1;
}

.hero-image img {
	width: 1187px;
	max-width: 100% !important;
	max-height: 840px !important;
	filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.15));
	will-change: transform;
}

/* =========================================================
   WHY
========================================================= */
.why {
	margin-top: 100px;
	padding: 60px 0;
	text-align: center;
	background: linear-gradient(180deg, #f5f8fc 0%, #ffffff 100%);
	border-radius: 30px;
}

.why-title {
	text-align: center;
	font-size: 30px;
	font-weight: 700;
}

.why-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
	margin-top: 50px;
}

.why-card {
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(10px);
	padding: 32px 20px;
	border-radius: 20px;
	text-align: center;
	box-shadow:
		0 20px 40px rgba(0, 0, 0, 0.06),
		0 4px 10px rgba(0, 0, 0, 0.04);
	transition:
		transform 0.35s ease,
		box-shadow 0.35s ease;
}

.why-card:hover {
	transform: translateY(-10px) scale(1.02);
}

.why-card h3 {
	font-size: 17px;
	font-weight: 600;
	margin-bottom: 6px;
}

.why-card p {
	font-size: 13px;
	color: #6b7280;
}

/* =========================================================
   ICON (shared by .why-card and .step) + COLOR VARIANTS
========================================================= */
.icon {
	width: 68px;
	height: 68px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 18px;
	position: relative;
	transition: transform 0.3s;
}

.icon::after {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	filter: blur(15px);
	opacity: 0.4;
	z-index: -1;
}

.icon img {
	width: 32px;
	height: 32px;
	object-fit: contain;
}

.blue {
	background: var(--blue);
}
.blue::after {
	background: var(--blue);
}

.pink {
	background: var(--pink);
}
.pink::after {
	background: var(--pink);
}

.yellow {
	background: var(--yellow);
}
.yellow::after {
	background: var(--yellow);
}

.black {
	background: var(--black);
}
.black::after {
	background: #000;
}

/* =========================================================
   SERVICES
========================================================= */
.services {
	margin-top: 60px;
}

.services h2 {
	text-align: center;
	margin-bottom: 30px;
}

.grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.card {
	position: relative;
	display: block;
	background: #fff;
	border-radius: 18px;
	overflow: hidden;
	cursor: pointer;
	height: 200px;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	transition: box-shadow 0.4s;
}

.card img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	transition: transform 0.4s;
	will-change: transform;
}

.overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
	transition: background 0.4s;
}

.card p {
	position: absolute;
	bottom: 15px;
	left: 15px;
	color: #fff;
	font-weight: 600;
	font-size: 16px;
	z-index: 2;
}

.card:hover img {
	transform: scale(1.1);
}

.card:hover .overlay {
	background: rgba(0, 0, 0, 0.5);
}

/* =========================================================
   WORKS / GALLERY
========================================================= */
.works {
	margin-top: 60px;
	text-align: center;
}

.gallery {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 15px;
	margin-top: 50px;
}

.gallery img {
	width: 100%;
	aspect-ratio: 1 / 1;
	display: block;
	object-fit: cover;
	border-radius: 12px;
	will-change: transform;
}

.gallery-3 {
	grid-template-columns: repeat(3, 1fr);
}

.works-actions {
	margin-top: 40px;
}

/* GALLERY LIGHTBOX (gallery.html) */
.gallery-item {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	background: none;
	border: none;
	border-radius: 12px;
	overflow: hidden;
	cursor: pointer;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	transition: box-shadow 0.4s;
}

.gallery-item:hover {
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.gallery-item img {
	transition: transform 0.4s;
}

.gallery-item:hover img {
	transform: scale(1.08);
}

.gallery-item::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0) 55%,
		rgba(0, 0, 0, 0.6) 100%
	);
	opacity: 0;
	transition: opacity 0.4s;
}

.gallery-item:hover::after {
	opacity: 1;
}

.gallery-item-caption {
	position: absolute;
	left: 14px;
	bottom: 12px;
	z-index: 2;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	text-align: left;
	opacity: 0;
	transform: translateY(8px);
	transition:
		opacity 0.4s,
		transform 0.4s;
}

.gallery-item:hover .gallery-item-caption {
	opacity: 1;
	transform: translateY(0);
}

.lightbox {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(5, 7, 10, 0.9);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	z-index: 1000;
	padding: 60px 20px;
}

.lightbox.active {
	opacity: 1;
	pointer-events: auto;
}

.lightbox-img {
	max-width: min(900px, 100%);
	max-height: 85vh;
	border-radius: 14px;
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.3s;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
	background: rgba(255, 255, 255, 0.2);
}

.lightbox-close {
	top: 20px;
	right: 20px;
}

.lightbox-prev {
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
}

.lightbox-next {
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
}

/* =========================================================
   CONTACT MODAL ("Замовити" / "Отримати консультацію")
========================================================= */
.modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(5, 7, 10, 0.55);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	z-index: 1100;
}

.modal-overlay.active {
	opacity: 1;
	pointer-events: auto;
}

.modal {
	position: fixed;
	top: 50%;
	left: 50%;
	width: min(420px, 90vw);
	background: #fff;
	border-radius: 24px;
	padding: 36px 30px 30px;
	box-shadow: 0 40px 80px rgba(0, 0, 0, 0.25);
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, -50%) scale(0.95);
	transition:
		opacity 0.3s ease,
		transform 0.3s ease;
	z-index: 1101;
}

.modal.active {
	opacity: 1;
	pointer-events: auto;
	transform: translate(-50%, -50%) scale(1);
}

.modal-close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	border-radius: 50%;
	background: #f3f4f6;
	color: #111;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.3s;
}

.modal-close:hover {
	background: #e5e7eb;
}

.modal h3 {
	font-size: 20px;
	font-weight: 700;
	padding-right: 30px;
	margin-bottom: 8px;
}

.modal > p {
	color: #6b7280;
	font-size: 14px;
	margin-bottom: 22px;
}

.modal-socials {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 20px;
}

.modal-social-btn {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	border-radius: 14px;
	background: #f8fafc;
	border: 1px solid rgba(17, 24, 39, 0.06);
	text-decoration: none;
	color: #111;
	font-weight: 600;
	font-size: 14px;
	transition:
		background 0.3s,
		transform 0.3s;
}

.modal-social-btn img {
	width: 28px;
	height: 28px;
}

.modal-social-btn:hover {
	background: #eaf6ff;
	transform: translateX(4px);
}

.modal-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #9ca3af;
	font-size: 12px;
	margin: 6px 0 16px;
}

.modal-divider::before,
.modal-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: #e5e7eb;
}

.modal-contacts {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.modal-contacts a {
	color: #111;
	text-decoration: none;
	font-size: 14px;
	transition: color 0.3s;
}

.modal-contacts a:hover {
	color: var(--blue);
}

/* =========================================================
   PROCESS / STEPS
========================================================= */
.process {
	margin-top: 100px;
	text-align: center;
}

.process-title {
	font-size: 28px;
	font-weight: 700;
}

.steps {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	flex-wrap: wrap;
	row-gap: 40px;
	margin-top: 50px;
	position: relative;
}

.step {
	text-align: left;
	width: 220px;
	position: relative;
}

.step .icon {
	margin: 0 0 16px;
}

.step h3 {
	margin-top: 0;
	font-size: 16px;
}

.step p {
	font-size: 13px;
	color: #6b7280;
	margin-top: 5px;
}

.step:hover .icon {
	transform: scale(1.1);
}

/* dashed connector with an arrowhead, aligned to the icon's
   vertical center (half of the 68px icon) rather than the
   full step height. Fixed width (not flex:1) so every segment
   between steps is guaranteed identical instead of depending
   on how much free space happens to be left to distribute. */
.line {
	width: 44px;
	flex-shrink: 0;
	height: 0;
	align-self: flex-start;
	margin-top: 34px;
	border-top: 2px dashed #d1d5db;
	position: relative;
}

.line::after {
	content: '';
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 7px solid #d1d5db;
}

/* =========================================================
   CTA
========================================================= */
.cta {
	margin-top: 100px;
	padding: 60px;
	border-radius: 30px;
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, #eef4ff, #ffffff);
	box-shadow:
		0 30px 60px rgba(0, 0, 0, 0.08),
		inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

.cta-left {
	max-width: 500px;
}

.cta-left h2 {
	font-size: 32px;
	font-weight: 700;
	line-height: 1.2;
}

.cta-left span {
	color: var(--blue);
}

.cta-left p {
	margin: 15px 0 25px;
	color: #6b7280;
}

.cta-trust {
	font-size: 13px;
	color: #6b7280;
	margin-bottom: 24px;
}

.cta-right img {
	transform: scale(1.5) translateX(20px);
	width: 400px;
	filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
}

/* =========================================================
   FOOTER
========================================================= */
.footer {
	background: linear-gradient(180deg, #0c0f14, #05070a);
	color: #fff;
	padding: 60px 0 40px;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 50px;
}

.footer-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 20px;
	margin-bottom: 12px;
}

.footer-logo img {
	width: 42px;
}

.footer-desc {
	color: #aaa;
	font-size: 14px;
	line-height: 1.6;
}

.footer-col h4 {
	margin-bottom: 15px;
	font-size: 16px;
}

.footer-col a {
	display: block;
	color: #aaa;
	text-decoration: none;
	margin-bottom: 8px;
	transition:
		color 0.3s,
		transform 0.3s;
}

.footer-col a:hover {
	color: #fff;
	transform: translateX(5px);
}

.footer-col p {
	color: #aaa;
	font-size: 14px;
	margin-bottom: 8px;
}

/* the footer reuses the shared .socials block, styled dark here */
.footer .socials {
	margin: 10px 0 15px;
}

.footer .socials img {
	background: #111;
}

.footer .socials img:hover {
	background: #1a1f2b;
	box-shadow: 0 0 15px rgba(45, 156, 219, 0.5);
}

/* =========================================================
   RESPONSIVE — TABLET (grids relax to fewer columns)
========================================================= */
@media (max-width: 1024px) {
	.why-grid {
		grid-template-columns: repeat(2, 1fr);
	}

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

	.gallery {
		grid-template-columns: repeat(3, 1fr);
		margin-top: 24px;
	}

	.steps .line {
		display: none;
	}

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

/* =========================================================
   RESPONSIVE — MOBILE (burger nav + structural stacking)
========================================================= */
@media (max-width: 860px) {
	/* HEADER / BURGER */
	.burger {
		display: flex;
	}

	.header-right {
		display: none;
	}

	.nav {
		position: fixed;
		top: 0;
		right: 0;
		height: 100vh;
		height: 100dvh;
		width: min(320px, 82%);
		background: #fff;
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
		padding: 100px 30px 30px;
		box-shadow: -10px 0 40px rgba(0, 0, 0, 0.12);
		transform: translateX(100%);
		transition: transform 0.35s ease;
		z-index: var(--z-nav);
		overflow-y: auto;
		overscroll-behavior: contain;
	}

	.nav.active {
		transform: translateX(0);
	}

	.nav a {
		width: 100%;
		padding: 14px 0;
		font-size: 17px;
		border-bottom: 1px solid rgba(17, 24, 39, 0.06);
	}

	.nav a::after {
		display: none;
	}

	.nav-mobile-extra {
		display: flex;
		flex-direction: column;
		gap: 18px;
		width: 100%;
		margin-top: 24px;
		padding-top: 24px;
		border-top: 1px solid rgba(17, 24, 39, 0.08);
	}

	.nav-mobile-extra .socials {
		justify-content: flex-start;
	}

	.nav-mobile-extra .btn.primary {
		text-align: center;
	}

	/* HERO */
	.hero {
		padding: 30px 0;
	}

	.hero-text h1 {
		font-size: 40px;
	}

	.hero-inner {
		flex-direction: column;
		text-align: center;
	}

	.hero-text {
		max-width: 100%;
	}

	.hero-image {
		--rest: none;
		order: -1;
	}

	.hero .btn.primary {
		width: 100%;
	}

	.hero-image img {
		max-width: 320px;
		margin: 0 auto;
	}

	.features {
		justify-content: center;
		flex-wrap: wrap;
	}

	/* PROCESS */
	.steps {
		flex-direction: column;
		align-items: flex-start;
		gap: 30px;
	}

	.line {
		width: 0;
		height: 40px;
		margin: 0 0 0 34px;
		border-top: none;
		border-left: 2px dashed #d1d5db;
	}

	.line::after {
		right: auto;
		top: auto;
		bottom: -1px;
		left: 50%;
		transform: translateX(-50%);
		border-left: 5px solid transparent;
		border-right: 5px solid transparent;
		border-top: 7px solid #d1d5db;
		border-bottom: none;
	}

	/* CTA */
	.cta-inner {
		flex-direction: column;
		text-align: center;
	}

	.cta-right img {
		width: 100%;
		max-width: 320px;
		transform: none;
		margin: 0 auto;
	}
}

/* =========================================================
   RESPONSIVE — SMALL MOBILE (typography & spacing)
========================================================= */
@media (max-width: 640px) {
	.container {
		padding: 15px;
	}

	/* HERO */
	.hero-text h1 {
		font-size: 34px;
		line-height: 1.2;
	}

	.hero-text p {
		font-size: 15px;
	}

	.buttons {
		justify-content: center;
	}

	.feature {
		width: 90px;
		flex-direction: column;
		text-align: center;
		font-size: 12px;
	}

	.feature img {
		width: 40px;
	}

	.service-meta {
		justify-content: center;
	}

	.service-meta-item {
		padding: 8px 14px;
	}

	/* PAGE HEADER */
	.page-header {
		padding: 40px 0 10px;
	}

	.page-header h1 {
		font-size: 28px;
	}

	.lightbox-prev,
	.lightbox-next {
		width: 38px;
		height: 38px;
		font-size: 18px;
	}

	/* WHY */
	.why {
		margin-top: 60px;
		padding: 20px 20px;
	}

	.why-title {
		font-size: 24px;
	}

	.why-grid {
		grid-template-columns: 1fr;
		gap: 20px;
		margin-top: 24px;
	}

	.why-card {
		padding: 25px 15px;
	}

	/* SERVICES */
	.grid {
		grid-template-columns: 1fr;
	}

	/* WORKS */
	.gallery {
		grid-template-columns: repeat(2, 1fr);
	}

	/* CTA */
	.cta {
		padding: 30px 20px;
		margin-top: 50px;
	}

	.cta-left h2 {
		font-size: 26px;
	}

	/* FOOTER */
	.footer-inner {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.footer-logo {
		justify-content: center;
	}

	.footer .socials {
		justify-content: center;
	}
}
