:root {
  --brand-green: #1d5b3b;
  --brand-green-dark: #123c29;
  --brand-gold: #b88734;
  --cream: #f7f0e4;
  --paper: #fffaf2;
  --ink: #28241f;
  --muted: #6e655a;
  --line: #dfd1bd;
  --white: #ffffff;
  --shadow: 0 14px 34px rgba(43, 31, 16, 0.12);
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--brand-gold);
}

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

.top-strip {
  background: var(--brand-green-dark);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}

.top-strip .container {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 7px 0;
}

.language-links {
  display: flex;
  gap: 12px;
}

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

.header-main {
  display: grid;
  grid-template-columns: 250px 1fr;
  align-items: center;
  gap: 24px;
  min-height: 88px;
}

.logo {
  display: flex;
  align-items: center;
  color: var(--brand-green-dark);
}

.logo-image {
  display: block;
  width: min(215px, 100%);
  height: 62px;
  object-fit: contain;
  object-position: left center;
}

.mobile-toggle {
  display: none;
  justify-self: end;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--brand-green-dark);
  padding: 9px 12px;
  font-weight: 700;
  cursor: pointer;
}

.main-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav a {
  padding: 12px 10px;
  border-bottom: 3px solid transparent;
}

.main-nav a.active,
.main-nav a:hover,
.main-nav a:focus {
  color: var(--brand-green);
  border-color: var(--brand-gold);
}

.category-nav {
  background: var(--brand-green);
  color: var(--white);
  border-bottom: 4px solid var(--brand-gold);
}

.category-nav .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.category-nav a {
  padding: 15px 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.category-nav a:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.category-nav a.active,
.category-nav a:hover,
.category-nav a:focus {
  background: var(--brand-gold);
  color: var(--white);
}

.hero {
  background: var(--brand-green-dark);
}

.hero-slider {
  position: relative;
  min-height: 600px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 700ms ease, transform 900ms ease;
  background-size: cover;
  background-position: center;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 60, 41, 0.88), rgba(18, 60, 41, 0.48), rgba(18, 60, 41, 0.12));
}

.slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.slide-content {
  position: relative;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  color: var(--white);
}

.slide-content p {
  width: min(540px, 100%);
  margin: 14px 0 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.eyebrow {
  display: inline-block;
  color: var(--brand-gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--brand-green-dark);
  line-height: 1.18;
}

.hero h1 {
  max-width: 640px;
  color: var(--white);
  font-size: clamp(34px, 5vw, 58px);
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  background: var(--brand-gold);
  color: var(--white);
  border: 1px solid var(--brand-gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus {
  background: var(--white);
  color: var(--brand-green-dark);
}

.button:active {
  transform: translateY(1px);
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.slider-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.slider-dots button.is-active {
  background: var(--brand-gold);
  border-color: var(--brand-gold);
}

.section {
  padding: 54px 0;
  background: var(--paper);
}

.section.alt {
  background: var(--cream);
}

.section-title {
  margin-bottom: 28px;
  text-align: center;
}

.section-title h2 {
  font-size: clamp(28px, 3vw, 38px);
  text-transform: uppercase;
}

.section-title p {
  max-width: 680px;
  margin: 9px auto 0;
  color: var(--muted);
}

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

.product-tile {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, border-color 220ms ease;
}

.product-tile:hover,
.product-tile:focus-within {
  transform: translateY(-4px);
  border-color: var(--brand-gold);
}

.product-tile a {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  color: var(--brand-green-dark);
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.product-tile a:focus-visible {
  outline: 3px solid rgba(194, 139, 45, 0.55);
  outline-offset: 4px;
}

.product-tile img {
  width: 100%;
  height: 168px;
  object-fit: cover;
}

.product-tile span {
  display: grid;
  place-items: center;
  min-height: 76px;
  padding: 16px 14px 18px;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}

.split p,
.copy p {
  color: var(--muted);
}

.image-frame {
  border: 8px solid var(--white);
  box-shadow: var(--shadow);
  background: var(--white);
}

.image-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.68);
  border-left: 4px solid var(--brand-gold);
  color: var(--brand-green-dark);
  font-weight: 700;
}

.quality-band {
  background: var(--brand-green-dark);
  color: var(--white);
}

.quality-band h2,
.quality-band h3 {
  color: var(--white);
}

.quality-band .section-title p {
  color: rgba(255, 250, 242, 0.84);
}

.quality-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.quality-item,
.certificate,
.news-item,
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.quality-item {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  padding: 28px 22px 26px;
  color: var(--ink);
  text-align: center;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.quality-item:hover,
.certificate:hover {
  transform: translateY(-3px);
  border-color: rgba(194, 139, 45, 0.45);
  box-shadow: 0 22px 46px rgba(28, 40, 32, 0.12);
}

.quality-icon,
.quality-item .quality-icon {
  display: inline-grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  border: 0;
  background: transparent;
  color: #9f6d1f;
  box-shadow: none;
}

.quality-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.quality-item strong {
  display: block;
  color: var(--brand-green-dark);
  font-size: 17px;
  text-transform: uppercase;
}

.quality-item > span:not(.quality-icon) {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.news-grid,
.certificate-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.news-item img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.news-body,
.certificate,
.contact-card {
  padding: 20px;
}

.certificate {
  min-height: 205px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.certificate .quality-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 18px;
}

.news-body time {
  display: block;
  margin-bottom: 7px;
  color: var(--brand-gold);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.news-body h3,
.certificate h3,
.contact-card h3 {
  font-size: 20px;
}

.news-body p,
.certificate p,
.contact-card p {
  color: var(--muted);
}

.page-hero {
  min-height: 250px;
  display: grid;
  align-items: center;
  color: var(--white);
  background-size: cover;
  background-position: center;
  position: relative;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 60, 41, 0.75);
}

.page-hero .container {
  position: relative;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(34px, 4vw, 50px);
  text-transform: uppercase;
}

.breadcrumb {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
}

.side-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 30px;
  align-items: start;
}

.side-menu {
  background: var(--white);
  border: 1px solid var(--line);
}

.side-menu a {
  display: block;
  padding: 14px 16px;
  color: var(--brand-green-dark);
  font-weight: 800;
  border-bottom: 1px solid var(--line);
}

.side-menu a.active,
.side-menu a:hover,
.side-menu a:focus {
  background: var(--brand-green);
  color: var(--white);
}

.content-panel {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
  box-shadow: var(--shadow);
}

.content-panel h2 {
  margin-bottom: 12px;
  font-size: 30px;
}

.content-panel p {
  color: var(--muted);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.stat {
  padding: 18px 14px;
  background: var(--cream);
  border-top: 4px solid var(--brand-gold);
  text-align: center;
}

.stat strong {
  display: block;
  color: var(--brand-green-dark);
  font-size: 28px;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.category-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.category-list {
  columns: 2;
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.contact-card a {
  color: var(--brand-green);
  font-weight: 700;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.35fr);
  align-items: start;
  gap: 28px;
}

.contact-layout .contact-grid {
  grid-template-columns: 1fr;
}

.contact-form {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 7px;
}

.form-row label {
  color: var(--brand-green-dark);
  font-weight: 800;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.form-row textarea {
  min-height: 164px;
}

.contact-form .button {
  width: 100%;
}

.form-row small {
  color: var(--muted);
}

.site-footer {
  background: var(--brand-green-dark);
  color: rgba(255, 255, 255, 0.82);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 28px;
  padding: 42px 0;
}

.footer-logo {
  display: block;
  width: min(230px, 100%);
  height: 64px;
  margin: 0 0 12px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.site-footer h3 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 17px;
  text-transform: uppercase;
}

.site-footer p,
.site-footer li {
  color: rgba(255, 255, 255, 0.76);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 7px;
}

.footer-bottom {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  text-align: center;
}

.catalog-page {
  background: var(--white);
}

.catalog-hero {
  min-height: 330px;
  display: grid;
  place-items: center;
  background: var(--white);
  position: relative;
}

.catalog-hero::before,
.catalog-hero::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 26px;
  height: 26px;
  border-top: 2px solid #e4e4e4;
  border-left: 2px solid #e4e4e4;
}

.catalog-hero::before {
  left: max(24px, calc((100% - 1120px) / 2));
  transform: translateY(-50%) rotate(-45deg);
}

.catalog-hero::after {
  right: max(24px, calc((100% - 1120px) / 2));
  transform: translateY(-50%) rotate(135deg);
}

.catalog-hero img {
  width: min(650px, calc(100% - 80px));
  max-height: 285px;
  object-fit: cover;
  border-radius: 2px;
}

.catalog-section {
  padding: 22px 0 76px;
  background: var(--white);
}

.catalog-title {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 34px;
  width: min(760px, calc(100% - 32px));
  margin: 0 auto 34px;
  color: #6b6b6b;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
}

.catalog-title::before,
.catalog-title::after {
  content: "";
  height: 1px;
  background: #cfcfcf;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 38px;
  width: min(850px, calc(100% - 32px));
  margin: 0 auto;
}

.catalog-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid #e5d8c5;
  background: #fffaf2;
  box-shadow: 0 14px 30px rgba(44, 35, 22, 0.07);
  text-align: center;
  color: #5c5c5c;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.catalog-card:hover {
  transform: translateY(-3px);
  border-color: #d3b98e;
  box-shadow: 0 18px 36px rgba(44, 35, 22, 0.11);
}

.catalog-card-media {
  position: relative;
  overflow: hidden;
  background: #f0e6d7;
}

.catalog-card-media::after {
  content: "";
  position: absolute;
  inset: auto 12px 0;
  height: 1px;
  background: rgba(194, 139, 45, 0.34);
}

.catalog-card-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 220ms ease;
}

.catalog-card:hover .catalog-card-media img {
  transform: scale(1.035);
}

.catalog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 15px 15px 16px;
}

.catalog-card h2 {
  min-height: 40px;
  margin: 0;
  color: #123c29;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

.catalog-card .product-note {
  min-height: 16px;
  margin: 3px 0 12px;
  color: #7a7064;
  font-size: 12px;
  line-height: 1.2;
}

.catalog-card .product-packing {
  margin-top: auto;
  padding: 11px 10px 10px;
  border-top: 1px solid #eadfce;
  background: #f6efe3;
  color: #4f473f;
  font-size: 12px;
  line-height: 1.42;
}

.catalog-card p {
  margin: 0;
}

.catalog-card strong,
.catalog-card span {
  display: block;
}

.catalog-card strong {
  margin-bottom: 3px;
  color: #123c29;
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

@media (max-width: 920px) {
  .header-main {
    grid-template-columns: 1fr auto;
    min-height: 82px;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .main-nav {
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 16px;
  }

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

  .main-nav a {
    border: 1px solid var(--line);
    background: var(--white);
  }

  .category-nav .container,
  .product-grid,
  .quality-items,
  .news-grid,
  .certificate-grid,
  .contact-grid,
  .stat-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .contact-layout,
  .side-layout,
  .category-detail,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .contact-layout .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-slider {
    min-height: 600px;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    width: min(620px, calc(100% - 32px));
  }
}

@media (max-width: 620px) {
  .top-strip .container,
  .category-nav .container,
  .product-grid,
  .quality-items,
  .news-grid,
  .certificate-grid,
  .contact-grid,
  .stat-row,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .top-strip .container {
    display: grid;
  }

  .logo-image {
    width: 190px;
    height: 56px;
  }

  .hero-slider {
    min-height: 600px;
  }

  .slide::before {
    background: rgba(18, 60, 41, 0.78);
  }

  .section {
    padding: 40px 0;
  }

  .content-panel {
    padding: 21px;
  }

  .category-list {
    columns: 1;
  }

  .catalog-hero {
    min-height: 230px;
  }

  .catalog-hero img {
    width: min(360px, calc(100% - 60px));
    max-height: 190px;
  }

  .catalog-title {
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
    font-size: 15px;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    width: min(250px, calc(100% - 32px));
  }
}
