/* contact.css — Get in Touch page for withRemote.ai (v2)
   Updated: SVG icons (no emojis), Tally iframe form, new offices, refined responsive grid */

/* ════════ SHARED ATOMS ════════ */
.ct-grad {
  background: linear-gradient(90deg, var(--pink), var(--purple) 50%, var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ct-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(123, 63, 228, .12);
  border: 1px solid rgba(123, 63, 228, .4);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--teal);
  margin-bottom: 16px;
}

.ct-tag-ico {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke: currentColor;
}

.ct-section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.ct-section-head h2 {
  font-family: var(--fh);
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 800;
  color: var(--white);
  margin: 0;
  letter-spacing: -1px;
  line-height: 1.15;
}

/* ════════ HERO ════════ */
.ct-hero {
  position: relative;
  padding: 120px 24px 70px;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse at top, #1a0a2e, var(--bg) 60%);
}

.ct-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(123, 63, 228, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 63, 228, .08) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

.ct-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .32;
  pointer-events: none;
}

.ct-glow-a { background: var(--purple); top: -100px; left: -100px; }
.ct-glow-b { background: var(--pink); bottom: -150px; right: -100px; }

.ct-hero-inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  z-index: 2;
}

.ct-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(0, 229, 195, .08);
  border: 1px solid rgba(0, 229, 195, .3);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--teal);
  margin-bottom: 24px;
}

.ct-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px var(--teal);
  animation: ctPulse 1.6s infinite;
}

@keyframes ctPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

.ct-hero h1 {
  font-family: var(--fh);
  font-size: clamp(34px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 22px;
  letter-spacing: -1px;
  color: var(--white);
}

.ct-lede {
  font-size: 17px;
  color: var(--gray2);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.ct-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 680px;
  margin: 0 auto;
}

.ct-trust > div {
  padding: 18px 14px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.ct-trust strong {
  display: block;
  font-family: var(--fh);
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ct-trust span {
  font-size: 11px;
  color: var(--gray3);
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ════════ BIG WORDMARK ════════ */
.ct-wordmark {
  padding: 30px 24px;
  text-align: center;
  overflow: hidden;
}

.ct-wordmark-text {
  font-family: var(--fh);
  font-weight: 800;
  font-size: clamp(32px, 7vw, 84px);
  letter-spacing: .05em;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06) 0%, transparent 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

/* ════════ FORM SECTION ════════ */
.ct-form-section { padding: 40px 24px 80px; }

.ct-form-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}

/* ── Form card ── */
.ct-form-card {
  padding: 40px;
  background: linear-gradient(160deg, #10101e, #0c0c1a);
  border: 1px solid var(--border2);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(123, 63, 228, .12);
}

.ct-form-head { margin-bottom: 28px; }

.ct-form-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(255, 45, 107, .1);
  border: 1px solid rgba(255, 45, 107, .3);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--pink);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.ct-form-head h2 {
  font-family: var(--fh);
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 800;
  color: var(--white);
  margin: 0 0 10px;
  letter-spacing: -.5px;
  line-height: 1.15;
}

.ct-form-head p {
  color: var(--gray2);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

/* ── Tally iframe wrapper ── */
.ct-tally-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, .015);
  border: 1px solid var(--border);
  min-height: 600px;
}

.ct-tally-wrap iframe {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  min-height: 600px;
}

.ct-form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gray3);
  text-align: center;
  margin: 18px 0 0;
}

.ct-form-note svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--teal);
}

/* ════════ SIDE PANEL ════════ */
.ct-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 90px;
}

.ct-side-card {
  padding: 28px;
  background: linear-gradient(160deg, #10101e, #0c0c1a);
  border: 1px solid var(--border2);
  border-radius: 20px;
}

.ct-side-card-bubble {
  background: linear-gradient(160deg, rgba(255, 45, 107, .08), rgba(123, 63, 228, .08));
  border-color: rgba(255, 45, 107, .3);
}

.ct-side-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  background: rgba(123, 63, 228, .12);
  border: 1px solid rgba(123, 63, 228, .3);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--purple);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.ct-tag-teal {
  background: rgba(0, 229, 195, .12);
  border-color: rgba(0, 229, 195, .35);
  color: var(--teal);
}

.ct-side-card h3 {
  font-family: var(--fh);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 8px;
  line-height: 1.3;
}

.ct-side-card > p {
  font-size: 13px;
  color: var(--gray2);
  line-height: 1.55;
  margin: 0 0 18px;
}

/* ── Contact channels ── */
.ct-channels {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ct-channel {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .025);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  transition: background .25s, border-color .25s, transform .25s;
}

.ct-channel:hover {
  background: rgba(123, 63, 228, .08);
  border-color: rgba(123, 63, 228, .4);
  transform: translateX(3px);
}

.ct-ch-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 45, 107, .25);
}

.ct-ch-icon svg {
  width: 18px;
  height: 18px;
}

.ct-ch-text {
  min-width: 0;
  flex: 1;
}

.ct-ch-text strong {
  display: block;
  color: var(--white);
  font-family: var(--fb);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  word-break: break-word;
}

.ct-ch-text span {
  display: block;
  color: var(--gray3);
  font-size: 11px;
  margin-top: 3px;
}

/* ── Book CTA ── */
.ct-book-cta {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  border: none;
  border-radius: 10px;
  color: #fff;
  font-family: var(--fb);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(255, 45, 107, .3);
  transition: transform .2s, box-shadow .2s;
}

.ct-book-cta svg {
  width: 16px;
  height: 16px;
}

.ct-book-cta .ct-cta-arrow {
  transition: transform .25s;
}

.ct-book-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(255, 45, 107, .4);
}

.ct-book-cta:hover .ct-cta-arrow {
  transform: translateX(3px);
}

.ct-meta {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0 0;
  font-size: 12px;
  color: var(--gray2);
}

.ct-meta li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ct-meta svg {
  width: 14px;
  height: 14px;
  color: var(--teal);
  flex-shrink: 0;
}

/* ── Locations ── */
.ct-locations {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ct-locations li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, .02);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color .25s, background .25s, transform .25s;
}

.ct-locations li:hover {
  background: rgba(123, 63, 228, .06);
  border-color: rgba(123, 63, 228, .35);
  transform: translateY(-2px);
}

.ct-loc-flag {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .4));
}

.ct-loc-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ct-loc-info strong {
  font-family: var(--fh);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -.1px;
}

.ct-loc-info span {
  font-size: 10.5px;
  color: var(--gray3);
  margin-top: 2px;
  line-height: 1.3;
}

/* ════════ FAQ ════════ */
.ct-faq {
  padding: 80px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.ct-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ct-faq-item {
  padding: 20px 24px;
  background: linear-gradient(160deg, #10101e, #0c0c1a);
  border: 1px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color .3s;
}

.ct-faq-item:hover { border-color: rgba(123, 63, 228, .35); }

.ct-faq-item summary {
  font-family: var(--fh);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 12px;
}

.ct-faq-item summary::-webkit-details-marker { display: none; }

.ct-faq-item summary::after {
  content: '+';
  color: var(--teal);
  font-size: 22px;
  font-weight: 300;
  transition: transform .3s;
  font-family: var(--fb);
  flex-shrink: 0;
}

.ct-faq-item[open] summary::after { transform: rotate(45deg); }

.ct-faq-item p {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--gray2);
  line-height: 1.6;
}

/* ════════ FINAL CTA ════════ */
.ct-final {
  padding: 90px 24px;
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(123, 63, 228, .12), transparent 70%);
}

.ct-final-inner { max-width: 740px; margin: 0 auto; }

.ct-final h2 {
  font-family: var(--fh);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 800;
  color: var(--white);
  margin: 0 0 16px;
  line-height: 1.2;
  letter-spacing: -.5px;
}

.ct-final p {
  font-size: 16px;
  color: var(--gray2);
  line-height: 1.6;
  margin: 0 0 30px;
}

.ct-final-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.ct-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  border: none;
  border-radius: 12px;
  color: #fff;
  font-family: var(--fb);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(255, 45, 107, .35);
  transition: transform .2s, box-shadow .2s;
}

.ct-btn-primary svg {
  width: 16px;
  height: 16px;
}

.ct-btn-primary .ct-cta-arrow { transition: transform .25s; }

.ct-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(255, 45, 107, .45);
}

.ct-btn-primary:hover .ct-cta-arrow { transform: translateX(3px); }

.ct-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  background: transparent;
  border: 1px solid var(--border2);
  border-radius: 12px;
  color: var(--gray1);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: border-color .2s, color .2s, background .2s;
}

.ct-btn-ghost svg {
  width: 16px;
  height: 16px;
  transition: transform .25s;
}

.ct-btn-ghost:hover {
  border-color: var(--teal);
  color: var(--white);
  background: rgba(0, 229, 195, .04);
}

.ct-btn-ghost:hover svg { transform: translate(2px, -2px); }

/* ════════ RESPONSIVE ════════ */
@media (max-width: 1000px) {
  .ct-form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .ct-side {
    position: static;
  }
}

@media (max-width: 700px) {
  .ct-hero { padding: 90px 18px 50px; }
  .ct-trust {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .ct-trust > div { padding: 14px 12px; }
  .ct-trust strong { font-size: 24px; }

  .ct-form-section { padding: 30px 16px 60px; }
  .ct-form-card { padding: 26px 20px; border-radius: 18px; }
  .ct-form-head h2 { font-size: 24px; }

  .ct-side-card { padding: 22px 20px; border-radius: 16px; }

  .ct-faq { padding: 60px 16px; }
  .ct-faq-grid { grid-template-columns: 1fr; }
  .ct-faq-item { padding: 18px 20px; }

  .ct-final { padding: 70px 18px; }
  .ct-final-btns { flex-direction: column; align-items: stretch; }
  .ct-btn-primary, .ct-btn-ghost { width: 100%; }
}

@media (max-width: 420px) {
  .ct-locations { grid-template-columns: 1fr; }
  .ct-tally-wrap, .ct-tally-wrap iframe { min-height: 720px; }
}