/* =============================================================
   Contact
   The two offices with their local time, three ways to reach us,
   then the brief form on paper beside the addresses.
   ============================================================= */
.ct-page { --ct-g: #5dd2a6; }
.ct-h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.06; letter-spacing: -0.03em; text-wrap: balance; }
.ct-h2 em { font-style: normal; color: var(--copper-hi); }

/* ---------- Hero with office clocks ---------- */
.ct-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(40px, 5vw, 64px) 0 clamp(56px, 7vw, 96px);
  background: radial-gradient(60% 70% at 85% 30%, rgba(201,123,61,0.10), transparent 60%), var(--ink); border-bottom: 1px solid var(--line); }
.ct-hg { margin-top: clamp(30px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.ct-hc h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -0.035em; }
.ct-hc h1 em { font-style: normal; color: var(--copper-hi); }
.ct-sub { margin-top: 22px; max-width: 26em; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--text-mute); }
.ct-clocks { border: 1px solid rgba(255,255,255,0.12); border-radius: 18px; background: rgba(255,255,255,0.02); padding: clamp(20px, 2.4vw, 30px); }
.ct-ck { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 18px; }
.ct-cg { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ct-cg::before { content: ''; position: absolute; left: 25%; right: 25%; top: 64px; height: 1px; background: repeating-linear-gradient(90deg, rgba(201,123,61,0.6) 0 5px, transparent 5px 10px); }
.ct-c { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.ct-face { width: 128px; height: 128px; display: block; }
.ct-face .rim { fill: #0d141c; stroke: rgba(255,255,255,0.16); stroke-width: 1.5; }
.ct-face .tk { stroke: rgba(232,229,223,0.35); stroke-width: 1.5; stroke-linecap: round; }
.ct-face .tk.q { stroke: rgba(232,229,223,0.7); stroke-width: 2; }
.ct-face .hh { stroke: var(--text); stroke-width: 3.2; stroke-linecap: round; transform-origin: 64px 64px; transition: transform .6s var(--ease); }
.ct-face .mh { stroke: var(--copper-hi); stroke-width: 2.2; stroke-linecap: round; transform-origin: 64px 64px; transition: transform .6s var(--ease); }
.ct-face .cd { fill: var(--copper-hi); }
.ct-city { font-family: var(--font-display); font-weight: 500; font-size: 20px; line-height: 1.2; margin-top: 6px; }
.ct-time { font-family: var(--font-mono); font-size: 24px; font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; direction: ltr; }
.ct-day { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); }

/* ---------- Three ways ---------- */
.ct-ways { padding: clamp(64px, 8vw, 110px) 0; background: var(--ink); }
.ct-wg { margin-top: clamp(30px, 4vw, 48px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ct-w { display: flex; flex-direction: column; gap: 12px; border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; padding: clamp(22px, 2.4vw, 30px); background: rgba(255,255,255,0.02); transition: border-color .3s, transform .3s var(--ease); }
.ct-w:hover { border-color: rgba(201,123,61,0.5); transform: translateY(-2px); }
.ct-w svg { width: 40px; height: 40px; padding: 8px; border-radius: 10px; color: var(--copper-hi); background: rgba(201,123,61,0.12); }
.ct-w h3 { font-family: var(--font-display); font-weight: 500; font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; margin-top: 4px; }
.ct-w p { font-size: 15px; line-height: 1.55; color: var(--text-mute); }
.ct-w .ct-go { margin-top: auto; padding-top: 8px; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--copper-hi); text-decoration: none; border-bottom: 1px solid rgba(201,123,61,0.4); padding-bottom: 2px; overflow-wrap: anywhere; }
.ct-w .ct-go:hover { color: var(--text); border-color: var(--copper); }
.ct-w.main { border-color: rgba(201,123,61,0.5); background: linear-gradient(160deg, rgba(201,123,61,0.12), rgba(201,123,61,0.02)); }

/* ---------- Brief form on paper ---------- */
.ct-form-s { padding: clamp(70px, 9vw, 120px) 0; scroll-margin-top: 60px; }
.ct-fg { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.ct-form-s .ct-h2 { color: var(--text-d); margin-top: 4px; }
.ct-form-s .ct-h2 em { color: var(--copper-dk); }
.ct-intro { margin: 14px 0 34px; max-width: 33em; font-size: 16px; line-height: 1.55; color: var(--text-d-mute); }
.ct-aside { border-inline-start: 1px solid var(--paper-line); padding-inline-start: clamp(20px, 3vw, 44px); display: flex; flex-direction: column; gap: 30px; }
.ct-off { scroll-margin-top: 90px; }
.ct-off .tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--copper-dk); }
.ct-off h3 { font-family: var(--font-display); font-weight: 500; font-size: 24px; margin: 8px 0 8px; color: var(--text-d); }
.ct-off p { font-size: 15.5px; line-height: 1.65; color: var(--text-d-mute); }
.ct-mail { font-family: var(--font-display); font-size: clamp(18px, 2vw, 22px); color: var(--text-d); text-decoration: underline; text-decoration-color: var(--copper); text-underline-offset: 5px; overflow-wrap: anywhere; }
.ct-mail:hover { color: var(--copper-dk); }
.form-note { margin-top: 10px; padding: 16px 18px; border-radius: 10px; font-family: var(--font-sans); font-size: 15px; line-height: 1.5; display: grid; gap: 5px; }
.form-note[hidden] { display: none; }
.form-note strong { font-weight: 600; font-size: 16px; }
.form-note-ok { background: rgba(93,210,166,0.12); border: 1px solid rgba(93,210,166,0.55); color: var(--text-d); }
.form-note-err { background: rgba(201,123,61,0.10); border: 1px solid rgba(201,123,61,0.5); color: var(--text-d); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #c0492b; }
.field .field-err { color: #c0492b; font-size: 12.5px; margin-top: 6px; display: none; }
.field.is-invalid .field-err { display: block; }
.hp-field { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ---------- Arabic ---------- */
html[dir="rtl"] :is(.ct-ck, .ct-day, .ct-off .tag) { letter-spacing: 0; font-size: 12px; }
html[dir="rtl"] .ct-hc h1 { line-height: 1.3; }
html[dir="rtl"] .ct-h2 { line-height: 1.35; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .ct-hg, .ct-fg { grid-template-columns: minmax(0, 1fr); }
  .ct-aside { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--paper-line); padding-top: 30px; }
}
@media (max-width: 760px) {
  .ct-wg { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) {
  .ct-face { width: 104px; height: 104px; }
  .ct-cg::before { top: 52px; }
  .ct-time { font-size: 20px; }
}
.ct-aside .section-label { margin-bottom: 0; }
