/* ===== Ajur Express — brand & layout ===== */
:root {
  --blue: #0B3D91;
  --blue-dark: #082C6B;
  --blue-soft: #E7EEFA;
  --orange: #FF6B1A;
  --orange-dark: #E55A0C;
  --bg: #F6F8FB;
  --surface: #FFFFFF;
  --text: #111827;
  --muted: #5B6472;
  --line: #E3E8EF;
  --green: #1E9E4A;
  --red: #D92D20;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(11, 61, 145, .10);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--text); background: var(--bg);
  line-height: 1.5; font-size: 16px;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 760px; }

/* ----- buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px; font-weight: 600; font-size: 16px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: background .15s, transform .05s, box-shadow .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(255, 107, 26, .35); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-ghost:hover { background: var(--blue-soft); }
.btn-large { padding: 16px 28px; font-size: 18px; }
.btn-small { padding: 9px 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: wait; }

/* ----- header ----- */
.site-header {
  position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-text { display: inline-flex; align-items: baseline; gap: 4px; font-size: 20px; letter-spacing: -0.02em; }
.brand-text b { font-weight: 800; color: var(--blue); }
.brand-text i { font-style: normal; font-weight: 500; color: var(--orange); }
.brand-text-light b { color: #fff; }
.header-nav { display: flex; align-items: center; gap: 10px; }
.header-nav .btn-small { display: none; }
.lang-switch { display: inline-flex; background: var(--blue-soft); border-radius: 10px; padding: 3px; }
.lang-switch button {
  border: 0; background: transparent; padding: 6px 10px; border-radius: 8px; font: inherit;
  font-weight: 600; font-size: 13px; color: var(--blue); cursor: pointer;
}
.lang-switch button.is-active { background: var(--blue); color: #fff; }

/* ----- hero ----- */
.hero {
  background: radial-gradient(1200px 600px at 80% -10%, #DCE7FB 0%, transparent 60%), linear-gradient(180deg, #FFFFFF 0%, var(--bg) 100%);
  padding: 36px 0 32px;
}
.hero-inner { display: grid; gap: 28px; align-items: center; }
.badge {
  display: inline-block; background: #FFF1E8; color: var(--orange-dark); font-weight: 600; font-size: 13px;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.hero-title { font-size: clamp(28px, 6.5vw, 46px); font-weight: 800; line-height: 1.08; }
.hero-title > span { display: block; }
.hero-title-accent { color: var(--blue); }
.hero-price-line { margin-top: 8px; }
.price-tag {
  display: inline-block; background: var(--orange); color: #fff; padding: 2px 14px; border-radius: 12px;
  transform: rotate(-2deg); box-shadow: 0 8px 20px rgba(255, 107, 26, .35); white-space: nowrap;
}
.hero-subtitle { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-actions .btn { flex: 1 1 auto; }
.hero-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; }
.hero-notes li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.hero-notes b { display: block; font-size: 16px; color: var(--blue); }
.hero-notes span { font-size: 12px; color: var(--muted); }

.hero-art { display: flex; justify-content: center; }
.parcel-card {
  background: var(--blue); color: #fff; border-radius: 24px; padding: 28px; width: min(100%, 360px);
  box-shadow: 0 24px 60px rgba(11, 61, 145, .35); position: relative; overflow: hidden;
}
.parcel-card::after {
  content: ""; position: absolute; inset: auto -40px -60px auto; width: 200px; height: 200px;
  border-radius: 50%; background: rgba(255,255,255,.07);
}
.parcel-route { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.parcel-route .dot { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; }
.parcel-route .cn { background: #fff; color: var(--blue); }
.parcel-route .uz { background: var(--orange); color: #fff; }
.parcel-route .line { flex: 1; height: 2px; background: rgba(255,255,255,.35); position: relative; }
.parcel-route .line svg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--blue); color: #fff; }
.parcel-price { font-size: 64px; font-weight: 800; letter-spacing: -0.03em; margin-top: 22px; line-height: 1; }
.parcel-price small { font-size: 22px; font-weight: 500; opacity: .8; margin-left: 6px; }
.parcel-meta { margin-top: 10px; font-size: 14px; opacity: .8; }

/* ----- sections ----- */
.section { padding: 56px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { font-size: clamp(24px, 4.5vw, 36px); font-weight: 800; }
.section-subtitle { margin-top: 10px; color: var(--muted); font-size: 17px; }

/* steps */
.steps { display: grid; gap: 14px; margin-top: 28px; counter-reset: step; }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 20px 20px 64px;
}
.step-num {
  position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--orange); color: #fff; font-weight: 800; display: grid; place-items: center;
}
.step-icon { width: 28px; height: 28px; color: var(--blue); margin-bottom: 10px; }
.step h3 { font-size: 18px; font-weight: 700; }
.step p { margin-top: 6px; color: var(--muted); }

/* price */
.price-grid { display: grid; gap: 20px; }
.price-card, .calc-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.price-big { display: flex; align-items: baseline; gap: 10px; margin-top: 14px; font-size: 56px; font-weight: 800; color: var(--blue); letter-spacing: -0.03em; line-height: 1; }
.price-big small { font-size: 16px; color: var(--muted); font-weight: 500; }
.price-lists { display: grid; gap: 18px; margin-top: 22px; }
.price-lists h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; }
.list-check li, .list-dash li { position: relative; padding-left: 26px; margin-bottom: 6px; }
.list-check li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.list-dash li::before { content: "–"; position: absolute; left: 4px; color: var(--muted); font-weight: 800; }
.calc-card { background: var(--blue-soft); border-color: transparent; display: flex; flex-direction: column; gap: 12px; }
.calc-label { font-weight: 600; }
.calc-label output { color: var(--blue); font-weight: 800; }
input[type=range] { width: 100%; accent-color: var(--orange); }
.calc-total { font-size: 20px; }
.calc-total b { color: var(--blue); font-size: 32px; font-weight: 800; }
.calc-note { font-size: 13px; color: var(--muted); }

/* why */
.why-grid { display: grid; gap: 14px; margin-top: 28px; }
.why-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.why-item svg { width: 30px; height: 30px; color: var(--orange); margin-bottom: 10px; }
.why-item h3 { font-size: 17px; font-weight: 700; }
.why-item p { margin-top: 6px; color: var(--muted); }

/* lead form */
.section-lead { background: linear-gradient(180deg, var(--blue) 0%, var(--blue-dark) 100%); }
.lead-card { background: var(--surface); border-radius: 24px; padding: 28px 20px; box-shadow: var(--shadow); max-width: 560px; margin: 0 auto; }
.field { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.field label { font-weight: 600; font-size: 14px; }
.field input[type=text], .field input[type=tel] {
  width: 100%; font: inherit; font-size: 17px; padding: 14px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fff; outline: none; transition: border-color .15s, box-shadow .15s;
}
.field input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11, 61, 145, .12); }
.field.has-error input { border-color: var(--red); }
.field-error { font-size: 13px; color: var(--red); min-height: 0; display: none; }
.field.has-error .field-error { display: block; }
.field-check label { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; font-size: 14px; color: var(--muted); cursor: pointer; }
.field-check input { margin-top: 3px; accent-color: var(--blue); width: 18px; height: 18px; }
.hp { position: absolute; left: -9999px; top: -9999px; height: 0; overflow: hidden; }
#submit-btn { margin-top: 22px; position: relative; }
.spinner { display: none; width: 18px; height: 18px; border: 3px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.is-sending .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-error { margin-top: 12px; color: var(--red); font-weight: 500; display: none; }
.form-error.is-visible { display: block; }
.form-error a { color: var(--red); }
.form-hint { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }
.lead-thanks { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 10px 0; }
.lead-thanks h2 { font-size: 26px; font-weight: 800; }
.lead-thanks p { color: var(--muted); max-width: 420px; }

/* faq */
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; margin-top: 10px; }
.faq-item summary { cursor: pointer; font-weight: 600; padding: 12px 0; list-style: none; position: relative; padding-right: 28px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 8px; font-size: 22px; color: var(--orange); font-weight: 700; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 0 14px; color: var(--muted); }
#faq .section-title { margin-bottom: 14px; }

/* footer */
.site-footer { background: #0A1A3A; color: #C9D3E6; padding: 36px 0; font-size: 14px; }
.footer-inner { display: grid; gap: 22px; }
.site-footer p { margin-top: 8px; }
.site-footer a { color: #fff; }
.privacy summary { cursor: pointer; color: #fff; }
.privacy p { color: #AAB6CC; font-size: 13px; }
.copy { opacity: .7; }

/* ----- tablets & desktop ----- */
@media (min-width: 640px) {
  .header-nav .btn-small { display: inline-flex; }
  .steps { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .lead-card { padding: 36px; }
  .price-lists { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .hero { padding: 64px 0 56px; }
  .hero-inner { grid-template-columns: 1.2fr 1fr; }
  .hero-actions .btn { flex: 0 0 auto; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step { padding: 64px 20px 20px; }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .price-grid { grid-template-columns: 1.3fr 1fr; }
  .section { padding: 72px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .spinner { animation: none; } }
