/* ============================================================
   A2Z DevCenter — Contact Page (scoped under .cpx)
   ============================================================ */

:root {
  --cpx-bg:        #ffffff;
  --cpx-panel:     #f7f7fb;
  --cpx-border:    #d8d8e8;
  --cpx-purple:    #7c5cff;
  --cpx-orange:    #ff7a1a;
  --cpx-text:      #0a0a14;
  --cpx-muted:     #2e2e45;
  --cpx-faint:     #555570;
  --cpx-body:      'Plus Jakarta Sans', sans-serif;
  --cpx-mono:      'JetBrains Mono', monospace;
}

.cpx { background: var(--cpx-bg); color: var(--cpx-text); font-family: var(--cpx-body); }

/* ── Hero ── */
.cpx-hero {
  background: #f4f3ff;
  padding: 64px 24px 56px;
  text-align: center;
  border-bottom: 1px solid var(--cpx-border);
}
.cpx-hero-inner { max-width: 1200px; margin: 0 auto; }

.cpx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cpx-orange);
  background: rgba(255,122,26,0.08);
  border: 1px solid rgba(255,122,26,0.2);
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 20px;
}
.cpx-dot {
  width: 6px; height: 6px;
  background: var(--cpx-orange);
  border-radius: 50%;
  display: inline-block;
}

.cpx-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--cpx-text);
  line-height: 1.2;
  margin-bottom: 14px;
  white-space: nowrap;
}
.cpx-hero h1 em { font-style: normal; color: var(--cpx-purple); }
.cpx-hero p { font-size: 16px; color: var(--cpx-muted); line-height: 1.7; max-width: 560px; margin: 0 auto; }

/* ── Main layout ── */
.cpx-main { padding: 60px 24px; background: #fff; }
.cpx-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}

/* ── Sidebar ── */
.cpx-sidebar-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cpx-faint);
  margin-bottom: 24px;
}
.cpx-info-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.cpx-info-icon {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: rgba(124,92,255,0.08);
  border: 1px solid rgba(124,92,255,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}
.cpx-info-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--cpx-faint);
  margin-bottom: 3px;
}
.cpx-info-val { font-size: 14px; font-weight: 600; color: var(--cpx-text); }
.cpx-info-sub { font-size: 12px; color: var(--cpx-faint); margin-top: 2px; }

.cpx-divider { height: 1px; background: var(--cpx-border); margin: 28px 0; }

.cpx-trust-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cpx-faint);
  margin-bottom: 14px;
}
.cpx-trust-list { list-style: none; padding: 0; }
.cpx-trust-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--cpx-muted);
  margin-bottom: 10px;
}
.cpx-trust-list li::before {
  content: '✓';
  width: 20px; height: 20px;
  background: rgba(32,180,120,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  color: #16a066;
  flex-shrink: 0;
  text-align: center;
  line-height: 20px;
}

/* ── Form ── */
.cpx-form-wrap {
  background: var(--cpx-panel);
  border: 1px solid var(--cpx-border);
  border-radius: 18px;
  padding: 40px;
}
.cpx-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cpx-form-field { margin-bottom: 18px; }
.cpx-form-field label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--cpx-faint);
  margin-bottom: 8px;
}
.cpx-form-field input,
.cpx-form-field select,
.cpx-form-field textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--cpx-border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  font-family: var(--cpx-body);
  color: var(--cpx-text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.cpx-form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237c5cff' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: #fff;
  padding-right: 36px;
  cursor: pointer;
}
.cpx-form-field select option { background: #fff; color: var(--cpx-text); }
.cpx-form-field input::placeholder,
.cpx-form-field textarea::placeholder { color: #c0c0d0; }
.cpx-form-field input:focus,
.cpx-form-field select:focus,
.cpx-form-field textarea:focus {
  border-color: var(--cpx-purple);
  box-shadow: 0 0 0 3px rgba(124,92,255,0.1);
}
.cpx-form-field textarea { resize: vertical; min-height: 120px; }

.cpx-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--cpx-body);
  font-size: 15.5px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(100deg, var(--cpx-orange), #ff9340);
  border: none;
  border-radius: 12px;
  padding: 15px;
  cursor: pointer;
  box-shadow: 0 8px 24px -4px rgba(255,122,26,0.35);
  transition: transform 0.16s, box-shadow 0.16s;
  margin-top: 4px;
}
.cpx-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -4px rgba(255,122,26,0.5); }
.cpx-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.cpx-form-note {
  font-family: var(--cpx-mono);
  font-size: 11.5px;
  color: var(--cpx-faint);
  text-align: center;
  margin-top: 12px;
}
.cpx-success {
  display: none;
  font-family: var(--cpx-mono);
  font-size: 13px;
  color: #16a066;
  text-align: center;
  padding-top: 10px;
}
.cpx-success.show { display: block; }

/* ── Office Cards ── */
.cpx-offices {
  padding: 0 24px 72px;
  background: #f7f7fb;
  border-top: 1px solid var(--cpx-border);
}
.cpx-offices-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 56px;
}
.cpx-office-card {
  background: #fff;
  border: 1px solid var(--cpx-border);
  border-radius: 16px;
  padding: 36px;
  text-align: center;
}
.cpx-office-country {
  font-size: 20px;
  font-weight: 800;
  color: var(--cpx-text);
  margin-bottom: 10px;
}
.cpx-office-addr {
  font-size: 14px;
  color: var(--cpx-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.cpx-office-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--cpx-panel);
  border: 1px solid var(--cpx-border);
  border-radius: 9px;
  padding: 11px 16px;
  font-size: 14px;
  color: var(--cpx-text);
  text-decoration: none;
  margin-bottom: 10px;
  transition: border-color 0.2s, background 0.2s;
}
.cpx-office-contact:hover { border-color: rgba(124,92,255,0.3); background: rgba(124,92,255,0.04); color: var(--cpx-purple); }
.cpx-office-dir {
  display: inline-block;
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--cpx-orange);
  text-decoration: none;
}
.cpx-office-dir:hover { text-decoration: underline; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .cpx-hero h1 { white-space: normal; }
  .cpx-container { grid-template-columns: 1fr; }
  .cpx-offices-inner { grid-template-columns: 1fr; }
  .cpx-form-wrap { padding: 28px 20px; }
  .cpx-form-row { grid-template-columns: 1fr; }
}
