/* ============================================================
   CONTACT US
   ------------------------------------------------------------
   Breakpoints from the handoff: 1000 (form and details stack,
   form first), 760 (the three quick cards stack), 620 (field
   pairs and the business cards go to one column).
   ============================================================ */

.ct-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--accent-wash);
  border-radius: 99px;
  padding: 7px 16px;
  margin-bottom: 16px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.ct-eyebrow__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.ct-eyebrow--dark { background: var(--accent-on-dark); color: var(--accent); }

.ct-tile {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ct-tile--lg { width: 44px; height: 44px; }
.ct-tile--ghost { background: rgba(255, 255, 255, .1); color: var(--on-navy-primary); }

/* ---------- the three direct routes ---------- */

.ct-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ct-quick__card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 1px 2px rgba(20, 35, 47, .04), 0 8px 22px rgba(20, 35, 47, .07);
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}
.ct-quick__card:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(20, 35, 47, .06), 0 18px 40px rgba(4, 100, 173, .16);
}
.ct-quick__k {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 3px;
}
.ct-quick__v {
  display: block;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--ink);
  overflow-wrap: anywhere;
}
@media (prefers-reduced-motion: reduce) {
  .ct-quick__card { transition: none; }
  .ct-quick__card:hover { transform: none; }
}

/* ---------- layout ---------- */

.ct-main { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.ct-side { display: flex; flex-direction: column; gap: 18px; }

/* ---------- form card ---------- */

.ct-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--brand);
  border-radius: 20px;
  padding: clamp(24px, 3vw, 38px);
  box-shadow: 0 1px 2px rgba(20, 35, 47, .04), 0 8px 22px rgba(20, 35, 47, .07);
}
.ct-card__title {
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.15;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: -.8px;
}
.ct-card__sub { font-size: 15px; line-height: 1.6; color: var(--ink-body); margin: 0 0 26px; }

.ct-alert {
  background: #FDEDEC;
  border: 1px solid #F0C4C0;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14.5px;
  line-height: 1.55;
  color: #8A241E;
  margin: 0 0 22px;
}

.ct-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ct-group { margin-top: 24px; border: 0; padding: 0; min-width: 0; }

.ct-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 7px;
  padding: 0;
}
.ct-req { color: var(--negative); }
.ct-opt { font-weight: 500; color: var(--ink-muted); }

.ct-input {
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 15.5px;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: 11px;
  padding: 14px 15px;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
.ct-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(4, 100, 173, .12);
}
.ct-input[aria-invalid="true"] { border-color: var(--negative); }
.ct-select { cursor: pointer; }
.ct-textarea { line-height: 1.6; resize: vertical; min-height: 130px; }

.ct-err {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--negative);
  margin-top: 6px;
}

/* The honeypot. Off-screen rather than display:none, because some bots skip
   what is hidden outright -- and out of the tab order, so nobody reaches it. */
.ct-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- business cards and need chips ---------- */

.ct-biz { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ct-biz__btn {
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  padding: 13px 15px;
  min-height: 44px;
  transition: background 140ms ease, border-color 140ms ease;
}
.ct-biz__btn[aria-pressed="true"] { background: var(--brand-wash); border-color: var(--brand); }
.ct-biz__t { display: block; font-size: 15px; font-weight: 800; color: var(--ink); }
.ct-biz__btn[aria-pressed="true"] .ct-biz__t { color: var(--brand); }
.ct-biz__d { display: block; font-size: 13px; color: var(--ink-muted); margin-top: 2px; }

.ct-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.ct-chip { display: inline-flex; }
.ct-chip__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ct-chip__face {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: 99px;
  padding: 10px 15px;
  min-height: 44px;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}
.ct-chip__tick { display: none; line-height: 0; }
.ct-chip__input:checked + .ct-chip__face {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--on-navy-primary);
}
.ct-chip__input:checked + .ct-chip__face .ct-chip__tick { display: inline-flex; }
.ct-chip__input:focus-visible + .ct-chip__face {
  outline: var(--focus-ring);
  outline-offset: 2px;
}

/* ---------- send ---------- */

.ct-send {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
}
.ct-privacy { font-size: 13.5px; line-height: 1.55; color: var(--ink-muted); margin: 0; max-width: 380px; }
.ct-submit {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: var(--brand);
  color: var(--on-navy-primary);
  font-size: 16px;
  font-weight: 800;
  padding: 16px 32px;
  border-radius: 11px;
  box-shadow: 0 10px 24px rgba(4, 100, 173, .26);
  transition: background var(--transition);
}
.ct-submit:hover { background: var(--brand-dark); }
.ct-submit[disabled] { opacity: .6; cursor: progress; }

/* ---------- office card ---------- */

.ct-office {
  background: var(--ink-navy);
  border-radius: 20px;
  padding: clamp(24px, 2.8vw, 32px);
  box-shadow: 0 18px 40px rgba(3, 36, 74, .24);
}
.ct-office__rows { display: flex; flex-direction: column; gap: 18px; }
.ct-office__row { display: flex; gap: 14px; align-items: flex-start; }
.ct-office__rule { height: 1px; background: var(--border-on-dark); }
.ct-office__name { font-size: 15.5px; font-weight: 800; color: var(--on-navy-primary); margin-bottom: 4px; }
.ct-office__address { font-style: normal; font-size: 15px; line-height: 1.62; color: #D4E6F6; }
.ct-office__dir {
  display: inline-block;
  margin-top: 9px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}
.ct-office__dir:hover { color: #FFB81F; }
.ct-office__link { display: flex; gap: 14px; align-items: center; }
.ct-office__link:hover { opacity: .88; }
.ct-office__k {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--on-navy-tertiary);
}
.ct-office__v { display: block; font-size: 17px; font-weight: 800; color: var(--on-navy-primary); margin-top: 2px; }

.ct-social { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border-on-dark); }
.ct-social__row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.ct-social__btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface-on-dark);
  border: 1px solid var(--border-on-dark);
  color: var(--on-navy-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms ease;
}
.ct-social__btn:hover { background: var(--brand); color: var(--on-navy-primary); }
.ct-social__btn svg { width: 20px; height: 20px; }
.ct-office a:focus-visible,
.ct-social__btn:focus-visible { outline: var(--focus-ring-on-dark); outline-offset: 2px; }

/* ---------- what happens next ---------- */

.ct-next {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(22px, 2.6vw, 28px);
  box-shadow: 0 1px 2px rgba(20, 35, 47, .04), 0 8px 22px rgba(20, 35, 47, .07);
}
.ct-next__label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}
.ct-step { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 16px; }
.ct-step--last { padding-bottom: 0; }
.ct-step__rail { display: flex; flex-direction: column; align-items: center; align-self: stretch; }
.ct-step__n {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--brand-wash);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
}
.ct-step__n--end { background: var(--brand); color: var(--on-navy-primary); }
.ct-step__line { flex: 1; width: 2px; background: var(--border); margin-top: 6px; }
.ct-step__body { padding-top: 4px; }
.ct-step__t { font-size: 15.5px; font-weight: 800; color: var(--ink); margin-bottom: 3px; }
.ct-step__d { font-size: 14px; line-height: 1.58; color: var(--ink-body); }

/* ---------- map ---------- */

.ct-map__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}
.ct-map__title {
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.14;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
  letter-spacing: -.9px;
}
.ct-map {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(20, 35, 47, .04), 0 8px 22px rgba(20, 35, 47, .07);
  background: var(--brand-wash);
  height: clamp(300px, 36vw, 420px);
}
.ct-map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- breakpoints ---------- */

@media (max-width: 1000px) {
  .ct-main { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .ct-quick { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .ct-pair { grid-template-columns: 1fr; }
  .ct-biz { grid-template-columns: 1fr; }
  .ct-send { flex-direction: column; align-items: stretch; }
  .ct-submit { width: 100%; }
}
