/* =========================================================
   Contact page
   ========================================================= */

/* ---------- Hero ---------- */
.ct-hero { position: relative; padding: 28px 0 32px; }
.ct-hero-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.ct-form { position: relative; z-index: 2; padding-top: 14px; }

.ct-intro { position: relative; }
.ct-copy { position: relative; z-index: 2; max-width: 68%; }
.ct-copy h1 { font-size: clamp(36px, 3.4vw, 56px); line-height: 1.04; font-weight: 800; letter-spacing: -.03em; }
.ct-lead { margin-top: 16px; font-size: 18px; color: #1E293B; max-width: 44ch; }
.ct-nowrap { white-space: nowrap; }
.ct-hero .crumbs li:nth-child(2) { display: inline-flex; }
.ct-art { position: absolute; z-index: 1; right: -24px; top: -36px; width: 48%; max-width: 480px; pointer-events: none; }
.ct-art img { width: 100%; filter: drop-shadow(0 30px 50px rgba(124, 58, 237, .18)); animation: float 9s ease-in-out infinite; }

.ct-cards { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.ct-cards li { display: flex; }
.ct-card { flex: 1; display: flex; align-items: center; gap: 22px; padding: 16px 24px 16px 20px; border-radius: 22px; background: rgba(255, 255, 255, .55); color: var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
a.ct-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.ct-card img { flex: none; width: 88px; height: 88px; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(124, 58, 237, .22)); }
.ct-card > span { flex: 1; min-width: 0; padding-left: 22px; border-left: 1px solid rgba(15, 23, 42, .14); font-size: 17px; line-height: 1.35; color: var(--ink); overflow-wrap: anywhere; }
.ct-card strong { display: block; margin-bottom: 4px; font-family: var(--font-head); font-size: 22px; font-weight: 800; letter-spacing: -.01em; }

/* ---------- What happens next ---------- */
.ct-next { position: relative; }
.ct-swoosh { position: absolute; right: 0; top: -150px; width: 520px; max-width: 45%; opacity: .85; pointer-events: none; }
.ct-next .container { position: relative; z-index: 1; }
.ct-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; margin-top: 24px; counter-reset: none; }
.ct-step { position: relative; display: flex; align-items: center; gap: 22px; padding: 20px 26px 20px 22px; border-radius: 24px; background: rgba(255, 255, 255, .55); }
.ct-step + .ct-step::before { /* dotted connector */
    content: ""; position: absolute; left: -52px; top: 50%; width: 46px; height: 0;
    border-top: 3px dotted rgba(124, 58, 237, .7);
}
.ct-step img { flex: none; width: 120px; height: 120px; object-fit: contain; filter: drop-shadow(0 12px 20px rgba(124, 58, 237, .25)); }
.ct-step > div { flex: 1; min-width: 0; padding-left: 22px; border-left: 1px solid rgba(15, 23, 42, .14); }
.ct-step .step-num { margin-bottom: 8px; }
.ct-step h3 { font-size: 26px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 4px; }
.ct-step p { font-size: 17px; line-height: 1.4; color: var(--ink); }

/* ---------- Offices ---------- */
.ct-offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 22px; }
.ct-office { display: flex; flex-direction: column; padding: 8px; border-radius: 26px; background: rgba(255, 255, 255, .55); }
.ct-map { display: block; width: 100%; height: 190px; border: 0; border-radius: 20px; background: rgba(124, 58, 237, .06); }
.ct-office .office-card { flex: 1; padding: 18px 20px 14px; background: none; border-radius: 0; grid-template-columns: 200px minmax(0, 1fr); gap: 0; }
.ct-office .office-card > img { width: 180px; justify-self: center; }
.ct-office .office-info { padding-left: 28px; border-left: 1px solid rgba(15, 23, 42, .14); gap: 8px; }

/* ---------- FAQ + areas ---------- */
.ct-bottom { padding-bottom: 64px; }
.ct-bottom .faq-related { position: relative; }

/* ---------- Responsive ---------- */
@media (min-width: 1201px) {
    .ct-bottom .faq-related::before { /* vertical divider between the two columns */
        content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: rgba(15, 23, 42, .12);
    }
}

@media (max-width: 1440px) {
    .ct-card { gap: 16px; padding: 14px 18px 14px 14px; }
    .ct-card img { width: 76px; height: 76px; }
    .ct-card > span { padding-left: 16px; font-size: 16px; }
    .ct-card strong { font-size: 20px; }
    .ct-steps { gap: 44px; }
    .ct-step + .ct-step::before { left: -40px; width: 36px; }
    .ct-step img { width: 100px; height: 100px; }
    .ct-step h3 { font-size: 23px; }
    .ct-step p { font-size: 16px; }
    .ct-office .office-card { grid-template-columns: 160px minmax(0, 1fr); }
    .ct-office .office-card > img { width: 150px; }
    .ct-office .office-info { padding-left: 22px; }
}

@media (max-width: 1200px) {
    .ct-hero-grid { grid-template-columns: minmax(0, 1fr); }
    .ct-form { width: 100%; max-width: 760px; margin: 0 auto; padding-top: 0; }
    .ct-steps { gap: 36px; }
    .ct-step { flex-direction: column; align-items: flex-start; gap: 12px; }
    .ct-step > div { padding-left: 0; border-left: 0; }
    .ct-step + .ct-step::before { left: -34px; width: 32px; }
    .ct-offices { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 1024px) {
    .ct-copy { max-width: 60%; }
    .ct-art { right: 0; top: -10px; width: 40%; }
    .ct-swoosh { display: none; }
}

@media (max-width: 720px) {
    .ct-hero { padding: 20px 0 24px; }
    .ct-copy { max-width: none; }
    .section-title { font-size: clamp(26px, 7.4vw, 34px); }
    .ct-copy h1 { font-size: clamp(34px, 10vw, 44px); }
    .ct-lead { font-size: 16.5px; }
    .ct-art { position: relative; right: auto; top: auto; width: auto; max-width: 380px; margin: 4px auto -12px; }
    .ct-cards { gap: 12px; margin-top: 16px; }
    .ct-card { flex-direction: column; justify-content: center; gap: 6px; padding: 16px 10px; text-align: center; }
    .ct-card img { width: 60px; height: 60px; }
    .ct-card > span { padding-left: 0; border-left: 0; font-size: 14.5px; }
    .ct-card strong { margin-bottom: 2px; font-size: 18px; }
    .ct-form { margin-top: 8px; }

    .ct-steps { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 18px; }
    .ct-step { flex-direction: row; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: 20px; }
    .ct-step + .ct-step::before { left: 56px; top: -20px; width: 0; height: 18px; border-top: 0; border-left: 3px dotted rgba(124, 58, 237, .7); }
    .ct-step img { width: 80px; height: 80px; }
    .ct-step .step-num { width: 32px; height: 32px; font-size: 15px; margin-bottom: 4px; }
    .ct-step h3 { font-size: 19px; margin-bottom: 2px; }
    .ct-step p { font-size: 14.5px; }

    .ct-offices { gap: 14px; margin-top: 18px; }
    .ct-office { padding: 6px; border-radius: 22px; }
    .ct-map { height: 150px; border-radius: 16px; }
    .ct-office .office-card { grid-template-columns: 88px minmax(0, 1fr); padding: 12px 10px 10px; gap: 6px 14px; }
    .ct-office .office-card > img { width: 88px; }
    .ct-office .office-info { padding-left: 0; border-left: 0; }
    .ct-bottom { padding-bottom: 44px; }
}

@media (max-width: 380px) {
    .ct-card strong { font-size: 16.5px; }
    .ct-card > span { font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce) {
    .ct-art img { animation: none; }
}
