.gf8,
.gf8 * {
  box-sizing: border-box;
}

.gf8 {
  --gf8-red: #e3372f;
  --gf8-black: #101314;
  --gf8-soft: #f3f5f6;
  --gf8-line: #dfe4e6;
  --gf8-muted: #5d6569;
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
  color: #171a1b;
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.58;
}

.gf8 h2,
.gf8 h3,
.gf8 p,
.gf8 figure {
  margin-top: 0;
}

.gf8 h2 {
  max-width: 100%;
  margin-bottom: 16px;
  color: inherit;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.gf8 h3 {
  margin-bottom: 8px;
  line-height: 1.25;
}

.gf8 img,
.gf8 video {
  max-width: 100%;
}

.gf8__section {
  padding: clamp(40px, 5vw, 60px) clamp(18px, 3vw, 28px);
}

.gf8__section--soft {
  background: var(--gf8-soft);
}

.gf8__section--dark {
  color: #fff;
  background: var(--gf8-black);
}

.gf8__kicker {
  margin-bottom: 10px;
  color: var(--gf8-red);
  font-weight: 700;
}

.gf8__lead {
  max-width: 820px;
  color: #363b3d;
  font-size: clamp(18px, 2.4vw, 23px);
  line-height: 1.5;
}

.gf8__sku {
  color: #adb6b9;
  font-size: 13px;
}

.gf8__hero,
.gf8__promo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  overflow: hidden;
  color: #fff;
  background: var(--gf8-black);
}

.gf8__hero-copy,
.gf8__promo-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 5vw, 64px) clamp(22px, 4vw, 46px);
}

.gf8__hero picture,
.gf8__promo picture {
  display: block;
  min-height: 330px;
  overflow: hidden;
  background: var(--gf8-black);
}

.gf8__hero picture img,
.gf8__promo picture img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.gf8__hero h2 {
  font-size: clamp(38px, 5.5vw, 64px);
}

.gf8__hero p {
  max-width: 620px;
  color: #e3e7e8;
  font-size: clamp(17px, 2vw, 20px);
}

.gf8__promo h2 {
  font-size: clamp(28px, 3.2vw, 42px);
}

.gf8__promo p {
  color: #e0e5e6;
  font-size: 18px;
}

.gf8__promo--right {
  direction: rtl;
}

.gf8__promo--right .gf8__promo-copy,
.gf8__promo--right picture {
  direction: ltr;
}

.gf8__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 135px), 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--gf8-line);
}

.gf8__fact {
  min-height: 170px;
  padding: 24px 18px;
  background: #fff;
  text-align: center;
}

.gf8__fact img {
  display: block;
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  object-fit: contain;
}

.gf8__fact strong,
.gf8__fact span {
  display: block;
}

.gf8__fact strong {
  margin-bottom: 5px;
  font-size: 19px;
  line-height: 1.2;
}

.gf8__fact span {
  color: var(--gf8-muted);
  font-size: 13px;
  line-height: 1.4;
}

.gf8__notice {
  margin-top: 28px;
  padding: 22px 24px;
  border-left: 4px solid var(--gf8-red);
  background: #fff0ee;
}

.gf8__notice strong {
  display: block;
  margin-bottom: 5px;
}

.gf8__notice p {
  margin: 0;
}

.gf8__section--dark .gf8__lead {
  color: #d2d8da;
}

.gf8__section--dark .gf8__notice {
  color: #fff;
  background: #241817;
}

.gf8__story-grid,
.gf8__features,
.gf8__gallery,
.gf8__battery {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.gf8__story-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 18px;
  margin-top: 34px;
}

.gf8__story {
  overflow: hidden;
  border: 1px solid var(--gf8-line);
  border-radius: 18px;
  background: #fff;
}

.gf8__story img {
  display: block;
  width: 100%;
  aspect-ratio: 8 / 6.8;
  object-fit: cover;
}

.gf8__story-copy {
  padding: 24px;
}

.gf8__story-copy p,
.gf8__feature p {
  margin: 0;
  color: var(--gf8-muted);
}

.gf8__wide-picture {
  margin: 0;
  overflow: hidden;
  background: #fff;
}

.gf8__wide-picture picture,
.gf8__wide-picture img {
  display: block;
  width: 100%;
}

.gf8__wide-picture figcaption {
  display: block;
  padding: 10px 18px 12px;
  color: #656d70;
  background: #fff;
  font-size: 13px;
  line-height: 1.4;
}

.gf8__video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: var(--gf8-black);
}

.gf8__features {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.gf8__feature {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-content: start;
  min-height: 168px;
  padding: 20px;
  border: 1px solid var(--gf8-line);
  border-radius: 14px;
  background: #fff;
}

.gf8__feature--noicon {
  grid-template-columns: 1fr;
}

.gf8__feature img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.gf8__feature p {
  font-size: 14px;
}

.gf8__gallery {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 12px;
}

.gf8__gallery-hint {
  margin: 12px 0 0;
  color: #656d70;
  font-size: 14px;
}

.gf8__gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--gf8-line);
  border-radius: 12px;
  background: #fff;
}

.gf8__gallery a {
  position: relative;
  display: block;
  padding: 8px;
  cursor: zoom-in;
}

.gf8__gallery a::after {
  content: "Увеличить";
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #fff;
  background: rgba(16, 19, 20, 0.78);
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gf8__gallery a:hover::after,
.gf8__gallery a:focus-visible::after {
  opacity: 1;
}

.gf8__gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.gf8__gallery a:hover img,
.gf8__gallery a:focus-visible img {
  transform: scale(1.04);
}

.gf8__table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--gf8-line);
  border-radius: 14px;
}

.gf8 table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.gf8 th,
.gf8 td {
  padding: 12px 14px;
  border: 1px solid var(--gf8-line);
  text-align: left;
  vertical-align: top;
}

.gf8__battery {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 12px;
  margin-bottom: 36px;
}

.gf8__battery > div {
  padding: 17px 20px;
  border: 1px solid var(--gf8-line);
  border-radius: 12px;
  background: #fff;
}

.gf8__battery strong,
.gf8__battery span {
  display: block;
}

.gf8__battery strong {
  font-size: 22px;
}

.gf8__battery span {
  color: var(--gf8-muted);
  font-size: 14px;
}

.gf8__legal {
  margin: 0;
  padding-left: 20px;
  color: #d0d6d8;
}

.gf8__legal li + li {
  margin-top: 9px;
}

@media (max-width: 680px) {
  .gf8 {
    font-size: 15px;
  }

  .gf8 h2 {
    font-size: 30px;
  }

  .gf8__hero h2 {
    font-size: 38px;
  }

  .gf8__section {
    padding: 40px 18px;
  }

  .gf8__hero-copy,
  .gf8__promo-copy {
    padding: 38px 20px;
  }

  .gf8__promo--right {
    direction: ltr;
  }

  .gf8__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gf8__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gf8__feature {
    min-height: auto;
  }

  .gf8__gallery a::after {
    opacity: 1;
  }
}
