/* ==========================================================================
   Home page (Figma "RG Infotech New Landing page - Final")
   Loaded only on the home page, after modern.css.
   ========================================================================== */

.nhHome { font-family: var(--rg-sans); background: #fff; --bg: none; }
.nhHome h2, .nhHome h3 { -webkit-text-fill-color: currentColor; background: none; text-transform: none; }
.nhWrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px); }
.nhSection { padding: clamp(56px, 7vw, 100px) 0 0; }
.nhCenter { display: flex; justify-content: center; margin-top: 36px; }

.nhHead { max-width: 640px; margin-bottom: 34px; }
.nhHead--center { max-width: 820px; margin-left: auto; margin-right: auto; text-align: center; }
.nhHome .nhTitle {
  font-family: var(--rg-display); font-weight: 400; color: #05070d;
  font-size: clamp(34px, 4.2vw, 60px); line-height: 1.08; margin: 0 0 14px; letter-spacing: 0;
}
.nhHead p { font-size: 14px; line-height: 1.6; color: #2b3240; margin: 0; }
.nhDark { background: radial-gradient(70% 60% at 50% 0%, #0c3a6b 0%, #06182f 55%, #000 100%); color: #fff; }
.nhDark .nhTitle, .nhDark .nhHead p { color: #fff; }
.nhDarkPlain { background: #000; }

.nhIcon {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none;
  border: 1.5px solid var(--rg-orange); color: var(--rg-orange); background: #fff;
}
.nhIcon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nhIcon--img img { width: 20px; height: 20px; object-fit: contain; }

/* ==========================================================================
   Hero
   ========================================================================== */
.aiHero {
  position: relative; isolation: isolate; color: #fff;
  background:
    radial-gradient(55% 80% at 100% 45%, rgba(10, 110, 230, .95) 0%, rgba(6, 60, 150, .55) 35%, transparent 70%),
    linear-gradient(90deg, #000 0%, #02060f 45%, #031a3d 100%);
  padding: clamp(36px, 5vw, 72px) 0 120px;
}
.aiHero__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .75;
  -webkit-mask-image: linear-gradient(100deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.5) 45%, #000 75%);
  mask-image: linear-gradient(100deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.5) 45%, #000 75%);
}
.aiHero__inner { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px); }
.aiHero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: clamp(28px, 4vw, 64px); align-items: start; }

.aiHero__eyebrow { margin: 0 0 12px; font-size: 15px; font-weight: 500; color: #fff; }
.aiHero .aiHero__title {
  font-family: var(--rg-display); font-weight: 400; font-size: clamp(34px, 3.4vw, 50px); line-height: 1.2;
  margin: 0 0 26px; color: #fff; -webkit-text-fill-color: #fff; background: none; max-width: 700px;
}
.aiHero__gradient {
  background: linear-gradient(90deg, #d8f1ff 0%, #8fd2ff 40%, #39a8ff 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.aiHero__lead { max-width: 690px; font-size: 16px; line-height: 1.65; color: rgba(255, 255, 255, .92); margin: 0 0 28px; }
.aiHero__lead strong { color: #fff; font-weight: 700; }
.aiHero__actions { display: flex; align-items: center; gap: 12px; }

.aiHero__label { margin: 0 0 14px; font-size: 24px; line-height: 1.2; font-weight: 400; color: #fff; }
.aiTiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 clamp(40px, 7vw, 100px); padding: 0; list-style: none; }
.aiTile {
  position: relative; overflow: hidden; aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center;
  background: rgba(30, 60, 110, .55); border: 1px solid rgba(255, 255, 255, .06);
  transition: transform .4s var(--rg-ease), box-shadow .3s, border-color .3s;
}
.aiTile i {
  width: 52%; height: 52%; display: block; background: var(--c);
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}
.aiTile::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(159, 220, 255, .25) 50%, transparent 70%);
  transform: translateX(-120%); animation: aiScan 6s var(--rg-ease) infinite; animation-delay: calc(var(--i) * .35s);
}
@keyframes aiScan { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.aiTile:hover { transform: translateY(-3px); border-color: rgba(159, 220, 255, .5); }
.aiTile.is-active { border-color: rgba(15, 155, 255, .8); box-shadow: 0 0 22px -4px rgba(15, 155, 255, .9); }

.aiGlass {
  padding: 16px; border-radius: 18px;
  background: linear-gradient(170deg, rgba(60, 120, 210, .45), rgba(20, 70, 160, .35));
  border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.aiGlass__kicker { margin: 0 0 4px; font-size: 11px; color: #fff; }
.aiHero .aiGlass__title { margin: 0 0 8px; font: 600 18px/1.3 var(--rg-sans); color: #fff; -webkit-text-fill-color: #fff; background: none; }
.aiGlass__text { margin: 0 0 14px; font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, .62); }
.aiImpact { background: #fff; color: #0b1220; border-radius: 10px; padding: 10px; }
.aiImpact__head { margin: 0 0 8px; font-size: 12px; font-weight: 700; color: #0b1220; }
.aiImpact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.aiStat { position: relative; display: flex; gap: 6px; padding: 7px; border-radius: 8px; background: #f5f7fb; min-height: 52px; }
.aiStat__icon { width: 18px; height: 18px; border-radius: 5px; flex: none; background: color-mix(in srgb, var(--c) 16%, #fff); position: relative; }
.aiStat__icon::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--c); }
.aiStat__label { font-size: 7.5px; line-height: 1.2; color: #5b6476; }
.aiStat__num { font: 800 13px/1.2 var(--rg-sans); }
.aiStat__growth { font-size: 7.5px; color: #16a34a; font-weight: 700; }
.aiStat__spark { position: absolute; right: 6px; bottom: 8px; width: 34px; height: 16px; overflow: visible; }
.aiStat__spark polyline {
  fill: none; stroke: var(--c); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--rg-ease) .4s;
}
.aiHero.is-in .aiStat__spark polyline { stroke-dashoffset: 0; }

.aiHero__bottom { display: grid; grid-template-columns: 56px minmax(0, 1fr) 56px; gap: 10px; margin-top: clamp(36px, 6vw, 70px); }
.aiPanel {
  border-radius: 12px; background: rgba(60, 60, 64, .7); border: 1px solid rgba(255, 255, 255, .06);
  color: #fff; text-decoration: none; min-height: 112px;
}
.aiPanel--narrow { display: grid; place-items: center; transition: background .25s; }
.aiPanel--narrow:hover { color: #fff; background: rgba(15, 155, 255, .35); }
.aiPanel__vertical { writing-mode: vertical-rl; font-size: 14px; }
.aiPanel--partners { display: flex; flex-direction: column; padding: 14px 16px 12px; gap: 10px; min-width: 0; }
.aiPanel__title { font-size: 14px; }
.aiPartners { display: flex; align-items: center; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.aiPartners::-webkit-scrollbar { display: none; }
.aiPartners__item { flex: 0 0 auto; scroll-snap-align: start; height: 38px; display: flex; align-items: center; }
.aiPartners__item img { height: 100%; width: auto; max-width: 130px; object-fit: contain; }
.aiPanel__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.aiPanel__progress { flex: 0 1 180px; margin-left: auto; height: 2px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.aiPanel__progress span { display: block; height: 100%; width: 40%; background: #fff; transition: transform .4s var(--rg-ease), width .4s; }
.aiPanel__arrows { display: flex; gap: 6px; }
.aiArrow { padding: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .8); background: transparent; color: #fff; cursor: pointer; }
.aiArrow:hover { background: rgba(255, 255, 255, .15); }

.aiHero__notch { position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%); width: 640px; max-width: 100%; height: 64px; fill: #fff; }
.aiAsk {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 2;
  display: flex; align-items: center; gap: 8px; width: min(420px, calc(100% - 32px)); padding: 6px 6px 6px 8px;
  border-radius: 999px; background: #fff; border: 1.5px solid transparent;
  background-image: linear-gradient(#fff, #fff), linear-gradient(90deg, #0f9bff, #9b8cff, #0f9bff);
  background-origin: border-box; background-clip: padding-box, border-box;
  box-shadow: 0 8px 30px -12px rgba(15, 155, 255, .55);
}
.aiAsk__spark { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #0b2a6b; color: #fff; flex: none; animation: aiTwinkle 2.4s ease-in-out infinite; }
@keyframes aiTwinkle { 50% { transform: scale(.88) rotate(20deg); } }
.aiAsk__prefix { font-size: 13px; font-weight: 700; color: #05070d; flex: none; }
.aiAsk__input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 500 13px var(--rg-sans); color: #05070d; }
.aiAsk__input::placeholder { color: #8a93a3; }
.aiAsk__go { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--rg-blue); color: #fff; display: grid; place-items: center; flex: none; cursor: pointer; }

.aiHero [data-in] { animation: aiIn .9s var(--rg-ease) both; animation-delay: var(--d, 0s); }
@keyframes aiIn { from { opacity: 0; transform: translateY(18px); } }

/* ==========================================================================
   Stats
   ========================================================================== */
.nhStats { padding: 56px 0 0; overflow: hidden; }
.nhStats__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 3.6); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
}
.nhStats__track::-webkit-scrollbar { display: none; }
.nhStat { scroll-snap-align: start; border-radius: 14px; overflow: hidden; border: 1px solid #ececec; background: #f5f4f2; display: flex; flex-direction: column; }
.nhStat__head { padding: 16px 16px 14px; }
.nhStat__top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.nhStat__num { font: 500 42px/1 var(--rg-sans); letter-spacing: -.02em; color: #05070d; }
.nhStat__label { font-size: 11px; font-weight: 700; text-transform: uppercase; color: #05070d; }
.nhStat__head p { margin: 0; font-size: 12px; line-height: 1.45; color: #1d2330; min-height: 34px; }
.nhStat__media { position: relative; aspect-ratio: 1.3; background: linear-gradient(160deg, #eef5ff, #fdf6ef); overflow: hidden; }
.nhStat__media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--rg-ease); }
.nhStat:hover .nhStat__media > img { transform: scale(1.04); }
.nhStat__badges { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 18px; place-items: center; }
.nhStat__badges img { width: 78%; max-height: 90%; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .12)); }
.nhStat__icons { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 16px; place-items: center; background: radial-gradient(circle at 50% 50%, #e9e6ff, #f6f8ff 70%); }
.nhStat__icons span {
  width: 100%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: #fff;
  box-shadow: 0 6px 14px -6px rgba(60, 80, 160, .35); animation: nhFloat 5s ease-in-out infinite; animation-delay: calc(var(--k) * -.4s);
}
.nhStat__icons img { width: 56%; height: 56%; object-fit: contain; }
@keyframes nhFloat { 50% { transform: translateY(-4px); } }

/* ==========================================================================
   AI solutions
   ========================================================================== */
.nhAiSol__frame { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 10px; border: 1px solid #ececec; border-radius: 18px; }
.nhAiCard { border-radius: 14px; padding: 22px 18px 26px; transition: transform .45s var(--rg-ease), box-shadow .45s var(--rg-ease); }
.nhAiCard--0 { background: linear-gradient(180deg, #f6f6f6 0%, #f8f8f8 70%, #fff2e8 100%); }
.nhAiCard--1 { background: linear-gradient(180deg, #eef4ff 0%, #f7f7f7 60%, #fff0e4 100%); }
.nhAiCard--2 { background: linear-gradient(180deg, #f6f6f6 0%, #f7f7f7 70%, #fff3ec 100%); }
.nhAiCard:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(240, 122, 26, .55); }
.nhAiCard h3 { font: 600 16px var(--rg-sans); color: #05070d; margin: 18px 0 14px; }
.nhAiCard ul { margin: 0; padding: 0 0 0 4px; list-style: none; }
.nhAiCard li { position: relative; padding-left: 14px; font-size: 13px; line-height: 1.95; color: #3a4150; }
.nhAiCard li::before { content: ""; position: absolute; left: 0; top: .9em; width: 4px; height: 4px; border-radius: 50%; background: #3a4150; }

/* ==========================================================================
   Services bento
   ========================================================================== */
.nhServices__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.nhSvc {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; min-height: 230px;
  padding: 20px; border-radius: 14px; border: 1px solid #ececec; text-decoration: none; color: #05070d;
  background: linear-gradient(180deg, #fff 0%, #fff 55%, #fff4ea 100%);
  transition: transform .45s var(--rg-ease), box-shadow .45s var(--rg-ease), border-color .3s;
}
.nhSvc:hover { color: #05070d; transform: translateY(-4px); border-color: #ffd9b8; box-shadow: 0 24px 40px -28px rgba(240, 122, 26, .7); }
.nhSvc--wide { grid-column: span 2; }
.nhSvc--wide .nhSvc__body { max-width: 58%; }
.nhSvc__num { position: absolute; top: 18px; right: 20px; font-size: 11px; color: var(--rg-orange); }
.nhSvc__body { flex: 1; }
.nhSvc h3 { font: 500 20px/1.2 var(--rg-sans); letter-spacing: -.01em; margin: 0 0 10px; color: #05070d; }
.nhSvc p { font-size: 13px; line-height: 1.55; color: #2b3240; margin: 0; }
.nhPill {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 4px 4px 4px 14px;
  border-radius: 999px; border: 1px solid #ececec; background: #fff; font-size: 11px; font-weight: 600; color: #05070d;
}
.nhPill__arrow { position: relative; width: 26px; height: 26px; border-radius: 50%; border: 1px solid #ffc999; transition: background .3s, transform .3s; }
.nhPill__arrow::before {
  content: ""; position: absolute; inset: 0; margin: auto; width: 11px; height: 11px; background: var(--rg-orange);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7l10 10M17 9v8H9'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7l10 10M17 9v8H9'/%3E%3C/svg%3E") center / contain no-repeat;
}
.nhSvc:hover .nhPill__arrow { background: var(--rg-orange); transform: rotate(-45deg); }
.nhSvc:hover .nhPill__arrow::before { background: #fff; }
.nhSvc__art { position: absolute; color: #f0a35e; pointer-events: none; }
.nhSvc__art--hex { right: 34px; top: 36px; width: 130px; animation: nhSpin 40s linear infinite; }
.nhSvc__art--ui { right: 14px; top: 14px; width: 76px; opacity: .6; }
.nhSvc__art--gear { right: 22px; top: 24px; width: 150px; }
.nhSvc__art--gear circle:nth-of-type(1) { transform-origin: 32px 38px; }
@keyframes nhSpin { to { transform: rotate(360deg); } }
.nhSvc:nth-child(4) { grid-row: span 1; }

/* ==========================================================================
   Workflow
   ========================================================================== */
.nhFlow { padding-bottom: 60px; margin-top: clamp(56px, 7vw, 100px); }
.nhFlow__window { max-width: 1000px; margin: 0 auto; border-radius: 16px; background: #0d0f14; border: 1px solid rgba(255, 255, 255, .08); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.nhFlow__bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; border-bottom: 1px solid rgba(255, 255, 255, .06); font: 500 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; color: rgba(255, 255, 255, .35); }
.nhFlow__bar b { color: #3ee08f; font-weight: 500; }
.nhFlow__dots { display: flex; gap: 5px; }
.nhFlow__dots i { width: 7px; height: 7px; border-radius: 50%; background: #3a3f4a; }
.nhFlow__dots i:last-child { background: var(--rg-blue); }
.nhFlow__svg { display: block; width: 100%; height: auto; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.nhFlow__wire { fill: none; stroke: #1f8bff; stroke-width: 1.2; opacity: .75; stroke-dasharray: 4 0; }
.nhFlow__pulse { fill: #5fc2ff; filter: drop-shadow(0 0 4px #1f8bff); }
.nhFlow__node circle { fill: #0d0f14; stroke: rgba(255, 255, 255, .7); stroke-width: 1; }
.nhFlow__glyph { fill: #fff; font-size: 11px; }
.nhFlow__label { fill: rgba(255, 255, 255, .7); font-size: 9.5px; letter-spacing: .02em; }
.nhFlow__label--core { fill: #fff; font-size: 8.5px; letter-spacing: .12em; }
.nhFlow__ring { fill: none; stroke: rgba(255, 255, 255, .25); stroke-dasharray: 2 4; animation: nhSpin 30s linear infinite; transform-origin: 330px 165px; }
.nhFlow__core { fill: #0d0f14; stroke: #1f8bff; stroke-width: 2; animation: nhCore 2.6s ease-in-out infinite; }
@keyframes nhCore { 50% { stroke-width: 4; filter: drop-shadow(0 0 10px #1f8bff); } }
.nhFlow__logo { fill: #fff; font: 800 24px var(--rg-sans); letter-spacing: -2px; }
.nhFlow__card rect:first-child { fill: #15181f; stroke: rgba(255, 255, 255, .08); }
.nhFlow__tiny { fill: rgba(255, 255, 255, .6); font-size: 5.5px; letter-spacing: .1em; }
.nhFlow__steps rect { fill: none; stroke: rgba(255, 255, 255, .25); }
.nhFlow__steps rect.is-on { stroke: #1f8bff; animation: nhBlink 1.8s steps(1) infinite; }
@keyframes nhBlink { 50% { stroke: rgba(255, 255, 255, .25); } }
.nhFlow__bar1 { fill: #1f8bff; opacity: .6; animation: nhGrow 3s var(--rg-ease) infinite; transform-box: fill-box; transform-origin: left; }
.nhFlow__bar2 { fill: #1f8bff; animation: nhGrow 3s var(--rg-ease) .4s infinite; transform-box: fill-box; transform-origin: left; }
@keyframes nhGrow { 0% { transform: scaleX(.1); } 60%, 100% { transform: scaleX(1); } }
.nhFlow__spark { fill: none; stroke: #1f8bff; stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; animation: nhDraw 4s var(--rg-ease) infinite; }
@keyframes nhDraw { 0% { stroke-dashoffset: 1; } 50%, 100% { stroke-dashoffset: 0; } }

/* ==========================================================================
   Portfolio
   ========================================================================== */
.nhPortfolio { padding-bottom: 70px; background: radial-gradient(80% 60% at 50% 0%, #0b2d55 0%, #04101f 60%, #000 100%); }
.nhTabs { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 auto 32px; max-width: 560px; }
.nhTabs__list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; }
.nhTabs__list::-webkit-scrollbar { display: none; }
.nhTabs__tab {
  flex: none; height: 38px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .45);
  background: transparent; color: #fff; font: 500 13px var(--rg-sans); cursor: pointer; transition: background .2s, color .2s;
}
.nhTabs__tab:hover { background: rgba(255, 255, 255, .1); }
.nhTabs__tab.is-active { background: #fff; color: var(--rg-blue); border-color: #fff; }
.nhPortfolio__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.nhPortfolio__track::-webkit-scrollbar { display: none; }
.nhWork {
  scroll-snap-align: start; position: relative; display: flex; flex-direction: column; min-height: 380px; padding: 20px 20px 0;
  border-radius: 14px; overflow: hidden; text-decoration: none; transition: transform .45s var(--rg-ease);
}
.nhWork:hover { transform: translateY(-5px); }
.nhWork[hidden] { display: none; }
.nhWork--dark { background: radial-gradient(circle at 100% 70%, #1a5cff 0 32%, transparent 33%), #1b1d24; color: #fff; }
.nhWork--cream { background: #fde9d6; color: #1b1d24; }
.nhWork--purple { background: linear-gradient(160deg, #a2318f, #7a1f78); color: #fff; }
.nhWork h3 { font: 600 17px var(--rg-sans); margin: 0 0 8px; color: inherit; }
.nhStack .nhHead { max-width: 820px; }
.nhWork p { color: inherit; font-size: 12px; line-height: 1.5; margin: 0 0 12px; opacity: .85; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nhWork__tags { display: flex; gap: 8px; flex-wrap: wrap; padding: 0; margin: 0 0 10px; list-style: none; }
.nhWork__tags li { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .16); }
.nhWork--cream .nhWork__tags li { background: rgba(0, 0, 0, .07); }
.nhWork__img { margin-top: auto; border-radius: 10px 10px 0 0; overflow: hidden; background: #fff; }
.nhWork__img img { display: block; width: 100%; height: auto; transition: transform .8s var(--rg-ease); }
.nhWork:hover .nhWork__img img { transform: scale(1.04); }
.nhPortfolio__empty { text-align: center; color: rgba(255, 255, 255, .8); }
.nhPortfolio__empty a { color: var(--rg-sky); }

/* ==========================================================================
   Smarter solutions + Enterprise AI
   ========================================================================== */
.nhSmart { padding: 40px 0; border-top: 1px solid rgba(255, 255, 255, .15); }
.nhSmart__card {
  position: relative; overflow: hidden; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .15); min-height: 300px;
  display: flex; align-items: center; padding: 36px 34px;
  background: var(--bg) right center / auto 100% no-repeat, radial-gradient(60% 120% at 80% 50%, #0c3d8f 0%, #061b44 55%, #030a1c 100%);
}
.nhSmart__copy { max-width: 470px; color: #fff; }
.nhSmart__copy h2 { font: 700 clamp(24px, 2.6vw, 34px)/1.2 var(--rg-sans); color: #fff; margin: 0 0 14px; }
.nhSmart__copy p { font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .9); margin: 0 0 22px; }

.nhEnterprise { display: grid; grid-template-columns: 1fr 1fr; min-height: 420px; background: #000; }
.nhEnterprise__media { background: var(--bg) center / cover no-repeat, linear-gradient(135deg, #0b3a7a, #091a33); }
.nhEnterprise__copy {
  display: flex; flex-direction: column; justify-content: center; padding: 40px clamp(20px, 4vw, 56px); color: #fff;
  background: linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .2)), var(--bg) center / cover no-repeat, radial-gradient(80% 90% at 80% 50%, #5a2209, #1a0b05 70%);
}
.nhEnterprise .nhTitle { color: #fff; font-size: clamp(30px, 3.2vw, 44px); max-width: 520px; }
.nhEnterprise__copy > p { font-size: 13px; line-height: 1.6; max-width: 560px; color: rgba(255, 255, 255, .9); margin: 0 0 18px; }
.nhEnterprise__row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.nhEnterprise__row ul { margin: 0; padding-left: 18px; font-size: 12px; font-weight: 700; line-height: 2; }

/* ==========================================================================
   Tech stack
   ========================================================================== */
.nhStack__nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.nhStack__tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
.nhStack__tabs::-webkit-scrollbar { display: none; }
.nhStack__tab {
  flex: none; display: flex; flex-direction: column; gap: 22px; padding: 0 30px 0 0; min-width: 100px;
  border: 0; background: none; text-align: left; cursor: pointer; color: #6b7280; font-family: var(--rg-sans);
}
.nhStack__tab b { position: relative; display: block; font: 500 18px var(--rg-sans); padding-bottom: 14px; border-bottom: 2px solid #ececec; }
.nhStack__tab span { font-size: 13px; }
.nhStack__tab.is-active, .nhStack__tab.is-active b { color: var(--rg-orange); }
.nhStack__tab.is-active b { border-bottom-color: var(--rg-orange); }
.nhStack__arrows { display: flex; gap: 8px; }
.nhStack__grid { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid #f6e3d2; border-left: 1px solid #f6e3d2; max-width: 1000px; animation: aiIn .5s var(--rg-ease); }
.nhStack__grid[hidden] { display: none; }
.nhStack__item {
  aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  border-right: 1px solid #f6e3d2; border-bottom: 1px solid #f6e3d2; font-size: 13px; color: #1d2330; transition: background .25s;
}
.nhStack__item:hover { background: #fff7f0; }
.nhStack__item img { width: 40px; height: 40px; object-fit: contain; transition: transform .35s var(--rg-ease); }
.nhStack__item:hover img, .nhStack__item:hover .nhSi { transform: translateY(-3px) scale(1.06); }
.nhSi { width: 36px; height: 36px; display: block; background: var(--c); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; transition: transform .35s var(--rg-ease); }

/* ==========================================================================
   Idea CTA + industries
   ========================================================================== */
.nhIdea { padding: clamp(48px, 6vw, 80px) 0 0; }
.nhIdea__card {
  position: relative; overflow: hidden; min-height: 240px; border-radius: 18px; display: flex; align-items: center; padding: 34px;
  background: var(--bg) center / cover no-repeat, repeating-linear-gradient(90deg, rgba(255, 255, 255, .08) 0 2px, transparent 2px 22px), linear-gradient(90deg, #ff4d00 0%, #ff6a1a 40%, #e9a27a 70%, #c8d7ea 100%);
}
.nhIdea__copy { position: relative; z-index: 1; max-width: 460px; color: #fff; }
.nhIdea__copy h2 { font: 700 clamp(24px, 2.6vw, 34px)/1.2 var(--rg-sans); color: #fff; margin: 0 0 12px; }
.nhIdea__copy p { font-size: 14px; line-height: 1.6; margin: 0 0 20px; color: rgba(255, 255, 255, .95); }
.nhIdea__burst { position: absolute; right: 9%; top: 50%; width: 220px; height: 220px; transform: translateY(-50%); animation: nhSpin 28s linear infinite; }
.nhIdea__burst i {
  position: absolute; left: 50%; top: 50%; width: 46%; height: 18%; margin: -9% 0 0; transform-origin: 0 50%;
  transform: rotate(var(--r)) translateX(14%); border-radius: 6px 30px 30px 6px;
  background: linear-gradient(90deg, #1b2fd6, #4f6bff 60%, #b9c6ff); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
}
.nhIdea__card[style] .nhIdea__burst { display: none; }

.nhInd__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 90px); align-items: start; }
.nhInd__stage { position: sticky; top: 110px; }
.nhInd__media { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #f3f5f9; }
.nhInd__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.03); transition: opacity .5s var(--rg-ease), transform .7s var(--rg-ease); }
.nhInd__slide.is-active { opacity: 1; transform: none; }
.nhInd__slide > img { width: 100%; height: 100%; object-fit: cover; }
.nhInd__icon { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: radial-gradient(circle at 50% 40%, #fff3e8, #eaf2ff 70%); }
.nhInd__icon img { width: 96px; height: 96px; object-fit: contain; filter: drop-shadow(0 10px 20px rgba(240, 122, 26, .25)); }
.nhInd__icon span { font: 600 22px var(--rg-sans); color: #05070d; }
.nhInd__more { margin-top: 16px; }
.nhInd__list { list-style: none; margin: 0; padding: 0; }
.nhInd__list a {
  display: block; padding: 8px 0; font: 400 clamp(17px, 1.6vw, 21px)/1.5 var(--rg-sans); color: #1d2330; text-decoration: none;
  transition: color .2s, transform .3s var(--rg-ease);
}
.nhInd__list a:hover { color: var(--rg-orange); transform: translateX(6px); }
.nhInd__list a.is-active { color: var(--rg-orange); font-weight: 600; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.nhTesti { margin-top: clamp(56px, 7vw, 100px); padding: clamp(48px, 6vw, 80px) 0 0; background: radial-gradient(70% 90% at 50% 0%, #0c3a6b, #041226 60%, #000); overflow: hidden; }
.nhTesti__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.nhTesti__head .nhHead { margin-bottom: 28px; max-width: 620px; }
.nhTesti__head > .nhBtn { margin-bottom: 34px; flex: none; }
.nhTesti__body { position: relative; padding-bottom: 50px; min-height: 320px; }
.nhTesti__track { display: grid; grid-auto-flow: column; grid-auto-columns: 190px; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; max-width: 610px; position: relative; z-index: 1; }
.nhTesti__track::-webkit-scrollbar { display: none; }
.nhQuote {
  scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; padding: 16px 14px; min-height: 250px;
  border-radius: 12px; background: #000; border: 1px solid rgba(255, 255, 255, .35); color: #fff; transition: background .4s, transform .4s var(--rg-ease);
}
.nhQuote:hover { transform: translateY(-4px); }
.nhQuote.is-hot { background: linear-gradient(170deg, #f07a1a, #b84d06); border-color: transparent; }
.nhQuote__rate { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.nhQuote__text { flex: 1; margin: 0; font-size: 11.5px; line-height: 1.5; color: rgba(255, 255, 255, .92); display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.nhQuote footer strong { display: block; font-size: 13px; font-weight: 700; }
.nhQuote footer span { display: block; font-size: 10px; color: rgba(255, 255, 255, .75); margin-top: 4px; }
.nhTesti__nav { display: flex; gap: 10px; justify-content: center; max-width: 610px; margin-top: 22px; }
.nhTesti__person { position: absolute; right: 0; bottom: 0; height: 100%; max-height: 380px; width: auto; pointer-events: none; }
.nhRecog { background: #f5f5f5; border-bottom: 1px solid #ececec; }
.nhRecog .nhWrap { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 4vw, 40px); padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.nhRecog span { font-size: 12px; color: #1d2330; }
.nhRecog img { height: 22px; width: auto; object-fit: contain; filter: brightness(0); opacity: .8; transition: opacity .3s; }
.nhRecog img:hover { opacity: 1; }

/* ==========================================================================
   Blog + FAQ + perform CTA
   ========================================================================== */
.nhBlog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.nhBlog .blog_card { background: none; box-shadow: none; padding: 0; border-radius: 0 !important; }
.nhBlog .blog_card:hover { transform: none; box-shadow: none; }
.nhBlog .Blog_img { border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 9; margin-bottom: 14px; }
.nhBlog .Blog_img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--rg-ease); }
.nhBlog .blog_card:hover .Blog_img img { transform: scale(1.05); }
.nhBlog .blog_summery a { text-decoration: none; }
.nhBlog .blog_summery h6 { font: 700 16px/1.3 var(--rg-sans); color: #05070d; margin: 0 0 8px; }
.nhBlog .blog_summery p { font-size: 12px; line-height: 1.5; color: #4b5260; margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nhBlog .read_more { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: #05070d; }
.nhBlog .read_more i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid #c9ced8; display: grid; place-items: center; transform: rotate(90deg); font-size: 10px; }

.nhFaq { padding-bottom: clamp(48px, 6vw, 80px); }
.nhFaq__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.nhFaq__grid .nhHead { margin: 0; }
.nhFaq__grid .nhHead p { color: #8a93a3; margin-bottom: 20px; }
.nhFaq__list { display: flex; flex-direction: column; gap: 8px; }
.nhFaq__item { border-radius: 6px; border: 1px solid #f3e0cf; background: linear-gradient(90deg, #f2f4f8 0%, #fdf3ea 100%); transition: box-shadow .3s; }
.nhFaq__item[open] { box-shadow: 0 10px 24px -18px rgba(240, 122, 26, .7); }
.nhFaq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 12px; font-size: 13px; color: #05070d;
}
.nhFaq__item summary::-webkit-details-marker { display: none; }
.nhFaq__item summary::after {
  content: "+"; flex: none; width: 16px; height: 16px; border-radius: 50%; border: 1.3px solid var(--rg-orange); color: var(--rg-orange);
  display: grid; place-items: center; font-size: 13px; line-height: 1; transition: transform .3s var(--rg-ease);
}
.nhFaq__item[open] summary::after { transform: rotate(45deg); }
.nhFaq__answer { padding: 0 12px 12px; font-size: 13px; line-height: 1.6; color: #3a4150; }
.nhFaq__answer p:last-child { margin-bottom: 0; }

.nhPerform {
  position: relative; overflow: hidden; min-height: 360px; display: flex; align-items: center; padding: 60px 0;
  background: var(--bg) right center / cover no-repeat,
    radial-gradient(40% 70% at 82% 55%, #d6ff2a 0%, #b9e60e 40%, transparent 70%),
    linear-gradient(110deg, #f1702b 0%, #f3b48d 35%, #f5f2ef 55%, #d7ec46 80%, #c4e01d 100%);
}
.nhPerform .nhWrap { width: 100%; }
.nhPerform__copy { max-width: 440px; }
.nhPerform__copy h2 { font: 700 clamp(26px, 2.8vw, 36px)/1.2 var(--rg-sans); color: #05070d; margin: 0 0 14px; }
.nhPerform__copy p { font-size: 14px; line-height: 1.6; color: #1d2330; margin: 0 0 22px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
  .aiHero__grid { grid-template-columns: minmax(0, 1fr) 230px; }
  .nhServices__grid { grid-template-columns: repeat(2, 1fr); }
  .nhSvc--wide { grid-column: span 2; }
}
@media (max-width: 991px) {
  .aiHero__grid { grid-template-columns: 1fr; }
  .aiHero__side { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
  .aiHero__label { grid-column: 1 / -1; margin: 0; }
  .aiTiles { margin: 0; }
  .nhStats__track { grid-auto-columns: calc((100% - 16px) / 2.2); }
  .nhAiSol__frame { grid-template-columns: repeat(2, 1fr); }
  .nhPortfolio__track { grid-auto-columns: calc((100% - 16px) / 2); }
  .nhEnterprise { grid-template-columns: 1fr; }
  .nhEnterprise__media { min-height: 260px; }
  .nhStack__grid { grid-template-columns: repeat(4, 1fr); }
  .nhInd__grid { grid-template-columns: 1fr; }
  .nhInd__stage { position: static; }
  .nhInd__list { columns: 2; column-gap: 24px; }
  .nhTesti__person { opacity: .25; }
  .nhFaq__grid { grid-template-columns: 1fr; }
  .nhBlog__grid { grid-template-columns: 1fr 1fr; }
  .nhSmart__card { background-size: auto 60%, auto; background-position: right bottom, 0 0; }
}
@media (max-width: 767px) {
  .aiHero { padding-bottom: 110px; }
  .aiHero__side { grid-template-columns: 1fr; }
  .aiHero__lead { font-size: 15px; }
  .aiHero__bottom { grid-template-columns: 1fr; }
  .aiPanel--narrow { min-height: 52px; }
  .aiPanel__vertical { writing-mode: horizontal-tb; }
  .nhStats__track { grid-auto-columns: 82%; }
  .nhAiSol__frame { grid-template-columns: 1fr; }
  .nhServices__grid { grid-template-columns: 1fr; }
  .nhSvc--wide { grid-column: auto; }
  .nhSvc--wide .nhSvc__body { max-width: none; }
  .nhSvc__art { opacity: .25; }
  .nhPortfolio__track { grid-auto-columns: 85%; }
  .nhStack__grid { grid-template-columns: repeat(3, 1fr); }
  .nhStack__nav { flex-direction: column; align-items: stretch; }
  .nhStack__arrows { justify-content: flex-end; }
  .nhIdea__burst { opacity: .35; right: -60px; }
  .nhTesti__head { flex-direction: column; align-items: flex-start; }
  .nhTesti__head > .nhBtn { margin-bottom: 20px; }
  .nhTesti__track { grid-auto-columns: 78%; }
  .nhTesti__person { display: none; }
  .nhBlog__grid { grid-template-columns: 1fr; }
  .nhInd__list { columns: 1; }
  .nhSmart__card, .nhIdea__card { padding: 26px 22px; }
  .nhPerform { background-position: center, 70% 80%, 0 0; }
}
