:root {
  --green: #009e40;
  --green-dark: #007d33;
  --green-soft: #e1f2e6;
  --red: #de0029;
  --ink: #24292b;
  --muted: #626b68;
  --line: #d9dfdc;
  --paper: #ffffff;
  --canvas: #f4f6f5;
  --dark: #232827;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font: 16px/1.6 Arial, Helvetica, sans-serif;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--green-dark);
}

a:hover,
a:focus-visible {
  color: var(--red);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.18;
}

.container {
  width: min(calc(100% - 32px), var(--content-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  padding: 9px 14px;
  color: #fff;
  background: #111;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.topbar {
  color: #e8ecea;
  background: var(--dark);
  font-size: 14px;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 8px;
}

.topbar p {
  margin: 0;
}

.topbar a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.header-main {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  align-items: center;
  gap: 36px;
  padding-block: 22px;
}

.brand img {
  display: block;
  width: min(476px, 100%);
}

.header-offer {
  text-align: right;
}

.header-title {
  margin-bottom: 14px;
  color: #353b39;
  font-size: clamp(1.35rem, 2.7vw, 2.15rem);
  font-weight: 400;
  text-transform: uppercase;
}

.shop-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 2px solid transparent;
  border-radius: 4px;
  color: #fff;
  background: var(--green);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.button:hover,
.button:focus-visible {
  color: #fff;
  background: var(--green-dark);
  transform: translateY(-1px);
}

.button-red {
  background: var(--red);
}

.button-red:hover,
.button-red:focus-visible {
  background: #b40022;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(35, 40, 39, 0.97);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: block;
  padding: 17px 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-list a:hover,
.nav-list a:focus-visible,
.nav-list a[aria-current="page"] {
  color: #fff;
  background: var(--green);
}

.nav-contact {
  margin-left: 16px;
  padding: 10px 18px;
  color: #fff;
  background: var(--red);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-contact:hover,
.nav-contact:focus-visible {
  color: #fff;
  background: #b40022;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 46px;
  margin-left: auto;
  border: 0;
  color: #fff;
  background: var(--green);
  font-size: 0;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  content: "";
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(16, 25, 21, 0.96) 0%, rgba(18, 51, 32, 0.92) 54%, rgba(0, 158, 64, 0.85) 100%),
    url("../../images/template/blok300.png") center / cover;
}

.hero::after {
  position: absolute;
  right: -120px;
  bottom: -190px;
  width: 480px;
  height: 480px;
  border: 70px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 840px;
  padding-block: clamp(70px, 10vw, 125px);
}

.eyebrow {
  margin-bottom: 14px;
  color: #a8efc4;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 6vw, 4.7rem);
  letter-spacing: -0.04em;
}

.hero-lead {
  max-width: 690px;
  margin-bottom: 28px;
  color: #e5eee9;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section {
  padding-block: clamp(48px, 7vw, 82px);
}

.section-white {
  background: var(--paper);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2,
.page-title h1 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.15rem);
  letter-spacing: -0.035em;
}

.section-heading p,
.page-title p {
  color: var(--muted);
  font-size: 18px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.category-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px;
  border-top: 5px solid var(--green);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(28, 48, 38, 0.1);
}

.category-icon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.category-icon img:first-child {
  width: 64px;
}

.category-icon img:last-child {
  width: 78px;
}

.category-card h3 {
  margin-bottom: 8px;
  font-size: 1.65rem;
}

.category-card p {
  color: var(--muted);
}

.category-card .button {
  align-self: flex-start;
  margin-top: auto;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.info-card {
  padding: 26px 0;
  border-top: 2px solid var(--green);
}

.info-card h3 {
  font-size: 1.35rem;
}

.info-card p,
.info-card li {
  color: var(--muted);
}

.brand-strip {
  border-block: 1px solid var(--line);
  background: #fff;
}

.brand-strip h2 {
  margin-bottom: 28px;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  text-align: center;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.brand-grid img {
  width: 100%;
  border: 1px solid #edf0ee;
  background: #fff;
}

.page-title {
  color: #fff;
  background: linear-gradient(115deg, #1e2622, #006b2c);
}

.page-title .container {
  padding-block: clamp(48px, 7vw, 78px);
}

.page-title h1 {
  display: flex;
  align-items: center;
  gap: 18px;
}

.page-title h1 img {
  width: 64px;
}

.page-title p {
  max-width: 720px;
  margin-bottom: 0;
  color: #dbe9e1;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 150px;
  padding: 22px;
  border: 1px solid #d6e3da;
  border-radius: 4px;
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(23, 46, 33, 0.06);
}

.product-card img {
  width: 88px;
}

.product-card h2 {
  margin-bottom: 8px;
  color: var(--green-dark);
  font-size: 1.25rem;
}

.product-card p {
  margin-bottom: 0;
  color: #505957;
  font-size: 15px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.contact-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(24, 42, 33, 0.08);
}

.contact-card-content {
  padding: 28px;
}

.contact-card h2 {
  margin-bottom: 18px;
  color: var(--green-dark);
  font-size: 1.7rem;
}

.contact-card .contact-logo {
  width: 260px;
  margin-bottom: 22px;
}

.contact-card address {
  margin-bottom: 18px;
  font-style: normal;
}

.contact-card p {
  margin-bottom: 12px;
}

.contact-card a {
  font-weight: 700;
}

.map-frame {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

.billing-card {
  margin-top: 28px;
  padding: 30px;
  border-left: 5px solid var(--green);
  background: #fff;
}

.site-footer {
  padding-block: 45px 26px;
  color: #d9dfdc;
  background: var(--dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 42px;
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
}

.site-footer h2 {
  font-size: 1.45rem;
}

.site-footer h3 {
  font-size: 1.05rem;
  text-transform: uppercase;
}

.site-footer p,
.site-footer ul {
  margin-bottom: 0;
  color: #bac2be;
}

.site-footer ul {
  padding-left: 18px;
}

.site-footer a {
  color: #fff;
}

.copyright {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid #424846;
  font-size: 13px;
  text-align: center;
}

@media (max-width: 920px) {
  .header-main {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .header-offer {
    text-align: left;
  }

  .shop-actions {
    justify-content: flex-start;
  }

  .nav-toggle {
    display: block;
  }

  .nav-bar {
    min-height: 54px;
  }

  .nav-list {
    position: fixed;
    inset: 54px 0 auto;
    display: none;
    flex-direction: column;
    padding: 12px 16px 20px;
    background: rgba(35, 40, 39, 0.99);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    padding: 14px 16px;
  }

  .nav-contact {
    display: none;
  }

  .category-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .topbar .container {
    display: block;
  }

  .topbar p:last-child {
    margin-top: 4px;
  }

  .header-main {
    padding-block: 16px;
  }

  .header-title {
    font-size: 1.25rem;
  }

  .hero-content {
    padding-block: 58px 70px;
  }

  .product-grid,
  .contact-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-columns: 70px 1fr;
    padding: 17px;
  }

  .product-card img {
    width: 68px;
  }

  .brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 430px) {
  .container {
    width: min(calc(100% - 22px), var(--content-width));
  }

  .button {
    width: 100%;
  }

  .shop-actions .button {
    width: auto;
    flex: 1 1 100%;
  }

  .page-title h1 {
    align-items: flex-start;
    font-size: 2rem;
  }

  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
