/* =========================================================
   Help Center / Contact page — scoped to .ct-page
   ========================================================= */
.ct-page {
    --ink: #0b1524;
    --copy: #3d4858;
    --muted: #6b7585;
    --line: #e5e2db;
    --paper: #f5f2ec;
    --accent: #c2500f;
    --accent-hot: #ee7a37;
    --accent-ink: #9b3f0a;
    --accent-soft: #fbeadc;
    --r: 14px;
    --ease: cubic-bezier(.2, .75, .2, 1);
    background: var(--paper);
    color: var(--copy);
    overflow-x: clip;
}
.ct-page *, .ct-page *::before, .ct-page *::after { box-sizing: border-box; }
.ct-page .hidden { display: none; }
.ct-wrap { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }

/* ---------- Hero: text + framed office photo ---------- */
.ct-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); }
.ct-hero-lines {
    position: absolute; inset: 0; z-index: -1; opacity: .55;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 55% 85% at 20% 50%, #000 10%, transparent 72%);
            mask-image: radial-gradient(ellipse 55% 85% at 20% 50%, #000 10%, transparent 72%);
}
.ct-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(40px, 5.5vw, 76px) 0; }
.ct-hero-text { display: flex; flex-direction: column; align-items: flex-start; }
.ct-kicker { margin-bottom: 16px; padding: 6px 12px; border-radius: 6px; background: rgba(238,122,55,.16); color: var(--accent-hot); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ct-hero h1 { margin: 0; max-width: 14ch; color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.8rem); font-weight: 700; line-height: 1.02; letter-spacing: -.045em; }
.ct-hero p { margin: 18px 0 0; max-width: 52ch; color: rgba(255,255,255,.78); font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.65; }
.ct-hero-media { position: relative; margin: 0; }
.ct-hero-media::before {
    content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1; border-radius: 18px;
    border: 1px solid rgba(238,122,55,.45); background: rgba(238,122,55,.06);
}
.ct-hero-media img {
    display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); animation: ct-rise 1s var(--ease) both;
}

/* ---------- Grid ---------- */
.ct-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; align-items: start; padding: clamp(28px, 4vw, 52px) 0 clamp(40px, 5vw, 72px); }
.ct-side { display: grid; gap: 16px; }
.ct-card { padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.ct-card h2 { margin: 0 0 18px; color: var(--ink); font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 700; line-height: 1.15; letter-spacing: -.025em; }

/* Channels */
.ct-channels { display: grid; gap: 18px; }
.ct-channel { display: flex; align-items: flex-start; gap: 14px; }
.ct-ic { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); }
.ct-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ct-label { display: block; margin-bottom: 2px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ct-channel a { color: var(--ink); font-size: 1.05rem; font-weight: 650; text-decoration: none; word-break: break-word; }
.ct-channel a:hover { color: var(--accent); }
.ct-channel small { display: block; margin-top: 2px; color: var(--muted); font-size: .84rem; }

/* Offices */
.ct-offices { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ct-offices a {
    display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--copy); text-decoration: none;
    transition: border-color .3s, background-color .3s, transform .35s var(--ease);
}
.ct-offices a:hover { border-color: rgba(194,80,15,.4); background: #fff; transform: translateY(-2px); }
.ct-office-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ct-office-head img { border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); flex: none; }
.ct-office-head strong { color: var(--ink); font-size: .98rem; font-weight: 650; }
.ct-office-head strong span { color: var(--muted); font-weight: 500; }
.ct-office-head em { margin-left: auto; font-style: normal; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ct-offices address { margin: 8px 0 0; font-style: normal; font-size: .92rem; line-height: 1.5; color: var(--copy); }
.ct-map { display: inline-block; margin-top: 8px; color: var(--accent); font-size: .82rem; font-weight: 650; }

/* Form */
.ct-form-intro { margin: -8px 0 22px; color: var(--muted); font-size: .95rem; line-height: 1.6; }
.ct-errors { margin-bottom: 18px; padding: 14px 16px; border: 1px solid #f3c4c4; border-left: 4px solid #b42318; border-radius: 10px; background: #fef3f2; color: #8a1c13; font-size: .9rem; font-weight: 600; }
.ct-errors div + div { margin-top: 4px; }
.ct-form { display: grid; gap: 16px; }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ct-field { display: grid; gap: 7px; }
.ct-field label { color: var(--ink); font-size: .88rem; font-weight: 650; }
.ct-req { color: #b42318; }
.ct-field input, .ct-field textarea {
    width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
    font: inherit; font-size: .98rem; line-height: 1.4; outline: none; transition: border-color .2s, box-shadow .2s;
}
.ct-field textarea { resize: vertical; min-height: 140px; }
.ct-field input::placeholder, .ct-field textarea::placeholder { color: #9aa1ad; }
.ct-field input:focus, .ct-field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(194,80,15,.12); }
.ct-captcha { display: grid; gap: 6px; }
.ct-field-error { color: #b42318; font-size: .85rem; font-weight: 600; }
.ct-submit {
    position: relative; justify-self: start; display: inline-flex; align-items: center; gap: 12px; overflow: hidden; isolation: isolate;
    min-height: 52px; padding: 0 26px; border: 0; border-radius: 8px; background: var(--accent); color: #fff;
    font: inherit; font-size: .98rem; font-weight: 600; cursor: pointer;
}
.ct-submit::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent-ink); transform: translateY(101%); transition: transform .45s var(--ease); }
.ct-submit:hover::before { transform: none; }
.ct-submit svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.ct-submit:hover svg { transform: translateX(4px); }
.ct-submit:focus-visible, .ct-offices a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@keyframes ct-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .ct-page *, .ct-page *::before, .ct-page *::after { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .ct-hero-inner { grid-template-columns: 1fr; gap: 28px; padding: 36px 0 44px; }
    .ct-hero h1 { max-width: none; }
    .ct-grid { grid-template-columns: 1fr; }
    .ct-form-card { order: -1; }
}
@media (max-width: 600px) {
    .ct-wrap { width: calc(100% - 32px); }
    .ct-hero-media::before { inset: 10px -8px -10px 10px; }
    .ct-row { grid-template-columns: 1fr; }
    .ct-submit { justify-self: stretch; justify-content: center; }
}
