:root {
  --ink: #1e252b;
  --muted: #68717a;
  --line: #d7dde1;
  --paper: #ffffff;
  --soft: #f3f5f6;
  --dark: #151b20;
  --brand: #f0b400;
  --brand-dark: #d99a00;
  --green: #536d25;
  --container: 1180px;
  --shadow: 0 18px 40px rgba(18, 29, 39, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.top-categories {
  display: grid;
  grid-template-columns: 320px repeat(6, minmax(120px, 1fr));
  min-height: 130px;
  background: #e5ad00;
  border-top: 8px solid #fff;
  overflow: hidden;
}
.brand-strip {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 34px;
  color: #2f3f16;
  font-size: clamp(2rem, 2.5vw, 2.15rem);
  font-weight: 900;
  line-height: .95;
  text-transform: uppercase;
  background: #e5ad00;
}
.brand-strip span {
  display: block;
  max-width: 210px;
}
.brand-strip strong {
  color: #2f3f16;
  display: block;
  font-size: inherit;
  font-weight: 900;
}
.category-tile {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: center;
  min-height: 130px;
  padding: 0 16px 18px;
  overflow: hidden;
  border-left: 1px solid rgba(255,255,255,.55);
  color: #3f5f16;
  font-size: .94rem;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  text-shadow: none;
  text-transform: none;
  transition: filter .2s ease;
}
.category-tile:hover { filter: saturate(1.16) contrast(1.04); }
.category-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}
.category-tile::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(229, 124, 0, .68);
}
.category-tile span {
  position: relative;
  z-index: 1;
  max-width: 10.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 16px max(24px, calc((100vw - var(--container)) / 2));
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 22px rgba(0,0,0,.07);
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.site-header .brand-logo img {
  width: clamp(150px, 12vw, 185px);
  height: auto;
}
.main-nav {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 18px;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.main-nav a {
  padding: 9px 0;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.main-nav a:hover { border-bottom-color: var(--brand); }
.quote-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 2px solid transparent;
  font-weight: 800;
  text-transform: uppercase;
  font-size: .82rem;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.quote-button,
.button.primary { background: var(--brand); color: #1d1d1d; }
.button.secondary { border-color: currentColor; color: #fff; }
.quote-button:hover,
.button:hover { transform: translateY(-2px); }

.hero {
  min-height: 620px;
  display: grid;
  align-items: end;
  padding: 92px max(24px, calc((100vw - var(--container)) / 2)) 54px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(18,25,30,.92), rgba(18,25,30,.56) 48%, rgba(18,25,30,.2)),
    url('../vendor/Images/oc-uvod-01.jpg') center / cover;
}
.hero-content { max-width: 650px; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 20px;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  line-height: .98;
  text-transform: uppercase;
}
h2 { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.08; text-transform: uppercase; }
h3 { font-size: 1.1rem; line-height: 1.25; }
.hero p { max-width: 610px; font-size: 1.16rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(760px, 100%);
  margin-top: 62px;
  background: rgba(255,255,255,.18);
}
.hero-stats article { padding: 24px; background: rgba(16,22,27,.82); }
.hero-stats strong { display: block; color: var(--brand); font-size: 2.4rem; line-height: 1; }
.hero-stats span { font-weight: 700; }

.section { padding: 82px max(24px, calc((100vw - var(--container)) / 2)); }
.section-heading { max-width: 760px; margin-bottom: 38px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.intro-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; color: var(--muted); font-size: 1.05rem; }
.products { background: var(--soft); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.product-card { background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 24px rgba(24,34,42,.08); }
.product-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.product-card div { padding: 24px; }
.product-card p { color: var(--muted); }
.product-card a { color: var(--green); font-weight: 900; text-transform: uppercase; font-size: .84rem; }

.company { display: grid; grid-template-columns: .8fr 1.2fr; gap: 54px; align-items: start; }
.company > div:first-child p:last-child { color: var(--muted); font-size: 1.08rem; }
.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.benefits article { padding: 26px; border: 1px solid var(--line); background: #fff; }
.benefits img { width: 54px; height: 54px; margin-bottom: 18px; }
.benefits p { color: var(--muted); margin-bottom: 0; }

.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
  align-items: center;
  padding: 70px max(24px, calc((100vw - var(--container)) / 2));
  color: #fff;
  background: linear-gradient(135deg, #1b2228, #38451d);
}
.cta h2 { margin-bottom: 12px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

.news { background: #fff; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.news-grid article { border: 1px solid var(--line); background: var(--soft); }
.news-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.news-grid h3 { padding: 20px; margin: 0; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  padding: 42px max(24px, calc((100vw - var(--container)) / 2));
  color: #cdd5dc;
  background: var(--dark);
}
.footer-logo {
  width: fit-content;
  margin-bottom: 10px;
}
.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  padding: 0;
  background: transparent;
}
.site-footer .footer-brand-logo img {
  display: block;
  width: clamp(190px, 17vw, 260px);
  max-width: min(100%, 260px);
  height: auto;
}
.site-footer nav { display: flex; flex-direction: column; gap: 8px; font-weight: 800; font-size: .86rem; }
.site-footer a:hover { color: var(--brand); }
.footer-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; color: #fff; font-weight: 800; }

@media (max-width: 1080px) {
  .top-categories { grid-template-columns: repeat(3, 1fr); }
  .brand-strip { grid-column: 1 / -1; }
  .site-header { grid-template-columns: 1fr; justify-items: center; }
  .main-nav { flex-wrap: wrap; }
  .product-grid, .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .company, .cta { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
}

@media (max-width: 680px) {
  .top-categories { grid-template-columns: 1fr; }
  .brand-strip {
    padding: 16px 22px;
  }
  .category-tile {
    border-left: 0;
    border-top: 1px solid rgba(0, 109, 88, .35);
    min-height: 92px;
  }
  .site-header { position: static; padding: 18px; }
  .main-nav { gap: 4px 14px; font-size: .75rem; }
  .hero { min-height: auto; padding-top: 72px; }
  .hero-stats, .intro-grid, .product-grid, .benefits, .news-grid, .site-footer { grid-template-columns: 1fr; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .footer-contact { align-items: flex-start; }
}
