/* =====================================================================
   NEXUS — CONTACT US REDESIGN (page layer)
   Requires: homepage-redesign.css, homepage-refresh.css, nexus-inner.css
   Namespaced .nxc-*.
   ===================================================================== */

.nxc-page { --nxc-ink: #0a1322; --nxc-soft: #f3f7fa; }
.nxc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nxc-h2 { margin: 6px 0 0; font-size: clamp(1.7rem, 2.6vw, 2.4rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; color: var(--nxc-ink); }
.nxc-h2 em { font-family: var(--nx-font-serif); font-style: italic; font-weight: 600; color: var(--nxa-blue); }
.nxc-link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: 14.5px; font-weight: 700; color: var(--nxa-blue); transition: gap .35s var(--nxa-ease), color .3s; }
.nxc-link:hover { gap: 16px; color: var(--nxc-ink); }

/* ---------------------------------------------------------------------
   1. HERO
   --------------------------------------------------------------------- */
.nxc-hero { position: relative; background: #fff; overflow: hidden; }
.nxc-hero-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr); min-height: clamp(620px, 82vh, 820px); }
.nxc-hero-left { display: flex; align-items: center; justify-content: flex-end; padding: clamp(110px, 10vw, 150px) clamp(30px, 5vw, 80px) clamp(60px, 6vw, 90px) 15px; }
.nxc-hero-left-inner { width: 100%; max-width: 700px; }
.nxc-crumbs { display: flex; gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; font-size: 13px; font-weight: 600; color: #7d8ea0; }
.nxc-crumbs li + li::before { content: "/"; margin-right: 10px; color: #b5c4d1; }
.nxc-crumbs a { color: var(--nxa-blue); }
.nxc-hero-title { margin: 6px 0 22px; font-size: clamp(2.6rem, 5vw, 4.8rem); font-weight: 800; line-height: 1.02; letter-spacing: -.04em; color: var(--nxc-ink); }
.nxc-hero-title em { font-family: var(--nx-font-serif); font-style: italic; font-weight: 600; letter-spacing: -.01em; color: var(--nxa-blue); }
.nxc-hero-lead { max-width: 560px; margin: 0 0 34px; font-size: clamp(1rem, 1.2vw, 1.12rem) !important; line-height: 1.8 !important; color: var(--nxa-body) !important; }

.nxc-channels { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--nxc-ink); }
.nxc-channels li { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 20px 0; border-bottom: 1px solid #e3eaf0; }
.nxc-ch-label { white-space: nowrap; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #7d8ea0; }
.nxc-ch-value {
  position: relative;
  justify-self: start;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--nxc-ink);
  background: linear-gradient(var(--nxa-blue), var(--nxa-blue)) no-repeat 0 100% / 0 2px;
  transition: background-size .5s var(--nxa-ease), color .3s;
}
.nxc-ch-value:hover { background-size: 100% 2px; color: var(--nxa-blue); }
.nxc-ch-small { font-size: clamp(1rem, 1.4vw, 1.2rem); }
.nxc-copy {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #d6e2ea;
  background: #fff;
  font-size: 12.5px; font-weight: 700;
  color: #4d6074;
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.nxc-copy:hover { background: var(--nxc-ink); border-color: var(--nxc-ink); color: #fff; }
.nxc-copy.is-done { background: #e8f4ec; border-color: #b9dcc4; color: #2f6b45; }

.nxc-hero-right {
  position: relative;
  display: flex; flex-direction: column; justify-content: center; gap: 22px;
  padding: clamp(110px, 10vw, 150px) clamp(28px, 4vw, 60px) clamp(60px, 6vw, 90px);
  background: radial-gradient(90% 70% at 70% 20%, #16365c 0%, #0b1a2e 55%, #060c16 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.nxc-hero-right::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000, transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.nxc-hero-right.nxa-load, .nxc-hero-right { clip-path: inset(0 0 0 100%); transition: clip-path 1.3s var(--nxa-ease) .2s; }
.nxa-ready .nxc-hero-right { clip-path: inset(0 0 0 0); }
.nxc-clocks { max-width: 380px; }
.nxc-clock { display: flex; align-items: center; gap: 22px; }
.nxc-dial { flex: none; width: 150px; height: 150px; }
.nxc-dial-ring { fill: rgba(255,255,255,.04); stroke: rgba(88,199,246,.45); stroke-width: 1.5; }
.nxc-ticks line { stroke: rgba(255,255,255,.35); stroke-width: 1.5; stroke-linecap: round; }
.nxc-ticks line.is-major { stroke: #fff; stroke-width: 2.5; }
.nxc-hand { stroke-linecap: round; transform-origin: 100px 100px; transform-box: view-box; }
.nxc-hand-h { stroke: #fff; stroke-width: 5; }
.nxc-hand-m { stroke: #fff; stroke-width: 3; }
.nxc-hand-s { stroke: var(--nx-gold-400); stroke-width: 1.5; }
.nxc-pin { fill: var(--nx-gold-400); }
.nxc-clock-text span, .nxc-local span { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #8fb4d1; }
.nxc-clock-text strong { display: block; margin: 4px 0; font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.nxc-clock-text small, .nxc-local small { display: block; font-family: var(--nx-font-serif); font-style: italic; font-size: 1.05rem; color: #b9c8d6; }
.nxc-local { margin-top: 26px; padding: 18px 20px; border-radius: 16px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); }
.nxc-local strong { display: block; margin: 4px 0; font-size: 1.6rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.nxc-clock-note { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 0 !important; font-size: 14px !important; line-height: 1.6 !important; color: #b2c0cf !important; }
.nxc-clock-note i { margin-top: 4px; color: var(--nxa-sky); }
.nxc-jump { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 12px 18px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: 14px; color: #dbe7f1; transition: background .3s; }
.nxc-jump b { color: #fff; }
.nxc-jump:hover { background: rgba(255,255,255,.14); color: #fff; }
.nxc-jump i { animation: nxcBob 1.8s ease-in-out infinite; }
@keyframes nxcBob { 50% { transform: translateY(3px); } }

/* ---------------------------------------------------------------------
   2. GUIDED FORM
   --------------------------------------------------------------------- */
.nxc-form-sec { background: var(--nxc-soft); }
.nxc-form-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.nxc-form-card { padding: clamp(28px, 4vw, 52px); border-radius: 28px; background: #fff; border: 1px solid #e0eaf1; box-shadow: 0 30px 70px rgba(10,19,34,.07); }
.nxc-form-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.nxc-steps-ind { display: flex; gap: 18px; margin: 0; padding: 0; list-style: none; }
.nxc-steps-ind li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: #9aa9b8; transition: color .4s; }
.nxc-steps-ind span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid #cfdbe4; font-size: 12px; font-weight: 800; transition: background .4s, border-color .4s, color .4s; }
.nxc-steps-ind li.is-on { color: var(--nxc-ink); }
.nxc-steps-ind li.is-on span { background: var(--nxc-ink); border-color: var(--nxc-ink); color: #fff; }
.nxc-steps-ind li.is-done span { background: var(--nxa-blue); border-color: var(--nxa-blue); color: #fff; }
.nxc-progress { height: 3px; margin: 26px 0 30px; border-radius: 3px; background: #eef3f7; overflow: hidden; }
.nxc-progress span { display: block; height: 100%; width: 33.34%; background: linear-gradient(90deg, var(--nxa-blue), var(--nxa-sky)); transition: width .7s var(--nxa-ease); }

.nxc-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.nxc-step { animation: nxcStepIn .6s var(--nxa-ease); }
.nxc-step.is-back { animation-name: nxcStepBack; }
@keyframes nxcStepIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes nxcStepBack { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: none; } }
.nxc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.nxc-field { margin-bottom: 22px; }
.nxc-field > label, .nxc-label { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 800; color: var(--nxc-ink); }
.nxc-field > label span, .nxc-label span { color: #3682ae; }
.nxc-field input[type="text"], .nxc-field input[type="email"], .nxc-field input[type="tel"], .nxc-field textarea {
  display: block;
  width: 100%;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1.5px solid #dbe5ec;
  background: #fbfcfd;
  font-family: var(--nx-font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--nxc-ink);
  outline: 0;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.nxc-field textarea { resize: vertical; min-height: 120px; }
.nxc-field input::placeholder, .nxc-field textarea::placeholder { color: #9aa9b8; font-weight: 500; }
.nxc-field input:focus, .nxc-field textarea:focus { border-color: var(--nxa-blue); background: #fff; box-shadow: 0 0 0 5px rgba(54,130,174,.12); }
.nxc-field.has-error input, .nxc-field.has-error .nxc-chips { border-color: #7ebae0; }
.nxc-field.has-error input { box-shadow: 0 0 0 4px rgba(192,86,75,.1); }
.nxc-err { display: block; min-height: 0; margin-top: 6px; font-size: 13px; font-weight: 600; color: #205373; }
.nxc-hint { display: block; margin-top: 8px; font-size: 13px; color: #7d8ea0; }

.nxc-chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 2px; border-radius: 16px; border: 1.5px solid transparent; }
.nxc-chips label { position: relative; margin: 0; cursor: pointer; }
.nxc-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nxc-chips label > span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1.5px solid #dbe5ec;
  background: #fff;
  font-size: 14.5px; font-weight: 700;
  color: #3f4a57;
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--nxa-ease);
}
.nxc-chips label > span small { font-size: 12px; font-weight: 600; color: #8a99a9; }
.nxc-chips label:hover > span { border-color: var(--nxa-blue); transform: translateY(-2px); }
.nxc-chips input:checked + span { background: var(--nxc-ink); border-color: var(--nxc-ink); color: #fff; }
.nxc-chips input:checked + span small { color: #b9c8d6; }
.nxc-chips input:focus-visible + span { outline: 3px solid #62b6e4; outline-offset: 2px; }

.nxc-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 10px; }
.nxc-actions .nx-btn-primary { margin-left: auto; border: 0; cursor: pointer; }
.nxc-back { display: inline-flex; align-items: center; gap: 8px; padding: 12px 4px; border: 0; background: none; font-size: 14.5px; font-weight: 700; color: #5e7084; cursor: pointer; transition: color .3s, gap .35s var(--nxa-ease); }
.nxc-back:hover { color: var(--nxc-ink); gap: 12px; }
.nxc-submit.is-sending { opacity: .7; pointer-events: none; }
.nxc-consent { margin: 22px 0 0 !important; font-size: 12.5px !important; line-height: 1.6 !important; color: #8a99a9 !important; }
.nxc-consent a { color: var(--nxa-blue); text-decoration: underline; }

.nxc-next-steps { position: sticky; top: 120px; padding-top: 10px; }
.nxc-timeline { position: relative; margin: 16px 0 0; padding: 0; list-style: none; }
.nxc-timeline::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: #d6e2ea; }
.nxc-timeline::after { content: ""; position: absolute; left: 23px; top: 24px; width: 2px; height: calc(100% - 48px); background: var(--nxa-blue); transform: scaleY(0); transform-origin: top; transition: transform 1.6s var(--nxa-ease) .3s; }
.nxc-timeline.is-in::after { transform: scaleY(1); }
.nxc-timeline li { position: relative; display: flex; gap: 18px; padding: 0 0 30px; opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .8s var(--nxa-ease); transition-delay: calc(.3s + var(--i) * .3s); }
.nxc-timeline.is-in li { opacity: 1; transform: none; }
.nxc-tl-dot { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 2px solid var(--nxa-blue); color: var(--nxa-blue); font-size: 17px; }
.nxc-timeline strong { display: block; margin-top: 4px; font-size: 17px; font-weight: 800; color: var(--nxc-ink); }
.nxc-timeline p { margin: 4px 0 0 !important; font-size: 14.5px !important; line-height: 1.65 !important; color: #5b6b7d !important; }
.nxc-privacy { display: flex; gap: 14px; margin-top: 10px; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid #e0eaf1; }
.nxc-privacy i { margin-top: 3px; color: var(--nxa-blue); }
.nxc-privacy p { margin: 0 !important; font-size: 13.5px !important; line-height: 1.6 !important; color: #5b6b7d !important; }
.nxc-privacy a { color: var(--nxa-blue); text-decoration: underline; }

/* ---------------------------------------------------------------------
   3. VISIT — map
   --------------------------------------------------------------------- */
.nxc-visit { padding: clamp(70px, 8vw, 110px) 0 clamp(60px, 7vw, 100px); background: #fff; }
.nxc-map { position: relative; height: 540px; border-radius: 30px; overflow: hidden; border: 1px solid #e0eaf1; background: #e8eef2; }
.nxc-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.05) brightness(1.02); transition: filter .8s ease; }
.nxc-map:hover iframe { filter: none; }
.nxc-map-card {
  position: absolute; left: clamp(20px, 3vw, 40px); top: 50%;
  width: min(420px, calc(100% - 40px));
  padding: clamp(26px, 3vw, 38px);
  border-radius: 24px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 30px 70px rgba(10,19,34,.18);
  transform: translateY(-50%);
}
.nxc-map-card address { margin: 18px 0 16px; font-style: normal; font-size: 16.5px; font-weight: 700; line-height: 1.6; color: var(--nxc-ink); }
.nxc-map-tip { display: flex; gap: 10px; margin: 0 0 22px !important; font-size: 13.5px !important; line-height: 1.6 !important; color: #5b6b7d !important; }
.nxc-map-tip i { margin-top: 3px; color: var(--nxa-blue); }
.nxc-map-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }

/* ---------------------------------------------------------------------
   4. QUICK ANSWERS + GRIEVANCES
   --------------------------------------------------------------------- */
.nxc-answers { background: #fff; }
.nxc-answers-title { max-width: 720px; margin-bottom: clamp(36px, 4vw, 56px); }
.nxc-answers-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid #e3eaf0; }
.nxc-answer { position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px 0; overflow: hidden; }
.nxc-answer + .nxc-answer { padding-left: 30px; border-left: 1px solid #e3eaf0; }
.nxc-q { position: absolute; right: 18px; top: -10px; font-family: var(--nx-font-serif); font-style: italic; font-size: 8rem; font-weight: 600; line-height: 1; color: #f3f6f9; z-index: 0; top: -30px; transition: color .5s, transform .8s var(--nxa-ease); }
.nxc-answer:hover .nxc-q { color: #e1edf5; transform: rotate(10deg) translateY(6px); }
.nxc-answer > *:not(.nxc-q) { position: relative; }
.nxc-answer h3 { margin: 0 0 10px; font-size: 18px; font-weight: 800; color: var(--nxc-ink); }
.nxc-answer p { flex: 1; margin: 0 0 18px !important; font-size: 15px !important; line-height: 1.7 !important; color: #5b6b7d !important; }
.nxc-answer .nxc-link { align-self: flex-start; }

.nxc-grievance { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: clamp(50px, 6vw, 80px); padding: 26px 30px; border-radius: 20px; background: var(--nxc-soft); border: 1px solid #e0eaf1; }
.nxc-grievance strong { display: block; font-size: 16px; font-weight: 800; color: var(--nxc-ink); }
.nxc-grievance p { max-width: 640px; margin: 4px 0 0 !important; font-size: 14px !important; line-height: 1.6 !important; color: #5b6b7d !important; }
.nxc-grievance p a { color: var(--nxa-blue); text-decoration: underline; }
.nxc-grievance-links { display: flex; flex-wrap: wrap; gap: 10px; }
.nxc-grievance-links a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; background: #fff; border: 1px solid #d6e2ea; font-size: 13.5px; font-weight: 700; color: var(--nxc-ink); transition: border-color .3s, color .3s; }
.nxc-grievance-links a:hover { border-color: var(--nxa-blue); color: var(--nxa-blue); }
.nxc-grievance-links a i:last-child { font-size: 11px; color: #8a99a9; }
.nxc-note { max-width: 880px; margin: 40px auto 0 !important; font-size: 12px !important; line-height: 1.7 !important; color: #8a99a9 !important; text-align: center !important; }

/* ---------------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .nxc-channels li { grid-template-columns: 1fr auto; gap: 6px 14px; }
  .nxc-channels .nxc-ch-label { grid-column: 1 / -1; }
  .nxc-dial { width: 120px; height: 120px; }
}
@media (max-width: 991px) {
  .nxc-hero-split { grid-template-columns: 1fr; min-height: 0; }
  .nxc-hero-left { justify-content: flex-start; padding: 110px 15px 60px; }
  .nxc-hero-left-inner { max-width: 720px; margin: 0 auto; }
  .nxc-hero-right { padding: 50px 15px; align-items: center; }
  .nxc-clocks { width: 100%; max-width: 720px; }
  .nxc-jump { align-self: center; }
  .nxc-form-grid { grid-template-columns: 1fr; }
  .nxc-next-steps { position: static; }
  .nxc-answers-grid { grid-template-columns: 1fr; }
  .nxc-answer, .nxc-answer + .nxc-answer { padding: 28px 0; border-left: 0; border-bottom: 1px solid #e3eaf0; }
  .nxc-map { height: auto; }
  .nxc-map iframe { position: relative; height: 320px; }
  .nxc-map-card { position: relative; left: auto; top: auto; width: auto; transform: none; border-radius: 0; box-shadow: none; }
}
@media (max-width: 767px) {
  .nxc-channels li { grid-template-columns: 1fr auto; gap: 6px 14px; }
  .nxc-ch-label { grid-column: 1 / -1; }
  .nxc-row { grid-template-columns: 1fr; gap: 0; }
  .nxc-steps-ind li { font-size: 0; gap: 0; }
  .nxc-steps-ind { gap: 8px; }
  .nxc-clock { gap: 16px; }
  .nxc-dial { width: 100px; height: 100px; }
  .nxc-chips label > span { padding: 10px 14px; font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .nxc-hero-right { clip-path: none !important; }
  .nxc-timeline li { opacity: 1 !important; transform: none !important; }
  .nxc-timeline::after { transform: none !important; }
}

/* Oct 2026: smaller hero heading and contact details */
html body.nxc-page .nxc-hero-title { font-size: clamp(2.1rem, 3.6vw, 3.2rem); margin-bottom: 18px; }
html body.nxc-page .nxc-channels li { padding: 16px 0; }
html body.nxc-page .nxc-ch-value { font-size: clamp(.95rem, 1.15vw, 1.05rem); }
html body.nxc-page .nxc-ch-value.nxc-ch-small { font-size: clamp(.95rem, 1.15vw, 1.05rem); }

/* Oct 2026: original Schedule a Call form between the hero and the map */
.nxc-old-form { scroll-margin-top: 90px; }
.nxc-old-form + .nxc-visit { padding-top: clamp(50px, 6vw, 80px); }
/* the form's fade-in script only runs on the homepage, so show it straight away here */
html body.nxc-page .nxc-old-form .nx-reveal { opacity: 1 !important; transform: none !important; }
/* centre the consent line and the confidentiality line under the button */
html body.nxc-page .nxc-old-form .nx-form-consent { text-align: center !important; margin-left: auto; margin-right: auto; }
html body.nxc-page .nxc-old-form .nx-form-reassurance { display: flex; justify-content: center; align-items: center; text-align: center; margin-left: auto; margin-right: auto; }

/* Oct 2026: Contact hero centred (breadcrumb removed). Rows keep their layout;
   the block sits in the middle of the page and the headings are centred. */
.nxc-hero-split { grid-template-columns: minmax(0, 1fr); }
.nxc-hero-left { justify-content: center; padding-left: 15px; padding-right: 15px; }
.nxc-hero-left-inner { max-width: 700px; margin: 0 auto; }
.nxc-hero-left-inner > .nx-eyebrow { display: flex; justify-content: center; }
.nxc-hero-title { text-align: center; }
