/* Ruxsat.uz — korporativ logistika uslubi (yorug‘ tema, barcha ekranlar) */

:root {
  --navy: #0a2540;
  --navy-mid: #123a5c;
  --blue: #0b6bcb;
  --blue-hover: #0958a8;
  --cta: #e85d04;
  --cta-hover: #cf5204;
  --bg: #f0f3f8;
  --bg-white: #ffffff;
  --text: #1a2332;
  --text-muted: #5c6b7f;
  --border: #dde4ee;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 12px 40px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 24px 60px rgba(10, 37, 64, 0.12);
  --font: "Manrope", system-ui, sans-serif;
  --header-h: 70px;
  --top-bar-h: auto;
  --container: min(1140px, 100% - 1.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --section-pad: clamp(2.75rem, 6vw, 4.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

main section {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  padding: 0.65rem 1rem;
  background: var(--cta);
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Top bar */
.top-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8125rem;
}

.top-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.5rem 0;
}

.top-bar-trust {
  margin: 0;
  max-width: 42rem;
  line-height: 1.45;
}

.top-bar-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
}

.top-bar-link {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.top-bar-link:hover,
.top-bar-link:focus-visible {
  text-decoration: underline;
}

.top-bar-sep {
  opacity: 0.35;
}

.top-bar-hours {
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 640px) {
  .top-bar-trust {
    width: 100%;
    font-size: 0.75rem;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(10, 37, 64, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--navy);
}

/* Vertikal kompozitsiya (gerb + Ruxsat.uz) — balandlik boshqaruvi */
.logo-img {
  display: block;
  width: auto;
  height: auto;
  max-height: clamp(44px, 9vw, 64px);
  max-width: min(170px, 46vw);
  object-fit: contain;
  object-position: left center;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-white);
  color: var(--navy);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list li {
  flex: 0 0 auto;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.2;
  min-height: 2.25rem;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--blue);
}

.nav-aside {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-left: 0.5rem;
  border-left: 1px solid var(--border);
}

.lang-select {
  appearance: none;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 0.45rem 1.85rem 0.45rem 0.6rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%235c6b7f' d='M3 4.5L6 7.5L9 4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
}

.lang-select:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.8125rem;
}

.btn-cta {
  background: var(--cta);
  color: #fff;
  border-color: var(--cta);
}

.btn-cta:hover,
.btn-cta:focus-visible {
  background: var(--cta-hover);
  border-color: var(--cta-hover);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-block {
  width: 100%;
}

.btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.25rem 1.5rem;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    max-height: min(70vh, calc(100vh - var(--header-h)));
    overflow-y: auto;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s var(--ease), opacity 0.25s, visibility 0.35s;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 0.75rem;
  }

  .nav-list a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.25rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-aside {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 1rem 0 0;
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .lang-select {
    width: 100%;
    max-width: 100%;
  }

  .header-cta {
    width: 100%;
  }
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg) 100%);
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr minmax(280px, min(48vw, 520px));
    gap: 3rem;
  }
}

.hero-kicker {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.hero-title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4.2vw, 2.65rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.hero-lead {
  margin: 0 0 1.5rem;
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: var(--text-muted);
  max-width: 36em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.hero-bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.hero-bullets li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.9375rem;
  color: var(--text);
  font-weight: 500;
}

.hero-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--cta);
  box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.2);
}

.hero-art {
  margin: 0;
  width: 100%;
  max-width: 520px;
  justify-self: center;
}

@media (min-width: 900px) {
  .hero-art {
    justify-self: end;
  }
}

.hero-art-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--bg-white);
}

.hero-card-caption {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}

/* Stats */
.stats-strip {
  background: var(--navy);
  color: #fff;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  padding: 1.75rem 0;
}

@media (min-width: 700px) {
  .stats-inner {
    grid-template-columns: repeat(4, 1fr);
    padding: 2rem 0;
    gap: 1.5rem;
  }
}

.stat-item {
  text-align: center;
  padding: 0.5rem;
}

.stat-value {
  display: block;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.stat-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.35;
}

/* Sections */
.section {
  padding: var(--section-pad) 0;
}

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.25rem;
}

.section-head-left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: 640px;
}

.section-head h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.section-sub {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* Cards */
.cards {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 640px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
  }
}

.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 1.65rem);
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}

.card:hover {
  border-color: rgba(11, 107, 203, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card-featured {
  border-color: rgba(11, 107, 203, 0.45);
  box-shadow: 0 8px 28px rgba(11, 107, 203, 0.12);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: rgba(11, 107, 203, 0.1);
  color: var(--blue);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--navy);
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* Yuk turlari — zamonaviy grid */
.cargo-section {
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.cargo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 540px) {
  .cargo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }
}

@media (min-width: 960px) {
  .cargo-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.cargo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1.15rem 1.35rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 16px rgba(10, 37, 64, 0.04);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.25s;
}

.cargo-card:hover,
.cargo-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(10, 37, 64, 0.1);
  border-color: rgba(232, 93, 4, 0.45);
}

.cargo-card:focus-visible {
  outline: none;
}

.cargo-card:focus-visible::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 20px;
  border: 2px solid var(--blue);
  pointer-events: none;
}

.cargo-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff9a3c 0%, var(--cta) 45%, #c94a02 100%);
  box-shadow:
    0 10px 28px rgba(232, 93, 4, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.cargo-card h3 {
  margin: 0;
  font-size: clamp(0.875rem, 1.8vw, 0.98rem);
  font-weight: 800;
  line-height: 1.4;
  color: var(--navy);
  letter-spacing: -0.02em;
  max-width: 16rem;
}

.cargo-arrow {
  position: absolute;
  top: 50%;
  right: 0.65rem;
  width: 0;
  height: 0;
  margin-top: -5px;
  border-style: solid;
  border-width: 6px 0 6px 8px;
  border-color: transparent transparent transparent var(--blue);
  opacity: 0;
  transform: translateX(-4px);
  transition:
    opacity 0.25s,
    transform 0.25s var(--ease);
}

.cargo-card:hover .cargo-arrow,
.cargo-card:focus-visible .cargo-arrow {
  opacity: 0.55;
  transform: translateX(0);
}

@media (max-width: 539px) {
  .cargo-arrow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cargo-card {
    transition: border-color 0.2s, box-shadow 0.2s;
  }

  .cargo-card:hover,
  .cargo-card:focus-visible {
    transform: none;
  }

  .cargo-arrow {
    transition: none;
  }
}

/* Lead / form */
.lead-section {
  background: linear-gradient(180deg, #e8eef6 0%, var(--bg) 100%);
  border-block: 1px solid var(--border);
}

.lead-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 880px) {
  .lead-grid {
    grid-template-columns: 1fr minmax(300px, 440px);
    gap: 3rem;
    align-items: center;
  }
}

.lead-copy h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.4rem, 2.8vw, 1.75rem);
  font-weight: 800;
  color: var(--navy);
}

.lead-copy > p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

.lead-checks {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lead-checks li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.lead-checks li:last-child {
  border-bottom: 0;
}

.lead-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--cta);
  font-weight: 800;
}

.lead-form-wrap {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--shadow);
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--navy);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font-family: inherit;
  font-size: 0.9375rem;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--bg-white);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 107, 203, 0.15);
}

.field textarea {
  resize: vertical;
  min-height: 100px;
}

.field-check {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.6rem;
}

.field-check input {
  width: auto;
  margin-top: 0.2rem;
  accent-color: var(--blue);
}

.field-check label {
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  color: var(--navy);
  background: rgba(11, 107, 203, 0.08);
  border-radius: 9px;
}

@media (max-width: 520px) {
  .lead-form {
    grid-template-columns: 1fr;
  }
}

/* About */
.about-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr minmax(260px, 340px);
    gap: 2.5rem;
  }
}

.about-copy h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.4rem, 2.8vw, 1.75rem);
  font-weight: 800;
  color: var(--navy);
}

.about-copy > p {
  margin: 0 0 1.15rem;
  max-width: 42rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.about-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text);
}

.about-list li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
  line-height: 1.45;
}

.about-list li:last-child {
  margin-bottom: 0;
}

.about-list li::marker {
  color: var(--blue);
}

.about-panel {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow);
}

.about-panel-title {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

.about-steps {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text);
  font-weight: 600;
}

.about-steps li {
  margin-bottom: 0.5rem;
}

.about-steps li::marker {
  color: var(--cta);
  font-weight: 800;
}

/* Testimonials */
.testimonials {
  background: var(--bg-white);
  border-block: 1px solid var(--border);
}

.testimonial-grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.testimonial {
  margin: 0;
  padding: 1.35rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial blockquote {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.55;
}

.testimonial blockquote::before {
  content: "“";
  display: block;
  font-size: 2rem;
  line-height: 1;
  color: var(--blue);
  opacity: 0.5;
  margin-bottom: 0.25rem;
}

.testimonial figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.t-name {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--navy);
}

.t-role {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Contact bar */
.contact {
  padding-bottom: 2.5rem;
}

.contact-bar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
  padding: clamp(1.5rem, 4vw, 2rem);
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 640px) {
  .contact-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.contact-bar h2 {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
  font-weight: 800;
}

.contact-bar-text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  max-width: 36em;
}

.contact-bar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.contact-bar .btn-cta {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.contact-bar .btn-cta:hover,
.contact-bar .btn-cta:focus-visible {
  background: var(--bg);
  border-color: var(--bg);
  color: var(--navy);
}

.contact-bar .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.contact-bar .btn-outline:hover,
.contact-bar .btn-outline:focus-visible {
  border-color: #fff;
  color: #fff;
}

.contact-contacts-extra {
  margin: 1rem 0 0;
  text-align: center;
}

.contact-contacts-page-link {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--blue);
  text-decoration: none;
}

.contact-contacts-page-link:hover,
.contact-contacts-page-link:focus-visible {
  text-decoration: underline;
}

.contact-note {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
}

.contact-note:empty {
  display: none;
}

.footer-phone-link {
  font-weight: 700;
  color: inherit;
  text-decoration: none;
}

.footer-phone-link:hover,
.footer-phone-link:focus-visible {
  text-decoration: underline;
}

.contact-messengers {
  margin-top: 1.25rem;
}

.contact-messengers[hidden] {
  display: none !important;
}

.contact-messengers-title {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.contact-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.05);
  outline: none;
}

.social-link:focus-visible {
  box-shadow: 0 0 0 2px var(--blue);
}

.social-link-icon {
  display: flex;
  flex-shrink: 0;
}

.social-link-icon-text {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  line-height: 1;
}

.social-link--telegram {
  background: #229ed9;
}

.social-link--whatsapp {
  background: #25d366;
}

.social-link--imo {
  background: #1cb0f6;
}

.social-link--facebook {
  background: #1877f2;
}

.social-link--compact {
  padding: 0.4rem 0.75rem;
  font-size: 0.8125rem;
  border-radius: 999px;
}

.lead-messengers {
  margin-top: 0.25rem;
}

.lead-messengers[hidden] {
  display: none !important;
}

.lead-messengers-label {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lead-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-social {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
}

.footer-social[hidden] {
  display: none !important;
}

.footer-social a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  text-decoration: underline;
  outline: none;
}

/* Footer */
.site-footer {
  background: var(--bg-white);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding: 2.5rem 0 1.5rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 2rem;
  }
}

.footer-logo-link {
  display: inline-block;
  margin: 0 0 0.65rem;
  text-decoration: none;
  line-height: 0;
}

.footer-logo-img {
  display: block;
  width: min(100%, 260px);
  height: auto;
  object-fit: contain;
  object-position: left top;
}

.footer-tagline {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 16rem;
}

.footer-heading {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-block;
  padding: 0.25rem 0;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--blue);
}

.footer-col a[href^="mailto"] {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.footer-col a[href^="mailto"]:hover {
  text-decoration: underline;
}

.footer-muted {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1rem 0;
}

.footer-bottom-inner {
  text-align: center;
}

@media (min-width: 600px) {
  .footer-bottom-inner {
    text-align: left;
  }
}

.footer-copy {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-author {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-author-link {
  margin-left: 0.25rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}

.footer-author-link:hover,
.footer-author-link:focus-visible {
  text-decoration: underline;
  color: var(--blue-hover);
}

/* Geography (xarita fon + CTA) */
.geo-section {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--border);
}

.geo-map-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, #e8edf4 0%, #dde5ee 50%, #d4dee8 100%);
}

/* Haqiqiy dunyo xaritasi (@svg-maps/world) — har bir davlat alohida path */
.geo-map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: auto;
  opacity: 0.97;
}

.geo-map-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 56px,
      rgba(255, 255, 255, 0.5) 56px,
      rgba(255, 255, 255, 0.5) 57px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 56px,
      rgba(255, 255, 255, 0.4) 56px,
      rgba(255, 255, 255, 0.4) 57px
    );
}

.geo-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: clamp(300px, 52vw, 460px);
  padding: clamp(1.75rem, 4vw, 2.75rem) 0 clamp(1.5rem, 3vw, 2.25rem);
}

.geo-title {
  margin: 0 0 1.25rem;
  max-width: 20rem;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}

.geo-legend {
  margin: -0.35rem 0 1.15rem;
  max-width: min(36rem, 100%);
  font-size: clamp(0.875rem, 1.9vw, 0.9375rem);
  line-height: 1.55;
  font-weight: 500;
  color: var(--navy);
  opacity: 0.9;
}

.geo-cta-card {
  position: relative;
  margin-top: auto;
  align-self: flex-start;
  max-width: 300px;
  width: 100%;
  padding: 1.35rem 1.25rem 1.25rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #0d4a8c 0%, #1a6fd4 42%, #5aa9ff 100%);
  box-shadow: 0 18px 45px rgba(13, 74, 140, 0.35);
  overflow: hidden;
}

.geo-cta-visual {
  position: absolute;
  right: -12%;
  top: 50%;
  transform: translateY(-50%);
  width: 55%;
  height: 120%;
  opacity: 0.22;
  pointer-events: none;
}

.geo-container-side {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.95) 0,
    rgba(255, 255, 255, 0.95) 5px,
    rgba(200, 220, 255, 0.5) 5px,
    rgba(200, 220, 255, 0.5) 9px
  );
  border-radius: 4px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.geo-cta-text {
  position: relative;
  margin: 0 0 1rem;
  padding-right: 32%;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.geo-cta-btn {
  position: relative;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  padding: 0.75rem 1rem;
}

@media (min-width: 640px) {
  .geo-cta-card {
    max-width: 320px;
  }
}

/* Hamkorlar — cheksiz lenta */
.partners-section {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}

.partners-head {
  margin-bottom: 1.5rem;
}

.partners-marquee {
  position: relative;
  overflow: hidden;
  padding: 0.5rem 0 2.25rem;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partners-track {
  display: flex;
  width: max-content;
  animation: partners-marquee 42s linear infinite;
}

.partners-marquee:hover .partners-track {
  animation-play-state: paused;
}

.partners-row {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 4vw, 3rem);
  list-style: none;
  margin: 0;
  padding: 0 1.5rem;
  flex-shrink: 0;
}

.partner-slot {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  min-height: 80px;
  height: 80px;
  padding: 0.5rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(10, 37, 64, 0.04);
}

.partner-slot img {
  max-width: 140px;
  max-height: 58px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: grayscale(0.12);
}

.partner-placeholder {
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  text-align: center;
}

@keyframes partners-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .partners-track {
    animation: none;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .partners-row {
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
  }

  .partners-row:last-child {
    display: none;
  }

  .partners-marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }

  .partners-marquee:hover .partners-track {
    animation-play-state: running;
  }
}

/* Doimiy suzuvchi aloqa (past-o‘ng) */
.floating-messengers {
  position: fixed;
  right: max(0.85rem, env(safe-area-inset-right, 0px));
  bottom: max(0.85rem, env(safe-area-inset-bottom, 0px));
  z-index: 320;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
  pointer-events: none;
}

.floating-messengers[hidden] {
  display: none !important;
}

.floating-msg {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 28px rgba(10, 37, 64, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.floating-msg[hidden] {
  display: none !important;
}

.floating-msg:hover,
.floating-msg:focus-visible {
  transform: scale(1.07);
  box-shadow: 0 12px 36px rgba(10, 37, 64, 0.35);
  outline: none;
}

.floating-msg--telegram {
  background: #229ed9;
}

.floating-msg--whatsapp {
  background: #25d366;
}

.floating-msg--imo {
  background: #1cb0f6;
}

.floating-msg-imo-mark {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  line-height: 1;
}

@media (prefers-reduced-motion: reduce) {
  .floating-msg:hover,
  .floating-msg:focus-visible {
    transform: none;
  }
}

@media print {
  .floating-messengers {
    display: none !important;
  }
}

/* Mijozlar fikri — fikr qoldirish */
.testimonials-actions {
  margin-top: 1.75rem;
  text-align: center;
}

.review-modal {
  position: fixed;
  inset: 0;
  z-index: 410;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.review-modal.is-open {
  display: flex !important;
}

.review-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 37, 64, 0.55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.review-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  max-height: min(90vh, 640px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-white);
  border: 1px solid rgba(11, 107, 203, 0.2);
  border-radius: 20px;
  box-shadow: 0 28px 80px rgba(10, 37, 64, 0.2);
  padding: clamp(1.25rem, 3vw, 1.65rem);
}

.review-modal-title {
  margin: 0 0 1rem;
  padding-right: 2.75rem;
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.review-form .field textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.review-form-note {
  margin: 0;
}

.review-form-note:not([hidden]) {
  color: var(--navy);
  font-weight: 600;
}

/* Yuk turi modali (vazifa / yechim / natija) */
button.cargo-card {
  font: inherit;
  color: inherit;
  text-align: center;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.cargo-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cargo-modal.is-open {
  display: flex !important;
}

.cargo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 37, 64, 0.55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.cargo-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
  max-height: min(92vh, 760px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-white);
  border: 1px solid rgba(11, 107, 203, 0.2);
  border-radius: 20px;
  box-shadow: 0 28px 80px rgba(10, 37, 64, 0.2);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.cargo-modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 11px;
  background: var(--bg);
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.cargo-modal-close:hover,
.cargo-modal-close:focus-visible {
  background: var(--border);
  outline: none;
}

.cargo-modal-close:focus-visible {
  box-shadow: 0 0 0 2px var(--blue);
}

.cargo-modal-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .cargo-modal-grid {
    grid-template-columns: 1fr minmax(200px, 38%);
    gap: 2rem;
    align-items: start;
  }
}

.cargo-modal-title {
  margin: 0 0 1.15rem;
  padding-right: 2.75rem;
  font-size: clamp(1.3rem, 3vw, 1.65rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.cargo-modal-block {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.05rem;
}

.cargo-modal-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin-top: 0.15rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff9a3c, var(--cta));
  box-shadow: 0 4px 12px rgba(232, 93, 4, 0.35);
  position: relative;
}

.cargo-modal-check::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 5px;
  width: 5px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.cargo-modal-label {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
}

.cargo-modal-p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.cargo-modal-cta {
  margin-top: 1.15rem;
  display: inline-flex;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.78rem;
  padding: 0.8rem 1.35rem;
  box-shadow: 0 8px 24px rgba(232, 93, 4, 0.35);
}

.cargo-modal-media {
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(165deg, #e4ecf6, #d0dce8);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}

.cargo-modal-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  color: var(--cta);
}

.cargo-modal-visual svg {
  width: min(140px, 38vw);
  height: auto;
}

@media (prefers-reduced-motion: reduce) {
  .cargo-modal-panel {
    scroll-behavior: auto;
  }
}

@media (pointer: coarse) {
  .nav-list a {
    min-height: 48px;
  }
}

/* —— Bojxona import statistikasi (customs.uz uslubi) —— */
.customs-stats-section {
  background: #eceff1;
  border-block: 1px solid #dde3e8;
}

.customs-stats-head {
  text-align: center;
  max-width: 46rem;
  margin: 0 auto 1.75rem;
}

.customs-stats-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2d9d4a;
  margin: 0 0 0.35rem;
}

.customs-stats-sub {
  margin-bottom: 0.75rem;
}

.customs-stats-period {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.customs-stats-badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: #2d9d4a;
  color: #fff;
}

.customs-stats-carousel {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.customs-stats-arrow {
  flex: 0 0 auto;
  width: 2.5rem;
  min-width: 2.5rem;
  border: 1px solid #cfd8dc;
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.customs-stats-arrow:hover,
.customs-stats-arrow:focus-visible {
  background: #f5f7fa;
  border-color: #2d9d4a;
  color: #2d9d4a;
  outline: none;
}

.customs-stats-viewport {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  display: flex;
  gap: 1rem;
  padding: 0.25rem 0 0.75rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.customs-stats-track {
  display: flex;
  gap: 1rem;
  width: max-content;
}

.customs-stats-card {
  scroll-snap-align: start;
  flex: 0 0 min(320px, 86vw);
  max-width: 340px;
  background: #fff;
  border: 1px solid #cfd8dc;
  border-radius: 12px;
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: 0 4px 18px rgba(10, 37, 64, 0.06);
}

.customs-stats-card-title {
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  margin: 0 0 0.85rem;
  color: var(--text);
}

.customs-stats-main {
  text-align: center;
  margin-bottom: 0.85rem;
}

.customs-stats-main-val {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.customs-stats-main-unit {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.customs-stats-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #eceff1;
}

.customs-stats-metric {
  text-align: center;
}

.customs-stats-metric-icon {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.customs-stats-metric-icon.is-up {
  color: #2d9d4a;
}

.customs-stats-metric-icon.is-down {
  color: #c62828;
}

.customs-stats-metric-icon.check {
  color: #0b6bcb;
}

.customs-stats-metric-val {
  font-size: 1rem;
  font-weight: 800;
  display: block;
}

.customs-stats-metric-val.check {
  color: #0b6bcb;
}

.customs-stats-metric-lab {
  font-size: 0.68rem;
  line-height: 1.3;
  color: var(--text-muted);
  display: block;
  margin-top: 0.1rem;
}

.customs-stats-lines-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: #2d9d4a;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 0.5rem;
}

.customs-stats-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.78rem;
  line-height: 1.35;
  padding: 0.28rem 0;
  border-bottom: 1px solid #f0f3f5;
}

.customs-stats-line:last-child {
  border-bottom: 0;
}

.customs-stats-line-name {
  color: var(--text);
  font-weight: 500;
}

.customs-stats-line-val {
  font-weight: 700;
  white-space: nowrap;
  color: var(--text);
}

.customs-stats-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.customs-stats-dot {
  width: 1.5rem;
  height: 4px;
  border: 0;
  border-radius: 2px;
  padding: 0;
  background: #b0bec5;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.customs-stats-dot[aria-selected="true"] {
  background: #2d9d4a;
  transform: scaleY(1.25);
}

.customs-stats-foot {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.customs-stats-attribution {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid #c5e1c8;
  border-radius: var(--radius);
  background: #f4faf4;
  color: var(--text);
  font-size: 0.78rem;
  line-height: 1.55;
  font-weight: 600;
}

.documents-attribution-block {
  text-align: left;
  max-width: 40rem;
  margin-top: 1rem;
}

.customs-stats-note {
  margin: 0 0 0.75rem;
}

.customs-stats-source {
  margin: 0;
}

.customs-stats-source a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.customs-stats-source a:hover,
.customs-stats-source a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .customs-stats-arrow {
    display: none;
  }

  .customs-stats-viewport {
    padding-inline: 0.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .customs-stats-viewport {
    scroll-behavior: auto;
  }
}

/* —— Alohida hujjatlar sahifasi (hujjatlar.html) —— */
.documents-body .documents-header {
  border-bottom: 1px solid var(--border);
}

.documents-back-nav {
  margin-left: auto;
}

.documents-main {
  padding-block: var(--section-pad);
  min-height: 50vh;
}

.documents-page-intro {
  text-align: left;
  max-width: 40rem;
  margin-bottom: 2rem;
}

.documents-page-title {
  font-size: clamp(1.65rem, 4vw, 2.1rem);
  margin: 0 0 0.5rem;
}

.documents-code {
  font-size: 0.85em;
  background: #e8edf4;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.documents-source-line {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.documents-source-line a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.documents-source-line a:hover,
.documents-source-line a:focus-visible {
  text-decoration: underline;
}

.documents-status {
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  background: #fff8e6;
  border: 1px solid #f0d78c;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.documents-page-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.documents-page-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  padding: 0.85rem 1rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.documents-page-date {
  flex: 0 0 auto;
  min-width: 6.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-muted);
}

.documents-page-link {
  flex: 1 1 12rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}

.documents-page-link:hover,
.documents-page-link:focus-visible {
  text-decoration: underline;
}

.documents-footer {
  margin-top: 2rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
}

.documents-footer .footer-copy {
  margin: 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}
