/* Contact page — built from the "Contact 1 · Split hero + card" design.
   Sits inside the shared header/footer from style.css. */

.ct-page {
  --accent: #3b9eff;
  --ct-head: #8cc8ff;
  --ct-soft: #b4c1cf;
}

.ct-page main {
  position: relative;
  z-index: 1;
}

.ct-band {
  background:
    radial-gradient(900px 480px at 0% 0%, rgba(59, 158, 255, 0.30), transparent 65%),
    radial-gradient(700px 420px at 100% 30%, rgba(47, 128, 237, 0.18), transparent 70%),
    linear-gradient(180deg, #0c2342 0px, #0a1628 600px, transparent 600px);
}

.ct-wrap {
  padding-top: clamp(48px, 7vw, 80px);
  padding-bottom: clamp(36px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: flex-start;
}

/* ---------- hiring box (full width, under the form) ---------- */
.ct-hiring-section {
  padding-bottom: clamp(56px, 8vw, 96px);
}

.ct-hiring {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 28px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(140, 200, 255, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(600px 220px at 0% 0%, rgba(59, 158, 255, 0.14), transparent 70%),
    rgba(255, 255, 255, 0.03);
}

.ct-hiring-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(140, 200, 255, 0.22);
  color: var(--ct-head);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ct-hiring-copy {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ct-hiring-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.15;
}

.ct-hiring-copy p {
  margin: 0;
  font-size: 17px;
  color: var(--ct-soft);
}

.ct-hiring-copy p strong {
  color: #ffffff;
  font-weight: 600;
}

/* ---------- left column ---------- */
.ct-left {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 12px;
}

.ct-eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--ct-head);
}

.ct-left h1 {
  font-size: clamp(2.6rem, 6vw, 3.625rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.ct-left h1 .serif-accent {
  color: var(--ct-head);
}

.ct-lede {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ct-soft);
  max-width: 520px;
}

.ct-lines {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 10px;
}

.ct-line {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ct-line>div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ct-line strong {
  font-size: 16px;
  font-weight: 600;
}

.ct-line a {
  color: var(--ct-soft);
}

.ct-line a:hover {
  color: #ffffff;
}

/* office addresses, grouped in one box under the contact lines */
.ct-places {
  margin-top: 48px;
  padding: 18px 20px;
  border: 1px solid rgba(140, 200, 255, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 480px;
  /* pull left by padding + border so its icons line up with the icons above */
  margin-left: -21px;
}

@media (max-width: 600px) {
  .ct-places {
    margin-left: 0;
  }
}

.ct-places-title {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #e8edf1;
}

.ct-addr {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: #ffffff;
}

.ct-addr address {
  font-style: normal;
  font-size: 15.5px;
  line-height: 1.5;
  padding-top: 0;
}

.ct-addr-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ct-addr-text strong {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.ct-addr-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(140, 200, 255, 0.22);
  color: var(--ct-head);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ct-tile {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(140, 200, 255, 0.22);
  color: var(--ct-head);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* compact version of the site .btn, sized to sit in the contact line */
.ct-callbtn {
  align-self: flex-start;
  margin-top: 6px;
  padding: 11px 14px;
  gap: 6px;
  border-radius: 10px;
  white-space: normal;
  text-align: left;
}

/* ---------- white form card ---------- */
.ct-card {
  flex: 1 1 520px;
  min-width: 0;
  background: #ffffff;
  color: #0f1a26;
  border-radius: 18px;
  padding: 40px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.ct-card h2 {
  font-size: 28px;
  letter-spacing: -0.01em;
}

.ct-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.ct-field--full {
  grid-column: 1 / -1;
}

/* inline validation */
.ct-err {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #c62828;
}

.ct-err[hidden] {
  display: none;
}

.ct-card input[aria-invalid="true"] {
  border-color: #e5484d;
}

.ct-card input[aria-invalid="true"]:focus {
  border-color: #e5484d;
  box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.2);
}

.ct-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ct-card label {
  font-size: 14px;
  font-weight: 600;
  color: #1d2a38;
}

.ct-card .req {
  color: #2f80ed;
}

.ct-card input,
.ct-card select,
.ct-card textarea {
  width: 100%;
  border: 1px solid #d3dce6;
  border-radius: 10px;
  background: #ffffff;
  color: #0f1a26;
  font: inherit;
  font-size: 15px;
}

.ct-card input,
.ct-card select {
  height: 48px;
  padding: 0 14px;
}

.ct-card textarea {
  min-height: 130px;
  padding: 12px 14px;
  resize: vertical;
}

.ct-card input::placeholder,
.ct-card textarea::placeholder {
  color: #8593a3;
}

.ct-card input:focus,
.ct-card select:focus,
.ct-card textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 158, 255, 0.22);
}

.ct-row {
  display: flex;
  gap: 8px;
}

.ct-card input.ct-cc {
  width: 76px;
  flex-shrink: 0;
  text-align: center;
  padding: 0 6px;
}

/* typed subject and the pick-list sit in one box: only one is needed */
.ct-subject-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border: 1px solid #d3dce6;
  border-radius: 12px;
  background: #f5f8fb;
}

.ct-or {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #6b7a8a;
}

.ct-or::before,
.ct-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e1e7ee;
}

.ct-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.ct-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid #b9d3ee;
  background: #f2f8ff;
  color: #1f63b8;
  font-size: 14px;
  font-weight: 600;
}

.ct-pill:hover {
  background: #e4f0ff;
}

.ct-pills>span {
  font-size: 13px;
  color: #6b7a8a;
}

.ct-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ct-btn {
  flex: 1 1 200px;
  min-height: 52px;
  border-radius: 10px;
  border: 0;
  color: #ffffff;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: filter .15s ease, opacity .15s ease;
}

.ct-btn:hover {
  color: #ffffff;
  filter: brightness(1.06);
}

.ct-btn--mail {
  background: linear-gradient(180deg, #4aa8ff, #2f80ed);
  box-shadow: 0 10px 24px rgba(47, 128, 237, 0.35);
}

.ct-btn--wa {
  background: #128c4a;
}

.ct-modal-call {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.ct-modal-call:hover {
  color: #1f63b8;
}

.ct-btn[aria-disabled="true"] {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
  filter: none;
}

.ct-hint {
  margin: -8px 0 0;
  font-size: 13px;
  color: #6b7a8a;
}

.ct-note {
  margin: 0;
  font-size: 13px;
  color: #6b7a8a;
  line-height: 1.5;
}

.ct-status,
.ct-prefill {
  border: 1px solid #b9dbff;
  background: #eef6ff;
  border-radius: 10px;
  padding: 14px 16px;
  color: #0f3a66;
  font-size: 15px;
  line-height: 1.5;
}

.ct-status.err {
  border-color: #f3b9b4;
  background: #fff1f0;
  color: #7a1f17;
}

.ct-status[hidden],
.ct-prefill[hidden] {
  display: none;
}

.ct-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 600px) {
  .ct-card {
    padding: 24px 18px;
    border-radius: 14px;
  }

  .ct-wrap {
    gap: 36px;
  }

  .ct-left,
  .ct-card {
    flex-basis: 100%;
  }
}

/* ---------- call-me modal ---------- */
.ct-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(4, 9, 16, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.ct-modal[hidden] {
  display: none;
}

.ct-dialog {
  flex: none;
  width: 100%;
  max-width: 440px;
  padding: 32px;
  position: relative;
  border-radius: 16px;
}

.ct-dialog-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* the shared .ct-btn grows to 200px for side-by-side buttons; in the stacked
   pop-up that would make it 200px tall, so keep its natural height */
.ct-dialog-body .ct-btn {
  flex: none;
}

.ct-dialog-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 40px;
}

.ct-dialog-head h2 {
  font-size: 24px;
}

.ct-dialog-head p {
  margin: 0;
  font-size: 15px;
  color: #4c5b6b;
  line-height: 1.5;
}

.ct-close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 0;
  background: #f1f4f8;
  color: #4c5b6b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ct-dialog-done {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 12px 8px 4px;
}

.ct-dialog-done[hidden],
.ct-dialog-body[hidden] {
  display: none;
}

.ct-dialog-done h2 {
  font-size: 22px;
}

.ct-dialog-done p {
  margin: 0;
  font-size: 16px;
  color: #33414f;
  line-height: 1.5;
}

.ct-done-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #eef6ff;
  color: #2f80ed;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ct-btn-plain {
  min-height: 46px;
  padding: 0 24px;
  border-radius: 10px;
  border: 1px solid #d3dce6;
  background: #ffffff;
  color: #1d2a38;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}