/* 9to9Properties marketing homepage — reference-aligned layout */
:root {
  --navy: #16325c;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --green: #22c55e;
  --muted: #64748b;
  --line: #e2e8f0;
  --soft: #eef2f7;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --radius: 18px;
  --shadow: 0 14px 36px rgba(15, 36, 68, .12);
  --max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.nn {
  margin: 0;
  font-family: var(--font);
  color: #1e293b;
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.nn-container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.nn-inline { display: inline; }

/* —— Header —— */
.nn-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.nn-header__row {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 76px;
}

.nn-logo {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  flex-shrink: 0;
}

.nn-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nn-logo__text strong {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--navy);
}

.nn-logo__text small {
  font-size: .7rem;
  font-weight: 500;
  color: var(--muted);
}

.nn-logo--light .nn-logo__text strong { color: #fff; }
.nn-logo--light .nn-logo__text small { color: rgba(255,255,255,.7); }

.nn-nav {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 1.35rem;
}

.nn-nav a {
  font-size: .94rem;
  font-weight: 600;
  color: #334155;
  position: relative;
  padding: .2rem 0;
}

.nn-nav a:hover,
.nn-nav a.is-active { color: var(--blue); }

.nn-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.nn-header__actions {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-shrink: 0;
}

.nn-burger {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.nn-mobile-panel {
  display: none;
}

.nn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 42px;
  padding: 0 1.15rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}

.nn-btn--outline {
  background: #fff;
  color: var(--blue);
  border-color: var(--blue);
}

.nn-btn--outline:hover { background: #eff6ff; }

.nn-btn--primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.nn-btn--primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.nn-btn--white {
  background: #fff;
  color: var(--blue);
  border-color: #fff;
}

/* —— Hero (full-bleed, flush under header, no curves) —— */
.nn-hero {
  padding: 0;
  margin: 0;
  background: #0f2744;
}

.nn-hero__panel {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  min-height: 460px;
  height: 460px;
  background: #0f2744;
}

.nn-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.nn-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.86) 34%, rgba(255,255,255,.35) 58%, rgba(255,255,255,0) 78%),
    linear-gradient(180deg, rgba(255,255,255,.12) 0%, transparent 40%, rgba(15,36,68,.2) 100%);
}

.nn-hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2.5rem 0 2rem;
}

.nn-hero__content {
  max-width: 40rem;
  padding: 0;
}

.nn-hero__content h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 4vw, 3.15rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--navy);
}

.nn-hero__content h1 span { color: var(--green); }

.nn-hero__content > p {
  margin: 0 0 1.35rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
  font-weight: 500;
}

.nn-trust {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: .85rem 1.25rem;
  white-space: nowrap;
}

.nn-trust li {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .86rem;
  font-weight: 600;
  color: var(--navy);
  flex-shrink: 0;
}

.nn-trust i {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: var(--blue);
  font-size: .78rem;
}

/* Search under hero copy — left aligned, not full width */
.nn-search {
  position: relative;
  z-index: 5;
  width: min(100%, 720px);
  max-width: 720px;
  margin: 0;
  align-self: flex-start;
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1rem 1.1rem 1.1rem;
  flex-shrink: 0;
}

.nn-search__tabs {
  display: flex;
  gap: .5rem;
  margin-bottom: .85rem;
}

.nn-search__tab {
  border: 0;
  border-radius: 999px;
  padding: .4rem 1rem;
  font-size: .88rem;
  font-weight: 700;
  background: #f1f5f9;
  color: #64748b;
  cursor: pointer;
}

.nn-search__tab.is-active {
  background: var(--blue);
  color: #fff;
}

.nn-search__fields {
  display: grid;
  grid-template-columns: 1.45fr .65fr .9fr auto;
  gap: .65rem;
  align-items: end;
}

.nn-field span:first-child,
.nn-field > span:not(.nn-field__box) {
  display: block;
  margin-bottom: .28rem;
  font-size: .74rem;
  font-weight: 700;
  color: var(--muted);
}

.nn-field input,
.nn-field select,
.nn-field__box input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 1rem;
  background: #fff;
  color: var(--navy);
  font-weight: 500;
}

.nn-field__box {
  position: relative;
  display: block;
}

.nn-field__box i {
  position: absolute;
  left: .9rem;
  top: 50%;
  margin-top: -.45rem;
  color: #94a3b8;
  font-size: .9rem;
  pointer-events: none;
}

.nn-field__box input { padding-left: 2.3rem; }

.nn-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2394a3b8' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.nn-search__btn {
  height: 48px;
  border: 0;
  border-radius: 12px;
  padding: 0 1.25rem;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  cursor: pointer;
}

.nn-search__btn:hover { background: var(--blue-dark); }

/* —— Sections —— */
/* Match App Features section title spacing (.af-section = 2.35rem) */
.nn-section { padding: 2.35rem 0; }
.nn-section--soft { background: #f8fafc; }

.nn-section__head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.4rem;
}

.nn-section__head--left {
  text-align: left;
  max-width: none;
  margin: 0 0 1.15rem;
}

.nn-section__head h2,
.nn-props__bar h2,
.nn-process__intro h2 {
  margin: 0 0 .55rem;
  font-size: clamp(1.6rem, 2.6vw, 2.05rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.02em;
}

.nn-section__head--left h2 {
  margin: .15rem 0 .35rem;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nn-section__head p,
.nn-process__intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
}

.nn-section__head--left p {
  font-size: .95rem;
  line-height: 1.55;
  max-width: 46rem;
}

/* Features 5×2 */
.nn-features {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.nn-feature {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 16px;
  padding: 1.2rem 1rem 1.25rem;
  box-shadow: 0 6px 18px rgba(15, 36, 68, .04);
  height: 100%;
}

.nn-feature__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: .85rem;
}

.nn-feature h3 {
  margin: 0 0 .35rem;
  font-size: .95rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
}

.nn-feature p {
  margin: 0;
  font-size: .84rem;
  line-height: 1.55;
  color: var(--muted);
  font-weight: 500;
  text-align: justify;
  hyphens: auto;
}

/* Process */
.nn-process {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 2.25rem;
  align-items: center;
}

.nn-process__intro p { margin: 0 0 1.25rem; max-width: 26rem; }

.nn-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: .2rem;
  align-items: start;
}

.nn-step { text-align: left; padding: .25rem; }

.nn-step__visual {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 74px;
  margin-bottom: .7rem;
}

.nn-step__num {
  position: absolute;
  top: -2px;
  left: -4px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

.nn-step__icon {
  width: 64px;
  height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.15rem;
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0 50%);
}

.nn-step__chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 74px;
  color: #cbd5e1;
  list-style: none;
}

.nn-step h3 {
  margin: 0 0 .35rem;
  font-size: .92rem;
  font-weight: 800;
  color: var(--navy);
}

.nn-step p {
  margin: 0;
  font-size: .8rem;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 500;
  text-align: left;
}

/* Properties — rectangular cards, mild radius */
.nn-props__bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.nn-props__bar a {
  color: var(--blue);
  font-weight: 700;
  font-size: .94rem;
  white-space: nowrap;
}

.nn-props {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.nn-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(15, 36, 68, .06);
  display: flex;
  flex-direction: column;
}

.nn-card__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #e2e8f0;
}

.nn-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nn-badge {
  position: absolute;
  top: .75rem;
  right: .75rem;
  border-radius: 4px;
  padding: .28rem .65rem;
  font-size: .75rem;
  font-weight: 800;
  color: #fff;
}

.nn-badge--rent { background: var(--green); }
.nn-badge--sale { background: var(--blue); }

.nn-card__body {
  padding: 1rem 1.05rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  flex: 1;
}

.nn-card__body h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.01em;
}

.nn-card__loc {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 500;
}

.nn-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .9rem;
  font-size: .88rem;
  font-weight: 600;
  color: #475569;
}

.nn-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}

.nn-card__foot {
  margin-top: auto;
  padding-top: .55rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nn-card__foot strong {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--navy);
}

.nn-card__go {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Featured and Occupied */
.nn-fo .nn-section__head--left { margin-bottom: 1.25rem; }

.nn-fo__layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 1.15rem;
  align-items: start;
}

.nn-fo__panels {
  display: grid;
  gap: .65rem;
}

.nn-fo__panel {
  appearance: none;
  width: 100%;
  text-align: left;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  padding: .85rem 1rem;
  cursor: pointer;
  color: inherit;
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.nn-fo__panel.is-active {
  border-color: #93c5fd;
  box-shadow: 0 8px 20px rgba(37, 99, 235, .08);
}

.nn-fo__panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}

.nn-fo__panel-top strong {
  font-size: .95rem;
  font-weight: 800;
  color: var(--navy);
}

.nn-fo__panel-top i {
  font-size: .75rem;
  color: #94a3b8;
  transition: transform .2s ease;
}

.nn-fo__panel.is-active .nn-fo__panel-top i {
  transform: rotate(180deg);
  color: #2563eb;
}

.nn-fo__panel p {
  margin: .45rem 0 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  color: #64748b;
  font-size: .82rem;
  font-weight: 500;
  line-height: 1.45;
  transition: max-height .25s ease, opacity .2s ease, margin .2s ease;
}

.nn-fo__panel.is-active p {
  max-height: 6rem;
  opacity: 1;
  margin-top: .55rem;
}

.nn-fo__bodies { min-width: 0; }

.nn-fo__body[hidden] { display: none !important; }

.nn-fo__slider {
  position: relative;
}

.nn-fo__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin: 0 .15rem;
}

.nn-fo__viewport::-webkit-scrollbar { display: none; }

.nn-fo__track {
  display: flex;
  gap: .85rem;
  width: max-content;
  padding: .15rem 0 .35rem;
}

.nn-fo__card {
  flex: 0 0 230px;
  width: 230px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(15, 36, 68, .05);
}

.nn-fo__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  background: #e2e8f0;
}

.nn-fo__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nn-fo__badge {
  position: absolute;
  top: .55rem;
  left: .55rem;
  border-radius: 4px;
  padding: .2rem .5rem;
  font-size: .68rem;
  font-weight: 800;
  color: #fff;
}

.nn-fo__badge--featured { background: #2563eb; }
.nn-fo__badge--occupied { background: #0f766e; }

.nn-fo__card-body {
  padding: .7rem .75rem .8rem;
  display: grid;
  gap: .4rem;
}

.nn-fo__title {
  display: grid;
  gap: .12rem;
  color: inherit;
  text-decoration: none;
}

.nn-fo__title strong {
  font-size: .9rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nn-fo__title span {
  font-size: .76rem;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nn-fo__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .65rem;
  font-size: .78rem;
  font-weight: 700;
  color: #334155;
}

.nn-fo__card--more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  text-decoration: none;
  color: #2563eb;
  font-weight: 800;
  font-size: .92rem;
  background: #f8fafc;
  min-height: 320px;
}

.nn-fo__card--more:hover { background: #eff6ff; }

.nn-fo__nav {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  color: var(--navy);
  box-shadow: 0 8px 18px rgba(15, 36, 68, .16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nn-fo__nav--prev { left: -.35rem; }
.nn-fo__nav--next { right: -.35rem; }

/* Testimonials + Property Insights */
.nn-ti {
  padding-top: 1.25rem;
  padding-bottom: 2.25rem;
  background: #fff;
  overflow-x: clip;
}

.nn-ti__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 1rem;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
}

.nn-ti__panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: 0 8px 22px rgba(15, 36, 68, .05);
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.nn-ti__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .85rem;
}

.nn-ti__panel-head strong {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
}

.nn-ti__google {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: #64748b;
  font-size: .82rem;
  font-weight: 700;
}

.nn-ti__google i { color: #4285f4; }

.nn-ti__rating {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1rem;
}

.nn-ti__score {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.nn-ti__score > strong {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--navy);
}

.nn-ti__stars {
  display: inline-flex;
  gap: .12rem;
  color: #f59e0b;
  font-size: .9rem;
}

.nn-ti__stars--sm { font-size: .72rem; }

.nn-ti__link {
  color: #2563eb;
  font-size: .88rem;
  font-weight: 700;
  white-space: nowrap;
}

.nn-ti__rotator { flex: 1; display: flex; flex-direction: column; }

.nn-ti__slides {
  position: relative;
  flex: 1;
  min-height: 168px;
}

.nn-ti__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.nn-ti__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.nn-ti__person {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: .7rem;
}

.nn-ti__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #16325c;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

.nn-ti__person strong {
  display: block;
  font-size: .95rem;
  color: var(--navy);
}

.nn-ti__meta {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: #94a3b8;
  font-size: .75rem;
  font-weight: 600;
}

.nn-ti__slide p {
  margin: 0;
  color: #475569;
  font-size: .92rem;
  font-weight: 500;
  line-height: 1.55;
}

.nn-ti__dots {
  display: flex;
  gap: .4rem;
  margin-top: .9rem;
}

.nn-ti__dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: #cbd5e1;
  cursor: pointer;
}

.nn-ti__dots button.is-active { background: #2563eb; }

.nn-ti__insights {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 240px;
  max-width: 100%;
  overflow: hidden;
  padding: 0 2.1rem;
}

.nn-ti__insights-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
  max-width: 100%;
  touch-action: pan-x;
}

.nn-ti__insights-viewport::-webkit-scrollbar { display: none; }

.nn-ti__insights-track {
  display: flex;
  gap: .75rem;
  width: max-content;
  max-width: none;
  padding: .1rem 0 .2rem;
}

.nn-ti__insight {
  flex: 0 0 220px;
  width: 220px;
  max-width: 220px;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e8eef5;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
}

.nn-ti__insight figure {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e2e8f0;
}

.nn-ti__insight img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nn-ti__insight > div {
  padding: .7rem .75rem .8rem;
  display: grid;
  gap: .3rem;
}

.nn-ti__insight strong {
  font-size: .84rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nn-ti__insight p {
  margin: 0;
  color: #64748b;
  font-size: .76rem;
  font-weight: 500;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nn-ti__nav {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 8px 18px rgba(15, 36, 68, .14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nn-ti__nav--prev { left: .15rem; }
.nn-ti__nav--next { right: .15rem; }

/* Stats + CTA */
.nn-band {
  background: var(--soft);
  padding: 2.4rem 0 3rem;
}

.nn-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.nn-stat i {
  color: var(--blue);
  font-size: 1.35rem;
  margin-bottom: .4rem;
}

.nn-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
}

.nn-stat span {
  display: block;
  margin-top: .15rem;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
}

.nn-cta {
  background: linear-gradient(110deg, #16325c 0%, #1e4d8c 55%, #2563eb 100%);
  border-radius: 20px;
  color: #fff;
  padding: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
  min-height: 140px;
}

.nn-cta::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 70%;
  background:
    radial-gradient(ellipse 40% 80% at 20% 100%, rgba(255,255,255,.12), transparent),
    radial-gradient(ellipse 30% 70% at 55% 100%, rgba(255,255,255,.1), transparent),
    radial-gradient(ellipse 35% 90% at 85% 100%, rgba(255,255,255,.12), transparent);
  pointer-events: none;
}

.nn-cta__copy {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  position: relative;
  z-index: 1;
}

.nn-cta h2 {
  margin: 0 0 .35rem;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 800;
}

.nn-cta p {
  margin: 0;
  max-width: 34rem;
  color: rgba(255,255,255,.88);
  font-weight: 500;
  line-height: 1.55;
}

.nn-cta .nn-btn { position: relative; z-index: 1; flex-shrink: 0; }

/* Footer */
.nn-footer {
  background: #0b1b33;
  color: #fff;
  padding: 2.6rem 0 1.4rem;
}

.nn-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem 1.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.nn-footer__col h3 {
  margin: 0 0 .9rem;
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #fff;
}

.nn-footer__col ul {
  display: grid;
  gap: .55rem;
}

.nn-footer__col a {
  color: rgba(255,255,255,.72);
  font-size: .9rem;
  font-weight: 500;
  line-height: 1.4;
}

.nn-footer__col a:hover { color: #fff; }

.nn-footer__social {
  display: flex;
  gap: .55rem;
  flex-shrink: 0;
}

.nn-footer__social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.85);
}

.nn-footer__copy {
  padding-top: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.nn-footer__copy-text {
  color: rgba(255,255,255,.55);
  font-size: .84rem;
  font-weight: 500;
  text-align: center;
  flex: 1 1 auto;
}

/* NRI Services */
.nn-nri {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.nn-nri__card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem 1.15rem 1.3rem;
  box-shadow: 0 6px 18px rgba(15, 36, 68, .04);
}

.nn-nri__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: .85rem;
}

.nn-nri__card h3 {
  margin: 0 0 .4rem;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--navy);
}

.nn-nri__card p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.55;
  color: var(--muted);
  font-weight: 500;
  text-align: left;
}

.nn-nri__cta {
  margin-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.15rem 1.25rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

.nn-nri__cta p {
  margin: 0;
  max-width: 38rem;
  color: var(--navy);
  font-weight: 600;
  font-size: .98rem;
}

/* —— Responsive —— */
@media (max-width: 1100px) {
  .nn-features { grid-template-columns: repeat(3, 1fr); }
  .nn-props { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nn-header__row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: .75rem;
    min-height: auto;
    padding: .85rem 0;
  }
  .nn-logo { grid-column: 1; }
  .nn-burger {
    display: inline-flex;
    grid-column: 2;
    margin-left: 0;
  }
  .nn-nav,
  .nn-header__actions { display: none !important; }

  .nn-mobile-panel {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(15, 36, 68, .12);
    padding: .55rem;
    margin-top: .15rem;
  }
  .nn-mobile-panel.is-open,
  .nn-mobile-panel:not([hidden]) {
    display: block;
  }
  .nn-mobile-panel__nav {
    display: flex;
    flex-direction: column;
    gap: .15rem;
  }
  .nn-mobile-panel__nav a {
    display: block;
    padding: .85rem 1rem;
    border-radius: 10px;
    color: var(--navy);
    font-size: 1rem;
    font-weight: 650;
  }
  .nn-mobile-panel__nav a:hover,
  .nn-mobile-panel__nav a.is-active {
    background: #eff6ff;
    color: var(--blue);
  }
  .nn-mobile-panel__nav a.is-active::after { display: none; }
  .nn-mobile-panel__actions {
    display: flex;
    gap: .55rem;
    padding: .55rem .45rem .35rem;
    border-top: 1px solid var(--line);
    margin-top: .35rem;
  }
  .nn-mobile-panel__actions .nn-btn { flex: 1; }

  .nn-hero__panel {
    height: auto;
    min-height: 520px;
  }
  .nn-hero__inner {
    padding: 2rem 0 1.5rem;
    gap: 1.25rem;
    justify-content: flex-start;
  }
  .nn-hero__content { max-width: none; }
  .nn-trust {
    flex-wrap: wrap;
    white-space: normal;
  }
  .nn-hero__shade {
    background:
      linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.78) 42%, rgba(255,255,255,.2) 70%, transparent 100%);
  }
  .nn-search { width: 100%; max-width: 100%; }
  .nn-search__fields { grid-template-columns: 1fr 1fr; }
  .nn-search__btn { grid-column: 1 / -1; width: 100%; }
  .nn-process { grid-template-columns: 1fr; }
  .nn-steps {
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
  }
  .nn-step__chevron { display: none; }
  .nn-stats { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .nn-cta { flex-direction: column; align-items: flex-start; }
  .nn-footer__grid { grid-template-columns: 1fr 1fr; }
  .nn-nri { grid-template-columns: 1fr 1fr; }
  .nn-footer__copy { justify-content: flex-start; }
  .nn-footer__copy-text { flex-basis: 100%; text-align: left; order: 3; }
  .nn-fo__layout { grid-template-columns: 1fr; }
  .nn-section__head--left h2 { white-space: normal; }
  .nn-ti__grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .nn-container { width: min(100% - 1.25rem, var(--max)); }
  .nn-logo__text small { display: none; }
  .nn-features,
  .nn-props,
  .nn-steps,
  .nn-stats,
  .nn-search__fields,
  .nn-footer__grid,
  .nn-nri { grid-template-columns: 1fr; }
  .nn-props__bar { flex-direction: column; align-items: flex-start; }
  .nn-nri__cta { flex-direction: column; align-items: flex-start; }
}
