.pikteron {
  --pikteron-accent: #2bc2c4;
  --pikteron-red: #d45d3f;
  font-family: "Zalando Sans", sans-serif;
  font-optical-sizing: auto;
  font-variation-settings: "wdth" 125;
  font-weight: 500;
}

.pikteron-btn {
  --height: 44px;
  --color: var(--pikteron-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--height);
  cursor: pointer;
  padding: 8px 24px;
  max-width: 100%;
  color: var(--color);
  flex: none;
  font-size: 13px;
  font-weight: 700;
  user-select: none;
  text-transform: uppercase;
  position: relative;
  border: 0;
  background: none;
  transition:
    color 0.4s,
    border-color 0.4s,
    background-color 0.4s,
    background-position 0.4s;
  clip-path: polygon(
    0 8px,
    8px 0,
    calc(100% - 8px) 0,
    100% 8px,
    100% calc(100% - 8px),
    calc(100% - 8px) 100%,
    8px 100%,
    0 calc(100% - 8px)
  );
  &:hover {
    background-color: var(--color);
    color: white;
  }
  &:before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--color);
    z-index: -1;
    clip-path: polygon(
      0 8px,
      8px 0,
      calc(100% - 8px) 0,
      100% 8px,
      100% calc(100% - 8px),
      calc(100% - 8px) 100%,
      8px 100%,
      0 calc(100% - 8px),
      0 8px,
      2px calc(8px + 0.83px),
      2px calc(100% - 8px - 0.83px),
      calc(8px + 0.83px) calc(100% - 2px),
      calc(100% - 8px - 0.83px) calc(100% - 2px),
      calc(100% - 2px) calc(100% - 8px - 0.83px),
      calc(100% - 2px) calc(8px + 0.83px),
      calc(100% - 8px - 0.83px) 2px,
      calc(8px + 0.83px) 2px,
      2px calc(8px + 0.83px)
    );
  }
}

body {
  min-width: 320px;
  &:has(.pikteron-header:not(.pikteron-header-hide)) {
    .page {
      position: relative;
    }
    .header {
      position: absolute;
    }
  }
}

.pikteron-header {
  padding: 36px 0 30px;
  position: relative;
  overflow: hidden;
  border-bottom: solid 4px var(--pikteron-accent);
  background: black;
  @media (width < 768px) {
    padding: 32px 0 24px;
  }
  color: white;
  .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  &.pikteron-header-hide {
    display: none;
  }
}

.pikteron-header-bg {
  position: absolute;
  inset: 0;
  display: flex;
  img {
    width: 100%;
    object-fit: cover;
  }
}

.pikteron-header-close {
  position: absolute;
  width: 44px;
  padding: 0;
  right: 24px;
  top: 24px;
  z-index: 6;
  path {
    fill: currentColor;
  }
}

.pikteron-header-logo {
  display: flex;
  max-width: 155px;
  align-self: flex-start;
}

.pikteron-header-body {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  @media (width < 768px) {
    display: grid;
    grid-template-columns: 1fr 60px;
    gap: 12px 0;
  }
}

.pikteron-header-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  z-index: 1;
  flex: auto;
  min-width: 0;
  @media (width < 768px) {
    display: contents;
  }
}

.pikteron-header-quote {
  position: relative;
  width: 536px;
  min-height: 138px;
  padding: 20px 64px 20px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: flex-end;
  @media (width < 768px) {
    width: auto;
    padding: 8px 24px;
    align-self: unset;
  }
  @media (width < 480px) {
    min-height: unset;
    padding-left: 16px;
    margin-top: 12px;
  }
  svg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
  }
}

.pikteron-header-quote-text {
  position: relative;
  z-index: 1;
  font-size: 14px;
  line-height: 1.46;
  @media (width < 480px) {
    font-size: 11px;
  }
  a {
    color: var(--pikteron-accent);
    transition: color 0.4s;
    &:hover {
      color: var(--pikteron-red);
    }
  }
}

.pikteron-header-desc {
  max-width: 532px;
  font-size: 16px;
  line-height: 1.4;
  @media (width < 1024px) {
    max-width: 480px;
  }
  @media (width < 768px) {
    max-width: unset;
    grid-column: 1 / -1;
    order: 1;
    font-size: 14px;
  }
  @media (width < 480px) {
    font-size: 13px;
  }
  span {
    color: var(--pikteron-red);
    font-weight: 700;
  }
}

.pikteron-header-img {
  flex: none;
  width: 406px;
  display: flex;
  flex-direction: column;
  margin: -58px 0 0 -124px;
  height: 0;
  @media (width < 1024px) {
    margin-right: -80px;
    width: 380px;
    margin-top: -40px;
  }
  @media (width < 768px) {
    width: 120px;
    margin: 0 -28px;
    height: auto;
  }
  img {
    width: 100%;
    height: auto;
  }
}

.pikteron-banner {
  padding: 80px 0;
  overflow: hidden;
  @media (width < 1024px) {
    padding: 40px 0;
  }
}

.reviews {
  & + .pikteron-banner {
    padding-top: 0;
  }
}

.pikteron-banner-body {
  position: relative;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  background-color: black;
  padding: 108px 80px 70px;
  color: white;
  border: solid 2px var(--pikteron-accent);
  @media (width < 1024px) {
    padding: 32px 20px;
  }
  &:hover {
    .pikteron-banner-btn {
      background-color: var(--color);
      color: white;
    }
  }
}

.pikteron-banner-decor {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

.pikteron-banner-decor-left {
  left: -12px;
  bottom: -12px;
}

.pikteron-banner-decor-right {
  right: -12px;
  top: -12px;
}

.pikteron-banner-img {
  position: absolute;
  inset: 0 auto 0 0;
  width: 64.5%;
  display: flex;
  @media (width < 1200px) {
    opacity: 0.6;
  }
  @media (width < 768px) {
    top: 32%;
    width: 100%;
    opacity: 1;
  }
  img {
    width: 100%;
    object-fit: cover;
    @media (width < 768px) {
      object-position: top center;
    }
  }
}

.pikteron-banner-content {
  flex: auto;
  width: min(550px, 100%);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-self: flex-end;
}

.pikteron-banner-title {
  font-size: 25px;
  line-height: 1.24;
  @media (width < 1024px) {
    font-size: 20px;
  }
  span {
    color: var(--pikteron-red);
  }
}

.pikteron-banner-btn {
  --height: 54px;
  margin: auto 0 0 auto;
  --color: var(--pikteron-red);
}
