:root {
  --nbf-blue: #071f88;
  --nbf-blue-2: #0b35aa;
  --nbf-blue-dark: #03134f;
  --nbf-blue-deep: #020c33;
  --nbf-yellow: #f3d10c;
  --nbf-yellow-dark: #d8b800;
  --nbf-ink: #111827;
  --nbf-slate: #4b5563;
  --nbf-muted: #667085;
  --nbf-line: #dbe3ef;
  --nbf-mist: #f4f7fb;
  --nbf-mist-2: #eaf0f8;
  --nbf-white: #ffffff;
  --nbf-success: #0b7a53;
  --shadow-sm: 0 8px 26px rgba(3, 19, 79, 0.08);
  --shadow-md: 0 20px 52px rgba(3, 19, 79, 0.13);
  --shadow-lg: 0 34px 90px rgba(3, 19, 79, 0.2);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1240px;
  --header-height: 92px;
  --transition: 220ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--nbf-white);
  color: var(--nbf-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--nbf-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--nbf-blue-2);
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--nbf-blue-dark);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.75rem, 5.7vw, 5.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.65rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

p {
  color: var(--nbf-slate);
}

::selection {
  background: var(--nbf-yellow);
  color: var(--nbf-blue-dark);
}

:focus-visible {
  outline: 3px solid var(--nbf-yellow);
  outline-offset: 3px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  position: fixed !important;
  z-index: 100000;
  top: 16px;
  left: 16px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  background: var(--nbf-white);
  color: var(--nbf-blue-dark);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.content-narrow {
  width: min(calc(100% - 40px), 820px);
  margin-inline: auto;
}

.site-main {
  min-height: 52vh;
}

section[id],
article[id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.section {
  position: relative;
  padding: clamp(78px, 9vw, 128px) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(38px, 5vw, 62px);
}

.section-heading-centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.about-content h2,
.faq-intro h2 {
  margin-bottom: 20px;
}

.section-heading p:last-child,
.section-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.18rem);
  line-height: 1.75;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--nbf-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 28px;
  height: 3px;
  background: var(--nbf-yellow);
  border-radius: 99px;
}

.eyebrow-light {
  color: var(--nbf-yellow);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 2px solid transparent;
  border-radius: 12px;
  font-size: 0.96rem;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition);
}

.button svg,
.text-link svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  transition: transform var(--transition);
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover svg:last-child,
.text-link:hover svg {
  transform: translateX(4px);
}

.button-primary {
  background: var(--nbf-blue);
  color: var(--nbf-white);
  box-shadow: 0 14px 30px rgba(7, 31, 136, 0.22);
}

.button-primary:hover {
  background: var(--nbf-blue-dark);
  color: var(--nbf-white);
  box-shadow: 0 18px 38px rgba(7, 31, 136, 0.3);
}

.button-secondary,
.button-outline {
  background: var(--nbf-white);
  border-color: rgba(7, 31, 136, 0.22);
  color: var(--nbf-blue);
}

.button-secondary:hover,
.button-outline:hover {
  border-color: var(--nbf-blue);
  background: #f9fbff;
  color: var(--nbf-blue-dark);
}

.button-light {
  background: var(--nbf-white);
  color: var(--nbf-blue-dark);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}

.button-light:hover {
  background: var(--nbf-yellow);
  color: var(--nbf-blue-dark);
}

.button-yellow {
  background: var(--nbf-yellow);
  color: var(--nbf-blue-dark);
  box-shadow: 0 14px 30px rgba(243, 209, 12, 0.25);
}

.button-yellow:hover {
  background: #ffe13c;
  color: var(--nbf-blue-dark);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--nbf-blue);
  font-weight: 750;
  text-decoration: none;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(219, 227, 239, 0.78);
  backdrop-filter: blur(18px);
  transition: box-shadow var(--transition), min-height var(--transition);
}

.site-header.is-scrolled {
  box-shadow: 0 12px 34px rgba(3, 19, 79, 0.08);
}

.site-header .container {
  width: min(calc(100% - 40px), 1480px);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 14px;
  color: var(--nbf-blue-dark);
  text-decoration: none;
}

.site-brand:hover {
  color: var(--nbf-blue-dark);
}

.brand-logo {
  width: 182px;
  max-height: 64px;
  object-fit: contain;
}

.custom-brand-logo,
.custom-brand-logo .custom-logo-link {
  display: block;
}

.custom-brand-logo img {
  width: auto;
  height: 62px;
  max-width: 210px;
  object-fit: contain;
}


.header-navigation {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.primary-navigation .menu {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.45vw, 23px);
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-navigation .menu-item {
  position: relative;
}

.primary-navigation a {
  display: block;
  padding: 12px 0;
  color: var(--nbf-ink);
  font-size: 0.86rem;
  font-weight: 680;
  text-decoration: none;
  transition: color var(--transition);
}

.primary-navigation a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  width: 0;
  height: 3px;
  margin: auto;
  background: var(--nbf-yellow);
  border-radius: 99px;
  content: "";
  transition: width var(--transition);
}

.primary-navigation a:hover,
.primary-navigation a.is-section-active,
.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a {
  color: var(--nbf-blue);
}

.primary-navigation a:hover::after,
.primary-navigation a.is-section-active::after,
.primary-navigation .current-menu-item > a::after,
.primary-navigation .current_page_item > a::after {
  width: 100%;
}

.header-portal {
  display: inline-flex;
  min-height: 48px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 15px;
  background: var(--nbf-yellow);
  color: var(--nbf-blue-dark);
  border: 2px solid var(--nbf-yellow);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(216, 184, 0, 0.18);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.header-portal:hover {
  background: var(--nbf-yellow-dark);
  border-color: var(--nbf-yellow-dark);
  color: var(--nbf-blue-dark);
  transform: translateY(-1px);
}

.header-portal svg {
  width: 19px;
  height: 19px;
}

.header-phone {
  display: inline-flex;
  min-height: 48px;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  padding: 11px 17px;
  background: var(--nbf-blue);
  color: var(--nbf-white);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(7, 31, 136, 0.18);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}

.header-phone:hover {
  background: var(--nbf-blue-dark);
  color: var(--nbf-white);
  transform: translateY(-1px);
}

.header-phone svg {
  width: 19px;
  height: 19px;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: var(--nbf-blue);
  border: 0;
  border-radius: 12px;
  color: var(--nbf-white);
}

.nav-toggle-icon svg {
  width: 25px;
  height: 25px;
}

.nav-toggle-close {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(54px, 7vw, 96px) 0 clamp(72px, 8vw, 110px);
  background:
    radial-gradient(circle at 9% 7%, rgba(243, 209, 12, 0.16), transparent 24%),
    linear-gradient(120deg, #f8fbff 0%, #ffffff 58%, #eef4ff 100%);
}

.hero::before {
  position: absolute;
  z-index: -2;
  top: 0;
  right: -12%;
  width: 58%;
  height: 100%;
  background: linear-gradient(135deg, rgba(7, 31, 136, 0.06), rgba(7, 31, 136, 0.13));
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  content: "";
}

.hero-shape {
  position: absolute;
  z-index: -1;
  right: 3%;
  bottom: -230px;
  width: 530px;
  height: 530px;
  border: 96px solid rgba(7, 31, 136, 0.055);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(42px, 6vw, 84px);
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 28px;
}

.hero h1::after {
  display: block;
  width: 94px;
  height: 7px;
  margin-top: 24px;
  background: var(--nbf-yellow);
  border-radius: 99px;
  content: "";
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 32px;
  color: #344054;
  font-size: clamp(1.12rem, 1.7vw, 1.32rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--nbf-slate);
  font-size: 0.92rem;
  font-weight: 650;
}

.hero-proof > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-proof svg {
  width: 19px;
  height: 19px;
  padding: 3px;
  background: rgba(11, 122, 83, 0.1);
  color: var(--nbf-success);
  border-radius: 50%;
  stroke-width: 2.7;
}

.hero-visual {
  position: relative;
  min-width: 0;
  padding: 24px 0 28px 24px;
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 26px;
  bottom: 0;
  left: 0;
  background: var(--nbf-blue);
  border-radius: 42px 110px 42px 42px;
  content: "";
  transform: rotate(-2deg);
}

.hero-visual picture,
.hero-visual > picture > img {
  width: 100%;
  height: 100%;
}

.hero-visual picture {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  border-radius: 34px 100px 34px 34px;
  box-shadow: var(--shadow-lg);
}

.hero-visual img {
  min-height: 480px;
  object-fit: cover;
  object-position: center;
}

.hero-card {
  position: absolute;
  z-index: 3;
  bottom: -2px;
  left: -28px;
  display: flex;
  min-width: 280px;
  align-items: center;
  gap: 13px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
}

.hero-card-icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  background: var(--nbf-yellow);
  color: var(--nbf-blue-dark);
  border-radius: 13px;
}

.hero-card-icon svg {
  width: 23px;
  height: 23px;
}

.hero-card div {
  display: flex;
  flex-direction: column;
}

.hero-card strong {
  color: var(--nbf-blue-dark);
  font-size: 0.96rem;
}

.hero-card small {
  color: var(--nbf-muted);
  font-size: 0.79rem;
}

.hero-yellow-block {
  position: absolute;
  z-index: -1;
  top: -18px;
  right: -20px;
  width: 140px;
  height: 140px;
  background: var(--nbf-yellow);
  border-radius: 28px;
  transform: rotate(8deg);
}

/* Trust strip */
.trust-strip {
  position: relative;
  z-index: 5;
  background: var(--nbf-blue-dark);
  background-image: url("../images/house-pattern.svg"), linear-gradient(100deg, #03134f, #071f88);
  background-size: 150px, auto;
  color: var(--nbf-white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  display: flex;
  min-height: 128px;
  align-items: center;
  gap: 15px;
  padding: 28px clamp(18px, 2.3vw, 34px);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item > span {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  background: var(--nbf-yellow);
  color: var(--nbf-blue-dark);
  border-radius: 50%;
}

.trust-item svg {
  width: 21px;
  height: 21px;
}

.trust-item div {
  display: flex;
  flex-direction: column;
}

.trust-item strong {
  color: var(--nbf-white);
  font-size: 1rem;
}

.trust-item small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  line-height: 1.35;
}

/* Services */
.services-section {
  background: var(--nbf-white);
}

.services-section::after {
  position: absolute;
  z-index: 0;
  right: -180px;
  bottom: 40px;
  width: 420px;
  height: 420px;
  border: 70px solid var(--nbf-mist);
  border-radius: 50%;
  content: "";
}

.services-section .container {
  position: relative;
  z-index: 1;
}

.service-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.service-card {
  grid-column: span 2;
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(26px, 2.4vw, 34px);
  background: var(--nbf-white);
  border: 1px solid var(--nbf-line);
  border-radius: var(--radius);
  box-shadow: 0 8px 26px rgba(3, 19, 79, 0.045);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--nbf-blue), var(--nbf-yellow));
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  border-color: rgba(7, 31, 136, 0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-8px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.service-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.service-icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  background: rgba(7, 31, 136, 0.075);
  color: var(--nbf-blue);
  border-radius: 17px;
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

.service-number {
  color: #d4dbea;
  font-size: 2rem;
  font-weight: 850;
  letter-spacing: -0.06em;
  line-height: 1;
}

.service-card h3 {
  min-height: 2.4em;
  margin-bottom: 16px;
}

.service-card > p {
  margin-bottom: 20px;
  font-size: 0.94rem;
}

.check-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.check-list li + li {
  margin-top: 11px;
}

.check-list svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  padding: 3px;
  background: rgba(11, 122, 83, 0.1);
  color: var(--nbf-success);
  border-radius: 50%;
  stroke-width: 2.7;
}

.check-list.compact {
  margin-bottom: 26px;
  color: var(--nbf-slate);
  font-size: 0.84rem;
}

.service-card .text-link {
  margin-top: auto;
  padding-top: 4px;
  font-size: 0.9rem;
}

/* About */
.about-section {
  overflow: hidden;
  background: var(--nbf-mist);
}

.about-section::before {
  position: absolute;
  top: -120px;
  left: -180px;
  width: 500px;
  height: 500px;
  background: rgba(243, 209, 12, 0.1);
  border-radius: 50%;
  content: "";
}

.about-grid {
  position: relative;
  display: grid;
  align-items: center;
  gap: clamp(48px, 7vw, 92px);
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
}

.about-image-wrap {
  position: relative;
  padding: 0 28px 30px 0;
}

.about-image-wrap::before {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  width: 78%;
  height: 70%;
  background: var(--nbf-blue);
  border-radius: 26px;
  content: "";
}

.about-image-wrap::after {
  position: absolute;
  z-index: 2;
  top: -24px;
  left: -24px;
  width: 112px;
  height: 112px;
  background: var(--nbf-yellow);
  border-radius: 25px;
  content: "";
  transform: rotate(-8deg);
}

.about-image-wrap > img {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 500px;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: var(--shadow-md);
}

.about-badge {
  position: absolute;
  z-index: 3;
  right: -10px;
  bottom: 62px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--nbf-white);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.about-badge > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  background: rgba(7, 31, 136, 0.08);
  color: var(--nbf-blue);
  border-radius: 13px;
}

.about-badge svg {
  width: 26px;
  height: 26px;
}

.about-badge div {
  display: flex;
  flex-direction: column;
}

.about-badge strong {
  color: var(--nbf-blue-dark);
  font-size: 0.92rem;
}

.about-badge small {
  color: var(--nbf-muted);
  font-size: 0.76rem;
}

.about-content > p:not(.eyebrow) {
  margin-bottom: 22px;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin: 30px 0 34px;
}

.feature-list li {
  gap: 13px;
}

.feature-list li > svg {
  width: 28px;
  height: 28px;
  margin-top: 1px;
}

.feature-list li > span {
  display: flex;
  flex-direction: column;
}

.feature-list strong {
  color: var(--nbf-blue-dark);
  font-size: 0.96rem;
}

.feature-list small {
  color: var(--nbf-muted);
  font-size: 0.86rem;
}

/* Audience */
.audience-section {
  padding-top: clamp(70px, 8vw, 108px);
  padding-bottom: clamp(70px, 8vw, 108px);
  background: var(--nbf-white);
}

.audience-section .section-heading {
  max-width: 850px;
}

.portal-heading {
  margin-bottom: clamp(38px, 5vw, 58px);
}

.audience-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.audience-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 470px;
  padding: clamp(34px, 5vw, 62px);
  border-radius: var(--radius-lg);
}

.audience-card::after {
  position: absolute;
  z-index: -1;
  right: -100px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  border: 56px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.audience-card-blue {
  background: linear-gradient(140deg, var(--nbf-blue-dark), var(--nbf-blue));
  background-image: url("../images/house-pattern.svg"), linear-gradient(140deg, var(--nbf-blue-dark), var(--nbf-blue));
  background-size: 170px, auto;
  color: var(--nbf-white);
  box-shadow: var(--shadow-md);
}

.audience-card-light {
  background: linear-gradient(145deg, #f6f9ff, #e9f0fb);
  border: 1px solid var(--nbf-line);
}

.audience-icon {
  display: grid;
  width: 64px;
  height: 64px;
  margin-bottom: 42px;
  place-items: center;
  background: var(--nbf-yellow);
  color: var(--nbf-blue-dark);
  border-radius: 18px;
}

.audience-card-light .audience-icon {
  background: var(--nbf-blue);
  color: var(--nbf-white);
}

.audience-icon svg {
  width: 33px;
  height: 33px;
}

.card-kicker {
  margin-bottom: 14px;
  color: var(--nbf-yellow);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.audience-card-light .card-kicker {
  color: var(--nbf-blue);
}

.audience-card h2 {
  max-width: 600px;
  margin-bottom: 20px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.audience-card-blue h2 {
  color: var(--nbf-white);
}

.audience-card > p:not(.card-kicker) {
  max-width: 620px;
  margin-bottom: 30px;
  font-size: 1.02rem;
}

.audience-card-blue > p:not(.card-kicker) {
  color: rgba(255, 255, 255, 0.78);
}

/* Process */
.process-section {
  overflow: hidden;
  background: var(--nbf-mist);
}

.process-section::after {
  position: absolute;
  top: 120px;
  right: -120px;
  width: 370px;
  height: 370px;
  background: rgba(7, 31, 136, 0.05);
  border-radius: 50%;
  content: "";
}

.process-section .container {
  position: relative;
  z-index: 1;
}

.process-grid {
  position: relative;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-grid::before {
  position: absolute;
  z-index: -1;
  top: 55px;
  right: 12%;
  left: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--nbf-blue), var(--nbf-yellow));
  content: "";
}

.process-card {
  position: relative;
  padding: 30px 26px;
  background: var(--nbf-white);
  border: 1px solid var(--nbf-line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.process-number {
  position: absolute;
  top: 18px;
  right: 20px;
  color: #dfe5ef;
  font-size: 2rem;
  font-weight: 850;
  line-height: 1;
}

.process-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 25px;
  place-items: center;
  background: var(--nbf-blue);
  color: var(--nbf-white);
  border: 6px solid var(--nbf-mist);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--nbf-blue);
}

.process-icon svg {
  width: 23px;
  height: 23px;
}

.process-card h3 {
  margin-bottom: 13px;
}

.process-card p {
  margin-bottom: 0;
  font-size: 0.91rem;
}

/* FAQ */
.faq-section {
  background: var(--nbf-white);
}

.faq-grid {
  display: grid;
  align-items: start;
  gap: clamp(50px, 8vw, 100px);
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
}

.faq-intro {
  position: sticky;
  top: calc(var(--header-height) + 42px);
}

.faq-intro > p:not(.eyebrow) {
  margin-bottom: 30px;
  font-size: 1.05rem;
}

.faq-list {
  border-top: 1px solid var(--nbf-line);
}

.faq-list details {
  border-bottom: 1px solid var(--nbf-line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px;
  color: var(--nbf-blue-dark);
  cursor: pointer;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  font-weight: 750;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: var(--nbf-blue);
  transition: transform var(--transition);
}

.faq-list details[open] summary svg {
  transform: rotate(180deg);
}

.faq-list details > div {
  padding: 0 42px 24px 4px;
}

.faq-list details p {
  margin-bottom: 0;
  line-height: 1.75;
}

.faq-list details p a {
  font-weight: 750;
}

/* Contact */
.contact-section {
  padding: clamp(80px, 9vw, 125px) 0;
  background: var(--nbf-mist);
}

.contact-shell {
  display: grid;
  overflow: hidden;
  background: var(--nbf-blue-dark);
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.contact-info {
  position: relative;
  z-index: 1;
  padding: clamp(40px, 6vw, 76px);
  background-image: url("../images/house-pattern.svg");
  background-size: 150px;
}

.contact-info::after {
  position: absolute;
  z-index: -1;
  right: -100px;
  bottom: -130px;
  width: 330px;
  height: 330px;
  border: 55px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  content: "";
}

.contact-info h2 {
  margin-bottom: 20px;
  color: var(--nbf-white);
  font-size: clamp(2rem, 3.7vw, 3.4rem);
}

@media (min-width: 761px) {
  .contact-heading-nowrap {
    white-space: nowrap;
  }
}

.contact-info > p:not(.eyebrow) {
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.04rem;
}

.contact-links {
  display: grid;
  gap: 12px;
}

.contact-links > a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: var(--nbf-white);
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.contact-links > a:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--nbf-white);
  transform: translateX(4px);
}

.contact-links > a.portal-contact-link {
  background: var(--nbf-yellow);
  border-color: var(--nbf-yellow);
  color: var(--nbf-blue-dark);
}

.contact-links > a.portal-contact-link:hover {
  background: #ffe13c;
  border-color: #ffe13c;
  color: var(--nbf-blue-dark);
}

.contact-links > a.portal-contact-link > span {
  background: var(--nbf-blue);
  color: var(--nbf-white);
}

.contact-links > a.portal-contact-link small {
  color: rgba(3, 19, 79, 0.62);
}

.contact-links > a > span {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  background: var(--nbf-yellow);
  color: var(--nbf-blue-dark);
  border-radius: 12px;
}

.contact-links svg {
  width: 22px;
  height: 22px;
}

.contact-links a div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.contact-links small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-links strong {
  overflow-wrap: anywhere;
  font-size: 0.91rem;
  line-height: 1.45;
}

.contact-panel {
  position: relative;
  min-height: 620px;
  background: #dce6f5;
}

.contact-panel > img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.contact-panel::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 19, 79, 0.06) 20%, rgba(3, 19, 79, 0.82) 100%);
  content: "";
}

.contact-panel-overlay {
  position: absolute;
  z-index: 2;
  right: clamp(28px, 5vw, 64px);
  bottom: clamp(28px, 5vw, 58px);
  left: clamp(28px, 5vw, 64px);
  color: var(--nbf-white);
}

.contact-panel-icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  place-items: center;
  background: var(--nbf-yellow);
  color: var(--nbf-blue-dark);
  border-radius: 16px;
}

.contact-panel-icon svg {
  width: 28px;
  height: 28px;
}

.contact-panel-overlay h3 {
  margin-bottom: 13px;
  color: var(--nbf-white);
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
}

.contact-panel-overlay p {
  max-width: 560px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.82);
}

.contact-form-wrap {
  position: relative;
  z-index: 2;
  min-height: 100%;
  padding: clamp(32px, 5vw, 62px);
  background: var(--nbf-white);
}

.contact-form-wrap h3 {
  margin-bottom: 24px;
}

.portal-form-notice {
  display: grid;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  padding: 16px;
  background: var(--nbf-mist);
  border: 1px solid var(--nbf-line);
  border-radius: 14px;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.portal-form-notice > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: var(--nbf-yellow);
  color: var(--nbf-blue-dark);
  border-radius: 11px;
}

.portal-form-notice svg {
  width: 21px;
  height: 21px;
}

.portal-form-notice strong,
.portal-form-notice p {
  display: block;
  margin: 0;
}

.portal-form-notice strong {
  color: var(--nbf-blue-dark);
  font-size: 0.9rem;
}

.portal-form-notice p {
  color: var(--nbf-muted);
  font-size: 0.8rem;
}

.portal-form-notice a {
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

/* Common form styling for popular WordPress form plugins */
.contact-form-wrap label,
.entry-content label {
  display: block;
  margin-bottom: 7px;
  color: var(--nbf-blue-dark);
  font-size: 0.88rem;
  font-weight: 700;
}

.contact-form-wrap input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.contact-form-wrap textarea,
.contact-form-wrap select,
.entry-content input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.entry-content textarea,
.entry-content select {
  width: 100%;
  padding: 13px 14px;
  background: var(--nbf-white);
  border: 1px solid #cfd8e6;
  border-radius: 10px;
  color: var(--nbf-ink);
}

.contact-form-wrap textarea,
.entry-content textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus,
.contact-form-wrap select:focus,
.entry-content input:focus,
.entry-content textarea:focus,
.entry-content select:focus {
  border-color: var(--nbf-blue);
  box-shadow: 0 0 0 4px rgba(7, 31, 136, 0.1);
  outline: none;
}

.contact-form-wrap input[type="submit"],
.contact-form-wrap button[type="submit"],
.entry-content input[type="submit"],
.entry-content button[type="submit"] {
  min-height: 50px;
  padding: 12px 22px;
  background: var(--nbf-blue);
  border: 0;
  border-radius: 10px;
  color: var(--nbf-white);
  font-weight: 750;
  cursor: pointer;
}

/* Footer */
.site-footer {
  background: var(--nbf-blue-deep);
  color: var(--nbf-white);
}

.footer-main {
  padding: 72px 0 60px;
}

.footer-grid {
  display: grid;
  gap: clamp(34px, 5vw, 70px);
  grid-template-columns: 1.35fr 1fr 0.8fr 0.9fr;
}

.site-brand-footer {
  margin-bottom: 24px;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.site-brand-footer .brand-logo {
  width: 230px;
  max-height: none;
  height: auto;
}

.footer-brand p {
  max-width: 320px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.9rem;
}

.footer-title {
  margin-bottom: 21px;
  color: var(--nbf-white);
  font-size: 1rem;
  letter-spacing: 0;
}

.footer-contact-list,
.footer-links {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.87rem;
}

.footer-contact-list li + li,
.footer-links li + li {
  margin-top: 12px;
}

.footer-contact-list svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--nbf-yellow);
}

.footer-contact-list a,
.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color var(--transition), padding-left var(--transition);
}

.footer-contact-list .footer-portal-link a {
  color: var(--nbf-yellow);
  font-weight: 800;
}

.footer-contact-list a:hover,
.footer-links a:hover {
  color: var(--nbf-yellow);
}

.footer-links a:hover {
  padding-left: 4px;
}

.footer-links {
  font-size: 0.88rem;
}

.footer-note {
  margin-top: 22px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.74rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.77rem;
}

.back-to-top {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.back-to-top:hover {
  color: var(--nbf-yellow);
}

.mobile-contact-bar {
  display: none;
}

/* Inner pages */
.inner-page {
  background: var(--nbf-white);
}

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(72px, 8vw, 118px) 0;
  background:
    radial-gradient(circle at 92% 20%, rgba(243, 209, 12, 0.14), transparent 26%),
    linear-gradient(120deg, var(--nbf-mist) 0%, #ffffff 100%);
  border-bottom: 1px solid var(--nbf-line);
}

.page-hero::before {
  position: absolute;
  z-index: -1;
  right: -140px;
  bottom: -220px;
  width: 480px;
  height: 480px;
  border: 78px solid rgba(7, 31, 136, 0.055);
  border-radius: 50%;
  content: "";
}

.page-hero-inner {
  position: relative;
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
}

.page-hero p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 1.08rem;
}

.page-content-wrap {
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(80px, 9vw, 120px);
}

.page-featured-image {
  width: 100%;
  margin-bottom: 42px;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.entry-content {
  color: var(--nbf-slate);
}

.entry-content > * {
  max-width: 100%;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 1.8em;
  margin-bottom: 0.65em;
}

.entry-content h2:first-child,
.entry-content h3:first-child {
  margin-top: 0;
}

.entry-content p,
.entry-content li {
  line-height: 1.78;
}

.entry-content a {
  font-weight: 650;
}

.entry-content blockquote {
  padding: 18px 24px;
  border-left: 4px solid var(--nbf-yellow);
  background: var(--nbf-mist);
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
}

.entry-content th,
.entry-content td {
  padding: 12px;
  border: 1px solid var(--nbf-line);
  text-align: left;
}

.entry-content th {
  background: var(--nbf-mist);
  color: var(--nbf-blue-dark);
}

/* Legal pages */
.legal-grid-wrap {
  padding: clamp(60px, 8vw, 100px) 0 clamp(80px, 9vw, 120px);
}

.legal-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.legal-card {
  padding: clamp(26px, 3vw, 38px);
  background: var(--nbf-white);
  border: 1px solid var(--nbf-line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.legal-card-wide {
  grid-column: 1 / -1;
}

.legal-card h2 {
  margin-bottom: 18px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  overflow-wrap: anywhere;
  font-weight: 650;
}

.legal-card a svg {
  width: 15px;
  height: 15px;
}

.privacy-warning {
  margin-bottom: 36px;
  padding: 22px 24px;
  background: #fff9d9;
  border: 1px solid #efd65a;
  border-left: 5px solid var(--nbf-yellow-dark);
  border-radius: 12px;
}

.privacy-warning strong {
  display: block;
  margin-bottom: 6px;
  color: var(--nbf-blue-dark);
}

.privacy-warning p {
  margin-bottom: 0;
  color: #5f551e;
}

.legal-copy h2 {
  font-size: 1.55rem;
}

/* Posts */
.posts-grid-wrap {
  padding: clamp(60px, 8vw, 100px) 0 clamp(80px, 9vw, 120px);
}

.posts-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.post-card {
  overflow: hidden;
  background: var(--nbf-white);
  border: 1px solid var(--nbf-line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.post-card-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.post-card:hover .post-card-image img {
  transform: scale(1.04);
}

.post-card-content {
  padding: 26px;
}

.post-card time {
  color: var(--nbf-muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.post-card h2 {
  margin: 10px 0 14px;
  font-size: 1.4rem;
}

.post-card h2 a {
  color: var(--nbf-blue-dark);
  text-decoration: none;
}

.post-card p {
  font-size: 0.91rem;
}

.navigation.pagination {
  margin-top: 44px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.nav-links .page-numbers {
  display: grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  padding: 0 10px;
  border: 1px solid var(--nbf-line);
  border-radius: 9px;
  text-decoration: none;
}

.nav-links .current,
.nav-links a:hover {
  background: var(--nbf-blue);
  border-color: var(--nbf-blue);
  color: var(--nbf-white);
}

.post-navigation-simple {
  display: grid;
  gap: 20px;
  margin-top: 60px;
  padding-top: 28px;
  border-top: 1px solid var(--nbf-line);
  grid-template-columns: 1fr 1fr;
}

.post-navigation-simple div:last-child {
  text-align: right;
}

.post-navigation-simple a {
  color: var(--nbf-blue);
  font-weight: 700;
  text-decoration: none;
}

.empty-state {
  padding: 54px;
  background: var(--nbf-mist);
  border-radius: 18px;
  text-align: center;
}

.empty-state h2 {
  margin-bottom: 12px;
}

.empty-state p {
  margin-bottom: 0;
}

/* 404 */
.error-page {
  display: grid;
  min-height: 70vh;
  place-items: center;
  padding: 80px 0;
  background: var(--nbf-mist);
}

.error-card {
  max-width: 760px;
  padding: clamp(38px, 7vw, 76px);
  background: var(--nbf-white);
  border-radius: 26px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.error-code {
  margin-bottom: 8px;
  color: var(--nbf-yellow-dark);
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.error-card h1 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.error-card p:not(.error-code) {
  margin-bottom: 30px;
}

/* Optional reveal animation */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1380px) {
  .brand-logo {
    width: 168px;
  }

  .primary-navigation .menu {
    gap: 13px;
  }

  .primary-navigation a {
    font-size: 0.8rem;
  }

  .header-navigation {
    gap: 18px;
  }

  .header-portal {
    padding-inline: 12px;
    font-size: 0.78rem;
  }

  .header-phone {
    padding-inline: 13px;
  }

  .header-phone span {
    display: none;
  }
}

@media (max-width: 1180px) {
  :root {
    --header-height: 82px;
  }


  .brand-logo {
    width: 165px;
  }

  .primary-navigation .menu {
    gap: 12px;
  }

  .primary-navigation a {
    font-size: 0.78rem;
  }

  .header-actions {
    gap: 8px;
  }

  .header-portal {
    padding-inline: 11px;
    font-size: 0.76rem;
  }

  .header-phone {
    padding-inline: 14px;
  }

  .header-phone span {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  }

  .hero-visual picture,
  .hero-visual img {
    min-height: 430px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card,
  .service-card:nth-child(4) {
    grid-column: auto;
  }

  .service-card:nth-child(5) {
    width: min(100%, 590px);
    grid-column: 1 / -1;
    justify-self: center;
  }

  .service-card h3 {
    min-height: auto;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 0.8fr;
  }

  .footer-column:last-child {
    grid-column: 2 / 4;
  }
}

@media (max-width: 1260px) {
  .site-header {
    background: var(--nbf-white);
    backdrop-filter: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-navigation {
    position: fixed;
    z-index: 1001;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    width: min(88vw, 420px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 24px;
    padding: 30px;
    background: var(--nbf-white);
    box-shadow: -20px 20px 50px rgba(3, 19, 79, 0.18);
    overflow-y: auto;
    transform: translateX(105%);
    transition: transform 280ms ease;
  }

  .site-header.menu-open .header-navigation {
    transform: translateX(0);
  }

  .site-header.menu-open::after {
    position: fixed;
    z-index: 1000;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(2, 12, 51, 0.56);
    content: "";
  }

  .site-header.menu-open .nav-toggle-open {
    display: none;
  }

  .site-header.menu-open .nav-toggle-close {
    display: block;
  }

  .primary-navigation .menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .primary-navigation .menu-item {
    border-bottom: 1px solid var(--nbf-line);
  }

  .primary-navigation a {
    padding: 16px 2px;
    font-size: 1.08rem;
  }

  .primary-navigation a::after {
    display: none;
  }

  .header-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .header-portal,
  .header-phone {
    width: 100%;
    justify-content: center;
    min-height: 54px;
    font-size: 1rem;
  }

  .header-phone span {
    display: inline;
  }
}

@media (max-width: 1120px) {
  .site-header {
    background: var(--nbf-white);
    backdrop-filter: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-navigation {
    position: fixed;
    z-index: 1001;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    width: min(88vw, 420px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 24px;
    padding: 30px;
    background: var(--nbf-white);
    box-shadow: -20px 20px 50px rgba(3, 19, 79, 0.18);
    overflow-y: auto;
    transform: translateX(105%);
    transition: transform 280ms ease;
  }

  .site-header.menu-open .header-navigation {
    transform: translateX(0);
  }

  .site-header.menu-open::after {
    position: fixed;
    z-index: 1000;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(2, 12, 51, 0.56);
    content: "";
  }

  .site-header.menu-open .nav-toggle-open {
    display: none;
  }

  .site-header.menu-open .nav-toggle-close {
    display: block;
  }

  .primary-navigation .menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .primary-navigation .menu-item {
    border-bottom: 1px solid var(--nbf-line);
  }

  .primary-navigation a {
    padding: 16px 2px;
    font-size: 1.08rem;
  }

  .primary-navigation a::after {
    display: none;
  }

  .header-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .header-portal,
  .header-phone {
    width: 100%;
    justify-content: center;
    min-height: 54px;
    font-size: 1rem;
  }

  .header-phone span {
    display: inline;
  }

  .hero-grid {
    gap: 54px;
    grid-template-columns: 1fr;
  }

  .hero-content {
    max-width: 760px;
  }

  .hero-visual {
    max-width: 820px;
    margin-inline: auto;
  }

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

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image-wrap {
    max-width: 820px;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid::before {
    display: none;
  }

  .faq-grid {
    gap: 48px;
    grid-template-columns: 1fr;
  }

  .faq-intro {
    position: static;
    max-width: 760px;
  }

  .contact-shell {
    grid-template-columns: 1fr;
  }

  .contact-panel,
  .contact-panel > img {
    min-height: 500px;
  }

  .posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 74px;
  }

  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }

  .container,
  .content-narrow {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 76px 0;
  }

  .header-inner {
    gap: 14px;
  }

  .brand-logo {
    width: 150px;
    max-height: 53px;
  }

  .custom-brand-logo img {
    height: 52px;
    max-width: 168px;
  }

  .hero {
    padding: 46px 0 78px;
  }

  .hero::before {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 12vw, 4rem);
  }

  .hero h1::after {
    width: 72px;
    height: 6px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-proof {
    flex-direction: column;
    gap: 10px;
  }

  .hero-visual {
    padding: 15px 0 22px 14px;
  }

  .hero-visual::before {
    right: 14px;
    border-radius: 26px 70px 26px 26px;
  }

  .hero-visual picture {
    border-radius: 22px 62px 22px 22px;
  }

  .hero-visual picture,
  .hero-visual img {
    min-height: 340px;
  }

  .hero-card {
    right: 8px;
    bottom: -8px;
    left: 8px;
    min-width: 0;
  }

  .hero-yellow-block {
    top: -10px;
    right: -8px;
    width: 90px;
    height: 90px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    min-height: 94px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .service-grid,
  .audience-grid,
  .process-grid,
  .legal-grid,
  .posts-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    width: 100%;
    max-width: none;
    grid-column: auto;
    justify-self: stretch;
  }

  .legal-card-wide {
    grid-column: auto;
  }

  .legal-page .legal-grid-wrap,
  .legal-page .page-content-wrap,
  .legal-page .legal-grid,
  .legal-page .legal-grid > *,
  .legal-page .legal-card,
  .legal-page .entry-content,
  .legal-page .legal-copy {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .legal-page .legal-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-page :is(h1, h2, h3, p, li, a, strong, code, td, th) {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .legal-page .legal-card a {
    min-width: 0;
    flex-wrap: wrap;
  }

  .legal-page :is(ul, ol, table) {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .legal-page table {
    table-layout: fixed;
  }

  .about-image-wrap {
    padding: 0 14px 20px 0;
  }

  .about-image-wrap::after {
    top: -14px;
    left: -10px;
    width: 76px;
    height: 76px;
    border-radius: 18px;
  }

  .about-image-wrap > img {
    min-height: 340px;
  }

  .about-badge {
    right: -4px;
    bottom: 38px;
    padding: 13px 15px;
  }

  .about-badge > span {
    width: 42px;
    height: 42px;
  }

  .about-badge small {
    display: none;
  }

  .audience-card {
    min-height: auto;
    padding: 36px 26px;
  }

  .audience-icon {
    margin-bottom: 30px;
  }

  .process-card {
    padding: 28px 24px;
  }

  .faq-list summary {
    padding-block: 21px;
  }

  .contact-shell {
    border-radius: 22px;
  }

  .contact-info {
    padding: 36px 24px;
  }

  .contact-panel,
  .contact-panel > img {
    min-height: 430px;
  }

  .contact-panel-overlay {
    right: 24px;
    bottom: 28px;
    left: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-column:last-child {
    grid-column: auto;
  }

  .footer-bottom-inner {
    min-height: 90px;
    flex-direction: column;
    justify-content: center;
    padding-block: 20px;
    text-align: center;
  }

  .mobile-contact-bar {
    position: fixed;
    z-index: 1200;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    min-height: calc(68px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--nbf-blue-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 -12px 32px rgba(3, 19, 79, 0.2);
    grid-template-columns: 1fr 1fr;
  }

  .mobile-contact-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: var(--nbf-white);
    font-size: 0.88rem;
    font-weight: 750;
    text-decoration: none;
  }

  .mobile-contact-bar a + a {
    background: var(--nbf-yellow);
    color: var(--nbf-blue-dark);
  }

  .mobile-contact-bar svg {
    width: 21px;
    height: 21px;
  }

  .page-hero {
    padding: 66px 0;
  }

  .page-content-wrap,
  .legal-grid-wrap,
  .posts-grid-wrap {
    padding-top: 56px;
    padding-bottom: 80px;
  }

  .post-navigation-simple {
    grid-template-columns: 1fr;
  }

  .post-navigation-simple div:last-child {
    text-align: left;
  }
}



@media (max-width: 560px) {
  .portal-form-notice {
    align-items: start;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .portal-form-notice > a {
    grid-column: 1 / -1;
  }
}

@media (max-width: 440px) {
  .brand-logo {
    width: 128px;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
  }

  .header-navigation {
    width: 100vw;
    padding: 24px 20px;
  }

  .hero-card {
    padding: 14px;
  }

  .hero-card-icon {
    width: 40px;
    height: 40px;
  }

  .hero-card strong {
    font-size: 0.86rem;
  }

  .hero-card small {
    font-size: 0.7rem;
  }

  .service-card {
    padding: 25px 21px;
  }

  .legal-card {
    padding: clamp(20px, 5.68vw, 25px) clamp(16px, 4.77vw, 21px);
  }

  .about-badge {
    max-width: 78%;
  }

  .contact-links > a {
    padding: 12px;
  }

  .contact-links > a > span {
    width: 40px;
    height: 40px;
  }

  .contact-links strong {
    font-size: 0.82rem;
  }

  .contact-panel-overlay .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .mobile-contact-bar,
  .button,
  .nav-toggle {
    display: none !important;
  }

  body {
    padding: 0;
    color: #000;
  }

  .page-hero,
  .inner-page,
  .legal-page {
    background: #fff;
  }

  .page-hero {
    padding: 20px 0;
  }

  .legal-card {
    break-inside: avoid;
    box-shadow: none;
  }
}
