/* ===================================================================
   /contact — rebuilt 2026-11-12
   -------------------------------------------------------------------
   Loaded only by contact.php ($page['css']). Builds on site.css tokens
   (--ink, --brand-700, --line, --r-lg …); no new colours.

   Contrast (computed, not sampled):
     hero panel ground is --ink #080808 -> --ink-900 #14161c; worst case #14161c
       h1 / line value   #ffffff                 17.9:1
       answer text       #d5d8df                 13.0:1
       sub / notes       rgba(255,255,255,.72)   ~10:1
       eyebrow / label   #fce7f3 (--brand-tint-2) 15.6:1
     light sections: small magenta text uses --brand-700 (#a81264, 7.4:1 on
     white), never --brand (#e2208c, 4.36:1 — below AA).

   Touch: every link row / chip is >= 44px tall, 8px+ apart.
   Focus: visible outlines everywhere (white on dark, ink on light).
   No data-aos: AOS hides content until JS runs. No sticky (head.php's
   .overflow-x-hidden wrapper would defeat it).
   =================================================================== */

/* ---- Hero panel -------------------------------------------------------- */
.ct-hero-wrap { padding-block: clamp(16px, 2vw, 32px) clamp(24px, 3vw, 48px); }

.ct-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: var(--r-lg);
    background: linear-gradient(160deg, var(--ink) 0%, var(--ink-900) 60%, #101826 100%);
    color: #fff;
    padding: clamp(28px, 4.5vw, 64px) clamp(20px, 4vw, 56px);
}
.ct-hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(55% 75% at 92% 0%, rgba(29,78,216,.22), transparent 62%),
        radial-gradient(45% 65% at 0% 100%, rgba(226,32,140,.18), transparent 60%);
}

.ct-eyebrow { color: var(--brand-tint-2); }
.ct-eyebrow::before { background: var(--brand-tint-2); }

.ct-h1 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
    line-height: 1.08;
    color: #fff;
    margin: 0 0 10px;
    text-wrap: balance;
}
.ct-sub {
    font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem);
    color: rgba(255,255,255,.86);
    margin: 0 0 20px;
}
.ct-answer {
    color: #d5d8df;
    font-size: 1.02rem;
    line-height: 1.75;
    max-width: 58ch;
    margin: 0;
    padding-left: 16px;
    border-left: 3px solid var(--brand);
}

.ct-hero-actions {
    display: flex; flex-wrap: wrap; gap: 12px;
    margin-top: 28px;
}
.ct-hero-actions .btn-ghost { border-color: rgba(255,255,255,.55); }
.ct-hero a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.ct-meta {
    margin-top: 20px;
    font-size: .86rem;
    color: rgba(255,255,255,.72);
}

/* ---- Direct lines (in the hero) --------------------------------------- */
.ct-lines {
    list-style: none; margin: 0; padding: 0;
    display: grid; gap: 10px;
}
.ct-line {
    display: flex; align-items: center; gap: 16px;
    min-height: 76px;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.12);
    color: #fff;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.ct-line:hover {
    background: rgba(255,255,255,.09);
    border-color: rgba(255,255,255,.3);
    color: #fff;
}
.ct-line-ico {
    flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 12px;
    background: rgba(226,32,140,.16);
    color: var(--brand-tint-2);
}
.ct-line-ico--light { background: var(--brand-tint); color: var(--brand-700); }
.ct-ico { width: 22px; height: 22px; }
.ct-line-body { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.ct-line-label {
    font-size: .72rem; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--brand-tint-2);
}
.ct-line-value {
    font-weight: 700;
    font-size: clamp(1.02rem, .98rem + .3vw, 1.18rem);
    line-height: 1.35;
    overflow-wrap: break-word;
}
.ct-line-note { font-size: .86rem; color: rgba(255,255,255,.72); }
.ct-line-go {
    flex: 0 0 auto;
    font-size: 1.15rem;
    color: rgba(255,255,255,.6);
    transition: transform .2s ease, color .2s ease;
}
.ct-line:hover .ct-line-go { transform: translateX(4px); color: #fff; }

/* ---- Section headings ------------------------------------------------- */
.ct-h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    line-height: 1.2;
    color: var(--ink);
    margin: 0 0 14px;
    text-wrap: balance;
}
.ct-lede { color: var(--ink-70); font-size: 1rem; line-height: 1.7; max-width: 60ch; }
.ct-lede a { color: var(--brand-700); }
.ct-kicker {
    font-family: var(--font-body);
    font-size: .78rem; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--brand-700);
    margin: 28px 0 14px;
}

/* ---- What happens next (numbered) ------------------------------------- */
.ct-steps {
    list-style: none; margin: 0; padding: 0;
    counter-reset: ct-step;
    display: grid; gap: 4px;
}
.ct-steps li {
    counter-increment: ct-step;
    position: relative;
    padding: 0 0 18px 52px;
}
.ct-steps li::before {
    content: counter(ct-step);
    position: absolute; left: 0; top: 0;
    width: 34px; height: 34px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--ink); color: #fff;
    font-weight: 700; font-size: .9rem;
}
.ct-steps li:not(:last-child)::after {
    content: ""; position: absolute;
    left: 16px; top: 38px; bottom: 2px;
    width: 2px; background: var(--line);
}
.ct-step-title {
    font-family: var(--font-body);
    font-size: 1rem; font-weight: 700;
    color: var(--ink);
    margin: 5px 0 4px;
}
.ct-step-text { font-size: .94rem; line-height: 1.65; color: var(--ink-70); margin: 0; }

/* ---- What helps us help you ------------------------------------------- */
.ct-helps {
    margin-top: 10px;
    padding: 4px 22px 20px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--surface-2, #f7f8fa);
}
.ct-helps .ct-kicker { margin-top: 18px; }
.ct-checks {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
}
.ct-checks li {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: .93rem; color: var(--ink-70); line-height: 1.45;
}
.ct-check {
    flex: 0 0 auto;
    width: 18px; height: 18px; margin-top: 1px;
    color: var(--brand-700);
}
@media (max-width: 420px) {
    .ct-checks { grid-template-columns: 1fr; }
}

/* ---- Offices ---------------------------------------------------------- */
.ct-office {
    height: 100%;
    display: flex; flex-direction: column;
    padding: clamp(22px, 2.6vw, 32px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 12px 32px -20px rgba(16,24,40,.18);
}
.ct-office-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.ct-office-role {
    margin: 0;
    font-size: .74rem; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--brand-700);
}
.ct-office-city {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.35rem;
    color: var(--ink);
    margin: 2px 0 0;
}
.ct-office-addr {
    font-style: normal;
    color: var(--ink-70);
    line-height: 1.7;
    margin: 0 0 20px;
    flex: 1 1 auto;
}
.ct-office-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.ct-chip-link {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1.5px solid var(--line-strong);
    color: var(--ink);
    font-weight: 600; font-size: .9rem;
    text-decoration: none;
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.ct-chip-link:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.ct-chip-link:focus-visible,
.ct-enquiry a:focus-visible,
.ct-served a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.ct-ico-sm { width: 18px; height: 18px; flex: 0 0 auto; }

/* ---- Locations served ------------------------------------------------- */
.ct-served {
    margin-top: 24px;
    display: grid; gap: 20px 40px;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
    padding: clamp(22px, 2.6vw, 32px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
}
.ct-served-head { display: flex; align-items: flex-start; gap: 14px; }
.ct-served-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.25rem;
    color: var(--ink);
    margin: 4px 0 6px;
}
.ct-served-note { font-size: .9rem; color: var(--ink-50); line-height: 1.6; }
.ct-served-lists { display: grid; gap: 14px; }
.ct-served-label {
    margin: 0 0 8px;
    font-size: .74rem; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--ink-50);
}
.ct-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ct-tags li {
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--surface-2, #f3f4f6);
    border: 1px solid var(--line);
    font-size: .86rem;
    color: var(--ink-70);
}
@media (max-width: 991.98px) {
    .ct-served { grid-template-columns: 1fr; }
}

/* ---- Small screens ---------------------------------------------------- */
@media (max-width: 575.98px) {
    .ct-hero-actions > a { flex: 1 1 100%; }
    .ct-line { padding: 12px 14px; gap: 12px; }
    .ct-line-ico { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
    .ct-line, .ct-line-go, .ct-chip-link { transition: none; }
    .ct-line:hover .ct-line-go { transform: none; }
}
