/* ============================================================
   Contact page — clean redesign (scoped under .cx)
   Brand: --primary #4245c7 | headings Ubuntu | body Nunito
   ============================================================ */

.cx {
  --cx-primary: #4245c7;
  --cx-primary-dark: #2f3296;
  --cx-ink: #0c0c0c;
  --cx-body: #474747;
  --cx-muted: #6b7280;
  --cx-line: #e6e8f0;
  --cx-bg: #f5f6fb;
  --cx-card: #ffffff;
  --cx-radius: 18px;
  --cx-shadow: 0 24px 60px -28px rgba(20, 23, 64, 0.35);
  background: var(--cx-bg);
  padding: 72px 0 96px;
  font-family: var(--fonts--paragraph-font, Nunito, sans-serif);
}

.cx * {
  box-sizing: border-box;
}

.cx-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.cx-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--cx-muted);
  margin-bottom: 20px;
}
.cx-breadcrumb a {
  color: var(--cx-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.cx-breadcrumb a:hover {
  color: var(--cx-primary);
}
.cx-breadcrumb .material-icons,
.cx-breadcrumb .sep {
  font-size: 16px;
  opacity: 0.6;
}

.cx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cx-primary);
  background: rgba(66, 69, 199, 0.08);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.cx-title {
  font-family: var(--fonts--heading-font, Ubuntu, sans-serif);
  color: var(--cx-ink);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.cx-lede {
  color: var(--cx-body);
  font-size: 18px;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 0 48px;
}

/* ---------- Grid ---------- */
.cx-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

/* ---------- Info panel ---------- */
.cx-panel {
  background: linear-gradient(160deg, #1b1e4d 0%, #2f3296 60%, #4245c7 100%);
  color: #fff;
  border-radius: var(--cx-radius);
  padding: 40px 36px;
  box-shadow: var(--cx-shadow);
  position: relative;
  overflow: hidden;
}
.cx-panel::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 70%);
  pointer-events: none;
}
.cx-panel h2 {
  font-family: var(--fonts--heading-font, Ubuntu, sans-serif);
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #fff;
}
.cx-panel .cx-panel-sub {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 28px;
}

.cx-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.cx-contact-item:first-of-type {
  border-top: none;
}
a.cx-contact-item:hover {
  transform: translateX(4px);
}
.cx-contact-item .cx-ico {
  flex: 0 0 44px;
  height: 44px;
  width: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 22px;
}
.cx-contact-item .cx-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 3px;
}
.cx-contact-item .cx-value {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}

.cx-hours {
  margin-top: 28px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}
.cx-hours strong {
  display: block;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* ---------- Form card ---------- */
.cx-formcard {
  background: var(--cx-card);
  border: 1px solid var(--cx-line);
  border-radius: var(--cx-radius);
  padding: 40px 36px;
  box-shadow: var(--cx-shadow);
}
.cx-formcard h2 {
  font-family: var(--fonts--heading-font, Ubuntu, sans-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--cx-ink);
  margin: 0 0 6px;
}
.cx-formcard .cx-form-sub {
  color: var(--cx-muted);
  font-size: 15px;
  margin: 0 0 28px;
}

.cx-success {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #ecfdf3;
  border: 1px solid #abefc6;
  color: #067647;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.5;
}
.cx-success .material-icons {
  font-size: 22px;
  color: #17b26a;
}

.cx-error {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fef3f2;
  border: 1px solid #fecdca;
  color: #b42318;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.5;
}
.cx-error .material-icons {
  font-size: 22px;
  color: #f04438;
}

.cx-field {
  margin-bottom: 18px;
}
.cx-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cx-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--cx-ink);
  margin-bottom: 7px;
  letter-spacing: 0.01em;
}
.cx-field label .cx-req {
  color: var(--cx-primary);
}

.cx-input,
.cx-select,
.cx-textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--cx-ink);
  background: #fbfbfe;
  border: 1.5px solid var(--cx-line);
  border-radius: 12px;
  padding: 13px 15px;
  line-height: 1.4;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  appearance: none;
  -webkit-appearance: none;
}
.cx-input::placeholder,
.cx-textarea::placeholder {
  color: #9aa1b2;
}
.cx-input:hover,
.cx-select:hover,
.cx-textarea:hover {
  border-color: #c8cbe0;
}
.cx-input:focus,
.cx-select:focus,
.cx-textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--cx-primary);
  box-shadow: 0 0 0 4px rgba(66, 69, 199, 0.12);
}
.cx-textarea {
  min-height: 140px;
  resize: vertical;
}
.cx-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234245c7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}

.cx-submit {
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: var(--fonts--heading-font, Ubuntu, sans-serif);
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  background: var(--cx-primary);
  border-radius: 12px;
  padding: 16px 24px;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s ease, transform 0.12s ease, box-shadow 0.2s ease;
  box-shadow: 0 14px 28px -12px rgba(66, 69, 199, 0.6);
}
.cx-submit:hover {
  background: var(--cx-primary-dark);
  transform: translateY(-1px);
}
.cx-submit:active {
  transform: translateY(0);
}
.cx-submit .material-icons {
  font-size: 20px;
}

.cx-disclaimer {
  margin-top: 16px;
  font-size: 13px;
  color: var(--cx-muted);
  text-align: center;
  line-height: 1.5;
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .cx-grid {
    grid-template-columns: 1fr;
  }
  .cx-panel {
    order: 2;
  }
  .cx-formcard {
    order: 1;
  }
}
@media (max-width: 560px) {
  .cx {
    padding: 48px 0 64px;
  }
  .cx-panel,
  .cx-formcard {
    padding: 30px 22px;
  }
  .cx-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
