/* ==========================================================================
   VANTIX SYSTEMS — pages/contact.css
   Hero, split enquiry panel (blue left, form right), what happens next.
   ========================================================================== */
.ct { --ct-pad: clamp(1.5rem, 3.4vw, 3rem); background: #f4f7fd; }
.ct-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-600);
}
.ct-label i { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--cyan); }
.ct-label--light { color: #9fd3f5; }
.ct em {
  font-style: normal;
  color: var(--blue-600);
}

/* ---------- Hero ---------- */
.ct-hero { padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 6rem)); padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.ct-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
}
.ct-hero__title {
  margin-top: 1.75rem;
  font-size: clamp(2.5rem, 5.6vw, 5.2rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.ct-hero__side {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  max-width: 30rem;
}
.ct-hero__side p { color: var(--slate); line-height: 1.6; }
.ct-mail {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid currentColor;
}
.ct-mail svg { width: 0.9rem; height: 0.9rem; }
.ct-mail:hover { color: var(--blue-600); }

/* ---------- Panel ---------- */
.ct-panel-wrap { padding-bottom: clamp(3rem, 6vw, 5.5rem); }
.ct-panel {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(1.5rem, 3.5vw, 3.5rem);
  align-items: stretch;
  padding: var(--ct-pad);
  border-radius: 1.75rem;
  background:
    radial-gradient(60% 70% at 0% 0%, rgba(47, 168, 230, 0.35), transparent 70%),
    linear-gradient(155deg, #2e6cc6 0%, #214f93 55%, #183b65 100%);
  color: var(--white);
}
.ct-panel__intro { display: flex; flex-direction: column; padding-block: 0.5rem; }
.ct-panel__title {
  margin-top: 1.25rem;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.04em;
}
.ct-panel__text { margin-top: 1.25rem; color: rgba(255, 255, 255, 0.82); line-height: 1.6; max-width: 28rem; }
.ct-panel__rule { margin: clamp(1.75rem, 4vw, 2.75rem) 0 1.25rem; height: 1px; background: rgba(255, 255, 255, 0.22); }
.ct-panel__small { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.ct-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  align-self: flex-start;
  margin-top: 0.9rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-size: 0.9375rem;
  transition: background 0.3s, color 0.3s;
}
.ct-pill svg { width: 0.85rem; height: 0.85rem; }
.ct-pill:hover, .ct-pill:focus-visible { background: var(--white); color: var(--blue-600); }

/* ---------- Form card ---------- */
.ct-form-card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 1.25rem;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 30px 60px -40px rgba(10, 20, 36, 0.6);
}
.ct-form-card__title {
  margin-top: 0.75rem;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}
.ct-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.25rem;
  margin-top: 1.75rem;
}
.ct-field--wide { grid-column: 1 / -1; }
.ct-field label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}
.ct-field input,
.ct-field select,
.ct-field textarea {
  width: 100%;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: #f6f8fc;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.ct-field textarea { min-height: 9rem; resize: vertical; line-height: 1.5; }
.ct-field input::placeholder,
.ct-field textarea::placeholder { color: #8a97a8; }
.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  outline: 0;
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(54, 120, 212, 0.14);
}
.ct-field.is-bad input,
.ct-field.is-bad textarea { border-color: #c0392b; background: #fff8f7; }
.ct-select { position: relative; }
.ct-select::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--slate);
  border-bottom: 2px solid var(--slate);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.ct-select select { appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer; }
.ct-form__foot { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 0.5rem; }
.ct-form__note { max-width: 22rem; font-size: 0.8125rem; line-height: 1.5; color: var(--slate); }
.ct-submit {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  flex: none;
  padding: 0.5rem 0.5rem 0.5rem 1.6rem;
  border: 0;
  border-radius: 999px;
  background: var(--blue-600);
  color: var(--white);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s var(--ease);
}
.ct-submit b {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--ink);
  transition: transform 0.4s var(--ease);
}
.ct-submit b svg { width: 1rem; height: 1rem; }
.ct-submit:hover { background: var(--navy); }
.ct-submit:hover b { transform: translateX(3px) rotate(-45deg); }
.ct-submit:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.ct-status { min-height: 1.25rem; font-size: 0.875rem; line-height: 1.5; }
.ct-status.is-ok { color: #1c6b3d; }
.ct-status.is-error { color: #b03024; }

/* ---------- What happens next ---------- */
.ct-next { padding-block: clamp(3rem, 6vw, 5.5rem) var(--section-y); border-top: 1px solid var(--line); }
.ct-next__head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: end;
}
.ct-next__title {
  margin-top: 1.25rem;
  font-size: clamp(2rem, 4.4vw, 3.8rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.ct-next__text { color: var(--slate); line-height: 1.6; max-width: 28rem; }
.ct-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
  list-style: none;
  padding: 0;
}
.ct-step {
  position: relative;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--white);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.ct-step:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -36px rgba(30, 60, 120, 0.45); }
.ct-step__n { font-family: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace; font-size: 0.75rem; color: var(--blue-600); }
.ct-step__dot { position: absolute; right: clamp(1.5rem, 2.4vw, 2rem); top: clamp(1.5rem, 2.4vw, 2rem); width: 0.9rem; height: 0.9rem; border-radius: 50%; background: var(--cyan); }
.ct-step h3 { margin-top: 2.5rem; font-size: clamp(1.4rem, 2vw, 1.9rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; }
.ct-step__sub { margin-top: 0.4rem; color: var(--slate); }
.ct-step__rule { height: 1px; margin: 1.5rem 0; background: var(--line); }
.ct-step p:last-child { color: var(--slate); line-height: 1.6; }

/* ---------- Liquid cursor (glassy white) ---------- */
.ab-liquid {
  position: fixed;
  inset: 0;
  z-index: 60;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.7;
  filter: url(#ab-goo) drop-shadow(0 0 0.6px rgba(40, 80, 150, 0.55)) drop-shadow(0 3px 8px rgba(30, 60, 120, 0.14));
}
@media (hover: none) { .ab-liquid { display: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 63.9375rem) {
  .ct-hero__inner,
  .ct-panel,
  .ct-next__head { grid-template-columns: 1fr; }
  .ct-steps { grid-template-columns: 1fr; }
}
@media (max-width: 40rem) {
  .ct-form { grid-template-columns: 1fr; }
  .ct-form__foot { flex-direction: column; align-items: stretch; }
  .ct-submit { justify-content: space-between; }
  .ct-panel { border-radius: 1.25rem; padding: 1rem; }
}

/* Details list, inline errors, 404 */
.ct-details { margin: 1.75rem 0 0; display: grid; gap: 1.5rem; }
.ct-details__row[hidden] { display: none; }
.ct-details dt { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.ct-details dd { margin: 0.5rem 0 0; font-size: clamp(1.25rem, 2.2vw, 1.9rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; overflow-wrap: anywhere; }
.ct-details a { border-bottom: 1px solid rgba(255, 255, 255, 0.4); transition: border-color 0.3s; }
.ct-details a:hover { border-color: var(--white); }
.ct-err { margin-top: 0.4rem; font-size: 0.8125rem; color: #b03024; }
.ct-404 { min-height: 80svh; display: flex; align-items: center; }
.ct-404__text { margin-top: 1.5rem; color: var(--slate); font-size: var(--step-1); }