/* Home price board + Try a demo buttons. Last in the stack. */

.fixa-try-form button,
.closing-form button {
  min-width: 132px;
  padding: 0 18px;
  white-space: nowrap;
}

.price-section {
  padding: 88px clamp(28px, 7vw, 110px) 64px;
}

.price-board {
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr);
  gap: clamp(32px, 4.5vw, 64px) clamp(36px, 6vw, 80px);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  text-align: left;
}

.price-offer {
  min-width: 0;
}

.price-section .price-kicker {
  max-width: none;
  margin: 0 0 8px;
  color: #a97135;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 3.06vw, 46px);
  font-weight: 400;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.04em;
}

.price-section h2 {
  margin: 0;
}

.cost-compare {
  margin: 0;
  min-width: 0;
}

.cost-row--lad {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cost-row--hire {
  margin-top: 14px;
}

.price-section .cost-label {
  max-width: none;
  margin: 0;
  color: #191a17;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  white-space: nowrap;
}

.cost-track {
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 3px;
  background: transparent;
}

.cost-row--lad .cost-track {
  width: 18px;
  height: 10px;
}

.cost-row--hire .cost-track,
.cost-track--hire {
  display: flex;
  align-items: center;
  width: 100%;
  height: 58px;
  border-radius: 7px;
  background: #efefed;
}

.cost-track--hire .cost-label {
  position: relative;
  z-index: 1;
  color: #f4efe5;
  font-size: 13px;
  font-weight: 600;
  padding: 0 16px;
}

.cost-bar {
  display: block;
  height: 100%;
  border-radius: inherit;
  transform-origin: left center;
  animation: cost-bar-in 1.05s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cost-bar--lad {
  width: 100%;
  background: #a97135;
}

.cost-bar--hire {
  position: absolute;
  inset: 0;
  width: 100%;
  background: #11120f;
  animation-delay: 0.12s;
  animation-duration: 1.35s;
}

.price-section .cost-note {
  max-width: none;
  margin: 12px 0 0;
  color: #8a8b85;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.price-section .price-foot {
  max-width: 26rem;
  margin: 36px auto 0;
}

@keyframes cost-bar-in {
  from {
    transform: scaleX(0.04);
    opacity: 0.35;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

@media (max-width: 860px) {
  .price-board {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .price-section .price-kicker,
  .price-section .cost-note {
    text-align: center;
  }

  .cost-row--lad {
    justify-content: center;
  }

  .cost-row--hire .cost-track {
    height: 56px;
  }
}

@media (max-width: 700px) {
  .price-section {
    padding: 72px 22px 48px;
  }

  .price-section .cost-label {
    font-size: 12px;
  }

  .cost-track--hire .cost-label {
    font-size: 11px;
    padding: 0 10px;
  }

  .fixa-try-form button,
  .closing-form button {
    min-width: 120px;
    padding: 0 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cost-bar {
    animation: none;
  }
}
