.contact-page { background: #fff; color: var(--ink); }
.contact-container { width: min(1120px, calc(100% - 72px)); margin: 0 auto; }
.contact-hero { display: grid; grid-template-columns: .82fr 1.18fr; gap: 54px; align-items: center; padding: 30px 0 22px; }
.crumbs { display: flex; gap: 10px; align-items: center; color: #4b5566; font-size: 13px; margin-bottom: 36px; }
.contact-kicker { color: var(--orange); text-transform: uppercase; font-size: 13px; font-weight: 900; letter-spacing: .02em; }
.contact-hero h1 { margin: 18px 0 24px; font-size: clamp(46px, 5vw, 68px); line-height: 1.06; letter-spacing: 0; }
.contact-hero h1 span, .presence-head h2 span { color: var(--orange); }
.orange-rule { width: 44px; height: 2px; background: var(--orange); margin: 0 0 24px; }
.contact-hero p { margin: 0; color: #2f3a4b; font-size: 17px; line-height: 1.75; max-width: 500px; }
.contact-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 34px; }
.proof-item { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; font-weight: 800; color: #121724; }
.contact-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; color: var(--orange); background: #fff4ef; border: 1px solid #ffe0d5; box-shadow: 0 12px 24px rgba(255,61,10,.08); }
.contact-icon svg, .reach-icon svg, .secure-note svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.contact-hero-visual img { width: 100%; display: block; border-radius: 0; filter: drop-shadow(0 26px 44px rgba(15,23,42,.08)); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); }

.contact-panels { display: grid; grid-template-columns: 1.18fr .76fr; gap: 22px; align-items: stretch; padding: 12px 0 28px; }
.message-card, .reach-card { border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.95); box-shadow: 0 18px 44px rgba(15,23,42,.06); }
.message-card { padding: 30px; }
.message-card h2, .reach-card h2 { margin: 0 0 10px; font-size: 30px; letter-spacing: 0; }
.message-card p { margin: 0 0 22px; color: #4b5566; }
.contact-form { display: grid; gap: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { position: relative; }
.field svg { position: absolute; left: 16px; top: 17px; width: 20px; height: 20px; color: #8b95a7; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; border: 1px solid #dfe5ee; border-radius: 7px; background: #fff; padding: 0 16px 0 48px; font: inherit; color: #152036; outline: none; transition: border-color .18s ease, box-shadow .18s ease; }
.field select { padding-top: 20px; appearance: auto; }
.field textarea { min-height: 128px; resize: vertical; padding-top: 44px; }
.field label { position: absolute; z-index: 1; left: 48px; top: 11px; color: #637083; font-size: 14px; pointer-events: none; }
.field input::placeholder, .field textarea::placeholder { color: #7d8798; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #ff8c65; box-shadow: 0 0 0 4px rgba(255,61,10,.08); }
.field.full { grid-column: 1 / -1; }
.send-button { min-height: 56px; border: 0; border-radius: 7px; background: linear-gradient(100deg, #ff3d0a, #ff6818); color: #fff; font-weight: 900; font-size: 16px; cursor: pointer; box-shadow: 0 16px 28px rgba(255,61,10,.2); }
.secure-note { display: inline-flex; align-items: center; gap: 10px; color: #4b5566; font-size: 13px; }
.secure-note svg { width: 16px; height: 16px; color: var(--orange); }

.reach-card { padding: 30px; background: linear-gradient(150deg, #fff7f3, #fff); }
.reach-list { display: grid; gap: 30px; margin-top: 24px; }
.reach-item { display: grid; grid-template-columns: 58px 1fr; gap: 16px; align-items: start; }
.reach-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 10px; background: #fff; color: var(--orange); box-shadow: 0 12px 28px rgba(255,61,10,.12); border: 1px solid #ffe0d5; }
.reach-item h3 { margin: 0 0 4px; font-size: 16px; }
.reach-item strong { display: block; margin-bottom: 6px; color: #111827; }
.reach-item p { margin: 0; color: #4b5566; line-height: 1.55; }

.presence-section { padding: 34px 0 20px; background: linear-gradient(180deg, #fff7f3, #fff); }
.presence-head { text-align: center; margin-bottom: 26px; }
.presence-head h2 { margin: 0 0 8px; font-size: clamp(34px, 4vw, 48px); text-transform: uppercase; letter-spacing: 0; color: #ff3d0a; }
.presence-head h2 span { color: #6d28d9; }
.presence-head p { margin: 0; color: #374151; font-size: 16px; }
.location-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.location-grid img { width: 100%; display: block; border-radius: 12px; box-shadow: 0 12px 28px rgba(15,23,42,.06); }

.contact-cta { margin: 20px auto 0; padding: 22px 32px; display: grid; grid-template-columns: 82px 1fr auto auto; gap: 22px; align-items: center; border-radius: 12px; border: 1px solid #ffe0d5; background: linear-gradient(100deg, #fff4ef, #fff); box-shadow: 0 16px 36px rgba(255,61,10,.07); }
.contact-cta h2 { margin: 0 0 4px; font-size: 22px; }
.contact-cta p { margin: 0; color: #4b5566; }
.contact-cta .btn { min-width: 200px; }
.contact-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; align-items: center; margin: 0 auto 32px; padding: 18px 26px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 14px 34px rgba(15,23,42,.05); }
.contact-metrics .feature { padding: 10px 24px; }

@media (max-width: 1100px) {
  .contact-hero, .contact-panels, .contact-cta { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .contact-container { width: min(100% - 32px, 540px); }
  .contact-hero { gap: 24px; }
  .contact-proof, .form-grid, .location-grid, .contact-metrics { grid-template-columns: 1fr; }
  .message-card, .reach-card { padding: 22px; }
  .contact-cta { padding: 22px; }
}


/* ════════════════════════════════════════════════════════
   NUBEX CLOUD — CONTACT MODALS
════════════════════════════════════════════════════════ */
.reach-action {
  display: inline-block; background: none; border: none; padding: 0; cursor: pointer;
  color: var(--orange); font: inherit; font-weight: 800; font-size: 15px;
  text-align: left; margin-bottom: 4px; transition: opacity .15s;
}
.reach-action:hover { opacity: .72; text-decoration: underline; }
.reach-tel {
  font-weight: 800; font-size: 15px; color: #111827;
  text-decoration: none; display: inline-block; margin-bottom: 4px; transition: color .15s;
}
.reach-tel:hover { color: var(--orange); }

.nc-overlay {
  position: fixed; inset: 0; z-index: 9800;
  background: rgba(8,10,22,.65);
  backdrop-filter: blur(6px) saturate(1.5);
  display: flex; align-items: center; justify-content: center; padding: 16px;
  opacity: 0; pointer-events: none; transition: opacity .22s ease;
}
.nc-overlay.nc-open { opacity: 1; pointer-events: auto; }

.nc-modal {
  position: relative; width: min(660px,100%); max-height: 92vh; overflow-y: auto;
  background: #fff; border-radius: 18px; padding: 38px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 32px 80px rgba(8,10,22,.26), 0 8px 24px rgba(8,10,22,.1);
  transform: translateY(22px) scale(.97);
  transition: transform .3s cubic-bezier(.22,.68,0,1.15);
  scrollbar-width: thin; scrollbar-color: #e5e9f0 transparent;
}
.nc-overlay.nc-open .nc-modal { transform: translateY(0) scale(1); }
.nc-modal::-webkit-scrollbar { width: 5px; }
.nc-modal::-webkit-scrollbar-thumb { background: #e5e9f0; border-radius: 3px; }

.nc-close {
  position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%;
  background: #f3f4f6; border: none; cursor: pointer; font-size: 20px; line-height: 1;
  display: grid; place-items: center; color: #6b7280; transition: background .15s, color .15s;
}
.nc-close:hover { background: #ffe0d5; color: var(--orange); }

.nc-hdr { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.nc-ico {
  width: 54px; height: 54px; flex-shrink: 0; display: grid; place-items: center;
  border-radius: 12px; background: #fff4ef; border: 1px solid #ffe0d5; color: var(--orange);
}
.nc-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nc-title { margin: 0 0 3px; font-size: 22px; color: #0a0a0f; }
.nc-etag { font-size: 13px; color: var(--orange); font-weight: 700; }
.nc-intro { margin: 0 0 20px; color: #4b5566; font-size: 14.5px; line-height: 1.65; }

.nc-form { display: grid; gap: 12px; }
.nc-grid2 { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.nc-f { position: relative; }
.nc-f.has-icon svg {
  position: absolute; left: 13px; top: 14px; width: 17px; height: 17px; pointer-events: none;
  fill: none; stroke: #9ca3af; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
.nc-f input, .nc-f select {
  width: 100%; height: 46px; border: 1.5px solid #e5e9f0; border-radius: 8px;
  background: #fafbfc; padding: 0 12px 0 40px;
  font: inherit; font-size: 14.5px; color: #152036; outline: none; box-sizing: border-box;
  transition: border-color .18s, box-shadow .18s;
}
.nc-f:not(.has-icon) input { padding-left: 12px; }
.nc-f select { appearance: auto; }
.nc-f textarea {
  width: 100%; border: 1.5px solid #e5e9f0; border-radius: 8px; background: #fafbfc;
  padding: 12px; font: inherit; font-size: 14.5px; color: #152036;
  outline: none; resize: vertical; box-sizing: border-box; transition: border-color .18s, box-shadow .18s;
}
.nc-f input:focus, .nc-f select:focus, .nc-f textarea:focus {
  border-color: #ff8c65; box-shadow: 0 0 0 3px rgba(255,61,10,.08); background: #fff;
}
.nc-f input::placeholder, .nc-f textarea::placeholder { color: #9ca3af; }
.nc-f input.nc-err, .nc-f select.nc-err, .nc-f textarea.nc-err { border-color: #ef4444; }

.nc-checks-lbl { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: #374151; display: block; }
.nc-checks { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; }
.nc-checks label {
  display: flex; align-items: center; gap: 7px; padding: 7px 10px;
  border: 1.5px solid #e5e9f0; border-radius: 7px; background: #fafbfc;
  font-size: 13px; color: #374151; cursor: pointer; transition: border-color .15s, background .15s;
}
.nc-checks label:hover { border-color: var(--orange); background: #fff4ef; }
.nc-checks input[type=checkbox] { accent-color: var(--orange); width: 14px; height: 14px; flex-shrink: 0; }

.nc-sub {
  width: 100%; height: 50px; margin-top: 4px; border: 0; border-radius: 8px;
  background: linear-gradient(100deg,#ff3d0a,#ff6818); color: #fff; font-weight: 900; font-size: 15px;
  cursor: pointer; letter-spacing: .01em; box-shadow: 0 12px 28px rgba(255,61,10,.22);
  transition: opacity .18s, transform .15s;
}
.nc-sub:hover:not(:disabled) { opacity: .9; transform: translateY(-1px); }
.nc-sub:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.nc-msg { min-height: 18px; text-align: center; font-size: 13px; margin-top: 6px; }
.nc-msg.err { color: #ef4444; }

.nc-ok { text-align: center; padding: 20px 0 6px; }
.nc-ok svg {
  width: 58px; height: 58px; display: block; margin: 0 auto 18px;
  fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.nc-ok h3 { margin: 0 0 10px; font-size: 22px; color: #0a0a0f; }
.nc-ok p { color: #4b5566; line-height: 1.65; }

@media (max-width: 640px) {
  .nc-modal { padding: 24px 18px; border-radius: 14px; }
  .nc-grid2 { grid-template-columns: 1fr; }
  .nc-checks { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
