/* Contact (Salguri support), the Help Desk and About — from the Figma design. */
:root { --brand-blue: #0000ff; --brand-navy: #0d2440; --brand-pale: #caf0f8; --gray-100: #f3f4f6; --gray-200: #e5e7eb; --gray-300: #d1d5db; --gray-400: #9ca3af; --gray-500: #6b7280; --gray-600: #4b5563; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ── Contact ─────────────────────────────────────────────────────────── */
.sp-narrow { max-width: 672px; }
.sp-eyebrow { font-size: .75rem; font-weight: 700; color: var(--brand-blue); text-transform: uppercase; letter-spacing: .05em; margin: 0 0 16px; }
.sp-eyebrow.light { color: #93c5fd; }
.sp-hero { background: #fff; padding: 64px 0 40px; }
.sp-hero h1 { font-size: clamp(2.25rem, 5vw, 3rem); font-weight: 700; color: var(--brand-navy); margin: 0 0 16px; letter-spacing: -.02em; }
.sp-lead { font-size: 1.125rem; color: var(--gray-500); line-height: 1.65; margin: 0; }
.sp-band { background: #fafbfe; border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100); padding: 48px 0; }
.sp-band h2 { font-size: 1.5rem; font-weight: 700; color: var(--brand-navy); margin: 0 0 12px; }
.sp-muted { color: var(--gray-500); line-height: 1.65; margin: 0 0 32px; }
.sp-cards { display: grid; gap: 16px; }
.sp-card { display: flex; gap: 16px; border: 1px solid var(--gray-100); background: #fff; border-radius: 16px; padding: 20px; }
.sp-card h3 { font-size: 1rem; font-weight: 700; color: var(--brand-navy); margin: 0; letter-spacing: 0; }
.sp-card p { margin: 4px 0 0; font-size: .875rem; line-height: 1.6; color: var(--gray-500); }
.sp-card-icon { display: flex; width: 40px; height: 40px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 12px; background: rgba(202, 240, 248, .6); color: var(--brand-blue); }
.sp-card-icon svg { width: 20px; height: 20px; }
.sp-open { margin-top: 32px; display: inline-flex; min-height: 48px; align-items: center; gap: 12px; border: 0; border-radius: 12px; background: var(--brand-blue); padding: 0 24px; font-size: .875rem; font-weight: 700; color: #fff; transition: transform .2s, background .2s, box-shadow .2s; }
.sp-open svg { width: 20px; height: 20px; }
.sp-open:hover { transform: translateY(-2px); background: #1d4ed8; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1); }
.sp-closing { background: #fff; padding: 56px 0; }
.sp-closing-grid { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; }
.sp-note-card { border: 1px solid var(--gray-100); border-radius: 16px; padding: 24px; }
.sp-note-card .sp-eyebrow { margin: 0; }
.sp-note-card p:not(.sp-eyebrow) { margin: 8px 0 0; font-size: .875rem; line-height: 1.6; color: var(--gray-500); }
.sp-note-card.dark { background: var(--brand-navy); border-color: var(--brand-navy); }
.sp-note-card.dark p:not(.sp-eyebrow) { color: rgba(255, 255, 255, .7); }

/* ── Help Desk ───────────────────────────────────────────────────────── */
.hd-launcher { position: fixed; bottom: 24px; right: 24px; z-index: 70; display: flex; width: 64px; height: 64px; align-items: center; justify-content: center; border: 0; border-radius: 16px; background: var(--brand-blue); color: #fff; box-shadow: 0 12px 32px rgba(0, 0, 255, .28); transition: transform .2s, background .2s; }
.hd-launcher svg { width: 28px; height: 28px; }
.hd-launcher:hover { transform: translateY(-4px); background: #1d4ed8; }
.hd-launcher:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 4px; }
.hd-badge { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #ef4444; color: #fff; font-size: .75rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.hd-panel { position: fixed; left: 16px; right: 16px; bottom: 96px; z-index: 60; max-height: calc(100vh - 180px); overflow-y: auto; border: 1px solid var(--gray-200); border-radius: 24px; background: #fff; box-shadow: 0 24px 80px rgba(13, 36, 64, .24); display: flex; flex-direction: column; }
@media (min-width: 640px) { .hd-panel { left: auto; right: 24px; width: 440px; } }
.hd-head { display: flex; align-items: center; justify-content: space-between; background: var(--brand-navy); padding: 16px 20px; color: #fff; position: sticky; top: 0; z-index: 1; }
@media (min-width: 640px) { .hd-head { padding: 16px 28px; } }
.hd-head-title { display: flex; align-items: center; gap: 12px; }
.hd-head-title h2 { font-size: 1rem; font-weight: 700; color: #fff; margin: 0; letter-spacing: 0; }
.hd-head-icon { display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 12px; background: rgba(255, 255, 255, .1); }
.hd-head-icon svg { width: 20px; height: 20px; }
.hd-status { margin-top: 2px; display: flex; align-items: center; gap: 6px; font-size: .75rem; color: rgba(255, 255, 255, .65); }
.hd-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gray-400); }
.hd-dot.on { background: #34d399; }
.hd-head-actions { display: flex; gap: 4px; }
.hd-icon-btn { display: flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 0; border-radius: 8px; background: transparent; color: rgba(255, 255, 255, .75); }
.hd-icon-btn svg { width: 20px; height: 20px; }
.hd-icon-btn:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.hd-body { padding: 20px; }
@media (min-width: 640px) { .hd-body { padding: 32px; } }
.hd-welcome { margin-bottom: 28px; border-radius: 16px; background: rgba(202, 240, 248, .4); padding: 20px; }
.hd-welcome p { margin: 6px 0 0; font-size: .875rem; line-height: 1.6; color: var(--gray-600); }
.hd-welcome .hd-welcome-title { margin: 0; font-weight: 700; color: var(--brand-navy); font-size: 1rem; }
.hd-options { display: grid; gap: 16px; }
.hd-option { display: flex; width: 100%; align-items: center; gap: 16px; border: 1px solid var(--gray-200); border-radius: 16px; padding: 20px; background: #fff; text-align: left; color: inherit; transition: transform .2s, border-color .2s, box-shadow .2s, background .2s; }
.hd-option:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--brand-blue); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1); }
.hd-option-icon { display: flex; width: 48px; height: 48px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 12px; background: rgba(202, 240, 248, .5); color: var(--brand-blue); }
.hd-option-icon svg { width: 24px; height: 24px; }
.hd-option-text { min-width: 0; flex: 1; }
.hd-option-text strong { display: block; color: var(--brand-navy); }
.hd-option-text span { display: block; margin-top: 4px; font-size: .875rem; color: var(--gray-500); }
.hd-option-arrow { color: var(--gray-300); transition: color .2s, transform .2s; }
.hd-option-arrow svg { width: 20px; height: 20px; }
.hd-option:hover .hd-option-arrow { color: var(--brand-blue); }
.hd-option.primary { border-color: var(--brand-blue); background: var(--brand-blue); color: #fff; }
.hd-option.primary .hd-option-icon { background: rgba(255, 255, 255, .15); color: #fff; }
.hd-option.primary strong { color: #fff; }
.hd-option.primary .hd-option-text span, .hd-option.primary .hd-option-arrow { color: rgba(255, 255, 255, .7); }
.hd-option.primary:hover:not(:disabled) { background: #1d4ed8; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1); }
.hd-option.primary:hover:not(:disabled) .hd-option-arrow { transform: translateX(4px); color: rgba(255, 255, 255, .7); }
.hd-option:disabled { opacity: 1; cursor: not-allowed; }
.hd-option.primary:disabled { background: var(--gray-100); border-color: var(--gray-200); color: var(--gray-500); }
.hd-option.primary:disabled .hd-option-icon { background: #fff; color: var(--gray-400); }
.hd-option.primary:disabled strong { color: var(--gray-500); }
.hd-option.primary:disabled .hd-option-text span, .hd-option.primary:disabled .hd-option-arrow { color: var(--gray-400); }
.hd-note { margin: 24px 0 0; text-align: center; font-size: .75rem; color: var(--gray-400); }
.hd-composer .hd-note { margin-top: 8px; }

.hd-form-head { margin-bottom: 24px; }
.hd-eyebrow { margin: 0; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--brand-blue); }
.hd-form-head h3 { margin: 8px 0 0; font-size: 1.5rem; font-weight: 700; color: var(--brand-navy); }
.hd-form-head p:not(.hd-eyebrow) { margin: 8px 0 0; font-size: .875rem; color: var(--gray-500); }
.hd-body label { display: block; margin: 16px 0 6px; font-size: .875rem; font-weight: 600; color: var(--brand-navy); }
.hd-grid { display: grid; gap: 16px; }
.hd-grid label { margin-top: 0; }
@media (min-width: 640px) { .hd-grid { grid-template-columns: 1fr 1fr; } }
.hd-body input, .hd-body select, .hd-body textarea, .hd-email input, .hd-composer textarea { width: 100%; border: 1px solid var(--gray-200); border-radius: 8px; padding: 12px 16px; font-size: .875rem; background: #fff; outline: none; transition: border-color .15s, box-shadow .15s; }
.hd-body textarea { resize: none; }
.hd-body input:focus, .hd-body select:focus, .hd-body textarea:focus, .hd-email input:focus, .hd-composer textarea:focus { border-color: var(--brand-blue); box-shadow: 0 0 0 2px rgba(0, 0, 255, .1); }
.hd-form-actions { margin-top: 24px; display: flex; flex-direction: column-reverse; gap: 12px; }
@media (min-width: 640px) { .hd-form-actions { flex-direction: row; } }
.hd-btn { min-height: 48px; flex: 1; border: 0; border-radius: 8px; background: var(--brand-blue); padding: 0 24px; font-size: .875rem; font-weight: 700; color: #fff; transition: background .2s; }
.hd-btn:hover:not(:disabled) { background: #1d4ed8; }
.hd-btn-outline { min-height: 48px; border: 1px solid var(--gray-200); border-radius: 8px; background: #fff; padding: 0 24px; font-size: .875rem; font-weight: 700; color: var(--brand-navy); }
.hd-btn-outline:hover { background: #f9fafb; }
.hd-error { margin: 12px 0 0; font-size: .85rem; color: #b91c1c; }
.hd-sent { display: flex; min-height: 480px; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.hd-sent-icon { display: flex; width: 64px; height: 64px; align-items: center; justify-content: center; border-radius: 16px; background: rgba(202, 240, 248, .6); color: var(--brand-blue); }
.hd-sent-icon svg { width: 32px; height: 32px; }
.hd-sent h3 { margin: 20px 0 0; font-size: 1.5rem; font-weight: 700; color: var(--brand-navy); }
.hd-sent p { margin: 8px 0 0; max-width: 24rem; font-size: .875rem; line-height: 1.6; color: var(--gray-500); }
.hd-sent .hd-btn { margin-top: 28px; flex: none; }

.hd-chat { display: flex; min-height: 540px; flex-direction: column; flex: 1; }
.hd-banner { background: #fef3c7; color: #92400e; font-size: .8rem; padding: 8px 20px; }
.hd-messages { flex: 1; padding: 20px; overflow-y: auto; max-height: 52vh; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .hd-messages { padding: 28px; } }
.hd-day { display: flex; justify-content: center; }
.hd-day span { border-radius: 999px; background: var(--gray-100); padding: 4px 12px; font-size: .75rem; font-weight: 500; color: var(--gray-400); }
.hd-row { display: flex; justify-content: flex-start; }
.hd-row.mine { justify-content: flex-end; }
.hd-bubble { max-width: 85%; border-radius: 16px; padding: 10px 16px 6px; font-size: .875rem; line-height: 1.6; display: flex; flex-direction: column; }
@media (min-width: 640px) { .hd-bubble { max-width: 72%; } }
.hd-bubble.me { border-bottom-right-radius: 6px; background: var(--brand-blue); color: #fff; }
.hd-bubble.them { border-bottom-left-radius: 6px; background: rgba(202, 240, 248, .45); color: var(--brand-navy); padding-bottom: 10px; }
.hd-row .hd-bubble.them:only-child { padding-bottom: 10px; }
.hd-sender { font-size: .75rem; font-weight: 700; color: var(--brand-blue); margin-bottom: 2px; }
.hd-text { white-space: pre-wrap; word-break: break-word; }
.hd-meta { align-self: flex-end; display: inline-flex; gap: 4px; align-items: center; font-size: .7rem; opacity: .75; margin-top: 2px; }
.hd-tick { font-size: .75rem; letter-spacing: -2px; }
.hd-tick.read { color: #7dd3fc; opacity: 1; }
.hd-tick.failed { color: #fecaca; font-weight: 700; }
.hd-retry { border: 0; background: none; color: #b91c1c; font-size: .75rem; padding: 0; text-decoration: underline; }
.hd-system { text-align: center; font-size: .75rem; font-style: italic; color: var(--gray-500); padding: 0 12px; }
.hd-system span { margin-left: 6px; color: var(--gray-400); font-style: normal; }
.hd-typing { font-size: .8rem; color: var(--brand-blue); font-style: italic; display: flex; align-items: center; gap: 6px; }
.hd-dots { display: inline-flex; gap: 3px; }
.hd-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--brand-blue); opacity: .3; animation: hd-blink 1.2s infinite; }
.hd-dots i:nth-child(2) { animation-delay: .2s; }
.hd-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes hd-blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.hd-email { border-top: 1px solid var(--gray-100); padding: 12px 20px; }
.hd-email label { display: block; font-size: .8rem; font-weight: 600; color: var(--brand-navy); margin-bottom: 6px; }
.hd-email div { display: flex; gap: 8px; }
.hd-email .hd-btn { flex: none; min-height: 44px; }
.hd-closed { border-top: 1px solid var(--gray-100); padding: 20px; text-align: center; }
.hd-closed p { margin: 0 0 12px; color: var(--gray-500); font-size: .875rem; }
.hd-closed .hd-btn { flex: none; }
.hd-composer { border-top: 1px solid var(--gray-100); padding: 16px; }
@media (min-width: 640px) { .hd-composer { padding: 20px; } }
.hd-composer form { display: flex; align-items: flex-end; gap: 12px; }
.hd-composer textarea { min-height: 48px; flex: 1; resize: none; border-radius: 12px; }
.hd-send { display: flex; width: 48px; height: 48px; flex-shrink: 0; align-items: center; justify-content: center; border: 0; border-radius: 12px; background: var(--brand-blue); color: #fff; transition: background .2s; }
.hd-send svg { width: 20px; height: 20px; }
.hd-send:hover:not(:disabled) { background: #1d4ed8; }
.hd-send:disabled { cursor: not-allowed; background: var(--gray-200); opacity: 1; }

/* ── About ───────────────────────────────────────────────────────────── */
.ab-hero { background: var(--brand-navy); padding: 64px 0 80px; }
.ab-hero h1 { font-size: clamp(2.25rem, 5vw, 3rem); font-weight: 700; color: #fff; margin: 0 0 20px; letter-spacing: -.02em; }
.ab-lead { font-size: 1.125rem; color: rgba(255, 255, 255, .6); line-height: 1.65; margin: 0; }
.ab-story { background: #fff; padding: 80px 0; }
.ab-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ab-story h2 { font-size: 1.875rem; font-weight: 700; color: var(--brand-navy); margin: 0 0 20px; }
.ab-story p { color: var(--gray-600); line-height: 1.65; margin: 0 0 16px; }
.ab-story p:last-child { margin-bottom: 0; }
.ab-story img { width: 100%; height: 320px; object-fit: cover; border-radius: 16px; background: var(--gray-100); }
.ab-values { background: rgba(202, 240, 248, .4); padding: 80px 0; }
.ab-values h2, .ab-team h2 { font-size: 1.875rem; font-weight: 700; color: var(--brand-navy); margin: 0 0 48px; text-align: center; }
.ab-grid { display: grid; gap: 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ab-value, .ab-member { border: 1px solid var(--gray-100); border-radius: 16px; padding: 24px; background: #fff; }
.ab-member { background: #fafbfe; }
.ab-emoji { font-size: 1.875rem; line-height: 1; margin-bottom: 16px; }
.ab-value h3, .ab-member h3 { font-size: 1rem; font-weight: 700; color: var(--brand-navy); margin: 0 0 8px; letter-spacing: 0; }
.ab-member h3 { margin: 0; }
.ab-value p, .ab-member p { font-size: .875rem; color: var(--gray-500); line-height: 1.6; margin: 0; }
.ab-role { font-size: .75rem !important; color: var(--brand-blue) !important; font-weight: 600; margin: 0 0 8px !important; }
.ab-initials { width: 56px; height: 56px; border-radius: 50%; background: var(--brand-blue); color: #fff; font-weight: 700; font-size: 1.125rem; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.ab-team { background: #fff; padding: 80px 0; }

@media (max-width: 1023px) { .ab-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .sp-closing-grid, .ab-story-grid { grid-template-columns: 1fr; }
  .ab-story-grid { gap: 40px; }
}
@media (max-width: 639px) { .ab-grid { grid-template-columns: 1fr; } }
