:root {
  --black: #111;
  --text: #555;
  --muted: #777;
  --heading: #111;
  --line: #e8e8e8;
  --line-strong: #d6d6d6;
  --band: #efefef;
  --shadow: 0 14px 34px rgba(0, 0, 0, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Inter", "Segoe UI", "Open Sans", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.78;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
img { display: block; max-width: 100%; height: auto; }
.wrap {
  width: min(1080px, calc(100% - 60px));
  margin: 0 auto;
}

.topbar,
.bottom {
  background: var(--black);
  color: #fff;
}
.topbar { min-height: 33px; }
.social-row {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  align-items: center;
  min-height: 33px;
}
.social-row a,
.follow a {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 10px 28px rgba(0, 0, 0, .04);
  backdrop-filter: blur(10px);
}
.nav-wrap {
  display: flex;
  align-items: center;
  min-height: 66px;
}
.brand img {
  width: 190px;
  max-height: 45px;
  object-fit: contain;
}
.site-menu {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}
.site-menu a,
.site-menu button {
  border: 0;
  background: transparent;
  color: var(--heading);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  padding: 24px 11px;
  cursor: pointer;
}
.site-menu a:hover,
.site-menu button:hover { color: #000; }
.menu-group { position: relative; }
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  padding: 16px 0;
  background: #fff;
  border-top: 3px solid var(--black);
  box-shadow: var(--shadow);
}
.submenu a {
  display: block;
  padding: 8px 22px;
  white-space: nowrap;
}
.menu-group:hover .submenu,
.menu-group:focus-within .submenu { display: block; }
.menu-button { display: none; }

.hero {
  overflow: hidden;
  background: #f3f3f3;
}
.slider {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  max-height: 800px;
}
.slides,
.slide {
  position: absolute;
  inset: 0;
}
.slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .45s ease;
}
.slide.active { opacity: 1; }
.slider-arrow {
  position: absolute;
  top: 50%;
  width: 34px;
  height: 54px;
  border: 0;
  background: rgba(0,0,0,.18);
  transform: translateY(-50%);
  cursor: pointer;
}
.slider-arrow:hover { background: rgba(0,0,0,.28); }
.slider-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  border-top: 3px solid rgba(255,255,255,.85);
  border-left: 3px solid rgba(255,255,255,.85);
}
.slider-arrow.prev { left: 15px; }
.slider-arrow.next { right: 15px; }
.slider-arrow.prev::before {
  left: 12px;
  transform: translateY(-50%) rotate(-45deg);
}
.slider-arrow.next::before {
  right: 12px;
  transform: translateY(-50%) rotate(135deg);
}

.section {
  padding: 64px 0;
}
.page-title {
  padding: 62px 0;
  background: #f6f6f6;
  border-bottom: 1px solid var(--line-strong);
}
.page-title h1 {
  margin: 0;
  color: var(--heading);
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.08;
}
h2, h3, h4 {
  color: var(--heading);
  line-height: 1.18;
  font-weight: 800;
}
h2 {
  position: relative;
  margin: 0 0 28px;
  font-size: 30px;
}
h2::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--black);
}
h3 {
  margin: 20px 0 10px;
  font-size: 20px;
}
p { margin: 0 0 16px; }
.copy { max-width: 1040px; }
.lead {
  color: #333;
  font-size: 20px;
  line-height: 1.7;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.detail-block + .detail-block {
  margin-top: 58px;
}
.detail-block h2 {
  margin-bottom: 16px;
}
.icon-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.icon-card {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 28px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .05);
}
.icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--black);
  color: #fff;
  font-weight: 700;
}
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.contact-card {
  display: grid;
  place-items: center;
  min-height: 150px;
  padding: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  text-align: center;
  background: #fff;
  box-shadow: var(--shadow);
}
.contact-card strong {
  display: block;
  color: var(--heading);
  font-size: 18px;
  font-weight: 500;
}
.products-band {
  background: var(--band);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px 56px;
}
.product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-bottom: 4px;
}
.product img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product:hover img {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
}
.product ul,
.why ul {
  margin: 0 0 22px;
  padding-left: 22px;
}
.product li,
.why li {
  margin-bottom: 6px;
}
.button {
  display: inline-block;
  margin-top: 6px;
  padding: 9px 19px;
  border: 2px solid var(--black);
  border-radius: 999px;
  color: var(--black);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
  text-transform: lowercase;
}
.product .button {
  align-self: flex-start;
  margin-top: auto;
}
.button:hover {
  color: #fff;
  background: var(--black);
  transform: translateY(-1px);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.two-col img {
  width: 100%;
  max-width: 475px;
  justify-self: center;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.why {
  border-left: 3px solid var(--line-strong);
  padding-left: 36px;
}

.footer-panel {
  padding: 60px 0;
  background: #f5f5f5;
  border-top: 1px solid var(--line-strong);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 48px;
  align-items: start;
}
.footer-logo {
  width: min(240px, 100%);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  margin-bottom: 22px;
  background: #fff;
}
.follow {
  display: flex;
  justify-content: center;
  gap: 8px;
  max-width: 240px;
}
.follow a {
  width: 34px;
  height: 34px;
  background: var(--black);
  border-radius: 50%;
}
.footer-links {
  display: grid;
  gap: 4px;
}
.footer-links a:hover { color: #000; }
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-form label {
  display: grid;
  gap: 5px;
  color: transparent;
  font-size: 0;
}
.contact-form label:nth-child(3) {
  grid-column: 1 / -1;
}
input,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: #fff;
  color: var(--heading);
  font: inherit;
  font-size: 14px;
  padding: 12px;
}
input:focus,
textarea:focus {
  outline: 0;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .1);
}
::placeholder { color: #8a978f; }
textarea {
  min-height: 150px;
  resize: vertical;
}
.contact-form .button {
  justify-self: end;
  grid-column: 1 / -1;
  background: #fff;
  cursor: pointer;
}
.contact-form .button:hover { background: var(--black); }

@media (max-width: 980px) {
  .wrap { width: min(92%, 1080px); }
  .menu-button {
    display: grid;
    gap: 4px;
    margin-left: auto;
    padding: 10px;
    border: 0;
    background: transparent;
  }
  .menu-button span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--black);
  }
  .site-menu {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-top: 1px solid var(--line);
  }
  .site-menu.open { display: flex; }
  .site-menu a,
  .site-menu button {
    width: 100%;
    padding: 12px 5%;
    text-align: left;
  }
  .submenu {
    position: static;
    box-shadow: none;
    border-top: 0;
    padding: 0 0 8px;
  }
  .menu-group.open .submenu { display: block; }
  .product-grid,
  .two-col,
  .footer-grid,
  .gallery,
  .icon-list,
  .contact-cards {
    grid-template-columns: 1fr;
  }
  .reverse img { order: 2; }
  .why {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 700px) {
  body { font-size: 13px; }
  .section,
  .footer-panel { padding: 38px 0; }
  .topbar { display: none; }
  .brand img { width: 160px; }
  .slider { aspect-ratio: 2 / 1; }
  .slider-arrow { display: none; }
  h2 { font-size: 24px; }
  .contact-form { grid-template-columns: 1fr; }
}
