/* ============================================================
   CONTACT PAGE  —  premium dark, multi-section (ref: cosmoq)
   Loaded after cmos.css; .cx scopes everything.
   ============================================================ */
.cx { --cx-card: rgba(255,255,255,.045); --cx-line: rgba(255,255,255,.11); --cx-text: #edebf8; --cx-muted: #a6a3c8; background: var(--indigo-deep); color: var(--cx-text); }
.cx .container { position: relative; z-index: 1; }
.cx em { font-style: italic; color: var(--mint, #7fe0ab); }
.cx-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--mint, #7fe0ab); }
.cx-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--mint, #7fe0ab); }

/* ---- hero ---- */
.cx-hero { position: relative; overflow: hidden; padding: clamp(120px,16vw,180px) 0 clamp(60px,8vw,90px); background: radial-gradient(120% 120% at 78% -10%, #1c1950 0%, #0f0d33 55%, var(--indigo-deep) 100%); }
.cx-hero .breadcrumbs { color: rgba(255,255,255,.5); margin-bottom: 22px; font-size: 13.5px; }
.cx-hero .breadcrumbs a { color: rgba(255,255,255,.65); }
.cx-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(38px,6vw,76px); line-height: 1.05; margin: 18px 0 18px; max-width: 16ch; }
.cx-lead { color: rgba(255,255,255,.72); font-size: clamp(15px,1.5vw,19px); line-height: 1.65; max-width: 60ch; }
.cx-grid { position: absolute; inset: 0; z-index: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(127,224,171,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(127,224,171,.06) 1px, transparent 1px);
  background-size: 46px 46px; -webkit-mask: radial-gradient(circle at 70% 0%, #000, transparent 70%); mask: radial-gradient(circle at 70% 0%, #000, transparent 70%); }
.cx-orb { position: absolute; border-radius: 50%; filter: blur(70px); z-index: 0; pointer-events: none; }
.cx-orb.a { width: 360px; height: 360px; background: radial-gradient(circle, rgba(27,157,217,.4), transparent 70%); right: 4%; top: -6%; }
.cx-orb.b { width: 300px; height: 300px; background: radial-gradient(circle, rgba(106,92,255,.35), transparent 70%); left: -4%; bottom: -10%; }
.cx-quick { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.cx-chip { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 99px; border: 1px solid var(--cx-line); background: rgba(255,255,255,.04); color: var(--cx-text); font-weight: 600; font-size: 14px; transition: all .25s var(--ease); }
.cx-chip svg { color: var(--mint, #7fe0ab); }
.cx-chip:hover { border-color: rgba(127,224,171,.5); transform: translateY(-2px); }
.cx-chip.wa { background: linear-gradient(135deg, var(--green), var(--blue)); border-color: transparent; color: #fff; }
.cx-chip.wa svg { color: #fff; }

/* ---- generic section + heads ---- */
.cx-sec { padding: clamp(56px,7vw,90px) 0; }
.cx-head { max-width: 760px; margin-bottom: 40px; }
.cx-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.cx-head h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px,3.6vw,46px); margin-top: 14px; color: var(--cx-text); }
.muted { color: var(--cx-muted); }

/* spotlight helper for cards */
.cx-cat, .cx-help, .cx-office-info, .cx-form, .cx-map, .acc-item { position: relative; }

/* ---- category cards ---- */
.cx-cats { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.cx-cat { background: var(--cx-card); border: 1px solid var(--cx-line); border-radius: 20px; padding: 34px 30px; backdrop-filter: blur(8px); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.cx-cat::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--green), var(--blue), var(--violet, #6a5cff)); background-size: 220% 100%; animation: cxShimmer 6s linear infinite; }
@keyframes cxShimmer { to { background-position: -220% 0; } }
.cx-cat:hover { transform: translateY(-6px); border-color: rgba(127,224,171,.42); box-shadow: 0 28px 60px rgba(0,0,0,.5); }
.cx-cat h3 { font-size: 21px; font-weight: 800; margin: 20px 0 10px; color: var(--cx-text); }
.cx-cat p { color: var(--cx-muted); font-size: 14.5px; line-height: 1.65; margin-bottom: 20px; }
.cx-ic { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--indigo), var(--blue)); flex: 0 0 auto; }
.cx-ic.sm { width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(135deg, var(--green), var(--blue)); }
.cx-cat:nth-child(2) .cx-ic { background: linear-gradient(135deg, var(--green), var(--blue)); }
.cx-cat:nth-child(3) .cx-ic { background: linear-gradient(135deg, var(--violet, #6a5cff), var(--blue)); }
.cx-cat-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14.5px; color: var(--mint, #7fe0ab); }
.cx-cat-link svg { transition: transform .3s var(--ease); }
.cx-cat-link:hover svg { transform: translateX(5px); }

/* ---- form + aside ---- */
.cx-main { display: grid; grid-template-columns: 1.5fr 1fr; gap: 26px; align-items: start; }
.cx-form { background: var(--cx-card); border: 1px solid var(--cx-line); border-radius: 24px; padding: clamp(28px,4vw,46px); backdrop-filter: blur(8px); }
.cx-form-head { margin-bottom: 26px; }
.cx-form-head h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(24px,2.6vw,34px); margin: 12px 0 8px; }
.cx-form-head p { color: var(--cx-muted); font-size: 14.5px; }
.cx-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
/* dark form fields (reusing .ffield markup) */
.cx-form .ffield { position: relative; margin-bottom: 16px; }
.cx-form .ffield input, .cx-form .ffield textarea, .cx-form .ffield select {
  width: 100%; background: rgba(255,255,255,.03); border: 1px solid var(--cx-line); border-radius: 12px;
  padding: 17px 16px 7px; color: #fff; font: inherit; font-size: 15px; transition: border-color .25s, background .25s;
}
.cx-form .ffield textarea { min-height: 130px; resize: vertical; padding-top: 22px; }
.cx-form .ffield select { padding-top: 18px; padding-bottom: 8px; appearance: none; -webkit-appearance: none; cursor: pointer; }
.cx-form .ffield select option { background: var(--indigo-deep); color: #fff; }
.cx-form .ffield input:focus, .cx-form .ffield textarea:focus, .cx-form .ffield select:focus { outline: none; border-color: rgba(127,224,171,.6); background: rgba(255,255,255,.05); }
.cx-form .ffield label { position: absolute; left: 16px; top: 14px; color: var(--cx-muted); font-size: 15px; pointer-events: none; transition: all .2s var(--ease); }
.cx-form .ffield input:focus + label, .cx-form .ffield input:not(:placeholder-shown) + label,
.cx-form .ffield textarea:focus + label, .cx-form .ffield textarea:not(:placeholder-shown) + label,
.cx-form .ffield.always-float label { top: 6px; font-size: 11px; color: var(--mint, #7fe0ab); letter-spacing: .04em; }
.cx-form .ffield .select-arrow { position: absolute; right: 16px; top: 18px; color: var(--cx-muted); pointer-events: none; }
.cx-form .btn-submit { margin-top: 6px; width: 100%; justify-content: center; }
.cx-note { margin-top: 14px; font-size: 12.5px; color: var(--cx-muted); text-align: center; }
.cx-form .form-success { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: rgba(0,161,75,.15); border: 1px solid rgba(0,161,75,.4); color: #b8f5d4; font-size: 14px; }
.cx-form .form-success.show { display: block; }

/* aside / help panel */
.cx-help { background: linear-gradient(160deg, rgba(51,46,135,.5), rgba(20,18,55,.5)); border: 1px solid var(--cx-line); border-radius: 24px; padding: clamp(28px,3.5vw,40px); backdrop-filter: blur(8px); }
.cx-help h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; color: #fff; }
.cx-help > p { color: var(--cx-muted); font-size: 14.5px; margin-bottom: 24px; }
.cx-channels { display: grid; gap: 20px; margin-bottom: 26px; }
.cx-channels li { display: flex; gap: 14px; align-items: flex-start; }
.cx-channels strong { display: block; font-size: 14px; color: #fff; margin-bottom: 3px; }
.cx-channels a, .cx-channels .muted { display: block; color: var(--cx-muted); font-size: 14px; text-decoration: none; transition: color .25s; line-height: 1.5; }
.cx-channels a:hover { color: var(--mint, #7fe0ab); }
.cx-wa { width: 100%; justify-content: center; }
.cx-socials { display: flex; gap: 12px; margin-top: 22px; }
.cx-socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: all .3s var(--ease); }
.cx-socials a:hover { background: var(--green); transform: translateY(-3px); }

/* ---- office + map ---- */
.cx-office { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; align-items: stretch; }
.cx-office-info { background: var(--cx-card); border: 1px solid var(--cx-line); border-radius: 22px; padding: clamp(28px,3.5vw,40px); backdrop-filter: blur(8px); }
.cx-office-info h3 { font-size: 22px; font-weight: 800; margin: 18px 0 12px; color: var(--cx-text); }
.cx-office-info p { color: var(--cx-muted); font-size: 15px; line-height: 1.65; margin-bottom: 10px; }
.cx-office-info .cx-cat-link { margin-top: 12px; }
.cx-map { border-radius: 22px; overflow: hidden; border: 1px solid var(--cx-line); min-height: 320px; }
.cx-map iframe { display: block; width: 100%; height: 100%; min-height: 320px; filter: grayscale(.3) invert(.92) hue-rotate(180deg) brightness(.95) contrast(.9); }

/* ---- FAQ (dark accordion) ---- */
.cx-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.cx-faq .acc-item { background: var(--cx-card); border: 1px solid var(--cx-line); border-radius: 16px; overflow: hidden; transition: border-color .3s; }
.cx-faq .acc-item.open { border-color: rgba(127,224,171,.4); }
.cx-faq .acc-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; background: none; border: 0; color: var(--cx-text); font-size: clamp(15px,1.6vw,17px); font-weight: 700; text-align: left; cursor: pointer; }
.cx-faq .acc-head svg { flex: 0 0 auto; color: var(--mint, #7fe0ab); transition: transform .35s var(--ease); }
.cx-faq .acc-item.open .acc-head svg { transform: rotate(180deg); }
.cx-faq .acc-body { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.cx-faq .acc-body p { padding: 0 24px 22px; color: var(--cx-muted); font-size: 14.5px; line-height: 1.7; }

/* ---- CTA ---- */
.cx-cta { text-align: center; padding: clamp(70px,9vw,120px) 0; background: radial-gradient(120% 120% at 50% 0%, #1c1950 0%, var(--indigo-deep) 60%); }
.cx-cta h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px,4.4vw,56px); margin: 14px 0 14px; color: #fff; }
.cx-cta p { color: var(--cx-muted); font-size: clamp(15px,1.5vw,18px); max-width: 56ch; margin: 0 auto 30px; }
.cx-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- responsive ---- */
@media (max-width: 900px) {
  .cx-cats { grid-template-columns: 1fr; }
  .cx-main { grid-template-columns: 1fr; }
  .cx-office { grid-template-columns: 1fr; }
  .cx-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .cx-cat::before { animation: none !important; } }
