/* PackZone — ознакомительный сайт. Фирменные цвета как в WMS. */
:root {
  --brand: #11426b;
  --brand-blue: #1f6fb2;
  --brand-light: #eaf2fb;
  --ink: #0f1d2b;
  --muted: #5b6878;
  --line: #e3e9f0;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --good: #047857;
  --good-bg: #dcfce7;
  --warn: #b45309;
  --warn-bg: #fef3c7;
  --red: #b42318;
  --red-bg: #fee2e2;
  --wa: #25d366;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(17, 66, 107, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.01em; }
h1 { font-size: clamp(32px, 5vw, 54px); font-weight: 800; color: var(--brand); }
h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; color: var(--brand); }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 12px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.section { padding: 88px 0; }
.sub { color: var(--muted); font-size: 18px; max-width: 680px; margin: 0 auto 40px; }
.contacts .sub { margin: 0 0 28px; }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--brand-blue); margin-bottom: 14px;
}
.eyebrow.center { display: block; }
.eyebrow.light { color: #a9cdf0; }
.note { color: #94a3b8; font-size: 13px; margin-top: 18px; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; border-radius: 14px; font-weight: 700; font-size: 16px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px rgba(17, 66, 107, .28); }
.btn-primary:hover { background: #0d3657; }
.btn-whatsapp { background: #fff; color: #128c4b; border-color: #bfe9d1; }
.btn-whatsapp:hover { background: #effbf4; }
.btn-ghost { background: #fff; color: var(--brand); border-color: #c9dcf0; }
.btn-white { background: #fff; color: var(--brand); }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 11px; }

/* Шапка */
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; color: var(--brand); }
.logo.light { color: #fff; font-size: 19px; }
.logo.light img { filter: brightness(0) invert(1); }
.nav { display: flex; gap: 26px; margin-left: auto; font-weight: 600; color: #334155; }
.nav a:hover { color: var(--brand-blue); }
.nav-login { display: none; }
.header-login { margin-left: 4px; }
.burger { display: none; }

/* Главный экран */
.hero {
  background:
    radial-gradient(900px 420px at 85% 10%, #dcebfa 0%, rgba(220, 235, 250, 0) 70%),
    linear-gradient(180deg, #f7fafe 0%, #fff 100%);
  padding: 72px 0 88px;
  overflow: hidden;
}
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.lead { font-size: 19px; color: #3c4a5c; max-width: 560px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #334155; font-weight: 600; font-size: 15px; }
.hero-points li::before { content: "✓"; color: var(--good); font-weight: 800; margin-right: 7px; }
.hero-visual { position: relative; }
.float-note {
  position: absolute; left: -22px; bottom: -22px; background: #fff; border-radius: 14px;
  padding: 12px 16px; font-weight: 600; font-size: 14px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 10px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 4px #dcfce7; }

/* Макет окна кабинета */
.screen { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.screen-bar {
  display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--brand);
  color: #dbe8f6; font-size: 13px; font-weight: 600;
}
.screen-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .35); }
.screen-bar span { margin-left: 8px; }
.screen-body { padding: 18px; font-size: 14px; }
.screen-body small { display: block; color: var(--muted); font-size: 12px; }
.mini-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin-bottom: 14px; }
.mini-card { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.mini-card b { font-size: 19px; color: var(--brand); }
.mini-card.good b { color: var(--good); }
.mock-table { width: 100%; border-collapse: collapse; }
.mock-table th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12px; padding: 8px 6px; background: var(--bg-soft); }
.mock-table td { padding: 9px 6px; border-top: 1px solid #eef2f6; }
.mock-table th:not(:first-child), .mock-table td:not(:first-child) { text-align: right; }
td.good { color: var(--good); font-weight: 700; }
td.warn { color: var(--warn); font-weight: 700; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.badge.good { background: var(--good-bg); color: var(--good); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.blue { background: var(--brand-light); color: var(--brand-blue); }
.badge.red { background: var(--red-bg); color: var(--red); }
.order, .store-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 11px 0; border-top: 1px solid #eef2f6;
}
.order:first-child, .store-row { border-top: 0; }
.order .right { text-align: right; }
.field { border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; margin-top: 10px; }
.field em { color: var(--brand-blue); font-style: normal; font-size: 12px; margin-left: 6px; }
.bars { display: grid; gap: 10px; margin: 4px 0 14px; }
.bar-row { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 10px; font-size: 13px; }
.bar { height: 10px; background: #eef3f9; border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand-blue), var(--brand)); border-radius: 99px; }
.pdf { display: inline-block; color: var(--brand-blue); font-weight: 700; font-size: 13px; border: 1px solid #c9dcf0; border-radius: 9px; padding: 6px 12px; }
.cost-row { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid #eef2f6; }
.cost-row:first-child { border-top: 0; }
.blur { filter: blur(5px); user-select: none; }
.cost-row.total { font-size: 15px; color: var(--brand); border-top: 2px solid var(--line); margin-bottom: 12px; }
.return-card { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; }
.return-card .photo {
  flex: 0 0 56px; height: 56px; border-radius: 10px;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}
.return-card small { margin: 2px 0 6px; }
.return-actions { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid #eef2f6; }
.mbtn { padding: 6px 11px; border-radius: 9px; font-size: 12px; font-weight: 700; border: 1px solid #d1d9e2; }
.mbtn.red { color: var(--red); border-color: #fecaca; }
.mbtn.primary { background: var(--brand); color: #fff; border-color: var(--brand); }

/* Было / стало */
.compare-section { background: #fff; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare-col { border-radius: var(--radius); padding: 30px; }
.compare-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; font-size: 16px; }
.compare-col li { display: flex; gap: 12px; }
.before { background: #f6f7f9; color: #4b5563; }
.before li::before { content: "✕"; color: #9ca3af; font-weight: 800; }
.after { background: var(--brand); color: #fff; }
.after h3 { color: #fff; }
.after li::before { content: "✓"; color: #7ee2a8; font-weight: 800; }

/* WMS */
.wms { background: var(--bg-soft); }
.tabs {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px;
}
.tab {
  border: 1px solid #c9dcf0; background: #fff; color: var(--brand); font-weight: 700; font-size: 15px;
  padding: 10px 18px; border-radius: 999px; cursor: pointer; font-family: inherit; white-space: nowrap;
}
.tab.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.panel { display: none; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.panel.active { display: grid; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.panel-text h3 { font-size: 26px; color: var(--brand); }
.panel-text p { color: #3c4a5c; font-size: 17px; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; font-weight: 600; }
.checks li::before {
  content: "✓"; flex: 0 0 24px; height: 24px; border-radius: 50%; background: var(--good-bg);
  color: var(--good); display: grid; place-items: center; font-size: 13px; font-weight: 800;
}

/* Услуги */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card .ic {
  width: 48px; height: 48px; border-radius: 14px; background: var(--brand-light);
  display: grid; place-items: center; color: var(--brand-blue); margin-bottom: 16px;
}
.card h3 { color: var(--brand); font-size: 18px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }

/* Склад */
.warehouse { background: var(--bg-soft); }
.warehouse-in { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.warehouse-text p { color: #3c4a5c; font-size: 17px; }
.hours { margin-top: 22px; background: #fff; border-radius: 14px; padding: 18px 20px; border: 1px solid var(--line); display: inline-block; }
.hours small { display: block; color: var(--muted); }
.hours b { display: block; font-size: 20px; color: var(--brand); }
.hours span { color: var(--muted); font-size: 14px; }
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.photos img { border-radius: var(--radius); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; height: auto; box-shadow: var(--shadow); }
.photos img:last-child { margin-top: 40px; }

/* Шаги */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.steps li:not(:last-child)::after {
  content: "→"; position: absolute; right: -16px; top: 34px; color: #9fbfdf; font-weight: 800; font-size: 20px; z-index: 1;
}
.num {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; margin-bottom: 16px;
  background: var(--brand); color: #fff; font-weight: 800; font-size: 18px;
}
.steps h3 { color: var(--brand); }
.steps p { color: var(--muted); font-size: 15px; margin: 0; }

/* Стоимость */
.price-box {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
  background: linear-gradient(135deg, var(--brand) 0%, #1a5a92 100%); color: #fff;
  border-radius: 26px; padding: 52px;
}
.price-box h2 { color: #fff; }
.price-box p { color: #d6e5f4; font-size: 17px; }
.price-factors { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.price-factors li { display: flex; gap: 10px; color: #eaf2fb; }
.price-factors li::before { content: "•"; color: #7ec0ff; font-weight: 800; }
.price-cta { text-align: center; }
.price-cta .btn { width: 100%; padding: 18px 26px; font-size: 18px; }
.price-cta small { display: block; color: #a9cdf0; margin-top: 10px; }

/* Вопросы */
.faq-section { background: var(--bg-soft); }
.faq-section h2 { margin-bottom: 32px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; }
summary { cursor: pointer; padding: 18px 52px 18px 22px; font-weight: 700; font-size: 17px; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 22px; top: 14px; font-size: 24px; color: var(--brand-blue); font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { padding: 0 22px 18px; margin: 0; color: #3c4a5c; }

/* Контакты */
.contacts-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: block; }
a.contact:hover { border-color: #9fbfdf; }
.contact small { display: block; color: var(--muted); }
.contact b { font-size: 18px; color: var(--brand); }
.cta-card { background: var(--brand-light); border-radius: 22px; padding: 32px; display: grid; gap: 12px; }
.cta-card h3 { font-size: 24px; color: var(--brand); margin: 0; }
.cta-card p { color: #3c4a5c; margin: 0 0 6px; }

/* Подвал */
.footer { background: var(--brand); color: #c7dbef; padding: 28px 0; font-size: 14px; }
.footer-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }

/* Плавающая кнопка WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
}

/* Планшет */
@media (max-width: 980px) {
  .hero-in, .panel.active, .warehouse-in, .contacts-in, .price-box { grid-template-columns: 1fr; }
  .panel.active { gap: 28px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
  .hero-visual { max-width: 560px; }
  .price-box { padding: 36px; }
}

/* Телефон */
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .section { padding: 60px 0; }
  .sub { font-size: 16px; margin-bottom: 28px; }
  .header-in { height: 60px; gap: 12px; }
  .logo { font-size: 20px; }
  .header-login { margin-left: auto; }
  .burger {
    display: grid; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer;
  }
  .burger span { display: block; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 60px; background: #fff;
    flex-direction: column; gap: 0; padding: 8px 16px 16px; border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(15, 29, 43, .08);
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 4px; border-bottom: 1px solid #f0f3f7; }
  .nav-login { display: block; color: var(--brand-blue); }

  .hero { padding: 40px 0 64px; }
  .lead { font-size: 17px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .float-note { position: static; margin: 14px 0 0; font-size: 13px; }
  .mini-cards { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .mini-card { padding: 8px; }
  .mini-card b { font-size: 15px; }

  .compare { grid-template-columns: 1fr; }
  .compare-col { padding: 24px; }

  .tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 24px; padding: 0 16px 6px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .panel-text h3 { font-size: 22px; }
  .panel-text p { font-size: 16px; }
  .screen-body { padding: 14px; font-size: 13px; }
  .bar-row { grid-template-columns: 110px 1fr; }
  .order { align-items: flex-start; }

  .cards, .steps { grid-template-columns: 1fr; }
  .card { padding: 20px; display: grid; grid-template-columns: 48px 1fr; gap: 0 14px; }
  .card .ic { grid-row: span 2; margin: 0; }
  .card h3 { margin-bottom: 4px; }

  .photos img:last-child { margin-top: 24px; }
  .price-box { padding: 28px 22px; border-radius: 20px; }
  .price-factors { grid-template-columns: 1fr; }
  .contact-list { grid-template-columns: 1fr; }
  .cta-card { padding: 24px; }
  .footer-in { flex-direction: column; text-align: center; padding-bottom: 60px; }
}
