/* B2B service landing pages and the homepage focus layer. */

:root {
  --naxit-b2b-max: 1440px;
  --naxit-b2b-gutter: clamp(20px, 4.5vw, 72px);
  --naxit-b2b-section: clamp(72px, 8vw, 128px);
}

body :is(.naxit-b2b-focus, .naxit-b2b-section, .naxit-b2b-service-nav) a:focus-visible,
body .naxit-home-b2b-hero a:focus-visible {
  outline: 3px solid var(--naxit-secondary, #fc734d);
  outline-offset: 4px;
}

body ::selection {
  background: #31798d;
  color: #fff;
}

.naxit-home-page .banner-section {
  min-height: min(920px, calc(100svh - 72px));
  padding: clamp(112px, 12vw, 190px) 0 clamp(72px, 8vw, 128px);
  background: #1c1f23;
}

.naxit-home-page .banner-wrapper,
.naxit-home-page .banner-heading-wrapper,
.naxit-home-page .banner-heading-block,
.naxit-home-page:not(.naxit-reference-page) .banner {
  width: 100%;
  min-width: 0;
}

.naxit-home-page:not(.naxit-reference-page) .banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  align-items: center;
  gap: clamp(48px, 7vw, 120px);
  max-width: var(--naxit-b2b-max);
  margin-inline: auto;
  padding-inline: var(--naxit-b2b-gutter);
}

.naxit-home-page .banner .footer-hero-logo {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  opacity: .3;
  pointer-events: none;
}

.naxit-home-b2b-hero {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  max-width: 820px;
  color: #fff;
}

.naxit-home-b2b-hero h1 {
  margin: 0;
  max-width: 11ch;
  color: #fff;
  font-size: clamp(48px, 5.6vw, 88px);
  font-weight: 400;
  line-height: 1.01;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.naxit-home-b2b-hero > p {
  max-width: 68ch;
  margin: 28px 0 0;
  color: #d9e2e7;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.6;
}

.naxit-b2b-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.naxit-b2b-button,
.naxit-b2b-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 500;
  line-height: 1.25;
  text-decoration: none;
}

.naxit-b2b-button {
  border: 1px solid #31798d;
  background: #31798d;
  color: #fff;
}

.naxit-b2b-button:hover {
  border-color: #23505e;
  background: #23505e;
  color: #fff;
}

.naxit-b2b-button--secondary {
  border-color: rgba(255,255,255,.36);
  background: transparent;
}

.naxit-b2b-button--secondary:hover {
  border-color: #fc734d;
  background: rgba(255,255,255,.08);
}

.naxit-b2b-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.naxit-b2b-trust li {
  position: relative;
  padding-left: 16px;
  color: #d9e2e7;
  font-size: 15px;
}

.naxit-b2b-trust li::before {
  content: "";
  position: absolute;
  top: .62em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fc734d;
}

.naxit-b2b-focus,
.naxit-b2b-section {
  padding: var(--naxit-b2b-section) var(--naxit-b2b-gutter);
  background: #fff;
  color: #1c1f23;
}

.naxit-b2b-shell {
  width: min(100%, var(--naxit-b2b-max));
  margin-inline: auto;
}

.naxit-b2b-section-header {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(42px, 6vw, 76px);
}

.naxit-b2b-section-header h2,
.naxit-b2b-section > .naxit-b2b-shell > h2,
.naxit-b2b-focus h2 {
  margin: 0;
  color: #1c1f23;
  overflow-wrap: anywhere;
  font-size: clamp(38px, 4vw, 64px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.naxit-b2b-section-header p {
  max-width: 70ch;
  margin: 0;
  color: #4d5960;
  font-size: 18px;
  line-height: 1.65;
}

.naxit-b2b-focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(42px, 6vw, 72px);
  border: 1px solid #d9e2e7;
  background: #d9e2e7;
}

.naxit-b2b-focus-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(28px, 3vw, 48px);
  background: #fff;
  color: #1c1f23;
  text-decoration: none;
}

.naxit-b2b-focus-card::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  width: 24px;
  height: 24px;
  border-top: 1px solid #fc734d;
  border-right: 1px solid #fc734d;
}

.naxit-b2b-focus-card img {
  width: 34px;
  height: 34px;
  margin-bottom: 34px;
  object-fit: contain;
  filter: brightness(0);
}

.naxit-b2b-focus-card h3 {
  margin: 0;
  color: #1c1f23;
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 500;
  line-height: 1.2;
}

.naxit-b2b-focus-card p {
  flex: 1;
  margin: 18px 0 28px;
  color: #4d5960;
  font-size: 17px;
  line-height: 1.6;
}

.naxit-b2b-focus-card span {
  color: #31798d;
  font-weight: 500;
}

.naxit-b2b-focus-card:hover span { text-decoration: underline; text-underline-offset: .22em; }

.naxit-b2b-service-nav {
  padding: 0 var(--naxit-b2b-gutter);
  background: #1c1f23;
  color: #fff;
}

.naxit-b2b-service-nav ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: min(100%, var(--naxit-b2b-max));
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.naxit-b2b-service-nav li + li { border-left: 1px solid rgba(255,255,255,.2); }
.naxit-b2b-service-nav a {
  display: flex;
  justify-content: center;
  padding: 18px 16px;
  color: #d9e2e7;
  text-align: center;
  text-decoration: none;
}
.naxit-b2b-service-nav a:hover,
.naxit-b2b-service-nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.07); }

.naxit-b2b-page .banner-section {
  min-height: auto;
  padding: clamp(130px, 13vw, 210px) var(--naxit-b2b-gutter) clamp(76px, 9vw, 132px);
}

.naxit-b2b-page .heading-wrapper.container {
  display: block;
  width: min(100%, var(--naxit-b2b-max));
  max-width: var(--naxit-b2b-max);
  padding: 0;
  text-align: left;
}

.naxit-b2b-page .banner-section h1 {
  max-width: 18ch;
  margin: 0;
  color: #1c1f23;
  font-size: clamp(44px, 5.4vw, 82px);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.naxit-b2b-page .naxit-subpage-lead {
  max-width: 72ch;
  margin: 28px 0 0;
  color: #4d5960;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.6;
}

.naxit-b2b-page .naxit-b2b-actions { margin-top: 34px; }
.naxit-b2b-page .banner-section .naxit-b2b-button--secondary { border-color: #8c999f; color: #1c1f23; }
.naxit-b2b-page .banner-section .naxit-b2b-button--secondary:hover { border-color: #fc734d; background: #f4f7f8; color: #1c1f23; }
.naxit-b2b-page .naxit-hero-note { max-width: 76ch; margin: 22px 0 0; color: #4d5960; font-size: 15px; line-height: 1.55; }

body.naxit-detail-page.naxit-b2b-page .naxit-b2b-section--wash { background: #f4f7f8; }
body.naxit-detail-page.naxit-b2b-page .naxit-b2b-section--dark { background: #1c1f23; color: #fff; }
body.naxit-detail-page.naxit-b2b-page .naxit-b2b-section--dark :is(h2,h3,strong) { color: #fff; }
body.naxit-detail-page.naxit-b2b-page .naxit-b2b-section--dark :is(p,li) { color: #d9e2e7; }

.naxit-b2b-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(40px, 6vw, 96px);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #c8d3d8;
}

.naxit-b2b-list-grid > li,
.naxit-b2b-list-grid > article {
  min-width: 0;
  padding: 28px 0 30px;
  border-bottom: 1px solid #c8d3d8;
}

.naxit-b2b-list-grid h3 {
  margin: 0;
  color: #1c1f23;
  font-size: clamp(22px, 2vw, 29px);
  font-weight: 500;
  line-height: 1.25;
}

.naxit-b2b-list-grid p {
  max-width: 70ch;
  margin: 14px 0 0;
  color: #4d5960;
  font-size: 17px;
  line-height: 1.65;
}

.naxit-b2b-process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: clamp(42px, 6vw, 72px) 0 0;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,.28);
  list-style: none;
}

.naxit-b2b-process li { padding: 28px clamp(18px, 2vw, 30px) 8px; }
.naxit-b2b-process li:first-child { padding-left: 0; }
.naxit-b2b-process li + li { border-left: 1px solid rgba(255,255,255,.28); }
.naxit-b2b-process span { display: block; margin-bottom: 28px; color: #fc734d; font-variant-numeric: tabular-nums; }
.naxit-b2b-process h3 { margin: 0; font-size: clamp(20px, 1.7vw, 27px); font-weight: 500; line-height: 1.25; }
.naxit-b2b-process p { margin: 14px 0 0; font-size: 16px; line-height: 1.6; }
.naxit-b2b-section:not(.naxit-b2b-section--dark) .naxit-b2b-process { border-top-color: #c8d3d8; }
.naxit-b2b-section:not(.naxit-b2b-section--dark) .naxit-b2b-process li + li { border-left-color: #c8d3d8; }
.naxit-b2b-section:not(.naxit-b2b-section--dark) .naxit-b2b-process h3 { color: #1c1f23; }
.naxit-b2b-section:not(.naxit-b2b-section--dark) .naxit-b2b-process p { color: #4d5960; }

.naxit-b2b-definition {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(280px, 1.2fr);
  gap: clamp(38px, 7vw, 112px);
  align-items: start;
}

.naxit-b2b-definition > div > p { max-width: 70ch; color: #4d5960; font-size: 18px; line-height: 1.65; }
.naxit-b2b-definition ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid #c8d3d8; }
.naxit-b2b-definition li { padding: 19px 0; border-bottom: 1px solid #c8d3d8; color: #4d5960; line-height: 1.6; }
.naxit-b2b-definition li strong { display: block; margin-bottom: 5px; color: #1c1f23; font-size: 19px; font-weight: 500; }

.naxit-b2b-related {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 30px;
}
.naxit-b2b-related a { color: #31798d; font-weight: 500; text-underline-offset: .22em; }

.naxit-b2b-table-wrap { margin-top: 42px; overflow-x: auto; }
.naxit-b2b-table { width: 100%; min-width: 760px; border-collapse: collapse; color: #1c1f23; }
.naxit-b2b-table th,
.naxit-b2b-table td { padding: 18px 20px; border-bottom: 1px solid #c8d3d8; text-align: left; vertical-align: top; line-height: 1.55; }
.naxit-b2b-table th { color: #1c1f23; font-weight: 500; }
.naxit-b2b-table td { color: #4d5960; }
.naxit-b2b-table tbody tr:hover { background: #f4f7f8; }

.naxit-b2b-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: end;
}
.naxit-b2b-contact p { max-width: 66ch; margin: 20px 0 0; color: #d9e2e7; font-size: 18px; line-height: 1.65; }
.naxit-b2b-contact .naxit-b2b-actions { justify-content: flex-end; margin: 0; }

.naxit-b2b-page .faq-section { background: #fff; color: #1c1f23; }
.naxit-b2b-page .faq-section h2 { color: #1c1f23; }
.naxit-b2b-page .faq-section h2 { max-width: 100%; overflow-wrap: anywhere; }
.naxit-b2b-page .faq { border-color: #c8d3d8; }
.naxit-b2b-page summary.faq-qus { color: #1c1f23; }
.naxit-b2b-page .faq-horizontal-line,
.naxit-b2b-page .faq-vertical-line { background: #31798d; }
.naxit-b2b-page .faq-ans { border-color: #c8d3d8; color: #4d5960; line-height: 1.65; }

@media (max-width: 991px) {
  .naxit-home-page:not(.naxit-reference-page) .banner { grid-template-columns: minmax(0, 1fr); }
  .naxit-home-page .banner .footer-hero-logo { position: absolute; inset: 50% 0 auto auto; width: min(62vw, 620px); transform: translateY(-50%); opacity: .16; }
  .naxit-home-b2b-hero { grid-column: 1; }
  .naxit-b2b-section-header,
  .naxit-b2b-definition { grid-template-columns: minmax(0, 1fr); }
  .naxit-b2b-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .naxit-b2b-process li:nth-child(odd) { border-left: 0; }
  .naxit-b2b-process li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.28); }
  .naxit-b2b-section:not(.naxit-b2b-section--dark) .naxit-b2b-process li:nth-child(n+3) { border-top-color: #c8d3d8; }
  .naxit-b2b-process li:last-child { grid-column: 1 / -1; }
  .naxit-b2b-contact { grid-template-columns: minmax(0, 1fr); }
  .naxit-b2b-contact .naxit-b2b-actions { justify-content: flex-start; }
}

@media (max-width: 767px) {
  .naxit-home-page .banner-section { min-height: auto; padding-top: 118px; }
  .naxit-home-page .banner-heading-wrapper { display: block; padding: 0; text-align: left; }
  .naxit-home-b2b-hero h1 { font-size: clamp(44px, 13vw, 64px); }
  .naxit-b2b-focus-grid,
  .naxit-b2b-list-grid { grid-template-columns: minmax(0, 1fr); }
  .naxit-b2b-focus-grid { gap: 1px; }
  .naxit-b2b-service-nav { overflow-x: auto; padding-inline: 0; }
  .naxit-b2b-service-nav ul { min-width: 650px; }
  .naxit-b2b-page .banner-section { padding-top: 92px; padding-bottom: 64px; }
  .naxit-b2b-page .banner-section h1 { font-size: clamp(38px, 10.5vw, 50px); line-height: 1.02; }
  .naxit-b2b-page .naxit-subpage-lead { margin-top: 22px; font-size: 16px; line-height: 1.5; }
  .naxit-b2b-page .naxit-b2b-actions { margin-top: 26px; }
  .naxit-b2b-page .naxit-hero-note { margin-top: 18px; font-size: 14px; line-height: 1.5; }
  .naxit-b2b-process { grid-template-columns: minmax(0, 1fr); }
  .naxit-b2b-process li,
  .naxit-b2b-process li:first-child,
  .naxit-b2b-process li + li { grid-column: auto; padding: 24px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.28); }
  .naxit-b2b-process li:first-child { border-top: 0; }
  .naxit-b2b-section:not(.naxit-b2b-section--dark) .naxit-b2b-process li,
  .naxit-b2b-section:not(.naxit-b2b-section--dark) .naxit-b2b-process li + li { border-top-color: #c8d3d8; }
  .naxit-b2b-process span { margin-bottom: 12px; }
  .naxit-b2b-actions { align-items: stretch; flex-direction: column; }
  .naxit-b2b-button { width: 100%; }
}

@media (max-width: 359px) {
  .naxit-home-b2b-hero h1,
  .naxit-b2b-page .banner-section h1 { overflow-wrap: anywhere; }
  .naxit-b2b-focus-card { padding: 26px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .naxit-b2b-focus-card,
  .naxit-b2b-button { scroll-behavior: auto; transition: none !important; }
}
