/* ===========================================================================
   Contact page — "Let's Start the Conversation"
   Public marketing contact form + direct-contact cards.
   =========================================================================== */

.cx {
  background: #eef1f0;
  min-height: 100vh;
  padding-bottom: 56px;
  font-family: var(--font-sans, 'Inter', system-ui, sans-serif);
}

/* ---- Hero -------------------------------------------------------------- */
.cx-hero__inner { max-width: 720px; margin: 0 auto; }

.cx-badge {
  display: inline-block;
  background: var(--theme-primary-press, #102554);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
}

.cx-hero__title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
  color: var(--theme-primary-press, #102554);
  margin: 20px 0 14px;
  line-height: 1.05;
}

.cx-hero__desc {
  font-size: 18px;
  color: var(--theme-primary, #1E3A8A);
  line-height: 1.6;
  margin: 0;
}

/* ---- Split card -------------------------------------------------------- */
.cx-split {
  display: grid;
  grid-template-columns: 40% 60%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(16, 40, 80, .16);
  background: #fff;
}

/* Left info panel */
.cx-left {
  background: linear-gradient(155deg, #15306E 0%, #123f5a 45%, #0B6E3B 100%);
  color: #eaf3ee;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}
.cx-left::after {
  content: '';
  position: absolute;
  right: -60px; bottom: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(168, 228, 154, .35), transparent 70%);
  pointer-events: none;
}

.cx-left__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9fd6bd;
  margin: 0 0 10px;
}
.cx-left__title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
  color: #fff;
}
.cx-left__msg {
  font-size: 15px;
  line-height: 1.65;
  color: #cfe4dc;
  margin: 0 0 32px;
}

.cx-illus { display: flex; justify-content: center; margin: 10px 0 34px; }

.cx-highlights { display: flex; flex-direction: column; gap: 20px; position: relative; z-index: 1; }
.cx-hl { display: flex; align-items: center; gap: 14px; }
.cx-hl__ic {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .12);
}
.cx-hl__ic svg { width: 20px; height: 20px; fill: #a8e49a; }
.cx-hl__t { font-weight: 700; font-size: 15px; color: #fff; }
.cx-hl__d { font-size: 13px; color: #bcd6cc; margin-top: 1px; }

/* Right form panel */
.cx-formwrap { background: #fff; padding: 44px; }
.cx-formwrap h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 26px;
  color: #1b2433;
  margin: 0 0 4px;
}
.cx-formsub { font-size: 14px; color: #64748b; margin: 0 0 24px; }

.cx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cx-field { position: relative; }
.cx-field.full { grid-column: 1 / -1; }

.cx-field .cx-ic {
  position: absolute;
  left: 14px; top: 15px;
  width: 18px; height: 18px;
  fill: #94a3b8;
  pointer-events: none;
}
.cx-field textarea + .cx-ic { top: 14px; }

.cx-input {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 14px 13px 42px;
  font-family: inherit;
  font-size: 14.5px;
  color: #1b2433;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
/* See auth-split.css — under 16px iOS zooms on focus and never zooms back.
   .cx-input is contact-only, so no extra scoping is needed here. */
@media (pointer: coarse) {
  .cx-input { font-size: 16px; }
}

.cx-input::placeholder { color: #94a3b8; }
.cx-input:focus {
  border-color: var(--theme-primary, #1E3A8A);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, .12);
}
textarea.cx-input { resize: vertical; min-height: 120px; }

/* Inline validation feedback */
.cx-input[aria-invalid="true"] {
  border-color: #e53e3e;
  background: #fff7f7;
}
.cx-input[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(229, 62, 62, .14);
}
.cx-err {
  display: block;
  margin: 6px 2px 0;
  font-size: 12.5px;
  line-height: 1.35;
  color: #e53e3e;
}

.cx-req { color: #e11d48; }
.cx-count { text-align: right; font-size: 12px; color: #94a3b8; margin: 6px 2px 0; }

.cx-submit {
  margin-top: 18px;
  width: 100%;
  border: none;
  cursor: pointer;
  padding: 15px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #1E3A8A 0%, #0B6E3B 100%);
  box-shadow: 0 10px 24px rgba(16, 40, 80, .22);
  transition: transform .12s, box-shadow .12s, opacity .12s;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
}
.cx-submit:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(16, 40, 80, .28); }
.cx-submit:disabled { opacity: .65; cursor: not-allowed; }
.cx-submit svg { width: 16px; height: 16px; fill: currentColor; }

/* Honeypot — visually hidden, off-screen, not tab-focusable */
.cx-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Sent confirmation */
.cx-sent { text-align: center; padding: 48px 0; }
.cx-sent svg { margin: 0 auto 16px; display: block; }
.cx-sent h2 { font-family: 'Fraunces', Georgia, serif; font-size: 24px; color: #1b2433; margin: 0 0 8px; }
.cx-sent p { color: #64748b; margin: 0; }

/* ---- Reach Us Directly ------------------------------------------------- */
.cx-direct { max-width: 1200px; margin: 70px auto 0; padding: 0 24px; text-align: center; }
.cx-sec-title { font-family: 'Fraunces', Georgia, serif; font-size: 30px; color: #123f2d; margin: 0 0 8px; }
.cx-sec-sub { color: #64748b; margin: 0 0 36px; }

.cx-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: left;
}
.cx-card {
  background: #fff;
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: var(--theme-shadow-md, 0 4px 12px rgba(16, 24, 40, .08));
  border: 1px solid #eef1f5;
}
.cx-card__ic {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--theme-primary-wash, #EEF1FA);
  margin-bottom: 18px;
}
.cx-card__ic svg { width: 22px; height: 22px; fill: var(--theme-primary, #1E3A8A); }
.cx-card__label {
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #64748b; margin: 0 0 10px;
}
.cx-card a, .cx-card__line { display: block; color: #1b2433; font-size: 14.5px; line-height: 1.55; text-decoration: none; }
.cx-card a:hover { color: var(--theme-primary, #1E3A8A); text-decoration: underline; }

.cx-map { margin-top: 14px; border-radius: 10px; overflow: hidden; border: 1px solid #e2e8f0; }
.cx-map iframe { display: block; width: 100%; height: 130px; border: 0; }

/* Office hours list */
.cx-hours { list-style: none; margin: 0; padding: 0; }
.cx-hours li {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 13.5px; padding: 5px 8px; border-radius: 8px;
  color: #334155;
}
.cx-hours li .cx-day { color: #64748b; }
.cx-hours li.today { background: var(--theme-primary-wash, #EEF1FA); font-weight: 700; }
.cx-hours li.today .cx-day, .cx-hours li.today span { color: var(--theme-primary, #1E3A8A); }

/* ---- Quick contact ----------------------------------------------------- */
.cx-quick { text-align: center; margin: 64px auto 0; padding: 0 24px; }
.cx-quick__cta {
  display: inline-flex; align-items: center; gap: 16px;
  background: var(--theme-primary, #1E3A8A);
  color: #fff; text-decoration: none;
  padding: 18px 34px; border-radius: 14px;
  box-shadow: 0 14px 30px rgba(30, 58, 138, .28);
  transition: transform .12s, box-shadow .12s;
}
.cx-quick__cta:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(30, 58, 138, .34); }
.cx-quick__cta svg { width: 26px; height: 26px; fill: #fff; }
.cx-quick__cta .t1 { display: block; font-weight: 700; font-size: 15px; text-align: left; }
.cx-quick__cta .t2 { display: block; font-size: 13px; opacity: .8; text-align: left; }

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 960px) {
  .cx-split { grid-template-columns: 1fr; }
  .cx-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cx-grid { grid-template-columns: 1fr; }
  .cx-cards { grid-template-columns: 1fr; }
  .cx-formwrap, .cx-left { padding: 32px 24px; }
}
