/* === Contact Us page === */

/* Hero */
.ct-hero { padding-top: 64px; padding-bottom: 56px; text-align: center; position: relative; overflow: hidden; }
.ct-hero::before {
  content: "";
  position: absolute; inset: -10% -20% auto -20%; height: 500px;
  background:
    radial-gradient(50% 60% at 50% 10%, rgba(64,204,191,0.09), transparent 60%),
    radial-gradient(40% 50% at 15% 50%, rgba(99,102,241,0.05), transparent 60%);
  pointer-events: none; z-index: 0;
}
.ct-hero .container { position: relative; z-index: 1; max-width: 640px; }
.ct-hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-50); border: 1px solid var(--teal-100); color: var(--teal-700);
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 5px 14px; border-radius: 999px; margin-bottom: 20px;
}
.ct-hero h1 { font-size: clamp(32px, 4.5vw, 52px); line-height: 1.08; letter-spacing: -0.025em; }
.ct-hero h1 .accent { color: var(--teal-600); }
.ct-hero .lede { color: var(--muted); font-size: 17px; margin-top: 16px; max-width: 46ch; margin-left: auto; margin-right: auto; }

/* Main contact section */
.ct-main { padding-bottom: var(--gutter); }

/* ── Redesigned contact info card ── */
.cti-card {
  position: relative; overflow: hidden;
  max-width: 840px; margin: 0 auto;
  background: var(--ink);
  border-radius: 24px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.22), 0 0 0 1px rgba(255,255,255,0.06);
  padding: 48px 52px;
}
.cti-card-glow {
  position: absolute; top: -80px; right: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(64,204,191,0.13), transparent 65%);
  pointer-events: none;
}

.cti-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(64,204,191,0.12); border: 1px solid rgba(64,204,191,0.22);
  color: var(--teal-400); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 5px 14px; border-radius: 999px; margin-bottom: 16px;
}
.cti-title { font-size: 28px; font-weight: 800; color: white; letter-spacing: -0.02em; margin: 0; }
.cti-sub { font-size: 14px; color: rgba(255,255,255,0.42); margin-top: 5px; }

.cti-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  margin-top: 36px; gap: 0;
}
.cti-col-left {
  display: flex; flex-direction: column;
  padding-right: 40px;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.cti-col-right {
  padding-left: 40px;
  display: flex; align-items: flex-start;
}
.cti-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  width: 100%;
}
.cti-item-last { border-bottom: none; }
.cti-item-office { border-bottom: none; }

.cti-item-ic {
  width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;
  background: rgba(64,204,191,0.1); border: 1px solid rgba(64,204,191,0.18);
  display: grid; place-items: center; color: var(--teal-400);
}
.cti-item-label {
  font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.35);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.cti-item-val {
  font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.88);
  margin-top: 4px; line-height: 1.55;
}
.cti-item-val a { color: inherit; text-decoration: none; transition: color .15s; }
.cti-item-val a:hover { color: var(--teal-400); }

.cti-divider { height: 1px; background: rgba(255,255,255,0.07); margin-top: 28px; }

.cti-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 24px;
}
.cti-follow-label {
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.35);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.cti-socials { display: flex; gap: 10px; }
.cti-social {
  width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.13); background: rgba(255,255,255,0.05);
  display: grid; place-items: center; color: rgba(255,255,255,0.55);
  transition: background .15s, color .15s, border-color .15s; text-decoration: none;
}
.cti-social:hover { background: rgba(64,204,191,0.15); color: var(--teal-400); border-color: rgba(64,204,191,0.3); }

/* Form panel (right) */
.ct-form-wrap { padding: 40px 40px; }
.ct-form-title { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 24px; }

.ct-form { display: flex; flex-direction: column; gap: 20px; }
.ct-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ct-field { display: flex; flex-direction: column; gap: 6px; }
.ct-field label { font-size: 12px; font-weight: 700; color: var(--ink); }
.ct-field input,
.ct-field textarea,
.ct-field select {
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
  padding: 10px 14px; font-size: 14px; color: var(--ink); font-family: inherit;
  transition: border-color .15s, box-shadow .15s; outline: none; width: 100%; box-sizing: border-box;
}
.ct-field input::placeholder,
.ct-field textarea::placeholder { color: var(--muted); opacity: 0.7; }
.ct-field input:focus,
.ct-field textarea:focus,
.ct-field select:focus { border-color: var(--teal-400); box-shadow: 0 0 0 3px rgba(64,204,191,0.12); }
.ct-field textarea { resize: vertical; min-height: 100px; }

/* Subject radios */
.ct-subjects { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-subject {
  display: flex; align-items: center; gap: 7px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
  padding: 7px 14px; cursor: pointer; transition: border-color .15s, background .15s;
  font-size: 13px; font-weight: 500; color: var(--ink); user-select: none;
}
.ct-subject input[type="radio"] { accent-color: var(--teal-500); width: 14px; height: 14px; flex-shrink: 0; }
.ct-subject:has(input:checked) { border-color: var(--teal-400); background: var(--teal-50); }

.ct-form-submit { display: flex; justify-content: flex-end; margin-top: 4px; }
.ct-submit-btn {
  background: var(--teal-500); color: white; border: none; border-radius: 8px;
  padding: 12px 28px; font-size: 14px; font-weight: 700; cursor: pointer;
  font-family: inherit; transition: background .15s, transform .1s;
  display: flex; align-items: center; gap: 8px;
}
.ct-submit-btn:hover { background: var(--teal-600); }
.ct-submit-btn:active { transform: scale(0.98); }

/* Success state */
.ct-success {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; text-align: center; padding: 48px 32px; min-height: 320px;
}
.ct-success-ic {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--teal-50); border: 2px solid var(--teal-300);
  display: grid; place-items: center; color: var(--teal-600);
}
.ct-success h3 { font-size: 20px; font-weight: 800; color: var(--ink); }
.ct-success p { font-size: 14px; color: var(--muted); max-width: 34ch; }

/* Channels section */
.ct-channels { padding: 64px 0; background: var(--surface); border-top: 1px solid var(--line); }
.ct-channels-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.ct-channel-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-xl);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
  transition: box-shadow .2s;
}
.ct-channel-card:hover { box-shadow: var(--shadow-md); }
.ct-channel-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; }
.ct-channel-ic.teal { background: var(--teal-50); color: var(--teal-600); }
.ct-channel-ic.indigo { background: #EEF2FF; color: #4F46E5; }
.ct-channel-ic.wa { background: #F0FDF4; color: #16A34A; }
.ct-channel-title { font-size: 15px; font-weight: 700; color: var(--ink); }
.ct-channel-desc { font-size: 13px; color: var(--muted); line-height: 1.55; }
.ct-channel-action {
  margin-top: auto; padding-top: 8px;
  font-size: 13px; font-weight: 600; color: var(--teal-600); text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.ct-channel-action:hover { color: var(--teal-700); }

/* Help Center section */
.ct-helpcenter { padding: 64px 0; }
.ct-hc-inner {
  background: linear-gradient(135deg, var(--ink) 0%, #1a2e2b 100%);
  border-radius: var(--radius-xl);
  padding: 56px 64px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  position: relative; overflow: hidden;
}
.ct-hc-inner::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 80% 30%, rgba(64,204,191,0.10), transparent 60%);
  pointer-events: none;
}
.ct-hc-copy { position: relative; z-index: 1; }
.ct-hc-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(64,204,191,0.12); border: 1px solid rgba(64,204,191,0.22);
  color: var(--teal-400); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 20px;
}
.ct-hc-copy h2 {
  font-size: clamp(24px, 3vw, 34px); font-weight: 800;
  color: white; letter-spacing: -0.025em; line-height: 1.15;
  text-wrap: balance;
}
.ct-hc-copy p {
  font-size: 15px; color: rgba(255,255,255,0.6);
  margin-top: 14px; line-height: 1.6; max-width: 42ch;
}
.ct-hc-items {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-top: 24px;
}
.ct-hc-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.8);
}
.ct-hc-item-ic {
  width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
  background: rgba(64,204,191,0.12); display: grid; place-items: center;
  color: var(--teal-400);
}
.ct-hc-actions {
  display: flex; align-items: center; gap: 20px;
  margin-top: 32px; flex-wrap: wrap;
}
.ct-hc-link {
  font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.7);
  text-decoration: none; display: inline-flex; align-items: center; gap: 5px;
  transition: color .15s;
}
.ct-hc-link:hover { color: var(--teal-400); }

/* Help center visual mock */
.ct-hc-visual { position: relative; z-index: 1; }
.ct-hc-card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.ct-hc-card-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.ct-hc-articles { padding: 8px; display: flex; flex-direction: column; gap: 2px; }
.ct-hc-article {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: 8px; cursor: pointer;
  transition: background .15s;
}
.ct-hc-article:hover { background: var(--surface); }
.ct-hc-article-tag {
  font-size: 10px; font-weight: 700; color: var(--teal-700);
  background: var(--teal-50); border: 1px solid var(--teal-100);
  border-radius: 999px; padding: 2px 8px; white-space: nowrap; flex-shrink: 0;
}
.ct-hc-article-title {
  font-size: 13px; font-weight: 600; color: var(--ink);
  flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ct-hc-article svg { color: var(--muted); flex-shrink: 0; }
.ct-hc-card-foot {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-top: 1px solid var(--line);
  font-size: 12px; font-weight: 600; color: var(--teal-600);
}

/* Responsive */
@media (max-width: 900px) {
  .ct-channels-grid { grid-template-columns: 1fr; }
  .ct-hc-inner { grid-template-columns: 1fr; gap: 40px; padding: 40px 32px; }
  .ct-hc-copy p { max-width: 100%; }
}
@media (max-width: 680px) {
  .cti-card { padding: 36px 28px; }
  .cti-grid { grid-template-columns: 1fr; }
  .cti-col-left { border-right: none; padding-right: 0; }
  .cti-col-right { padding-left: 0; }
  .cti-item { padding: 18px 0; }
  .cti-item-last { border-bottom: 1px solid rgba(255,255,255,0.07); }
  .cti-item-office { border-bottom: none; }
}
@media (max-width: 500px) {
  .ct-hc-items { grid-template-columns: 1fr; }
  .ct-hc-inner { padding: 32px 24px; }
}

/* === Contact Form section === */
.ct-form-section { padding: var(--gutter) 0; }

.ct-form-wrap {
  max-width: 760px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 52px 56px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.04);
}

.ct-form-header { margin-bottom: 36px; }
.ct-form-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; color: var(--teal-600);
  text-transform: uppercase; letter-spacing: .07em;
  margin-bottom: 12px;
}
.ct-form-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin: 0 0 8px; }
.ct-form-sub { color: var(--muted); font-size: 15px; margin: 0; }

/* Form layout */
.ct-form { display: flex; flex-direction: column; gap: 20px; }
.ct-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ct-field { display: flex; flex-direction: column; gap: 6px; }

.ct-label {
  font-size: 13px; font-weight: 600; color: var(--ink);
}
.ct-label span { color: var(--teal-500); }

.ct-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg);
  transition: border-color .18s, box-shadow .18s;
  outline: none;
  box-sizing: border-box;
}
.ct-input:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(64,204,191,0.15);
}
.ct-textarea { resize: vertical; min-height: 120px; }
.ct-select { appearance: none; cursor: pointer; }

/* reCAPTCHA row */
.ct-recaptcha { margin-top: 4px; }

/* Error banner */
.ct-form-error-msg {
  background: #fff1f2; border: 1px solid #fecaca;
  color: #b91c1c; border-radius: 10px;
  padding: 12px 16px; font-size: 14px; font-weight: 500;
}

/* Submit button */
.ct-submit-btn {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  padding: 13px 28px;
}
.ct-submit-btn:disabled { opacity: .65; cursor: not-allowed; }

/* Success state */
.ct-form-success {
  text-align: center; padding: 48px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.ct-form-success-ic {
  width: 60px; height: 60px; border-radius: 50%;
  background: #d1fae5; color: #065f46;
  display: flex; align-items: center; justify-content: center;
}
.ct-form-success h3 { font-size: 1.4rem; font-weight: 800; margin: 0; }
.ct-form-success p  { color: var(--muted); margin: 0; }

/* Spin animation for loading state */
@keyframes ct-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Responsive */
@media (max-width: 700px) {
  .ct-form-wrap { padding: 36px 24px; border-radius: 18px; }
  .ct-form-row  { grid-template-columns: 1fr; }
}
