/* MOCERION Contact Page — reference-led build V1.
   Scoped to .contact-page only. Shared purple/blue site atmosphere is untouched. */
.contact-page {
  --contact-ink: #211735;
  --contact-muted: #766b83;
  --contact-line: #d9d0df;
  --contact-pink-start: #fff8fc;
  --contact-pink-mid: #fff2f8;
  --contact-pink-end: #f6eef9;
  color: var(--contact-ink);
}
.contact-page .contact-main,
.contact-page .contact-main * { box-sizing: border-box; }
.contact-page .contact-main {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 168px 0 112px;
}
.contact-page .contact-panel {
  width: min(1448px, calc(100% - 48px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  column-gap: clamp(64px, 5.8vw, 108px);
  align-items: start;
  padding: 110px 42px 86px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 10px;
  background: linear-gradient(132deg, var(--contact-pink-start) 0%, var(--contact-pink-mid) 54%, var(--contact-pink-end) 100%);
  color: var(--contact-ink);
  box-shadow: 0 10px 34px rgba(12, 5, 38, .035);
}
.contact-page .contact-categories-panel { min-height: 920px; }
.contact-page .contact-panel-copy { min-width: 0; }
.contact-page .contact-eyebrow {
  margin: 0 0 36px;
  color: #593078;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: .235em;
  text-transform: uppercase;
}
.contact-page .contact-panel-copy h1,
.contact-page .contact-panel-copy h2 {
  margin: 0;
  color: #1c1530;
  font-size: clamp(48px, 4.1vw, 64px);
  font-weight: 570;
  line-height: 1.04;
  letter-spacing: -.058em;
}
.contact-page .contact-category-list {
  min-width: 0;
  display: flex;
  flex-direction: column;
  margin-top: 0;
}
.contact-page .contact-category-row {
  min-height: 155px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--contact-line);
  color: #1d1730;
  text-decoration: none;
  transition: color .2s ease, padding .2s ease, border-color .2s ease;
}
.contact-page .contact-category-row:first-child { padding-top: 8px; }
.contact-page .contact-category-row > span:first-child {
  min-width: 0;
  font-size: clamp(25px, 2.25vw, 36px);
  font-weight: 520;
  line-height: 1.18;
  letter-spacing: -.04em;
}
.contact-page .contact-arrow {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #f0edf2;
  color: #241b31;
  font-size: 28px;
  font-weight: 350;
  line-height: 1;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.contact-page .contact-category-row:hover {
  padding-left: 8px;
  border-bottom-color: #c7b5d5;
  color: #5d3187;
}
.contact-page .contact-category-row:hover .contact-arrow {
  transform: translate(3px,-2px);
  background: #e8dcef;
  color: #513078;
}
.contact-page .contact-category-row:focus-visible {
  outline: 2px solid #8051ad;
  outline-offset: 5px;
  border-radius: 3px;
}
.contact-page .contact-form-panel {
  margin-top: 54px;
  min-height: 900px;
  padding-top: 104px;
}
.contact-page .contact-form-panel .contact-eyebrow { margin-bottom: 36px; }
.contact-page .contact-form { min-width: 0; width: 100%; margin: 0; }
.contact-page .contact-field {
  position: relative;
  min-width: 0;
  height: 85px;
  margin: 0;
  border-bottom: 1px solid var(--contact-line);
  transition: border-color .2s ease;
}
.contact-page .contact-field:focus-within { border-bottom-color: #8051ad; }
.contact-page .contact-field input,
.contact-page .contact-field select,
.contact-page .contact-field textarea {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 28px 0 9px;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: #211735;
  font: inherit;
  font-size: 16px;
  font-weight: 450;
  line-height: 1.45;
}
.contact-page .contact-field input:focus,
.contact-page .contact-field select:focus,
.contact-page .contact-field textarea:focus {
  border: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
}
.contact-page .contact-field label {
  position: absolute;
  top: 31px;
  left: 0;
  z-index: 1;
  max-width: calc(100% - 28px);
  overflow: hidden;
  color: #85888c;
  font-size: 16px;
  font-weight: 450;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
  transform-origin: left top;
  transition: top .18s ease, font-size .18s ease, color .18s ease, letter-spacing .18s ease;
}
.contact-page .contact-field:focus-within label,
.contact-page .contact-field.has-value label {
  top: 12px;
  color: #74508e;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .035em;
}
.contact-page .contact-field select { padding-right: 34px; cursor: pointer; }
.contact-page .contact-field select:invalid { color: transparent; }
.contact-page .contact-field select option { color: #211735; }
.contact-page .contact-select-chevron {
  position: absolute;
  top: 30px;
  right: 4px;
  color: #756a80;
  font-size: 18px;
  line-height: 1;
  pointer-events: none;
}
.contact-page .contact-message-field {
  height: 112px;
  margin-top: 0;
}
.contact-page .contact-message-field textarea {
  min-height: 100%;
  padding-top: 30px;
  resize: vertical;
}
.contact-page .contact-message-field label { top: 35px; }
.contact-page .contact-message-field:focus-within label,
.contact-page .contact-message-field.has-value label { top: 12px; }
.contact-page .contact-submit-row { padding-top: 50px; }
.contact-page .contact-submit {
  min-width: 136px;
  min-height: 57px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 19px;
  border: 1px solid rgba(40, 26, 58, .025);
  border-radius: 7px;
  background: #f0edf2;
  color: #211735;
  font-family: inherit;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .12em;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, color .2s ease;
}
.contact-page .contact-submit span { font-size: 21px; font-weight: 400; line-height: 1; }
.contact-page .contact-submit:hover,
.contact-page .contact-submit:focus-visible {
  transform: translateY(-2px);
  background: #e8dcef;
  color: #513078;
}
.contact-page .contact-submit:focus-visible { outline: 2px solid #8051ad; outline-offset: 3px; }
.contact-page .contact-form-notice {
  min-height: 18px;
  margin: 14px 0 0;
  color: #6e5b7c;
  font-size: 12px;
  line-height: 1.55;
}
.contact-page .aq-main-footer { position: relative; z-index: 1; }

@media (min-width: 1800px) {
  .contact-page .contact-panel { width: min(1448px, calc(100% - 64px)); }
}
@media (max-width: 1100px) {
  .contact-page .contact-main { padding-top: 136px; }
  .contact-page .contact-panel {
    width: min(100% - 48px, 1000px);
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    column-gap: 54px;
    padding: 78px 34px 70px;
  }
  .contact-page .contact-categories-panel { min-height: 830px; }
  .contact-page .contact-category-row { min-height: 138px; }
  .contact-page .contact-panel-copy h1,
  .contact-page .contact-panel-copy h2 { font-size: clamp(44px, 5vw, 58px); }
}
@media (max-width: 820px) {
  .contact-page .contact-main { padding: 112px 0 72px; }
  .contact-page .contact-panel {
    width: calc(100% - 36px);
    grid-template-columns: minmax(0,1fr);
    row-gap: 34px;
    padding: 52px 34px 48px;
    border-radius: 14px;
  }
  .contact-page .contact-categories-panel { min-height: 0; }
  .contact-page .contact-eyebrow { margin-bottom: 22px; font-size: 12px; }
  .contact-page .contact-panel-copy h1,
  .contact-page .contact-panel-copy h2 { font-size: clamp(42px, 8vw, 58px); }
  .contact-page .contact-category-list { margin-top: 0; }
  .contact-page .contact-category-row { min-height: 104px; padding: 20px 0; }
  .contact-page .contact-category-row:first-child { padding-top: 12px; }
  .contact-page .contact-category-row > span:first-child { font-size: clamp(22px, 4vw, 28px); }
  .contact-page .contact-arrow { flex-basis: 44px; width: 44px; height: 44px; font-size: 24px; }
  .contact-page .contact-form-panel { margin-top: 28px; min-height: 0; padding-top: 52px; }
  .contact-page .contact-field { height: 78px; }
  .contact-page .contact-field label { top: 28px; font-size: 15px; }
  .contact-page .contact-field:focus-within label,
  .contact-page .contact-field.has-value label { top: 10px; font-size: 10px; }
  .contact-page .contact-message-field { height: 108px; }
  .contact-page .contact-submit-row { padding-top: 36px; }
}
@media (max-width: 520px) {
  .contact-page .contact-main { padding: 100px 0 58px; }
  .contact-page .contact-panel { width: calc(100% - 24px); padding: 40px 23px 38px; row-gap: 28px; }
  .contact-page .contact-eyebrow { margin-bottom: 19px; font-size: 10px; letter-spacing: .21em; }
  .contact-page .contact-panel-copy h1,
  .contact-page .contact-panel-copy h2 { font-size: 43px; }
  .contact-page .contact-category-row { min-height: 88px; gap: 14px; }
  .contact-page .contact-category-row > span:first-child { font-size: 21px; }
  .contact-page .contact-arrow { flex-basis: 39px; width: 39px; height: 39px; border-radius: 7px; font-size: 22px; }
  .contact-page .contact-form-panel { margin-top: 20px; }
  .contact-page .contact-field { height: 74px; }
  .contact-page .contact-field input,
  .contact-page .contact-field select,
  .contact-page .contact-field textarea { font-size: 15px; }
  .contact-page .contact-field label { top: 27px; font-size: 14px; }
  .contact-page .contact-field:focus-within label,
  .contact-page .contact-field.has-value label { top: 9px; font-size: 10px; }
  .contact-page .contact-message-field { height: 100px; }
  .contact-page .contact-submit-row { padding-top: 30px; }
  .contact-page .contact-submit { min-height: 52px; min-width: 126px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-page .contact-category-row,
  .contact-page .contact-arrow,
  .contact-page .contact-field,
  .contact-page .contact-field label,
  .contact-page .contact-submit { transition: none !important; }
}


/* V2 interaction layer: show one contact state at a time. */
.contact-page .contact-panel[hidden] { display: none !important; }
.contact-page .contact-form-panel {
  position: relative;
  margin-top: 0;
  min-height: 900px;
  padding-top: 104px;
}
.contact-page .contact-back-button {
  position: absolute;
  top: 20px;
  left: 42px;
  z-index: 2;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(40, 26, 58, .025);
  border-radius: 9px;
  background: #f0edf2;
  color: #241b31;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.contact-page .contact-back-button svg {
  display: block;
  width: 23px;
  height: 23px;
}
.contact-page .contact-back-button:hover {
  transform: translate(-2px, -2px);
  background: #e8dcef;
  color: #513078;
}
.contact-page .contact-back-button:focus-visible {
  outline: 2px solid #8051ad;
  outline-offset: 3px;
}
.contact-page .contact-field.has-error {
  margin-bottom: 19px;
  border-bottom-color: #b34b73;
}
.contact-page .contact-field.has-error:focus-within {
  border-bottom-color: #9d315f;
}
.contact-page .contact-field.has-error input,
.contact-page .contact-field.has-error textarea,
.contact-page .contact-field.has-error select {
  color: #5c233d;
}
.contact-page .contact-field-error {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 2;
  margin: 0;
  color: #9d315f;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
}
.contact-page .contact-field-error[hidden] { display: none !important; }
.contact-page .contact-form-notice {
  color: #754c68;
}
.contact-page .contact-form-panel .contact-panel-copy h2:focus { outline: none; }

@media (max-width: 1100px) {
  .contact-page .contact-form-panel {
    min-height: 900px;
    padding-top: 104px;
  }
}
@media (max-width: 820px) {
  .contact-page .contact-form-panel {
    margin-top: 0;
    min-height: 0;
    padding-top: 112px;
  }
  .contact-page .contact-back-button {
    top: 18px;
    left: 34px;
    width: 44px;
    height: 44px;
    border-radius: 8px;
  }
  .contact-page .contact-back-button svg { width: 21px; height: 21px; }
  .contact-page .contact-field.has-error { margin-bottom: 19px; }
}
@media (max-width: 520px) {
  .contact-page .contact-form-panel { padding-top: 100px; }
  .contact-page .contact-back-button {
    top: 15px;
    left: 23px;
    width: 39px;
    height: 39px;
    border-radius: 7px;
  }
  .contact-page .contact-back-button svg { width: 19px; height: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-page .contact-back-button { transition: none !important; }
}


/* Contact delivery V1 — optional PDF/DOCX resume upload, matching the pale-pink form surface. */
.contact-page .contact-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.contact-page .contact-upload-field {
  margin-top: 26px;
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--contact-line);
  color: #211735;
}
.contact-page .contact-upload-field > label {
  display: block;
  margin-bottom: 12px;
  color: #6f5a7c;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .055em;
}
.contact-page .contact-upload-field input[type="file"] {
  display: block;
  width: 100%;
  max-width: 100%;
  color: #51445f;
  font: inherit;
  font-size: 13px;
}
.contact-page .contact-upload-field input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 9px 13px;
  border: 1px solid rgba(40, 26, 58, .10);
  border-radius: 6px;
  background: #f0edf2;
  color: #211735;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.contact-page .contact-upload-field input[type="file"]::file-selector-button:hover {
  background: #e8dcef;
  color: #513078;
}
.contact-page .contact-upload-field p {
  margin: 9px 0 0;
  color: #85808b;
  font-size: 11px;
  line-height: 1.55;
}
.contact-page .contact-upload-field .contact-file-name {
  color: #6e5b7c;
  overflow-wrap: anywhere;
}
.contact-page .contact-submit:disabled {
  opacity: .62;
  cursor: wait;
  transform: none;
}
.contact-page .contact-form-notice[data-state="success"] { color: #356b52; }
.contact-page .contact-form-notice[data-state="error"] { color: #a13d50; }
