/* ==========================================================================
   GoodCap Capital — Contact page (Phase 6)
   ========================================================================== */

/* ---------- Hero ---------- */
.ct-hero { padding-bottom: clamp(96px, 11vw, 140px); }
.ct-hero h1 { max-width: 12ch; }
.js .ct-in { opacity: 0; transform: translateY(18px); animation: ct-in .7s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes ct-in { to { opacity: 1; transform: none; } }

.ct-hero__jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.ct-hero__jump a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: 999px; background: #fff; border: 1px solid var(--gc-line-blue);
  font-size: 0.9375rem; font-weight: 700; color: var(--gc-navy);
  transition: border-color .2s, color .2s, transform .2s var(--ease);
}
.ct-hero__jump a:hover { border-color: var(--gc-blue); color: var(--gc-blue); transform: translateY(-2px); }
.ct-hero__jump .icon { width: 18px; height: 18px; color: var(--gc-blue); }

/* Abstract art: three leaf tiles holding the three contact icons */
.ct-art { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1 / 0.82; margin-inline: auto; }
.ct-art__tile { position: absolute; display: grid; place-items: center; color: #fff; box-shadow: var(--sh-lg); }
.ct-art__tile .icon { width: 34%; height: 34%; stroke-width: 1.8; }
.ct-art__tile--1 { left: 0; top: 6%; width: 46%; aspect-ratio: 1; border-radius: 56px 12px 56px 12px; background: linear-gradient(150deg, #041c4a, #063281); animation: ct-tile .9s var(--ease) .2s both; }
.ct-art__tile--2 { right: 4%; top: 0; width: 38%; aspect-ratio: 1; border-radius: 12px 48px 12px 48px; background: linear-gradient(150deg, #04469f, #0280e7); animation: ct-tile .9s var(--ease) .35s both; }
.ct-art__tile--3 { left: 34%; bottom: 0; width: 40%; aspect-ratio: 1; border-radius: 48px 12px 48px 12px; background: linear-gradient(150deg, #0280e7, #17a3f3); animation: ct-tile .9s var(--ease) .5s both; }
@keyframes ct-tile { from { opacity: 0; transform: translateY(24px) scale(.92); } to { opacity: 1; transform: none; } }
.ct-art__bubble {
  position: absolute; right: 0; bottom: 18%; z-index: 2; display: flex; gap: 6px; align-items: center;
  padding: 14px 18px; border-radius: 20px 20px 6px 20px; background: #fff; border: var(--border-soft); box-shadow: var(--sh-lg);
}
.ct-art__bubble span { width: 9px; height: 9px; border-radius: 50%; background: var(--gc-blue); animation: ct-dot 1.4s ease-in-out infinite; }
.ct-art__bubble span:nth-child(2) { animation-delay: .2s; }
.ct-art__bubble span:nth-child(3) { animation-delay: .4s; }
@keyframes ct-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-5px); opacity: 1; } }
@media (max-width: 1023px) { .ct-art { max-width: 320px; } }
@media (max-width: 599px) { .ct-art { display: none; } .ct-hero { padding-bottom: 96px; } }

/* ---------- Contact cards (overlap hero) ---------- */
.ct-cards { position: relative; z-index: 3; margin-top: -72px; }
.ct-cards__grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .ct-cards__grid { grid-template-columns: 1.15fr 1fr 1fr; gap: 20px; } }
.ct-card {
  display: flex; flex-direction: column; gap: 10px; padding: 26px;
  background: #fff; border-radius: var(--r-lg); border: var(--border-soft); box-shadow: var(--sh-md);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.ct-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.ct-card__icon { width: 50px; height: 50px; border-radius: 16px 5px 16px 5px; display: grid; place-items: center; background: var(--gc-tint); color: var(--gc-blue); margin-bottom: 6px; }
.ct-card__title { font-size: 1rem; font-weight: 700; color: var(--gc-muted); letter-spacing: 0; }
.ct-card__value { color: var(--gc-ink); font-weight: 700; line-height: 1.5; flex: 1; overflow-wrap: anywhere; }
.ct-card__value--big { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 800; letter-spacing: -0.02em; }
.ct-card__value a:hover { color: var(--gc-blue); }
.ct-card__actions { display: flex; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.ct-card--accent { background: linear-gradient(155deg, #063281 0%, #04469f 55%, #0280e7 100%); border-color: transparent; color: #fff; border-radius: var(--r-leaf); }
.ct-card--accent .ct-card__icon { background: rgba(255, 255, 255, 0.14); color: #fff; }
.ct-card--accent .ct-card__title { color: rgba(255, 255, 255, 0.75); }
.ct-card--accent .ct-card__value, .ct-card--accent .ct-card__value a { color: #fff; }
.ct-card--accent .copy-btn { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.25); color: #fff; }
.ct-card--accent .copy-btn:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }
.ct-card--accent .copy-btn.is-copied { background: rgba(255, 255, 255, 0.95); color: var(--gc-success); }

/* ---------- Form + side ---------- */
.ct-main__grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1024px) { .ct-main__grid { grid-template-columns: 1.35fr 1fr; gap: 32px; } }
.ct-form-card { padding: clamp(24px, 4vw, 44px); background: #fff; border-radius: 40px 10px 40px 10px; border: var(--border-soft); box-shadow: var(--sh-md); scroll-margin-top: calc(var(--header-h) + 20px); }
.ct-form-card__head { margin-bottom: 26px; }
.ct-form-card__head h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.ct-form-card__head p { color: var(--gc-muted); margin-top: 8px; }
.ct-form-card .req { color: var(--gc-error); }
.ct-form .alert { margin-bottom: 20px; }
.ct-form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--gc-line); }
.ct-form__foot .form-note { max-width: 36ch; }
@media (max-width: 559px) { .ct-form__foot .btn { width: 100%; } }

.ct-side { display: grid; gap: 20px; }
@media (min-width: 1024px) { .ct-side { position: sticky; top: calc(var(--header-h) + 24px); } }
.ct-map { position: relative; overflow: hidden; border-radius: 10px 40px 10px 40px; border: var(--border-soft); box-shadow: var(--sh-md); background: var(--gc-tint); scroll-margin-top: calc(var(--header-h) + 20px); }
.ct-map iframe { display: block; width: 100%; height: 360px; border: 0; background:
  radial-gradient(circle at 50% 45%, rgba(2, 128, 231, 0.18) 0 18px, transparent 19px),
  repeating-linear-gradient(0deg, transparent 0 38px, rgba(6, 50, 129, 0.05) 38px 40px),
  repeating-linear-gradient(90deg, transparent 0 38px, rgba(6, 50, 129, 0.05) 38px 40px),
  var(--gc-tint); }
@media (max-width: 599px) { .ct-map iframe { height: 280px; } }
.ct-map__bar { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border-top: 1px solid var(--gc-line); }
.ct-map__bar > span:nth-child(2) { flex: 1; min-width: 0; }
.ct-map__bar b { display: block; color: var(--gc-ink); line-height: 1.3; }
.ct-map__bar small { display: block; color: var(--gc-muted); font-size: 0.8125rem; }
.ct-map__pin { width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; background: var(--gc-tint); color: var(--gc-blue); }
@media (max-width: 419px) { .ct-map__bar { flex-wrap: wrap; } .ct-map__bar .btn { width: 100%; } }

/* Company details — readable but secondary */
.ct-company { padding: 20px 22px; border-radius: 20px; background: var(--gc-mist); border: 1px solid var(--gc-line); }
.ct-company__name { font-size: 0.875rem; font-weight: 700; color: var(--gc-muted); margin-bottom: 10px; }
.ct-company__list { margin: 0; display: grid; gap: 6px; }
.ct-company__list > div { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 10px; }
.ct-company__list dt { font-size: 0.8125rem; font-weight: 700; color: var(--gc-muted); }
.ct-company__list dd { margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 700; color: var(--gc-ink); font-size: 0.9375rem; letter-spacing: 0.02em; overflow-wrap: anywhere; }
.copy-btn--quiet { min-width: 40px; min-height: 40px; padding: 0; border-color: transparent; background: transparent; }
.copy-btn--quiet:hover { background: #fff; }

/* ---------- Grievance (neutral, not promotional) ---------- */
.ct-grievance__panel {
  display: grid; gap: 22px; align-items: center;
  padding: clamp(24px, 4vw, 40px); border-radius: 24px;
  background: #fff; border: 1.5px solid var(--gc-line); box-shadow: var(--sh-sm);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
@media (min-width: 900px) { .ct-grievance__panel { grid-template-columns: auto 1fr auto; gap: 28px; } }
.ct-grievance__icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--gc-mist); color: var(--gc-navy); border: 1px solid var(--gc-line); }
.ct-grievance__icon .icon { width: 28px; height: 28px; }
.ct-grievance h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.ct-grievance__copy p { color: var(--gc-muted); margin-top: 6px; max-width: 62ch; }
.ct-grievance__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 559px) { .ct-grievance__actions .btn { width: 100%; } }

@media (prefers-reduced-motion: reduce) {
  .js .ct-in { opacity: 1; transform: none; animation: none; }
  .ct-art__tile, .ct-art__bubble span { animation: none !important; }
}
@media (max-width: 479px) {
  .ct-company__list > div { grid-template-columns: 36px 1fr; gap: 6px; }
  .ct-company__list dd { font-size: 0.875rem; letter-spacing: 0; overflow-wrap: normal; }
}
