/* Extracted from inline styles */

.img-fill {
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  color: transparent;
}

.img-fill-cover {
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
  color: transparent;
}

.img-transparent {
  color: transparent;
}

.slide-inline {
  width: 100%;
  display: inline-block;
}

.slick-track-features {
  width: 5676px;
  opacity: 1;
}

.slick-track-reviews {
  width: 7938px;
  opacity: 1;
  transform: translate3d(-2646px, 0px, 0px);
}

.review-slide {
  width: 756px;
}

.review-slide-outline {
  outline: none;
  width: 756px;
}

.feature-slide {
  outline: none;
  width: 516px;
  position: relative;
  transition:
    opacity 500ms,
    visibility 500ms;
}

.feature-slide.is-active {
  left: 0;
  opacity: 1;
  z-index: 999;
}

.feature-slide.is-hidden-1 {
  left: -516px;
  opacity: 0;
  z-index: 998;
}

.feature-slide.is-hidden-2 {
  left: -1032px;
  opacity: 0;
  z-index: 998;
}

.feature-slide.is-hidden-3 {
  left: -1548px;
  opacity: 0;
  z-index: 998;
}

.feature-slide.is-hidden-4 {
  left: -2064px;
  opacity: 0;
  z-index: 998;
}

.display-block {
  display: block;
}

/* Hero nav — keep above hero image/content */
.hero-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  width: 100%;
}

.hero-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 70px;
  margin: 0 auto;
  padding: 1rem;
  max-width: 1080px;
  box-sizing: border-box;
}

.hero-logo-link {
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 61;
}

.hero-logo {
  display: block;
  width: 280px;
  height: auto;
  max-width: 78vw;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55));
}

@media (min-width: 1024px) {
  .hero-logo {
    width: 340px;
  }
}

.hero-content {
  pointer-events: none;
}

.hero-content a,
.hero-content button,
.hero-content input,
.hero-content form {
  pointer-events: auto;
}

/* Multi-step zip lead forms */
.zip-lead-form {
  width: 100%;
}

.zip-lead-form .zip-lead-row {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.zip-lead-form input[type="text"],
.zip-lead-form input[type="email"],
.zip-lead-form input[type="tel"] {
  box-sizing: border-box;
  border: 1px solid #ccc;
  outline: none;
}

.zip-lead-form input:focus {
  border-color: #355714;
}

.zip-lead-fields {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 320px;
  margin: 0 auto;
  text-align: left;
}

.zip-lead-fields input {
  width: 100%;
  height: 45px;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background: #f1f1f1;
  color: #000;
}

.zip-lead-fields .zip-lead-submit {
  width: 100%;
  margin-left: 0 !important;
  min-width: 0;
  height: 45px;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
}

.zip-lead-error {
  color: #b00020;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  text-align: center;
}

.zip-lead-thanks {
  max-width: 420px;
  margin: 1rem auto;
  padding: 1rem 1.25rem;
  background: #f3f8ee;
  border-left: 4px solid #355714;
  color: #1a1a1a;
  font-size: 1rem;
  line-height: 1.5;
  text-align: left;
}

.zip-lead-form[data-variant="hero"] .zip-lead-fields {
  max-width: 360px;
  margin: 0;
}

.zip-lead-form[data-variant="hero"] .zip-lead-thanks {
  margin: 1rem 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  border-left-color: #ffcc00;
}

.zip-lead-form[data-variant="hero"] .zip-lead-error {
  text-align: left;
  color: #ffd2d2;
}

.zip-lead-form[data-variant="inline-left"] .zip-lead-fields,
.zip-lead-form[data-variant="inline-left"] .zip-lead-thanks,
.zip-lead-form[data-variant="inline-left"] .zip-lead-error {
  margin-left: 0;
  text-align: left;
}

@media (max-width: 640px) {
  .zip-lead-form .zip-lead-row {
    flex-direction: column;
    width: 100%;
  }

  .zip-lead-form .zip-lead-row input,
  .zip-lead-form .zip-lead-row button {
    width: 100% !important;
    max-width: 280px;
    margin-left: 0 !important;
  }
}

/* Reviews carousel */
.reviews-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 1080px;
  margin: 0.5rem auto 0;
  padding: 0 0.5rem;
  box-sizing: border-box;
}

.reviews-viewport {
  flex: 1 1 auto;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #355714 #e8e8e8;
}

.reviews-viewport::-webkit-scrollbar {
  height: 8px;
}

.reviews-viewport::-webkit-scrollbar-track {
  background: #e8e8e8;
  border-radius: 999px;
}

.reviews-viewport::-webkit-scrollbar-thumb {
  background: #355714;
  border-radius: 999px;
}

.reviews-track {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 0.25rem 1rem;
  width: max-content;
}

.review-card {
  flex: 0 0 auto;
  width: min(320px, 78vw);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  border: 3px solid rgba(53, 87, 20, 0.55);
  border-radius: 0.5rem;
  padding: 1rem 1.15rem;
  background: #fff;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.08);
  scroll-snap-align: start;
}

.review-text {
  margin: 0 0 1rem;
  color: #2a2a2a;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.55;
}

.review-author {
  margin: 0;
  color: #111;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.reviews-arrow {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border: 2px solid #355714;
  border-radius: 999px;
  background: #fff;
  color: #355714;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.reviews-arrow:hover:not(:disabled) {
  background: #355714;
  color: #fff;
}

.reviews-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

@media (min-width: 1024px) {
  .review-card {
    width: 420px;
    min-height: 230px;
    padding: 1.25rem 1.5rem;
  }

  .review-text {
    font-size: 1rem;
  }

  .review-author {
    font-size: 0.875rem;
  }
}
