/* contact.css — Contact page (new design)
   Everything is prefixed "ct-" so it cannot clash with home.css / auth.css.
   Uses tokens from home.css when present (with fallbacks). */

.ct-page {
    --ct-navy: #10184f;
    --ct-blue: #1d62d8;
    --ct-cyan: #18b7e6;
    --ct-cyan2: #49d2e8;
    --ct-ink: #111827;
    --ct-muted: #4f5b76;
    --ct-line: #e7eaf2;
    --ct-soft: #f6f8fc;
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    color: var(--ct-ink);
    line-height: 1.6;
}
.ct-page *, .ct-page *::before, .ct-page *::after { box-sizing: border-box; }
.ct-page h1, .ct-page h2, .ct-page h3 { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; margin: 0; color: inherit; }
.ct-page a { text-decoration: none; }

.ct-wrap { width: min(1180px, 92vw); margin: 0 auto; }
.ct-section { padding: 82px 0; }

.ct-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #1d62d8; margin-bottom: 14px; }
.ct-hero .ct-eyebrow, .ct-band .ct-eyebrow, .ct-cta-box .ct-eyebrow { color: var(--ct-cyan2); }
.ct-head { text-align: center; max-width: 820px; margin: 0 auto 42px; }
.ct-head .ct-eyebrow { margin-bottom: 10px; }
.ct-head h2 { font-size: 38px; line-height: 1.12; letter-spacing: -.03em; margin-bottom: 14px; }
.ct-head p { color: var(--ct-muted); font-size: 17px; margin: 0; }

/* local buttons (don't depend on .btn from home.css) */
.ct-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 20px; border-radius: 10px; font-weight: 700; font-size: 14px;
    border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: transform .15s ease, opacity .15s ease;
}
.ct-btn:hover { transform: translateY(-1px); }
.ct-btn:disabled { opacity: .7; cursor: not-allowed; transform: none; }
.ct-btn-primary { background: linear-gradient(90deg, #1a6fd6, #1596d9); color: #fff; box-shadow: 0 10px 28px rgba(24, 183, 230, .22); }
.ct-btn-ghost { border-color: rgba(255, 255, 255, .22); color: #fff; background: transparent; }

/* ---------- Hero ---------- */
.ct-hero {
    background: radial-gradient(circle at 78% 20%, rgba(38, 192, 235, .18), transparent 28%),
        linear-gradient(135deg, #17226e 0%, #0e1449 62%, #090d32 100%);
    color: #fff; padding: 82px 0 76px;
}
.ct-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.ct-hero h1 { font-size: 52px; line-height: 1.05; letter-spacing: -.04em; margin-bottom: 20px; color: #fff; }
.ct-hero .ct-lede { font-size: 18px; line-height: 1.75; color: #e3e8fb; max-width: 700px; margin: 0 0 28px; }
.ct-meta { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 34px; color: #dbe1f8; font-size: 14px; }
.ct-meta b { display: block; color: #fff; font-size: 20px; margin-bottom: 2px; font-family: 'Plus Jakarta Sans', sans-serif; }

.ct-details { background: #fff; border-radius: 20px; padding: 24px; color: var(--ct-ink); box-shadow: 0 28px 70px rgba(0, 0, 0, .28); }
.ct-details h3 { font-size: 18px; margin-bottom: 16px; }
.ct-drow { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--ct-line); }
.ct-drow:first-of-type { border-top: none; }
.ct-dico { width: 36px; height: 36px; border-radius: 10px; background: #eef7ff; color: #1677cf; display: grid; place-items: center; flex: 0 0 36px; font-size: 16px; }
.ct-drow b { display: block; margin-bottom: 3px; }
.ct-drow span, .ct-drow a { font-size: 14px; color: var(--ct-muted); }
.ct-drow a:hover { color: var(--ct-blue); }

/* ---------- Form section ---------- */
.ct-form-section { background: var(--ct-soft); }
.ct-form-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; }
.ct-card { background: #fff; border: 1px solid var(--ct-line); border-radius: 18px; padding: 28px; box-shadow: 0 10px 26px rgba(16, 24, 79, .05); }
.ct-card h3 { font-size: 22px; margin-bottom: 8px; }
.ct-card > p { margin: 0 0 20px; color: var(--ct-muted); font-size: 15px; }

.ct-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ct-field { display: grid; gap: 7px; align-content: start; }
.ct-field.full { grid-column: 1 / -1; }
.ct-field label { font-size: 13.5px; font-weight: 800; color: #26304f; }
.ct-input {
    width: 100%; border: 1px solid #dfe4ef; border-radius: 11px; padding: 12px 13px;
    font: inherit; font-size: 14px; color: #26304f; background: #fff; outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.ct-input:focus { border-color: var(--ct-blue); box-shadow: 0 0 0 3px rgba(39, 132, 234, .14); }
textarea.ct-input { min-height: 140px; resize: vertical; }

.ct-form-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.ct-form-actions small { color: var(--ct-muted); font-size: 12px; }

.ct-msg { display: none; margin-bottom: 16px; padding: 12px 14px; border-radius: 11px; font-size: 13.5px; font-weight: 600; }
.ct-msg.success { display: block; background: #e8fbf4; color: #14795a; border: 1px solid #bfeedc; }
.ct-msg.error { display: block; background: #fdeeee; color: #c0322b; border: 1px solid #f6cccc; }

/* honeypot — hidden from people */
.ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* side card */
.ct-side-list { display: grid; gap: 14px; }
.ct-side-item { display: flex; gap: 13px; padding: 14px; border: 1px solid var(--ct-line); border-radius: 14px; }
.ct-side-item .ico { width: 40px; height: 40px; border-radius: 11px; background: #f0f6ff; color: var(--ct-navy); display: grid; place-items: center; flex: 0 0 40px; font-size: 17px; }
.ct-side-item b { display: block; margin-bottom: 3px; font-size: 14.5px; }
.ct-side-item span { font-size: 14px; color: var(--ct-muted); }
.ct-side-item span a { color: var(--ct-blue); font-weight: 600; }
.ct-note { margin-top: 18px; padding: 16px; border-radius: 14px; background: #f7f9ff; border: 1px solid #e5e9f5; }
.ct-note b { display: block; margin-bottom: 4px; font-size: 14px; }
.ct-note span { font-size: 14px; color: var(--ct-muted); }

/* ---------- Help cards ---------- */
.ct-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ct-tile { background: #fff; border: 1px solid var(--ct-line); border-radius: 16px; padding: 24px; box-shadow: 0 10px 26px rgba(16, 24, 79, .05); }
.ct-tile .ib { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-size: 19px; margin-bottom: 18px; }
.ct-tile .ib.blue { background: #2784ea; } .ct-tile .ib.green { background: #1fb981; }
.ct-tile .ib.gold { background: #c9891a; } .ct-tile .ib.purple { background: #8b5cf6; }
.ct-tile h3 { font-size: 17px; margin-bottom: 8px; }
.ct-tile p { font-size: 14.5px; color: var(--ct-muted); margin: 0; }

/* ---------- Steps band ---------- */
.ct-band { background: var(--ct-navy); color: #fff; }
.ct-band .ct-head p { color: #dbe1f8; }
.ct-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ct-step { border: 1px solid rgba(255, 255, 255, .11); border-radius: 16px; padding: 22px; background: rgba(255, 255, 255, .045); }
.ct-step .no { font-size: 11px; color: var(--ct-cyan2); font-weight: 900; letter-spacing: .08em; margin-bottom: 16px; }
.ct-step h3 { font-size: 17px; margin-bottom: 8px; color: #fff; }
.ct-step p { font-size: 14.5px; color: #dbe1f8; margin: 0; }

/* ---------- FAQ ---------- */
.ct-faq { background: #fbfcfe; }
.ct-faq-list { display: grid; gap: 14px; max-width: 900px; margin: 0 auto; }
.ct-faq-item { background: #fff; border: 1px solid var(--ct-line); border-radius: 14px; padding: 0 20px; }
.ct-faq-item summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; font-size: 15.5px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.ct-faq-item summary::-webkit-details-marker { display: none; }
.ct-faq-item summary::after { content: "+"; font-size: 22px; color: var(--ct-blue); line-height: 1; flex: none; }
.ct-faq-item[open] summary::after { content: "–"; }
.ct-faq-item p { margin: 0; padding: 0 0 18px; color: var(--ct-muted); font-size: 15px; }

/* ---------- CTA ---------- */
.ct-cta { padding: 48px 0 86px; }
.ct-cta-box { background: linear-gradient(135deg, #182367, #0d143f); color: #fff; border-radius: 22px; padding: 52px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.ct-cta-box h2 { font-size: 32px; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 10px; color: #fff; }
.ct-cta-box p { margin: 0; color: #dbe1f8; max-width: 640px; }
.ct-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .ct-hero-grid, .ct-form-grid { grid-template-columns: 1fr; }
    .ct-hero h1 { font-size: 42px; }
    .ct-cards { grid-template-columns: repeat(2, 1fr); }
    .ct-steps { grid-template-columns: 1fr; }
    .ct-cta-box { display: block; }
    .ct-cta-actions { margin-top: 24px; }
}
@media (max-width: 620px) {
    .ct-section { padding: 62px 0; }
    .ct-hero { padding: 56px 0; }
    .ct-hero h1 { font-size: 34px; }
    .ct-head h2 { font-size: 29px; }
    .ct-fields, .ct-cards { grid-template-columns: 1fr; }
    .ct-card { padding: 22px; }
    .ct-cta-box { padding: 34px 24px; }
    .ct-cta-box h2 { font-size: 26px; }
}