/* SwiftRoad — swiftroad.uz
   Colours are taken from the logo: deep blue bar (#204a87), globe blues, mint→sky gradient. */

:root {
  --navy: #163a6b;
  --primary: #204a87;
  --primary-2: #2f66b5;
  --accent: #3b8ce6;
  --mint: #cbfad8;
  --sky: #9fc2ff;
  --ink: #0f1b2d;
  --muted: #5b6b80;
  --line: #dde5ef;
  --bg: #ffffff;
  --bg-soft: #f4f8fc;
  --card: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(22, 58, 107, .10);
  --shadow-sm: 0 2px 10px rgba(22, 58, 107, .08);
  --container: 1140px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
section { padding: 72px 0; }
section.soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: .98rem;
  border: 2px solid transparent; cursor: pointer; transition: .18s ease; white-space: nowrap;
  font-family: inherit; line-height: 1.2;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(32, 74, 135, .28); }
.btn-primary:hover { background: var(--navy); }
.btn-outline { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--bg-soft); }
.btn-ghost { background: rgba(255,255,255,.75); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: #fff; }
.btn-tg { background: #2aabee; color: #fff; }
.btn-tg:hover { background: #1f95d4; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:disabled { opacity: .6; cursor: default; transform: none; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent; transition: .2s;
}
.header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(22,58,107,.06); }
.header .container { display: flex; align-items: center; gap: 16px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 800; }
.brand:hover { text-decoration: none; }
.brand img { width: 46px; height: 46px; }
.brand-name { font-size: 1.25rem; letter-spacing: -.02em; line-height: 1; }
.brand-name span { color: var(--primary); }
.brand-sub { display: block; white-space: nowrap; font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 11px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: .93rem; white-space: nowrap; }
.nav a:hover { background: var(--bg-soft); text-decoration: none; color: var(--primary); }
.lang { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.lang a { padding: 5px 10px; border-radius: 999px; font-size: .8rem; font-weight: 800; color: var(--muted); letter-spacing: .04em; }
.lang a:hover { text-decoration: none; color: var(--primary); }
.lang a.active { background: var(--primary); color: #fff; }
.header .btn-call { padding: 10px 18px; flex: none; }
.header .lang, .header .brand { flex: none; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.burger svg { width: 22px; height: 22px; }

/* Mobile menu */
.mobile-menu { display: none; position: fixed; inset: 72px 0 0 0; background: #fff; z-index: 49; padding: 20px; overflow: auto; }
.mobile-menu.open { display: block; }
.mobile-menu a.link { display: block; padding: 14px 6px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.mobile-menu .lang { margin: 18px 0; width: max-content; }
.mobile-menu .btn { width: 100%; margin-top: 10px; }

/* Hero */
.hero {
  position: relative; overflow: hidden; padding: 64px 0 80px;
  background: linear-gradient(135deg, #dcfbe6 0%, #d8e8ff 48%, #b9d0ff 100%);
}
.hero::before {
  content: ""; position: absolute; inset: auto -10% -40% auto; width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255,255,255,.7), rgba(255,255,255,0) 60%); pointer-events: none;
}
.hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.7); color: var(--primary); font-weight: 700; font-size: .85rem; margin-bottom: 18px; border: 1px solid rgba(32,74,135,.12); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h1 { color: var(--navy); }
.hero .lead { font-size: 1.12rem; color: #2b3b52; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }
.points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.points li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: .95rem; color: #1e2f47; }
.points svg { width: 20px; height: 20px; flex: none; color: var(--primary); margin-top: 2px; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-card {
  position: relative; width: min(100%, 400px); aspect-ratio: 1; border-radius: 32px;
  background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.9);
  box-shadow: var(--shadow); display: grid; place-items: center; padding: 34px;
}
.hero-card img { width: 100%; filter: drop-shadow(0 12px 24px rgba(22,58,107,.22)); }
.badge {
  position: absolute; padding: 8px 14px; border-radius: 12px; background: #fff; font-weight: 800; font-size: .85rem;
  color: var(--primary); box-shadow: var(--shadow-sm); border: 1px solid var(--line); white-space: nowrap;
}
.badge.b1 { top: 6%; left: -6%; }
.badge.b2 { top: 20%; right: -8%; }
.badge.b3 { bottom: 18%; left: -8%; }
.badge.b4 { bottom: 5%; right: -4%; }

/* Services */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm); transition: .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c9d8ec; }
.icon-box { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, #e8f1ff, #dbf7e5); color: var(--primary); display: grid; place-items: center; margin-bottom: 16px; }
.icon-box svg { width: 26px; height: 26px; }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px 20px; }
.step .num { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 14px; box-shadow: 0 6px 14px rgba(32,74,135,.28); }
.step h3 { font-size: 1.05rem; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* Requirements */
.req { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.req-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.req-list li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-weight: 600; }
.req-list svg { width: 22px; height: 22px; flex: none; color: #fff; background: var(--primary); border-radius: 50%; padding: 4px; }
.note { margin-top: 22px; padding: 18px 20px; border-radius: 14px; background: linear-gradient(135deg, #e8f1ff, #dbf7e5); border: 1px solid #cfe0f5; color: #1e2f47; font-weight: 600; }
.req-side { position: sticky; top: 96px; }
.req-side .card { background: var(--navy); color: #fff; border: none; }
.req-side .card h3 { color: #fff; font-size: 1.3rem; }
.req-side .card p { color: rgba(255,255,255,.82); margin-bottom: 18px; }
.req-side .btn-primary { background: #fff; color: var(--navy); box-shadow: none; }
.req-side .btn-primary:hover { background: var(--mint); }

/* Why */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-item { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.why-item .n { font-size: 2rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 10px; }
.why-item h3 { font-size: 1.05rem; }
.why-item p { color: var(--muted); margin: 0; font-size: .94rem; }

/* FAQ */
.faq { max-width: 800px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; margin-bottom: 10px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--bg-soft); color: var(--primary); display: grid; place-items: center; font-weight: 800; transition: .2s; }
.faq details[open] summary::after { content: "–"; background: var(--primary); color: #fff; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.form-card { padding: 30px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 700; font-size: .92rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fbfcfe; color: var(--ink); transition: .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(59,140,230,.15); }
.field textarea { min-height: 110px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.consent input { margin-top: 4px; accent-color: var(--primary); width: 18px; height: 18px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-msg { display: none; margin-top: 14px; padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.form-msg.ok { display: block; background: #e6f7ec; color: #14683a; border: 1px solid #b9e6c8; }
.form-msg.err { display: block; background: #fdecec; color: #9b1c1c; border: 1px solid #f5c2c2; }
.info-card { padding: 28px; background: var(--navy); color: #fff; border: none; }
.info-card h3 { color: #fff; margin-bottom: 18px; font-size: 1.25rem; }
.info-row { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.12); }
.info-row:first-of-type { border-top: none; padding-top: 0; }
.info-row .ico { width: 40px; height: 40px; flex: none; border-radius: 12px; background: rgba(255,255,255,.12); display: grid; place-items: center; }
.info-row .ico svg { width: 20px; height: 20px; }
.info-row small { display: block; color: rgba(255,255,255,.65); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.info-row a, .info-row span.v { color: #fff; font-weight: 700; font-size: 1.02rem; }
.info-card .btn { width: 100%; margin-top: 18px; }
.map { margin-top: 28px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--bg-soft); }
.map iframe { width: 100%; height: 360px; border: 0; display: block; }

/* Footer */
.footer { background: #0f2747; color: rgba(255,255,255,.8); padding: 56px 0 24px; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer .brand { color: #fff; }
.footer .brand-sub { color: rgba(255,255,255,.55); }
.footer p { font-size: .93rem; }
.footer h4 { color: #fff; margin-bottom: 14px; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: rgba(255,255,255,.85); }
.footer a:hover { color: #fff; }
.footer .lang { background: transparent; border-color: rgba(255,255,255,.22); }
.footer .lang a { color: rgba(255,255,255,.7); }
.footer .lang a.active { background: #fff; color: var(--navy); }
.footer .bottom { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; color: rgba(255,255,255,.55); }

/* Floating Telegram */
.float-tg {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  background: #2aabee; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(42,171,238,.45);
}
.float-tg:hover { background: #1f95d4; }
.float-tg svg { width: 28px; height: 28px; }

/* Responsive */
@media (max-width: 1320px) {
  .header .btn-call { width: 44px; height: 44px; padding: 0; border-radius: 50%; }
  .header .btn-call span { display: none; }
  .nav { gap: 0; }
}
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-card { width: min(100%, 300px); }
  .nav { display: none; }
  .header .lang, .header .btn-call { display: none; }
  .burger { display: flex; }
}
@media (max-width: 680px) {
  section { padding: 52px 0; }
  .hero { padding: 36px 0 56px; }
  .grid-3, .steps, .grid-4, .req, .contact, .row-2, .footer .cols { grid-template-columns: 1fr; }
  .points { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .badge.b1 { left: 0; } .badge.b2 { right: 0; } .badge.b3 { left: 0; } .badge.b4 { right: 0; }
  .req-side { position: static; }
  .form-card, .info-card { padding: 22px; }
  .map iframe { height: 280px; }
  .float-tg { right: 14px; bottom: 14px; }
}
