@font-face {
  font-family: Montserrat;
  src: url('/assets/fonts/montserrat-regular.woff') format('woff');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Montserrat;
  src: url('/assets/fonts/montserrat-medium.woff') format('woff');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: Montserrat;
  src: url('/assets/fonts/montserrat-semibold.woff') format('woff');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: Montserrat;
  src: url('/assets/fonts/montserrat-bold.woff') format('woff');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  font-family: Montserrat, Arial, sans-serif;
}

button,
input {
  font-family: inherit;
}

.hero__backdrop {
  display: none;
}

@media (min-width: 741px) {
  .hero {
    display: block;
    width: 100%;
    height: max(100svh, 817px);
    min-height: max(100svh, 817px);
    overflow: hidden;
    background: transparent;
  }

  .hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    min-height: 0;
  }

  .hero__backdrop {
    position: absolute;
    z-index: 1;
    top: calc(50% - 563.5px);
    left: max(calc(50% + 89px), 689px);
    display: block;
    width: 631px;
    height: 1027px;
    background: var(--panel);
  }

  .hero__panel {
    position: absolute;
    z-index: 2;
    top: calc(50% - 450px);
    left: max(calc(50% + 89px), 689px);
    width: 631px;
    height: 900px;
    min-height: 0;
    padding: 16px 86px;
    background: transparent;
  }
}

@media (min-width: 741px) and (min-height: 761px) {
  .brand,
  .hero h1,
  .feature-list,
  .hero__offer,
  .hero__footer {
    width: 400px;
  }

  .brand {
    flex: 0 0 55px;
    margin-bottom: 0;
  }

  .hero h1 {
    max-width: none;
    margin: 90px 0 40px;
    font-size: 22px;
    line-height: 1.3;
  }

  .hero__footer {
    margin-top: 60px;
    padding-top: 0;
    gap: 5px;
    line-height: 1.5;
  }
}

.feature-list {
  gap: 10px;
  font-weight: 600;
  line-height: 24px;
}

.feature-list li {
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: center;
}

.feature-list__icon {
  width: 26px;
  height: 26px;
}

.feature-list__icon--image {
  display: block;
  background: #deb86e;
  -webkit-mask-image: var(--feature-icon);
  mask-image: var(--feature-icon);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.feature-list li:last-child > span:last-child {
  letter-spacing: -.45px;
}

.hero__offer {
  margin: 50px 0 15px;
  line-height: 1.5;
}

.primary-button {
  width: 307px;
  min-width: 307px;
  min-height: 48px;
  height: 48px;
  padding: 12px 7px;
}

.hero__footer a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-decoration: none;
}

.hero__footer a i {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  background: currentColor;
  -webkit-mask: url('/assets/icons/phone.svg') center / contain no-repeat;
  mask: url('/assets/icons/phone.svg') center / contain no-repeat;
}

.hero__footer a b {
  font: inherit;
}

.hero__footer > span {
  line-height: 18px;
}

.call-button {
  top: 675px;
  right: auto;
  bottom: auto;
  left: calc(50% + 587px);
  display: block;
  width: 100px;
  height: 110.5px;
  border-radius: 0;
  background: none;
  box-shadow: none;
  transform: scale(.875);
  transform-origin: center;
  animation: call-pulse 1s linear infinite alternate;
}

.call-button img {
  display: block;
  width: 100%;
  height: 100%;
}

@keyframes call-pulse {
  from { transform: scale(.875); }
  to { transform: scale(1.167); }
}

@media (max-width: 740px) {
  .brand,
  .hero h1,
  .feature-list,
  .hero__offer,
  .primary-button {
    width: auto;
    max-width: none;
  }

  .primary-button {
    width: 307px;
    min-width: 0;
  }

  .brand {
    margin-bottom: 56px;
  }

  .hero h1 {
    margin-bottom: 40px;
    font-size: 22px;
    line-height: 1.3;
    letter-spacing: -.1px;
  }

  .cookie-banner {
    line-height: 1.5;
  }

  .call-button {
    top: 512px;
    right: auto;
    bottom: auto;
    left: calc(50% + 80px);
    width: 100px;
    height: 110.5px;
  }
}

@media (max-width: 374px) {
  .primary-button {
    width: 100%;
  }

  .call-button {
    right: 12px;
    left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .call-button {
    animation: none;
    transform: none;
  }
}
