/* Визитка bimlib.ru.
   Токены и размеры — посадочники bimlib.pro:
   src/style.css (@theme, @utility landing-container),
   src/pages/for-manufacturers/index.vue (hero, карточки),
   src/components/manufacturers/CtaBand.vue (teal-плашка),
   src/components/layout/AppHeader.vue (шапка). */

:root {
  --teal: #00afa1;
  --teal-600: #009c90;
  --ink: #252525;
  --muted: #4d4d4d;
  --bg: #f3f7f6;
  --line: rgba(229, 229, 229, 0.7);
  --sans: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; }

.landing-container {
  margin-inline: auto;
  max-width: 1480px;
  padding-inline: 10px;
}
@media (min-width: 640px) { .landing-container { padding-inline: 18px; } }
@media (min-width: 1024px) { .landing-container { padding-inline: 30px; } }
@media (min-width: 1280px) { .landing-container { padding-inline: 40px; } }

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  box-shadow: 0 5px 40px 0 rgba(0, 0, 0, 0.03);
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 12px 28px;
  min-height: 64px;
  flex-wrap: wrap;
  padding-block: 8px;
}
.logo { display: flex; flex: 0 0 auto; }
.logo img { width: 95px; height: auto; display: block; }
@media (min-width: 1280px) { .logo img { width: 115px; } }
.nav { display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.nav a:hover, .nav a.is-active { color: var(--teal); }
.phone {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.phone:hover { color: var(--teal); }
.phone svg { width: 16px; height: 16px; flex: 0 0 auto; }

.hero { position: relative; overflow: hidden; padding: 28px 0 8px; }
.hero-map {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%) scale(1.3);
  width: 100%;
  min-width: 2080px;
  height: auto;
  pointer-events: none;
  user-select: none;
  opacity: 0.55;
}
.hero-copy { position: relative; max-width: 1080px; padding-bottom: 30px; }
h1 {
  margin: 0 0 24px;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  overflow-wrap: break-word;
}
@media (min-width: 1024px) { h1 { font-size: 54px; } }
.lead {
  margin: 0;
  max-width: 760px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
}
@media (min-width: 1024px) { .lead { font-size: 21px; } }
.hero-contacts { display: flex; flex-wrap: wrap; gap: 28px 48px; margin-top: 30px; }
.kicker {
  margin: 0 0 4px;
  font-size: 14px;
  color: rgba(77, 77, 77, 0.8);
}
.hero-contacts a.big {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.02em;
}
.hero-contacts a.mail { font-size: 22px; font-weight: 500; }
.hero-contacts a.big:hover, .hero-contacts a.mail:hover { color: var(--teal); }

.section { padding: 28px 0 8px; }
.section h2 {
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.page-intro { padding: 36px 0 8px; }
.page-intro h1 { font-size: 40px; }
@media (min-width: 1024px) { .page-intro h1 { font-size: 49px; line-height: 1.15; letter-spacing: -0.02em; } }

.grid-2, .grid-4, .grid-certs, .partners {
  display: grid;
  gap: 16px;
}
.grid-2 { grid-template-columns: 1fr; }
.partners { grid-template-columns: 1fr; }
.grid-certs { grid-template-columns: 1fr; }
@media (min-width: 700px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .partners { grid-template-columns: repeat(3, 1fr); }
  .grid-certs { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .partners { grid-template-columns: repeat(5, 1fr); }
  .grid-certs { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 0 0 1px var(--line);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
a.card { transition: box-shadow 0.2s; }
a.card:hover { box-shadow: 0 0 0 2px var(--teal), 0 18px 40px rgba(0, 0, 0, 0.06); }
.card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
a.card:hover h3 { color: var(--teal); }
.card p, .card li { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.card ul { margin: 0; padding-left: 18px; }
.card li + li { margin-top: 6px; }
.card .more {
  margin-top: auto;
  padding-top: 18px;
  color: var(--teal);
  font-weight: 600;
  font-size: 15px;
}
.partner {
  background: #fff;
  border-radius: 16px;
  min-height: 72px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: 0 0 0 1px var(--line);
}
.partner:hover { color: var(--teal); box-shadow: 0 0 0 2px var(--teal); }
.cert-no { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.cert-date { margin-top: 6px; color: var(--muted); font-size: 14px; }
.cert .more { padding-top: 14px; }

.band {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-radius: 12px;
  border: 1px solid rgba(0, 175, 161, 0.25);
  background: rgba(0, 175, 161, 0.04);
  padding: 24px 28px;
}
@media (min-width: 700px) {
  .band { flex-direction: row; align-items: center; }
}
.band p { margin: 0; flex: 1; font-size: 15px; line-height: 1.55; color: #1f2937; }
.band ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); }
.band li + li { margin-top: 4px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 32px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  white-space: nowrap;
  align-self: flex-start;
}
.btn:hover { background: var(--teal-600); }
.btn-line {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 32px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 0 0 1px #e5e5e5;
}
.btn-line:hover { background: #fafafa; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }

.sheet {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 0 0 1px var(--line);
  max-width: 920px;
}
.sheet h2 { font-size: 22px; margin: 28px 0 12px; }
.sheet h2:first-child { margin-top: 0; }
.sheet h3 { font-size: 18px; margin: 22px 0 8px; }
.sheet p, .sheet li { color: var(--muted); font-size: 16px; line-height: 1.65; }
.sheet a { color: var(--teal); }
.sheet ul { margin: 8px 0 16px; padding-left: 18px; }
.meta { display: grid; gap: 14px 32px; margin: 0 0 8px; }
@media (min-width: 700px) { .meta { grid-template-columns: 220px 1fr; } }
.meta dt { font-size: 14px; color: rgba(77, 77, 77, 0.8); }
.meta dd { margin: 0; font-weight: 600; }
.note { margin-top: 18px; color: var(--muted); font-size: 14px; }

.site-footer {
  margin-top: 48px;
  background: #fff;
  box-shadow: 0 -1px 0 var(--line);
}
.site-footer .landing-container {
  padding-top: 28px;
  padding-bottom: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px 48px;
  justify-content: space-between;
}
.legal { max-width: 760px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.legal p { margin: 0 0 6px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal nav { margin-top: 10px; }
.legal nav a { color: var(--teal); text-decoration: none; font-weight: 600; }
.legal nav a:hover { text-decoration: underline; }
.legal .sep { color: #a3a3a3; margin: 0 6px; }
.residents { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.residents a { color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; }
.residents a:hover { color: var(--teal); }

.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: none;
  align-items: center;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px var(--line);
}
.cookie.is-on { display: flex; }
.cookie p { margin: 0; flex: 1; color: var(--muted); font-size: 14px; }
.cookie .btn { height: 44px; padding: 0 22px; font-size: 15px; }
@media (max-width: 640px) {
  .cookie { flex-direction: column; align-items: stretch; }
  h1 { font-size: 32px; }
  .hero-contacts a.big { font-size: 24px; }
}
