@font-face { font-family: Kufi; src: url("/assets/fonts/NotoKufiArabic-Regular.woff2") format("woff2"), url("/assets/fonts/NotoKufiArabic-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Kufi; src: url("/assets/fonts/NotoKufiArabic-Bold.woff2") format("woff2"), url("/assets/fonts/NotoKufiArabic-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
:root {
  --navy: #0c2340;
  --navy-2: #143154;
  --orange: #f97316;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e8eef5;
  --paper: #f6f8fb;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Kufi, sans-serif; background: #fff; color: var(--ink); line-height: 1.6; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }
.skip { position: absolute; inset-inline-start: 12px; top: -40px; background: #fff; color: var(--navy); padding: 8px 12px; z-index: 80; }
.skip:focus { top: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
[hidden] { display: none !important; }
.sticky-head { position: sticky; top: 0; z-index: 40; background: #fff; }
header { background: #fff; border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; gap: 22px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 10px; margin-inline-end: auto; color: inherit; }
.brand b { font-size: 18px; letter-spacing: .2px; }
.brand small { display: block; color: var(--muted); font-size: 11px; font-weight: 400; }
.emblem { width: 58px; height: 58px; display: block; }
nav { display: flex; gap: 20px; font-weight: 700; font-size: 14.5px; }
nav a.on, nav a:hover { color: var(--orange); }
.tools { display: flex; align-items: center; gap: 8px; }
.lang { border: 1px solid #e2e8f0; border-radius: 9px; overflow: hidden; display: flex; font-size: 12px; font-weight: 700; }
.lang a { padding: 6px 9px; color: var(--navy); }
.lang a.ar { background: var(--navy); color: #fff; }
.wa { background: #22c55e; color: #fff; border-radius: 10px; padding: 8px 12px; font-weight: 700; font-size: 13px; display: flex; gap: 6px; align-items: center; }
.nav-toggle { display: none; border: 1px solid #e2e8f0; background: #fff; color: var(--navy); border-radius: 999px; padding: 7px 12px; font: inherit; font-weight: 700; cursor: pointer; }
.hero { background: linear-gradient(180deg, #09182c 0%, #0c2340 55%, #123055 100%); color: #fff; padding: 34px 0 38px; }
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 28px; align-items: center; }
.kicker { color: #fdba74; font-size: 13px; margin-bottom: 10px; }
h1 { font-size: 42px; line-height: 1.35; font-weight: 700; margin: 0; }
h1 em { font-style: normal; color: var(--orange); }
.lead { margin-top: 12px; color: #d5e2f0; line-height: 1.9; font-size: 15px; }
.chips { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.chip { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 8px 12px; min-width: 150px; }
.chip b { display: block; font-size: 14px; }
.chip span { font-size: 11px; color: #cbd5e1; }
.chip.crh { background: rgba(249,115,22,.16); border-color: rgba(249,115,22,.35); }
.cars { margin-top: 14px; letter-spacing: .5px; font-size: 12px; color: #94a3b8; }
.panel { background: #071525; border-radius: 18px; padding: 16px; display: grid; gap: 10px; }
.poster { position: relative; border-radius: 14px; min-height: 168px; overflow: hidden; background: #0b1c33; }
.poster img { width: 100%; height: 168px; object-fit: cover; display: block; cursor: zoom-in; }
.poster .cap { position: absolute; inset: auto 0 0 0; padding: 12px; background: linear-gradient(transparent, rgba(7,17,32,.88)); }
.tag { background: var(--orange); color: #fff; border-radius: 8px; padding: 3px 8px; font-size: 12px; width: max-content; margin-bottom: 8px; display: inline-block; }
.poster .cap span:last-child { color: #93c5fd; display: block; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { background: #132844; border-radius: 12px; padding: 12px; font-size: 13px; }
.tile b { display: block; margin-bottom: 3px; }
.tile span { color: #cbd5e1; font-size: 12px; }
section { padding: 42px 0; }
.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 22px; }
.eyebrow { color: var(--orange); font-size: 13px; font-weight: 700; }
h2 { font-size: 30px; margin: 4px 0 12px; }
.about p { color: #334155; line-height: 1.95; margin-bottom: 10px; }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.feat { background: var(--paper); border-radius: 14px; padding: 14px; }
.feat b { display: block; margin-bottom: 4px; }
.feat span { color: var(--muted); font-size: 13px; line-height: 1.6; }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.vm article { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.vm b { color: var(--navy); }
.vm p { margin: 6px 0 0; font-size: 14px; }
.co { position: relative; border-radius: 20px; overflow: hidden; min-height: 100%; color: #fff; background: var(--navy); }
.co img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; object-position: left center; display: block; cursor: zoom-in; }
.co .cap { position: absolute; inset: auto 0 0 0; padding: 16px; background: linear-gradient(transparent, rgba(12,35,64,.92)); }
.co .sub { color: #93c5fd; margin-top: 6px; font-size: 13px; }
.co-name { font-size: 20px; }
.pill { margin-top: 12px; background: #1d4e89; border-radius: 999px; padding: 6px 10px; width: max-content; font-size: 12px; }
.products { background: var(--paper); }
.center { text-align: center; }
.center .sub { color: var(--muted); max-width: 640px; margin: 0 auto 16px; line-height: 1.8; }
.bar { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.search, .filters button { border: 1px solid #e2e8f0; background: #fff; border-radius: 999px; padding: 8px 14px; font-family: inherit; font-size: 13px; }
.search { color: var(--muted); min-width: min(100%, 280px); display: flex; align-items: center; }
.search input { border: 0; background: transparent; width: 100%; font: inherit; color: var(--ink); padding: 0; }
.search input:focus { outline: none; }
.filters button { color: var(--navy); font-weight: 700; cursor: pointer; }
.filters button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: start; }
.card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(15,23,42,.05); display: flex; flex-direction: column; min-width: 0; }
.shot { height: 148px; position: relative; display: grid; place-items: center; color: #fff; font-weight: 700; background: #0f172a; }
.shot img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.badge { position: absolute; top: 10px; left: 10px; background: #fff; color: var(--navy); border-radius: 999px; font-size: 11px; padding: 3px 8px; }
.body { padding: 14px 14px 16px; text-align: start; }
.body h3 { font-size: 16px; margin: 0 0 6px; }
.body p { color: #475569; font-size: 13px; line-height: 1.75; min-height: 68px; margin: 0; }
.meta { color: var(--muted); font-size: 12px; margin: 8px 0 10px; }
.ask { display: inline-block; background: var(--navy); color: #fff; border: 0; border-radius: 10px; padding: 8px 12px; font-family: inherit; font-weight: 700; }
.contact { background: #fff; }
.band { background: var(--navy); color: #fff; border-radius: 24px; padding: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.band h2 { color: #fff; }
.band .sub { color: #cbd5e1; margin-bottom: 12px; }
.info { display: grid; gap: 10px; }
.info div { background: #143154; border-radius: 14px; padding: 12px 14px; }
.info small { color: #93c5fd; }
.info b, .info a { display: block; margin-top: 2px; }
.ltr { direction: ltr; text-align: end; }
.was { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.was a { flex: 1; text-align: center; background: #22c55e; color: #fff; border-radius: 12px; padding: 10px; font-weight: 700; min-width: 120px; }
.map { background: #071525; border-radius: 18px; min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 20px; }
.pin { width: 48px; height: 48px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; color: #fff; }
.pin svg { width: 22px; height: 22px; }
.map a { margin-top: 8px; background: var(--orange); color: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 700; }
footer { padding: 8px 0 28px; }
footer .wrap { display: flex; justify-content: space-between; color: var(--muted); font-size: 12.5px; gap: 12px; flex-wrap: wrap; }
.lightbox { position: fixed; inset: 0; background: rgba(7, 16, 32, .82); z-index: 70; display: grid; place-items: center; padding: 24px; opacity: 0; transition: opacity .18s ease; }
.lightbox.is-open { opacity: 1; }
.lightbox img { max-width: min(1000px, 100%); max-height: 86vh; border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.lightbox-close { position: absolute; top: 16px; inset-inline-end: 16px; background: #fff; color: var(--navy); border: 0; border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 700; cursor: pointer; min-height: 44px; }
.poster .cap b { overflow-wrap: anywhere; }
.mail-card { width: min(520px, 100%); margin: 0 auto; background: var(--paper); color: var(--ink); border-radius: 14px; padding: 12px 12px 10px; grid-column: 1 / -1; justify-self: center; }
.mail-card h2 { margin: 0 0 8px; color: var(--navy); font-size: 1.15rem; }
.mail-card .form-row { margin-bottom: 8px; }
.mail-card label { display: block; font-weight: 700; color: var(--navy); font-size: 0.82rem; margin-bottom: 3px; }
.plain-card .human-check label { display: block; font-weight: 700; color: var(--navy); font-size: 0.92rem; margin-bottom: 6px; }
.mail-card input, .mail-card textarea { width: 100%; font: inherit; font-size: 16px; border: 1px solid #d5e0ec; border-radius: 8px; padding: 6px 10px; background: #fff; color: var(--ink); min-height: 40px; }
.plain-card .human-row input { width: 100%; font: inherit; font-size: 16px; border: 1px solid #d5e0ec; border-radius: 10px; padding: 10px 12px; background: #fff; color: var(--ink); min-height: 44px; }
.mail-card textarea { min-height: 88px; resize: vertical; line-height: 1.45; }
.mail-card .btn { width: 100%; min-height: 40px; padding: 6px 12px; }
.mail-card .human-row { gap: 6px; }
.mail-card .human-code { min-height: 40px; padding: 0 10px; font-size: 15px; }
.human-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.human-code { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px; border-radius: 10px; background: #fff; color: var(--navy); border: 1px dashed #94a3b8; letter-spacing: .18em; font-size: 18px; direction: ltr; }
.plain-card .human-row input { flex: 1 1 140px; width: auto; }
.mail-card .human-row input { flex: 1 1 160px; width: auto; min-width: 0; }
.msg { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin: 0 0 12px; background: #fff; }
.msg-top { display: flex; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; align-items: baseline; }
.msg-top b { overflow-wrap: anywhere; }
.msg .meta { margin: 4px 0 8px; }
.msg-body { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; color: #334155; line-height: 1.7; }
.mail-flag { color: var(--orange); font-weight: 700; }

.plain-page { min-height: 100vh; display: grid; place-items: center; background: var(--paper); padding: 24px; }
.plain-card { width: min(440px, 100%); background: #fff; border-radius: 18px; box-shadow: 0 10px 30px rgba(15,23,42,.06); padding: 28px 24px; }
.plain-card h1 { margin: 0 0 8px; color: var(--navy); font-size: 1.5rem; }
.admin-body button, .plain-card button, .btn { font: inherit; font-weight: 700; border: 0; border-radius: 10px; background: var(--navy); color: #fff; padding: 9px 14px; cursor: pointer; }
.button-ghost { background: #fff; color: var(--navy); border: 1px solid #d5e0ec; }
.btn-danger { background: #8d2b2b; }
.admin-body label, .plain-card label { display: block; font-weight: 700; color: var(--navy); font-size: 0.88rem; margin-bottom: 4px; }
.admin-body input[type="text"], .admin-body input[type="password"], .admin-body input[type="email"], .admin-body input[type="url"], .admin-body textarea, .admin-body select,
.plain-card input { width: 100%; font: inherit; border: 1px solid #d5e0ec; border-radius: 10px; padding: 8px 10px; background: #fff; color: var(--ink); }
.admin-body textarea { min-height: 88px; resize: vertical; }
.form-row { margin-bottom: 12px; }
.admin-body { background: var(--paper); }
.admin-bar { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 20; }
.admin-bar-inner { width: min(1100px, calc(100% - 28px)); margin-inline: auto; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; padding: 12px 0; }
.admin-bar a { color: #fff; text-decoration: none; font-weight: 700; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.admin-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.admin-bar form { margin: 0; }
.admin-main { width: min(1100px, calc(100% - 20px)); margin: 22px auto 48px; }
.flash { border-radius: 10px; padding: 10px 12px; margin-bottom: 14px; background: #e5f6ee; color: #0e5b32; }
.flash-err { background: #fde8e8; color: #8d2b2b; }
.admin-card { background: #fff; border-radius: 16px; padding: 16px; box-shadow: 0 10px 30px rgba(15,23,42,.05); margin-bottom: 16px; }
.admin-card h2 { margin: 0 0 12px; color: var(--navy); font-size: 1.15rem; }
.pair, fieldset.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 12px; min-inline-size: 0; }
fieldset.pair { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
fieldset.pair legend { grid-column: 1 / -1; padding: 0 6px; font-weight: 700; color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 18px; }
.actions form { margin: 0; }
.preview { display: block; width: min(100%, 280px); height: 120px; object-fit: cover; border-radius: 10px; background: var(--paper); margin-bottom: 8px; }
.check { display: flex; align-items: center; gap: 6px; font-weight: 700; }
.hint { color: var(--muted); font-size: 0.85rem; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
  header .wrap { flex-wrap: wrap; padding: 10px 0; }
  nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 6px; }
  nav.is-open { display: flex; }
  nav a { display: flex; align-items: center; min-height: 44px; padding: 8px 2px; border-bottom: 1px solid var(--line); }
  .hero-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 32px; line-height: 1.6; }
  h2, h3 { line-height: 1.65; }
  .poster .cap b { display: block; }
  .co img { min-height: 220px; }
  .lang a { display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 12px; }
  .wa, .ask, .map a { min-height: 44px; }
  .ask { display: inline-flex; align-items: center; justify-content: center; }
}
@media (max-width: 760px) {
  .about-grid, .band, .feats { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { width: min(1140px, calc(100% - 24px)); }
  .sticky-head { position: static; }
  header { position: sticky; top: 0; z-index: 40; background: #fff; box-shadow: 0 1px 0 var(--line); }
  header .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand toggle" "tools tools" "nav nav";
    align-items: center;
    column-gap: 8px;
    row-gap: 8px;
    min-height: 0;
  }
  .brand { grid-area: brand; margin: 0; min-width: 0; }
  .brand b { font-size: 16px; }
  .brand small { font-size: 11px; }
  .emblem { width: 46px; height: 46px; }
  .nav-toggle { grid-area: toggle; }
  .tools { grid-area: tools; width: 100%; justify-content: space-between; }
  nav { grid-area: nav; }
  .wa { flex: 1; justify-content: center; }
  .vm, .tiles, .pair, fieldset.pair, .grid { grid-template-columns: 1fr; }
  .chips { display: grid; grid-template-columns: 1fr 1fr; }
  .chip { min-width: 0; }
  h1 { font-size: 26px; }
  .was { flex-direction: column; }
  .was a { min-height: 48px; display: flex; align-items: center; justify-content: center; }
  footer .wrap { flex-direction: column; text-align: center; }
  footer .wrap span { line-height: 1.8; text-wrap: pretty; }
  .body p { min-height: 0; }
  .bar { flex-direction: column; align-items: stretch; }
  .search { width: 100%; min-height: 48px; }
  .search input { font-size: 16px; }
  .filters { display: flex; flex-wrap: wrap; gap: 8px; }
  .filters button { flex: 1 1 calc(50% - 8px); min-height: 44px; }
  .ask { width: 100%; }
  .info a, .info b { padding: 4px 0; overflow-wrap: anywhere; }
  .band { padding: 16px; border-radius: 18px; }
  .poster { min-height: 210px; }
  .poster img { height: 210px; }
  .plain-card input { font-size: 16px; min-height: 44px; }
  .plain-card .btn { width: 100%; min-height: 48px; }
  .lightbox { padding: 72px 12px 16px; align-items: start; }
  .lightbox img { max-height: calc(100vh - 96px); max-width: 100%; }
  .lightbox-close { top: 12px; }
  .tag { max-width: 100%; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lightbox { transition: none; }
}
