/* ==========================================================================
   Insight Metrics Contact Form — Public styles
   Breaks out of Elementor/theme padding via 100vw trick so the background
   reaches the page edges on every device. No visible card — fully blended.
   All selectors prefixed .jcf- to avoid theme collisions.
   ========================================================================== */

/* --- Viewport breakout so WP/Elementor container padding doesn't cut us --- */
.jcf-wrap,
.jcf-wrap * { box-sizing: border-box; }
.jcf-wrap {
    position: relative;
    left: 50%; right: 50%;
    width: 100vw;
    margin-left: -50vw; margin-right: -50vw;
    max-width: 100vw;
    padding: 48px 28px 88px;
    background: transparent;
    color: #111;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: 0.2px;
    overflow: hidden;
}
.jcf-wrap a { text-decoration: none; }
.jcf-wrap .jcf-hero,
.jcf-wrap .jcf-main {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}

.jcf-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.jcf-blob { position: absolute; border-radius: 50%; filter: blur(100px); }
.jcf-blob-1 { top: -160px; right: -120px; width: 420px; height: 420px; background: radial-gradient(circle, #F97316 0%, transparent 65%); opacity: .08; }
.jcf-blob-2 { top: 50%; left: -160px; width: 380px; height: 380px; background: radial-gradient(circle, #DC2626 0%, transparent 65%); opacity: .05; }
.jcf-blob-3 { bottom: -120px; right: 20%; width: 320px; height: 320px; background: radial-gradient(circle, #7C3AED 0%, transparent 65%); opacity: .04; }

/* HERO */
.jcf-hero { position: relative; z-index: 1; text-align: center; padding: 48px 20px 56px; }
.jcf-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 10px; font-weight: 600;
    letter-spacing: 2.5px; text-transform: uppercase; color: #9A3412;
    background: rgba(255,255,255,.6);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: .5px solid rgba(0,0,0,.06);
    padding: 8px 16px; border-radius: 999px;
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
    margin-bottom: 24px;
}
.jcf-eyebrow-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: linear-gradient(135deg,#F97316,#DC2626);
    box-shadow: 0 0 10px rgba(249,115,22,.6);
}
.jcf-headline {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 88px; font-weight: 400; line-height: .92;
    letter-spacing: -3.5px; color: #111; margin: 0 0 24px;
}
.jcf-headline .g {
    background: linear-gradient(135deg,#F97316 0%,#DC2626 50%,#7C3AED 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    font-style: italic; font-weight: 500;
}
.jcf-headline .dot { color: #DC2626; }
.jcf-divider { width: 56px; height: 1px; background: linear-gradient(90deg,transparent,#DC2626,transparent); margin: 0 auto 24px; }
.jcf-subhead {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 19px; font-weight: 400; color: #4B5563;
    line-height: 1.55; max-width: 620px; margin: 0 auto;
    letter-spacing: -.2px; font-style: italic;
}
.jcf-flourish { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 32px; color: #9A3412; }
.jcf-flourish-line { width: 64px; height: .5px; background: linear-gradient(90deg,transparent,#D97706); }
.jcf-flourish-line.r { background: linear-gradient(90deg,#D97706,transparent); }
.jcf-flourish-sym { font-family: 'Fraunces', Georgia, serif; font-style: italic; font-size: 16px; }

/* MAIN GRID */
.jcf-main { position: relative; z-index: 1; display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; margin-top: 32px; }

/* LEFT */
.jcf-left { padding-top: 20px; }
.jcf-left-kicker {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 10px; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: #9A3412; margin-bottom: 20px;
}
.jcf-left-kicker::before { content: ''; width: 28px; height: 1px; background: linear-gradient(90deg,#F97316,#DC2626); }
.jcf-left h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 42px; font-weight: 400; line-height: 1.0;
    letter-spacing: -1.5px; margin: 0 0 18px;
}
.jcf-left h2 em {
    background: linear-gradient(135deg,#F97316,#DC2626);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    font-style: italic; font-weight: 500;
}
.jcf-left-quote {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 17px; font-style: italic; color: #374151;
    line-height: 1.6; padding-left: 18px;
    border-left: 1.5px solid #F97316; margin: 0 0 32px;
}
.jcf-channels { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }

.jcf-chan {
    position: relative;
    display: flex; align-items: center; gap: 16px;
    padding: 20px 22px;
    background: rgba(255,255,255,.7);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: .5px solid rgba(0,0,0,.06);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,.03);
    transition: all .3s ease;
    color: inherit;
    overflow: hidden;
}
.jcf-chan::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(249,115,22,.05), rgba(124,58,237,.05));
    opacity: 0; transition: opacity .3s;
}
.jcf-chan:hover {
    transform: translateY(-3px);
    border-color: rgba(249,115,22,.2);
    box-shadow: 0 18px 44px rgba(249,115,22,.12);
}
.jcf-chan:hover::before { opacity: 1; }
.jcf-chan > * { position: relative; z-index: 1; }

.jcf-chan-ico {
    width: 48px; height: 48px; border-radius: 13px;
    background: linear-gradient(135deg,#FFF4EA,#FED7AA);
    display: flex; align-items: center; justify-content: center;
    color: #DC2626; flex-shrink: 0;
    box-shadow: inset 0 0 0 .5px rgba(220,38,38,.15);
}
.jcf-chan-ico svg { width: 20px; height: 20px; }
.jcf-chan-body { flex: 1; min-width: 0; }
.jcf-chan-label {
    font-size: 9px; font-weight: 600; letter-spacing: 1.8px;
    text-transform: uppercase; color: #9A3412; margin-bottom: 4px;
}
.jcf-chan-value {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 19px; font-weight: 500; color: #111;
    letter-spacing: -.3px; margin-bottom: 2px;
    word-break: break-word;
}
.jcf-chan-sub { font-size: 12px; color: #6B7280; }
.jcf-chan-arrow {
    width: 32px; height: 32px; border-radius: 50%;
    background: #fff; border: .5px solid rgba(0,0,0,.06);
    display: flex; align-items: center; justify-content: center;
    color: #DC2626; flex-shrink: 0;
    transition: all .3s;
}
.jcf-chan:hover .jcf-chan-arrow {
    background: linear-gradient(135deg,#F97316,#DC2626);
    color: #fff; transform: translateX(4px); border-color: transparent;
}
.jcf-chan-arrow svg { width: 14px; height: 14px; }

.jcf-socials {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    padding-top: 20px; border-top: .5px solid rgba(0,0,0,.08);
}
.jcf-socials-label {
    font-size: 10px; font-weight: 600; letter-spacing: 1.5px;
    text-transform: uppercase; color: #9A3412;
}
.jcf-social-btn {
    width: 38px; height: 38px; border-radius: 12px;
    background: rgba(255,255,255,.7);
    border: .5px solid rgba(0,0,0,.06);
    display: flex; align-items: center; justify-content: center;
    color: #374151; transition: all .2s;
    font-size: 11px; font-weight: 700; letter-spacing: .5px;
}
.jcf-social-btn:hover {
    background: linear-gradient(135deg,#F97316,#DC2626);
    color: #fff; transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249,115,22,.3);
    border-color: transparent;
}

/* FORM CARD — fully transparent, blends with page */
.jcf-form-shell { position: relative; }
.jcf-form-card {
    position: relative;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    overflow: visible;
}

/* TAB TOGGLE */
.jcf-tabs {
    position: relative; display: grid; grid-template-columns: 1fr 1fr;
    background: rgba(249,250,251,.8);
    border: .5px solid rgba(0,0,0,.08);
    border-radius: 14px; padding: 4px; margin-bottom: 24px;
}
.jcf-tabs-indicator {
    position: absolute; top: 4px; left: 4px;
    width: calc(50% - 4px); height: calc(100% - 8px);
    background: linear-gradient(135deg,#111,#1a1a1a);
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.1);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    z-index: 1;
    pointer-events: none;
}
.jcf-tabs[data-active="recover"] .jcf-tabs-indicator { transform: translateX(100%); }
.jcf-tab-btn {
    position: relative; z-index: 2;
    padding: 14px 8px; background: transparent; border: none;
    font-family: inherit; font-size: 11px; font-weight: 600;
    letter-spacing: 1.2px; text-transform: uppercase;
    color: #6B7280; cursor: pointer; transition: color .25s;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
}
.jcf-tab-btn.active { color: #fff; }
.jcf-tab-btn svg { width: 12px; height: 12px; pointer-events: none; }
.jcf-tab-btn * { pointer-events: none; }

.jcf-panel { display: none; }
.jcf-panel.active { display: block; animation: jcfFade .35s ease; }
@keyframes jcfFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* FORM HEAD */
.jcf-form-head { margin-bottom: 20px; position: relative; }
.jcf-form-stamp {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 10px; font-weight: 600; letter-spacing: 2px;
    text-transform: uppercase; color: #9A3412; margin-bottom: 12px;
}
.jcf-form-stamp::before { content: '✦'; color: #F97316; font-size: 12px; }
.jcf-form-head h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 34px; font-weight: 400; line-height: 1.05;
    letter-spacing: -1.2px; margin: 0 0 10px;
}
.jcf-form-head h3 em {
    background: linear-gradient(135deg,#F97316,#DC2626);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    font-style: italic; font-weight: 500;
}
.jcf-form-head p {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 15px; color: #6B7280; line-height: 1.6; font-style: italic;
    margin: 0;
}

/* FIELDS */
.jcf-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.jcf-form-group { margin-bottom: 14px; position: relative; }
.jcf-form-group label {
    display: block; font-size: 10px; font-weight: 600;
    color: #6B7280; margin-bottom: 8px;
    letter-spacing: 1.5px; text-transform: uppercase;
}
.jcf-input, .jcf-select, .jcf-textarea {
    width: 100%; padding: 15px 18px;
    background: rgba(249,250,251,.7);
    border: .5px solid rgba(0,0,0,.08);
    border-radius: 14px;
    font-size: 16px; /* 16px prevents iOS auto-zoom */
    font-family: inherit; color: #111;
    transition: all .25s;
    -webkit-appearance: none; appearance: none;
}
.jcf-input::placeholder, .jcf-textarea::placeholder {
    color: #9CA3AF; font-family: 'Fraunces', Georgia, serif;
    font-style: italic; font-size: 14px;
}
.jcf-input:focus, .jcf-select:focus, .jcf-textarea:focus {
    outline: none; background: #fff; border-color: #F97316;
    box-shadow: 0 0 0 4px rgba(249,115,22,.1), 0 8px 24px rgba(249,115,22,.08);
}
.jcf-textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.jcf-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 18px center;
    padding-right: 48px; cursor: pointer;
}
.jcf-input-hint { font-size: 11px; color: #9CA3AF; margin-top: 6px; line-height: 1.5; }
.jcf-input-hint code { background: #F9FAFB; padding: 1px 6px; border-radius: 4px; font-size: 10px; }

/* helper */
.jcf-helper {
    font-size: 12px; color: #6B7280; line-height: 1.6;
    margin: 6px 0 18px; padding: 10px 14px;
    background: rgba(249,115,22,.06);
    border-left: 2px solid #F97316;
    border-radius: 4px;
}
.jcf-helper strong { color: #9A3412; }

/* CONSENT */
.jcf-consent { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0 18px; }
.jcf-consent input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; accent-color: #F97316; cursor: pointer; flex-shrink: 0; }
.jcf-consent label { font-size: 12px; color: #6B7280; line-height: 1.55; cursor: pointer; letter-spacing: normal; text-transform: none; font-weight: 400; margin: 0; }
.jcf-consent a { color: #DC2626; font-weight: 500; }
.jcf-consent a:hover { text-decoration: underline; }

/* HONEYPOT */
.jcf-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px; height: 1px;
    opacity: 0; pointer-events: none;
}

/* SLIDE TO VERIFY */
.jcf-verify {
    position: relative; user-select: none;
    background: #F9FAFB;
    border: .5px solid rgba(0,0,0,.08);
    border-radius: 14px; height: 56px; overflow: hidden;
    margin-bottom: 14px; transition: all .3s;
    touch-action: pan-y;
}
.jcf-verify.verified {
    background: linear-gradient(90deg, rgba(16,185,129,.1), rgba(16,185,129,.18));
    border-color: rgba(16,185,129,.4);
}
.jcf-verify-track { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.jcf-verify-text {
    font-size: 12px; font-weight: 500; color: #6B7280;
    letter-spacing: .3px; pointer-events: none;
    padding-left: 56px; transition: opacity .3s;
    text-align: center;
}
.jcf-verify.verified .jcf-verify-text { color: #059669; font-weight: 600; padding-left: 0; }
.jcf-verify-fill {
    position: absolute; top: 0; left: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(249,115,22,.2), rgba(220,38,38,.25));
    width: 0; pointer-events: none;
}
.jcf-verify.verified .jcf-verify-fill { background: linear-gradient(90deg, rgba(16,185,129,.2), rgba(16,185,129,.3)); }
.jcf-verify-handle {
    position: absolute; top: 4px; left: 4px;
    width: 48px; height: 48px; border-radius: 10px;
    background: linear-gradient(135deg,#F97316,#DC2626);
    border: none;
    display: flex; align-items: center; justify-content: center;
    color: #fff; cursor: grab;
    box-shadow: 0 6px 18px rgba(249,115,22,.4);
    transition: box-shadow .2s; z-index: 2;
    touch-action: none;
    -webkit-tap-highlight-color: transparent;
}
.jcf-verify-handle:active { cursor: grabbing; }
.jcf-verify.verified .jcf-verify-handle { background: linear-gradient(135deg,#10B981,#059669); box-shadow: 0 6px 18px rgba(16,185,129,.4); }
.jcf-verify-handle svg { width: 20px; height: 20px; pointer-events: none; }

/* SUBMIT */
.jcf-cta-wrap { position: relative; }
.jcf-cta-halo {
    position: absolute; inset: 4px;
    background: linear-gradient(90deg,#F97316,#DC2626);
    border-radius: 16px; filter: blur(20px);
    opacity: .4; pointer-events: none;
    animation: jcfHalo 3s ease-in-out infinite;
}
@keyframes jcfHalo { 0%,100% { opacity: .4; } 50% { opacity: .6; } }
.jcf-submit {
    position: relative; width: 100%;
    background: linear-gradient(90deg,#111 0%,#1a1a1a 100%);
    color: #fff; border: none; padding: 20px; border-radius: 16px;
    font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
    display: flex; align-items: center; justify-content: center; gap: 12px;
    cursor: pointer;
    box-shadow: 0 22px 54px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.12);
    font-family: inherit; min-height: 60px;
    transition: transform .15s;
    -webkit-tap-highlight-color: transparent;
}
.jcf-submit:disabled { opacity: .55; cursor: not-allowed; }
.jcf-submit:not(:disabled):hover { transform: translateY(-2px); }
.jcf-submit-arrow {
    position: absolute; right: 10px;
    width: 38px; height: 38px; border-radius: 50%;
    background: linear-gradient(135deg,#F97316,#DC2626);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 18px rgba(249,115,22,.5);
    transition: transform .3s;
}
.jcf-submit:not(:disabled):hover .jcf-submit-arrow { transform: rotate(-45deg); }
.jcf-submit-arrow svg { width: 16px; height: 16px; color: #fff; }

/* FOOTER */
.jcf-form-footer {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 18px; gap: 14px; flex-wrap: wrap;
    padding-top: 18px; border-top: .5px solid rgba(0,0,0,.06);
}
.jcf-live { display: flex; align-items: center; gap: 8px; }
.jcf-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #10B981; box-shadow: 0 0 8px #10B981; animation: jcfPulse 2s ease-in-out infinite; }
@keyframes jcfPulse { 0%,100% { opacity: 1; } 50% { opacity: .5; } }
.jcf-live span { font-size: 11px; color: #6B7280; }
.jcf-live strong { color: #111; font-weight: 600; }
.jcf-secure { font-size: 10px; color: #6B7280; }
.jcf-secure strong { color: #111; }

/* STATUS MESSAGES */
.jcf-status {
    margin-top: 14px; padding: 13px 16px;
    border-radius: 12px; font-size: 13px; line-height: 1.55;
    display: none;
}
.jcf-status.show { display: block; }
.jcf-status.success { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.jcf-status.error   { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.jcf-status.info    { background: #EFF6FF; color: #1E40AF; border: 1px solid #BFDBFE; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 960px) {
    .jcf-wrap { padding: 32px 20px 64px; }
    .jcf-main { grid-template-columns: 1fr; gap: 36px; margin-top: 24px; }
    .jcf-hero { padding: 20px 4px 40px; }
    .jcf-headline { font-size: 60px; letter-spacing: -2.4px; margin-bottom: 20px; }
    .jcf-subhead { font-size: 17px; }
    .jcf-left h2 { font-size: 34px; letter-spacing: -1px; }
    .jcf-left-quote { font-size: 16px; }
    .jcf-form-head h3 { font-size: 30px; }
}

@media (max-width: 640px) {
    .jcf-wrap {
        padding: 24px 16px 56px;
    }
    .jcf-hero { padding: 12px 0 32px; }
    .jcf-eyebrow { font-size: 9px; letter-spacing: 2px; padding: 7px 14px; margin-bottom: 18px; }
    .jcf-headline { font-size: 44px; letter-spacing: -1.6px; margin-bottom: 18px; line-height: .96; }
    .jcf-divider { width: 44px; margin-bottom: 18px; }
    .jcf-subhead { font-size: 15px; line-height: 1.55; }
    .jcf-flourish { margin-top: 24px; }
    .jcf-flourish-line { width: 36px; }

    .jcf-main { gap: 32px; margin-top: 20px; }
    .jcf-left { padding-top: 0; }
    .jcf-left h2 { font-size: 28px; letter-spacing: -.8px; }
    .jcf-left-quote { font-size: 15px; padding-left: 14px; margin-bottom: 26px; }

    .jcf-form-row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
    .jcf-form-head h3 { font-size: 26px; letter-spacing: -.8px; }
    .jcf-form-head p { font-size: 14px; }

    .jcf-chan { padding: 16px 16px; gap: 12px; border-radius: 16px; }
    .jcf-chan-ico { width: 42px; height: 42px; border-radius: 11px; }
    .jcf-chan-ico svg { width: 18px; height: 18px; }
    .jcf-chan-value { font-size: 17px; }
    .jcf-chan-arrow { width: 28px; height: 28px; }

    .jcf-tabs { margin-bottom: 20px; }
    .jcf-tab-btn { font-size: 10px; letter-spacing: 1px; padding: 13px 6px; min-height: 46px; }
    .jcf-tab-btn svg { display: none; }

    .jcf-input, .jcf-select, .jcf-textarea { padding: 14px 16px; border-radius: 12px; font-size: 16px; }
    .jcf-input::placeholder, .jcf-textarea::placeholder { font-size: 13px; }

    .jcf-verify { height: 54px; }
    .jcf-verify-handle { width: 46px; height: 46px; }
    .jcf-verify-text { font-size: 11.5px; padding-left: 52px; }

    .jcf-submit { padding: 18px; min-height: 58px; font-size: 11.5px; letter-spacing: 1.6px; border-radius: 14px; }
    .jcf-submit-arrow { width: 34px; height: 34px; right: 8px; }

    .jcf-form-footer { flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 14px; margin-top: 14px; }
}

@media (max-width: 400px) {
    .jcf-wrap { padding: 20px 14px 48px; }
    .jcf-headline { font-size: 38px; letter-spacing: -1.2px; }
    .jcf-subhead { font-size: 14.5px; }
    .jcf-left h2 { font-size: 26px; }
    .jcf-form-head h3 { font-size: 24px; }
    .jcf-submit { padding: 16px; font-size: 11px; letter-spacing: 1.4px; min-height: 54px; }
    .jcf-submit-arrow { width: 30px; height: 30px; }
    .jcf-chan-value { font-size: 15.5px; }
    .jcf-chan-sub { font-size: 11.5px; }
}
