/* ==========================================================================
   Navagriha — main stylesheet
   Look & feel inspired by soft-sky, calm editorial sites (Genesis-style),
   coloured with the Nava Griha logo: navy + brick red. Font: Montserrat.
   ========================================================================== */

:root {
	--navy: #1E3A5F;
	--navy-700: #17304F;
	--navy-900: #0E1D33;
	--red: #991B1E;
	--red-600: #B12226;
	--red-300: #E46A6E;
	--ink: #13233A;
	--body: #4A5A70;
	--muted: #7A889B;
	--line: #E2E8F0;
	--sky-1: #DCEAF7;
	--sky-2: #EEF4FA;
	--dawn: #F7E9DF;
	--cream: #F7F4EF;
	--tint: #F3F6FA;
	--white: #fff;

	--font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-np: "Mukta", "Montserrat", sans-serif;

	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--r-sm: 12px;
	--r: 20px;
	--r-lg: 32px;
	--r-xl: 48px;
	--shadow-sm: 0 2px 8px rgba(19, 35, 58, .06);
	--shadow: 0 18px 50px -18px rgba(19, 35, 58, .25);
	--shadow-lg: 0 40px 90px -30px rgba(19, 35, 58, .35);
	--ease: cubic-bezier(.22, 1, .36, 1);
	--header-h: 84px;
}

/* ── Base ─────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.ng-site {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	color: var(--body);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
:where(.ng-site) img { max-width: 100%; height: auto; display: block; }
:where(.ng-site) a { color: inherit; text-decoration: none; }
:where(.ng-site) :where(h1, h2, h3, h4) { color: var(--ink); margin: 0; line-height: 1.15; font-weight: 600; letter-spacing: -.01em; }
:where(.ng-site) p { margin: 0; }
:where(.ng-site) :where(ul, ol) { margin: 0; padding: 0; list-style: none; }
:where(.ng-site) button { font: inherit; cursor: pointer; }
.ng-site ::selection { background: var(--red); color: #fff; }
.ng-site :focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.ng-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.ng-main { display: block; }
.ng-skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.ng-skip:focus { left: 8px; }
.ng-icon { width: 1.25em; height: 1.25em; flex: none; }

/* ── Type helpers ─────────────────────────────────────────────────────── */

.ng-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
	color: var(--red);
	margin-bottom: 14px;
}
.ng-eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.ng-eyebrow--light { color: #F2A3A5; }

.ng-h2 {
	font-size: clamp(30px, 4.4vw, 52px);
	font-weight: 300;
	letter-spacing: -.025em;
	line-height: 1.1;
	color: var(--ink);
}
.ng-h2 em, .ng-h3 em { font-style: normal; font-weight: 600; color: var(--red); }
.ng-h2--light { color: #fff; }
.ng-h2--light em { color: #F2A3A5; }
.ng-h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; letter-spacing: -.015em; line-height: 1.2; margin-bottom: 18px; }
.ng-lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--body); max-width: 620px; margin-top: 18px; }

.ng-shead { margin-bottom: clamp(36px, 5vw, 64px); }
.ng-shead--center { text-align: center; }
.ng-shead--center .ng-lead { margin-left: auto; margin-right: auto; }
.ng-shead--light .ng-h2 { color: #fff; }
.ng-shead-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 56px); }
.ng-shead-row .ng-shead { margin-bottom: 0; }

.ng-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--red); font-size: 15px; }
.ng-link .ng-icon { transition: transform .35s var(--ease); }
.ng-link:hover .ng-icon, a:hover > .ng-link .ng-icon { transform: translateX(5px); }

/* ── Buttons ──────────────────────────────────────────────────────────── */

.ng-btn {
	--bg: var(--navy); --fg: #fff;
	position: relative; overflow: hidden; isolation: isolate;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 28px; border-radius: 999px; border: 1.5px solid transparent;
	background: var(--bg); color: var(--fg);
	font-family: var(--font); font-weight: 600; font-size: 15px; line-height: 1; letter-spacing: .01em;
	white-space: nowrap; cursor: pointer;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.ng-btn::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
	transform: translateX(-120%); transition: transform .8s var(--ease);
}
.ng-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(19, 35, 58, .45); }
.ng-btn:hover::after { transform: translateX(120%); }
.ng-btn .ng-icon { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.ng-btn:hover .ng-icon:last-child { transform: translateX(3px); }
.ng-btn--red { --bg: var(--red); }
.ng-btn--red:hover { --bg: var(--red-600); }
.ng-btn--white { --bg: #fff; --fg: var(--ink); }
.ng-btn--outline { --bg: transparent; --fg: var(--navy); border-color: rgba(30,58,95,.25); }
.ng-btn--outline:hover { --bg: var(--navy); --fg: #fff; border-color: var(--navy); }
.ng-btn--ghost { --bg: var(--tint); --fg: var(--navy); }
.ng-btn--sm { padding: 12px 20px; font-size: 14px; }
.ng-btn--block { width: 100%; }

.ng-round {
	width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
	background: #fff; border: 1px solid var(--line); color: var(--navy);
	transition: background .3s, color .3s, transform .3s var(--ease);
}
.ng-round:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.ng-round[data-slide="-1"] .ng-icon { transform: rotate(180deg); }

/* ── Header ───────────────────────────────────────────────────────────── */

.ng-header {
	position: fixed; inset: 0 0 auto 0; z-index: 60;
	padding: 14px 0;
	transition: background-color .4s, box-shadow .4s, padding .4s var(--ease), transform .45s var(--ease);
}
.ng-header::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: rgba(255,255,255,.78);
	backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
	opacity: 0; transition: opacity .4s;
	box-shadow: 0 1px 0 rgba(19,35,58,.06), 0 10px 30px -20px rgba(19,35,58,.3);
}
.ng-header.is-scrolled { padding: 8px 0; }
.ng-header.is-scrolled::before { opacity: 1; }
.ng-header.is-hidden { transform: translateY(-110%); }
.ng-header__inner { display: flex; align-items: center; gap: 24px; }
.ng-brand { flex: none; display: block; width: 210px; transition: width .4s var(--ease); }
.ng-header.is-scrolled .ng-brand { width: 180px; }
.ng-logo-svg { width: 100%; height: auto; display: block; overflow: visible; }
.ng-logo-svg .ln { fill: var(--navy); }
.ng-logo-svg .lr { fill: var(--red); }
.ng-logo-svg.is-light .ln { fill: #fff; }
.ng-logo-svg.is-light .lr { fill: #F07E82; }

.ng-nav { flex: 1; display: flex; justify-content: center; }
.ng-menu { display: flex; align-items: center; gap: 4px; }
.ng-menu__item { position: relative; display: flex; align-items: center; }
.ng-menu__item > a {
	position: relative; padding: 10px 14px; font-size: 14.5px; font-weight: 500; color: var(--ink);
	border-radius: 999px; transition: color .25s, background-color .25s;
}
.ng-menu__item > a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px;
	background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.ng-menu__item > a:hover::after, .ng-menu__item.is-active > a::after { transform: scaleX(1); }
.ng-menu__item.is-active > a { color: var(--red); }
.ng-menu__item.has-sub > a { padding-right: 4px; }
.ng-subtoggle { background: none; border: 0; padding: 6px 8px 6px 2px; color: var(--ink); display: grid; place-items: center; }
.ng-subtoggle .ng-icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.ng-sub {
	position: absolute; top: calc(100% + 10px); left: 50%; width: 340px;
	transform: translate(-50%, 10px); opacity: 0; visibility: hidden;
	transition: opacity .3s, transform .4s var(--ease), visibility .3s;
	background: #fff; border-radius: var(--r); padding: 10px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.ng-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.ng-menu__item.has-sub:hover .ng-sub, .ng-menu__item.has-sub:focus-within .ng-sub, .ng-menu__item.is-open .ng-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.ng-menu__item.has-sub:hover .ng-subtoggle .ng-icon { transform: rotate(180deg); }
.ng-sub a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: 14px; font-weight: 500; color: var(--ink); transition: background .25s, color .25s; }
.ng-sub a:hover { background: var(--tint); color: var(--red); }
.ng-sub__ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--tint); color: var(--navy); flex: none; transition: background .25s, color .25s; }
.ng-sub a:hover .ng-sub__ic { background: var(--red); color: #fff; }
.ng-sub__ic .ng-icon { width: 18px; height: 18px; }
.ng-sub__all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.ng-sub__all a { color: var(--red); font-weight: 600; justify-content: space-between; }

.ng-header__actions { display: flex; align-items: center; gap: 14px; flex: none; }
.ng-phone { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.ng-phone__ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(30,58,95,.08); color: var(--navy); transition: background .3s, color .3s; }
.ng-phone:hover .ng-phone__ic { background: var(--navy); color: #fff; }
.ng-phone__ic .ng-icon { width: 18px; height: 18px; }
.ng-phone__txt { display: flex; flex-direction: column; font-weight: 700; font-size: 14.5px; line-height: 1.2; }
.ng-phone__txt small { font-weight: 500; font-size: 11px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

.ng-login { display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid rgba(30,58,95,.22); color: var(--navy); font-size: 14px; font-weight: 600; line-height: 1; transition: background .3s, color .3s, border-color .3s, transform .35s var(--ease); }
.ng-login .ng-icon { width: 17px; height: 17px; }
.ng-login:hover { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateY(-1px); }
.ng-burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--navy); position: relative; }
.ng-burger span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: #fff; transition: transform .4s var(--ease), opacity .3s, top .4s var(--ease); }
.ng-burger span:nth-child(1) { top: 16px; }
.ng-burger span:nth-child(2) { top: 22px; }
.ng-burger span:nth-child(3) { top: 28px; }
.ng-burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.ng-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ng-burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* Mobile menu */
.ng-mobile {
	position: fixed; inset: 0; z-index: 55; padding-top: 86px;
	background: linear-gradient(180deg, var(--sky-2), #fff 60%);
	clip-path: circle(0% at calc(100% - 44px) 44px);
	transition: clip-path .7s var(--ease); visibility: hidden;
	overflow-y: auto;
}
.ng-mobile.is-open { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; }
.ng-mobile__panel { padding: 16px var(--gutter) 40px; display: flex; flex-direction: column; min-height: 100%; }
.ng-mnav > li { border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .6s var(--ease); }
.ng-mobile.is-open .ng-mnav > li { opacity: 1; transform: none; }
.ng-mobile.is-open .ng-mnav > li:nth-child(1) { transition-delay: .12s; }
.ng-mobile.is-open .ng-mnav > li:nth-child(2) { transition-delay: .17s; }
.ng-mobile.is-open .ng-mnav > li:nth-child(3) { transition-delay: .22s; }
.ng-mobile.is-open .ng-mnav > li:nth-child(4) { transition-delay: .27s; }
.ng-mobile.is-open .ng-mnav > li:nth-child(5) { transition-delay: .32s; }
.ng-mobile.is-open .ng-mnav > li:nth-child(6) { transition-delay: .37s; }
.ng-mnav > li > a { flex: 1; padding: 16px 0; font-size: 22px; font-weight: 500; color: var(--ink); }
.ng-mnav > li.is-active > a { color: var(--red); }
.ng-mnav .ng-subtoggle { width: 44px; height: 44px; border-radius: 50%; background: var(--tint); padding: 0; }
.ng-mnav .is-open .ng-subtoggle .ng-icon { transform: rotate(180deg); }
.ng-mnav .ng-sub { position: static; width: 100%; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0; background: transparent; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.ng-mnav .ng-sub::before, .ng-mnav .ng-menu__item > a::after { display: none; }
.ng-mnav .ng-sub, .ng-mnav .is-open .ng-sub { transform: none !important; left: auto; flex: 0 0 100%; }
.ng-mnav .ng-sub > ul { overflow: hidden; }
.ng-mnav .is-open .ng-sub { grid-template-rows: 1fr; }
.ng-mnav .ng-sub a { padding: 10px 0; }
.ng-mnav .ng-sub ul { padding-bottom: 10px; }
.ng-mobile__foot { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; }
.ng-mobile__tag { text-align: center; font-family: var(--font-np); font-size: 20px; color: var(--navy); margin-top: 8px; }
body.ng-lock { overflow: hidden; }

/* ── Hero (home) ──────────────────────────────────────────────────────── */

.ng-hero {
	position: relative; min-height: max(680px, 100svh); overflow: hidden;
	display: flex; flex-direction: column;
	background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 40%, var(--dawn) 100%);
}
.ng-hero__bg { position: absolute; inset: 0; overflow: hidden; }
.ng-hero__bg picture { display: block; width: 100%; height: 100%; }
.ng-hero__bg img {
	width: 100%; height: 115%; object-fit: cover; object-position: center 85%;
	transform-origin: 50% 70%;
	animation: ng-kenburns 2.8s var(--ease) both;
	will-change: transform;
}
.ng-hero__veil {
	position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(236, 244, 251, 1) 0%, rgba(236, 244, 251, .96) 34%, rgba(236, 244, 251, .78) 52%, rgba(236, 244, 251, 0) 74%),
		linear-gradient(0deg, rgba(14, 29, 51, .35) 0%, rgba(14, 29, 51, 0) 28%);
}
.ng-hero__inner { position: relative; z-index: 2; text-align: center; padding-top: calc(var(--header-h) + clamp(40px, 8vh, 90px)); }
.ng-hero__np { font-family: var(--font-np); font-weight: 500; font-size: clamp(18px, 2vw, 22px); color: var(--red); margin-bottom: 14px; letter-spacing: .02em; }
.ng-hero__title {
	font-size: clamp(36px, 6.2vw, 78px); font-weight: 300; line-height: 1.05; letter-spacing: -.035em; color: var(--ink);
	max-width: 15ch; margin: 0 auto;
}
.ng-hero__text { max-width: 600px; margin: 22px auto 0; font-size: clamp(16px, 1.5vw, 19px); color: #2E4059; }
.ng-hero__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

.ng-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.ng-word > span { display: inline-block; transform: translateY(105%); animation: ng-rise 1s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 250ms); }
.ng-word--em > span { font-weight: 600; color: var(--red); }

.ng-fade { opacity: 0; transform: translateY(18px); animation: ng-fadeup .9s var(--ease) forwards; animation-delay: var(--d, 0ms); }

.ng-hero__cards { position: relative; z-index: 2; margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding-bottom: 40px; padding-top: 40px; pointer-events: none; }
.ng-glass {
	pointer-events: auto;
	background: rgba(14,29,51,.38); border: 1px solid rgba(255,255,255,.35);
	backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
	border-radius: 22px; padding: 18px 20px; color: #fff;
	box-shadow: 0 20px 50px -20px rgba(14,29,51,.5);
	animation-name: ng-fadeup, ng-float; animation-duration: .9s, 6s; animation-timing-function: var(--ease), ease-in-out;
	animation-delay: var(--d), calc(var(--d) + 1s); animation-iteration-count: 1, infinite; animation-fill-mode: forwards, none;
}
.ng-glass--steps { animation-delay: var(--d), calc(var(--d) + 2.2s); }
.ng-glass__label { font-size: 13px; font-weight: 600; letter-spacing: .02em; margin-bottom: 8px; }
.ng-glass__foot { font-size: 12px; display: flex; align-items: center; gap: 8px; opacity: .95; margin-top: 4px; }
.ng-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: ng-ping 2s infinite; }
.ng-glass--score { width: 220px; }
.ng-gauge { position: relative; width: 170px; margin: 0 auto; }
.ng-gauge svg { width: 100%; overflow: visible; }
.ng-gauge path { fill: none; stroke-width: 9; stroke-linecap: round; }
.ng-gauge__track { stroke: rgba(255,255,255,.3); }
.ng-gauge__bar { stroke: #fff; stroke-dasharray: 158; stroke-dashoffset: 158; transition: stroke-dashoffset 2s var(--ease); }
.ng-gauge strong { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-size: 32px; font-weight: 600; line-height: 1; letter-spacing: -.02em; }
.ng-glass--steps { width: 250px; }
.ng-ministeps { display: grid; gap: 8px; }
.ng-ministeps li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; }
.ng-ministeps span { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6); flex: none; position: relative; }
.ng-ministeps .is-done span { background: #fff; border-color: #fff; }
.ng-ministeps .is-done span::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid var(--navy); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ng-ministeps .is-now span { border-color: #fff; }
.ng-ministeps .is-now span::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--red-300); animation: ng-pulse 1.6s infinite; }

.ng-hero__scroll { position: absolute; z-index: 3; left: 50%; bottom: 26px; transform: translateX(-50%); width: 28px; height: 44px; border: 2px solid rgba(255,255,255,.8); border-radius: 20px; }
.ng-hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: ng-scroll 1.8s infinite; }

/* ── Stats (dark band) ────────────────────────────────────────────────── */

.ng-stats { position: relative; overflow: hidden; color: #fff; padding: clamp(80px, 11vw, 140px) 0 calc(var(--r-xl) + 40px); background: var(--navy-900); }
.ng-stats__bg { position: absolute; inset: 0; }
.ng-stats__bg img { width: 100%; height: 120%; object-fit: cover; opacity: .45; }
.ng-stats::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(14,29,51,.85) 0%, rgba(14,29,51,.55) 45%, rgba(14,29,51,.92) 100%); }
.ng-stats > .ng-wrap, .ng-stats .ng-marquee { position: relative; z-index: 2; }
.ng-stats__title { color: #fff; font-size: clamp(30px, 4.2vw, 50px); font-weight: 300; letter-spacing: -.025em; line-height: 1.12; max-width: 760px; }
.ng-stats__title span { font-weight: 600; }
.ng-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: clamp(40px, 6vw, 72px); }
.ng-stat { position: relative; padding-top: 4px; }
.ng-ring { position: relative; width: 76px; height: 76px; display: grid; place-items: center; margin-bottom: 18px; }
.ng-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ng-ring circle { fill: none; stroke-width: 4; }
.ng-ring__track { stroke: rgba(255,255,255,.15); }
.ng-ring__bar { stroke: #fff; stroke-linecap: round; stroke-dasharray: 213.6; stroke-dashoffset: 213.6; transition: stroke-dashoffset 2.2s var(--ease) .2s; }
.ng-ring .ng-icon { width: 28px; height: 28px; color: #F2A3A5; }
.ng-stat__num { font-size: clamp(44px, 5.4vw, 68px); font-weight: 300; line-height: 1; letter-spacing: -.04em; color: #fff; font-variant-numeric: tabular-nums; }
.ng-stat__label { margin-top: 10px; font-size: 15px; color: rgba(255,255,255,.75); }
.ng-stats__goal { margin-top: clamp(40px, 6vw, 70px); font-size: clamp(19px, 2vw, 25px); font-weight: 400; line-height: 1.45; color: #fff; max-width: 820px; }

.ng-marquee { margin-top: clamp(48px, 7vw, 80px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ng-marquee__track { display: flex; width: max-content; animation: ng-marquee 40s linear infinite; }
.ng-marquee:hover .ng-marquee__track { animation-play-state: paused; }
.ng-marquee__item { display: inline-flex; align-items: center; gap: 10px; padding: 0 30px; font-size: clamp(18px, 2vw, 24px); font-weight: 500; color: rgba(255,255,255,.88); white-space: nowrap; }
.ng-marquee__item .ng-icon { color: #F07E82; width: 20px; height: 20px; }

/* ── Sections & panels ────────────────────────────────────────────────── */

.ng-section { position: relative; padding: clamp(72px, 10vw, 130px) 0; }
.ng-panel { background: #fff; border-radius: var(--r-xl) var(--r-xl) 0 0; margin-top: calc(var(--r-xl) * -1); z-index: 3; }
.ng-section--tint { background: linear-gradient(180deg, var(--tint), #fff); }

.ng-grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.ng-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ng-grid--4 { grid-template-columns: repeat(4, 1fr); }
.ng-grid--2 { grid-template-columns: repeat(2, 1fr); }

/* Service card */
.ng-scard {
	position: relative; display: flex; flex-direction: column;
	padding: 8px; border-radius: 28px;
	background: linear-gradient(160deg, #E6EFF8, #F6F1EA);
	transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.ng-scard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.ng-scard__media { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 11; }
.ng-scard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ng-scard:hover .ng-scard__media img { transform: scale(1.08); }
.ng-scard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,29,51,.35), transparent 50%); }
.ng-scard__ic { position: absolute; z-index: 2; left: 16px; bottom: 16px; width: 50px; height: 50px; border-radius: 16px; background: #fff; color: var(--red); display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: background .4s, color .4s, transform .5s var(--ease); }
.ng-scard:hover .ng-scard__ic { background: var(--red); color: #fff; transform: rotate(-6deg) scale(1.06); }
.ng-scard__ic .ng-icon { width: 24px; height: 24px; }
.ng-scard__body { padding: 22px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.ng-scard__num { font-size: 13px; font-weight: 700; color: var(--red); letter-spacing: .1em; }
.ng-scard h3 { font-size: 21px; font-weight: 600; margin: 6px 0 10px; }
.ng-scard p { font-size: 15px; color: var(--body); margin-bottom: 18px; }
.ng-scard .ng-link { margin-top: auto; }

/* Split blocks */
.ng-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; margin-bottom: clamp(64px, 9vw, 120px); }
.ng-split--rev .ng-split__media { order: 2; }
.ng-split__media { position: relative; }
.ng-frame { padding: 10px; border-radius: 34px; background: linear-gradient(160deg, #D5E5F4, #F4E8DD); box-shadow: var(--shadow); }
.ng-frame img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 26px; }
.ng-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; box-shadow: var(--shadow); }
.ng-chip .ng-icon { color: var(--red); }
.ng-chip--float { position: absolute; right: -14px; bottom: 34px; animation: ng-float 5s ease-in-out infinite; }
.ng-split--rev .ng-chip--float { right: auto; left: -14px; }
.ng-checks { display: grid; gap: 14px; margin: 6px 0 28px; }
.ng-checks li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; color: var(--ink); }
.ng-checks .ng-icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: rgba(153,27,30,.1); color: var(--red); stroke-width: 2.4; flex: none; margin-top: -1px; }

/* Promises */
.ng-promises { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.ng-promise { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 18px; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.ng-promise:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.ng-promise__ic { width: 46px; height: 46px; border-radius: 14px; background: var(--navy); color: #fff; display: grid; place-items: center; margin-bottom: 16px; transition: background .3s, transform .45s var(--ease); }
.ng-promise:hover .ng-promise__ic { background: var(--red); transform: rotate(-8deg); }
.ng-promise h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.ng-promise p { font-size: 13.5px; line-height: 1.5; color: var(--body); }

/* Process */
.ng-steps { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; counter-reset: step; }
.ng-steps::before, .ng-steps::after { content: ""; position: absolute; left: 4%; right: 4%; top: 31px; height: 2px; border-radius: 2px; }
.ng-steps::before { background: var(--line); }
.ng-steps::after { background: linear-gradient(90deg, var(--navy), var(--red)); transform: scaleX(0); transform-origin: left; transition: transform 2.4s var(--ease) .2s; }
.ng-steps.is-visible::after { transform: scaleX(1); }
.ng-step { position: relative; z-index: 1; text-align: left; }
.ng-step__dot { width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; color: var(--navy); margin-bottom: 20px; transition: background .4s, color .4s, border-color .4s, transform .5s var(--ease); }
.ng-step:hover .ng-step__dot { background: var(--red); color: #fff; border-color: var(--red); transform: scale(1.08); }
.ng-step__dot .ng-icon { width: 26px; height: 26px; }
.ng-step__n { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--red); }
.ng-step h3 { font-size: 18px; font-weight: 600; margin: 4px 0 8px; }
.ng-step p { font-size: 14px; line-height: 1.55; }

/* Project card */
.ng-pcard { display: flex; flex-direction: column; border-radius: 28px; background: #fff; border: 1px solid var(--line); padding: 8px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.ng-pcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.ng-pcard__media { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 4.6; background: var(--sky-2); }
.ng-pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.ng-pcard:hover .ng-pcard__media img { transform: scale(1.07); }
.ng-pcard__meta {
	position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; flex-wrap: wrap; gap: 6px;
}
.ng-pcard__meta span {
	display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px;
	background: rgba(255,255,255,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	font-size: 13px; font-weight: 600; color: var(--ink);
}
.ng-pcard__meta .ng-icon { width: 15px; height: 15px; color: var(--red); }
.ng-pcard__body { position: relative; padding: 18px 64px 14px 14px; }
.ng-pcard h3 { font-size: 19px; font-weight: 600; }
.ng-pcard p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.ng-pcard__go { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--navy); transition: background .35s, color .35s, transform .45s var(--ease); }
.ng-pcard:hover .ng-pcard__go { background: var(--red); color: #fff; transform: translateY(-50%) rotate(45deg); }

/* Testimonials */
.ng-testi { background: #fff; }
.ng-slider-nav { display: flex; gap: 10px; }
.ng-slider { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 24px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 20px; scrollbar-width: none; }
.ng-slider::-webkit-scrollbar { display: none; }
.ng-quote { position: relative; scroll-snap-align: start; margin: 0; padding: 30px 28px 26px; border-radius: 26px; background: linear-gradient(170deg, var(--tint), #fff); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.ng-quote:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.ng-quote__mark { position: absolute; right: 22px; top: 18px; color: rgba(153,27,30,.14); }
.ng-quote__mark .ng-icon { width: 54px; height: 54px; stroke-width: 2.4; }
.ng-stars { display: flex; gap: 3px; color: #E9A23B; margin-bottom: 14px; }
.ng-stars .ng-icon { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.ng-quote blockquote { margin: 0 0 24px; font-size: 16px; line-height: 1.65; color: var(--ink); }
.ng-quote blockquote p + p { margin-top: 10px; }
.ng-quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.ng-quote figcaption strong { display: block; color: var(--ink); font-size: 15px; }
.ng-quote figcaption small { display: block; color: var(--muted); font-size: 13px; }
.ng-avatar { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 600; flex: none; }
.ng-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Consultation */
.ng-consult { padding-top: 0; }
.ng-consult__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.ng-consult__side { position: relative; padding: clamp(32px, 5vw, 60px); background: var(--navy); color: rgba(255,255,255,.8); overflow: hidden; }
.ng-consult__side::after { content: ""; position: absolute; width: 420px; height: 420px; right: -180px; bottom: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(153,27,30,.55), transparent 65%); }
.ng-next { position: relative; z-index: 1; display: grid; gap: 22px; margin: 32px 0 36px; }
.ng-next li { display: flex; gap: 16px; }
.ng-next li > span { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35); display: grid; place-items: center; font-weight: 700; color: #fff; flex: none; font-size: 15px; }
.ng-next strong { color: #fff; font-weight: 600; display: block; margin-bottom: 2px; }
.ng-next p { font-size: 14.5px; line-height: 1.55; }
.ng-consult__phone { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 14px; color: #fff; font-weight: 700; font-size: 19px; }
.ng-consult__phone > .ng-icon { width: 50px; height: 50px; padding: 13px; border-radius: 50%; background: var(--red); }
.ng-consult__phone small { display: block; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.ng-consult__form { background: #fff; padding: clamp(32px, 5vw, 60px); }

/* ── Forms ────────────────────────────────────────────────────────────── */

.ng-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.ng-field { display: flex; flex-direction: column; gap: 7px; }
.ng-field--full { grid-column: 1 / -1; }
.ng-field > span:first-child { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.ng-field b { color: var(--red); font-weight: 700; }
.ng-form input, .ng-form select, .ng-form textarea {
	width: 100%; font: inherit; font-size: 15px; color: var(--ink);
	padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--tint);
	transition: border-color .25s, background .25s, box-shadow .25s; appearance: none; -webkit-appearance: none;
}
.ng-form textarea { resize: vertical; min-height: 60px; }
.ng-form input:focus, .ng-form select:focus, .ng-form textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(30,58,95,.1); }
.ng-form .is-invalid { border-color: var(--red) !important; background: #FFF6F6; animation: ng-shake .4s; }
.ng-select { position: relative; display: block; }
.ng-select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border: solid var(--navy); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.ng-form__note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 12px; }
.ng-form__note.is-success { color: #15803D; font-weight: 600; }
.ng-form--compact .ng-form__grid { gap: 12px; }
.ng-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ng-form__hint { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin-bottom: 18px; border-radius: 14px; background: #FFF7E8; border: 1px solid #F3D9A8; color: var(--ink); font-size: 14px; line-height: 1.5; }
.ng-form__hint .ng-icon { width: 22px; height: 22px; color: var(--red); flex: none; margin-top: 1px; }
.ng-form__hint strong { color: var(--red); }

/* ── Modal ────────────────────────────────────────────────────────────── */

.ng-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.ng-modal.is-open { visibility: visible; }
.ng-modal__backdrop { position: absolute; inset: 0; background: rgba(14,29,51,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s; }
.ng-modal.is-open .ng-modal__backdrop { opacity: 1; }
.ng-modal__dialog { position: relative; width: min(560px, 100%); max-height: calc(100svh - 32px); overflow-y: auto; background: #fff; border-radius: 28px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .4s, transform .55s var(--ease); }
.ng-modal.is-open .ng-modal__dialog { opacity: 1; transform: none; }
.ng-modal__close { position: absolute; right: 16px; top: 16px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--tint); color: var(--ink); display: grid; place-items: center; transition: background .3s, transform .4s var(--ease); }
.ng-modal__close:hover { background: var(--red); color: #fff; transform: rotate(90deg); }
.ng-modal__head { margin-bottom: 22px; padding-right: 40px; }
.ng-modal__head h2 { font-size: 26px; font-weight: 500; margin-bottom: 8px; }
.ng-modal__head p:last-child { font-size: 14.5px; }

/* ── Closing CTA ──────────────────────────────────────────────────────── */

.ng-cta { position: relative; overflow: hidden; text-align: center; padding: clamp(90px, 12vw, 150px) 0 clamp(120px, 14vw, 190px); background: linear-gradient(180deg, #fff 0%, var(--sky-1) 35%, var(--dawn) 100%); }
.ng-cta__sky { position: absolute; inset: 0; pointer-events: none; }
.ng-cta__sun { position: absolute; left: 50%; bottom: 40px; width: 380px; height: 380px; margin-left: -190px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 213, 170, .9), rgba(255, 213, 170, 0) 65%); animation: ng-glow 7s ease-in-out infinite; }
.ng-cta__skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(70px, 10vw, 150px); fill: var(--navy); opacity: .92; }
.ng-cta__inner { position: relative; z-index: 2; }
.ng-cta__np { font-family: var(--font-np); font-weight: 700; color: var(--red); font-size: clamp(28px, 4.6vw, 58px); line-height: 1.2; margin-bottom: 10px; }
.ng-cta .ng-lead { margin: 18px auto 0; }
.ng-cta__btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* ── Footer ───────────────────────────────────────────────────────────── */

.ng-footer { background: var(--navy); color: rgba(255,255,255,.72); padding: clamp(56px, 7vw, 90px) 0 0; font-size: 15px; }
.ng-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.4fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 50px; }
.ng-footer__logo { display: block; width: 230px; margin-bottom: 20px; }
.ng-footer__brand p { max-width: 340px; line-height: 1.7; }
.ng-footer__np { font-family: var(--font-np); font-size: 22px; color: #fff; margin-top: 16px !important; }
.ng-footer h3 { color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px; }
.ng-footer__col li { margin-bottom: 11px; }
.ng-footer__col a { position: relative; transition: color .25s; }
.ng-footer__col a:hover { color: #fff; }
.ng-footer__col a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 100%; background: #F07E82; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.ng-footer__col a:hover::after { transform: scaleX(1); transform-origin: left; }
.ng-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.ng-footer__contact .ng-icon { color: #F07E82; margin-top: 3px; }
.ng-footer__contact small { color: rgba(255,255,255,.5); }
.ng-social { display: flex; gap: 10px; margin-top: 24px; }
.ng-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); color: #fff; transition: background .3s, border-color .3s, transform .4s var(--ease); }
.ng-social a:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); }
.ng-social .ng-icon { width: 18px; height: 18px; }
.ng-footer__bar { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0 28px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px; color: rgba(255,255,255,.55); }
.ng-footer__reg span { margin-left: 16px; }
.ng-footer__reg:empty { display: none; }
.ng-footer__dev a { color: rgba(255,255,255,.85); font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.25); transition: color .25s, border-color .25s; }
.ng-footer__dev a:hover { color: #fff; border-color: #F07E82; }
.ng-footer__dev a.ng-dev-li { margin-left: 10px; border: 0; display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.08); }
.ng-footer__dev a.ng-dev-li:hover { background: #0A66C2; color: #fff; }

/* WhatsApp float */
.ng-wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff !important; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6); transition: transform .4s var(--ease); }
.ng-wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; z-index: -1; animation: ng-ring 2.4s infinite; }
.ng-wa-float:hover { transform: scale(1.08); }
.ng-wa-float .ng-icon { width: 30px; height: 30px; }
.ng-wa-float__tip { position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(8px, -50%); white-space: nowrap; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 10px; opacity: 0; pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
.ng-wa-float:hover .ng-wa-float__tip { opacity: 1; transform: translate(0, -50%); }

/* ── Inner page hero ──────────────────────────────────────────────────── */

.ng-phero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(50px, 8vw, 100px)) 0 clamp(80px, 10vw, 130px); background: linear-gradient(180deg, var(--sky-1), var(--sky-2) 55%, var(--dawn)); }
.ng-phero__sky { position: absolute; inset: 0; pointer-events: none; }
.ng-phero__sky::before, .ng-phero__sky::after { content: ""; position: absolute; border-radius: 50%; filter: blur(10px); }
.ng-phero__sky::before { width: 520px; height: 520px; right: -140px; top: -120px; background: radial-gradient(circle, rgba(255,255,255,.9), transparent 65%); animation: ng-drift 14s ease-in-out infinite; }
.ng-phero__sky::after { width: 420px; height: 420px; left: -120px; bottom: -220px; background: radial-gradient(circle, rgba(255, 210, 180, .7), transparent 65%); animation: ng-drift 18s ease-in-out infinite reverse; }
.ng-phero__inner { position: relative; z-index: 1; }
.ng-phero__title { font-size: clamp(36px, 6vw, 72px); font-weight: 300; letter-spacing: -.035em; line-height: 1.05; max-width: 18ch; }
.ng-phero__text { max-width: 640px; margin-top: 20px; font-size: clamp(16px, 1.5vw, 19px); color: #2E4059; }
.ng-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 26px; }
.ng-crumbs a:hover { color: var(--red); }
.ng-crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.ng-phero + .ng-section { background: #fff; border-radius: var(--r-xl) var(--r-xl) 0 0; margin-top: calc(var(--r-xl) * -1); z-index: 2; }

/* ── About page ───────────────────────────────────────────────────────── */

.ng-story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.ng-story__text p { margin-bottom: 16px; font-size: 16.5px; }
.ng-story__text p:first-of-type { font-size: clamp(19px, 2vw, 23px); color: var(--ink); line-height: 1.5; }
.ng-mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ng-mvv__card { position: relative; overflow: hidden; padding: 34px 28px; border-radius: 26px; background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.ng-mvv__card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.ng-mvv__card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--navy), var(--red)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.ng-mvv__card:hover::before { transform: scaleX(1); }
.ng-mvv__card .ng-promise__ic { width: 54px; height: 54px; }
.ng-mvv__card h3 { font-size: 22px; font-weight: 600; margin-bottom: 10px; }
.ng-mvv__card ul { display: grid; gap: 8px; margin-top: 4px; }
.ng-mvv__card li { display: flex; gap: 10px; font-size: 15px; }
.ng-mvv__card li .ng-icon { color: var(--red); margin-top: 3px; stroke-width: 2.4; }

.ng-ceo { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.ng-ceo__photo { position: relative; }
.ng-ceo__photo .ng-frame img { aspect-ratio: 4 / 5; object-position: top; }
.ng-ceo__badge { position: absolute; left: -12px; bottom: 30px; background: var(--red); color: #fff; padding: 14px 20px; border-radius: 18px; box-shadow: var(--shadow); animation: ng-float 5s ease-in-out infinite; }
.ng-ceo__badge strong { display: block; font-size: 17px; }
.ng-ceo__badge span { font-size: 13px; opacity: .85; }
.ng-ceo__msg { position: relative; }
.ng-ceo__msg > .ng-icon { width: 70px; height: 70px; color: rgba(153,27,30,.16); stroke-width: 2.2; margin-bottom: 6px; }
.ng-ceo__msg p { font-size: 17px; line-height: 1.75; margin-bottom: 16px; color: var(--ink); }
.ng-ceo__msg p:first-of-type { font-size: clamp(20px, 2.2vw, 26px); font-weight: 300; line-height: 1.45; letter-spacing: -.01em; }
.ng-ceo__sign { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.ng-ceo__sign strong { display: block; font-size: 19px; color: var(--ink); }
.ng-ceo__sign span { color: var(--muted); font-size: 14.5px; }
.ng-ceo__sign em { display: block; font-style: normal; font-family: var(--font-np); color: var(--red); font-size: 20px; margin-top: 8px; }

/* ── Team page ────────────────────────────────────────────────────────── */

.ng-team { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.ng-member { text-align: center; width: 270px; }
.ng-member__photo { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; background: linear-gradient(170deg, var(--sky-1), var(--dawn)); margin-bottom: 18px; }
.ng-member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transform: scale(var(--z, 1)); transform-origin: var(--zo, 50% 30%); transition: transform 1.2s var(--ease); }
.ng-member:hover .ng-member__photo img { transform: scale(calc(var(--z, 1) * 1.06)); }
.ng-member__photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(0deg, rgba(153,27,30,.35), transparent); opacity: 0; transition: opacity .5s; }
.ng-member:hover .ng-member__photo::after { opacity: 1; }
.ng-member__initial { position: absolute; inset: 0; display: grid; place-items: center; font-size: 64px; font-weight: 300; color: var(--navy); }
.ng-member h3 { font-size: 19px; font-weight: 600; }
.ng-member p { color: var(--red); font-size: 14px; font-weight: 500; margin-top: 4px; }
/* Home page "Our team" strip — smaller cards than the Our Team page */
.ng-hometeam { border-top: 1px solid var(--line); }
.ng-team--home { gap: 24px; }
.ng-team--home .ng-member { width: 200px; }
.ng-team--home .ng-member__photo { border-radius: 22px; margin-bottom: 14px; }
.ng-team--home .ng-member__initial { font-size: 48px; }
.ng-team--home .ng-member h3 { font-size: 17px; }
.ng-team--home .ng-member p { font-size: 13px; }
.ng-hometeam__more { text-align: center; margin-top: 36px; }
.ng-structure { padding: clamp(14px, 2vw, 24px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.ng-structure img { width: 100%; border-radius: 16px; }
.ng-structure a { display: block; cursor: zoom-in; }
.ng-careers { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 70px); align-items: start; }
.ng-careers__perks { display: grid; gap: 14px; margin-top: 26px; }
.ng-careers__perks li { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; background: var(--tint); color: var(--ink); font-weight: 500; }
.ng-careers__perks .ng-icon { color: var(--red); width: 22px; height: 22px; }
.ng-card-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }

/* ── Single service ───────────────────────────────────────────────────── */

.ng-detail { display: grid; grid-template-columns: 1fr 360px; gap: clamp(32px, 5vw, 70px); align-items: start; }
.ng-detail__cover { border-radius: var(--r-lg); overflow: hidden; margin-bottom: 40px; box-shadow: var(--shadow); }
.ng-detail__cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ng-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 20px; }
.ng-aside__box { border-radius: 24px; padding: 26px; background: var(--tint); }
.ng-aside__box h3 { font-size: 17px; font-weight: 600; margin-bottom: 14px; }
.ng-aside__list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--ink); transition: color .25s, padding .35s var(--ease); }
.ng-aside__list li:last-child a { border-bottom: 0; }
.ng-aside__list a:hover, .ng-aside__list a.is-current { color: var(--red); padding-left: 6px; }
.ng-aside__list .ng-icon { width: 16px; height: 16px; }
.ng-aside__cta { background: var(--navy); color: rgba(255,255,255,.8); position: relative; overflow: hidden; }
.ng-aside__cta h3 { color: #fff; font-size: 21px; font-weight: 500; }
.ng-aside__cta p { margin-bottom: 18px; font-size: 14.5px; }
.ng-aside__cta .ng-btn + .ng-btn { margin-top: 10px; }
.ng-included { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 10px 0 40px; }
.ng-included li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 16px; background: var(--tint); color: var(--ink); font-weight: 500; font-size: 15px; }
.ng-included .ng-icon { color: var(--red); stroke-width: 2.4; margin-top: 2px; }
.ng-qa { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 10px; }
.ng-qa div { padding: 20px; border-radius: 18px; border: 1px solid var(--line); }
.ng-qa .ng-icon { color: var(--navy); width: 26px; height: 26px; margin-bottom: 10px; }
.ng-qa h4 { font-size: 15.5px; font-weight: 600; margin-bottom: 4px; }
.ng-qa p { font-size: 14px; line-height: 1.55; }

/* Rich text from the editor */
.ng-prose { color: var(--body); font-size: 16.5px; line-height: 1.8; }
.ng-prose > * + * { margin-top: 1.1em; }
.ng-prose h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 500; margin-top: 1.6em; letter-spacing: -.02em; }
.ng-prose h3 { font-size: 21px; font-weight: 600; margin-top: 1.4em; }
.ng-prose ul { display: grid; gap: 10px; }
.ng-prose ul li { position: relative; padding-left: 28px; }
.ng-prose ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 10px; height: 10px; border-radius: 3px; background: var(--red); transform: rotate(45deg); }
.ng-prose ol { list-style: decimal; padding-left: 22px; }
.ng-prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.ng-prose strong { color: var(--ink); }
.ng-prose img, .ng-prose .wp-block-image img { border-radius: 18px; }
.ng-prose .wp-block-gallery { gap: 12px; }

/* ── Single project ───────────────────────────────────────────────────── */

.ng-proj-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.ng-proj-hero .ng-frame img { aspect-ratio: 4 / 5; }
.ng-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0 32px; }
.ng-fact { padding: 18px; border-radius: 18px; background: var(--tint); }
.ng-fact small { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ng-fact small .ng-icon { width: 15px; height: 15px; color: var(--red); }
.ng-fact strong { display: block; font-size: 18px; font-weight: 600; color: var(--ink); margin-top: 4px; }

/* ── Contact ──────────────────────────────────────────────────────────── */

.ng-contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.ng-infos { display: grid; gap: 14px; }
.ng-info { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 22px; background: var(--tint); transition: transform .45s var(--ease), background .3s; }
a.ng-info:hover { transform: translateX(6px); background: #E9F0F8; }
.ng-info__ic { width: 50px; height: 50px; border-radius: 16px; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; }
.ng-info small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ng-info strong { display: block; font-size: 17px; font-weight: 600; color: var(--ink); margin-top: 2px; }
.ng-info span { font-size: 14px; }
.ng-map { margin-top: clamp(40px, 6vw, 70px); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); line-height: 0; }
.ng-map iframe { width: 100%; height: clamp(300px, 40vw, 440px); border: 0; filter: saturate(.85); }

/* Generic page + 404 */
.ng-page-body { max-width: 820px; margin: 0 auto; }
.ng-404 { text-align: center; padding: calc(var(--header-h) + 80px) 0 120px; background: linear-gradient(180deg, var(--sky-1), var(--dawn)); }
.ng-404 strong { display: block; font-size: clamp(90px, 18vw, 200px); font-weight: 200; line-height: 1; color: var(--navy); letter-spacing: -.06em; }
.ng-404 p { margin: 10px 0 30px; font-size: 18px; }
.ng-empty { text-align: center; padding: 40px; border-radius: 24px; background: var(--tint); }

/* ── Scroll reveal (front-end only) ───────────────────────────────────── */

.ng-js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.ng-js [data-reveal="left"] { transform: translateX(-46px); }
.ng-js [data-reveal="right"] { transform: translateX(46px); }
.ng-js [data-reveal="zoom"] { transform: scale(.94); }
.ng-js [data-reveal].is-visible { opacity: 1; transform: none; }
.ng-js .ng-scard[data-reveal].is-visible:hover, .ng-js .ng-pcard[data-reveal].is-visible:hover { transform: translateY(-8px); }
.ng-js .ng-promise[data-reveal].is-visible:hover, .ng-js .ng-quote[data-reveal].is-visible:hover { transform: translateY(-6px); }
.ng-js .ng-mvv__card[data-reveal].is-visible:hover { transform: translateY(-8px); }

/* ── Keyframes ────────────────────────────────────────────────────────── */

@keyframes ng-rise { to { transform: translateY(0); } }
@keyframes ng-fadeup { to { opacity: 1; transform: none; } }
@keyframes ng-kenburns { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes ng-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes ng-ping { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.6); } 100% { box-shadow: 0 0 0 10px rgba(74,222,128,0); } }
@keyframes ng-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.6); opacity: .6; } }
@keyframes ng-scroll { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes ng-marquee { to { transform: translateX(-50%); } }
@keyframes ng-glow { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.12); opacity: 1; } }
@keyframes ng-drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-30px, 24px); } }
@keyframes ng-ring { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes ng-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

/* ── Responsive ───────────────────────────────────────────────────────── */

.ng-menu__item > a, .ng-login, .ng-header__cta { white-space: nowrap; }
@media (max-width: 1340px) {
	.ng-phone__txt { display: none; }
	.ng-header__inner { gap: 16px; }
}
@media (max-width: 1200px) {
	.ng-phone__txt { display: none; }
	.ng-menu__item > a { padding: 10px 10px; }
	.ng-promises { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1060px) {
	:root { --header-h: 74px; }
	.ng-nav, .ng-phone { display: none; }
	.ng-login { padding: 0; width: 46px; height: 46px; justify-content: center; }
	.ng-login span { display: none; }
	.ng-burger { display: block; }
	.ng-header__actions { margin-left: auto; }
	.ng-brand, .ng-header.is-scrolled .ng-brand { width: 170px; }
	.ng-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.ng-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.ng-stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
	.ng-steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
	.ng-steps::before, .ng-steps::after { display: none; }
	.ng-slider { grid-auto-columns: calc((100% - 24px) / 2); }
	.ng-footer__grid { grid-template-columns: 1fr 1fr; }
	.ng-detail { grid-template-columns: 1fr; }
	.ng-aside { position: static; }
	.ng-mvv { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
	.ng-split, .ng-story, .ng-ceo, .ng-careers, .ng-contact, .ng-proj-hero, .ng-consult__grid { grid-template-columns: 1fr; }
	.ng-split--rev .ng-split__media { order: 0; }
	.ng-chip--float, .ng-split--rev .ng-chip--float { right: 12px; left: auto; bottom: -16px; }
	.ng-hero__cards .ng-glass--steps { display: none; }
	.ng-hero__cards { justify-content: center; }
	.ng-ceo__photo { max-width: 420px; }
}

@media (max-width: 640px) {
	body.ng-site { font-size: 15.5px; }
	.ng-header__cta { display: none; }
	.ng-brand, .ng-header.is-scrolled .ng-brand { width: 150px; }
	.ng-hero { min-height: 640px; min-height: 100svh; }
	.ng-hero__bg img { object-position: 50% 100%; height: 108%; }
	.ng-hero__veil { background: linear-gradient(180deg, rgba(236,244,251,.98) 0%, rgba(236,244,251,.92) 40%, rgba(236,244,251,.4) 62%, rgba(236,244,251,0) 78%), linear-gradient(0deg, rgba(14,29,51,.4), rgba(14,29,51,0) 30%); }
	.ng-hero__btns .ng-btn { flex: 1 1 100%; }
	.ng-hero__scroll { display: none; }
	.ng-glass--score { width: 190px; padding: 14px 16px; }
	.ng-gauge { width: 140px; }
	.ng-gauge strong { font-size: 26px; }
	.ng-grid--3, .ng-grid--2, .ng-grid--4 { grid-template-columns: 1fr; }
	.ng-stats__grid { gap: 32px 18px; }
	.ng-ring { width: 62px; height: 62px; }
	.ng-promises { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.ng-promise { padding: 18px 14px; }
	.ng-steps { grid-template-columns: 1fr; gap: 0; }
	.ng-step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; padding-bottom: 28px; position: relative; }
	.ng-step::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: var(--line); }
	.ng-step:last-child::before { display: none; }
	.ng-step__dot { width: 56px; height: 56px; grid-row: span 3; margin: 0; }
	.ng-slider { grid-auto-columns: 88%; gap: 14px; }
	.ng-slider-nav { display: none; }
	.ng-form__grid { grid-template-columns: 1fr; }
	.ng-footer__grid { grid-template-columns: 1fr; }
	.ng-footer__bar { flex-direction: column; }
	.ng-included, .ng-qa, .ng-facts { grid-template-columns: 1fr; }
	.ng-team { gap: 14px; }
	.ng-member { width: calc(50% - 7px); }
	.ng-member h3 { font-size: 16px; }
	.ng-member p { font-size: 13px; }
	.ng-team--home { gap: 12px; }
	.ng-team--home .ng-member { width: calc(50% - 6px); max-width: 170px; }
	.ng-team--home .ng-member h3 { font-size: 15px; }
	.ng-team--home .ng-member p { font-size: 12px; }
	.ng-wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
	.ng-panel, .ng-phero + .ng-section { border-radius: 32px 32px 0 0; }
	.ng-shead-row { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.ng-js [data-reveal] { opacity: 1; transform: none; }
	.ng-word > span, .ng-fade { transform: none; opacity: 1; }
}
