/* Nexobiz Contact — enterprise consultation portal */
/* BUILD MARKER: v3180-contact-channels-align */
.nbx-contact {
  --nbx-c-navy: #0b1f3a;
  --nbx-c-navy-2: #122a4a;
  --nbx-c-ink: #0f1f33;
  --nbx-c-muted: #5b6b7f;
  --nbx-c-line: #d9e2ec;
  --nbx-c-soft: #f4f7fb;
  --nbx-c-white: #ffffff;
  --nbx-c-blue: #2563eb;
  --nbx-c-blue-deep: #1d4ed8;
  --nbx-c-cyan: #0891b2;
  --nbx-c-purple: #6d28d9;
  --nbx-radius: 16px;
  --nbx-radius-sm: 12px;
  color: var(--nbx-c-ink);
  background:
    radial-gradient(1200px 420px at 8% -10%, rgba(37, 99, 235, 0.07), transparent 55%),
    radial-gradient(900px 360px at 92% 8%, rgba(8, 145, 178, 0.05), transparent 50%),
    linear-gradient(180deg, #fbfcfe 0%, var(--nbx-c-soft) 48%, #f7f9fc 100%);
}

.nbx-contact *:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.45);
  outline-offset: 2px;
}

.nbx-contact__wrap {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

/* —— Hero —— */
.nbx-contact-hero {
  padding: 3.25rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.nbx-contact-hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .nbx-contact-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3rem;
  }
}

.nbx-contact-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nbx-c-blue);
  margin: 0 0 1rem;
}

.nbx-contact-hero__eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--nbx-c-blue), var(--nbx-c-cyan));
}

.nbx-contact-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--nbx-c-navy);
  max-width: 14ch;
}

.nbx-contact-hero__lead {
  margin: 1.15rem 0 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--nbx-c-muted);
  max-width: 38rem;
}

.nbx-contact-hero__meta {
  margin-top: 1.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--nbx-c-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--nbx-c-navy-2);
}

.nbx-contact-hero__meta-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.15);
}

.nbx-contact-hero__ctas {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
}

.nbx-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.35rem;
  border-radius: var(--nbx-radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.nbx-contact-btn--primary {
  background: var(--nbx-c-blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
}

.nbx-contact-btn--primary:hover {
  background: var(--nbx-c-blue-deep);
  color: #fff;
}

.nbx-contact-btn--secondary {
  background: #fff;
  color: var(--nbx-c-navy);
  border-color: var(--nbx-c-line);
}

.nbx-contact-btn--secondary:hover {
  border-color: #b6c4d6;
  color: var(--nbx-c-navy);
}

.nbx-contact-btn--ghost,
.nbx-contact-link {
  color: var(--nbx-c-blue);
  font-weight: 650;
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none;
  border: 0;
  padding: 0.35rem 0;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.nbx-contact-btn--ghost:hover,
.nbx-contact-link:hover {
  color: var(--nbx-c-blue-deep);
}

.nbx-contact-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

/* Hero visual */
.nbx-contact-visual {
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--nbx-c-line);
  background:
    linear-gradient(155deg, #0b1f3a 0%, #14315a 55%, #1a3f73 100%);
  min-height: 320px;
  padding: 1.5rem;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(11, 31, 58, 0.22);
}

.nbx-contact-visual__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 30% 30%, #000 20%, transparent 75%);
}

.nbx-contact-visual__map {
  position: relative;
  z-index: 1;
}

.nbx-contact-visual__map svg {
  width: 100%;
  height: auto;
  display: block;
}

.nbx-contact-visual__chip {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  backdrop-filter: blur(4px);
  font-size: 0.75rem;
  min-width: 7.5rem;
  text-align: left;
}

.nbx-contact-visual__chip strong,
.nbx-contact-visual__chip > span {
  display: block;
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: left;
  line-height: 1.25;
}

.nbx-contact-visual__chip strong {
  font-size: 0.8rem;
  font-weight: 700;
}

.nbx-contact-visual__meta {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
  text-align: left;
}

.nbx-contact-visual__meta li {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.nbx-contact-visual__meta li:not(:last-child)::after {
  content: "·";
  margin: 0 0.4rem;
  opacity: 0.7;
  font-weight: 400;
}

.nbx-contact-visual__chip--a { top: 1.25rem; left: 1.25rem; }
.nbx-contact-visual__chip--b { bottom: 1.35rem; right: 1.25rem; }
.nbx-contact-visual__chip--c {
  top: 42%;
  right: 1rem;
  min-width: max-content;
}

.nbx-contact-visual__pulse {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #34d399;
  display: inline-block;
  margin-right: 0.35rem;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55);
  animation: nbx-pulse 2s infinite;
}

@keyframes nbx-pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* —— Main band —— */
.nbx-contact-main {
  padding: 0 0 3.5rem;
}

.nbx-contact-main__grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .nbx-contact-main__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
    gap: 1.75rem;
  }
}

.nbx-contact-panel {
  background: var(--nbx-c-white);
  border: 1px solid var(--nbx-c-line);
  border-radius: var(--nbx-radius);
  padding: 1.5rem 1.35rem 1.75rem;
  box-shadow: 0 8px 28px rgba(15, 31, 51, 0.04);
}

@media (min-width: 640px) {
  .nbx-contact-panel { padding: 1.85rem 2rem 2rem; }
}

.nbx-contact-panel__head h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--nbx-c-navy);
}

.nbx-contact-panel__head p {
  margin: 0.45rem 0 0;
  color: var(--nbx-c-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 40rem;
}

/* Progress */
.nbx-contact-steps {
  margin: 1.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
}

.nbx-contact-steps__item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.nbx-contact-steps__bar {
  height: 4px;
  border-radius: 999px;
  background: #e5edf7;
}

.nbx-contact-steps__item.is-active .nbx-contact-steps__bar,
.nbx-contact-steps__item.is-done .nbx-contact-steps__bar {
  background: linear-gradient(90deg, var(--nbx-c-blue), var(--nbx-c-cyan));
}

.nbx-contact-steps__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #8a9bb0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nbx-contact-steps__item.is-active .nbx-contact-steps__label {
  color: var(--nbx-c-navy);
}

@media (max-width: 639px) {
  .nbx-contact-steps__label { font-size: 0.62rem; }
}

/* Alerts */
.nbx-contact-alert {
  margin-top: 1.25rem;
  padding: 0.95rem 1.05rem;
  border-radius: var(--nbx-radius-sm);
  font-size: 0.92rem;
  line-height: 1.5;
}

.nbx-contact-alert--success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.nbx-contact-alert--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.nbx-contact-alert ul {
  margin: 0.35rem 0 0;
  padding-left: 1.15rem;
}

/* Wizard */
.nbx-contact-wizard { margin-top: 1.35rem; }

.nbx-contact-step[hidden] { display: none !important; }

.nbx-contact-step__title {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 750;
  color: var(--nbx-c-navy);
}

.nbx-contact-choice-grid {
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 640px) {
  .nbx-contact-choice-grid { grid-template-columns: 1fr 1fr; }
}

.nbx-contact-choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 52px;
  padding: 0.85rem 1rem;
  border-radius: var(--nbx-radius-sm);
  border: 1px solid var(--nbx-c-line);
  background: #fbfdff;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.nbx-contact-choice:hover {
  border-color: #b7c8de;
}

.nbx-contact-choice:has(input:checked) {
  border-color: var(--nbx-c-blue);
  background: rgba(37, 99, 235, 0.05);
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.25);
}

.nbx-contact-choice input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--nbx-c-blue);
  flex-shrink: 0;
}

.nbx-contact-choice span {
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--nbx-c-ink);
}

.nbx-contact-fields {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .nbx-contact-fields--2 { grid-template-columns: 1fr 1fr; gap: 1rem 1.15rem; }
}

.nbx-contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.nbx-contact-field--full { grid-column: 1 / -1; }

.nbx-contact-field__label {
  font-size: 0.84rem;
  font-weight: 700;
  color: #334155;
}

.nbx-contact-field__label em {
  font-style: normal;
  color: var(--nbx-c-blue);
}

.nbx-contact-field input,
.nbx-contact-field select,
.nbx-contact-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.95rem;
  border-radius: var(--nbx-radius-sm);
  border: 1px solid var(--nbx-c-line);
  background: #fff;
  color: var(--nbx-c-ink);
  font: inherit;
  font-size: 0.95rem;
  box-sizing: border-box;
}

.nbx-contact-field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

.nbx-contact-field input:focus,
.nbx-contact-field select:focus,
.nbx-contact-field textarea:focus {
  outline: 2px solid rgba(37, 99, 235, 0.28);
  border-color: var(--nbx-c-blue);
}

.nbx-contact-field__error {
  font-size: 0.78rem;
  font-weight: 650;
  color: #dc2626;
}

.nbx-contact-field--error input,
.nbx-contact-field--error select,
.nbx-contact-field--error textarea {
  border-color: #f87171;
  background: #fffbfb;
}

.nbx-contact-consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-top: 0.35rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--nbx-c-muted);
}

.nbx-contact-consent input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  accent-color: var(--nbx-c-blue);
  flex-shrink: 0;
}

.nbx-contact-wizard__nav {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #edf2f7;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
}

.nbx-contact-wizard__nav-right {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-left: auto;
}

.nbx-contact-note {
  margin: 0;
  font-size: 0.8rem;
  color: #94a3b8;
  max-width: 26rem;
  line-height: 1.45;
}

/* Specialist panel */
.nbx-contact-specialist {
  border-radius: var(--nbx-radius);
  background:
    linear-gradient(165deg, #0b1f3a 0%, #122a4a 55%, #183663 100%);
  color: #e8eef7;
  padding: 1.6rem 1.4rem 1.55rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(11, 31, 58, 0.28);
}

@media (min-width: 640px) {
  .nbx-contact-specialist { padding: 1.85rem 1.7rem; }
}

.nbx-contact-specialist__status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #86efac;
  margin: 0 0 0.85rem;
}

.nbx-contact-specialist h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.nbx-contact-specialist__lead {
  margin: 0.45rem 0 0;
  font-size: 0.9rem;
  color: rgba(232, 238, 247, 0.72);
  line-height: 1.5;
}

.nbx-contact-specialist__list {
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}

.nbx-contact-specialist__item {
  padding: 0.95rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nbx-contact-specialist__item:first-child { border-top: 0; padding-top: 0; }

.nbx-contact-specialist__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(232, 238, 247, 0.5);
}

.nbx-contact-specialist__item a,
.nbx-contact-specialist__item strong {
  display: inline-block;
  margin-top: 0.3rem;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
}

.nbx-contact-specialist__item a:hover { text-decoration: underline; }

.nbx-contact-specialist__item p {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: rgba(232, 238, 247, 0.62);
}

.nbx-contact-specialist__cta {
  margin-top: 1.25rem;
  width: 100%;
}

.nbx-contact-specialist .nbx-contact-btn--primary {
  width: 100%;
  background: #fff;
  color: var(--nbx-c-navy);
  box-shadow: none;
}

.nbx-contact-specialist .nbx-contact-btn--primary:hover {
  background: #e8eef7;
  color: var(--nbx-c-navy);
}

@media (min-width: 768px) and (max-width: 1023px) {
  .nbx-contact-specialist__list {
    grid-template-columns: 1fr 1fr;
    gap: 0 1.25rem;
  }
  .nbx-contact-specialist__item {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

/* Schedule */
.nbx-contact-schedule {
  padding: 0 0 3.25rem;
}

.nbx-contact-schedule__panel {
  border: 1px solid var(--nbx-c-line);
  border-radius: var(--nbx-radius);
  background: #fff;
  padding: 1.6rem 1.35rem 1.75rem;
}

@media (min-width: 640px) {
  .nbx-contact-schedule__panel { padding: 1.85rem 2rem; }
}

.nbx-contact-schedule__tz {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.65rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--nbx-c-blue-deep);
  font-size: 0.8rem;
  font-weight: 700;
}

/* Trust */
.nbx-contact-trust {
  padding: 0 0 5.5rem;
}

.nbx-contact-trust__head {
  margin-bottom: 1.35rem;
  max-width: 36rem;
}

.nbx-contact-trust__head h2 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--nbx-c-navy);
  letter-spacing: -0.02em;
}

.nbx-contact-trust__head p {
  margin: 0.45rem 0 0;
  color: var(--nbx-c-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.nbx-contact-trust__grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--nbx-c-line);
}

@media (min-width: 768px) {
  .nbx-contact-trust__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .nbx-contact-trust__grid { grid-template-columns: 1fr 1fr 1fr; }
}

.nbx-contact-trust__item {
  padding: 1.25rem 1.1rem 1.25rem 0;
  border-bottom: 1px solid var(--nbx-c-line);
}

@media (min-width: 768px) {
  .nbx-contact-trust__item:nth-child(odd) { padding-right: 1.5rem; }
  .nbx-contact-trust__item:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--nbx-c-line); }
}

@media (min-width: 1024px) {
  .nbx-contact-trust__item {
    padding: 1.35rem 1.35rem 1.35rem 0;
    border-left: 0 !important;
  }
  .nbx-contact-trust__item:not(:nth-child(3n+1)) {
    padding-left: 1.35rem;
    border-left: 1px solid var(--nbx-c-line) !important;
  }
}

.nbx-contact-trust__item strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 750;
  color: var(--nbx-c-navy);
}

.nbx-contact-trust__item span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--nbx-c-muted);
}

/* Mobile sticky CTA */
.nbx-contact-sticky {
  display: none;
}

@media (max-width: 767px) {
  .nbx-contact-sticky {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.94);
    border-top: 1px solid var(--nbx-c-line);
    box-shadow: 0 -8px 24px rgba(15, 31, 51, 0.08);
  }

  .nbx-contact-sticky .nbx-contact-btn { width: 100%; }
  .nbx-contact { padding-bottom: 5.5rem; }
}

/* Bottom sheet (mobile date/time) */
.nbx-contact-sheet {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}

.nbx-contact-sheet.is-open { display: block; }

.nbx-contact-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 58, 0.45);
}

.nbx-contact-sheet__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 78vh;
  overflow: auto;
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 1.25rem 1.15rem calc(1.25rem + env(safe-area-inset-bottom));
  box-shadow: 0 -12px 40px rgba(15, 31, 51, 0.2);
}

.nbx-contact-sheet__grab {
  width: 2.5rem;
  height: 4px;
  border-radius: 999px;
  background: #cbd5e1;
  margin: 0 auto 1rem;
}

.nbx-contact-sheet__panel h3 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--nbx-c-navy);
}

@media (min-width: 768px) {
  .nbx-contact-sheet { display: none !important; }
}

.nbx-contact-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.nbx-contact-loading::before {
  content: "";
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: nbx-spin 0.7s linear infinite;
}

.nbx-contact-btn--secondary .nbx-contact-loading::before {
  border-color: rgba(37, 99, 235, 0.25);
  border-top-color: var(--nbx-c-blue);
}

@keyframes nbx-spin {
  to { transform: rotate(360deg); }
}
