.hero.fp-home-hero {
  min-height: 0;
  background: #261b15;
}

.fp-home-hero__picture,
.fp-home-hero__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.fp-home-hero__picture img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 58%;
}

.fp-home-hero__shade {
  background: linear-gradient(90deg, rgb(24 15 11 / 92%), rgb(24 15 11 / 78%) 36%, rgb(24 15 11 / 12%) 90%);
}

.hero.fp-home-hero .hero-content {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-height: 510px;
  padding-top: 110px;
  padding-bottom: 44px;
}

.hero.fp-home-hero .hero-copy {
  max-width: 560px;
}

.hero.fp-home-hero .eyebrow {
  margin: 0 0 12px;
  color: #f1e2cf;
}

.hero.fp-home-hero h1.fp-seo-home-title {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(36px, 5.15vw, 74px);
  line-height: 1.03;
}

.fp-home-hero__facts {
  margin: 10px 0 0;
  color: #f8eee1;
  font-size: 15px;
  line-height: 1.4;
}

.fp-home-hero__offer {
  width: fit-content;
  max-width: 100%;
  margin: 19px 0 0;
  padding: 12px 17px;
  border: 1px solid rgb(250 239 225 / 48%);
  background: rgb(33 23 17 / 90%);
  color: #fff9f1;
}

.fp-home-hero__amount {
  display: flex;
  flex-wrap: wrap;
  gap: 0 10px;
  align-items: baseline;
  margin: 0;
}

.fp-home-hero__amount strong {
  font-size: clamp(22px, 2.45vw, 32px);
  line-height: 1.1;
}

.fp-home-hero__amount del,
.fp-home-hero__price-details {
  color: #ecdfd0;
}

.fp-home-hero__price-details {
  margin: 5px 0 0;
  font-size: 13px;
  line-height: 1.35;
}

.fp-home-hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
  margin-top: 3px;
}

.fp-home-hero__links a,
.fp-home-hero__gallery-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: #fff9f1;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero.fp-home-hero .hero-actions {
  gap: 9px;
  margin-top: 18px;
}

.hero.fp-home-hero .hero-actions .button,
.button.fp-home-estimate-fixed {
  min-height: 46px;
  padding: 9px 15px;
  white-space: normal;
}

.fp-home-hero__gallery {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  align-self: end;
  text-align: right;
}

.fp-home-hero__gallery-link {
  padding: 0 9px;
  background: rgb(33 23 17 / 92%);
}

.fp-home-hero__slides {
  display: flex;
  background: rgb(33 23 17 / 92%);
}

.fp-home-hero__slides button {
  display: grid;
  width: 35px;
  height: 36px;
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  color: #fff9f1;
  cursor: pointer;
}

.fp-home-hero__slides button::before {
  width: 9px;
  height: 9px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: '';
}

.fp-home-hero__slides button[aria-pressed='true']::before {
  background: currentColor;
}

.fp-home-hero :is(a, button):focus-visible,
.fp-home-estimate-fixed:focus-visible {
  outline: 2px solid #fff7e9;
  outline-offset: 2px;
}

.button.fp-home-estimate-fixed {
  position: fixed;
  z-index: 35;
  inset-inline-end: max(18px, env(safe-area-inset-right));
  inset-block-end: max(16px, env(safe-area-inset-bottom));
  box-shadow: 0 4px 22px rgb(0 0 0 / 34%);
}

body:has(.fp-home-hero) {
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
}

@media (max-width: 799px) {
  .hero.fp-home-hero .hero-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    align-content: center;
    min-height: 0;
    padding-top: 100px;
    padding-bottom: 22px;
  }

  .fp-home-hero__gallery {
    justify-content: flex-start;
    text-align: left;
  }
}

@media (max-width: 620px) {
  .hero.fp-home-hero .hero-content {
    padding-top: 94px;
    padding-bottom: 14px;
  }

  .fp-home-hero__shade {
    background: linear-gradient(90deg, rgb(24 15 11 / 92%), rgb(24 15 11 / 69%)),
      linear-gradient(0deg, rgb(24 15 11 / 77%), transparent 70%);
  }

  .hero.fp-home-hero h1.fp-seo-home-title {
    font-size: clamp(30px, 8.3vw, 49px);
  }

  .hero.fp-home-hero .eyebrow {
    margin-bottom: 7px;
    font-size: 10px;
  }

  .fp-home-hero__facts {
    font-size: 14px;
    margin-top: 8px;
  }

  .fp-home-hero__offer {
    margin-top: 13px;
    padding: 10px 12px 6px;
  }

  .hero.fp-home-hero .hero-actions {
    flex-flow: row wrap;
    margin-top: 12px;
  }

  .hero.fp-home-hero .hero-actions .button {
    flex: 1 0 135px;
    width: auto;
    text-align: center;
  }

  .hero.fp-home-hero .hero-actions .button,
  .button.fp-home-estimate-fixed {
    padding-inline: 11px;
  }

  .button.fp-home-estimate-fixed {
    inset-inline-end: max(10px, env(safe-area-inset-right));
    inset-block-end: max(10px, env(safe-area-inset-bottom));
  }
}

.fp-home-lead-form .fp-home-lead-details {
  border: 1px solid #d8c9b8;
  border-radius: 10px;
  padding: 0 12px;
}

.fp-home-lead-form .fp-home-lead-details summary {
  padding-block: 11px;
  color: #503a2d;
  cursor: pointer;
}

.fp-home-lead-form .fp-home-lead-fields {
  display: grid;
  padding-block: 3px 12px;
  gap: 12px;
}

.fp-home-lead-form .consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fp-home-lead-form :is(summary, .consent a):focus-visible {
  outline: 2px solid #754930;
  outline-offset: 3px;
}