:root {
  --bg: #121417;
  --bg-elev: #1a1e24;
  --surface: #222831;
  --text: #f2f0ea;
  --muted: #a8a59c;
  --accent: #e11d2e;
  --accent-2: #f0c040;
  --line: rgba(242, 240, 234, 0.12);
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --max: 72rem;
  --pad: clamp(1rem, 3vw, 2rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(18, 20, 23, 0.88);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.brand {
  font-weight: 750;
  letter-spacing: 0.04em;
  font-size: 1.15rem;
}
.brand span { color: var(--accent); }
.nav { display: flex; flex-wrap: wrap; gap: 0.85rem 1.15rem; color: var(--muted); font-size: 0.95rem; }
.nav a:hover { color: var(--text); }
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.92rem;
}
.header-cta:hover { border-color: var(--accent); }

.hero {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(225, 29, 46, 0.18), transparent 55%),
    linear-gradient(180deg, #161a20 0%, var(--bg) 100%);
}
.hero-kicker {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  margin: 0 0 1rem;
}
.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 14ch;
}
.hero-lead {
  margin: 0 0 1.75rem;
  color: var(--muted);
  max-width: 36rem;
  font-size: 1.05rem;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  border-radius: 0.35rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
}
button { cursor: pointer; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--muted); }
.btn-sm { padding: 0.55rem 0.85rem; font-size: 0.88rem; }

.section { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}
.section-lead { color: var(--muted); margin: 0 0 1.75rem; max-width: 40rem; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
}
.cat-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 1.25rem 1.2rem;
  min-height: 9rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.cat-card:hover { border-color: rgba(225, 29, 46, 0.45); transform: translateY(-2px); }
.cat-card h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.cat-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.category-hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 2rem;
  position: relative;
  overflow: hidden;
}
.category-hero.bg-asphalt {
  background:
    radial-gradient(circle at 85% 30%, rgba(225, 29, 46, 0.2), transparent 40%),
    repeating-linear-gradient(
      -12deg,
      #14181e,
      #14181e 12px,
      #171b22 12px,
      #171b22 24px
    );
}
.category-hero.bg-concrete {
  background:
    linear-gradient(135deg, #1c2027 0%, #15191f 55%, #1a1f27 100%);
}
.category-hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
}
.crumbs { color: var(--muted); font-size: 0.85rem; margin-bottom: 1rem; }
.crumbs a:hover { color: var(--text); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-visual {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(160deg, rgba(225, 29, 46, 0.25), transparent 50%),
    linear-gradient(20deg, #0e1014, #232933);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.product-body { padding: 1.1rem 1.15rem 1.25rem; display: grid; gap: 0.55rem; flex: 1; }
.product-body h2, .product-body h3 { margin: 0; font-size: 1.05rem; }
.meta { color: var(--muted); font-size: 0.88rem; }
.price { font-weight: 650; }

.product-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 800px) {
  .product-layout { grid-template-columns: 1fr; }
  .nav { display: none; }
}
.specs { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; }
.specs th, .specs td {
  text-align: left;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
}
.specs th { color: var(--muted); width: 40%; }

.faq details {
  border-top: 1px solid var(--line);
  padding: 0.9rem 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin: 0.6rem 0 0; }

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-grid strong { color: var(--text); display: block; margin-bottom: 0.5rem; }
.footer-grid a:hover { color: var(--text); }

.cookie {
  position: fixed;
  left: var(--pad);
  right: var(--pad);
  bottom: var(--pad);
  max-width: 32rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 1rem 1.1rem;
  z-index: 40;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.cookie p { margin: 0 0 0.75rem; font-size: 0.88rem; color: var(--muted); }
.cookie[hidden] { display: none; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.theme-toggle {
  position: fixed;
  right: var(--pad);
  bottom: calc(var(--pad) + 4.5rem);
  z-index: 35;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-size: 0.82rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.theme-toggle:hover { border-color: var(--accent); }

html[data-theme="light"] {
  --bg: #f4f1ea;
  --bg-elev: #fffdf8;
  --surface: #ffffff;
  --text: #1a1c1f;
  --muted: #5c616a;
  --accent: #c41022;
  --accent-2: #b8860b;
  --line: rgba(26, 28, 31, 0.12);
}
html[data-theme="light"] .site-header {
  background: rgba(244, 241, 234, 0.9);
}
html[data-theme="light"] .hero {
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(196, 16, 34, 0.12), transparent 55%),
    linear-gradient(180deg, #ebe6dc 0%, var(--bg) 100%);
}
html[data-theme="light"] .category-hero.bg-asphalt {
  background:
    radial-gradient(circle at 85% 30%, rgba(196, 16, 34, 0.12), transparent 40%),
    repeating-linear-gradient(-12deg, #e7e2d8, #e7e2d8 12px, #efebe3 12px, #efebe3 24px);
}
html[data-theme="light"] .category-hero.bg-concrete {
  background: linear-gradient(135deg, #f7f3eb 0%, #ebe6dc 100%);
}
html[data-theme="light"] .product-visual {
  background:
    linear-gradient(160deg, rgba(196, 16, 34, 0.12), transparent 50%),
    linear-gradient(20deg, #e8e2d6, #f7f3eb);
  color: var(--muted);
}
html[data-theme="light"] .cookie,
html[data-theme="light"] .theme-toggle {
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.stub-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: var(--pad);
  text-align: center;
}
.stub-page h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 0.75rem; letter-spacing: -0.02em; }
.stub-page p { color: var(--muted); max-width: 28rem; margin: 0 auto 1.25rem; }
