:root {
  --bg: #f4f7fb;
  --ink: #1c2836;
  --muted: #5c6b7c;
  --line: #d7e0ea;
  --navy: #0e2a43;
  --navy-2: #16385a;
  --accent: #1f7a8c;
  --accent-2: #e8f4f6;
  --card: #fff;
  --warn: #8a5a12;
  --warn-bg: #fff6e8;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(14, 42, 67, .08);
  --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.55 "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
a { color: var(--accent); }
img { max-width: 100%; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.topbar {
  background: var(--navy);
  color: #d5e2ee;
  font-size: 14px;
}
.topbar .wrap { display: flex; gap: 16px; justify-content: space-between; align-items: center; padding: 8px 0; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
header.site {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
header.site .wrap { display: flex; align-items: center; gap: 18px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); min-width: 220px; }
.brand img { height: 48px; width: auto; background: transparent; }
.brand span { font-weight: 700; letter-spacing: .02em; font-size: 15px; line-height: 1.2; }
.brand small { display: block; font-weight: 500; color: var(--muted); letter-spacing: 0; }
nav.main { margin-left: auto; display: flex; gap: 4px; align-items: center; }
nav.main > a, .drop > button {
  color: var(--navy);
  text-decoration: none;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
}
nav.main > a:hover, .drop > button:hover, nav.main > a.active { background: var(--accent-2); }
.drop { position: relative; }
.drop menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px;
  margin: 0;
  list-style: none;
}
.drop:hover menu, .drop:focus-within menu { display: block; }
.drop menu a { display: block; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.drop menu a:hover { background: var(--accent-2); }
.burger { display: none; margin-left: auto; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 8px 10px; }
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, #1f7a8c 140%);
  color: #fff;
  padding: 42px 0 36px;
}
.hero h1 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 40px); line-height: 1.15; }
.hero p { margin: 0; max-width: 640px; color: #d5e4ef; }
.hero .actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 10px;
}
.btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); }
.page { padding: 28px 0 48px; }
h1.page-title { margin: 0 0 8px; font-size: 32px; }
.lead { color: var(--muted); margin-top: 0; }
.grid { display: grid; gap: 14px; }
.grid.cards { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card, .panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card { padding: 18px; }
.card h3 { margin: 0 0 6px; }
.price { font-size: 28px; font-weight: 800; color: var(--navy); margin: 8px 0; }
.price small { font-size: 15px; font-weight: 600; color: var(--muted); }
.panel { padding: 18px 20px; margin: 16px 0; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #f7fafc; font-size: 14px; }
.note {
  background: var(--warn-bg);
  color: #5c4316;
  border: 1px solid #f0e0c4;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 14px 0;
}
.news-list { list-style: none; padding: 0; margin: 0; }
.news-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.news-list time { display: block; color: var(--muted); font-size: 13px; }
footer.site { background: var(--navy); color: #c9d7e4; padding: 28px 0; font-size: 14px; }
footer.site a { color: #fff; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--muted); }
@media (max-width: 860px) {
  .burger { display: block; }
  nav.main { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); }
  nav.main.open { display: flex; }
  .drop menu { position: static; box-shadow: none; border: 0; display: block; padding-left: 8px; }
  footer.site .cols { grid-template-columns: 1fr; }
}
