/* page-specific styles, group A (see DESIGN.md)
   company, projects, partners, partners-program, contacts, get-a-quote, demo, thank-you, 403, 404
   Everything is prefixed .nxa- so it cannot collide with the other page groups. */

/* ---------- hero decoration (pages without a hero photo) ---------- */
.nxa-hero-deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.nxa-hero-deco::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center center;
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 78% 20%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 90% at 78% 20%, #000 0%, transparent 72%);
}
.nxa-hero-deco::after {
  content: ""; position: absolute; width: 640px; height: 640px; right: -160px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 208, 255, .26), transparent 64%);
  animation: nxa-drift 16s ease-in-out infinite alternate;
}
.nxa-hero-deco i { position: absolute; display: block; border-radius: 50%; }
.nxa-hero-deco i:nth-child(1) { width: 380px; height: 380px; left: -140px; bottom: -220px; background: radial-gradient(circle, rgba(132, 179, 58, .28), transparent 66%); animation: nxa-drift 20s ease-in-out infinite alternate-reverse; }
.nxa-hero-deco i:nth-child(2) { width: 520px; height: 520px; right: 6%; top: 50%; margin-top: -260px; border: 1px solid rgba(255, 255, 255, .1); }
.nxa-hero-deco i:nth-child(3) { width: 340px; height: 340px; right: calc(6% + 90px); top: 50%; margin-top: -170px; border: 1px dashed rgba(107, 208, 255, .24); animation: nxa-spin 60s linear infinite; }
@keyframes nxa-drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-40px, 30px, 0); } }
@keyframes nxa-spin { to { transform: rotate(360deg); } }

.nx-page-hero h1 .nxa-hl, .nxa-hl {
  background: linear-gradient(90deg, #8fd3f4 0%, #b6e07a 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nx-page-hero .nxa-lead-2 { margin-top: 14px; }
/* hero with a form card overlapping its bottom edge */
@media (min-width: 992px) {
  .nxa-hero--form { padding-bottom: 230px; }
  .nxa-overlap { margin-top: -300px; position: relative; z-index: 2; }
  .nxa-overlap-section { padding-top: 0 !important; }
  .nxa-overlap-section .nxa-aside { padding-top: 96px; }
}

/* ---------- shared bits ---------- */
.nxa-copy p { font-size: 17px; line-height: 1.8; }
.nxa-copy p.nx-lead { font-size: 19px; color: var(--ink-2); }
.nxa-copy h2 { margin-bottom: 22px; }
.nxa-rule { height: 1px; border: 0; margin: 40px 0; background: linear-gradient(90deg, var(--line), transparent); }
.nxa-bgimg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; opacity: .16; mix-blend-mode: luminosity; pointer-events: none; }
.nxa-bgimg + .nx-container { position: relative; z-index: 1; }
.nxa-section-clip { overflow: hidden; }
.nxa-video { position: relative; padding-top: 56.25%; border-radius: var(--r-lg); overflow: hidden; background: var(--navy); box-shadow: var(--sh-2); }
.nxa-video iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
.nxa-page .nx-media a { display: block; cursor: zoom-in; }
.nxa-media-tag { position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--blue); box-shadow: var(--sh-1); pointer-events: none; transition: transform .3s var(--ease); }
.nx-media:hover .nxa-media-tag { transform: scale(1.1); }

/* ---------- company ---------- */
.nxa-company .nx-media img { aspect-ratio: 5 / 4; object-fit: cover; }
.nxa-deco-l::before { inset: 28px 28px -18px -18px; }
.nxa-commit .nx-card { padding: 44px 32px 38px; }
.nxa-commit .nx-icon { width: 88px; height: 88px; border-radius: 26px; background: var(--grad); box-shadow: 0 18px 40px rgba(0, 114, 147, .35), inset 0 0 0 1px rgba(255, 255, 255, .16); }
.nxa-commit .nx-icon img { width: 44px; height: 44px; }
.nxa-commit .nx-card:nth-child(2) .nx-icon { background: linear-gradient(135deg, #84b33a, #4f9a6d); box-shadow: 0 18px 40px rgba(132, 179, 58, .3), inset 0 0 0 1px rgba(255, 255, 255, .16); }
.nxa-commit .nx-card h3 { font-size: 21px; margin-top: 28px; }
.nxa-mission { padding: 44px 44px 40px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2); position: relative; }
.nxa-mission::before { content: ""; position: absolute; left: 44px; top: -1px; width: 88px; height: 4px; border-radius: 0 0 4px 4px; background: var(--grad-brand); }
.nxa-mission .nx-lead { color: var(--ink-2); font-size: 20px; line-height: 1.6; }
.nxa-mission h3 { font-size: 24px; margin-bottom: 12px; }
.nxa-mission p:last-child { margin-bottom: 0; }

.nxa-banner { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); padding: 112px 48px; text-align: center; background: var(--navy); box-shadow: var(--sh-3); }
.nxa-banner__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center 60%; transform: scale(1.04); animation: nx-kenburns 30s ease-in-out infinite alternate; }
.nxa-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 26, 37, .55) 0%, rgba(8, 26, 37, .78) 100%), radial-gradient(600px 260px at 50% 100%, rgba(132, 179, 58, .3), transparent 70%); }
.nxa-banner p { color: rgba(255, 255, 255, .82); font-family: "GothamProMedium", sans-serif; font-size: clamp(18px, 1.8vw, 22px); margin-bottom: 18px; }
.nxa-banner h2 { margin: 0 auto; max-width: 900px; font-size: clamp(34px, 5vw, 64px); line-height: 1.05; letter-spacing: -.03em; }
@media (max-width: 640px) { .nxa-banner { padding: 72px 24px; border-radius: var(--r-lg); } .nxa-mission { padding: 34px 26px; } }

/* ---------- projects ---------- */
.nxa-toggle { text-align: center; cursor: pointer; user-select: none; padding: 72px 0; background: var(--navy); position: relative; overflow: hidden; }
.nxa-toggle::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 240px at 50% 0%, rgba(107, 208, 255, .16), transparent 70%), radial-gradient(500px 220px at 50% 120%, rgba(132, 179, 58, .2), transparent 70%); }
.nxa-toggle h2 { position: relative; color: #fff; margin: 0; }
.nxa-toggle .nxa-caret { display: grid; place-items: center; width: 54px; height: 54px; margin: 22px auto 0; border-radius: 50%; background: var(--green); color: #fff; font-size: 22px; box-shadow: 0 0 0 10px rgba(132, 179, 58, .15); transition: transform .45s var(--ease), box-shadow .3s; animation: nxa-pulse 2.4s ease-in-out infinite; }
.nxa-toggle:hover .nxa-caret { box-shadow: 0 0 0 14px rgba(132, 179, 58, .2); }
.nxa-toggle:not(.active) .nxa-caret { transform: rotate(-90deg); animation: none; }
@keyframes nxa-pulse { 0%, 100% { box-shadow: 0 0 0 8px rgba(132, 179, 58, .16); } 50% { box-shadow: 0 0 0 16px rgba(132, 179, 58, .06); } }

.nxa-projects { counter-reset: nxaproj; }
.nxa-project { counter-increment: nxaproj; }
.nxa-project .nx-head { max-width: none; display: flex; align-items: center; gap: 28px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.nxa-project .nx-head > div { min-width: 0; }
.nxa-project .nx-head h2 { margin-bottom: 8px; }
.nxa-project .nx-head p { margin: 0; }
.nxa-project .nx-head::before {
  content: "0" counter(nxaproj); display: block; flex: none;
  font-family: "GothamProBold", sans-serif; font-size: 96px; line-height: 1; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(46, 121, 154, .3);
}
.nxa-project .nx-head p { font-family: "GothamProMedium", sans-serif; color: var(--ink-2); font-size: 18px; letter-spacing: .02em; }
.nxa-project .nx-split + .nx-split { margin-top: 88px; }
.nxa-project .nxa-copy p { font-size: 16.5px; }
.nxa-project a .green, .nxa-copy a .green { color: var(--green-600); font-family: "GothamProMedium", sans-serif; border-bottom: 2px solid rgba(132, 179, 58, .35); transition: border-color .2s; }
.nxa-project a:hover .green, .nxa-copy a:hover .green { border-color: var(--green); }
.nxa-cta-photo { position: relative; overflow: hidden; isolation: isolate; }
.nxa-cta-photo .nx-cta-band { background: linear-gradient(120deg, rgba(46, 121, 154, .94), rgba(0, 114, 147, .9)); }
.nxa-cta-photo .nxa-bgimg { opacity: .9; mix-blend-mode: normal; z-index: -1; }
.nxa-cta-band h2 { font-size: clamp(28px, 3vw, 40px); max-width: 720px; }
.nxa-cta-band h2 .nxa-green { display: block; color: #c7ea8f; }
.nxa-cta-band p { margin: 0; max-width: 680px; color: rgba(255, 255, 255, .82); font-size: 17px; }

/* ---------- partners ---------- */
.nxa-partners .nx-card { padding: 34px 30px 30px; display: flex; flex-direction: column; }
.nxa-partners .nx-card h3 { margin: 22px 0 18px; font-size: 20px; }
.nxa-plist { list-style: none; padding: 18px 0 0; margin: auto 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 15px; line-height: 1.45; }
.nxa-plist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.nxa-plist .fa { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); font-size: 14px; margin-top: -4px; }
.nxa-plist a { color: var(--blue); word-break: break-word; font-family: "GothamProMedium", sans-serif; }
.nxa-plist a:hover { color: var(--green-600); }
.nxa-plist li.nxa-addr { color: var(--muted); }
.nxa-flagline { display: block; width: 44px; height: 4px; border-radius: 4px; background: var(--grad-brand); margin-top: 2px; }

/* ---------- partners program / forms pages ---------- */
.nxa-aside .nx-lead { color: var(--ink-2); }
.nxa-aside h2 { margin-bottom: 20px; }
.nxa-pointer { display: flex; gap: 16px; align-items: center; margin-top: 28px; padding: 20px 22px; border-radius: var(--r); background: var(--green-50); color: var(--ink-2); font-family: "GothamProMedium", sans-serif; }
.nxa-pointer .fa { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-size: 18px; animation: nxa-nudge 2.2s ease-in-out infinite; }
@keyframes nxa-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
.nxa-form .nx-form-card { position: relative; }
.nxa-form .nx-form-card::before { content: ""; position: absolute; left: 40px; right: 40px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: var(--grad-brand); }
.nxa-form .nx-form-card > h3 { margin: 0 0 8px; font-size: 26px; text-align: center; }
.nxa-form .nx-form-card > p { text-align: center; color: var(--muted); margin-bottom: 26px; }
.nxa-form .form-horizontal .form-group { margin-left: 0; margin-right: 0; }
.nxa-form fieldset { min-width: 0; }
.nxa-form select.form-control { -webkit-appearance: none; appearance: none; padding-right: 44px; background-image: linear-gradient(45deg, transparent 50%, var(--blue) 50%), linear-gradient(135deg, var(--blue) 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 17px) 23px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.nxa-form .btn-block, .nxa-form button[type=submit] { width: 100%; }
.nxa-form .g-recaptcha { margin-left: 0 !important; }
.nxa-form #formcontainer1 > .alert { margin-top: 16px; }
@media (min-width: 992px) { .nxa-sticky { position: sticky; top: 104px; } }
@media (max-width: 991px) { .nxa-form-first > .nxa-form { order: -1; } }
@media (max-width: 640px) { .nxa-form .nx-form-card { padding: 30px 22px; } }

/* contacts */
.nxa-cgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.nxa-ccard { position: relative; padding: 24px 24px 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); transition: transform .35s var(--ease), box-shadow .35s; }
.nxa-ccard:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.nxa-ccard .nx-icon { width: 46px; height: 46px; border-radius: 14px; font-size: 18px; margin-bottom: 16px; }
.nxa-ccard h3 { font-size: 16px; margin: 0 0 8px; letter-spacing: 0; }
.nxa-ccard p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--text); }
.nxa-ccard a { font-family: "GothamProMedium", sans-serif; word-break: break-word; }
.nxa-ccard--photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.nxa-ccard--photo h3 { padding: 20px 24px 0; }
.nxa-ccard--photo p { flex: 1; }
.nxa-ccard--photo img { display: block; width: 100%; height: 100%; min-height: 170px; max-height: 220px; object-fit: cover; object-position: center 30%; margin-top: 14px; }
.nxa-note { padding: 18px 22px; border-radius: var(--r); background: var(--blue-50); color: var(--ink-2); font-size: 16px; }
.nxa-note .green { color: var(--green-600); font-family: "GothamProMedium", sans-serif; }
.nxa-map-section { padding: 0 0 112px; }
.nxa-map-frame { position: relative; padding: 10px; border-radius: calc(var(--r-xl) + 10px); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2); }
.nxa-map-frame .nx-map { border-radius: var(--r-xl); box-shadow: none; }
.nxa-map-frame #map { height: 480px; }
@media (max-width: 640px) { .nxa-cgrid { grid-template-columns: 1fr; } .nxa-map-frame #map { height: 360px; } .nxa-map-section { padding-bottom: 72px; } }

/* get a quote: what to expect timeline */
.nxa-timeline { list-style: none; padding: 0; margin: 28px 0 0; counter-reset: nxat; position: relative; }
.nxa-timeline::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: repeating-linear-gradient(180deg, var(--blue-100) 0 8px, transparent 8px 14px); }
.nxa-timeline li { counter-increment: nxat; position: relative; padding: 2px 0 28px 72px; color: var(--text); font-size: 16.5px; line-height: 1.65; }
.nxa-timeline li:last-child { padding-bottom: 0; }
.nxa-timeline li::before { content: counter(nxat); position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--blue); font-family: "GothamProBold", sans-serif; font-size: 18px; box-shadow: 0 0 0 6px var(--soft), var(--sh-2); transition: background .3s, color .3s; }
.nxa-timeline li:hover::before { background: var(--blue); color: #fff; }
.nxa-timeline li strong { display: block; color: var(--ink); font-size: 18px; margin-bottom: 4px; }
.nxa-quote { margin-top: 0; }
.nxa-quote blockquote p { margin: 0; }
.nxa-quote figcaption { color: var(--muted); font-size: 14px; font-family: "GothamProMedium", sans-serif; }

/* demo: challenges */
.nxa-pains { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.nxa-pains li { position: relative; padding: 16px 20px 16px 64px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-size: 16px; line-height: 1.5; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.nxa-pains li:hover { transform: translateX(6px); box-shadow: var(--sh-1); border-color: var(--blue-100); }
.nxa-pains li::before { content: "?"; position: absolute; left: 18px; top: 50%; margin-top: -16px; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); font-family: "GothamProBold", sans-serif; font-size: 16px; }
.nxa-show { margin-top: 20px; }
.nxa-show li { padding-top: 11px; padding-bottom: 11px; font-size: 16.5px; }
.nxa-show li strong { color: var(--ink); }
.nxa-panel { margin-top: 48px; padding: 36px 34px 30px; border-radius: var(--r-lg); background: var(--soft); }

/* ---------- thank you / 403 / 404 ---------- */
.nxa-status { min-height: min(640px, calc(100vh - 130px)); display: flex; align-items: center; padding: 96px 0; }
.nxa-status .nx-container { position: relative; }
.nxa-check { width: 132px; height: 132px; margin: 0 auto 36px; border-radius: 50%; display: grid; place-items: center; background: var(--green); box-shadow: 0 0 0 16px rgba(132, 179, 58, .16), 0 0 0 34px rgba(132, 179, 58, .07), 0 24px 60px rgba(132, 179, 58, .35); animation: nxa-pop .9s var(--ease) both; }
.nxa-check svg { width: 64px; height: 64px; }
.nxa-check path { fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; animation: nxa-draw .7s .45s var(--ease) forwards; }
@keyframes nxa-pop { from { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.06); opacity: 1; } to { transform: scale(1); } }
@keyframes nxa-draw { to { stroke-dashoffset: 0; } }
.nxa-status h1 { margin-bottom: 26px; }
.nxa-status .nx-lead { margin-bottom: 6px; }
.nxa-status .nx-lead + .nx-lead { color: rgba(255, 255, 255, .62); }
.nxa-code h1 { display: flex; flex-direction: column-reverse; align-items: center; gap: 4px; }
.nxa-code h1 span {
  display: block; font-family: "GothamProBold", sans-serif; font-size: clamp(120px, 20vw, 240px); line-height: .9; letter-spacing: -.05em;
  background: linear-gradient(90deg, #8fd3f4 0%, #b6e07a 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 20px 50px rgba(107, 208, 255, .25)); animation: nxa-pop .9s var(--ease) both;
}
.nxa-code .nxa-glyph { width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 20px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); color: var(--sky); font-size: 26px; }
@media (prefers-reduced-motion: reduce) { .nxa-check path { stroke-dashoffset: 0; } }

/* projects: closing "let's work together" band */
.nxa-together { padding: 120px 0; }
.nxa-together .nxa-bgimg { opacity: .35; mix-blend-mode: normal; }
.nxa-together::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(100deg, rgba(8, 26, 37, .96) 0%, rgba(8, 26, 37, .8) 55%, rgba(8, 26, 37, .55) 100%), radial-gradient(700px 360px at 100% 100%, rgba(132, 179, 58, .25), transparent 70%); pointer-events: none; }
.nxa-together .nx-container { position: relative; z-index: 1; }
.nxa-together__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; }
.nxa-together h2 { max-width: 760px; margin-bottom: 14px; }
.nxa-together__green { font-family: "GothamProMedium", sans-serif; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; letter-spacing: -.015em; color: var(--green); margin-bottom: 22px; }
.nxa-together .nx-lead { color: rgba(255, 255, 255, .72); max-width: 640px; margin: 0; }
@media (max-width: 991px) { .nxa-together__row { grid-template-columns: 1fr; gap: 32px; } .nxa-together { padding: 88px 0; } }
.nxa-toggle:focus-visible { outline-offset: -6px; }
.nxa-together { margin-bottom: 112px; }
@media (max-width: 640px) { .nxa-together { margin-bottom: 64px; } }

/* form pages: aside + form split */
.nxa-split-form { align-items: start; }
.nxa-ccard--photo { grid-row: span 2; }
.nxa-ccard--photo img { flex: 1; max-height: none; min-height: 220px; }
.nxa-ccard--wide { grid-column: 1 / -1; display: flex; gap: 18px; align-items: center; }
.nxa-ccard--wide .nx-icon { margin-bottom: 0; flex: none; }
.nxa-contacts .nxa-aside h2 { margin-bottom: 22px; }
@media (max-width: 640px) { .nxa-ccard--photo { grid-row: auto; } .nxa-ccard--photo img { min-height: 0; height: 220px; } }
.nxa-plist { margin-top: 0; }
.nxa-page > .nx-section--soft:last-child { margin-bottom: 112px; }
@media (max-width: 640px) { .nxa-page > .nx-section--soft:last-child { margin-bottom: 64px; } }
@media (min-width: 992px) {
  .nxa-hero--form h1 { max-width: 640px; }
  .nxa-hero--form .nx-lead { max-width: 520px; }
}
.nxa-form #formcontainer1 > h3 { margin: 0 0 8px; font-size: 26px; text-align: center; }
.nxa-form #formcontainer1 > p { text-align: center; color: var(--muted); margin-bottom: 26px; }
.nxa-form #formcontainer1 > h3:last-of-type:not(:has(+ p)) { margin-bottom: 24px; }
.nxa-status { margin-bottom: 112px; }
.nxa-status .nxa-hero-deco i:nth-child(2) { right: auto; left: 50%; margin-left: -300px; width: 600px; height: 600px; margin-top: -300px; }
.nxa-status .nxa-hero-deco i:nth-child(3) { right: auto; left: 50%; margin-left: -210px; width: 420px; height: 420px; margin-top: -210px; }
.nxa-status .nxa-hero-deco::before { -webkit-mask-image: radial-gradient(ellipse 50% 70% at 50% 50%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse 50% 70% at 50% 50%, #000 0%, transparent 75%); }
@media (max-width: 640px) { .nxa-status { margin-bottom: 64px; padding: 72px 0; } }

/* projects + media decoration on small screens: keep everything inside the container edges */
@media (max-width: 991px) {
  .nxa-page .nx-media-deco::before, .nxa-page .nxa-deco-l::before { inset: 18px 0 -14px 18px; }
  .nxa-project .nx-split + .nx-split { margin-top: 64px; }
}
@media (max-width: 640px) {
  .nxa-project .nx-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .nxa-project .nx-head::before { font-size: 64px; }
}
/* company: closing photo band (full width) */
.nxa-closing { position: relative; overflow: hidden; isolation: isolate; padding: 136px 0; text-align: center; background: var(--navy); margin-bottom: 112px; }
.nxa-closing .nxa-banner__bg { opacity: .9; }
.nxa-closing::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 26, 37, .5) 0%, rgba(8, 26, 37, .8) 100%), radial-gradient(700px 300px at 50% 100%, rgba(132, 179, 58, .28), transparent 70%); }
.nxa-closing p { color: rgba(255, 255, 255, .82); font-family: "GothamProMedium", sans-serif; font-size: clamp(18px, 1.8vw, 22px); margin-bottom: 18px; }
.nxa-closing h2 { margin: 0 auto; max-width: 900px; font-size: clamp(32px, 3.8vw, 52px); line-height: 1.1; letter-spacing: -.02em; }
@media (max-width: 640px) { .nxa-closing { padding: 88px 0; margin-bottom: 64px; } }
@media (max-width: 640px) {
  .nxa-ccard--photo img { flex: none; height: 220px; }
  .nxa-ccard:not(.nxa-ccard--photo) { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 16px; align-items: start; }
  .nxa-ccard:not(.nxa-ccard--photo) .nx-icon { grid-row: span 2; margin-bottom: 0; }
  .nxa-ccard--wide > div { min-width: 0; }
}
@media (max-width: 640px) { .nxa-panel { padding: 28px 20px 24px; margin-top: 40px; } .nxa-panel .nx-quote-card { padding: 34px 24px 26px; } }
@media (max-width: 991px) { .nxa-pointer .fa { transform: rotate(90deg); animation: none; } }
/* keep decorative layers inside the viewport box (QA overflow check) */
.nxa-hero-deco { background: radial-gradient(420px 380px at 0% 105%, rgba(132, 179, 58, .24), transparent 70%); }
.nxa-hero-deco i:nth-child(1) { display: none; }
.nxa-closing .nxa-banner__bg { transform: none; animation: none; }
@media (max-width: 640px) {
  .nxa-hero-deco i:nth-child(2) { width: 300px; height: 300px; right: 0; margin-top: -150px; }
  .nxa-hero-deco i:nth-child(3) { width: 200px; height: 200px; right: 50px; margin-top: -100px; }
  .nxa-status .nxa-hero-deco i:nth-child(2) { left: 50%; margin-left: -150px; }
  .nxa-status .nxa-hero-deco i:nth-child(3) { left: 50%; margin-left: -100px; }
}
/* contacts: icon-left info cards wherever the info column is narrow */
@media (min-width: 992px) and (max-width: 1199px) {
  .nxa-cgrid { grid-template-columns: 1fr; }
  .nxa-ccard--photo { grid-row: auto; }
  .nxa-ccard--photo img { flex: none; height: 220px; min-height: 0; }
}
@media (max-width: 1199px) {
  .nxa-ccard:not(.nxa-ccard--photo) { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 16px; align-items: start; }
  .nxa-ccard:not(.nxa-ccard--photo) .nx-icon { grid-row: span 2; margin-bottom: 0; }
  .nxa-ccard--wide > div { min-width: 0; }
}
/* company commitment: no orphan third card on tablets */
@media (min-width: 641px) and (max-width: 991px) {
  .nxa-commit .nx-grid--3 { grid-template-columns: 1fr; gap: 18px; }
  .nxa-commit .nx-card { display: grid; grid-template-columns: 88px minmax(0, 1fr); column-gap: 28px; align-items: center; text-align: left; padding: 30px 32px; }
  .nxa-commit .nx-card .nx-icon { grid-row: span 2; margin: 0; }
  .nxa-commit .nx-card h3 { margin: 0 0 8px; align-self: end; }
  .nxa-commit .nx-card p { align-self: start; }
}
@media (min-width: 992px) {
  .nxa-hero--form h1 { max-width: min(640px, calc(50% - 24px)); }
  .nxa-hero--form .nx-lead { max-width: min(540px, calc(50% - 40px)); }
}
.nxa-program .nxa-aside .nx-lead { font-family: "GothamProMedium", sans-serif; font-size: clamp(20px, 2vw, 26px); line-height: 1.5; color: var(--ink); letter-spacing: -.01em; }
@media (max-width: 640px) {
  .nxa-status .nxa-hero-deco i:nth-child(2) { width: 300px; height: 300px; margin-top: -150px; margin-left: -150px; }
  .nxa-status .nxa-hero-deco i:nth-child(3) { width: 200px; height: 200px; margin-top: -100px; margin-left: -100px; }
}
@media (max-width: 1199px) { .nxa-ccard:not(.nxa-ccard--photo) { grid-template-rows: auto 1fr; } .nxa-ccard--wide { grid-template-rows: auto; } }

/* ===== design review round 1 ===== */
/* no offset frames behind photos; plain wrapper */
.nxa-mwrap { position: relative; min-width: 0; }

/* company */
.nxa-closing .nxa-banner__bg { inset: 0 0 -24% 0; background-position: center top; background-size: cover; }
.nxa-closing::before { background: linear-gradient(180deg, rgba(8, 26, 37, .58) 0%, rgba(8, 26, 37, .74) 100%), radial-gradient(700px 300px at 50% 110%, rgba(132, 179, 58, .26), transparent 70%); }
.nxa-mission { overflow: hidden; }
.nxa-mission::before { left: 0; right: 0; top: 0; width: auto; height: 4px; border-radius: 0; }
.nxa-mission-row { align-items: stretch; }
.nxa-mission-row .nxa-mwrap, .nxa-mission-row .nxa-mwrap .nx-media { height: 100%; }
.nxa-mission-row .nx-media img { height: 100%; aspect-ratio: auto; object-fit: cover; }
@media (max-width: 991px) { .nxa-mission-row .nx-media img { aspect-ratio: 5 / 4; height: auto; } }

/* projects */
body.nx .nxa-project .nx-head h2 { text-transform: lowercase !important; color: var(--ink); }
.nxa-project .nx-head h2::first-letter { text-transform: uppercase; }
.nxa-project .nx-head::before { font-size: 72px; }
.nxa-video { background: radial-gradient(420px 240px at 50% 50%, rgba(46, 121, 154, .45), transparent 70%), linear-gradient(135deg, #10303f 0%, #0b2230 100%); }
.nxa-video::before { content: ""; position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), 0 0 0 12px rgba(255, 255, 255, .05); z-index: 0; }
.nxa-video::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -13px 0 0 -8px; border-style: solid; border-width: 13px 0 13px 22px; border-color: transparent transparent transparent #fff; z-index: 0; }
.nxa-video iframe { z-index: 1; }
.nxa-toggle { padding: 34px 0; display: flex; align-items: center; justify-content: center; gap: 18px; }
.nxa-toggle h2 { font-size: clamp(22px, 2.2vw, 28px); }
.nxa-toggle .nxa-caret { width: 44px; height: 44px; margin: 0; font-size: 18px; }

/* partners */
.nxa-plist li.nxa-addr { color: var(--ink-2); }

/* partners program */
.nxa-aside-media { margin-top: 32px; }
.nxa-aside-media img { aspect-ratio: 16 / 10; object-fit: cover; }
.nxa-form .nx-form-card { overflow: hidden; }
.nxa-form .nx-form-card::before { left: 0; right: 0; border-radius: 0; }
@media (max-width: 640px) {
  .nxa-program .nx-page-hero::before { background: linear-gradient(180deg, rgba(8, 26, 37, .9) 0%, rgba(8, 26, 37, .93) 100%); }
  .nxa-program .nx-page-hero__bg { opacity: .4; }
}

/* contacts */
.nxa-map-section .nxa-map-clip { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-2); isolation: isolate; }
.nxa-map-clip .nx-map { border-radius: 0; box-shadow: none; height: 480px; }
@media (max-width: 640px) { .nxa-map-clip .nx-map { height: 360px; } }
@media (min-width: 1200px), (min-width: 641px) and (max-width: 991px) { .nxa-cgrid { grid-template-rows: 1fr 1fr; grid-auto-rows: auto; } }
.nxa-ccard--photo .nxa-photo { flex: 1; display: grid; place-items: center; margin: 14px 16px 16px; padding: 18px; border-radius: 14px; background: linear-gradient(160deg, var(--blue-50), #fff); }
.nxa-ccard--photo .nxa-photo img { width: auto; height: auto; max-width: 100%; min-height: 0; max-height: none; margin: 0; flex: none; object-fit: contain; border-radius: 10px; box-shadow: var(--sh-1); }
@media (min-width: 992px) { .nxa-contacts .nx-page-hero { padding-top: 96px; padding-bottom: 210px; } .nxa-contacts .nxa-overlap { margin-top: -270px; } }

/* get a quote */
.nxa-nowrap { white-space: nowrap; }
.nxa-trust { margin-top: 48px; }
.nxa-trust h2 { font-size: clamp(22px, 2vw, 28px); margin-bottom: 20px; }

/* demo */
.nxa-pains li { padding: 14px 18px; display: flex; gap: 16px; align-items: center; }
.nxa-pains li::before { content: none; }
.nxa-pains li .nx-icon { width: 42px; height: 42px; border-radius: 12px; font-size: 17px; flex: none; }
.nxa-show-card { padding: 48px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.nxa-show-card .nx-head { margin-bottom: 24px; max-width: 760px; }
.nxa-show-card .nx-check--2col { column-gap: 48px; }
@media (max-width: 640px) { .nxa-show-card { padding: 30px 22px; } }

/* thank-you / 403 / 404: next step + no ring through the text on phones */
.nxa-status .nx-btn-row { justify-content: center; margin-top: 32px; }
@media (max-width: 640px) { .nxa-status .nxa-hero-deco i { display: none; } }
.nxa-ccard--photo .nxa-photo { margin: 16px 0 0; border-radius: 0; padding: 24px; background: radial-gradient(260px 200px at 50% 60%, #fff, transparent 70%), linear-gradient(160deg, var(--blue-50), var(--green-50)); }
@media (max-width: 640px) {
  .nxa-page.nxa-program .nx-page-hero::before { background: rgba(8, 26, 37, .9); }
  .nxa-page.nxa-program .nx-page-hero__bg { opacity: .3; }
}
@media (max-width: 991px) {
  .nxa-quote-page .nxa-form { display: contents; }
  .nxa-quote-page .nxa-form > .nx-form-card { order: -1; }
  .nxa-quote-page .nxa-trust { order: 1; margin-top: 0; }
}

/* ===== contacts, round 3 (Dec 2026): compact info cards, form no longer sticks under the header ===== */
.nxa-contacts .nxa-note { padding: 14px 18px; font-size: 15px; line-height: 1.6; }
.nxa-contacts .nxa-cgrid { gap: 12px; margin-top: 22px; }
.nxa-contacts .nxa-ccard { padding: 16px 18px; border-radius: 16px; }
.nxa-contacts .nxa-ccard:not(.nxa-ccard--photo) { display: grid; grid-template-columns: 38px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 14px; align-items: start; }
.nxa-contacts .nxa-ccard--wide { grid-template-rows: auto; align-items: center; }
.nxa-contacts .nxa-ccard:not(.nxa-ccard--photo) .nx-icon { grid-row: span 2; width: 38px; height: 38px; border-radius: 11px; font-size: 15px; margin: 0; }
.nxa-contacts .nxa-ccard h3 { font-size: 15px; margin: 0 0 4px; line-height: 1.35; }
.nxa-contacts .nxa-ccard p { font-size: 14px; line-height: 1.6; }
.nxa-contacts .nxa-ccard--photo { padding: 0; }
.nxa-contacts .nxa-ccard--photo h3 { padding: 16px 18px 0; }
.nxa-contacts .nxa-ccard--photo .nxa-photo { margin-top: 12px; padding: 14px; }
@media (min-width: 992px) {
  /* owner request: the form sits in the white area, level with "Contact info" (no overlap with the dark hero) */
  .nxa-contacts .nxa-sticky { position: relative; top: auto; }
  .nxa-contacts .nx-page-hero { padding-bottom: 96px; }
  .nxa-contacts .nxa-overlap { margin-top: 0; }
  .nxa-contacts .nxa-overlap-section .nxa-aside, .nxa-contacts .nxa-overlap-section .nxa-form { padding-top: 72px; }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .nxa-contacts .nxa-ccard--photo .nxa-photo img { max-height: 200px; }
}
@media (min-width: 1200px) {
  .nxa-contacts .nxa-cgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); }
  .nxa-contacts .nxa-ccard { padding: 16px; }
  .nxa-contacts .nxa-ccard:not(.nxa-ccard--photo) { column-gap: 12px; }
  .nxa-contacts .nxa-ccard p { font-size: 13.5px; }
  .nxa-contacts .nxa-ccard--photo { padding: 0; }
}
.nxa-contacts .nxa-ccard.nxa-ccard--wide { grid-template-rows: auto; align-items: center; }
.nxa-contacts .nxa-ccard.nxa-ccard--wide .nx-icon { grid-row: auto; }
