@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/ibm-plex-sans-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/ibm-plex-mono-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/ibm-plex-sans-medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/ibm-plex-sans-semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/ibm-plex-sans-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --c-green-700: oklch(0.40 0.085 152);
  --c-green-600: oklch(0.47 0.09 152);
  --c-green-500: oklch(0.55 0.10 150);
  --c-green-50: oklch(0.965 0.015 150);
  --c-graphite-900: oklch(0.23 0.008 250);
  --c-graphite-800: oklch(0.29 0.008 250);
  --c-graphite-700: oklch(0.36 0.008 250);
  --c-gray-900: oklch(0.20 0 0);
  --c-gray-700: oklch(0.38 0 0);
  --c-gray-500: oklch(0.55 0 0);
  --c-gray-300: oklch(0.82 0 0);
  --c-gray-200: oklch(0.90 0 0);
  --c-gray-100: oklch(0.96 0 0);
  --c-white: oklch(0.995 0.002 90);
  --font-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --sh-sm: 0 1px 2px rgb(0 0 0 / 6%);
  --sh-md: 0 4px 12px rgb(0 0 0 / 8%);
  --container: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--c-white);
  color: var(--c-gray-900);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--c-green-600);
  text-decoration: none;
}

a:hover {
  color: var(--c-green-700);
}

button,
input {
  font: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 3.2vw, 40px);
}

.site-header {
  position: relative;
  z-index: 20;
}

.header-top {
  background: #fff;
  border-bottom: 1px solid var(--c-gray-200);
}

.header-top__inner {
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  color: inherit;
}

.brand:hover {
  color: inherit;
}

.brand__mark {
  display: block;
  width: 118px;
  height: 52px;
  flex: none;
}

.brand--light .brand__mark {
  color: var(--c-gray-900);
}

.brand__text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
}

.brand__name {
  display: block;
  color: var(--c-gray-900);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand__tag {
  display: block;
  margin-top: 2px;
  color: var(--c-gray-500);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--c-gray-900);
}

.header-phone:hover {
  color: var(--c-gray-900);
}

.phone-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--c-green-50);
  color: var(--c-green-600);
}

.phone-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.header-phone strong,
.header-phone small {
  display: block;
  white-space: nowrap;
}

.header-phone strong {
  font-size: 14.5px;
  font-weight: 600;
}

.header-phone small {
  margin-top: 2px;
  color: var(--c-gray-500);
  font-size: 11px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social {
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.social:hover {
  color: #fff;
  filter: brightness(0.94);
  transform: translateY(-1px);
}

.social--telegram {
  background: #229ed9;
}

.social--whatsapp {
  background: #25d366;
}

.social svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--r-md);
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.button--primary {
  padding: 11px 22px;
  background: var(--c-green-600);
  color: #fff;
}

.button--primary:hover {
  background: var(--c-green-700);
  color: #fff;
}

.header-cta {
  flex: none;
}

.nav-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--c-graphite-900);
}

.nav-bar__inner {
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: clamp(12px, 1.6vw, 22px);
}

.nav-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 5px;
  color: var(--c-gray-300);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link--current {
  color: var(--c-green-500);
}

.chevron {
  font-size: 16px;
  line-height: 1;
}

.catalog-search {
  position: relative;
  display: block;
  width: 216px;
  flex: 0 1 216px;
  margin-left: auto;
}

.catalog-search svg {
  position: absolute;
  top: 50%;
  left: 11px;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  fill: none;
  stroke: var(--c-gray-500);
  stroke-linecap: round;
  stroke-width: 1.7;
  pointer-events: none;
}

.catalog-search input {
  width: 100%;
  min-height: 36px;
  padding: 7px 10px 7px 34px;
  border: 1px solid var(--c-graphite-700);
  border-radius: var(--r-sm);
  outline: 0;
  background: var(--c-graphite-800);
  color: #fff;
  font-size: 13px;
}

.catalog-search input::placeholder {
  color: var(--c-gray-500);
}

.catalog-search input:focus-visible {
  border-color: var(--c-green-500);
}

.mobile-bar {
  display: none;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 26px 0 38px;
  background: var(--c-graphite-900);
  color: #fff;
}

.page-hero__pattern {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, var(--c-graphite-800) 0, var(--c-graphite-800) 1px, transparent 1px, transparent 22px);
  opacity: 0.12;
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  color: var(--c-gray-500);
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--c-gray-300);
}

.breadcrumbs a:hover {
  color: #fff;
}

.breadcrumbs [aria-current="page"] {
  color: #fff;
  font-weight: 600;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--c-green-500);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.page-hero h1 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.page-hero__desc {
  max-width: 680px;
  margin: 0;
  color: var(--c-gray-300);
  font-size: 15.5px;
  line-height: 1.6;
}

.section {
  padding-block: 54px 64px;
}

.article-grid {
  display: grid;
  grid-auto-rows: 1fr;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.article-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--c-gray-200);
  border-radius: var(--r-md);
  background: #fff;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.article-card:hover {
  transform: translateY(-2px);
  border-color: var(--c-gray-300);
  box-shadow: var(--sh-md);
}

.article-card:focus-within {
  border-color: var(--c-green-600);
  box-shadow: 0 0 0 3px oklch(0.47 0.09 152 / 12%);
}

.article-card__media {
  display: flex;
  width: 100%;
  aspect-ratio: 16 / 9;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--c-gray-200);
  background: #fff;
}

.article-card__image {
  display: block;
  width: 100%;
  height: 100%;
}

.article-card__image--cover {
  object-fit: cover;
}

.article-card__image--contain {
  object-fit: contain;
}

.article-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 20px 20px;
}

.article-card h3 {
  display: -webkit-box;
  min-height: 2.5em;
  overflow: hidden;
  margin: 0 0 10px;
  color: var(--c-gray-900);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.article-card h3 a {
  color: inherit;
}

.article-card h3 a:hover {
  color: var(--c-green-700);
}

.article-card h3 a:focus-visible,
.read-link:focus-visible,
.nav-link:focus-visible,
.footer__links a:focus-visible,
.button:focus-visible,
.pagination a:focus-visible {
  outline: 3px solid oklch(0.55 0.10 150 / 35%);
  outline-offset: 3px;
}

.article-card__excerpt {
  display: -webkit-box;
  min-height: 4.5em;
  overflow: hidden;
  margin: 0 0 16px;
  color: var(--c-gray-700);
  font-size: 15.5px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.article-card__date {
  margin-top: auto;
  color: var(--c-gray-500);
  font-size: 13px;
}

.read-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  color: var(--c-green-600);
  font-size: 15px;
  font-weight: 600;
}

.read-link span {
  transition: transform 0.15s ease;
}

.read-link:hover span {
  transform: translateX(3px);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 38px;
}

.pagination__page,
.pagination__control {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid var(--c-gray-200);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--c-gray-700);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.pagination__control {
  gap: 7px;
}

.pagination a:hover {
  border-color: var(--c-green-600);
  color: var(--c-green-700);
}

.pagination__page.is-current {
  border-color: var(--c-green-600);
  background: var(--c-green-600);
  color: #fff;
  font-weight: 600;
}

.pagination__control.is-disabled {
  background: var(--c-gray-100);
  color: var(--c-gray-500);
  cursor: not-allowed;
}

.site-footer {
  border-top: 3px solid var(--c-green-600);
  background: var(--c-graphite-900);
  color: #fff;
}

.footer__inner {
  padding-top: 48px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr 1.2fr 0.9fr;
  gap: 34px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--c-graphite-700);
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  color: #fff;
}

.footer__brand:hover {
  color: #fff;
}

.footer__logo {
  display: block;
  width: 100px;
  height: 44px;
  color: #fff;
}

.footer__company-name {
  margin: 0 0 7px;
  color: var(--c-gray-300);
  font-size: 12px;
}

.footer__muted {
  margin: 0;
  color: var(--c-gray-500);
  font-size: 12.5px;
  line-height: 1.65;
}

.footer__title {
  margin: 6px 0 14px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__links a {
  color: var(--c-gray-300);
  font-size: 13px;
  line-height: 1.45;
}

.footer__links a:hover {
  color: var(--c-green-500);
}

.footer__phone {
  display: inline-block;
  margin-bottom: 7px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.footer__phone:hover {
  color: var(--c-green-500);
}

.footer__socials {
  margin-top: 16px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  padding-block: 18px 22px;
  color: var(--c-gray-500);
  font-size: 12px;
}

.menu-button {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: var(--r-md);
  background: rgb(255 255 255 / 4%);
  color: #fff;
}

.menu-button span {
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

@media (max-width: 1100px) {
  .header-contacts {
    gap: 12px;
  }

  .nav-bar__inner {
    gap: 14px;
  }

  .nav-link {
    font-size: 13px;
  }

  .catalog-search {
    width: 180px;
    flex-basis: 180px;
  }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .header-desktop {
    display: none;
  }

  .mobile-bar {
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 20px;
    background: var(--c-graphite-900);
  }

  .brand--dark {
    gap: 9px;
    color: #fff;
  }

  .brand--dark .brand__mark {
    width: 76px;
    height: 34px;
    color: #fff;
  }

  .brand--dark .brand__name {
    color: #fff;
    font-size: 13px;
    letter-spacing: 0.02em;
  }

  .brand--dark .brand__tag {
    margin-top: 1px;
    color: var(--c-gray-300);
    font-size: 9px;
  }

  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .container {
    padding-inline: 18px;
  }

  .mobile-bar {
    min-height: 58px;
    padding-inline: 16px;
  }

  .brand--dark .brand__mark {
    width: 64px;
    height: 29px;
  }

  .brand--dark .brand__name {
    font-size: 12px;
  }

  .brand--dark .brand__tag {
    font-size: 8px;
  }

  .menu-button {
    width: 38px;
    height: 38px;
  }

  .page-hero {
    padding: 20px 0 28px;
  }

  .breadcrumbs {
    margin-bottom: 20px;
    font-size: 12.5px;
  }

  .eyebrow {
    margin-bottom: 6px;
    font-size: 10px;
  }

  .page-hero h1 {
    margin-bottom: 8px;
    font-size: 30px;
  }

  .page-hero__desc {
    font-size: 14px;
    line-height: 1.55;
  }

  .section {
    padding-block: 34px 42px;
  }

  .article-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .article-card__body {
    padding: 16px 16px 18px;
  }

  .article-card h3 {
    min-height: 0;
    margin-bottom: 8px;
    font-size: 18px;
  }

  .article-card__excerpt {
    min-height: 0;
    margin-bottom: 14px;
    font-size: 14.5px;
  }

  .pagination {
    gap: 3px;
    margin-top: 26px;
  }

  .pagination__page,
  .pagination__control {
    min-width: 44px;
    min-height: 44px;
    padding: 8px 6px;
    font-size: 12px;
  }

  .pagination__control {
    gap: 4px;
  }

  .read-link {
    font-size: 14.5px;
  }

  .footer__inner {
    padding-top: 34px;
  }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 18px;
    padding-bottom: 28px;
  }

  .footer__company {
    grid-column: 1 / -1;
  }

  .footer__contacts {
    grid-column: 1 / -1;
  }

  .footer__title {
    margin-top: 0;
    font-size: 14px;
  }

  .footer__links {
    gap: 8px;
  }

  .footer__links a {
    font-size: 12px;
  }

  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
