/* ===== Шрифт Aeonik ===== */
@font-face {
  font-family: 'Aeonik-Pro';
  src: url('fonts/AeonikProThin.ttf') format('truetype');
  font-weight: 100; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Aeonik-Pro';
  src: url('fonts/AeonikProRegular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Aeonik-Pro';
  src: url('fonts/AeonikProMedium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Aeonik-Pro';
  src: url('fonts/AeonikProBold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --primary: #005250;
  --primary-strong: #004241;
  --primary-soft: #128180;
  --accent: #ff9d00;
  --accent2: #ffdc2e;
  --bg: #f4f5f5;
  --surface: #ffffff;
  --border: #e1e3e5;
  --text: #282b2e;
  --muted: #6b737b;
  --radius-s: 4px;
  --radius-m: 6px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Aeonik-Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  font-size: 15px;
}
a { color: var(--primary-soft); }

/* ===== Шапка ===== */
.topbar {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
  position: sticky; top: 0; z-index: 10;
}
.topbar .logo { height: 38px; width: auto; display: block; }
.topbar .s { font-size: 13px; color: var(--muted); }

/* ===== Статья ===== */
.article { max-width: 820px; margin: 0 auto; padding: 32px 24px 72px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--primary-soft);
  font-size: 12px; font-weight: 500; letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }

h1 {
  font-size: 34px; line-height: 1.12; letter-spacing: -.02em;
  margin: 0 0 16px; font-weight: 100;
}
h2 {
  font-size: 22px; letter-spacing: -.01em;
  margin: 40px 0 16px; font-weight: 400;
}

.hero {
  display: grid; grid-template-columns: 1fr 340px;
  gap: 40px; align-items: center;
  margin-bottom: 8px;
}
.hero__img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius-m);
  background: var(--surface);
  border: 1px solid var(--border);
}
.lead { font-size: 17px; color: var(--muted); margin: 0 0 8px; line-height: 1.5; }
.meta { font-size: 13px; color: var(--muted); margin-bottom: 22px; }

/* ===== Кнопки ===== */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--primary); color: #fff;
  text-decoration: none; font-weight: 500;
  border-radius: var(--radius-m); padding: 12px 18px; font-size: 14px;
  transition: background .15s ease;
  border: 1px solid transparent;
}
.btn:hover { background: var(--primary-strong); }
.btn--ghost {
  background: transparent; color: var(--primary);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--primary); background: transparent; }

/* ===== Модели ===== */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.model {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 14px;
}
.model__img {
  width: 100%; height: 210px; object-fit: contain;
  background: #fafbfb;
  border-radius: var(--radius-s);
  margin-bottom: 12px;
}
.model .tag {
  display: inline-block; background: var(--accent2); color: var(--primary-strong);
  border-radius: var(--radius-s); font-size: 11px; font-weight: 500; letter-spacing: .02em;
  padding: 3px 9px; margin-bottom: 8px;
}
.model .name { font-size: 16px; font-weight: 500; margin-bottom: 4px; letter-spacing: -.01em; }
.model .sku { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.model .spec { font-size: 13px; color: var(--muted); line-height: 1.5; }
.model .spec b { color: var(--text); font-weight: 500; }

/* ===== Списки ===== */
.tech {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.tech li {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-m); padding: 15px 16px;
}
.tech__icon {
  flex: none; width: 42px; height: 42px; border-radius: var(--radius-s);
  display: grid; place-items: center;
  background: rgba(0,82,80,.07); color: var(--primary-soft);
  font-size: 22px; line-height: 1;
}
.tech__text { font-size: 14px; color: var(--muted); line-height: 1.5; }
.tech__text b { display: block; color: var(--text); font-weight: 500; margin-bottom: 3px; }

/* ===== Таблица ===== */
table {
  width: 100%; border-collapse: collapse;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-m); overflow: hidden; font-size: 13px;
}
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); }
th { background: var(--primary); color: #fff; font-weight: 500; font-size: 12px; letter-spacing: .02em; }
td:first-child { color: var(--muted); }
tr:last-child td { border-bottom: none; }
.table-wrap { overflow-x: auto; }

/* ===== Шоурум ===== */
.showroom { margin-top: 48px; }
.showroom__lead { font-size: 15px; color: var(--muted); margin: 0 0 18px; max-width: 640px; }
.showroom__gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin-bottom: 8px;
}
.showroom__gallery img {
  width: 100%; height: 150px; object-fit: cover;
  border-radius: var(--radius-s);
}
.showroom__map {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius-m);
  border: 1px solid var(--border);
  margin: 14px 0;
}

.contacts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 14px; }
.contact {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-m); padding: 14px 16px;
}
.contact .k { font-size: 12px; color: var(--muted); margin-bottom: 3px; }
.contact .v { font-size: 15px; font-weight: 500; }

.footer { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted); }

/* ===== Список новостей (index) ===== */
.list { max-width: 820px; margin: 0 auto; padding: 32px 24px 72px; }
.list h1 { font-size: 30px; font-weight: 400; }
.news-item {
  display: block; text-decoration: none; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m);
  padding: 18px 20px; margin-bottom: 12px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.news-item:hover { border-color: var(--primary-soft); box-shadow: 0 4px 16px rgba(40,43,46,.08); }
.news-item .date { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.news-item .title { font-size: 17px; font-weight: 500; }

@media (max-width: 720px) {
  h1 { font-size: 28px; }
  .hero { grid-template-columns: 1fr; gap: 20px; }
  .hero__img { max-height: 340px; object-fit: cover; }
  .grid { grid-template-columns: 1fr; }
  .tech { grid-template-columns: 1fr; }
  .showroom__gallery { grid-template-columns: repeat(2, 1fr); }
  .contacts { grid-template-columns: 1fr; }
  .article, .list { padding: 22px 16px 56px; }
}
