/* ============================================================
   CRM DEBUGZONE — Contact page revamp
   Scoped under .ct-revamp so the shared header/footer and other
   pages are untouched. Preserves the #ContactUs form hooks.
   ============================================================ */
.ct-revamp {
    --c-navy: #0a2540; --c-navy-2: #0d2c4d; --c-blue: #2563eb;
    --c-cyan: #06b6d4; --c-cyan-2: #22d3ee; --c-orange: #f97316; --c-orange-2: #ea6a0c;
    --c-ink: #14243b; --c-muted: #5c6b82; --c-bg: #f5f9fe; --c-line: #e6edf6; --c-card: #fff;
    --c-radius: 18px; --c-radius-sm: 12px;
    --c-shadow: 0 18px 48px rgba(10, 37, 64, .10); --c-shadow-sm: 0 8px 24px rgba(10, 37, 64, .07);
    --c-font: "Karla", "Segoe UI", system-ui, -apple-system, sans-serif;
    color: var(--c-ink); font-family: var(--c-font); background: var(--c-bg); overflow-x: hidden;
}
.ct-revamp p { color: var(--c-muted); line-height: 1.7; }
.ct-revamp a { text-decoration: none; }
.ct-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.ct-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
    letter-spacing: 1.4px; text-transform: uppercase; color: var(--c-blue);
    background: rgba(37, 99, 235, .09); padding: 7px 16px; border-radius: 999px; margin-bottom: 16px;
}
.ct-eyebrow.on-dark { color: var(--c-cyan-2); background: rgba(34, 211, 238, .12); }

/* ---------------- Hero ---------------- */
.ct-hero {
    position: relative; color: #fff; padding: 64px 0 78px; overflow: hidden;
    background:
        radial-gradient(1000px 440px at 84% -10%, rgba(34, 211, 238, .22), transparent 60%),
        radial-gradient(700px 380px at 6% 120%, rgba(249, 115, 22, .16), transparent 60%),
        linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-2) 55%, #113a67 100%);
}
.ct-hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 26px 26px;
}
.ct-hero > .ct-container { position: relative; z-index: 2; }
.ct-breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 14px; color: #b9cbe0; margin-bottom: 22px; }
.ct-breadcrumb a { color: #b9cbe0; } .ct-breadcrumb a:hover { color: #fff; }
.ct-breadcrumb .sep { opacity: .5; }
.ct-hero h1 { font-size: clamp(30px, 4.2vw, 50px); font-weight: 800; line-height: 1.1; margin: 0 0 16px; color: #fff; }
.ct-hero h1 .grad { background: linear-gradient(90deg, var(--c-cyan-2), #7dd3fc); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ct-hero .ct-hero-sub { color: #cfe0f2; font-size: 18px; max-width: 620px; margin-bottom: 26px; }
.ct-hero-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.ct-chip {
    display: inline-flex; align-items: center; gap: 10px; color: #eaf2fb; font-weight: 600; font-size: 15px;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); padding: 11px 18px; border-radius: 999px;
}
.ct-chip i { color: var(--c-cyan-2); }
.ct-chip:hover { background: rgba(255, 255, 255, .14); color: #fff; }

/* ---------------- Main grid ---------------- */
.ct-main { padding: 70px 0; }
.ct-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 26px; align-items: stretch; margin-top: 0; position: relative; z-index: 5; }

/* Info panel (navy) */
.ct-info-panel {
    background: linear-gradient(155deg, var(--c-navy), var(--c-navy-2) 60%, #113a67); color: #fff;
    border-radius: var(--c-radius); padding: 36px 32px; box-shadow: var(--c-shadow); position: relative; overflow: hidden;
}
.ct-info-panel::after {
    content: ""; position: absolute; width: 240px; height: 240px; right: -70px; bottom: -70px; border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 211, 238, .22), transparent 70%); pointer-events: none;
}
.ct-info-panel > * { position: relative; z-index: 2; }
.ct-info-panel h2 { color: #fff; font-size: 26px; font-weight: 800; margin: 0 0 10px; }
.ct-info-panel > p { color: #cfe0f2; font-size: 15px; margin-bottom: 26px; }
.ct-contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.ct-contact-list li { display: flex; align-items: flex-start; gap: 15px; }
.ct-contact-list .ci {
    width: 48px; height: 48px; flex: 0 0 48px; border-radius: 13px; display: grid; place-items: center; font-size: 20px; color: #fff;
    background: linear-gradient(135deg, var(--c-cyan), #0891b2);
}
.ct-contact-list .lbl { font-size: 12px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; color: var(--c-cyan-2); margin: 0 0 3px; }
.ct-contact-list .val, .ct-contact-list .val a { color: #eaf2fb; font-size: 15.5px; font-weight: 500; line-height: 1.5; }
.ct-contact-list .val a:hover { color: #fff; }
.ct-info-foot { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; align-items: center; gap: 10px; font-size: 14px; color: #dbe7f6; }
.ct-info-foot i { color: var(--c-cyan-2); }

/* Form card */
.ct-formcard { background: var(--c-card); border: 1px solid var(--c-line); border-top: 3px solid var(--c-orange); border-radius: var(--c-radius); padding: 36px 34px; box-shadow: var(--c-shadow-sm); }
.ct-formcard h2 { font-size: 25px; font-weight: 800; color: var(--c-navy); margin: 0 0 6px; }
.ct-formcard > p { font-size: 15px; margin-bottom: 22px; }
.ct-form .ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ct-form .ct-field { margin-bottom: 16px; }
.ct-form label.fld { display: block; font-size: 13px; font-weight: 700; color: var(--c-navy); margin-bottom: 7px; }
.ct-form input, .ct-form textarea {
    width: 100%; border: 1.5px solid #dbe3ec; border-radius: 11px; padding: 12px 15px; font-size: 15px; color: var(--c-ink);
    background: #fff; transition: border-color .15s ease, box-shadow .15s ease; font-family: inherit;
}
.ct-form input::placeholder, .ct-form textarea::placeholder { color: #9fb0c4; }
.ct-form input:focus, .ct-form textarea:focus { outline: none; border-color: var(--c-cyan); box-shadow: 0 0 0 4px rgba(6, 182, 212, .14); }
.ct-form textarea { min-height: 130px; resize: vertical; }
.ct-form .iti { width: 100%; }
.ct-form .iti input { padding-left: 52px; }
.ct-revamp label.error { color: #e11d48 !important; font-size: 13px; font-weight: 600; margin-top: 5px; display: block; }
.ct-submit {
    display: inline-flex; align-items: center; gap: 10px; background: var(--c-orange); color: #fff; border: none;
    border-radius: 12px; padding: 14px 30px; font-size: 16px; font-weight: 800; cursor: pointer; margin-top: 4px;
    box-shadow: 0 12px 26px rgba(249, 115, 22, .30); transition: background .15s ease, transform .12s ease;
}
.ct-submit:hover { background: var(--c-orange-2); color: #fff; transform: translateY(-2px); }
#loaderest { color: var(--c-orange); margin-left: 12px; }
.ajax-response { margin-top: 10px; }

/* ---------------- Map ---------------- */
.ct-map { padding: 0 0 78px; }
.ct-map .ct-map-frame { border-radius: var(--c-radius); overflow: hidden; border: 1px solid var(--c-line); box-shadow: var(--c-shadow-sm); line-height: 0; }
.ct-map iframe { width: 100%; height: 380px; border: 0; display: block; filter: grayscale(.15); }

/* ---------------- Responsive ---------------- */
@media (max-width: 991px) {
    .ct-grid { grid-template-columns: 1fr; margin-top: 0; }
}
@media (max-width: 767px) {
    .ct-hero { padding: 52px 0 64px; }
    .ct-main { padding: 48px 0; }
    .ct-form .ct-row { grid-template-columns: 1fr; }
    .ct-info-panel, .ct-formcard { padding: 26px 22px; }
}

/* ============================================================
   Real images + animations
   ============================================================ */
/* Hero two-column with image */
.ct-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.ct-hero-media { position: relative; }
.ct-hero-imgwrap {
    border-radius: 20px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 34px 70px rgba(0, 0, 0, .38); animation: ctFloat 6s ease-in-out infinite;
}
.ct-hero-imgwrap img { width: 100%; height: 100%; display: block; object-fit: cover; aspect-ratio: 4 / 3; }
.ct-hero-badge {
    position: absolute; left: -18px; bottom: 26px; display: flex; align-items: center; gap: 12px;
    background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: 0 18px 44px rgba(0, 0, 0, .30);
    animation: ctFloat 6s ease-in-out infinite; animation-delay: .8s;
}
.ct-hero-badge .n { font-size: 26px; font-weight: 800; color: var(--c-orange); line-height: 1; }
.ct-hero-badge .t { font-size: 13px; font-weight: 600; line-height: 1.25; color: var(--c-navy); }
@keyframes ctFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Hero entrance on load */
@keyframes ctUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.ct-hero-copy > * { animation: ctUp .6s ease both; }
.ct-hero-copy > *:nth-child(1) { animation-delay: .05s; }
.ct-hero-copy > *:nth-child(2) { animation-delay: .12s; }
.ct-hero-copy > *:nth-child(3) { animation-delay: .19s; }
.ct-hero-copy > *:nth-child(4) { animation-delay: .26s; }
.ct-hero-copy > *:nth-child(5) { animation-delay: .33s; }
.ct-hero-media { animation: ctUp .7s ease both; animation-delay: .22s; }

/* Contact-list stagger inside the panel */
.ct-contact-list li { animation: ctUp .5s ease both; }
.ct-contact-list li:nth-child(1) { animation-delay: .10s; }
.ct-contact-list li:nth-child(2) { animation-delay: .20s; }
.ct-contact-list li:nth-child(3) { animation-delay: .30s; }

/* Client-logo trust strip (real logos) */
.ct-logos { padding: 6px 0 64px; }
.ct-logos-title { text-align: center; color: var(--c-muted); font-size: 13.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; margin: 0 0 26px; }
.ct-logos-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 44px; }
.ct-logos-row img { height: 40px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .2s ease, opacity .2s ease, transform .2s ease; }
.ct-logos-row img:hover { filter: grayscale(0); opacity: 1; transform: translateY(-3px); }

/* Scroll reveal — gated by js-anim so content is visible if JS is off */
.ct-revamp.js-anim .ct-reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.ct-revamp.js-anim .ct-reveal.in { opacity: 1; transform: none; }

/* Micro-interactions */
.ct-info-panel, .ct-formcard { transition: transform .25s ease, box-shadow .25s ease; }
.ct-formcard:hover { transform: translateY(-4px); box-shadow: var(--c-shadow); }

@media (max-width: 991px) {
    .ct-hero-grid { grid-template-columns: 1fr; gap: 34px; }
    .ct-hero-media { max-width: 480px; }
}
@media (max-width: 767px) {
    .ct-logos-row { gap: 28px; }
    .ct-logos-row img { height: 32px; }
    .ct-hero-badge { left: 12px; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .ct-revamp *, .ct-revamp *::before, .ct-revamp *::after { animation: none !important; transition: none !important; }
    .ct-revamp.js-anim .ct-reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   Conversion nudges — no images; drive attention to the form
   ============================================================ */
#contactform { scroll-margin-top: 100px; }

.ct-hero-copy--single { max-width: 780px; }
.ct-hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 4px; }
.ct-btn-primary {
    display: inline-flex; align-items: center; gap: 10px; background: var(--c-orange); color: #fff;
    font-weight: 800; font-size: 16px; padding: 15px 30px; border-radius: 999px;
    box-shadow: 0 12px 26px rgba(249, 115, 22, .34); transition: transform .15s ease, background .15s ease;
}
.ct-btn-primary:hover { background: var(--c-orange-2); color: #fff; transform: translateY(-2px); }
.ct-arrow { animation: ctBounce 1.6s ease-in-out infinite; }
@keyframes ctBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* Submit button attention pulse — invites the click */
@keyframes ctPulse {
    0%   { box-shadow: 0 12px 26px rgba(249, 115, 22, .30), 0 0 0 0 rgba(249, 115, 22, .45); }
    70%  { box-shadow: 0 12px 26px rgba(249, 115, 22, .30), 0 0 0 16px rgba(249, 115, 22, 0); }
    100% { box-shadow: 0 12px 26px rgba(249, 115, 22, .30), 0 0 0 0 rgba(249, 115, 22, 0); }
}
.ct-submit { animation: ctPulse 2.8s ease-out infinite; }
.ct-submit:hover { animation: none; }

/* Form becomes the focal point the moment the user engages */
.ct-formcard { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.ct-formcard:hover, .ct-formcard:focus-within { transform: translateY(-4px); box-shadow: var(--c-shadow); border-top-color: var(--c-cyan); }

/* Per-field completion feedback — encourages finishing */
.ct-field.is-filled .fld::after { content: " \2713"; color: var(--c-cyan); font-weight: 800; }
.ct-field.is-filled input, .ct-field.is-filled textarea { border-color: var(--c-cyan); }

/* ---------------- Calendly booking section ---------------- */
.ct-cal { padding: 24px 0 78px; }
.ct-cal__head { text-align: center; max-width: 640px; margin: 0 auto 34px; }
.ct-cal__head .ct-eyebrow { margin-bottom: 14px; }
.ct-cal__title { font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: var(--c-navy); margin: 0 0 10px; }
.ct-cal__embed { background: #fff; border: 1px solid var(--c-line); border-radius: var(--c-radius); box-shadow: var(--c-shadow-sm); overflow: hidden; }
