/* NSC Cars – global site styles */
@font-face {
	font-family: "Vazirmatn";
	src: url("Vazirmatn.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
}

:root {
	--nsc-bg: #0b1730;
	--nsc-surface: #12213f;
	--nsc-surface-2: #182a4d;
	--nsc-line: rgba(255, 255, 255, .12);
	--nsc-text: #ececef;
	--nsc-muted: #a2a2aa;
	--nsc-accent: #c9a24d;
	--nsc-gold-light: #ecd28f;
	--nsc-gold-dark: #8f6d2c;
	--nsc-gold-grad: linear-gradient(135deg, #f3dc9b 0%, #c9a24d 48%, #9a7631 100%);
	--nsc-font: "Vazirmatn", Tahoma, sans-serif;
}

html { scroll-behavior: smooth; }
body {
	background: var(--nsc-bg);
	color: var(--nsc-text);
	font-family: var(--nsc-font);
}
body a { color: inherit; }

/* Force the Persian font across Elementor widgets (icons excluded) */
body,
.elementor-heading-title,
.elementor-button,
.elementor-widget-text-editor,
.elementor-widget-text-editor *,
.elementor-icon-list-text,
.elementor-nav-menu a,
.elementor-field-group,
.elementor-field,
.elementor-field-label,
.elementor-search-form__input,
.e-n-accordion-item-title-text,
.e-n-accordion-item .elementor-widget-text-editor,
.elementor-post__title,
.elementor-post__excerpt,
.elementor-post__meta-data,
.elementor-post__read-more,
input, select, textarea, button {
	font-family: var(--nsc-font) !important;
}

/* ---------- Header ---------- */
.elementor-location-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	transition: background-color .35s ease, box-shadow .35s ease;
}
body.admin-bar .elementor-location-header { top: 32px; }
@media (max-width: 782px) {
	body.admin-bar .elementor-location-header { top: 46px; }
}
body.nsc-scrolled .elementor-location-header {
	background: transparent;
	box-shadow: none;
}
.nsc-header { min-height: 76px; }
.nsc-logo .elementor-heading-title {
	font-weight: 800 !important;
	letter-spacing: .28em;
	direction: ltr;
}
.nsc-logo .elementor-heading-title a { color: #fff !important; }

.nsc-burger {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	width: 44px;
	height: 44px;
	padding: 10px;
	background: transparent !important;
	border: 0 !important;
	cursor: pointer;
}
.nsc-burger span {
	display: block;
	height: 2px;
	width: 100%;
	background: #fff;
	border-radius: 2px;
	transition: transform .3s ease, opacity .3s ease;
}
.nsc-burger span:nth-child(2) { width: 70%; }
.nsc-burger:hover span:nth-child(2) { width: 100%; }

.nsc-header .elementor-search-form__toggle,
.nsc-header .elementor-search-form__toggle * {
	background: transparent !important;
	color: #fff !important;
	fill: #fff !important;
	border: 0 !important;
}

/* ---------- Off-canvas side menu ---------- */
.e-con.nsc-offcanvas {
	position: fixed !important;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(380px, 86vw) !important;
	max-width: none !important;
	height: 100vh;
	height: 100dvh;
	overflow-y: auto;
	background: #0a1530;
	border-left: 1px solid var(--nsc-line);
	transform: translateX(105%);
	transition: transform .45s cubic-bezier(.2, .7, .2, 1);
	z-index: 1100;
	padding: 28px 32px 40px !important;
	justify-content: flex-start !important;
	align-items: stretch !important;
}
body.nsc-menu-open .e-con.nsc-offcanvas { transform: none; }
.nsc-close {
	width: 40px;
	height: 40px;
	border: 1px solid var(--nsc-line) !important;
	border-radius: 50%;
	background: transparent !important;
	color: #fff !important;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	padding: 0 !important;
}
.nsc-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(4, 10, 24, .65);
	opacity: 0;
	visibility: hidden;
	transition: opacity .35s ease, visibility .35s ease;
	z-index: 1050;
}
body.nsc-menu-open .nsc-backdrop { opacity: 1; visibility: visible; }
body.nsc-menu-open { overflow: hidden; }

.nsc-offcanvas .elementor-nav-menu a {
	color: #fff !important;
	font-size: 17px !important;
	padding: 12px 0 !important;
	border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.nsc-offcanvas .elementor-nav-menu a:hover { color: var(--nsc-accent) !important; }
.nsc-offcanvas .elementor-nav-menu .sub-menu {
	position: static !important;
	width: auto !important;
	min-width: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
	padding-inline-start: 16px !important;
}
.nsc-offcanvas .elementor-nav-menu .sub-menu a {
	font-size: 15px !important;
	color: var(--nsc-muted) !important;
	direction: rtl;
	text-align: right;
	justify-content: flex-start !important;
}

/* ---------- Full-page sections (home) ---------- */
/* Desktop section-by-section scrolling is handled in site.js */
html:has(body.nsc-fullpage) { scroll-behavior: auto; }
.e-con.nsc-snap {
	min-height: 100vh;
	min-height: 100svh;
}

.e-con.nsc-dim { position: relative; }
.e-con.nsc-dim::after {
	content: "" !important;
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(6, 14, 32, .64) 0%, rgba(6, 14, 32, .14) 42%, rgba(6, 14, 32, .58) 100%);
}
.e-con.nsc-dim > .e-con-inner,
.e-con.nsc-dim > .elementor-element { position: relative; z-index: 2; }

.nsc-hero-title .elementor-heading-title {
	direction: ltr;
	letter-spacing: .06em;
	line-height: 1.15 !important;
	font-weight: 800 !important;
}
.nsc-car-title .elementor-heading-title {
	direction: ltr;
	font-weight: 800 !important;
	letter-spacing: .02em;
	line-height: 1.05 !important;
	text-shadow: 0 2px 30px rgba(0, 0, 0, .35);
}
.nsc-car-sub .elementor-heading-title { font-weight: 400 !important; }

.nsc-scroll-hint {
	display: block;
	width: 26px;
	height: 42px;
	margin: 0 auto;
	border: 2px solid rgba(255, 255, 255, .7);
	border-radius: 14px;
	position: relative;
}
.nsc-scroll-hint span {
	position: absolute;
	top: 8px;
	left: 50%;
	width: 4px;
	height: 8px;
	margin-left: -2px;
	border-radius: 2px;
	background: #fff;
	animation: nsc-wheel 1.6s infinite;
}
@keyframes nsc-wheel {
	0% { opacity: 1; transform: translateY(0); }
	100% { opacity: 0; transform: translateY(14px); }
}

/* Side dots navigation */
.nsc-dots {
	position: fixed;
	right: 22px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 900;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.nsc-dots { transition: opacity .3s, visibility .3s; }
.nsc-dots.is-hidden { opacity: 0; visibility: hidden; }
.nsc-dots a {
	display: block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .8);
	transition: background .3s, transform .3s;
}
.nsc-dots a.is-active { background: var(--nsc-accent); border-color: var(--nsc-accent); transform: scale(1.25); }
@media (max-width: 767px) { .nsc-dots { right: 10px; } }

/* Back to top */
.nsc-top {
	position: fixed;
	left: 50%;
	bottom: 0;
	transform: translate(-50%, 100%);
	width: 52px;
	height: 30px;
	border: 0;
	border-radius: 6px 6px 0 0;
	background: rgba(11, 23, 48, .92) !important;
	color: #fff;
	cursor: pointer;
	z-index: 900;
	transition: transform .35s ease;
	padding: 0 !important;
}
.nsc-top.is-visible { transform: translate(-50%, 0); }
.nsc-top svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; }

/* ---------- Buttons ---------- */
.nsc-btn .elementor-button {
	background: transparent !important;
	border: 1px solid rgba(201, 162, 77, .9) !important;
	color: #fff !important;
	border-radius: 2px !important;
	padding: 13px 30px !important;
	font-size: 14px !important;
	transition: background .3s, color .3s, border-color .3s;
}
.nsc-btn .elementor-button:hover { background: var(--nsc-gold-grad) !important; border-color: transparent !important; color: #000 !important; }
.nsc-btn-solid .elementor-button {
	background: var(--nsc-gold-grad) !important;
	border: 1px solid transparent !important;
	color: #000 !important;
	font-weight: 600;
	border-radius: 2px !important;
	padding: 13px 30px !important;
	font-size: 14px !important;
	transition: filter .3s;
}
.nsc-btn-solid .elementor-button:hover { filter: brightness(1.12); }

/* ---------- Inner pages ---------- */
.nsc-page-title .elementor-heading-title { font-weight: 800 !important; }
.nsc-kicker .elementor-heading-title {
	color: var(--nsc-accent) !important;
	font-size: 13px !important;
	letter-spacing: .2em;
	font-weight: 600 !important;
}
.nsc-section-title .elementor-heading-title { font-weight: 700 !important; }
.nsc-text, .nsc-text p { color: var(--nsc-muted); line-height: 2.05; }

.e-con.nsc-card {
	background: var(--nsc-surface);
	border: 1px solid var(--nsc-line);
	border-radius: 6px;
	transition: border-color .3s, transform .3s;
}
.e-con.nsc-card:hover { border-color: rgba(201, 162, 77, .65); transform: translateY(-3px); }
.e-con.nsc-spec {
	border-top: 2px solid var(--nsc-accent);
	background: var(--nsc-surface-2);
}
.nsc-spec-value .elementor-heading-title { font-weight: 700 !important; }
.nsc-stat .elementor-heading-title { font-weight: 800 !important; color: #fff; }

.nsc-img img { border-radius: 6px; width: 100%; object-fit: cover; }

/* Carousel */
.elementor-widget-image-carousel .swiper-slide img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.elementor-widget-image-carousel .elementor-swiper-button { color: #fff; }
.elementor-widget-image-carousel .elementor-swiper-button svg { fill: #fff; }
.elementor-widget-image-carousel .swiper-pagination-bullet { background: #fff; }

/* Accordion */
.e-n-accordion-item {
	background: var(--nsc-surface);
	border: 1px solid var(--nsc-line) !important;
	border-radius: 6px;
	margin-bottom: 10px;
	overflow: hidden;
}
.e-n-accordion-item-title {
	padding: 20px 24px !important;
	border: 0 !important;
	background: transparent !important;
}
.e-n-accordion-item-title-text { color: #fff !important; font-size: 16px !important; font-weight: 600; }
.e-n-accordion-item-title-icon, .e-n-accordion-item-title-icon * { color: var(--nsc-accent) !important; fill: var(--nsc-accent) !important; }
.e-n-accordion-item > .e-con { border: 0 !important; padding: 0 24px 20px !important; }

/* Forms */
.nsc-form .elementor-field-group .elementor-field-label { color: var(--nsc-muted) !important; font-size: 14px; }
.nsc-form .elementor-field-textual,
.nsc-form select.elementor-field {
	background: var(--nsc-surface-2) !important;
	border: 1px solid var(--nsc-line) !important;
	color: #fff !important;
	border-radius: 4px !important;
	min-height: 46px;
}
.nsc-form .elementor-field-textual:focus { border-color: var(--nsc-accent) !important; outline: none; }
.nsc-form .elementor-select-wrapper::before { color: #fff !important; }
.nsc-form .elementor-button {
	background: var(--nsc-gold-grad) !important;
	color: #000 !important;
	font-weight: 600;
	border-radius: 4px !important;
	min-height: 48px;
}
.elementor-message { color: var(--nsc-text); }

/* Posts */
.elementor-posts .elementor-post {
	background: var(--nsc-surface);
	border: 1px solid var(--nsc-line);
	border-radius: 6px;
	overflow: hidden;
}
.elementor-posts .elementor-post__text { padding: 0 20px 20px; }
.elementor-posts .elementor-post__title a { color: #fff !important; }
.elementor-posts .elementor-post__excerpt p { color: var(--nsc-muted) !important; }
.elementor-posts .elementor-post__read-more { color: var(--nsc-accent) !important; }
.elementor-posts .elementor-post__thumbnail__link { margin-bottom: 18px !important; }

/* ---------- Footer ---------- */
.elementor-location-footer { background: #081226; }
.nsc-footer .elementor-nav-menu a { color: var(--nsc-muted) !important; padding: 7px 0 !important; font-size: 15px; }
.nsc-footer .elementor-nav-menu a:hover { color: #fff !important; }
.nsc-footer-copy, .nsc-footer-copy p { color: #6f6f77; font-size: 13px; }
.nsc-social .elementor-social-icon { background: transparent !important; border: 1px solid var(--nsc-line); }
.nsc-social .elementor-social-icon:hover { border-color: var(--nsc-accent); }
.nsc-social .elementor-social-icon i,
.nsc-social .elementor-social-icon svg { color: #fff !important; fill: #fff !important; }

/* Floating survey button */
.elementor-widget.nsc-float {
	position: fixed !important;
	right: 24px;
	bottom: 24px;
	z-index: 950;
	width: auto !important;
	margin: 0 !important;
}
.nsc-float .elementor-button {
	background: var(--nsc-gold-grad) !important;
	color: #000 !important;
	font-weight: 600;
	border-radius: 999px !important;
	padding: 14px 22px !important;
	box-shadow: 0 8px 24px rgba(201, 162, 77, .3);
	font-size: 14px !important;
}
@media (max-width: 767px) {
	.elementor-widget.nsc-float { right: 14px; bottom: 14px; }
	.nsc-float .elementor-button-text { display: none; }
	.nsc-float .elementor-button { padding: 16px !important; }
}

/* Survey modal */
.e-con.nsc-modal {
	position: fixed !important;
	inset: 0;
	z-index: 1200;
	background: rgba(4, 10, 24, .78);
	display: none !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 16px !important;
	max-width: none !important;
	width: 100% !important;
}
body.nsc-modal-open .e-con.nsc-modal.is-open { display: flex !important; }
.e-con.nsc-modal-box {
	background: var(--nsc-surface);
	border: 1px solid var(--nsc-line);
	border-radius: 10px;
	width: min(520px, 100%) !important;
	max-height: 90vh;
	overflow-y: auto;
}

/* Editor: keep hidden panels visible while editing */
body.elementor-editor-active .e-con.nsc-modal { display: flex !important; position: relative !important; }
body.elementor-editor-active .e-con.nsc-offcanvas { position: relative !important; transform: none; height: auto; width: 100% !important; }
body.elementor-editor-active .elementor-widget.nsc-float { position: relative !important; right: auto; bottom: auto; }
body.elementor-editor-active .elementor-location-header { position: relative; }

/* ---------- Gold & black theme ---------- */
.nsc-logo-img img { width: auto !important; max-width: none; height: 54px; object-fit: contain; }
.nsc-header .nsc-logo-img img { height: 50px; }
@media (max-width: 767px) { .nsc-header .nsc-logo-img img { height: 40px; } }
.nsc-offcanvas .nsc-logo-img img, .nsc-footer-wrap .nsc-logo-img img { height: 64px; }
.nsc-hero-logo img { width: 190px !important; height: auto; filter: drop-shadow(0 6px 30px rgba(0, 0, 0, .55)); }
@media (max-width: 767px) { .nsc-hero-logo img { width: 130px !important; } }

.nsc-hero-title .elementor-heading-title,
.nsc-gold .elementor-heading-title {
	background: var(--nsc-gold-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent !important;
}
.nsc-section-title .elementor-heading-title::after {
	content: "";
	display: block;
	width: 56px;
	height: 2px;
	margin: 14px 0 0;
	background: var(--nsc-gold-grad);
}
.nsc-center .elementor-heading-title::after { margin: 14px auto 0; }
.nsc-burger span { background: var(--nsc-gold-light); }
.nsc-header .elementor-search-form__toggle,
.nsc-header .elementor-search-form__toggle * { color: var(--nsc-gold-light) !important; fill: var(--nsc-gold-light) !important; }
body.nsc-scrolled .elementor-location-header { background: transparent; box-shadow: none; }
.nsc-offcanvas .elementor-nav-menu a:hover { color: var(--nsc-gold-light) !important; }
.elementor-location-footer { border-top: 1px solid rgba(201, 162, 77, .25); }
.nsc-scroll-hint { border-color: rgba(236, 210, 143, .8); }
.nsc-scroll-hint span { background: var(--nsc-gold-light); }
.nsc-dots a { border-color: rgba(236, 210, 143, .85); }
.nsc-top svg { stroke: var(--nsc-gold-light); }
.elementor-widget-video .elementor-wrapper { border-radius: 8px; overflow: hidden; border: 1px solid rgba(201, 162, 77, .3); }
.elementor-custom-embed-play i, .elementor-custom-embed-play svg { color: var(--nsc-gold-light) !important; fill: var(--nsc-gold-light) !important; opacity: .95; }

/* ---------- Mobile framing ---------- */
@media (max-width: 767px) {
	/* Focus each wide photo on the car instead of a centre crop */
	.e-con.nsc-m-x12 { background-position: 12% 50% !important; }
	.e-con.nsc-m-x13 { background-position: 13% 50% !important; }
	.e-con.nsc-m-x21 { background-position: 21% 50% !important; }
	.e-con.nsc-m-x31 { background-position: 31% 50% !important; }
	.e-con.nsc-m-x36 { background-position: 36% 50% !important; }
	.e-con.nsc-m-x41 { background-position: 41% 50% !important; }
	.e-con.nsc-m-x45 { background-position: 45% 50% !important; }
	.e-con.nsc-m-x50 { background-position: 50% 50% !important; }
	.e-con.nsc-m-x58 { background-position: 58% 50% !important; }
	.e-con.nsc-m-x68 { background-position: 68% 50% !important; }
	.e-con.nsc-m-x76 { background-position: 76% 50% !important; }
	.e-con.nsc-m-x82 { background-position: 82% 50% !important; }
	.e-con.nsc-m-x88 { background-position: 88% 50% !important; }
	.e-con.nsc-m-x100 { background-position: 100% 50% !important; }

	/* Hero: vertical video fills the screen, text sits below the car */
	.e-con.nsc-hero {
		justify-content: flex-end !important;
		padding-bottom: 120px !important;
	}
	.nsc-hero.nsc-has-mobile-video .elementor-background-video-hosted {
		position: absolute !important;
		top: 0 !important;
		left: 0 !important;
		width: 100% !important;
		height: 100% !important;
		max-width: none !important;
		transform: none !important;
		object-fit: cover;
	}
}

/* ---------- Homepage: text glides in as each section arrives ---------- */
@media (prefers-reduced-motion: no-preference) {
	body.nsc-reveal .nsc-snap .elementor-widget {
		opacity: 0;
		transform: translateY(34px);
		transition: opacity .9s ease, transform 1.1s cubic-bezier(.16, 1, .3, 1);
	}
	body.nsc-reveal .nsc-snap.is-active .elementor-widget {
		opacity: 1;
		transform: none;
		transition-delay: .35s;
	}
	body.nsc-reveal .nsc-snap.is-active .elementor-widget:nth-child(2) { transition-delay: .5s; }
	body.nsc-reveal .nsc-snap.is-active .elementor-widget:nth-child(3) { transition-delay: .65s; }
	body.nsc-reveal .nsc-snap.is-active .elementor-widget:nth-child(4) { transition-delay: .8s; }
	body.nsc-reveal .nsc-snap.is-active .e-con .elementor-widget { transition-delay: .9s; }

	/* Desktop: the (4:3) photo settles with a slow zoom-out while its section is on screen */
	body.nsc-fullpage .e-con.nsc-car {
		background-size: calc(max(100vw, 133.4vh) * 1.1) auto !important;
		transition: background-size 2.4s cubic-bezier(.16, 1, .3, 1);
	}
	body.nsc-fullpage .e-con.nsc-car.is-active { background-size: max(100vw, 133.4vh) auto !important; }
}

/* ---------- Homepage hero video playlist ---------- */
.nsc-hero-videos {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}
.nsc-hero-videos video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 1s ease;
}
.nsc-hero-videos video.is-active { opacity: 1; }
.nsc-hero-dots {
	position: absolute;
	left: 50%;
	bottom: 28px;
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	gap: 10px;
	direction: ltr;
}
.nsc-hero-dots button {
	width: 10px;
	height: 10px;
	padding: 0 !important;
	border-radius: 50%;
	border: 1px solid rgba(236, 210, 143, .9) !important;
	background: transparent !important;
	cursor: pointer;
	transition: transform .3s, background .3s;
}
.nsc-hero-dots button.is-active { background: var(--nsc-gold-grad) !important; border-color: transparent !important; transform: scale(1.2); }
@media (max-width: 767px) { .nsc-hero-dots { bottom: 24px; } }

/* ---------- Transparent header: keep icons readable over any photo ---------- */
.elementor-location-header { background: transparent !important; }
.nsc-burger, .nsc-header .elementor-search-form__toggle { filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .65)); }

/* ---------- Car page video: full screen with a "back" button ---------- */
.nsc-fsbox { position: relative; }
.nsc-fsbox .nsc-fs-open,
.nsc-fsbox .nsc-fs-back {
	position: absolute;
	top: 14px;
	z-index: 20;
	display: none;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 44px;
	margin: 0;
	border: 1px solid rgba(236, 210, 143, .8) !important;
	background: rgba(0, 0, 0, .6) !important;
	color: #ecd28f !important;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}
.nsc-fsbox .nsc-fs-open { left: 14px; width: 44px; padding: 0 !important; border-radius: 50%; }
.nsc-fsbox .nsc-fs-back { right: 14px; padding: 0 18px !important; border-radius: 22px; direction: rtl; }
.nsc-fsbox .nsc-fs-open svg,
.nsc-fsbox .nsc-fs-back svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nsc-fsbox.nsc-fs-ready .nsc-fs-open { display: flex; }
.nsc-fsbox:fullscreen { width: 100% !important; height: 100% !important; aspect-ratio: auto !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: #000; }
.nsc-fsbox:fullscreen video { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; object-fit: contain !important; }
.nsc-fsbox:fullscreen .nsc-fs-open { display: none; }
.nsc-fsbox:fullscreen .nsc-fs-back { display: flex; top: 20px; right: 20px; }
/* Same rules for older Safari (must stay separate, other browsers reject this selector) */
.nsc-fsbox:-webkit-full-screen { width: 100% !important; height: 100% !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: #000; }
.nsc-fsbox:-webkit-full-screen video { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; object-fit: contain !important; }
.nsc-fsbox:-webkit-full-screen .nsc-fs-open { display: none; }
.nsc-fsbox:-webkit-full-screen .nsc-fs-back { display: flex; }

/* ---------- "About us" slide only on the home page ---------- */
html:has(link[rel="canonical"][href$="/mazda/"]) #about.nsc-snap,
html:has(link[rel="canonical"][href$="/toyota/"]) #about.nsc-snap { display: none !important; }

/* ---------- Contact page: the plain contact form is removed, contact details sit in the middle ---------- */
.elementor-66 .elementor-element-f341e07 { display: none !important; }
.elementor-66 .elementor-element-90fbbd1 { --width: 100% !important; width: 100% !important; max-width: 760px !important; margin-inline: auto; }

/* ---------- Phone numbers read left to right ---------- */
.nsc-ltr { display: inline-block; direction: ltr; unicode-bidi: isolate; white-space: nowrap; }

/* ---------- Circulars: two drop-down lists ---------- */
.nsc-ngroup { border: 1px solid rgba(236, 210, 143, .35); border-radius: 14px; background: rgba(255, 255, 255, .03); margin-bottom: 14px; }
.nsc-ngroup > summary { display: flex; align-items: center; gap: 12px; padding: 16px 20px; cursor: pointer; list-style: none; }
.nsc-ngroup > summary::-webkit-details-marker { display: none; }
.nsc-ngroup > summary h3 { flex: 1; margin: 0 !important; }
.nsc-ngroup > summary::after { content: ""; width: 10px; height: 10px; border: solid var(--nsc-gold-light); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .25s; margin-inline-start: 4px; }
.nsc-ngroup[open] > summary::after { transform: rotate(-135deg); }
.nsc-ngroup-count { min-width: 30px; padding: 0 8px; border-radius: 99px; background: rgba(236, 210, 143, .15); color: var(--nsc-gold-light); font-size: 14px; line-height: 28px; text-align: center; }
.nsc-ngroup-list { padding: 4px 14px 14px; border-top: 1px solid rgba(236, 210, 143, .18); }
.nsc-ngroup-list > :first-child { margin-top: 10px; }

/* ---------- Customer-relations form: error design ---------- */
.nsc-care-form .nsc-err {
	display: flex; align-items: center; gap: 10px; flex: 0 0 100%; width: 100%; margin-top: 8px; padding: 9px 14px;
	border: 1px solid rgba(255, 120, 120, .5); border-inline-start-width: 4px; border-radius: 10px;
	background: rgba(224, 82, 74, .14); color: #ffb3ae; font-size: 13.5px; line-height: 1.9; text-align: right;
	animation: nsc-err-in .3s ease;
}
.nsc-care-form .nsc-err::before { content: "!"; flex: none; width: 20px; height: 20px; border-radius: 50%; background: #e0524a; color: #fff; font-weight: 800; font-size: 13px; line-height: 20px; text-align: center; }
@keyframes nsc-err-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.nsc-care-form .nsc-invalid input.elementor-field,
.nsc-care-form .nsc-invalid textarea.elementor-field,
.nsc-care-form .nsc-invalid select { border-color: #e0524a !important; box-shadow: 0 0 0 3px rgba(224, 82, 74, .2); }
.nsc-care-form .nsc-invalid .elementor-field-subgroup { outline: 1px dashed rgba(255, 120, 120, .55); outline-offset: 6px; border-radius: 6px; }
.nsc-care-form .nsc-invalid .nsc-hint.is-error { display: none; }
.nsc-care-form .elementor-message.elementor-message-danger,
.nsc-care-form .elementor-message.elementor-help-inline {
	display: block; width: 100%; margin-top: 10px; padding: 10px 14px; border: 1px solid rgba(255, 120, 120, .5);
	border-radius: 10px; background: rgba(224, 82, 74, .14); color: #ffb3ae !important; font-size: 13.5px; text-align: right;
}

/* ---------- Contact page: company address and central office, one under the other ---------- */
.nsc-places { display: flex; flex-direction: column; gap: 18px; width: 100%; max-width: 760px; margin-inline: auto; }
.nsc-place { display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding: 22px 20px; border: 1px solid rgba(236, 210, 143, .3); border-radius: 16px; background: rgba(255, 255, 255, .03); }
.nsc-place > h3 { margin: 0; text-align: center; font-size: 20px; color: var(--nsc-gold-light); }
.nsc-place > .elementor-element { width: 100% !important; max-width: 100% !important; margin: 0 !important; }
.nsc-place > .nsc-text { text-align: center; }
.nsc-place > .nsc-text p { margin: 0; }
.nsc-place > .e-con { padding: 0 !important; align-items: center; }

/* ---------- Side menu: larger, clearer brand pictures ---------- */
body .nsc-offcanvas .elementor-nav-menu a[href$="/mazda/"]::before,
body .nsc-offcanvas .elementor-nav-menu a[href$="/mazda"]::before,
body .nsc-offcanvas .elementor-nav-menu a[href$="/toyota/"]::before,
body .nsc-offcanvas .elementor-nav-menu a[href$="/toyota"]::before {
	width: 54px; height: 54px; margin-inline-end: 14px; border: 2px solid rgba(236, 210, 143, .85);
	filter: brightness(1.18) contrast(1.08); box-shadow: 0 4px 14px rgba(0, 0, 0, .45);
}

/* ---------- Circular groups stand out under the pointer ---------- */
.nsc-ngroup { transition: border-color .25s, background .25s, box-shadow .25s; }
.nsc-ngroup > summary h3 { transition: color .2s; }
.nsc-ngroup > summary:hover h3,
.nsc-ngroup > summary:focus-visible h3 { font-weight: 900 !important; color: #fff3cf !important; -webkit-text-stroke: .4px currentColor; }
.nsc-ngroup:has(> summary:hover) { border-color: var(--nsc-gold-light); background: rgba(236, 210, 143, .09); box-shadow: 0 0 0 1px rgba(236, 210, 143, .5); }

/* ---------- CX 50 video: no separate cover picture ---------- */
html:has(link[rel="canonical"][href$="/cx50/"]) .elementor-widget-video .elementor-custom-embed-image-overlay { display: none !important; }

/* ---------- Toyota page: another photo on the Corolla Cross slide ---------- */
.elementor .elementor-element.elementor-element-cefe2a1.e-con { background-image: url("../../../uploads/2026/11/nsc-ccross-04.jpg") !important; }

/* ---------- Home "products" slide: brands side by side ---------- */
.nsc-products { position: relative; width: 100%; height: 100vh; overflow: hidden; background: #070d1c; }
.nsc-brands-track { display: flex; width: 100%; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; }
.nsc-brands-track::-webkit-scrollbar { display: none; }
.nsc-brand-col { position: relative; flex: 1 1 0; min-width: 33.3333%; height: 100%; overflow: hidden; scroll-snap-align: start; text-decoration: none; transition: flex-grow .7s cubic-bezier(.16, 1, .3, 1); }
.nsc-products.is-scroll .nsc-brand-col { flex: 0 0 33.3333%; }
.nsc-brand-col + .nsc-brand-col { border-inline-start: 1px solid rgba(236, 210, 143, .35); }
/* The photo sits in the upper part, so the brand's logo stays clear of the text panel */
.nsc-brand-photo { position: absolute; inset: 0; background-repeat: no-repeat; background-size: max(100%, 117vh) auto; background-position: var(--nsc-focus, 50%) 0; filter: brightness(.82); transition: transform 1.2s cubic-bezier(.16, 1, .3, 1), filter .5s; }
.nsc-brand-col::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, #070d1c 0%, #070d1c 16%, rgba(7, 13, 28, 0) 52%); }
.nsc-brand-box {
	position: absolute; z-index: 1; bottom: 84px; left: 50%; transform: translateX(-50%); width: min(400px, 84%);
	display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 24px 20px; text-align: center;
	background: rgba(6, 14, 32, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	border: 1px solid rgba(201, 162, 77, .35); border-radius: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}
.nsc-brand-name { color: #fff; font-size: clamp(30px, 3.6vw, 52px); font-weight: 800; letter-spacing: .12em; line-height: 1.2; direction: ltr; }
.nsc-brand-sub { color: #e6e6e9; font-size: 16px; line-height: 1.9; }
.nsc-brand-go { margin-top: 8px; padding: 10px 28px; border: 1px solid var(--nsc-gold-light); color: var(--nsc-gold-light); font-size: 14px; font-weight: 700; transition: background .3s, color .3s; }
.nsc-brand-col:hover .nsc-brand-go, .nsc-brand-col:focus-visible .nsc-brand-go { background: var(--nsc-gold-grad); border-color: transparent; color: #000; }
.nsc-brand-col:focus-visible { outline: 3px solid var(--nsc-gold-light); outline-offset: -3px; }
@media (hover: hover) and (min-aspect-ratio: 1/1) {
	.nsc-products:not(.is-scroll) .nsc-brand-col:hover { flex-grow: 1.35; }
	.nsc-brand-col:hover .nsc-brand-photo { filter: brightness(1.05); transform: scale(1.04); }
}
.nsc-brands-arrow { position: absolute; z-index: 3; top: 26%; width: 48px; height: 48px; padding: 0 !important; border-radius: 50% !important; border: 1px solid rgba(236, 210, 143, .8) !important; background: rgba(0, 0, 0, .55) !important; cursor: pointer; }
.nsc-brands-arrow::before { content: ""; display: block; width: 11px; height: 11px; margin: auto; border: solid var(--nsc-gold-light); border-width: 0 0 2px 2px; transform: rotate(45deg); }
.nsc-brands-arrow.is-next { left: 18px; }
.nsc-brands-arrow.is-prev { right: 18px; }
.nsc-brands-arrow.is-prev::before { transform: rotate(225deg); }
/* Phones and portrait screens: two brands one above the other; more brands are swiped sideways */
@media (max-aspect-ratio: 1/1) {
	.nsc-products { height: 100svh; min-height: 520px; }
	.nsc-brands-track { flex-direction: column; overflow: hidden; }
	.nsc-brand-col { flex: 1 1 0; min-width: 0; height: auto; }
	.nsc-brand-col + .nsc-brand-col { border-inline-start: 0; border-top: 1px solid rgba(236, 210, 143, .35); }
	/* a smaller photo at the top, so the logo is not hidden behind the text panel */
	.nsc-brand-photo { background-size: 115% auto; }
	.nsc-brand-col::after { background: linear-gradient(0deg, #070d1c 0%, #070d1c 26%, rgba(7, 13, 28, 0) 62%); }
	.nsc-brand-box { bottom: 14px; gap: 2px; padding: 10px 14px; width: min(360px, 74%); }
	.nsc-brand-col:last-child .nsc-brand-box { bottom: 66px; }
	.nsc-brand-name { font-size: 24px; }
	.nsc-brand-sub { font-size: 13px; }
	.nsc-brand-go { margin-top: 4px; padding: 5px 18px; font-size: 12.5px; }
	.nsc-brands-arrow { display: none; }
	.nsc-products.is-many .nsc-brands-track { flex-direction: row; overflow-x: auto; }
	.nsc-products.is-many .nsc-brand-col { flex: 0 0 86%; height: 100%; }
	.nsc-products.is-many .nsc-brand-photo { background-size: auto 52%; background-position: var(--nsc-focus, 50%) 12%; -webkit-mask-image: linear-gradient(180deg, transparent 4%, #000 18%, #000 52%, transparent 66%); mask-image: linear-gradient(180deg, transparent 4%, #000 18%, #000 52%, transparent 66%); }
	.nsc-products.is-many .nsc-brand-col + .nsc-brand-col { border-top: 0; border-inline-start: 1px solid rgba(236, 210, 143, .35); }
	.nsc-products.is-many .nsc-brand-box { bottom: 80px; width: 86%; padding: 16px; }
}

/* ---------- Contact page: banner photo ---------- */
.elementor-66 .elementor-element.elementor-element-88daf40.e-con {
	background-image: url("../../../uploads/2026/11/nsc-bz5-05.jpg") !important;
	background-position: 50% 18% !important;
}
/* Wide screens: the banner fills the whole screen and the car (centre at 37% of the photo's width)
   is placed below the title, so it is never cut off */
@media (min-aspect-ratio: 3/2) {
	.elementor-66 .elementor-element.elementor-element-88daf40.e-con {
		min-height: 100vh !important;
		background-position: 50% clamp(calc(100vh - 66.667vw), calc(62vh - 37.1vw), 0px) !important;
	}
}

/* ---------- News and articles page: banner photo ---------- */
.elementor-63 .elementor-element.elementor-element-5051c1c.e-con {
	background-image: url("../../../uploads/2026/10/nsc-cx50-14.jpg") !important;
	background-position: 50% 0 !important;
}
/* Wide screens: the whole 4:3 photo is shown in the middle, its sides fade into the page colour.
   (106% height only trims the thin edges where the source site's watermark sits.) */
@media (min-aspect-ratio: 4/3) {
	.elementor-63 .elementor-element.elementor-element-5051c1c.e-con {
		min-height: 100vh !important;
		justify-content: center !important;
		background-color: #070d1c !important;
		background-image: linear-gradient(90deg, #070d1c calc(50% - 70.5vh), rgba(7, 13, 28, 0) calc(50% - 52vh), rgba(7, 13, 28, 0) calc(50% + 52vh), #070d1c calc(50% + 70.5vh)), url("../../../uploads/2026/10/nsc-cx50-14.jpg") !important;
		background-repeat: no-repeat !important;
		background-size: 100% 100%, auto 106% !important;
		background-position: 0 0, 50% 50% !important;
	}
}

/* ---------- Video lightbox: clear close button ---------- */
.elementor-lightbox .dialog-lightbox-close-button,
.elementor-lightbox .dialog-close-button {
	top: 18px !important;
	right: 18px !important;
	width: 48px;
	height: 48px;
	display: flex !important;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(0, 0, 0, .55);
	border: 1px solid rgba(236, 210, 143, .8);
	color: var(--nsc-gold-light) !important;
	font-size: 22px !important;
	opacity: 1 !important;
	z-index: 10;
	cursor: pointer;
}
.elementor-lightbox .dialog-lightbox-close-button svg,
.elementor-lightbox .dialog-close-button svg { fill: var(--nsc-gold-light) !important; width: 20px; height: 20px; }
body.admin-bar .elementor-lightbox .dialog-lightbox-close-button { top: 50px !important; }

/* ---------- Sales page (notices list + sidebar) ---------- */
.nsc-notices .elementor-icon-list-icon {
	width: 34px !important;
	height: 34px;
	min-width: 34px;
	border-radius: 50%;
	background: var(--nsc-gold-grad);
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	margin-inline-end: 12px;
}
.nsc-notices .elementor-icon-list-icon i,
.nsc-notices .elementor-icon-list-icon svg { color: #000 !important; fill: #000 !important; font-size: 14px !important; width: 14px; }
.nsc-notices .elementor-icon-list-text { color: #e6e6e9 !important; font-size: 16px; line-height: 1.9; transition: color .25s; }
.nsc-notices a:hover .elementor-icon-list-text { color: var(--nsc-gold-light) !important; }
.nsc-sidebar-link { border-top: 1px dashed rgba(236, 210, 143, .35); padding-top: 18px; }

/* Side menu sits inside the header, so lift the header above the page backdrop while the menu is open */
body.nsc-menu-open .elementor-location-header { z-index: 1110; }

/* Side menu clears the WordPress admin bar for logged-in admins */
body.admin-bar .e-con.nsc-offcanvas { top: 32px; height: calc(100vh - 32px); }
@media (max-width: 782px) { body.admin-bar .e-con.nsc-offcanvas { top: 46px; height: calc(100dvh - 46px); } }

/* Designer credit in the footer */
.nsc-footer-copy p { margin: 0 0 4px; }
.nsc-credit a { color: var(--nsc-gold-light) !important; direction: ltr; unicode-bidi: isolate; text-decoration: none; }
.nsc-credit a:hover { text-decoration: underline; }

/* Hints under the customer-relations form fields */
.nsc-hint { display: block; flex: 0 0 100%; width: 100%; margin-top: 6px; font-size: 13px; line-height: 1.8; color: var(--nsc-muted, #a2a2aa); transition: color .2s; }
.nsc-hint:empty { display: none; }
.nsc-hint.is-error { color: #ff8f8f; }

/* "Request registered" message in the middle of the screen */
.nsc-done {
	position: fixed;
	inset: 0;
	z-index: 3000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(4, 10, 24, .7);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s ease, visibility .3s ease;
}
.nsc-done.is-open { opacity: 1; visibility: visible; }
.nsc-done-box {
	width: min(420px, 100%);
	text-align: center;
	padding: 34px 28px 28px;
	border-radius: 18px;
	background: linear-gradient(165deg, #14264d 0%, #0a1530 100%);
	border: 1px solid rgba(236, 210, 143, .35);
	box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
	transform: translateY(14px) scale(.96);
	transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.nsc-done.is-open .nsc-done-box { transform: none; }
.nsc-done-icon {
	width: 68px;
	height: 68px;
	margin: 0 auto 18px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #ecd28f, #c9a24d);
}
.nsc-done-icon svg { width: 34px; height: 34px; fill: none; stroke: #0a1530; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.nsc-done-box h3 { margin: 0 0 10px; color: #fff; font-size: 21px; line-height: 1.6; }
.nsc-done-box p { margin: 0 0 22px; color: #c9c9d1; font-size: 15px; line-height: 1.9; }
.nsc-done-btn {
	padding: 11px 34px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, #ecd28f, #c9a24d);
	color: #0a1530;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}
body.nsc-done-open { overflow: hidden; }

/* E-Namad trust seal in the footer */
.nsc-enamad { display: flex; justify-content: center; padding: 14px 0 4px; }
.nsc-enamad a { display: inline-block; line-height: 0; }
/* Footer: the seal gets its own first column on the right; the other columns shift left to make room */
.nsc-footer-sealcol { display: flex; justify-content: center; align-items: flex-start; flex: 0 0 auto; }
.nsc-footer-sealcol .nsc-enamad { padding: 0; }
@media (min-width: 1025px) {
	.nsc-footer-row { flex-wrap: nowrap !important; }
	.nsc-footer-row > .nsc-footer-brandcol { width: 28% !important; }
}
@media (max-width: 1024px) {
	.nsc-footer-sealcol { width: 100%; justify-content: flex-start; }
}
.nsc-enamad img { display: block; width: auto; max-width: 110px; height: auto; background: #fff; border-radius: 8px; padding: 4px; }
.nsc-footer-sealcol .nsc-enamad img { max-width: 96px; padding: 4px; border-radius: 10px; box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }

/* ---------- Persian brand name in the home hero ---------- */
.nsc-hero-title .elementor-heading-title { direction: rtl; letter-spacing: 0 !important; }
/* Home hero: lighter overlay so the video is clearly visible */
.e-con.nsc-hero.nsc-dim::after {
	background: linear-gradient(180deg, rgba(6, 14, 32, .35) 0%, rgba(6, 14, 32, 0) 30%, rgba(6, 14, 32, 0) 65%, rgba(6, 14, 32, .45) 100%);
}

/* ---------- Product video title: small and readable ---------- */
.nsc-video-title .elementor-heading-title { font-weight: 700 !important; line-height: 1.5 !important; }

/* ---------- Sales circulars ---------- */
.nsc-notice-group h3 { font-size: 20px; margin: 0 0 12px; color: var(--nsc-gold-light); }
.nsc-notice {
	background: var(--nsc-surface);
	border: 1px solid var(--nsc-line);
	border-radius: 8px;
	margin-bottom: 10px;
	color: var(--nsc-text);
}
.nsc-notice summary {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	cursor: pointer;
	list-style: none;
}
.nsc-notice summary::-webkit-details-marker { display: none; }
.nsc-notice-title { flex: 1; font-size: 15px; }
.nsc-notice-date { font-size: 13px; color: var(--nsc-muted); white-space: nowrap; }
.nsc-notice ul { margin: 0; padding: 0 36px 14px 16px; color: #d0d0d6; font-size: 14px; line-height: 2; }
.nsc-notice.is-expired { opacity: .7; }
.nsc-badge { font-size: 12px; padding: 3px 10px; border-radius: 20px; white-space: nowrap; }
.nsc-badge.is-on { background: rgba(46, 160, 90, .2); color: #6fdc98; border: 1px solid rgba(111, 220, 152, .5); }
.nsc-badge.is-off { background: rgba(255, 255, 255, .06); color: #a2a2aa; border: 1px solid var(--nsc-line); }

/* ---------- Dealers: map, city buttons, vertical list ---------- */
.nsc-dealer-map {
	height: 420px;
	border-radius: 10px;
	border: 1px solid var(--nsc-line);
	margin-bottom: 18px;
	z-index: 1;
	direction: ltr;
}
@media (max-width: 767px) { .nsc-dealer-map { height: 320px; } }
.nsc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.nsc-chip {
	background: transparent !important;
	color: var(--nsc-text) !important;
	border: 1px solid var(--nsc-line) !important;
	border-radius: 20px !important;
	padding: 6px 16px !important;
	font-family: var(--nsc-font);
	font-size: 14px;
	cursor: pointer;
}
.nsc-chip.is-active, .nsc-chip:hover { border-color: var(--nsc-accent) !important; color: var(--nsc-gold-light) !important; }
.nsc-dealer-list { display: flex; flex-direction: column; gap: 12px; }
.nsc-dealer {
	background: var(--nsc-surface);
	border: 1px solid var(--nsc-line);
	border-radius: 10px;
	padding: 20px 22px;
	color: #d0d0d6;
	scroll-margin-top: 100px;
	transition: border-color .3s, box-shadow .3s;
}
.nsc-dealer.is-active { border-color: var(--nsc-accent); box-shadow: 0 0 0 2px rgba(201, 162, 77, .35); }
.nsc-dealer h3 { font-size: 19px; color: #fff; margin: 4px 0 10px; }
.nsc-dealer p { margin: 0 0 6px; font-size: 14px; }
.nsc-dealer p i { color: var(--nsc-accent); margin-left: 6px; }
.nsc-dealer a { color: var(--nsc-gold-light); }
.nsc-dealer-city { font-size: 13px; color: var(--nsc-accent); }
.nsc-dealer-type { color: var(--nsc-muted); }
.nsc-dealer-route {
	display: inline-block;
	margin-top: 8px;
	padding: 6px 16px;
	border: 1px solid var(--nsc-accent);
	border-radius: 20px;
	font-size: 13px;
}

/* ---------- About: brand models ---------- */
.nsc-models { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.nsc-model-tile {
	position: relative;
	display: flex;
	align-items: flex-end;
	height: 170px;
	border-radius: 10px;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	border: 1px solid var(--nsc-line);
}
.nsc-model-tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(6, 14, 32, .85)); }
.nsc-model-tile span { position: relative; padding: 12px 14px; color: #fff; font-weight: 700; font-size: 17px; }
.nsc-model-tile:hover { border-color: var(--nsc-accent); }

/* ---------- Wide popups (consumer law, customer relations) ---------- */
.e-con.nsc-modal-box.nsc-modal-wide { width: min(720px, 100%) !important; }
.nsc-law { padding-right: 20px; line-height: 2; color: #d0d0d6; }
.nsc-law li { margin-bottom: 6px; }
.nsc-form .e-form__indicators { margin-bottom: 18px; }
.nsc-form .e-form__indicators__indicator__label { color: var(--nsc-text); }
/* Long popups scroll instead of wrapping into a second column */
.e-con.nsc-modal-box { flex-wrap: nowrap !important; }
.e-con.nsc-modal-box > * { flex-shrink: 0; }
/* Multi-step form buttons */
.nsc-form .e-form__buttons__wrapper__button-next,
.nsc-form .e-form__buttons__wrapper__button-previous {
	background: var(--nsc-gold-grad) !important;
	color: #0b1730 !important;
	border: 0 !important;
	border-radius: 6px !important;
	font-weight: 700;
}
.nsc-form .e-form__buttons__wrapper__button-previous { background: transparent !important; color: var(--nsc-gold-light) !important; border: 1px solid var(--nsc-accent) !important; }
/* Hero title stays readable over bright video frames */
.nsc-hero .elementor-heading-title { filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .65)); }

/* ---------- Home: brand chooser (Mazda / Toyota) ---------- */
.nsc-brand-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
	width: min(1100px, 100%);
	margin: 10px auto 0;
}
.nsc-brand-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	height: min(62vh, 560px);
	padding: 28px 18px;
	border-radius: 14px;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	border: 1px solid var(--nsc-line);
	text-decoration: none !important;
	transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.nsc-brand-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(6, 14, 32, .05) 30%, rgba(6, 14, 32, .9) 100%);
	transition: background .35s ease;
}
.nsc-brand-card > span { position: relative; }
.nsc-brand-card:hover { transform: translateY(-6px); border-color: var(--nsc-accent); box-shadow: 0 18px 50px rgba(0, 0, 0, .45); }
.nsc-brand-name {
	direction: ltr;
	font-size: 40px;
	font-weight: 800;
	letter-spacing: .14em;
	background: var(--nsc-gold-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.nsc-brand-fa { color: #fff; font-size: 18px; }
.nsc-brand-go {
	margin-top: 8px;
	padding: 8px 22px;
	border: 1px solid var(--nsc-accent);
	border-radius: 24px;
	color: var(--nsc-gold-light);
	font-size: 14px;
}
.nsc-brand-card:hover .nsc-brand-go { background: var(--nsc-gold-grad); color: #0b1730; border-color: transparent; }
@media (max-width: 767px) {
	.nsc-brand-grid { grid-template-columns: 1fr; gap: 14px; }
	.nsc-brand-card { height: 36vh; padding: 18px 14px; }
	.nsc-brand-name { font-size: 30px; }
}
/* Brand home hero: English brand name, spaced */
.nsc-brand-title .elementor-heading-title { direction: ltr !important; letter-spacing: .16em !important; }
.nsc-btn-small .elementor-button { padding: 8px 18px !important; font-size: 13px !important; }
/* About: brand headings above model tiles */
.nsc-models-brand { margin: 18px 0 12px; font-size: 20px; }
.nsc-models-brand a { color: var(--nsc-gold-light); }
.nsc-brand-pick > .elementor-widget-html { width: 100%; }
.nsc-brand-card::before { background: linear-gradient(180deg, rgba(6, 14, 32, 0) 45%, rgba(6, 14, 32, .88) 100%); }

/* ---------- Side dots: label beside each dot ---------- */
.nsc-dots { align-items: flex-end; }
.nsc-dots a { position: relative; overflow: visible; }
.nsc-dot-label {
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	white-space: nowrap;
	font-size: 12px;
	line-height: 1;
	color: rgba(255, 255, 255, .75);
	text-shadow: 0 1px 6px rgba(0, 0, 0, .8);
	pointer-events: none;
	transition: color .3s, opacity .3s;
}
.nsc-dots a.is-active .nsc-dot-label { color: var(--nsc-gold-light); font-weight: 700; font-size: 13px; }
.nsc-dots a:hover .nsc-dot-label { color: #fff; }
/* Phones: only the current section's label, so it does not cover the page */
@media (max-width: 767px) {
	.nsc-dot-label { opacity: 0; font-size: 11px; right: 16px; }
	.nsc-dots a.is-active .nsc-dot-label { opacity: 1; font-size: 12px; }
}

/* ---------- Home brand slides: text in a glass panel beside the logo, not on top of it ---------- */
.e-con.nsc-brand-slide {
	justify-content: center !important;
	align-items: flex-start !important;
	padding: 90px max(7vw, 140px) 60px 40px !important;
	background-position: 100% 50% !important; /* pushes the logo to the left when the screen allows */
}
.e-con.nsc-brand-slide.nsc-dim::after {
	background: linear-gradient(270deg, rgba(6, 14, 32, .7) 0%, rgba(6, 14, 32, .25) 40%, rgba(6, 14, 32, 0) 60%);
}
.e-con.nsc-slide-panel {
	width: auto !important;
	max-width: 440px;
	padding: 30px 34px !important;
	background: rgba(6, 14, 32, .62);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(201, 162, 77, .35);
	border-radius: 14px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}
.nsc-slide-panel .elementor-heading-title { text-align: center !important; }
.nsc-slide-panel .nsc-car-title .elementor-heading-title { letter-spacing: .1em !important; }
/* Phones, tablets and any portrait screen: panel under the logo */
@media (max-aspect-ratio: 1/1) {
	.e-con.nsc-brand-slide {
		justify-content: flex-end !important;
		align-items: center !important;
		padding: 0 16px 80px !important;
		background-position: 50% 40% !important;
	}
	.e-con.nsc-brand-slide.nsc-dim::after {
		background: linear-gradient(0deg, rgba(6, 14, 32, .8) 0%, rgba(6, 14, 32, .3) 35%, rgba(6, 14, 32, 0) 55%);
	}
	.e-con.nsc-slide-panel { max-width: 520px; width: 100% !important; padding: 22px 18px !important; }
}
/* Brand slide photos are 3:2, not 4:3; the panel fades in with its text */
@media (prefers-reduced-motion: no-preference) {
	body.nsc-fullpage .e-con.nsc-car.nsc-brand-slide { background-size: calc(max(100vw, 150vh) * 1.1) auto !important; }
	body.nsc-fullpage .e-con.nsc-car.nsc-brand-slide.is-active { background-size: max(100vw, 150vh) auto !important; }
	body.nsc-reveal .nsc-brand-slide .nsc-slide-panel { opacity: 0; transition: opacity .8s ease .2s; }
	body.nsc-reveal .nsc-brand-slide.is-active .nsc-slide-panel { opacity: 1; }
}
/* Portrait screens: photo shown smaller at the top so the whole logo fits; panel sits on the dark area below */
@media (max-aspect-ratio: 1/1) {
	body .e-con.nsc-car.nsc-brand-slide,
	body.nsc-fullpage .e-con.nsc-car.nsc-brand-slide,
	body.nsc-fullpage .e-con.nsc-car.nsc-brand-slide.is-active {
		background-size: 170vw auto !important;
		background-position: 50% 18% !important;
		background-color: #070d1c !important;
	}
	.e-con.nsc-brand-slide.nsc-dim::after {
		background: linear-gradient(0deg, #070d1c 0%, #070d1c 38%, rgba(7, 13, 28, 0) 62%) !important;
	}
}

/* ---------- News & articles: card hover – gold border, bold text ---------- */
.elementor-posts .elementor-post { transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease; }
.elementor-posts .elementor-post:hover {
	border-color: var(--nsc-accent) !important;
	box-shadow: 0 0 0 1px var(--nsc-accent), 0 14px 34px rgba(0, 0, 0, .35);
	transform: translateY(-4px);
}
.elementor-posts .elementor-post:hover .elementor-post__title,
.elementor-posts .elementor-post:hover .elementor-post__title a,
.elementor-posts .elementor-post:hover .elementor-post__excerpt p,
.elementor-posts .elementor-post:hover .elementor-post__read-more { font-weight: 700 !important; }
.elementor-posts .elementor-post:hover .elementor-post__title a { color: var(--nsc-gold-light) !important; }

/* ---------- Dealer cards: code, owner, mobile ---------- */
.nsc-dealer-code { font-size: 13px; font-weight: 400; color: var(--nsc-accent); margin-right: 6px; }
.nsc-dealer-owner { color: #fff; font-weight: 700; }
.nsc-dealer a[dir="ltr"] { unicode-bidi: embed; }

/* ---------- Page banner with text on top (sales page): whole car visible below the title ---------- */
.e-con.nsc-banner.nsc-banner-top {
	min-height: 75vh !important;
	justify-content: flex-start !important;
	padding-top: 110px !important;
	background-position: 50% 80% !important;
}
@media (max-width: 767px) {
	.e-con.nsc-banner.nsc-banner-top {
		min-height: 60vh !important;
		padding-top: 90px !important;
		background-position-y: 100% !important;
	}
}
.nsc-banner .elementor-heading-title { text-shadow: 0 2px 16px rgba(0, 0, 0, .55); }
.nsc-banner .nsc-text p { text-shadow: 0 1px 8px rgba(0, 0, 0, .85); }
/* Taller banner with text at the bottom; per-banner vertical photo position on wide screens */
.e-con.nsc-banner.nsc-banner-tall { min-height: 75vh !important; }
@media (min-width: 768px) {
	.e-con.nsc-banner.nsc-by-10 { background-position: 50% 10% !important; }
	.e-con.nsc-banner.nsc-by-30 { background-position: 50% 30% !important; }
	.e-con.nsc-banner.nsc-by-35 { background-position: 50% 35% !important; }
	.e-con.nsc-banner.nsc-by-60 { background-position: 50% 60% !important; }
	.e-con.nsc-banner.nsc-by-75 { background-position: 50% 75% !important; }
	.e-con.nsc-banner.nsc-by-80 { background-position: 50% 80% !important; }
	.e-con.nsc-banner.nsc-by-85 { background-position: 50% 85% !important; }
}
@media (max-width: 767px) { .e-con.nsc-banner.nsc-banner-tall { min-height: 60vh !important; } }

/* Full-screen car sections: zoom sizes for 3:2 and 16:9 photos (default rule assumes 4:3), so no empty bands on tall screens */
@media (prefers-reduced-motion: no-preference) {
	body.nsc-fullpage .e-con.nsc-car.nsc-ar-150 { background-size: calc(max(100vw, 150vh) * 1.1) auto !important; }
	body.nsc-fullpage .e-con.nsc-car.nsc-ar-150.is-active { background-size: max(100vw, 150vh) auto !important; }
	body.nsc-fullpage .e-con.nsc-car.nsc-ar-178 { background-size: calc(max(100vw, 177.8vh) * 1.1) auto !important; }
	body.nsc-fullpage .e-con.nsc-car.nsc-ar-178.is-active { background-size: max(100vw, 177.8vh) auto !important; }
}

/* ---------- After-sales: square booking card ---------- */
.nsc-book-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: min(300px, 80vw);
	aspect-ratio: 1 / 1;
	margin: 0 auto;
	padding: 24px;
	text-align: center;
	background: var(--nsc-surface-2);
	border: 1px solid rgba(201, 162, 77, .55);
	border-radius: 16px;
	color: var(--nsc-text) !important;
	text-decoration: none !important;
	box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
	transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.nsc-book-card svg { width: 54px; height: 54px; fill: none; stroke: var(--nsc-accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nsc-book-title { font-size: 22px; font-weight: 800; color: #fff; }
.nsc-book-text { font-size: 15px; color: #d0d0d6; }
.nsc-book-go {
	margin-top: 6px;
	padding: 9px 26px;
	border-radius: 24px;
	background: var(--nsc-gold-grad);
	color: #0b1730;
	font-weight: 700;
	font-size: 14px;
}
.nsc-book-card:hover { transform: translateY(-6px); border-color: var(--nsc-accent); box-shadow: 0 0 0 1px var(--nsc-accent), 0 24px 50px rgba(0, 0, 0, .4); }
.nsc-book-card:hover .nsc-book-title { color: var(--nsc-gold-light); }

/* ---------- Company logo over the top videos (like shetabran.com) ---------- */
.nsc-hero .nsc-hero-logo img {
	width: clamp(140px, 19vw, 280px) !important; /* 40% smaller than v1.21.0 */
	height: auto;
	filter: drop-shadow(0 8px 28px rgba(0, 0, 0, .6));
}
.nsc-hero .nsc-hero-logo.nsc-hero-logo-sm img { width: clamp(83px, 8.3vw, 121px) !important; }
@media (max-width: 767px) {
	.nsc-hero .nsc-hero-logo img { width: 39vw !important; }
	.nsc-hero .nsc-hero-logo.nsc-hero-logo-sm img { width: 21vw !important; }
}
/* Small company name under the home logo */
.nsc-hero-name .elementor-heading-title {
	font-weight: 700 !important;
	letter-spacing: 0 !important;
	background: var(--nsc-gold-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent !important;
	filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .7));
}

/* New outline logo (white lines, transparent) – slightly faded over the videos like shetabran.com */
.nsc-hero .nsc-hero-logo img { opacity: .8; }

/* ---------- Live search overlay ---------- */
body.nsc-search-open { overflow: hidden; }
.nsc-search {
	position: fixed;
	inset: 0;
	z-index: 1300;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	padding: 12vh 20px 24px;
	background: rgba(8, 17, 36, .94);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	opacity: 0;
	visibility: hidden;
	transition: opacity .25s ease, visibility .25s ease;
	direction: rtl;
}
.nsc-search.is-open { opacity: 1; visibility: visible; }
.nsc-search-close {
	position: absolute;
	top: 18px;
	left: 22px;
	width: 44px;
	height: 44px;
	padding: 0;
	background: transparent !important;
	border: 0 !important;
	color: var(--nsc-gold-light) !important;
	font-size: 34px;
	line-height: 1;
	cursor: pointer;
	opacity: .8;
	transition: opacity .2s ease, transform .2s ease;
}
.nsc-search-close:hover { opacity: 1; transform: rotate(90deg); }
.nsc-search-panel {
	width: 100%;
	max-width: 680px;
	max-height: 100%;
	display: flex;
	flex-direction: column;
	transform: translateY(14px);
	transition: transform .3s ease;
}
.nsc-search.is-open .nsc-search-panel { transform: none; }

.nsc-search-field {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 0 2px 14px;
	border-bottom: 1px solid rgba(236, 210, 143, .45);
	transition: border-color .25s ease;
}
.nsc-search-field:focus-within { border-color: var(--nsc-gold-light); }
.nsc-search-field svg {
	flex: none;
	width: 24px;
	height: 24px;
	fill: none;
	stroke: var(--nsc-gold-light);
	stroke-width: 1.8;
	stroke-linecap: round;
}
.nsc-search .nsc-search-input {
	flex: 1;
	min-width: 0;
	padding: 4px 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: none !important;
	color: #fff !important;
	font-size: 24px !important;
	line-height: 1.5;
	-webkit-appearance: none;
	appearance: none;
}
.nsc-search .nsc-search-input::placeholder { color: rgba(255, 255, 255, .38); }
.nsc-search .nsc-search-input::-webkit-search-cancel-button { display: none; }
.nsc-search-spin {
	flex: none;
	width: 18px;
	height: 18px;
	border: 2px solid rgba(236, 210, 143, .25);
	border-top-color: var(--nsc-gold-light);
	border-radius: 50%;
	opacity: 0;
	transition: opacity .2s ease;
	animation: nsc-spin .7s linear infinite;
}
.nsc-search.is-loading .nsc-search-spin { opacity: 1; }
@keyframes nsc-spin { to { transform: rotate(360deg); } }

.nsc-search-note {
	min-height: 0;
	padding: 14px 2px 0;
	color: var(--nsc-muted);
	font-size: 14px;
}
.nsc-search-note:empty { display: none; }
.nsc-search-label { width: 100%; margin-bottom: 2px; color: var(--nsc-muted); font-size: 13px; }
.nsc-search-chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 18px; }
.nsc-search-chips:empty { display: none; }
.nsc-search a.nsc-chip-link {
	padding: 7px 16px;
	border: 1px solid var(--nsc-line);
	border-radius: 999px;
	color: var(--nsc-text);
	font-size: 14px;
	text-decoration: none;
	transition: border-color .2s ease, color .2s ease;
}
.nsc-search a.nsc-chip-link:hover { border-color: var(--nsc-gold-light); color: var(--nsc-gold-light); }

.nsc-search-results {
	margin-top: 10px;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	scrollbar-color: rgba(236, 210, 143, .35) transparent;
}
.nsc-search-results:empty { display: none; }
.nsc-s-item { padding: 16px 0; border-bottom: 1px solid var(--nsc-line); }
.nsc-s-item:last-child { border-bottom: 0; }
.nsc-search a.nsc-s-link {
	display: block;
	border-radius: 6px;
	color: var(--nsc-text);
	text-decoration: none;
	transition: background-color .15s ease;
}
.nsc-search a.nsc-s-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 4px 8px;
}
.nsc-s-title { color: #fff; font-size: 18px; font-weight: 600; }
.nsc-s-type {
	flex: none;
	color: var(--nsc-muted);
	font-size: 12px;
	letter-spacing: .02em;
}
.nsc-search a.nsc-s-snip { padding: 7px 8px; font-size: 14px; line-height: 1.9; color: #b9b9c3; }
.nsc-s-sec { display: block; margin-bottom: 1px; color: var(--nsc-accent); font-size: 12px; }
.nsc-search a.nsc-s-link:hover,
.nsc-search a.nsc-s-link.is-selected { background: rgba(236, 210, 143, .09); }
.nsc-search a.nsc-s-link:hover .nsc-s-title,
.nsc-search a.nsc-s-link.is-selected .nsc-s-title { color: var(--nsc-gold-light); }
.nsc-search mark {
	padding: 0;
	background: none;
	color: var(--nsc-gold-light);
	font-weight: 700;
}

@media (max-width: 767px) {
	.nsc-search { padding: 84px 16px 16px; }
	.nsc-search-close { top: 14px; left: 14px; }
	.nsc-search .nsc-search-input { font-size: 19px !important; }
	.nsc-s-title { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.nsc-search, .nsc-search-panel { transition: none; }
	.nsc-search-spin { animation-duration: 1.6s; }
}

/* ---------- Side menu: brand logo beside Mazda / Toyota (Products submenu) ---------- */
.nsc-offcanvas .elementor-nav-menu a[href$="/mazda/"]::before,
.nsc-offcanvas .elementor-nav-menu a[href$="/mazda"]::before,
.nsc-offcanvas .elementor-nav-menu a[href$="/toyota/"]::before,
.nsc-offcanvas .elementor-nav-menu a[href$="/toyota"]::before {
	content: "";
	flex: none;
	width: 1.4em;
	height: 1.4em;
	margin-inline-end: .65em;
	border-radius: 50%;
	border: 1px solid rgba(236, 210, 143, .45);
	background-color: #000;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
.nsc-offcanvas .elementor-nav-menu a[href$="/mazda/"]::before,
.nsc-offcanvas .elementor-nav-menu a[href$="/mazda"]::before { background-image: url("menu-brand-mazda.webp"); }
.nsc-offcanvas .elementor-nav-menu a[href$="/toyota/"]::before,
.nsc-offcanvas .elementor-nav-menu a[href$="/toyota"]::before { background-image: url("menu-brand-toyota.webp"); }

/* ---------- Home "About" section: smaller company logo, nudged to the left ---------- */
.nsc-about .nsc-img img {
	display: block;
	width: clamp(150px, 16vw, 260px) !important; /* was about 25% of the screen width */
	max-width: 100% !important;
	height: auto !important;
	margin-inline: auto;
	transform: translateX(calc(-1 * clamp(12px, 2.5vw, 40px))); /* negative = to the left; set 0 to undo */
}
@media (max-width: 767px) {
	.nsc-about .nsc-img img { width: 140px !important; transform: none; }
}

/* ---------- "About us" PAGE: smaller company logo, nudged to the left (same as the home page) ---------- */
html:has(link[rel="canonical"][href*="/about"]) .nsc-img img {
	display: block;
	width: clamp(150px, 16vw, 260px) !important;
	max-width: 100% !important;
	height: auto !important;
	object-fit: contain;
	margin-inline: auto;
	transform: translateX(calc(-1 * clamp(12px, 2.5vw, 40px))); /* negative = to the left; set 0 to undo */
}
@media (max-width: 767px) {
	html:has(link[rel="canonical"][href*="/about"]) .nsc-img img { width: 140px !important; transform: none; }
}

/* =========================================================================
 * Modern polish (v1.27): glass side menu, glass header on scroll, hover details
 * ====================================================================== */

/* ---------- Glass side menu ---------- */
.e-con.nsc-offcanvas {
	background: linear-gradient(165deg, rgba(18, 34, 70, .62) 0%, rgba(8, 17, 38, .74) 100%) !important;
	-webkit-backdrop-filter: blur(26px) saturate(150%);
	backdrop-filter: blur(26px) saturate(150%);
	border-left: 1px solid rgba(236, 210, 143, .28) !important;
	box-shadow: -24px 0 60px rgba(0, 0, 0, .45), inset 1px 0 0 rgba(255, 255, 255, .06);
}
/* The dimmed layer behind the panel is softly blurred too */
.nsc-backdrop {
	background: rgba(4, 10, 24, .42);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}
/* If the browser cannot blur, fall back to a solid panel so text stays readable */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.e-con.nsc-offcanvas { background: #0a1530 !important; }
	.nsc-backdrop { background: rgba(4, 10, 24, .7); }
}

/* Items glide in one after another when the menu opens */
.nsc-offcanvas .elementor-nav-menu > li,
.nsc-offcanvas .nsc-logo-img,
.nsc-offcanvas .elementor-widget-heading,
.nsc-offcanvas .nsc-social {
	opacity: 0;
	transform: translateX(26px);
	transition: opacity .35s ease, transform .35s ease;
}
body.nsc-menu-open .nsc-offcanvas .elementor-nav-menu > li,
body.nsc-menu-open .nsc-offcanvas .nsc-logo-img,
body.nsc-menu-open .nsc-offcanvas .elementor-widget-heading,
body.nsc-menu-open .nsc-offcanvas .nsc-social {
	opacity: 1;
	transform: none;
	transition: opacity .55s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
}
body.nsc-menu-open .nsc-offcanvas .nsc-logo-img { transition-delay: .12s; }
body.nsc-menu-open .nsc-offcanvas .elementor-nav-menu > li:nth-child(1) { transition-delay: .18s; }
body.nsc-menu-open .nsc-offcanvas .elementor-nav-menu > li:nth-child(2) { transition-delay: .24s; }
body.nsc-menu-open .nsc-offcanvas .elementor-nav-menu > li:nth-child(3) { transition-delay: .30s; }
body.nsc-menu-open .nsc-offcanvas .elementor-nav-menu > li:nth-child(4) { transition-delay: .36s; }
body.nsc-menu-open .nsc-offcanvas .elementor-nav-menu > li:nth-child(5) { transition-delay: .42s; }
body.nsc-menu-open .nsc-offcanvas .elementor-nav-menu > li:nth-child(6) { transition-delay: .48s; }
body.nsc-menu-open .nsc-offcanvas .elementor-nav-menu > li:nth-child(n+7) { transition-delay: .54s; }
body.nsc-menu-open .nsc-offcanvas .elementor-widget-heading,
body.nsc-menu-open .nsc-offcanvas .nsc-social { transition-delay: .6s; }

/* Gold line grows under a link on hover */
.nsc-offcanvas .elementor-nav-menu a {
	border-bottom-color: transparent;
	background-image: linear-gradient(90deg, rgba(236, 210, 143, 0), var(--nsc-gold-light));
	background-repeat: no-repeat;
	background-position: 100% 100%;
	background-size: 0 1px;
	transition: background-size .45s cubic-bezier(.2, .7, .2, 1), color .25s ease;
}
.nsc-offcanvas .elementor-nav-menu a:hover,
.nsc-offcanvas .elementor-nav-menu a:focus-visible { background-size: 100% 1px; }
.nsc-offcanvas .elementor-nav-menu > li > a { box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .07); }
.nsc-close { transition: transform .35s ease, border-color .25s ease, background-color .25s ease; }
.nsc-close:hover { transform: rotate(90deg); border-color: var(--nsc-gold-light) !important; }

/* ---------- Glass strip behind the header icons once the page is scrolled ---------- */
/* (a separate layer, not the header itself: blurring the header would break the fixed side menu inside it) */
.elementor-location-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	opacity: 0;
	background: linear-gradient(180deg, rgba(8, 17, 38, .6), rgba(8, 17, 38, .32));
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	backdrop-filter: blur(14px) saturate(140%);
	box-shadow: 0 1px 0 rgba(236, 210, 143, .18);
	transition: opacity .4s ease;
}
body.nsc-scrolled .elementor-location-header::before { opacity: 1; }
body.nsc-menu-open .elementor-location-header::before,
body.nsc-search-open .elementor-location-header::before { opacity: 0; }

/* ---------- Model tiles and cards ---------- */
.nsc-model-tile {
	transition: transform .45s cubic-bezier(.2, .7, .2, 1), border-color .3s ease, box-shadow .45s ease;
}
.nsc-model-tile::before { transition: opacity .4s ease; }
.nsc-model-tile:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .45), 0 0 0 1px rgba(236, 210, 143, .45);
}
.nsc-model-tile:hover span { color: var(--nsc-gold-light); }
.e-con.nsc-card { transition: transform .45s cubic-bezier(.2, .7, .2, 1), border-color .3s ease, box-shadow .45s ease; }
.e-con.nsc-card:hover { box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }

/* ---------- Buttons: a soft golden shine passes over on hover ---------- */
.nsc-btn .elementor-button,
.nsc-btn-solid .elementor-button {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}
.nsc-btn .elementor-button::after,
.nsc-btn-solid .elementor-button::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: -90%;
	width: 55%;
	z-index: -1;
	pointer-events: none;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent);
	transform: skewX(-20deg);
	transition: left .8s ease;
}
.nsc-btn .elementor-button:hover::after,
.nsc-btn-solid .elementor-button:hover::after { left: 140%; }

/* In the Elementor editor the menu is shown as a plain block: keep everything visible */
body.elementor-editor-active .nsc-offcanvas .elementor-nav-menu > li,
body.elementor-editor-active .nsc-offcanvas .nsc-logo-img,
body.elementor-editor-active .nsc-offcanvas .elementor-widget-heading,
body.elementor-editor-active .nsc-offcanvas .nsc-social { opacity: 1; transform: none; }

/* ---------- Page transitions: fade in when a page opens, fade out when a link is followed ---------- */
@keyframes nsc-page-in { from { opacity: 0; } to { opacity: 1; } }
body:not(.elementor-editor-active) { animation: nsc-page-in .6s ease; }
body.nsc-leaving { opacity: 0; transition: opacity .22s ease; }

@media (prefers-reduced-motion: reduce) {
	body:not(.elementor-editor-active) { animation: none; }
	body.nsc-leaving { opacity: 1; }
	.nsc-offcanvas .elementor-nav-menu > li,
	.nsc-offcanvas .nsc-logo-img,
	.nsc-offcanvas .elementor-widget-heading,
	.nsc-offcanvas .nsc-social { transform: none; transition: opacity .2s ease; transition-delay: 0s !important; }
	.nsc-model-tile:hover { transform: none; }
}
