/* ═══════════════════════════════════════════════════════════════════════
   Client Zone page (/client-zone/): loaded after fibre.css. A hero with four
   "doors" (log in, usage, notices, support), one alternating section per
   tool with its image, live network notices, and a dark support section
   with channels, hours and a request form.
   ═══════════════════════════════════════════════════════════════════════ */

.cz-hero { padding-bottom: 64px; }
.cz-hero .fh-hero-bg img { object-position: center 30%; }
.cz-eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.cz-eyebrow svg { width: 15px; height: 15px; }
.cz-hero-head { max-width: 760px; }

/* Four doors */
.cz-doors { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cz-door { position: relative; display: flex; align-items: center; gap: 14px; height: 100%; padding: 20px; border-radius: 20px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; transition: background .25s, border-color .25s, transform .25s; }
.cz-door:hover { background: linear-gradient(135deg, #d82633, #99151c); border-color: transparent; box-shadow: 0 16px 40px rgba(216,38,51,0.35); transform: translateY(-3px); }
.cz-door:hover .cz-door-txt small { color: rgba(255,255,255,0.85); }
.cz-doors li:first-child .cz-door { background: linear-gradient(135deg, #d82633, #99151c); border-color: transparent; box-shadow: 0 16px 40px rgba(216,38,51,0.35); }
.cz-door-icon { position: relative; width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cz-door-icon svg { width: 22px; height: 22px; }
.cz-door-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: #fff; color: #d82633; font-size: 11px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.cz-door-txt { flex: 1; min-width: 0; }
.cz-door-txt strong { display: block; font-size: 15.5px; font-weight: 800; line-height: 1.25; }
.cz-door-txt small { display: block; color: rgba(255,255,255,0.65); font-size: 12.5px; margin-top: 2px; }
.cz-doors li:first-child .cz-door-txt small { color: rgba(255,255,255,0.85); }
.cz-door-go { width: 18px; height: 18px; opacity: .7; flex-shrink: 0; transition: transform .2s; }
.cz-door:hover .cz-door-go { transform: translate(2px, -2px); opacity: 1; }

/* ── Tool sections ── */
.cz-row { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.cz-row.is-flip .cz-media { order: 2; }
.cz-media { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 11; box-shadow: 0 30px 70px rgba(0,0,0,0.14); }
.cz-media > img { width: 100%; height: 100%; object-fit: cover; }
.cz-mock { position: absolute; right: 22px; bottom: 22px; width: 230px; padding: 16px; border-radius: 18px; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); box-shadow: 0 20px 50px rgba(0,0,0,0.22); display: flex; flex-direction: column; gap: 8px; }
.cz-mock-top { display: flex; align-items: center; gap: 7px; color: #111; font-size: 12.5px; font-weight: 800; margin-bottom: 2px; }
.cz-mock-top svg { width: 14px; height: 14px; color: #d82633; }
.cz-mock-field { padding: 9px 11px; border-radius: 9px; border: 1px solid #e5e7eb; background: #fff; color: #9ca3af; font-size: 12px; }
.cz-mock-btn { padding: 9px; border-radius: 9px; background: #d82633; color: #fff; font-size: 12.5px; font-weight: 800; text-align: center; }
.cz-mock-bars { display: flex; align-items: flex-end; gap: 6px; height: 70px; padding: 6px 2px; }
.cz-mock-bars i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: linear-gradient(#ff4d5a, #d82633); transform-origin: bottom; animation: cz-grow 1.2s cubic-bezier(.2,.8,.2,1) both; }
.cz-mock-bars i:nth-child(2) { animation-delay: .08s; } .cz-mock-bars i:nth-child(3) { animation-delay: .16s; } .cz-mock-bars i:nth-child(4) { animation-delay: .24s; } .cz-mock-bars i:nth-child(5) { animation-delay: .32s; } .cz-mock-bars i:nth-child(6) { animation-delay: .4s; } .cz-mock-bars i:nth-child(7) { animation-delay: .48s; }
@keyframes cz-grow { from { transform: scaleY(0); } }
.cz-step { display: inline-block; margin-bottom: 10px; color: #d82633; font-size: 14px; font-weight: 900; letter-spacing: .14em; }
.cz-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cz-list li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid #f0f0f0; color: #374151; font-size: 14px; font-weight: 600; line-height: 1.35; }
.cz-list svg { width: 18px; height: 18px; color: #d82633; flex-shrink: 0; }
.cz-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cz-hint { display: flex; align-items: center; gap: 8px; color: #6b7280; font-size: 13.5px; }
.cz-hint svg { width: 15px; height: 15px; color: #9ca3af; flex-shrink: 0; }
.cz-hint a { color: #d82633; font-weight: 700; }

/* Live notices */
.cz-live { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: #111; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.cz-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,0.6); animation: cz-pulse 1.8s infinite; }
@keyframes cz-pulse { 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.cz-notices { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cz-notices li { padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid #f0f0f0; border-left: 4px solid #9ca3af; }
.cz-notices li.is-high { border-left-color: #d82633; }
.cz-notices li.is-medium { border-left-color: #f59e0b; }
.cz-n-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.cz-n-impact { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: #f3f4f6; color: #4b5563; font-size: 11.5px; font-weight: 800; }
.cz-n-impact svg { width: 13px; height: 13px; }
.is-high .cz-n-impact { background: #fdecee; color: #b91c1c; }
.is-medium .cz-n-impact { background: #fef3c7; color: #92400e; }
.cz-notices time { color: #9ca3af; font-size: 12px; font-weight: 600; }
.cz-notices h3 { color: #111; font-size: 15px; font-weight: 800; line-height: 1.35; overflow-wrap: anywhere; }
.cz-notices p { color: #6b7280; font-size: 13px; line-height: 1.5; margin-top: 4px; overflow-wrap: anywhere; }

/* ── Support (dark) ── */
.cz-support-sec { position: relative; background: #0d0d0d; overflow: hidden; }
.cz-support-sec::before { content: ''; position: absolute; left: -10%; bottom: -40%; width: 70%; height: 110%; background: radial-gradient(ellipse, rgba(216,38,51,0.2), transparent 60%); pointer-events: none; }
.cz-support-sec > div { position: relative; }
/* Photo behind the support section, drifting with the scroll (data-parallax, Assets/js/site.js) */
.cz-support-sec > .cz-support-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.cz-support-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transform: scale(1.25); opacity: 0.55; will-change: transform; }
.cz-support-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,13,13,0.72) 0%, rgba(13,13,13,0.6) 45%, rgba(13,13,13,0.8) 100%); }
@media (prefers-reduced-motion: reduce) { .cz-support-bg img { transform: none; } }
.cz-support { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 24px; align-items: start; }
.cz-channels { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cz-chan { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 18px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: #fff; transition: border-color .2s, background .2s; }
.cz-chan:hover { border-color: rgba(216,38,51,0.6); background: rgba(216,38,51,0.08); }
.cz-chan.is-wa { background: linear-gradient(135deg, rgba(37,211,102,0.16), rgba(37,211,102,0.04)); border-color: rgba(37,211,102,0.35); }
.cz-chan-icon { width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cz-chan-icon svg { width: 22px; height: 22px; }
.cz-chan.is-wa .cz-chan-icon { background: #25d366; }
.cz-chan > span:nth-child(2) { flex: 1; min-width: 0; }
.cz-chan small { display: block; color: rgba(255,255,255,0.6); font-size: 12.5px; }
.cz-chan strong { display: block; font-size: 20px; font-weight: 900; letter-spacing: -0.01em; }
.cz-chan-go { width: 18px; height: 18px; opacity: .6; flex-shrink: 0; }
.cz-hours, .cz-first { padding: 18px 20px; border-radius: 18px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); color: #fff; }
.cz-hours-title, .cz-first > p { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 800; font-size: 14.5px; margin-bottom: 10px; }
.cz-hours-title svg, .cz-first > p svg { width: 17px; height: 17px; color: #ff4d5a; }
.cz-open { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); font-size: 11.5px; font-weight: 800; }
.cz-open.is-open { background: rgba(34,197,94,0.18); color: #86efac; }
.cz-hours dl { margin: 0; }
.cz-hours dl div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px dashed rgba(255,255,255,0.1); font-size: 13.5px; }
.cz-hours dt { color: rgba(255,255,255,0.65); }
.cz-hours dd { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cz-first ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.cz-first li { position: relative; padding-left: 16px; color: rgba(255,255,255,0.72); font-size: 13.5px; line-height: 1.45; }
.cz-first li::before { content: ''; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: #d82633; }
.cz-first a { color: #fff; text-decoration: underline; text-decoration-color: #d82633; text-underline-offset: 3px; }

.cz-form { padding: 30px; border-radius: 24px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,0.35); min-width: 0; }
.cz-form-title { color: #111; font-size: 20px; font-weight: 900; margin-bottom: 18px; }
.cz-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.cz-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cz-field.is-full { grid-column: 1 / -1; }
.cz-field span { color: #374151; font-size: 13px; font-weight: 700; }
.cz-field input, .cz-field select, .cz-field textarea { width: 100%; font: inherit; font-size: 15px; color: #111; padding: 12px 14px; border: 1.5px solid #e5e7eb; border-radius: 12px; background: #fafafa; outline: none; transition: border-color .2s, background .2s; resize: vertical; min-width: 0; }
.cz-field input:focus, .cz-field select:focus, .cz-field textarea:focus { border-color: #d82633; background: #fff; }
.cz-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cz-send:disabled { opacity: .7; cursor: wait; }
.cz-form-msg { margin-top: 12px; font-size: 14px; font-weight: 600; text-align: center; line-height: 1.45; }
.cz-form-msg:empty { display: none; }
.cz-form-msg.is-ok { color: #15803d; }
.cz-form-msg.is-error { color: #d82633; }

/* ── Dark theme ── */
[data-theme="dark"] .cz-list li, [data-theme="dark"] .cz-notices li, [data-theme="dark"] .cz-form { background: #16171d; border-color: rgba(255,255,255,0.07); }
[data-theme="dark"] .cz-notices li.is-high { border-left-color: #d82633; }
[data-theme="dark"] .cz-notices li.is-medium { border-left-color: #f59e0b; }
[data-theme="dark"] .cz-list li, [data-theme="dark"] .cz-field span { color: rgba(255,255,255,0.75); }
[data-theme="dark"] .cz-notices h3, [data-theme="dark"] .cz-live, [data-theme="dark"] .cz-form-title { color: #fff; }
[data-theme="dark"] .cz-notices p, [data-theme="dark"] .cz-hint { color: rgba(255,255,255,0.6); }
[data-theme="dark"] .cz-n-impact { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.75); }
[data-theme="dark"] .is-high .cz-n-impact { background: rgba(216,38,51,0.18); color: #fca5a5; }
[data-theme="dark"] .is-medium .cz-n-impact { background: rgba(245,158,11,0.16); color: #fcd34d; }
[data-theme="dark"] .cz-field input, [data-theme="dark"] .cz-field select, [data-theme="dark"] .cz-field textarea { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.12); color: #fff; }
[data-theme="dark"] .cz-form { box-shadow: none; }

@media (prefers-reduced-motion: reduce) {
    .cz-mock-bars i, .cz-live-dot { animation: none; }
}

/* ── Tablets ── */
@media (max-width: 1100px) {
    .cz-doors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
    .cz-row { grid-template-columns: 1fr; gap: 32px; }
    .cz-row.is-flip .cz-media { order: 0; }
    .cz-support { grid-template-columns: minmax(0, 1fr); }
}

/* ── Phones ── */
@media (max-width: 767px) {
    .cz-hero { padding-bottom: 40px; }
    .cz-doors { gap: 10px; margin-top: 24px; }
    .cz-door { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; border-radius: 16px; }
    .cz-door-icon { width: 40px; height: 40px; border-radius: 12px; }
    .cz-door-icon svg { width: 19px; height: 19px; }
    .cz-door-txt strong { font-size: 14px; }
    .cz-door-txt small { font-size: 12px; }
    .cz-door-go { position: absolute; top: 14px; right: 14px; width: 16px; height: 16px; }
    .cz-media { border-radius: 20px; aspect-ratio: 4 / 3; }
    .cz-mock { right: 12px; bottom: 12px; width: 180px; padding: 12px; gap: 6px; border-radius: 14px; }
    .cz-mock-field, .cz-mock-btn { padding: 7px 9px; font-size: 11px; }
    .cz-mock-bars { height: 48px; }
    .cz-list { grid-template-columns: 1fr; gap: 8px; margin-bottom: 22px; }
    .cz-list li { padding: 11px 12px; font-size: 13.5px; }
    .cz-hint { align-items: flex-start; font-size: 13px; }
    .cz-hint svg { margin-top: 2px; }
    .cz-chan { padding: 14px 16px; }
    .cz-chan strong { font-size: 18px; }
    .cz-hours dl div { flex-direction: column; gap: 1px; }
    .cz-form { padding: 22px 18px; border-radius: 20px; }
    .cz-form-grid { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 359px) {
    .cz-doors { grid-template-columns: 1fr; }
    .cz-door { flex-direction: row; align-items: center; }
    .cz-door-go { position: static; }
}
