/* ============================================================
   CONTACT US — contact.css
   All ct-* prefixed classes are local to this page.
   ============================================================ */

/* ── Font faces ── */
@font-face {
  font-family: 'Aeonik Pro';
  src: url('Aeonik/AeonikPro-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Aeonik Pro';
  src: url('Aeonik/AeonikPro-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Aeonik Pro';
  src: url('Aeonik/AeonikPro-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ── Design tokens ── */
:root {
  --primary: #0060FF;
  --primary-hover: #0050DD;
  --accent-mint: #00D4AA;
  --dark-bg: #0A0A0F;
  --dark-elevated: #111118;
  --dark-card: #1A1A24;
  --surface: #FAFAFA;
  --surface-card: #FFFFFF;
  --surface-muted: #F4F4F8;
  --text-primary: #0A0A0F;
  --text-secondary: #6B7280;
  --text-on-dark: #F0F0F5;
  --text-muted-on-dark: #9CA3AF;
  --border: rgba(0, 0, 0, 0.08);
  --border-dark: rgba(255, 255, 255, 0.08);
  --coffeecup-brown: #8B4513;
  --gradient-hero: linear-gradient(135deg, #0060FF, #6366F1);
  --font-display: 'Aeonik Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Aeonik Mono', 'SF Mono', monospace;
  --sp-1: 8px; --sp-2: 16px; --sp-3: 24px; --sp-4: 32px;
  --sp-5: 48px; --sp-6: 64px; --sp-7: 96px; --sp-8: 128px;
  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px;
  --radius-xl: 20px; --radius-pill: 99px;
  --max-w: 1280px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 40px rgba(0, 96, 255, 0.15);
  --transition: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --nav-height: 58px;
}

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01' on, 'cv01' on, 'cv11' on;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; margin: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
address { font-style: normal; }

/* ── Container ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-3);
}

/* ── Shared utilities ── */
.ct-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: var(--sp-2);
}

.ct-eyebrow--light {
  color: rgba(100, 160, 255, 0.85);
}

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Fade-up keyframe ── */
@keyframes ct-fade-up {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   S1 — HERO
   ============================================================ */

.ct-hero {
  position: relative;
  background: var(--dark-bg);
  padding-top: calc(var(--nav-height) + var(--sp-7));
  padding-bottom: var(--sp-7);
  overflow: hidden;
}

.ct-hero-ambient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 50% 100%, rgba(0, 96, 255, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 55%),
    radial-gradient(ellipse 30% 30% at 15% 60%, rgba(0, 212, 170, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.ct-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Status badge */
.ct-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: var(--radius-pill);
  background: rgba(0, 212, 170, 0.06);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(0, 212, 170, 0.85);
  margin-bottom: var(--sp-4);
  opacity: 0;
  animation: ct-fade-up 0.6s 0.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ct-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00D4AA;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(0, 212, 170, 0.8);
  animation: ct-dot-pulse 2.2s ease-in-out infinite;
}

@keyframes ct-dot-pulse {
  0%, 100% { box-shadow: 0 0 6px rgba(0, 212, 170, 0.7); transform: scale(1); }
  50%       { box-shadow: 0 0 14px rgba(0, 212, 170, 1); transform: scale(1.15); }
}

/* Headline */
.ct-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.5vw, 88px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.045em;
  color: var(--text-on-dark);
  margin-bottom: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ct-hl {
  display: block;
  opacity: 0;
  transform: translateY(28px);
  animation: ct-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.ct-hl--1 { animation-delay: 0.2s; }
.ct-hl--2 { animation-delay: 0.33s; }

.ct-hero-em {
  font-style: normal;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Sub */
.ct-hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
  color: var(--text-muted-on-dark);
  max-width: 480px;
  opacity: 0;
  animation: ct-fade-up 0.8s 0.48s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ============================================================
   S2 — CONTACT HUB
   ============================================================ */

.ct-hub {
  background: var(--surface-muted);
  padding: var(--sp-8) 0;
  border-top: 1px solid var(--border);
}

.ct-hub-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
  align-items: start;
}

/* ── Channel cards (left column) ── */
.ct-channels {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.ct-channel-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  display: flex;
  gap: var(--sp-3);
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth), transform var(--transition-smooth);
}

.ct-channel-card:hover {
  border-color: rgba(0, 96, 255, 0.18);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

/* Primary (support room) card */
.ct-channel-card--primary {
  border-color: rgba(0, 96, 255, 0.2);
  background: linear-gradient(135deg, rgba(0, 96, 255, 0.03) 0%, rgba(99, 102, 241, 0.02) 100%),
              var(--surface-card);
}
.ct-channel-card--primary:hover {
  border-color: rgba(0, 96, 255, 0.35);
  box-shadow: 0 8px 40px rgba(0, 96, 255, 0.10);
}

/* Channel icon */
.ct-channel-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(0, 96, 255, 0.1);
  border: 1px solid rgba(0, 96, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-top: 2px;
}

.ct-channel-icon--amber {
  background: rgba(200, 121, 65, 0.1);
  border-color: rgba(200, 121, 65, 0.15);
  color: #C87941;
}

.ct-channel-icon--muted {
  background: var(--surface-muted);
  border-color: var(--border);
  color: var(--text-secondary);
}

.ct-channel-body {
  flex: 1;
  min-width: 0;
}

.ct-channel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.ct-channel-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.ct-channel-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(0, 96, 255, 0.1);
  color: var(--primary);
  border: 1px solid rgba(0, 96, 255, 0.2);
}

.ct-channel-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: var(--sp-3);
}

.ct-channel-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--sp-3);
}

.ct-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

.ct-meta-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

.ct-channel-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

/* Buttons */
.ct-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  box-shadow: 0 0 20px rgba(0, 96, 255, 0.2);
  white-space: nowrap;
}
.ct-btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 0 32px rgba(0, 96, 255, 0.3);
  transform: translateY(-1px);
}

.ct-btn-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  transition: opacity var(--transition);
}
.ct-btn-text:hover { opacity: 0.75; }

/* Email link */
.ct-email-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #C87941;
  font-family: var(--font-mono);
  margin-bottom: var(--sp-2);
  transition: opacity var(--transition);
}
.ct-email-link:hover { opacity: 0.75; }

.ct-channel-note {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: var(--radius-sm);
  border-left: 2px solid rgba(0, 0, 0, 0.08);
}

/* Address */
.ct-address {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: var(--sp-3);
}

/* Social row */
.ct-social-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ct-social-label {
  font-size: 12px;
  color: var(--text-secondary);
}

.ct-social-links {
  display: flex;
  gap: 8px;
}

.ct-social-link {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--surface-muted);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.ct-social-link:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* ── Contact form (right column) ── */
.ct-form-wrap {
  position: sticky;
  top: calc(var(--nav-height) + var(--sp-4));
}

.ct-form-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-5);
  box-shadow: var(--shadow-card);
}

.ct-form-header {
  margin-bottom: var(--sp-5);
}

.ct-form-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.ct-form-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Form fields */
.ct-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.ct-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
}

.ct-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ct-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

.ct-input,
.ct-select,
.ct-textarea {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--text-primary);
  background: var(--surface-muted);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  outline: none;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

.ct-input::placeholder,
.ct-textarea::placeholder {
  color: rgba(107, 114, 128, 0.6);
}

.ct-input:focus,
.ct-select:focus,
.ct-textarea:focus {
  border-color: var(--primary);
  background: var(--surface-card);
  box-shadow: 0 0 0 3px rgba(0, 96, 255, 0.08);
}

.ct-input.error,
.ct-select.error,
.ct-textarea.error {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
}

/* Select wrapper */
.ct-select-wrap {
  position: relative;
}

.ct-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 36px;
}

.ct-select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-secondary);
}

.ct-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* Form footer */
.ct-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.ct-form-note {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.ct-form-note a {
  color: var(--primary);
  font-weight: 500;
}
.ct-form-note a:hover { text-decoration: underline; }

.ct-btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  box-shadow: var(--shadow-glow);
  white-space: nowrap;
  flex-shrink: 0;
}
.ct-btn-submit:hover {
  background: var(--primary-hover);
  box-shadow: 0 0 48px rgba(0, 96, 255, 0.25);
  transform: translateY(-1px);
}
.ct-btn-submit:active {
  transform: translateY(0);
}
.ct-btn-submit.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Success state */
.ct-form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--sp-5) var(--sp-3);
  gap: var(--sp-2);
}

.ct-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 212, 170, 0.1);
  border: 1px solid rgba(0, 212, 170, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00D4AA;
  margin-bottom: var(--sp-2);
}

.ct-success-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.ct-success-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 280px;
}

/* ============================================================
   S3 — FAQ
   ============================================================ */

.ct-faq {
  background: var(--dark-bg);
  padding: var(--sp-8) 0;
}

.ct-faq-header {
  text-align: center;
  margin-bottom: var(--sp-7);
}

.ct-faq-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-on-dark);
  margin-bottom: var(--sp-2);
}

.ct-faq-sub {
  font-size: 16px;
  color: var(--text-muted-on-dark);
}

/* ── FAQ — shared system (matches .faq-* across all pages) ── */
.ct-faq-list {
  max-width: 720px;
  margin: 0 auto;
}

/* Shared .faq-* overrides scoped to dark FAQ section */
.ct-faq .faq-list  { border-top-color: var(--border-dark); }
.ct-faq .faq-item  { border-bottom-color: var(--border-dark); }
.ct-faq .faq-question { color: var(--text-on-dark); }
.ct-faq .faq-answer p { color: var(--text-muted-on-dark); }
.ct-faq .faq-answer a { color: var(--primary); font-weight: 500; }
.ct-faq .faq-answer a:hover { text-decoration: underline; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .ct-hub-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }

  .ct-form-wrap {
    position: static;
  }

  .ct-faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .ct-hero {
    padding-top: calc(var(--nav-height) + var(--sp-5));
    padding-bottom: var(--sp-6);
  }

  .ct-form-row {
    grid-template-columns: 1fr;
  }

  .ct-form-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .ct-btn-submit {
    justify-content: center;
  }

  .ct-channel-card {
    flex-direction: column;
    gap: var(--sp-2);
  }

  .ct-channel-icon {
    margin-top: 0;
  }
}

@media (max-width: 480px) {
  .ct-form-card {
    padding: var(--sp-4);
  }

  .ct-faq-q {
    padding: var(--sp-3);
  }
  .ct-faq-a {
    padding: 0 var(--sp-3) var(--sp-3);
  }
}
