:root {
  --ink: #1b1b1b;
  --muted: #5d6168;
  --line: #e5e1d6;
  --paper: #f6f4ef;
  --gold: #fff600;
  --gold-deep: #e6de00;
  --white: #ffffff;
  --dark: #141414;
  --navy: #0c3f86;
  --max: 1600px;
  --font: "IBM Plex Sans", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--gold);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 50;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

h1,
h2,
h3 {
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 92px;
  padding: 12px 0;
}

.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  line-height: 1.15;
}

.header-phone {
  color: var(--ink);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
  white-space: nowrap;
}

.header-phone:hover {
  box-shadow: inset 0 -3px 0 var(--gold);
}

.header-meta {
  display: flex;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.header-meta a {
  color: inherit;
  text-decoration: none;
}

.header-meta a:hover {
  color: var(--ink);
}

.logo img {
  display: block;
  height: 64px;
  width: auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding: 5px;
  background: #f3f2ec;
  border-radius: 999px;
}

.site-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.site-nav a[aria-current="page"] {
  background: var(--gold);
  color: var(--ink);
}

.site-nav a:hover {
  background: var(--white);
}

.hero-band {
  background: var(--paper);
}

.hero {
  position: relative;
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  background: #111;
  aspect-ratio: 1896 / 812;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.slider-btn.prev {
  left: 16px;
}

.slider-btn.next {
  right: 16px;
}

.slider-btn:hover {
  background: var(--gold);
}

.dots {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  padding: 0;
}

.dot[aria-current="true"] {
  background: var(--gold);
}

.band {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.band-inner {
  padding: 56px 0;
  max-width: 760px;
}

.kicker {
  margin: 0 0 8px;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.section {
  padding: 64px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 24px;
}

.section-head h2,
.page-hero h1,
.prose h2,
.bank h2,
.contact-card h2 {
  margin: 0;
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.news-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px 32px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.news-list a {
  font-weight: 700;
  text-decoration: none;
}

.news-list a:hover {
  box-shadow: inset 0 -2px 0 var(--gold);
}

.news-list time {
  color: var(--muted);
  font-size: 0.92rem;
  white-space: nowrap;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.card,
.bank,
.contact-card {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
}

.news-media,
.catalog-media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
}

.news-media.specialist,
.catalog-media.specialist {
  background: var(--navy);
}

.news-media.gear,
.catalog-media.gear {
  background: #f3f3f3;
}

.news-media img,
.catalog-media img {
  width: auto;
  height: auto;
  max-width: 86%;
  max-height: 74%;
  object-fit: contain;
}

.card-body,
.bank,
.contact-card {
  padding: 22px;
}

.card time,
.article-date {
  color: var(--muted);
  font-size: 0.92rem;
}

.card h3 {
  margin: 8px 0 14px;
  font-size: 1.25rem;
}

.card h3 a,
.more,
.text-link {
  text-decoration: none;
}

.card h3 a:hover,
.more:hover,
.text-link:hover {
  text-decoration: underline;
}

.more,
.text-link {
  font-weight: 700;
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--gold);
}

.band .text-link {
  display: inline-block;
  margin-top: 16px;
}

.card h2 {
  margin: 0;
  font-size: 1.2rem;
}

.page-hero {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 34px 0 28px;
}

.page-hero h1 {
  margin-top: 8px;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.crumb {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.crumb a {
  color: inherit;
  text-decoration: none;
}

.crumb a:hover {
  text-decoration: underline;
}

.page {
  padding: 40px 0 72px;
}

.split {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.prose p {
  font-size: 1.12rem;
  margin: 14px 0 0;
}

.fact-card,
.bank,
.contact-card {
  background: var(--paper);
}

.fact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.fact-card h2,
.contact-card h2 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.facts,
.contact-card dl {
  margin: 0;
}

.facts div,
.contact-card dl > div {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.facts dt,
.contact-card dt,
.bank .label {
  color: var(--muted);
  font-size: 0.82rem;
  margin: 0;
}

.facts dd,
.contact-card dd {
  margin: 3px 0 0;
  font-weight: 700;
}

.facts a,
.contact-card a {
  text-decoration: none;
}

.facts a:hover,
.contact-card a:hover {
  text-decoration: underline;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  border: 0;
  border-radius: 4px;
  padding: 12px 16px;
  cursor: pointer;
}

.btn:hover {
  background: #333;
  color: var(--white);
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}

.btn-gold:hover {
  background: var(--gold-deep);
  color: var(--ink);
}

.catalog-card .card-body p {
  margin: 8px 0 0;
  color: var(--muted);
}

.bank-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.iban {
  font-family: Consolas, "Courier New", monospace;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  word-break: break-all;
  margin: 6px 0 0;
  font-weight: 700;
}

.bank .owner {
  margin: 4px 0 0;
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 22px;
  align-items: stretch;
}

.map-wrap {
  min-height: 460px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #e7e4dc;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
}

.map-link {
  margin: 12px 0 0;
}

.article {
  max-width: 820px;
}

.article-date {
  margin: 0 0 18px;
}

.wordmark,
.photo {
  margin: 0 0 18px;
}

.wordmark {
  display: grid;
  place-items: center;
  border-radius: 8px;
  overflow: hidden;
  min-height: 180px;
  padding: 28px;
}

.wordmark.specialist {
  background: var(--navy);
}

.wordmark.gear {
  background: #f3f3f3;
  border: 1px solid var(--line);
}

.wordmark img {
  width: min(100%, 460px);
}

.photo {
  background: #111;
  border-radius: 8px;
  overflow: hidden;
}

.photo img {
  display: block;
  width: 100%;
}

.site-footer {
  background: var(--dark);
  color: #d7d7d7;
  border-top: 4px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr;
  gap: 32px;
  padding: 42px 0 28px;
}

.footer-brand {
  margin: 0 0 8px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.site-footer h2 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: var(--white);
}

.site-footer p {
  margin: 0;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 6px;
}

.site-footer a {
  color: #f3f3f3;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 0 18px;
  color: #a3a3a3;
  font-size: 0.9rem;
}

.footer-base p {
  margin: 0;
}

.footer-credit {
  margin-left: auto;
}

@media (max-width: 859px) {
  .header-contact {
    order: 2;
    margin-left: auto;
  }

  .nav-toggle {
    order: 3;
  }

  .header-phone {
    font-size: 1.15rem;
  }

  .header-meta {
    display: none;
  }

  .site-nav {
    margin-left: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
    padding: 8px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 14px;
    border-radius: 10px;
  }

  .site-nav a:hover,
  .site-nav a[aria-current="page"] {
    background: var(--gold);
  }

  .logo img {
    height: 54px;
  }

  .grid-2,
  .bank-grid,
  .split,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    aspect-ratio: 16 / 9;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .news-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .footer-base {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 16px 0 32px;
  }

  .footer-credit {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .slide {
    transition: none;
  }
}
