:root {
  --col-aswad: #111111; --col-faddi: #f9f9f9; --col-ahmar: #ED2E38; --col-achdar: #009639; --col-abyad: #ffffff;
  --col-text: #111111; --col-text-light: #111111; --col-border: #e5e5e5; --col-border-light: #f0f0f0;
  --font-main: 'Helvetica Neue', Helvetica, Arial, sans-serif; --font-mono: 'SF Mono', Monaco, 'Courier New', monospace;
  --fs-h1: 48px; --fs-h2: 32px; --fs-h3: 24px; --fs-body: 16px; --fs-small: 14px; --fs-tiny: 12px;
  --lh-body: 1.6; --ls-tight: -0.03em; --ls-wide: 0.5px; --nav-height: 100px; --container-width: 1200px;
  --spacing-section: 100px; --radius-sm: 4px; --radius-md: 8px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05); --trans-fast: 0.2s ease; --trans-med: 0.3s ease;
  --z-sticky: 200; --z-tooltip: 600;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; padding: 0; background-color: var(--col-abyad); font-family: var(--font-main); overflow-x: hidden; color: var(--col-aswad); -webkit-font-smoothing: antialiased; font-size: var(--fs-body); line-height: var(--lh-body); }
h1, h2, h3, h4, h5 { font-weight: 600; letter-spacing: var(--ls-tight); margin-top: 0; color: var(--col-aswad); line-height: 1.15; }
h1 { font-size: var(--fs-h1); } h2 { font-size: var(--fs-h2); } h3 { font-size: var(--fs-h3); }
p { line-height: var(--lh-body); color: var(--col-aswad); max-width: 700px; }
a { text-decoration: none; color: inherit; transition: opacity var(--trans-fast); }
a:hover { opacity: 0.7; } a:focus-visible { outline: 2px solid var(--col-achdar); outline-offset: 2px; border-radius: 2px; }
code { font-family: var(--font-mono); font-size: 0.92em; background: var(--col-faddi); padding: 1px 6px; border-radius: var(--radius-sm); }
.btn { display: inline-block; padding: 14px 28px; background-color: var(--col-aswad); color: var(--col-abyad); font-size: var(--fs-small); font-weight: 500; border: 2px solid var(--col-aswad); cursor: pointer; transition: border-color var(--trans-med), transform var(--trans-fast); letter-spacing: var(--ls-wide); text-align: center; border-radius: var(--radius-sm); font-family: inherit; }
.btn:hover { border-color: var(--col-achdar); transform: translateY(-2px); opacity: 1; }
.btn-outline { background-color: transparent; color: var(--col-aswad); border-color: var(--col-aswad); }
.btn-outline:hover { background-color: var(--col-aswad); color: var(--col-abyad); border-color: var(--col-aswad); }
.header-nav { position: sticky; top: 0; width: 100%; height: var(--nav-height); background: var(--col-abyad); display: flex; align-items: center; justify-content: space-between; padding: 0 40px; z-index: var(--z-sticky); border-bottom: 1px solid transparent; transition: border-color var(--trans-med), box-shadow var(--trans-med); }
.header-nav.scrolled { border-bottom: 1px solid var(--col-border-light); box-shadow: var(--shadow-sm); }
.nav-logo { flex-shrink: 0; z-index: calc(var(--z-sticky) + 2); position: relative; }
.nav-logo a { text-decoration: none; color: var(--col-aswad); display: block; }
.nav-menu { display: flex; gap: 30px; align-items: center; }
.nav-link { font-size: var(--fs-small); font-weight: 500; color: var(--col-aswad); text-decoration: none; text-transform: uppercase; letter-spacing: var(--ls-wide); transition: opacity var(--trans-med); position: relative; }
.nav-link:hover { opacity: 0.7; }
.nav-link::after { content: ''; position: absolute; width: 0; height: 1px; bottom: -4px; left: 0; background-color: var(--col-aswad); transition: width var(--trans-med); }
.nav-link:hover::after { width: 100%; }
.nav-link.btn-nav { background: var(--col-aswad); color: var(--col-abyad); padding: 8px 16px; border-radius: var(--radius-sm); border: 2px solid var(--col-aswad); transition: border-color var(--trans-med); }
.nav-link.btn-nav:hover { border-color: var(--col-achdar); } .nav-link.btn-nav::after { display: none; }
.burger-btn { display: none; flex-direction: column; justify-content: center; align-items: center; width: 48px; height: 48px; background: none; border: none; cursor: pointer; z-index: calc(var(--z-sticky) + 2); padding: 0; position: relative; }
.burger-line { width: 24px; height: 2px; background-color: var(--col-aswad); margin: 5px 0; transition: all var(--trans-med); border-radius: 2px; display: block; }
.word-container { font-size: 36px; font-weight: 700; color: var(--col-aswad); display: flex; align-items: center; white-space: nowrap; letter-spacing: -0.04em; position: relative; margin: 0; padding: 0; }
.char { display: inline-block; position: relative; }
.char.outer { opacity: 1; transition: opacity 0.6s ease, color 0.6s ease; }
.char.inner, .hex-wrapper { transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1); }
.hex-wrapper { display: inline-block; width: 0; overflow: visible; position: relative; vertical-align: bottom; transition: width 0.1s step-end; }
.hex-start { display: inline-block; width: 8px; height: 9px; opacity: 0; position: absolute; left: 0; top: 2px; transition: all 0.6s ease; transform: scale(0); }
.hex-start svg { width: 100%; height: 100%; display: block; }
.header-nav.scrolled .char.outer { opacity: 0; }
.header-nav.scrolled .hex-wrapper { width: 12px; }
.header-nav.scrolled .hex-start { opacity: 1; transform: scale(1); transition-delay: 0.2s; }
.header-nav.scrolled .hex-wrapper, .header-nav.scrolled .char.l { transform: translateX(-100px); }
.header-nav.scrolled .char.i { transform: translateX(-148px); }
.header-nav.scrolled .hex-start path { fill: var(--col-ahmar); }
.header-nav.scrolled .hex-start text { fill: var(--col-abyad); }
.header-nav.scrolled .char.l { color: var(--col-aswad); }
.header-nav.scrolled .char.i { color: var(--col-achdar); }
.header-nav:not(.scrolled) .hex-start { opacity: 0; transform: scale(0); }
.header-nav:not(.scrolled) .hex-wrapper { width: 0; }
.header-nav:not(.scrolled) .char.outer { opacity: 1; transition-delay: 0.4s; transition-duration: 0.3s; }
.header-nav:not(.scrolled) .char.inner, .header-nav:not(.scrolled) .hex-wrapper { transform: translateX(0); transition-delay: 0s; }
.header-nav:not(.scrolled) .hex-start path { fill: var(--col-aswad); }
.header-nav:not(.scrolled) .hex-start text { fill: var(--col-abyad); }
.header-nav:not(.scrolled) .char.l, .header-nav:not(.scrolled) .char.i { color: var(--col-aswad); }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 40px; }
.section-padding { padding: var(--spacing-section) 0; }
.text-center { text-align: center; } .text-red { color: var(--col-ahmar); } .w-100 { width: 100%; } .mt-4 { margin-top: 1rem; } .mb-6 { margin-bottom: 1.5rem; }
.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; z-index: var(--z-tooltip); }
.skip-link:focus { position: absolute; left: 20px; top: 20px; width: auto; height: auto; padding: 15px 25px; background: var(--col-aswad); color: var(--col-abyad); font-weight: bold; z-index: var(--z-tooltip); text-decoration: none; border-radius: var(--radius-sm); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--col-aswad); opacity: 0.6; margin: 0 0 15px; }
.section-title { font-size: var(--fs-h2); margin-bottom: 20px; }
.section-subtitle { font-size: var(--fs-body); color: var(--col-aswad); opacity: 0.7; margin-bottom: 60px; max-width: 800px; }
.section-title-custom { font-size: 32px; margin-bottom: 10px; }
.section-desc-custom { font-size: 18px; color: var(--col-aswad); opacity: 0.7; margin: 0; }
.doppelstai-proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 40px; background: var(--col-abyad); border-left: 3px solid var(--col-achdar); border-radius: var(--radius-sm); margin-bottom: 60px; }
.proof-item { display: flex; flex-direction: column; gap: 8px; }
.proof-label { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; opacity: 0.55; }
.proof-value { font-size: 14px; font-weight: 600; line-height: 1.4; }
.solution-card { background: var(--col-abyad); border: 1px solid var(--col-border-light); border-top: 3px solid var(--col-aswad); padding: 40px 35px; border-radius: var(--radius-sm); display: flex; flex-direction: column; transition: transform var(--trans-med), border-color var(--trans-med); }
.solution-badge { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--col-aswad); opacity: 0.55; margin-bottom: 15px; display: block; }
.solution-card h3 { font-size: 22px; margin-bottom: 25px; }
.solution-link { display: inline-block; font-size: 14px; font-weight: 600; color: var(--col-aswad); border-bottom: 2px solid var(--col-aswad); padding-bottom: 2px; align-self: flex-start; transition: color var(--trans-med), border-color var(--trans-med); }
.solution-link:hover { color: var(--col-achdar); border-color: var(--col-achdar); opacity: 1; }
.contact-form-group { margin-bottom: 25px; }
.contact-form-label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--col-aswad); opacity: 0.75; }
.label-hint { font-weight: 400; text-transform: none; letter-spacing: 0; opacity: 0.6; font-style: italic; }
.contact-form-input, .contact-form-textarea { width: 100%; padding: 15px; border: 1px solid var(--col-border); background: var(--col-abyad); font-family: inherit; font-size: 16px; transition: border-color var(--trans-med), box-shadow var(--trans-med); border-radius: var(--radius-sm); color: var(--col-aswad); }
.contact-form-input:focus, .contact-form-textarea:focus { outline: none; border-color: var(--col-aswad); box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05); }
.contact-form-textarea { resize: vertical; min-height: 150px; }
.form-error-msg { color: var(--col-ahmar); font-size: var(--fs-small); font-weight: 600; margin-bottom: 15px; display: none; }
.form-error-msg.visible { display: block; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.checkbox-group { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 15px; }
.checkbox-group input[type="checkbox"] { margin-top: 4px; width: 18px; height: 18px; min-width: 18px; cursor: pointer; flex-shrink: 0; accent-color: var(--col-aswad); }
.checkbox-label { font-size: var(--fs-small); color: var(--col-aswad); opacity: 0.8; cursor: pointer; line-height: 1.5; }
footer { border-top: 1px solid var(--col-border-light); padding: 60px 40px 30px; margin-top: 100px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { max-width: 260px; }
.footer-tagline { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; margin: 0 0 15px; color: var(--col-aswad); }
.footer-desc { font-size: 13px; opacity: 0.65; line-height: 1.6; margin: 0; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; opacity: 0.55; font-weight: 700; }
.footer-col p, .footer-col a { font-size: 13px; color: var(--col-aswad); text-decoration: none; display: block; margin-bottom: 10px; opacity: 0.75; }
.footer-col a:hover { text-decoration: underline; opacity: 1; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding-top: 30px; margin-top: 30px; border-top: 1px solid var(--col-border-light); gap: 20px; flex-wrap: wrap; }
.footer-copy { font-size: 12px; opacity: 0.55; margin: 0; }
.footer-actions { display: flex; align-items: center; gap: 30px; }
.lang-switch { display: flex; gap: 4px; }
.lang-btn { background: none; border: 1px solid var(--col-border); padding: 4px 10px; font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--col-aswad); cursor: pointer; border-radius: var(--radius-sm); font-family: inherit; transition: all var(--trans-fast); }
.lang-btn.active { background: var(--col-aswad); color: var(--col-abyad); border-color: var(--col-aswad); }
@media (max-width: 1024px) { .doppelstai-proof { grid-template-columns: repeat(2, 1fr); } footer { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 900px) { .header-nav { padding: 0 20px; overflow: visible; } .burger-btn { display: flex; width: 60px; height: 60px; } .burger-line { width: 28px; height: 2px; margin: 0; position: absolute; left: 50%; transform: translateX(-50%); } .burger-btn .burger-line:nth-child(1) { top: 20px; } .burger-btn .burger-line:nth-child(2) { top: 30px; } .burger-btn .burger-line:nth-child(3) { top: 40px; } .nav-menu { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; background-color: var(--col-abyad); flex-direction: column; justify-content: center; align-items: center; gap: 40px; transition: right 0.4s ease-in-out; box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1); z-index: calc(var(--z-sticky) + 1); } .nav-menu.active { right: 0; } .nav-link { font-size: 22px; padding: 10px 0; } .burger-btn.active .burger-line:nth-child(1) { top: 30px; transform: translateX(-50%) rotate(45deg); } .burger-btn.active .burger-line:nth-child(2) { opacity: 0; transform: translateX(-50%) scale(0); } .burger-btn.active .burger-line:nth-child(3) { top: 30px; transform: translateX(-50%) rotate(-45deg); } .container { padding: 0 20px; } .form-row-2 { grid-template-columns: 1fr; gap: 20px; } .doppelstai-proof { grid-template-columns: 1fr; padding: 30px 20px; } footer { grid-template-columns: 1fr 1fr; padding: 40px 20px 20px; } .footer-brand { grid-column: 1 / -1; } .header-nav.scrolled .char.l { transform: translateX(-90px); } .header-nav.scrolled .char.i { transform: translateX(-136px); } .header-nav.scrolled .hex-wrapper { transform: translateX(-90px); } }
@media (max-width: 480px) { .section-title { font-size: 26px; } .btn { width: 100%; } .footer-bottom { flex-direction: column; align-items: flex-start; } }
.ticket-lookup { display: flex; align-items: stretch; gap: 0; max-width: 520px; margin-bottom: 20px; }
.ticket-lookup .ticket-prefix { display: flex; align-items: center; padding: 0 14px; background: var(--col-faddi); border: 1px solid var(--col-border); border-right: none; border-top-left-radius: var(--radius-sm); border-bottom-left-radius: var(--radius-sm); font-weight: 700; letter-spacing: 1px; font-size: 16px; color: var(--col-aswad); }
.ticket-lookup input { flex: 1; min-width: 0; padding: 14px 16px; border: 1px solid var(--col-border); border-right: none; font-family: var(--font-mono); font-size: 16px; letter-spacing: 2px; text-transform: uppercase; color: var(--col-aswad); background: var(--col-abyad); border-radius: 0; }
.ticket-lookup input:focus { outline: none; border-color: var(--col-aswad); box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05); position: relative; z-index: 1; }
.ticket-lookup button { border-top-left-radius: 0; border-bottom-left-radius: 0; white-space: nowrap; }
@media (max-width: 480px) { .ticket-lookup { flex-wrap: wrap; } .ticket-lookup .ticket-prefix { border-radius: var(--radius-sm) 0 0 var(--radius-sm); border-right: none; } .ticket-lookup input { border-right: 1px solid var(--col-border); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; } .ticket-lookup button { width: 100%; margin-top: 10px; border-radius: var(--radius-sm); } }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin-bottom: 30px; max-width: 1100px; }
.gallery-item { margin: 0; border: 1px solid var(--col-border-light); border-radius: var(--radius-sm); overflow: hidden; background: var(--col-faddi); display: flex; flex-direction: column; }
.gallery-item .img-link { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--col-border); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--trans-med); }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-caption { padding: 10px 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12px; }
.gallery-caption .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: 0.7; }
.gallery-caption .dl { white-space: nowrap; font-size: 12px; }
.success-banner { padding: 16px 20px; background: var(--col-faddi); border-left: 3px solid var(--col-achdar); border-radius: var(--radius-sm); margin-bottom: 30px; font-size: var(--fs-small); line-height: 1.5; }
.file-input-wrap { display: block; border: 2px dashed var(--col-border); border-radius: var(--radius-sm); padding: 30px 20px; text-align: center; cursor: pointer; background: var(--col-faddi); transition: border-color var(--trans-fast), background-color var(--trans-fast); position: relative; }
.file-input-wrap:hover, .file-input-wrap:focus-within { border-color: var(--col-aswad); }
.file-input-wrap input[type="file"] { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.file-input-label { display: block; cursor: pointer; }
.file-input-label strong { display: block; margin-bottom: 6px; font-size: var(--fs-body); color: var(--col-aswad); }
.file-input-label small { font-size: var(--fs-tiny); opacity: 0.65; color: var(--col-aswad); }
.upload-preview { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.preview-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; background: var(--col-faddi); border: 1px solid var(--col-border-light); border-radius: var(--radius-sm); font-size: var(--fs-tiny); color: var(--col-aswad); max-width: 100%; }
.preview-chip img { width: 32px; height: 32px; object-fit: cover; border-radius: 2px; flex-shrink: 0; }
.preview-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
/* =========================================================
 *  Tag Selector (Systems)
 * ========================================================= */
.tag-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.tag-label {
  display: inline-block;
  cursor: pointer;
  user-select: none;
}

.tag-label input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.tag-label span {
  display: inline-block;
  padding: 8px 14px;
  background: var(--col-abyad);
  border: 1px solid var(--col-border);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--col-aswad);
  transition: all var(--trans-fast);
}

.tag-label:hover span {
  border-color: var(--col-aswad);
}

.tag-label input:checked + span {
  background: var(--col-aswad);
  color: var(--col-abyad);
  border-color: var(--col-aswad);
}

.tag-label input:focus-visible + span {
  outline: 2px solid var(--col-achdar);
  outline-offset: 2px;
}