/* Contact page — Quantum Design brand */

.ct-hero {
  background:
    radial-gradient(circle at 1px 1px, rgba(15, 28, 46, 0.08) 1px, transparent 0) 0 0 / 22px 22px,
    radial-gradient(circle at 45% 50%, rgba(31, 169, 240, 0.08) 0%, transparent 60%);
  padding: 140px var(--pad-x) 60px;
  border-bottom: 1px solid #e6eef7;
  position: relative;
  overflow: hidden;
}
.ct-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}
.ct-hero-eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #5c5f66;
  position: relative;
  z-index: 1;
}
.ct-hero-atom {
  width: 400px;
  height: 400px;
  opacity: 0.5;
  position: absolute;
  left: -200px;
  top: -100px;
  pointer-events: none;
}

/* ============ MAIN CONTACT SECTION ============ */
.ct-main {
  background: #ffffff;
  padding: 160px var(--pad-x) 100px;
}
.ct-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

/* Left side: heading + info */
.ct-left {
  position: sticky;
  top: 100px;
}
.ct-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #5c5f66;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.ct-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1FA9F0;
}
.ct-h1 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: #0F1C2E;
  margin: 0 0 24px;
}
.ct-h1 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: #1FA9F0;
  letter-spacing: -0.015em;
}
.ct-sub {
  font-family: 'Inter Tight', sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: #5C5F66;
  margin: 0 0 40px;
  max-width: 440px;
}

.ct-channels {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}
.ct-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: #FFFFFF;
  border: 1px solid rgba(15, 28, 46, 0.08);
  border-radius: 16px;
  text-decoration: none;
  color: #0F1C2E;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.ct-channel:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 169, 240, 0.35);
  box-shadow: 0 1px 0 rgba(15,28,46,0.04), 0 20px 40px -28px rgba(31,169,240,0.35);
}
.ct-channel-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #DBEEFF;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #1FA9F0;
}
.ct-channel-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5C5F66;
  margin-bottom: 2px;
}
.ct-channel-value {
  font-family: 'Inter Tight', sans-serif;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #0F1C2E;
}

.ct-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid rgba(15, 28, 46, 0.08);
}
.ct-meta-k {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5C5F66;
  margin-bottom: 6px;
}
.ct-meta-v {
  font-family: 'Inter Tight', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #0F1C2E;
}
.ct-meta-v em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: #1FA9F0;
}

/* Right side: form */
.ct-form-wrap {
  background: #FFFFFF;
  border: 1px solid rgba(15, 28, 46, 0.08);
  border-radius: 22px;
  padding: 36px;
  box-shadow: 0 1px 0 rgba(15,28,46,0.04), 0 24px 48px -28px rgba(15,28,46,0.18);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.ct-form-shimmer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(59,158,255,0) 30%, rgba(59,158,255,0.95) 50%, rgba(59,158,255,0) 70%, transparent 100%);
  background-size: 200% 100%;
  background-position: 100% 0;
  animation: ctShimmer 4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
@keyframes ctShimmer {
  0% { background-position: 100% 0; }
  60% { background-position: -100% 0; }
  100% { background-position: -100% 0; }
}
.ct-form-title {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: #0F1C2E;
  margin: 0 0 8px;
}
.ct-form-note {
  font-size: 13.5px;
  color: #5C5F66;
  margin: 0 0 28px;
}

.ct-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.ct-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}
.ct-row .ct-field { margin-bottom: 0; }
.ct-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5C5F66;
  margin-bottom: 8px;
}
.ct-input,
.ct-textarea,
.ct-select {
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  color: #0F1C2E;
  background: #FFFFFF;
  border: 1px solid rgba(15, 28, 46, 0.12);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}
.ct-input:focus,
.ct-textarea:focus,
.ct-select:focus {
  border-color: #1FA9F0;
  box-shadow: 0 0 0 3px rgba(31, 169, 240, 0.18);
}
.ct-textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.55;
}

/* Budget chip group */
.ct-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ct-chip {
  font-family: 'Inter Tight', sans-serif;
  font-size: 13.5px;
  padding: 8px 14px;
  border: 1px solid rgba(15, 28, 46, 0.12);
  border-radius: 999px;
  background: #FFFFFF;
  color: #0F1C2E;
  cursor: pointer;
  transition: all 0.18s ease;
}
.ct-chip:hover {
  border-color: rgba(31, 169, 240, 0.45);
}
.ct-chip.active {
  background: #DBEEFF;
  border-color: #1FA9F0;
  color: #1071CC;
  font-weight: 500;
}

/* Service tag pickers */
.ct-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ct-tag {
  font-family: 'Inter Tight', sans-serif;
  font-size: 13.5px;
  padding: 8px 14px;
  border: 1px solid rgba(15, 28, 46, 0.12);
  border-radius: 999px;
  background: #FFFFFF;
  color: #0F1C2E;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}
.ct-tag:hover { border-color: rgba(31, 169, 240, 0.45); }
.ct-tag.active {
  background: #1FA9F0;
  border-color: #1FA9F0;
  color: #FFFFFF;
}
.ct-subtags {
  margin-top: 12px;
  padding-left: 14px;
  border-left: 2px solid rgba(31, 169, 240, 0.35);
  animation: ctSubIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.ct-subtags-label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted, #5C5F66);
  margin-bottom: 8px;
}
.ct-tag-sm { font-size: 12.5px; padding: 6px 12px; }
@keyframes ctSubIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Privacy + submit */
.ct-foot {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.ct-privacy {
  font-size: 12.5px;
  color: #5C5F66;
  line-height: 1.5;
  flex: 1;
  min-width: 220px;
}
.ct-privacy a { color: #1071CC; border-bottom: 1px solid rgba(16, 113, 204, 0.4); }
.ct-submit {
  background: #1FA9F0;
  color: #FFFFFF;
  border: 0;
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 26px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.15s, background 0.15s;
}
.ct-submit:hover { transform: translateY(-1px); background: #1FA9F0; }
.ct-submit:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.ct-submit-arrow { transition: transform 0.2s; }
.ct-submit:hover .ct-submit-arrow { transform: translate(2px, -2px); }

/* Success state */
.ct-success {
  text-align: center;
  padding: 28px 0 8px;
}
.ct-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #DBEEFF;
  color: #1FA9F0;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
}
.ct-success h3 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: #0F1C2E;
  margin: 0 0 8px;
}
.ct-success p { color: #5C5F66; font-size: 15px; line-height: 1.55; }

/* FAQ strip */
.ct-faq {
  background: #FFFFFF;
  padding: 80px var(--pad-x) 120px;
  border-top: 1px solid rgba(15, 28, 46, 0.08);
}
.ct-faq-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
}
.ct-faq h2 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.035em;
  line-height: 1;
  color: #0F1C2E;
  margin: 0;
}
.ct-faq h2 em {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: #1FA9F0;
}
.ct-faq-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ct-faq-item {
  border-top: 1px solid rgba(15, 28, 46, 0.10);
  padding: 18px 0;
}
.ct-faq-item:last-child { border-bottom: 1px solid rgba(15, 28, 46, 0.10); }
.ct-faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: #0F1C2E;
  list-style: none;
  user-select: none;
}
.ct-faq-q::-webkit-details-marker { display: none; }
.ct-faq-q .ct-faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #DBEEFF;
  color: #1FA9F0;
  display: grid;
  place-items: center;
  font-size: 16px;
  transition: transform 0.25s ease, background 0.2s;
}
details[open] .ct-faq-q .ct-faq-toggle {
  transform: rotate(45deg);
  background: #1FA9F0;
  color: #FFFFFF;
}
.ct-faq-a {
  padding-top: 12px;
  font-size: 14.5px;
  line-height: 1.6;
  color: #5C5F66;
  max-width: 640px;
}

/* Responsive */
@media (max-width: 980px) {
  .ct-inner { grid-template-columns: 1fr; gap: 48px; }
  .ct-left { position: static; }
  .ct-faq-inner { grid-template-columns: 1fr; gap: 36px; }
  .ct-main { padding: 140px var(--pad-x) 60px; }
  .ct-form-wrap { padding: 28px 24px; }
  .ct-row { grid-template-columns: 1fr; }
}
