/* ==========================================================================
   Cybergen — Contact page
   ========================================================================== */

/* ---------- Hero ---------- */
.ct-hero .svc-hero-grid { grid-template-columns: 1fr 1fr; align-items: start; gap: 56px; }
.ct-hero h1 { max-width: 620px; }
.ct-hero .sub { max-width: 560px; }
.ct-lines { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; max-width: 520px; }
.ct-lines li a, .ct-lines li > div { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 14px; background: rgba(7,28,66,.55); border: 1px solid rgba(148,212,244,.18); color: #fff; transition: border-color .25s, background .25s, transform .25s var(--ease); }
.ct-lines li a:hover { border-color: rgba(148,212,244,.55); background: rgba(7,28,66,.85); transform: translateX(4px); }
.ct-ic { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(148,212,244,.12); color: var(--accent); }
.ct-ic svg { width: 21px; height: 21px; }
.ct-lines small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 3px; }
.ct-lines b { font-size: 16px; font-weight: 600; }
.ct-lines .ir .ct-ic { background: rgba(239,68,68,.16); color: #ff8a8a; }
.ct-lines .ir small { color: #ff9b9b; }
.ct-lines .go { margin-left: auto; color: rgba(255,255,255,.4); }
.ct-lines li a > span:nth-child(2) { min-width: 0; }
.ct-lines b { overflow-wrap: anywhere; }
.ct-lines .go svg { width: 18px; height: 18px; }
.ct-creds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.ct-creds span { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.8); padding: 7px 12px; border-radius: 99px; border: 1px solid rgba(148,212,244,.22); background: rgba(148,212,244,.06); }
.ct-creds svg { width: 14px; height: 14px; color: var(--accent); }
.ct-hero .form-card { position: relative; z-index: 2; box-shadow: 0 40px 80px rgba(0,0,0,.45); }
.ct-hero .form-card h3 { font-size: 22px; }
.f-field select { width: 100%; }

/* ---------- Incident response band ---------- */
.ct-ir { position: relative; overflow: hidden; background: linear-gradient(110deg, #2a0a12 0%, #3b0d18 35%, var(--navy) 100%); color: #fff; padding: 44px 0; border-top: 1px solid rgba(239,68,68,.35); border-bottom: 1px solid rgba(239,68,68,.2); }
.ct-ir::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 54px); pointer-events: none; }
.ct-ir .wrap { position: relative; display: grid; grid-template-columns: 1.3fr auto; gap: 40px; align-items: center; }
.ct-ir .live { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; letter-spacing: .16em; color: #ff9b9b; }
.ct-ir h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin: 10px 0 8px; line-height: 1.2; }
.ct-ir p { margin: 0; color: rgba(255,255,255,.75); max-width: 640px; line-height: 1.6; }
.ct-ir-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-alert { background: var(--red); color: #fff; }
.btn-alert:hover { background: #f05a5a; }

/* ---------- Routing tiles ---------- */
.ct-routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.ct-route { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-align: left; font: inherit; color: inherit; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.ct-route:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(7,28,66,.1); border-color: rgba(11,106,163,.35); }
.ct-route:focus-visible { outline: 3px solid rgba(11,106,163,.45); outline-offset: 2px; }
.ct-route .ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--accent); }
.ct-route .ic svg { width: 23px; height: 23px; }
.ct-route h3 { margin: 8px 0 0; font-size: 18px; color: var(--navy); }
.ct-route p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.ct-route .go { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; color: var(--blue); }
.ct-route .go svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.ct-route:hover .go svg { transform: translateX(3px); }

/* ---------- Next steps ---------- */
.ct-steps { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; position: relative; }
.ct-steps::before { content: ""; position: absolute; top: 26px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, rgba(148,212,244,.45), transparent); }
.ct-steps li { position: relative; counter-increment: s; text-align: center; padding: 0 10px; }
.ct-steps li::before { content: counter(s, decimal-leading-zero); display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 20px; border-radius: 50%; background: var(--navy-card); border: 1px solid rgba(148,212,244,.45); color: var(--accent); font-weight: 700; font-size: 16px; box-shadow: 0 0 0 8px rgba(148,212,244,.05); position: relative; z-index: 1; }
.ct-steps h3 { color: #fff; font-size: 18px; margin: 0 0 8px; }
.ct-steps p { margin: 0; color: rgba(255,255,255,.7); font-size: 14.5px; line-height: 1.65; }

/* ---------- HQ ---------- */
.ct-hq { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.ct-office { border-radius: 20px; background: #fff; border: 1px solid var(--line); padding: 36px; box-shadow: 0 30px 60px rgba(7,28,66,.08); }
.ct-office .tag { font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--blue); }
.ct-office h3 { font-size: 24px; color: var(--navy); margin: 10px 0 18px; }
.ct-office address { font-style: normal; color: var(--ink); line-height: 1.7; font-size: 16px; }
.ct-office .rows { display: grid; gap: 12px; margin: 22px 0 24px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ct-office .rows a, .ct-office .rows span { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 500; }
.ct-office .rows a:hover { color: var(--blue); }
.ct-office .rows svg { width: 18px; height: 18px; color: var(--blue-2); flex-shrink: 0; }
.ct-reg { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-top: 22px; }
.ct-reg div { font-size: 13px; color: var(--muted); }
.ct-reg b { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); margin-bottom: 2px; }
.ct-globe { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 40px 0; border-radius: 24px; background: radial-gradient(circle at 50% 45%, #0a4a7c, #03234b 55%, var(--navy) 85%); overflow: hidden; }
.ct-globe::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(148,212,244,.05) 0 1px, transparent 1px 44px), repeating-linear-gradient(0deg, rgba(148,212,244,.05) 0 1px, transparent 1px 44px); pointer-events: none; }
.ct-globe .globe { width: min(340px, 72vw); }
.ct-globe .city.hq { top: 30%; left: 47%; width: 11px; height: 11px; background: var(--accent); box-shadow: 0 0 0 6px rgba(148,212,244,.2), 0 0 22px 6px rgba(148,212,244,.8); }
.ct-globe .hq-label { position: absolute; top: calc(30% - 34px); left: 47%; transform: translateX(-30%); z-index: 2; white-space: nowrap; font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--navy); background: var(--accent); padding: 5px 10px; border-radius: 99px; }
.ct-globe .stats { position: relative; z-index: 1; display: flex; gap: 34px; text-align: center; }
.ct-globe .stats strong { display: block; font-size: 30px; font-weight: 800; color: #fff; line-height: 1.1; }
.ct-globe .stats span { font-size: 12px; color: rgba(255,255,255,.6); }

/* ---------- FAQ on contact ---------- */
.ct-faq { max-width: 860px; margin: 44px auto 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .ct-hero .svc-hero-grid { grid-template-columns: 1fr; }
  .ct-routes { grid-template-columns: 1fr 1fr; }
  .ct-hq { grid-template-columns: 1fr; gap: 40px; }
  .ct-ir .wrap { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 760px) {
  .ct-routes, .ct-steps { grid-template-columns: 1fr; }
  .ct-steps::before { display: none; }
  .ct-office { padding: 26px 22px; }
  .ct-reg { grid-template-columns: 1fr; }
  .ct-globe .stats { gap: 22px; }
  .ct-lines .go { display: none; }
  .ct-lines b { font-size: 14.5px; }
  .ct-lines li a { padding: 14px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-route, .ct-lines li a { transition: none; }
}
.ct-ir-mail { display: block; margin-top: 10px; font-weight: 700; color: #fff; font-size: 14px; word-break: break-all; }
