* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: #333;
  background: #efefef;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

a {
  color: #1f1f1f;
  text-decoration: none;
}

a:hover {
  color: #d8a000;
}

.site {
  min-height: 100vh;
}

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

.page-shell {
  background: #fff;
  min-height: 420px;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.12);
}

.top {
  background: #fff;
}

.header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0 14px;
}

.logo img {
  display: block;
  max-width: 260px;
  height: auto;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 36px;
  border: 0;
  background: #111;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  background: #f2c500;
}

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

.nav > li {
  position: relative;
}

.nav a {
  display: block;
  padding: 14px 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav .active > a,
.nav a:hover {
  color: #111;
  background: #f2c500;
}

.nav ul {
  position: absolute;
  z-index: 10;
  top: 100%;
  left: 0;
  display: none;
  min-width: 230px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #222;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.nav li:hover ul,
.nav li:focus-within ul {
  display: block;
}

.nav ul a {
  padding: 11px 16px;
  font-size: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  overflow: hidden;
  background: #222;
  border-top: 5px solid #f2c500;
}

.slides {
  position: relative;
  aspect-ratio: 960 / 330;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 700ms ease;
}

.slide.is-active {
  opacity: 1;
}

.slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-dots {
  position: absolute;
  right: 18px;
  bottom: 14px;
  display: flex;
  gap: 7px;
}

.hero-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.hero-dots .is-active {
  background: #f2c500;
}

.content {
  padding: 28px 28px 36px;
}

h1,
h2,
h3 {
  margin: 0 0 18px;
  color: #111;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  font-size: 26px;
  border-bottom: 3px solid #f2c500;
  padding-bottom: 8px;
}

h3 {
  margin-top: 24px;
  font-size: 18px;
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.home-grid h1 {
  font-size: 24px;
}

.more {
  display: inline-block;
  margin-top: 14px;
  color: #111;
  font-weight: 700;
}

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(3, 74px);
  gap: 8px;
}

.thumb-grid img {
  width: 74px;
  height: 70px;
  object-fit: cover;
  border: 1px solid #ddd;
  background: #fff;
}

.map-box {
  display: grid;
  place-items: center;
  min-height: 200px;
  padding: 22px;
  color: #333;
  text-align: center;
  background: linear-gradient(135deg, #e6e6e6, #fafafa);
  border: 1px solid #ddd;
}

.equipment-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px 28px;
  margin-top: 22px;
}

.category-card {
  text-align: center;
}

.category-card img {
  width: 100%;
  max-width: 180px;
  height: 160px;
  object-fit: contain;
}

.category-card a {
  display: inline-block;
  margin-top: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.product-table {
  width: 100%;
  border-collapse: collapse;
}

.product-table tr {
  border-bottom: 1px solid #ddd;
}

.product-table td {
  padding: 18px 14px;
  vertical-align: middle;
}

.product-table td:first-child {
  width: 30%;
  text-align: center;
}

.product-table td:nth-child(2) {
  width: 26%;
  text-align: center;
  font-weight: 700;
}

.product-table img {
  max-width: 240px;
  max-height: 230px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
}

.contact-form label {
  display: block;
  margin-bottom: 12px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 9px 10px;
  border: 1px solid #bbb;
  font: inherit;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.button {
  display: inline-block;
  padding: 11px 22px;
  border: 0;
  color: #111;
  background: #f2c500;
  font-weight: 700;
  cursor: pointer;
}

.phone {
  font-size: 26px;
  font-weight: 700;
}

.footer {
  margin-top: 0;
  color: #e6e6e6;
  background: #111;
  border-top: 5px solid #f2c500;
}

.footer .wrap {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  padding: 24px 0;
}

.footer p {
  margin: 0 0 5px;
}

.credits {
  text-align: right;
}

.credits a {
  color: #f2c500;
}

@media (max-width: 760px) {
  .header {
    align-items: center;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
  }

  .menu {
    width: 100%;
  }

  .nav {
    display: none;
    flex-direction: column;
  }

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

  .nav ul {
    position: static;
    display: block;
    min-width: 0;
    padding-left: 16px;
    box-shadow: none;
  }

  .home-grid,
  .equipment-overview,
  .contact-layout,
  .footer .wrap {
    grid-template-columns: 1fr;
  }

  .content {
    padding: 24px 18px 30px;
  }

  .product-table,
  .product-table tbody,
  .product-table tr,
  .product-table td {
    display: block;
    width: 100%;
  }

  .product-table td:first-child,
  .product-table td:nth-child(2) {
    width: 100%;
  }

  .credits {
    text-align: left;
  }
}
