/* aftertaste HK — 聯絡我們樣式。全部限定喺 .at-ct 入面。 */
.at-ct{
  --plum:#57233D; --plum-700:#461B31; --apricot:#D9884A; --apricot-soft:#FBEBDD;
  --bg:#F9F4EF; --surface:#FFFFFF; --surface-2:#FBF7F3; --line:#E7DDD3; --line-soft:#F1E9E1;
  --body:#2B2422; --muted:#6E605A; --faint:#A0928A; --err:#B3261E; --ok:#1E7A4B;
  --font:'Noto Sans HK',-apple-system,'PingFang HK','Microsoft JhengHei',sans-serif;
  max-width:1120px; margin:0 auto; padding:26px 20px 80px;
  color:var(--body); font-family:var(--font); font-size:15.5px; line-height:1.75; -webkit-font-smoothing:antialiased;
}
.at-ct *,.at-ct *::before,.at-ct *::after{ box-sizing:border-box; }
.at-ct h1,.at-ct h2,.at-ct p,.at-ct ul{ margin:0; font-family:inherit; letter-spacing:normal; }
.at-ct a{ color:var(--plum); }
.at-ct [hidden]{ display:none!important; }
.at-ct :focus-visible{ outline:2px solid var(--apricot); outline-offset:2px; }

/* ── 標題 ── */
.ct-head{ max-width:640px; margin-bottom:30px; }
.ct-eyebrow{ display:inline-block; font-size:12px; font-weight:600; letter-spacing:.16em; color:var(--apricot); margin-bottom:10px; }
.ct-head h1{ font-size:clamp(28px,4vw,38px); font-weight:600; color:var(--plum); line-height:1.25; }
.ct-head p{ margin-top:12px!important; font-size:16px; color:var(--muted); }

.ct-grid{ display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:26px; align-items:start; }

/* ── 表格 ── */
.ct-form-wrap{ background:var(--surface); border:1px solid var(--line); border-radius:22px; padding:28px; }
.ct-h2{ font-size:13px; font-weight:600; letter-spacing:.1em; color:var(--faint); margin-bottom:12px!important; }

.ct-types{ display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:10px; margin-bottom:26px; }
.ct-type{ display:flex; flex-direction:column; gap:3px; text-align:left; cursor:pointer;
  background:var(--surface-2); border:1.5px solid var(--line); border-radius:14px; padding:13px 15px;
  font-family:inherit; color:var(--body); transition:border-color .15s ease, background .15s ease; }
.ct-type:hover{ border-color:#D5C6B9; }
.ct-type b{ font-size:15px; font-weight:600; }
.ct-type span{ font-size:12.5px; line-height:1.5; color:var(--muted); }
.ct-type.on{ border-color:var(--plum); background:#fff; box-shadow:0 0 0 3px rgba(87,35,61,.08); }
.ct-type.on b{ color:var(--plum); }

.ct-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.ct-field{ display:flex; flex-direction:column; gap:6px; margin-bottom:16px; position:relative; }
.ct-field label{ font-size:13.5px; font-weight:600; color:var(--body); }
.ct-field label i{ font-style:normal; color:var(--err); }
.ct-input{ width:100%; font-family:inherit; font-size:15.5px; color:var(--body); background:var(--surface-2);
  border:1.5px solid var(--line); border-radius:12px; padding:12px 14px; transition:border-color .15s ease, background .15s ease; }
.ct-input::placeholder{ color:#BDB0A8; }
.ct-input:focus{ outline:none; border-color:var(--plum); background:#fff; }
.ct-area{ resize:vertical; min-height:130px; line-height:1.75; }
.ct-count{ position:absolute; right:2px; bottom:-18px; font-size:12px; color:var(--faint); }

.ct-msg{ border-radius:12px; padding:12px 14px; font-size:14px; margin-bottom:14px; }
.ct-msg.err{ background:#FBEAE8; color:var(--err); border:1px solid #F0CFCB; }

.ct-btn{ display:inline-flex; align-items:center; justify-content:center; gap:6px;
  height:50px; padding:0 22px; border-radius:13px; border:1.5px solid var(--line); background:#fff;
  font-family:inherit; font-size:15.5px; font-weight:600; color:var(--body); text-decoration:none; cursor:pointer;
  transition:background .15s ease, border-color .15s ease; }
.ct-btn:hover{ border-color:#D5C6B9; }
.ct-btn.primary{ width:100%; background:var(--plum); border-color:var(--plum); color:#fff; margin-top:8px; }
.ct-btn.primary:hover{ background:var(--plum-700); }
.ct-btn.primary:disabled{ opacity:.6; cursor:default; }
.ct-btn.ghost{ width:100%; height:44px; font-size:14.5px; background:var(--surface-2); }
.ct-privacy{ margin-top:14px!important; font-size:12.5px; line-height:1.7; color:var(--faint); }

/* ── 側欄 ── */
.ct-side{ display:flex; flex-direction:column; gap:14px; position:sticky; top:calc(var(--at-nav-h,76px) + 20px); }
.ct-card{ background:var(--surface); border:1px solid var(--line); border-radius:18px; padding:20px; }
.ct-card b{ display:block; font-size:15.5px; font-weight:600; color:var(--plum); }
.ct-card b.ct-sub{ margin-top:16px; font-size:13px; letter-spacing:.06em; color:var(--faint); }
.ct-card p{ margin-top:6px!important; font-size:14px; line-height:1.7; color:var(--muted); }
.ct-quick{ list-style:none; padding:0; margin:14px 0 16px!important; display:flex; flex-direction:column; gap:1px; }
.ct-quick li{ border-bottom:1px solid var(--line-soft); }
.ct-quick li:last-child{ border-bottom:0; }
.ct-quick a{ display:block; padding:9px 0; font-size:14px; color:var(--body); text-decoration:none; }
.ct-quick a::before{ content:'→'; color:var(--apricot); margin-right:8px; }
.ct-quick a:hover{ color:var(--plum); }

/* ── 完成 ── */
.ct-done{ max-width:560px; margin:40px auto; text-align:center;
  background:var(--surface); border:1px solid var(--line); border-radius:22px; padding:44px 30px; }
.ct-done-ic{ width:60px; height:60px; margin:0 auto 18px; border-radius:50%;
  display:grid; place-items:center; background:#E4F3EA; color:var(--ok); }
.ct-done-ic svg{ width:28px; height:28px; }
.ct-done h1{ font-size:26px; font-weight:600; color:var(--plum); }
.ct-done p{ margin-top:12px!important; color:var(--muted); }
.ct-done p b{ color:var(--body); font-weight:600; }
.ct-done-note{ font-size:13.5px; }
.ct-done-btns{ display:flex; gap:10px; margin-top:26px; }
.ct-done-btns .ct-btn{ flex:1; }

@media (max-width:900px){
  .ct-grid{ grid-template-columns:1fr; }
  .ct-side{ position:static; }
  .ct-form-wrap{ padding:22px 18px; border-radius:18px; }
  .ct-row{ grid-template-columns:1fr; gap:0; }
  .ct-done-btns{ flex-direction:column; }
}

/* ── Embed 內嘅靜態頁首（真 HTML，畀搜尋引擎同無 JS 情況用）────────────
   放喺 .at-ct 外面，所以要自己帶字體同顏色。樣式同 .ct-head 一致。 */
.at-ct-host{ box-sizing:border-box; }
.ct-seo{
  --plum:#57233D; --muted:#6E605A; --apricot:#D9884A;
  --font:'Noto Sans HK',-apple-system,'PingFang HK','Microsoft JhengHei',sans-serif;
  display:block; max-width:1120px; margin:0 auto; padding:0 20px;
  font-family:var(--font); -webkit-font-smoothing:antialiased;
}
.ct-seo[hidden]{ display:none!important; }
.ct-seo > *{ margin:0; font-family:inherit; letter-spacing:normal; }
.ct-seo .ct-eyebrow{ display:inline-block; font-size:12px; font-weight:600; letter-spacing:.16em; color:var(--apricot); margin-bottom:10px; }
.ct-seo h1{ font-size:clamp(28px,4vw,38px); font-weight:600; color:var(--plum); line-height:1.25; text-wrap:balance; }
.ct-seo p{ max-width:640px; margin-top:12px!important; font-size:16px; line-height:1.75; color:var(--muted); }
.ct-seo p a{ color:var(--plum); }
/* 導航列讓位由 #atCtMount 負責，所以裏面嘅 .at-ct 唔再重複留頂部空位 */
.at-ct-host > .at-ct{ padding-top:0; }
.ct-seo ~ .at-ct{ padding-top:26px; }
@media (max-width:900px){ .ct-seo{ padding:0 18px; } }
