:root {
  --ink: #13201b;
  --muted: #60716a;
  --line: #dbe5df;
  --paper: #f7faf7;
  --panel: #ffffff;
  --mist: #edf5f0;
  --deep: #17382b;
  --green: #1f7a4d;
  --gold: #c99735;
  --steel: #2f4653;
  --shadow: 0 18px 45px rgba(19, 32, 27, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto auto;
  gap: 22px;
  align-items: center;
  padding: 12px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(19, 32, 27, 0.12);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  line-height: 1.05;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover {
  color: var(--green);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--green);
  border-radius: 8px;
  font-weight: 800;
}

.nav-cta,
.button.primary {
  color: #fff;
  background: var(--green);
}

.button.secondary {
  color: var(--green);
  background: #fff;
}

.button.secondary.light {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.button.full {
  width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.72fr);
  gap: clamp(30px, 4vw, 58px);
  align-items: center;
  min-height: calc(100vh - 83px);
  padding: clamp(46px, 7vw, 92px) clamp(18px, 4vw, 64px);
  background:
    radial-gradient(circle at 32% 30%, rgba(31, 122, 77, 0.24), transparent 34%),
    linear-gradient(105deg, rgba(8, 13, 12, 0.95), rgba(12, 19, 17, 0.91) 48%, rgba(23, 56, 43, 0.76)),
    url("assets/hammer-crusher.jpg") center/cover;
}

.hero-copy {
  color: #fff;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.hero-badges span {
  padding: 7px 10px;
  color: #e9f7ef;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.kicker {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 880px;
  margin-bottom: 20px;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.02;
}

h2 {
  max-width: 780px;
  margin-bottom: 14px;
  font-size: clamp(27px, 3.8vw, 46px);
  line-height: 1.1;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.lead {
  max-width: 760px;
  color: #d2e0d8;
  font-size: 20px;
  line-height: 1.62;
}

.hero-checks {
  display: grid;
  gap: 10px;
  max-width: 680px;
  margin-top: 22px;
}

.hero-checks span {
  position: relative;
  padding-left: 30px;
  color: #ecf7f0;
  font-weight: 800;
}

.hero-checks span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(31, 122, 77, 0.22);
}

.hero-checks span::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 5px;
  width: 5px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

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

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 860px;
}

.proof-row div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(19, 32, 27, 0.06);
}

.proof-row strong,
.proof-row span {
  display: block;
}

.proof-row strong {
  margin-bottom: 5px;
  font-size: 19px;
}

.proof-row span {
  color: #cfe2d7;
  font-size: 14px;
  line-height: 1.4;
}

.inquiry-panel {
  padding: 26px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.machine-card {
  overflow: hidden;
  margin-bottom: 20px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(31, 122, 77, 0.18);
}

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

.machine-card span {
  margin-bottom: 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.machine-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
}

.machine-card strong {
  margin-top: 12px;
  font-size: 18px;
}

.inquiry-panel h2 {
  font-size: 28px;
}

.inquiry-panel p,
.inquiry-panel small {
  color: var(--muted);
  line-height: 1.55;
}

.inquiry-panel ul {
  display: grid;
  gap: 10px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.inquiry-panel li {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 13px;
  background: var(--mist);
  border-radius: 10px;
  font-weight: 800;
}

.inquiry-panel li span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #fff;
  background: var(--gold);
  border-radius: 8px;
}

.inquiry-panel small {
  display: block;
  margin-top: 12px;
}

.problem-strip,
.dealer-section,
.contact-section,
.section {
  padding: 78px clamp(18px, 4vw, 64px);
}

.problem-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  color: #fff;
  background: var(--deep);
}

.problem-strip .kicker {
  color: #cfe6d8;
}

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

.problem-grid article {
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
}

.problem-grid strong,
.problem-grid span {
  display: block;
}

.problem-grid span {
  margin-top: 8px;
  color: #d6e6dc;
  line-height: 1.55;
}

.section-title {
  margin-bottom: 30px;
}

.section-title.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 30px;
  align-items: end;
}

.section-title p,
.product-body p,
.selection-copy p,
.dealer-section p,
.faq-list p,
.contact-section p {
  color: var(--muted);
  line-height: 1.62;
}

.product-section,
.workshop-section {
  background: linear-gradient(180deg, #eef6f1, var(--mist));
}

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

.product-card {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(19, 32, 27, 0.08);
}

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

.product-body {
  padding: 24px;
}

.tag {
  margin-bottom: 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-body a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--green);
  font-weight: 900;
}

.selection-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding: 78px clamp(18px, 4vw, 64px);
  background: #fff;
}

.selection-table {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.selection-table div {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  background: var(--paper);
}

.selection-table div:nth-child(even) {
  background: var(--mist);
}

.selection-table span {
  color: var(--muted);
}

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

.video-grid article {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(19, 32, 27, 0.08);
}

.video-grid video {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 520px;
  object-fit: cover;
  background: #17211d;
}

.video-grid h3,
.video-grid p {
  padding-inline: 20px;
}

.video-grid h3 {
  margin-top: 18px;
}

.video-grid p {
  margin-bottom: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.more-videos {
  margin-top: 18px;
}

.more-videos .video-grid {
  margin-top: 18px;
}

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

.dealer-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 36px;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(19, 32, 27, 0.96), rgba(23, 56, 43, 0.94)),
    url("assets/ball-mill.jpg") center/cover;
}

.dealer-section .kicker,
.dealer-section p {
  color: #d8eadf;
}

.dealer-list {
  display: grid;
  gap: 10px;
}

.dealer-list span {
  padding: 15px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

details {
  padding: 20px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 14px 0 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 34px;
  align-items: center;
  background: linear-gradient(90deg, #fff, var(--mist));
  border-top: 1px solid var(--line);
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.contact-card small {
  color: var(--muted);
  line-height: 1.5;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 64px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .topbar,
  .hero,
  .problem-strip,
  .selection-section,
  .dealer-section,
  .contact-section,
  .section-title.split {
    grid-template-columns: 1fr;
  }

  .nav {
    justify-content: flex-start;
  }

  .product-grid,
  .problem-grid,
  .video-grid,
  .video-grid.more {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .topbar {
    gap: 14px;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .brand strong {
    font-size: 17px;
  }

  .nav-cta {
    width: 100%;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: 38px;
  }

  .lead {
    font-size: 17px;
  }

  .proof-row,
  .product-grid,
  .problem-grid,
  .video-grid,
  .video-grid.more {
    grid-template-columns: 1fr;
  }

  .selection-table div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer {
    flex-direction: column;
  }
}
