.nse-services_slider .swiper-slide {
	height: auto;
}

.nse-services_slider .service-block_one {
	height: 100%;
	margin-bottom: 0;
}

.nse-gallery-card {
	padding: 0;
	overflow: hidden;
}

.nse-gallery-trigger {
	display: block;
	position: relative;
	color: inherit;
	text-decoration: none;
}

.nse-gallery-image {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 500ms ease;
}

.nse-gallery-trigger:hover .nse-gallery-image,
.nse-gallery-trigger:focus-visible .nse-gallery-image {
	transform: scale(1.05);
}

.nse-gallery-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 18px 20px 16px;
	color: #fff;
	letter-spacing: 1px;
	font-size: 20px;
	font-weight: 500;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
}

.nse-gallery-overlay {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px;
	background: rgba(8, 8, 8, 0.92);
	opacity: 0;
	visibility: hidden;
	transition: opacity 250ms ease, visibility 250ms ease;
}

.nse-gallery-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.nse-gallery-dialog {
	position: relative;
	max-width: min(1100px, 94vw);
	max-height: 92vh;
	text-align: center;
}

.nse-gallery-dialog img {
	display: block;
	max-width: 100%;
	max-height: 78vh;
	margin: 0 auto;
	object-fit: contain;
}

.nse-gallery-dialog figcaption {
	margin-top: 14px;
	color: #fff;
	font-size: 16px;
	letter-spacing: 1px;
}

.nse-gallery-close,
.nse-gallery-prev,
.nse-gallery-next {
	position: absolute;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 50%;
	color: #fff;
	background: rgba(0, 0, 0, 0.5);
	cursor: pointer;
	font-size: 35px;
}

.nse-gallery-close {
	top: -18px;
	right: -18px;
}

.nse-gallery-prev,
.nse-gallery-next {
	top: 50%;
	transform: translateY(-50%);
}

.nse-gallery-prev { left: -60px; }
.nse-gallery-next { right: -60px; }

@media (max-width: 700px) {
	.nse-gallery-overlay { padding: 20px; }
	.nse-gallery-prev { left: 8px; }
	.nse-gallery-next { right: 8px; }
	.nse-gallery-close { top: 8px; right: 8px; }
}

.ns-gl-backdrop {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(8, 8, 8, 0.82);
	opacity: 0;
	visibility: hidden;
	transition: opacity 250ms ease, visibility 250ms ease;
}

.ns-gl-backdrop.is-open {
	opacity: 1;
	visibility: visible;
}

.ns-gl-modal {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.8fr);
	width: min(1180px, 96vw);
	height: min(92vh, 760px);
	max-height: 92vh;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
}

.ns-gl-close {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	cursor: pointer;
}

.ns-gl-media {
	min-width: 0;
	min-height: 0;
	padding: 30px;
	background: #101114;
	color: #fff;
}

.ns-gl-media-top,
.ns-gl-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.ns-gl-media-top { margin-bottom: 20px; }
.ns-gl-media .eyebrow,
.ns-gl-form-head .eyebrow {
	margin-bottom: 7px;
	color: #e1842a;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

.ns-gl-media h3,
.ns-gl-form-head h4 { margin: 0; }
.ns-gl-media h3 {color: #fff;font-size: 28px;letter-spacing: 1px;font-weight: 600;}
.ns-gl-meta {margin: 5px 0 0;color: #aeb0b7;font-size: 13px;letter-spacing: 1px;}
.ns-gl-zoom-tools { display: flex; gap: 5px; }
.ns-gl-zoom-tools button {
	width: 36px;
	height: 34px;
	border: 1px solid #484a50;
	background: #1e2025;
	color: #fff;
	cursor: pointer;
}
.ns-gl-zoom-tools button:disabled { opacity: 0.4; cursor: default; }
.ns-gl-zoom-reset { width: 50px !important; font-size: 11px; }

.ns-gl-stage {
	display: flex;
	align-items: center;
	justify-content: center;
	height: min(58vh, 570px);
	overflow: hidden;
	background: #050506;
	cursor: grab;
}
.ns-gl-stage img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	user-select: none;
	transition: transform 150ms ease;
}
.ns-gl-stage img.is-dragging { cursor: grabbing; transition: none; }
.ns-gl-nav { margin-top: 18px; }
.ns-gl-nav-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	border: 0;
	background: transparent;
	color: #fff;
	cursor: pointer;
	font-size: 13px;
	letter-spacing: 1px;
}
.ns-gl-hint {color: #989ba3;font-size: 15px;text-align: center;letter-spacing: 1px;}

.ns-gl-form-panel {
	min-height: 0;
	overflow-y: auto;
	padding: 44px 34px 30px;
	background: #fff;
}
.ns-gl-form-head { margin-bottom: 24px; }
.ns-gl-form-head h4 {color: #1d1e22;font-size: 24px;line-height: 1.25;letter-spacing: 1px;}
.ns-gl-form-head p {margin: 12px 0 0;color: #64666d;font-size: 14px;line-height: 1.6;letter-spacing: 1px;}
.ns-form-compact .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ns-form-compact .field { min-width: 0; }
.ns-form-compact .field.full { grid-column: 1 / -1; }
.ns-form-compact label {display: block;margin-bottom: 6px;color: #28292d;font-size: 14px;font-weight: 600;letter-spacing: 1px;}
.ns-form-compact input,
.ns-form-compact textarea {
	display: block;
	width: 100%;
	padding: 10px 11px;
	border: 1px solid #d7d8da;
	border-radius: 2px;
	background: #fff;
	color: #202124;
	font-size: 14px;
	letter-spacing: 1px;
}
.ns-form-compact textarea { resize: vertical; }
.ns-form-compact input:focus,
.ns-form-compact textarea:focus { border-color: #d97827; outline: 0; }
.ns-form-compact .field.has-error input,
.ns-form-compact .field.has-error textarea { border-color: #c62828; }
.ns-field-error {
	display: none;
	margin-top: 4px;
	color: #c62828;
	letter-spacing: 1px;
	font-size: 11px;
}
.ns-form-compact .field.has-error > .ns-field-error { display: block; }
.ns-captcha-row {
	display: grid;
	grid-template-columns: auto 38px minmax(0, 1fr);
	align-items: center;
	gap: 7px;
}
.ns-captcha-code {
	min-width: 108px;
	padding: 10px 12px;
	background: #f0f1f2;
	color: #222;
	font-size: 16px;
	letter-spacing: 3px;
	text-align: center;
}
.ns-captcha-refresh {
	width: 38px;
	height: 38px;
	border: 1px solid #d7d8da;
	background: #fff;
	color: #555;
	cursor: pointer;
}
.ns-captcha-refresh:hover { color: #d97827; }
.ns-form-compact .hp { position: absolute; left: -9999px; opacity: 0; }
.ns-btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin-top: 18px;
	padding: 12px 18px;
	border: 0;
	background: #d97827;
	color: #fff;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 1px;
}
.ns-form-status {min-height: 18px;margin: 9px 0 0;color: #28783d;font-size: 12px;letter-spacing: 1px;}
.ns-form-status.is-error {color: #b42318;}
body.nse-gallery-open { overflow: hidden; }

@media (max-width: 800px) {
	.ns-gl-backdrop { padding: 12px; }
	.ns-gl-modal { display: block; height: auto; max-height: 94vh; overflow-y: auto; }
	.ns-gl-media { padding: 24px 18px 20px; }
	.ns-gl-stage { height: 42vh; }
	.ns-gl-form-panel { padding: 28px 20px 24px; }
}

@media (max-width: 480px) {
	.ns-gl-media-top { align-items: flex-start; flex-direction: column; }
	.ns-gl-zoom-tools { align-self: flex-end; }
	.ns-gl-nav { gap: 7px; }
	.ns-gl-hint { font-size: 10px; }
	.ns-form-compact .row { grid-template-columns: 1fr; }
	.ns-form-compact .field.full { grid-column: auto; }
	.ns-captcha-row { grid-template-columns: minmax(92px, auto) 38px minmax(0, 1fr); }
}