/* M-Tech Logistics public website. Plain CSS, system fonts, nothing loaded from outside. */
:root {
  --navy: #0f1b2d;
  --navy-2: #16263d;
  --blue: #0b5cab;
  --blue-soft: #e7f0fb;
  --ink: #17212f;
  --muted: #56637a;
  --line: #dde3ec;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --wa: #0b7a5f;
  --good: #18794a;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(15, 27, 45, .08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.65 var(--font); color: var(--ink); background: var(--bg); }
img, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 750; }
h2 { font-size: clamp(1.45rem, 2.8vw, 2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }
:focus-visible { outline: 3px solid #f2a33a; outline-offset: 2px; }
.lead { font-size: 1.15rem; color: #2c3a4f; }
.muted { color: var(--muted); }
.center { text-align: center; }
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin: 0 0 .5em; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.2) blur(6px); border-bottom: 1px solid var(--line); }
.site-head .wrap { width: min(1320px, 100% - 32px); }
.bar { display: flex; align-items: center; gap: 14px; min-height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 1.1rem; color: var(--navy); text-decoration: none; white-space: nowrap; }
.logo img { border-radius: 8px; }
#site-nav { display: flex; align-items: center; gap: 14px; margin-left: auto; }
#site-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
#site-nav ul a { display: block; padding: 8px 9px; border-radius: 8px; color: #253247; text-decoration: none; font-size: .93rem; font-weight: 550; white-space: nowrap; }
#site-nav ul a:hover { background: var(--bg-soft); }
#site-nav ul a[aria-current=page] { color: var(--blue); background: var(--blue-soft); }
.nav-cta { display: flex; gap: 8px; }
.nav-btn { display: none; margin-left: auto; border: 1px solid var(--line); background: #fff; border-radius: 8px; font-size: 20px; padding: 6px 12px; cursor: pointer; color: var(--navy); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 9px; font-weight: 650; font-size: .98rem; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; font-family: inherit; line-height: 1.2; }
.btn.primary { background: var(--blue); color: #fff; }
.btn.primary:hover { background: #094c8e; }
.btn.outline { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn.outline:hover { background: var(--blue-soft); }
.btn.ghost { color: var(--navy); border-color: var(--line); background: #fff; }
.btn.ghost:hover { background: var(--bg-soft); }
.btn.light { background: #fff; color: var(--navy); }
.btn.light:hover { background: #e9eff8; }
.btn.wa { background: var(--wa); color: #fff; }
.btn.wa:hover { background: #096650; }
.btn.big { padding: 14px 24px; font-size: 1.05rem; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(160deg, var(--navy) 0%, #12305a 60%, #0b5cab 130%); color: #eaf1fb; padding: 64px 0 72px; }
.hero h1 { color: #fff; }
.hero .lead { color: #cddcf0; max-width: 62ch; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 22px; }
.hero .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.hero .btn.ghost:hover { background: rgba(255, 255, 255, .1); }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; font-size: .95rem; color: #cddcf0; }
.facts li::before { content: "✓"; color: #7fd6a9; font-weight: 700; margin-right: 7px; }
.page-hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 34px 0 40px; }
.page-hero .lead { max-width: 70ch; margin-bottom: 0; }
.crumbs { padding-top: 14px; font-size: .88rem; }
.crumbs + .page-hero { margin-top: 10px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: #9aa6b8; }
.crumbs a { color: var(--muted); }

/* ---------- media ---------- */
.screen { margin: 0; }
.screen img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); width: 100%; background: #fff; }
.hero .screen img { border-color: rgba(255, 255, 255, .18); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; text-align: center; }
.hero figcaption { color: #b9cbe3; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section.soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.cards { display: grid; gap: 18px; }
.cards.c2 { grid-template-columns: repeat(2, 1fr); }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.cards.c4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--blue); text-decoration: underline; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card.link { display: block; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
.card.link:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.card.link h3 { color: var(--blue); }
.card.link p { color: var(--muted); font-size: .95rem; }
.icon { width: 42px; height: 42px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-weight: 800; margin-bottom: 12px; font-size: 1.05rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split.top { align-items: start; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 750; margin-bottom: 10px; }
.steps h3 { margin-bottom: .3em; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }
.check { list-style: none; padding: 0; }
.check li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.check li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--good); font-weight: 800; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1em; }
.tags li { background: var(--blue-soft); color: #0a4a8a; border-radius: 999px; padding: 4px 12px; font-size: .9rem; font-weight: 600; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: #e3f5eb; color: var(--good); vertical-align: middle; }
.badge.order { background: #fff3db; color: #8a5200; }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border: 2px solid var(--blue); box-shadow: var(--shadow); }
.plan .tag { position: absolute; top: -12px; left: 18px; white-space: nowrap; background: var(--blue); color: #fff; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.plan h3 { margin-bottom: .2em; }
.plan .price { font-size: 1.5rem; font-weight: 750; margin: 0 0 .3em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plan .price small { font-size: .78rem; font-weight: 500; color: var(--muted); }
.plan-desc { color: var(--muted); font-size: .92rem; min-height: 3.2em; }
.plan ul { font-size: .93rem; padding-left: 1.1em; margin: 0 0 18px; flex: 1; }
.plan li { margin-bottom: 5px; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
thead th { background: var(--bg-soft); font-weight: 650; }
tbody th { font-weight: 600; }
caption { text-align: left; color: var(--muted); font-size: .9rem; padding-bottom: 8px; }
.accounts { white-space: pre-line; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; font-variant-numeric: tabular-nums; }

/* ---------- FAQ ---------- */
.faq details { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; background: #fff; }
.faq summary { cursor: pointer; padding: 15px 44px 15px 18px; font-weight: 650; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 1.4rem; color: var(--blue); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 18px 6px; color: #2c3a4f; }

/* ---------- article ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.7em; font-size: 1.55rem; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: .45em; }
.prose table { margin: 1.2em 0; display: block; overflow-x: auto; }
.article-grid > * { min-width: 0; }
.split > * { min-width: 0; }
.prose .note { background: var(--blue-soft); border-left: 4px solid var(--blue); border-radius: 0 10px 10px 0; padding: 14px 18px; margin: 1.4em 0; }
.prose .note p:last-child { margin: 0; }
.prose .screen { margin: 1.6em 0; }
.article-grid { display: grid; grid-template-columns: minmax(0, 760px) 300px; gap: 48px; align-items: start; }
.article-meta { color: var(--muted); font-size: .92rem; margin: 0; }
.aside { position: sticky; top: 90px; display: grid; gap: 16px; }
.aside .card { padding: 18px; }
.aside h2 { font-size: 1rem; margin-bottom: .6em; }
.aside ul { list-style: none; padding: 0; margin: 0; font-size: .93rem; }
.aside li { margin-bottom: 8px; }
.toc a { color: #2c3a4f; text-decoration: none; }
.toc a:hover { color: var(--blue); text-decoration: underline; }
.post .meta { color: var(--muted); font-size: .85rem; }
.post h2, .post h3 { font-size: 1.12rem; }
.post h2 a { color: var(--ink); text-decoration: none; }
.post h2 a:hover { color: var(--blue); text-decoration: underline; }

/* ---------- forms ---------- */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .wide { grid-column: 1 / -1; }
label.f { display: block; font-size: .9rem; font-weight: 600; color: #2c3a4f; }
label.f input, label.f select, label.f textarea { display: block; width: 100%; margin-top: 5px; padding: 10px 12px; border: 1px solid #c5cedb; border-radius: 8px; font: inherit; font-weight: 400; background: #fff; color: var(--ink); }
label.f textarea { min-height: 96px; resize: vertical; }
label.f small { display: block; font-weight: 400; color: var(--muted); margin-top: 4px; }
.hp { position: absolute; left: -5000px; }
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; }
.alert.error { background: #fde8e6; color: #9a1c12; }
.alert.success { background: #e3f5eb; color: #116238; }
.pick { display: grid; gap: 8px; }
.pick label { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; cursor: pointer; font-size: .95rem; }
.pick label:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.pick input { margin-top: 5px; }
.pick b { display: block; }
.pick span { color: var(--muted); font-size: .88rem; }

/* ---------- call to action, footer ---------- */
.cta-band { background: var(--navy); color: #dbe6f5; padding: 46px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 60ch; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.site-foot { background: #0b1422; color: #aebbd0; font-size: .93rem; padding-top: 48px; }
.site-foot a { color: #d6e2f3; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; color: #fff; }
.site-foot .logo { color: #fff; margin-bottom: 12px; }
.site-foot h2 { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: 7px; }
.site-foot address { font-style: normal; line-height: 1.8; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 34px; }
.foot-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid #1c2a40; margin-top: 36px; padding: 18px 0 26px; font-size: .86rem; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; background: var(--wa); color: #fff; border-radius: 999px; padding: 11px 16px 11px 13px; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 650; font-size: .92rem; text-decoration: none; box-shadow: 0 8px 24px rgba(0, 0, 0, .28); }
.wa-float:hover { background: #096650; }

@media (max-width: 1240px) {
  .nav-btn { display: block; }
  #site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 18px; flex-direction: column; align-items: stretch; box-shadow: var(--shadow); }
  #site-nav.open { display: flex; }
  #site-nav ul { flex-direction: column; }
  #site-nav ul a { padding: 11px 10px; font-size: 1rem; }
  .nav-cta { flex-direction: column; }
}
@media (max-width: 1080px) {
  .article-grid { grid-template-columns: 1fr; }
  .aside { position: static; }
}
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 30px; }
  .cards.c3, .cards.c4, .steps { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 44px 0 52px; }
  .section { padding: 46px 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .cards.c2, .cards.c3, .cards.c4, .steps, .form-grid, .foot-grid { grid-template-columns: 1fr; }
  .btn { white-space: normal; text-align: center; }
  .wa-float span { display: none; }
  .wa-float { padding: 13px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .site-head, .site-foot, .wa-float, .cta-band { display: none; } }
