:root {
  --teal: #23c299;
  --ink: #1a1a1a;
  --muted: #555;
  --dark: #3b3c40;
  --darker: #2a2b2e;
  --max: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  color: var(--teal);
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.hero {
  position: relative;
  height: clamp(180px, 32vw, 400px);
  overflow: hidden;
  background: #111;
}

.hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.contacts {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 2.5rem 0 1rem;
}

.contacts__logo {
  height: 72px;
  width: auto;
}

.contacts__phones,
.contacts__mail {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 1.05rem;
  text-align: right;
}

.intro {
  padding: 2rem 0 3rem;
}

.intro h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid #303030;
  display: inline-block;
}

.intro__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 2rem;
}

.intro h2 {
  font-size: 1.35rem;
  margin: 0 0 1rem;
}

.intro p {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--muted);
}

.features {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.features li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1.1rem;
  font-weight: 500;
}

.features img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.intro__photo img {
  margin-inline: auto;
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.75rem clamp(1rem, 4vw, 3rem);
  background: var(--teal);
  color: #fff;
}

.price h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
}

.price__value {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1;
}

.price__value strong {
  font-weight: 800;
}

.band {
  position: relative;
  min-height: 320px;
  display: grid;
  place-content: center;
  text-align: center;
  color: #fff;
  padding: 3rem 1.5rem;
  background:
    linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    var(--bg) center / cover no-repeat;
}

.band h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 400;
  line-height: 1.35;
}

.band p {
  margin: 1rem 0 0;
  font-size: 1.15rem;
  opacity: 0.95;
}

.band__line {
  margin: 1.25rem auto 0;
  width: 90px;
}

.durability {
  background: #464648;
  color: #fff;
  padding: 2.5rem 0 0;
  text-align: center;
}

.durability h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.pair img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pair--flush {
  line-height: 0;
}

.gallery {
  background: var(--dark);
  color: #fff;
  padding: 3rem 0 2.5rem;
}

.gallery h2 {
  text-align: center;
  margin: 0 0 1.75rem;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 500;
}

.gallery__track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0 1rem 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.gallery__track img {
  flex: 0 0 auto;
  height: 220px;
  width: auto;
  scroll-snap-align: start;
  border-radius: 2px;
}

.footer {
  background: var(--darker);
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  padding: 2rem 1rem;
}

.footer img {
  margin: 0 auto 1rem;
  opacity: 0.9;
}

.footer p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer a:hover {
  color: var(--teal);
}

@media (max-width: 800px) {
  .contacts {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .contacts__phones,
  .contacts__mail {
    text-align: left;
  }

  .intro__grid {
    grid-template-columns: 1fr;
  }

  .intro__photo {
    order: -1;
    max-width: 280px;
    margin-inline: auto;
  }

  .pair {
    grid-template-columns: 1fr;
  }

  .gallery__track img {
    height: 160px;
  }
}
