/* Homepage conversion elements. Uses the same tokens as about.css
   (loaded on the homepage too, for the shared review cards). */

/* ── Hero: quote button next to the product link on every slide ── */
.cover .content .slide .text .hero-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 22px;
}
.cover .content .slide .text .hero-actions a { margin-top: 0; }

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  height: 50px;
  padding: 4px 4px 4px 20px;
  border: none;
  border-radius: 30px;
  background: #e18d5e;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  transition: background 0.15s ease, transform 0.15s ease;
}
.hero-cta i {
  border-radius: 30px;
  padding: 11px 13px;
  color: #1F1F1F;
  background: #ffffff;
}
.hero-cta:hover { background: #C95F3F; transform: translateY(-1px); }
.hero-cta:focus-visible,
.mobile-cta a:focus-visible,
.mobile-cta button:focus-visible,
.trust-bar a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px #C95F3F;
}
.hero-cta--solid { box-shadow: none; }

/* ── Trust bar ── */
.trust-bar {
  background: #F8F2EE;
  border-bottom: 1px solid #eadfd7;
}
.trust-inner {
  list-style: none;
  margin: 0 auto;
  padding: 18px 20px;
  max-width: 1390px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}
.trust-inner li,
.trust-inner li a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 1.35;
  color: #55534f;
  text-decoration: none;
  margin: 0;
}
.trust-inner strong {
  color: #1F1F1F;
  font-weight: 600;
  display: block;
}
.trust-inner i {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffffff;
  color: #e18d5e;
  font-size: 16px;
}
.trust-inner li a strong { color: #C95F3F; }

/* ── Reviews: white, so it reads as its own block between two sand sections ── */
.about-reviews.home-reviews { background: #ffffff; }
.home-reviews .about-review { background: #F8F2EE; }

/* ── Sticky mobile bar ── */
.mobile-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 9000; /* above the page, below the quote popup (20000) */
  display: flex;
  gap: 10px;
  padding: 6px;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 28px rgba(31, 31, 31, 0.18);
  transform: translateY(160%);
  transition: transform 0.25s ease;
}
.mobile-cta.is-visible { transform: translateY(0); }
.mobile-cta-quote {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
  padding: 4px 4px 4px 20px;
  border: none;
  border-radius: 30px;
  background: #e18d5e;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
}
.mobile-cta-quote i {
  border-radius: 30px;
  padding: 11px 13px;
  color: #1F1F1F;
  background: #ffffff;
}
.mobile-cta-call {
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid !important;
  place-items: center;
  background: #1F1F1F;
  color: #ffffff !important;
  font-size: 18px;
  text-decoration: none;
}

@media (min-width: 720px) {
  .trust-inner { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1140px) {
  .cover .content .slide .text .hero-actions { justify-content: flex-start; }
  .trust-inner { padding: 22px 50px; }
  .trust-inner li,
  .trust-inner li a { font-size: 15px; }
  .mobile-cta { display: none; }
}

@media (max-width: 1139px) {
  body:has(.mobile-cta) footer { padding-bottom: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-cta, .mobile-cta { transition: none; }
}
