/* Nebira modern layer — scoped to redesigned pages */

/* Local Ionicons — do not depend on acodez CDN */
@font-face {
  font-family: "Ionicons";
  src: url("../fonts/ionicons.eot");
  src: url("../fonts/ionicons.eot?v=2.0.0#iefix") format("embedded-opentype"),
       url("../fonts/ionicons.woff?v=2.0.0") format("woff"),
       url("../fonts/ionicons.ttf") format("truetype"),
       url("../fonts/ionicons.svg#Ionicons") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

[class^="ion-"]:before,
[class*=" ion-"]:before,
.ionicons:before {
  font-family: "Ionicons" !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  --nb-ink: #16324f;
  --nb-ink-soft: #3a5168;
  --nb-mist: #eef2f5;
  --nb-paper: #ffffff;
  --nb-pine: #1f8a70;
  --nb-pine-deep: #176b58;
  --nb-gold: #c9922a;
  --nb-line: #d5dee8;
  --nb-shadow: 0 24px 60px rgba(22, 50, 79, 0.14);
  --nb-radius: 4px;
  --nb-display: "Sora", sans-serif;
  --nb-body: "IBM Plex Sans", sans-serif;
}

body.nb-modern,
body.re-landing {
  font-family: var(--nb-body);
  color: var(--nb-ink);
  background: var(--nb-paper);
}

body.nb-modern #header,
body.re-landing #header {
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

/* Over-hero: light nav. fixedheader class is on #header, not body. */
body.nb-modern #header:not(.fixedheader) .desk-menu .main-menu li a,
body.nb-modern #header:not(.fixedheader) .btn-1,
body.re-landing #header:not(.fixedheader) .desk-menu .main-menu li a,
body.re-landing #header:not(.fixedheader) .btn-1 {
  color: #fff !important;
}

body.nb-modern #header:not(.fixedheader) .nav-icon,
body.re-landing #header:not(.fixedheader) .nav-icon {
  color: #fff;
}

/* Sticky white bar: force readable ink colors */
body.nb-modern #header.fixedheader .desk-menu .main-menu li a,
body.re-landing #header.fixedheader .desk-menu .main-menu li a {
  color: var(--nb-ink) !important;
}

body.nb-modern #header.fixedheader .btn-1,
body.re-landing #header.fixedheader .btn-1 {
  color: var(--nb-pine) !important;
  border-color: var(--nb-pine) !important;
  background: transparent !important;
}

body.nb-modern #header.fixedheader .btn-1:hover,
body.re-landing #header.fixedheader .btn-1:hover {
  color: #fff !important;
  background: var(--nb-pine) !important;
}

body.nb-modern #header.fixedheader .nav-icon,
body.re-landing #header.fixedheader .nav-icon {
  color: var(--nb-ink) !important;
}

.re-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: no-preference) {
  .re-hero-bg img {
    animation: nbKen 20s ease-in-out infinite alternate;
  }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .nb-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .nb-reveal.is-in {
    opacity: 1;
    transform: none;
  }
  .nb-hero-media img {
    animation: nbKen 18s ease-in-out infinite alternate;
  }
  .nb-hero-copy > * {
    animation: nbRise 0.75s ease both;
  }
  .nb-hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
  .nb-hero-copy > *:nth-child(2) { animation-delay: 0.14s; }
  .nb-hero-copy > *:nth-child(3) { animation-delay: 0.24s; }
  .nb-hero-copy > *:nth-child(4) { animation-delay: 0.34s; }
}

@media (prefers-reduced-motion: reduce) {
  .nb-reveal,
  .nb-hero-copy > * {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@keyframes nbRise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes nbKen {
  from { transform: scale(1.02); }
  to { transform: scale(1.1); }
}

/* ---------- Shared buttons ---------- */
.nb-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.45rem;
  border-radius: var(--nb-radius);
  font-family: var(--nb-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nb-btn:hover {
  transform: translateY(-1px);
}

.nb-btn-primary {
  background: var(--nb-pine);
  color: #fff !important;
}

.nb-btn-primary:hover {
  background: var(--nb-pine-deep);
  color: #fff !important;
}

.nb-btn-ghost {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.45);
}

.nb-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
}

.nb-btn-ink {
  background: var(--nb-ink);
  color: #fff !important;
}

.nb-btn-ink:hover {
  background: #0f2438;
  color: #fff !important;
}

.nb-btn-outline {
  background: transparent;
  color: var(--nb-ink) !important;
  border-color: var(--nb-line);
}

.nb-btn-outline:hover {
  border-color: var(--nb-ink);
}

/* ========== HOME ========== */
.nb-home {
  overflow-x: hidden;
}

.nb-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
}

.nb-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.nb-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nb-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(22, 50, 79, 0.35) 0%, rgba(22, 50, 79, 0.78) 55%, rgba(15, 36, 56, 0.94) 100%),
    linear-gradient(90deg, rgba(22, 50, 79, 0.55) 0%, rgba(22, 50, 79, 0.15) 70%);
}

.nb-hero-inner {
  width: 100%;
  padding: 7.5rem 0 4.5rem;
}

.nb-brand {
  font-family: var(--nb-display);
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0 0 1.25rem;
  color: #fff;
}

.nb-hero h1 {
  font-family: var(--nb-display);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 500;
  line-height: 1.35;
  max-width: 18ch;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.96);
}

.nb-hero .nb-lede {
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 1.75rem;
}

.nb-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.nb-section {
  padding: 5.5rem 0;
}

.nb-section-mist {
  background: var(--nb-mist);
}

.nb-kicker {
  font-family: var(--nb-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--nb-pine);
  margin: 0 0 0.75rem;
  letter-spacing: 0.02em;
}

.nb-section h2 {
  font-family: var(--nb-display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--nb-ink);
  margin: 0 0 0.85rem;
}

.nb-section .nb-lede {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--nb-ink-soft);
  max-width: 38rem;
  margin: 0 0 2.5rem;
}

.nb-about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.nb-about-visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--nb-radius);
  min-height: 360px;
  box-shadow: var(--nb-shadow);
}

.nb-about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}

.nb-services-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.nb-service {
  padding: 1.5rem 0;
  border-top: 1px solid var(--nb-line);
}

.nb-service h3 {
  font-family: var(--nb-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.55rem;
  color: var(--nb-ink);
}

.nb-service p {
  margin: 0;
  color: var(--nb-ink-soft);
  line-height: 1.65;
  font-size: 0.98rem;
}

.nb-promo {
  position: relative;
  overflow: hidden;
  color: #fff;
  min-height: 420px;
  display: flex;
  align-items: center;
}

.nb-promo-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.nb-promo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nb-promo-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(22, 50, 79, 0.92) 0%, rgba(22, 50, 79, 0.72) 48%, rgba(31, 138, 112, 0.45) 100%);
}

.nb-promo-inner {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0;
}

.nb-promo h2 {
  color: #fff;
  max-width: 14ch;
}

.nb-promo .nb-lede {
  color: rgba(255, 255, 255, 0.86);
}

.nb-promo-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 1.5rem 0 1.75rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}

.nb-promo-meta strong {
  color: #fff;
  font-family: var(--nb-display);
}

.nb-works {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.nb-work {
  position: relative;
  overflow: hidden;
  border-radius: var(--nb-radius);
  min-height: 260px;
  background: var(--nb-ink);
}

.nb-work img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
  transition: transform 0.55s ease;
}

.nb-work:hover img {
  transform: scale(1.05);
}

.nb-work-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(transparent, rgba(15, 36, 56, 0.9));
  color: #fff;
  font-family: var(--nb-display);
  font-weight: 600;
}

.nb-quote {
  max-width: 46rem;
  margin: 0 auto;
  text-align: left;
}

.nb-quote blockquote {
  font-family: var(--nb-display);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.45;
  font-weight: 500;
  color: var(--nb-ink);
  margin: 0 0 1.25rem;
}

.nb-quote cite {
  font-style: normal;
  color: var(--nb-ink-soft);
  font-size: 0.95rem;
}

.nb-quote cite strong {
  display: block;
  color: var(--nb-ink);
  font-family: var(--nb-display);
  margin-bottom: 0.15rem;
}

/* ========== REAL ESTATE ========== */
.re-landing .re-hero {
  position: relative;
  min-height: 92vh;
  min-height: 92dvh;
  display: flex;
  align-items: flex-end;
  padding: 0;
  background: none;
  overflow: hidden;
  color: #fff;
}

.re-landing .re-hero:before {
  display: none;
}

.re-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.re-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.re-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 36, 56, 0.25) 0%, rgba(15, 36, 56, 0.72) 48%, rgba(15, 36, 56, 0.94) 100%),
    linear-gradient(90deg, rgba(15, 36, 56, 0.7) 0%, rgba(15, 36, 56, 0.2) 65%);
}

.re-landing .re-hero .container {
  position: relative;
  z-index: 1;
  padding-top: 8rem;
  padding-bottom: 4rem;
}

.re-landing .re-badge {
  border-radius: var(--nb-radius);
  text-transform: none;
  letter-spacing: 0.02em;
  font-family: var(--nb-display);
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.re-landing .re-badge .dot {
  background: var(--nb-pine);
  box-shadow: none;
}

.re-landing .re-hero h1 {
  font-family: var(--nb-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 14ch;
  margin-top: 1rem;
}

.re-landing .re-hero p.lead {
  max-width: 34rem;
}

.re-landing .re-btn-primary {
  background: var(--nb-pine);
  border-radius: var(--nb-radius);
  box-shadow: none;
}

.re-landing .re-btn-primary:hover {
  background: var(--nb-pine-deep);
}

.re-landing .re-btn-ghost {
  border-radius: var(--nb-radius);
  box-shadow: none;
}

.re-landing .re-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 720px;
}

.re-landing .re-metric {
  border-radius: var(--nb-radius);
  background: rgba(255, 255, 255, 0.08);
}

.re-landing .re-section.bg-soft {
  background: var(--nb-mist);
}

.re-landing .re-eyebrow {
  text-transform: none;
  letter-spacing: 0.02em;
  border-radius: var(--nb-radius);
  background: rgba(31, 138, 112, 0.12);
  color: var(--nb-pine-deep);
  font-family: var(--nb-display);
}

.re-landing .re-section-title {
  text-align: left;
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.re-landing .re-section-title h2 {
  font-family: var(--nb-display);
  letter-spacing: -0.02em;
}

.re-landing .re-section-title p {
  margin: 0;
}

.re-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--nb-line);
}

.re-feature-row {
  padding: 1.5rem 1.25rem 1.5rem 0;
  border-bottom: 1px solid var(--nb-line);
}

.re-feature-row h4 {
  font-family: var(--nb-display);
  font-size: 1.05rem;
  margin: 0 0 0.45rem;
  color: var(--nb-ink);
}

.re-feature-row p {
  margin: 0;
  color: var(--nb-ink-soft);
  line-height: 1.6;
  font-size: 0.95rem;
}

.re-landing .re-proof {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}

.re-landing .re-proof img {
  width: 100%;
  border-radius: var(--nb-radius);
  display: block;
  box-shadow: var(--nb-shadow);
}

.re-landing .site-pill {
  font-family: var(--nb-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--nb-ink);
  margin-bottom: 1rem;
}

.re-landing .site-pill small {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--nb-ink-soft);
  margin-top: 0.25rem;
}

.re-landing .bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.re-landing .bullets li {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
  color: var(--nb-ink-soft);
}

.re-landing .bullets .check {
  color: var(--nb-pine);
  font-weight: 700;
}

.re-demo {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 5rem 0;
}

.re-demo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.re-demo-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.85);
}

.re-demo-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(15, 36, 56, 0.94) 0%, rgba(15, 36, 56, 0.82) 45%, rgba(31, 138, 112, 0.55) 100%);
}

.re-demo .container {
  position: relative;
  z-index: 1;
}

.re-landing .re-form-wrap {
  background: var(--nb-paper);
  color: var(--nb-ink);
  border-radius: var(--nb-radius);
  padding: 1.75rem;
  box-shadow: var(--nb-shadow);
}

.re-landing .re-form-title {
  font-family: var(--nb-display);
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
}

.re-landing .re-form-subtitle {
  color: var(--nb-ink-soft);
  margin: 0 0 1.25rem;
}

.re-landing .re-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--nb-ink);
}

.re-landing .re-input,
.re-landing .re-textarea {
  border-radius: var(--nb-radius);
  border: 1px solid var(--nb-line);
  width: 100%;
  padding: 0.7rem 0.85rem;
  font-family: var(--nb-body);
}

.re-landing .re-input:focus,
.re-landing .re-textarea:focus {
  outline: 2px solid rgba(31, 138, 112, 0.35);
  border-color: var(--nb-pine);
}

.re-landing .re-submit {
  width: 100%;
  border: 0;
  border-radius: var(--nb-radius);
  background: var(--nb-pine);
  color: #fff;
  font-family: var(--nb-display);
  font-weight: 600;
  padding: 0.95rem 1.25rem;
  margin-top: 0.5rem;
  transition: background 0.2s ease;
}

.re-landing .re-submit:hover {
  background: var(--nb-pine-deep);
}

.re-landing .re-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.re-landing .re-icon {
  display: none;
}

/* Hide old metric/media column artifacts when full-bleed */
.re-landing .re-media,
.re-landing .re-note {
  display: none;
}

@media (max-width: 991px) {
  .nb-about-grid,
  .nb-services-rail,
  .nb-works,
  .re-features,
  .re-landing .re-proof {
    grid-template-columns: 1fr;
  }

  .re-landing .re-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .re-landing .re-hero {
    padding: 0 !important;
    min-height: 85vh;
  }

  .nb-hero {
    min-height: 88vh;
  }

  .nb-about-visual {
    min-height: 260px;
  }
}

@media (max-width: 767px) {
  .nb-section {
    padding: 3.75rem 0;
  }

  .re-landing .re-hero h1 {
    font-size: 2.1rem;
  }

  .re-landing .re-metrics {
    grid-template-columns: 1fr 1fr;
  }
}

/* ========== INNER PAGES ========== */
body.nb-inner {
  font-family: var(--nb-body);
  color: var(--nb-ink);
  background: var(--nb-paper);
}

body.nb-inner #header:not(.fixedheader) .desk-menu .main-menu li a,
body.nb-inner #header:not(.fixedheader) .btn-1 {
  color: #fff !important;
}

body.nb-inner #header:not(.fixedheader) .nav-icon {
  color: #fff;
}

body.nb-inner #header.fixedheader .desk-menu .main-menu li a {
  color: var(--nb-ink) !important;
}

body.nb-inner #header.fixedheader .btn-1 {
  color: var(--nb-pine) !important;
  border-color: var(--nb-pine) !important;
  background: transparent !important;
}

body.nb-inner #header.fixedheader .btn-1:hover {
  color: #fff !important;
  background: var(--nb-pine) !important;
}

body.nb-inner #header.fixedheader .nav-icon {
  color: var(--nb-ink) !important;
}

.nb-page-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

.nb-page-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.nb-page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nb-page-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(15, 36, 56, 0.35) 0%, rgba(15, 36, 56, 0.82) 100%),
    linear-gradient(90deg, rgba(15, 36, 56, 0.55) 0%, rgba(15, 36, 56, 0.2) 70%);
}

.nb-page-hero .container {
  position: relative;
  z-index: 2;
  padding: 7rem 0 3.25rem;
}

.nb-page-hero .nb-kicker {
  color: #9fd9c8;
}

.nb-page-hero h1 {
  font-family: var(--nb-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0.4rem 0 0.85rem;
  max-width: 14ch;
  color: #fff;
}

.nb-page-hero .nb-lede {
  max-width: 36rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  line-height: 1.65;
}

.nb-page-body {
  padding: 4.5rem 0 5.5rem;
}

.nb-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.nb-split-visual {
  position: relative;
  min-height: 320px;
  border-radius: var(--nb-radius);
  overflow: hidden;
  box-shadow: var(--nb-shadow);
}

.nb-split-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nb-service-list {
  display: grid;
  gap: 0;
}

.nb-service-block {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  padding: 2.25rem 0;
  border-top: 1px solid var(--nb-line);
}

.nb-service-block:last-child {
  border-bottom: 1px solid var(--nb-line);
}

.nb-service-block h3 {
  font-family: var(--nb-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--nb-ink);
}

.nb-service-block p {
  margin: 0 0 1rem;
  color: var(--nb-ink-soft);
  line-height: 1.65;
}

.nb-chip-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nb-chip-list li {
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--nb-line);
  border-radius: var(--nb-radius);
  font-size: 0.85rem;
  color: var(--nb-ink);
  background: var(--nb-paper);
}

.nb-work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.nb-work-card {
  position: relative;
  display: block;
  min-height: 280px;
  border-radius: var(--nb-radius);
  overflow: hidden;
  background: var(--nb-ink);
  text-decoration: none !important;
  color: #fff !important;
}

.nb-work-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.nb-work-card:hover img {
  transform: scale(1.05);
}

.nb-work-card-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.35rem;
  background: linear-gradient(transparent, rgba(15, 36, 56, 0.92));
}

.nb-work-card-meta strong {
  display: block;
  font-family: var(--nb-display);
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}

.nb-work-card-meta span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.nb-contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.nb-contact-details {
  display: grid;
  gap: 1.25rem;
}

.nb-contact-details a {
  color: var(--nb-pine-deep);
  text-decoration: none;
}

.nb-contact-details a:hover {
  text-decoration: underline;
}

.nb-contact-item h3 {
  font-family: var(--nb-display);
  font-size: 0.95rem;
  margin: 0 0 0.25rem;
  color: var(--nb-ink);
}

.nb-contact-item p {
  margin: 0;
  color: var(--nb-ink-soft);
  line-height: 1.55;
}

.nb-form {
  background: var(--nb-mist);
  padding: 1.75rem;
  border-radius: var(--nb-radius);
}

.nb-form .nb-field {
  margin-bottom: 1rem;
}

.nb-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--nb-ink);
}

.nb-form .req {
  color: var(--nb-pine);
}

.nb-form input,
.nb-form textarea {
  width: 100%;
  border: 1px solid var(--nb-line);
  border-radius: var(--nb-radius);
  padding: 0.75rem 0.85rem;
  font-family: var(--nb-body);
  background: #fff;
  color: var(--nb-ink);
}

.nb-form input:focus,
.nb-form textarea:focus {
  outline: 2px solid rgba(31, 138, 112, 0.35);
  border-color: var(--nb-pine);
}

.nb-form textarea {
  min-height: 140px;
  resize: vertical;
}

.nb-form .nb-submit {
  border: 0;
  border-radius: var(--nb-radius);
  background: var(--nb-pine);
  color: #fff;
  font-family: var(--nb-display);
  font-weight: 600;
  padding: 0.9rem 1.35rem;
  cursor: pointer;
}

.nb-form .nb-submit:hover {
  background: var(--nb-pine-deep);
}

.nb-map {
  margin-top: 3rem;
  border-radius: var(--nb-radius);
  overflow: hidden;
  box-shadow: var(--nb-shadow);
}

.nb-map iframe {
  display: block;
  width: 100%;
  border: 0;
  min-height: 380px;
}

.nb-legal {
  max-width: 46rem;
  margin: 0 auto;
  line-height: 1.75;
  color: var(--nb-ink-soft);
}

.nb-legal h2,
.nb-legal h3 {
  font-family: var(--nb-display);
  color: var(--nb-ink);
  letter-spacing: -0.02em;
  margin: 2.25rem 0 0.75rem;
}

.nb-legal h2 {
  font-size: 1.45rem;
}

.nb-legal h3 {
  font-size: 1.15rem;
}

.nb-legal ul {
  padding-left: 1.2rem;
}

.nb-legal a {
  color: var(--nb-pine-deep);
}

.nb-cta-band {
  margin-top: 3rem;
  padding: 2.5rem;
  background: var(--nb-ink);
  color: #fff;
  border-radius: var(--nb-radius);
}

.nb-cta-band h2 {
  font-family: var(--nb-display);
  color: #fff;
  margin: 0 0 0.65rem;
  font-size: 1.6rem;
}

.nb-cta-band p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 1.25rem;
  max-width: 34rem;
}

@media (max-width: 991px) {
  .nb-split,
  .nb-service-block,
  .nb-work-grid,
  .nb-contact-grid {
    grid-template-columns: 1fr;
  }

  .nb-page-hero {
    min-height: 44vh;
  }

  .nb-split-visual {
    min-height: 240px;
  }
}
