:root {
  --paper: #f4f7fb;
  --ink: #152033;
  --pine: #2050a0;
  --pine-2: #0f2d66;
  --copper: #2050a0;
  --card: #ffffff;
  --line: #d5deeb;
  --muted: #5a6a80;
  --shadow: 0 18px 40px rgba(15, 45, 102, .08);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: var(--pine); }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px; z-index: 5; }
.topbar { background: var(--pine-2); color: #f4f7fb; font-size: 14px; }
.topbar-row, .header-row, .footer-grid, .hero-grid, .split, .contact-grid { display: flex; gap: 24px; justify-content: space-between; }
.topbar-row { padding: 8px 0; }
.site-header { position: sticky; top: 0; background: rgba(244, 247, 251, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); z-index: 2; }
.header-row { align-items: center; min-height: 76px; }
.logo { display: flex; flex-direction: column; gap: 2px; text-decoration: none; }
.logo img { height: 34px; width: auto; }
.logo small { font-weight: 650; color: var(--muted); letter-spacing: .12em; font-size: 11px; text-transform: uppercase; }
.nav { display: flex; gap: 18px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 650; }
.header-phone { text-decoration: none; font-weight: 750; white-space: nowrap; }
.hero { padding: 56px 0 24px; }
.hero-grid { align-items: end; }
.kicker { letter-spacing: .14em; text-transform: uppercase; font-size: 12px; color: var(--copper); font-weight: 750; margin: 0 0 8px; }
h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -.04em; margin: 0 0 16px; }
h2 { font-size: 32px; letter-spacing: -.03em; margin: 0 0 16px; }
.lead { font-size: 19px; max-width: 62ch; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.btn, button.btn { display: inline-block; background: var(--pine); color: #fff; text-decoration: none; border: 0; border-radius: 999px; padding: 12px 18px; font-weight: 700; cursor: pointer; }
.btn:hover, button.btn:hover { background: var(--pine-2); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: transparent; color: var(--pine); border-color: var(--pine); }
.panel, .card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.panel { padding: 22px; max-width: 360px; }
.panel ol { padding-left: 18px; }
.section { padding: 28px 0 48px; }
.section-alt { background: #e7eef8; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.card { padding: 16px; text-decoration: none; color: inherit; min-height: 180px; }
.card h3 { margin: 12px 0 6px; letter-spacing: -.02em; }
.card p { color: var(--muted); margin: 0 0 10px; }
.card strong { color: var(--pine); }
.card img, .ph { width: 100%; height: 140px; object-fit: cover; border-radius: 12px; background: #e7eef8; }
.ph { display: grid; place-items: center; font-size: 42px; color: var(--pine); }
.page { padding: 28px 0 72px; }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.search { display: flex; gap: 8px; flex-wrap: wrap; align-items: end; margin: 16px 0; }
.search input, .admin-form input, .admin-form textarea, .admin-form select { width: min(420px, 100%); padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font: inherit; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chips a { text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; color: var(--ink); background: #fff; }
.chips a.is-on { background: var(--pine); color: #fff; }
.product { display: grid; grid-template-columns: minmax(0, 280px) 1fr; gap: 28px; align-items: start; }
.product img { border-radius: 18px; }
.price { font-size: 28px; font-weight: 750; color: var(--pine); }
.file-list { list-style: none; padding: 0; }
.file-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; }
.prose p, .prose li { font-size: 18px; }
.site-footer { background: var(--pine-2); color: #f4f7fb; padding: 36px 0 88px; }
.site-footer a { color: #f4f7fb; }
.footer-note { margin-top: 18px; color: #b7c4d6; font-size: 14px; }
.dock { display: none; }
.admin { background: var(--paper); }
.admin-bar { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; padding: 12px 16px; background: var(--pine-2); color: #fff; }
.admin-bar a { color: #fff; }
.admin-main { padding: 24px 0 64px; }
.admin-form { display: grid; gap: 12px; max-width: 640px; margin-bottom: 28px; }
.admin-form label, .search label { display: grid; gap: 4px; font-weight: 650; }
.check { grid-template-columns: 20px 1fr; align-items: center; }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; }
.admin-table td, .admin-table th { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); }
.admin-photo { width: 160px; border-radius: 12px; }
.flash { background: #e7eef8; padding: 10px 12px; border-radius: 10px; }
.error { color: #8d2b1f; }
@media (max-width: 800px) {
  .topbar-row, .header-row, .hero-grid, .split, .contact-grid, .product { display: block; }
  .nav { display: none; }
  .header-phone { display: inline-block; margin-top: 8px; }
  .panel { max-width: none; margin-top: 20px; }
  .dock { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); }
  .dock a { text-align: center; padding: 14px; text-decoration: none; font-weight: 750; }
  .dock a:last-child { background: var(--pine); color: #fff; }
}
