/* Logistika Yordamchi — ochiq sayt.
   Ranglar: asfalt-kulrang qog'oz, yo'l belgisi ko'ki (asosiy amal), yo'l chizig'i sarig'i (faqat yo'nalish chizig'i),
   hujjat holati ranglari bot jadvali bilan bir xil. */
:root {
  --paper: #EEF1F4;
  --surface: #FFFFFF;
  --ink: #17202B;
  --steel: #5B6B7C;
  --line: #D3DAE2;
  --sign: #1D4E89;
  --sign-d: #163D6C;
  --road: #F2B705;
  --s-expired: #B71C1C; --s-red: #E53935; --s-yellow: #FFC107; --s-green: #2E9B4F; --s-noexp: #78909C; --s-missing: #E3E8ED;
  --display: "Unbounded", "Onest", system-ui, sans-serif;
  --body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body.site { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--sign); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--road); outline-offset: 2px; border-radius: 6px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.01em; line-height: 1.15; margin: 0; }
h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 600; margin-bottom: 28px; max-width: 22ch; }
h3 { font-size: 18px; font-weight: 600; }
.fine { color: var(--steel); font-size: 15px; margin: 14px 0 0; }

/* tugmalar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px;
  border-radius: 12px; font: 600 16px/1 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-primary { background: var(--sign); color: #fff; }
.btn-primary:hover { background: var(--sign-d); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* sarlavha */
.top { position: sticky; top: 0; z-index: 10; background: rgba(238,241,244,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 600 13px/1.1 var(--display); }
.top-nav { display: flex; gap: 26px; margin-left: auto; }
.top-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.top-nav a:hover { color: var(--sign); }
@media (max-width: 760px) { .top-nav { display: none; } .top-in { justify-content: space-between; } }

/* hero */
.hero > * { min-width: 0; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; padding: 72px 0 40px; }
.hero h1 { font-size: clamp(34px, 4.6vw, 58px); font-weight: 700; max-width: 15ch; }
.lead { font-size: 19px; color: #2C3946; max-width: 52ch; margin: 22px 0 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 980px) { .hero { grid-template-columns: minmax(0, 1fr); padding-top: 44px; gap: 40px; } }

/* davlat raqami */
.plate { display: inline-flex; align-items: stretch; height: 30px; border: 2px solid var(--ink); border-radius: 5px; background: #fff;
  font: 700 14px/26px var(--body); letter-spacing: .04em; white-space: nowrap; color: var(--ink); }
.plate-reg { padding: 0 7px; border-right: 2px solid var(--ink); }
.plate-num { padding: 0 8px; }
.plate-uz { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 0 5px; font-size: 8px; line-height: 1; color: var(--sign); }
.flag { display: block; width: 13px; height: 8px; background: linear-gradient(#0099B5 0 31%, #CE1126 31% 37%, #fff 37% 63%, #CE1126 63% 69%, #1EB53A 69%); }

/* hujjat jadvali (hero) */
.board { margin: 0; background: var(--ink); color: #fff; border-radius: 18px; padding: 22px 22px 16px; box-shadow: 0 30px 60px -30px rgba(23,32,43,.55); }
.board figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.board figcaption b { font: 600 15px var(--display); }
.board figcaption span { color: #9FB0C2; font-size: 13px; }
.board-scroll { overflow-x: auto; }
.board table { border-collapse: separate; border-spacing: 5px; width: 100%; min-width: 600px; }
.board th { font-weight: 500; font-size: 12px; color: #B5C3D1; text-align: center; padding: 0 2px 4px; }
.board th[scope=row] { text-align: left; padding-right: 6px; }
.board .plate { height: 26px; font-size: 12px; line-height: 22px; }
@media (max-width: 640px) {
  .board { padding: 18px 14px 12px; }
  .board figcaption { flex-direction: column; gap: 2px; }
  /* jadval surilishi aniq ko'rinsin: raqam ustuni joyida turadi, o'ng chekka xiralashadi */
  .board-scroll { padding-right: 28px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); scrollbar-width: none; }
  .board-scroll::-webkit-scrollbar { display: none; }
  .board th[scope=row] { position: sticky; left: 0; z-index: 1; background: var(--ink); box-shadow: -5px 0 0 var(--ink), 5px 0 0 var(--ink); }
}
.cell { display: block; border-radius: 7px; padding: 8px 4px; text-align: center; font-size: 12px; font-weight: 600; white-space: nowrap; }
.s-green { background: var(--s-green); color: #fff; } .s-yellow { background: var(--s-yellow); color: #2A2100; }
.s-red { background: var(--s-red); color: #fff; } .s-expired { background: var(--s-expired); color: #fff; }
.s-noexp { background: var(--s-noexp); color: #fff; } .s-missing { background: #2A3644; color: #75879A; }

/* yo'nalish chizig'i — sahifaning yagona "jasur" elementi */
.route { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "a road b" "res res res"; align-items: center;
  column-gap: 20px; row-gap: 10px; padding: 34px 0 56px; }
.route-city { font: 700 clamp(22px, 3.4vw, 40px)/1 var(--display); }
.route-city:first-child { grid-area: a; } .route-city:nth-of-type(2) { grid-area: b; }
.route-road { grid-area: road; position: relative; height: 34px; background: #2B3542; border-radius: 6px; overflow: hidden; }
.route-road i { position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px;
  background: repeating-linear-gradient(90deg, var(--road) 0 34px, transparent 34px 58px); animation: drive 1.6s linear infinite; }
@keyframes drive { to { background-position: 58px 0; } }
.route-res { grid-area: res; color: var(--steel); font-size: 15px; }

/* bo'limlar */
.section { padding: 64px 0; border-top: 1px solid var(--line); }
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 56px; }
.feat { padding-left: 20px; border-left: 4px solid var(--sign); }
.feat p { margin: 10px 0 0; color: #34414E; max-width: 58ch; }
@media (max-width: 760px) { .feats { grid-template-columns: 1fr; gap: 32px; } }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps li { counter-increment: s; position: relative; padding-top: 58px; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%;
  background: var(--road); color: var(--ink); font: 700 18px/42px var(--display); text-align: center; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 20px; left: 54px; right: -14px; border-top: 2px dashed var(--line); }
.steps p { color: #34414E; margin: 8px 0 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .steps li::after { display: none; } }

.price { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.price h2 { margin-bottom: 10px; }
.price-big { font-size: 20px; margin: 0 0 4px; }
.price-big b { font: 700 clamp(40px, 5vw, 60px)/1.1 var(--display); }
.price .btn { margin-top: 26px; }
.checks { list-style: none; margin: 0; padding: 26px 28px; background: var(--surface); border-radius: 16px; border: 1px solid var(--line); }
.checks li { padding: 10px 0 10px 32px; position: relative; border-bottom: 1px solid #EDF1F4; }
.checks li:last-child { border: 0; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 14px; height: 8px; border-left: 3px solid var(--s-green); border-bottom: 3px solid var(--s-green); transform: rotate(-45deg); }
@media (max-width: 760px) { .price { grid-template-columns: 1fr; } }

.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; max-width: 820px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font-weight: 600; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font: 500 26px var(--body); color: var(--sign); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: #34414E; max-width: 68ch; }

.foot { border-top: 1px solid var(--line); padding: 30px 0 40px; color: var(--steel); font-size: 15px; }
.foot-in { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot p { margin: 0; }
.foot b { color: var(--ink); }

.legal { padding: 56px 0 80px; max-width: 760px; }
.legal h1 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 26px; }
.legal h2 { font-size: 20px; margin: 30px 0 8px; max-width: none; }
.legal p { margin: 0; color: #34414E; }
