/* HuntBee modular homepage sections.
   Each module instance is independently placeable through Design > Layouts. */

.hb-theme #common-home {
  overflow-x: hidden;
}

.hb-theme .hb-home-module {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  margin-left: -50vw;
  overflow: hidden;
  color: var(--hb-ink);
}

.hb-theme .hb-home-module > .container {
  padding-top: 64px;
  padding-bottom: 64px;
}

.hb-theme .hb-home-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--hb-cyan);
  font-size: 12px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hb-theme .hb-home-section-heading {
  max-width: 760px;
  margin: 0 0 28px;
}

.hb-theme .hb-home-section-heading h2,
.hb-theme .hb-home-trust-copy h2,
.hb-theme .hb-home-cta-copy h2 {
  margin: 0 0 10px;
  color: var(--hb-ink);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.035em;
}

.hb-theme .hb-home-section-heading p,
.hb-theme .hb-home-trust-copy > p,
.hb-theme .hb-home-cta-copy > p {
  margin: 0;
  color: var(--hb-muted);
  font-size: 14px;
  line-height: 1.7;
}

.hb-theme .hb-home-section-action {
  margin-top: 24px;
}

.hb-theme .hb-home-text-link {
  color: var(--hb-ink);
  font-size: 12px;
  font-weight: 800;
}

.hb-theme .hb-home-text-link i,
.hb-theme .hb-home-suite-link i {
  margin-left: 5px;
  color: var(--hb-amber-strong);
  font-size: 12px;
}

/* Hero */
.hb-theme .hb-home-hero-module {
  border-bottom: 1px solid var(--hb-line);
  background:
    radial-gradient(circle at 82% 16%, rgba(42, 167, 184, .10), transparent 27%),
    linear-gradient(180deg, #fbfaf6 0%, var(--hb-paper) 100%);
}

.hb-theme .hb-home-hero-module > .container {
  padding-top: 72px;
  padding-bottom: 66px;
}

.hb-theme .hb-home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr);
  gap: 54px;
  align-items: center;
}

.hb-theme .hb-home-hero-copy h1 {
  max-width: 780px;
  margin: 0 0 20px;
  color: var(--hb-ink);
  font-size: clamp(40px, 4.5vw, 62px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -.045em;
}

.hb-theme .hb-home-hero-copy > p {
  max-width: 700px;
  margin: 0 0 28px;
  color: var(--hb-ink-soft);
  font-size: 17px;
  line-height: 1.7;
}

.hb-theme .hb-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hb-theme .hb-home-hero-panel {
  padding: 28px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  background: var(--hb-navy);
  box-shadow: 0 24px 55px rgba(13,24,38,.15);
  color: #fff;
}

.hb-theme .hb-home-panel-label {
  display: block;
  margin-bottom: 16px;
  color: #73c7d2;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hb-theme .hb-home-hero-panel h2 {
  margin: 0 0 22px;
  color: #fff;
  font-size: 22px;
  line-height: 1.32;
  font-weight: 700;
}

.hb-theme .hb-home-panel-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,.09);
  font-size: 12px;
}

.hb-theme .hb-home-panel-row span {
  color: rgba(255,255,255,.58);
}

.hb-theme .hb-home-panel-row strong {
  color: #fff;
  text-align: right;
}

/* Credibility strip */
.hb-theme .hb-home-credibility-module {
  border-bottom: 1px solid var(--hb-line);
  background: #fff;
}

.hb-theme .hb-home-credibility-module > .container {
  padding-top: 26px;
  padding-bottom: 26px;
}

.hb-theme .hb-home-credibility-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.hb-theme .hb-home-credibility-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 4px 28px;
}

.hb-theme .hb-home-credibility-item:first-child {
  padding-left: 0;
}

.hb-theme .hb-home-credibility-item + .hb-home-credibility-item {
  border-left: 1px solid var(--hb-line);
}

.hb-theme .hb-home-credibility-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #f3f8f8;
  color: var(--hb-cyan);
  font-size: 13px;
  line-height: 1;
}

.hb-theme .hb-home-credibility-icon i,
.hb-theme .hb-home-credibility-icon svg {
  display: block;
  margin: 0 !important;
  line-height: 1;
}

.hb-theme .hb-home-credibility-item div > strong,
.hb-theme .hb-home-credibility-item div > span {
  display: block;
}

.hb-theme .hb-home-credibility-item strong {
  margin-bottom: 3px;
  color: var(--hb-ink);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
}

.hb-theme .hb-home-credibility-item div > span {
  color: var(--hb-muted);
  font-size: 12px;
  line-height: 1.45;
}

/* Customer access */
.hb-theme .hb-home-access-module {
  border-bottom: 1px solid var(--hb-line);
  background: #fff;
}

.hb-theme .hb-home-access-module > .container {
  padding-top: 38px;
  padding-bottom: 38px;
}

.hb-theme .hb-home-section-heading-inline {
  margin-bottom: 20px;
}

.hb-theme .hb-home-section-heading-inline h2 {
  font-size: 21px;
  letter-spacing: -.02em;
}

.hb-theme .hb-home-section-heading-inline p {
  font-size: 12px;
}

.hb-theme .hb-home-access-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hb-theme .hb-home-access-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--hb-line);
  border-radius: 9px;
  background: #fbfaf6;
}

.hb-theme .hb-home-access-card:hover,
.hb-theme .hb-home-access-card:focus {
  border-color: #d4c89f;
  background: #fffaf0;
  color: var(--hb-ink);
}

.hb-theme .hb-home-access-icon,
.hb-theme .hb-home-need-icon,
.hb-theme .hb-home-service-icon,
.hb-theme .hb-home-suite-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #fff;
  color: var(--hb-cyan);
  font-size: 14px;
}

.hb-theme .hb-home-access-copy,
.hb-theme .hb-home-need-copy {
  min-width: 0;
}

.hb-theme .hb-home-access-copy strong,
.hb-theme .hb-home-access-copy small,
.hb-theme .hb-home-need-copy strong,
.hb-theme .hb-home-need-copy small {
  display: block;
}

.hb-theme .hb-home-access-copy strong,
.hb-theme .hb-home-need-copy strong {
  margin-bottom: 2px;
  color: var(--hb-ink);
  font-size: 12px;
}

.hb-theme .hb-home-access-copy small,
.hb-theme .hb-home-need-copy small {
  color: var(--hb-muted);
  font-size: 12px;
  line-height: 1.45;
}

.hb-theme .hb-home-card-arrow {
  color: #b2b7bc;
  font-size: 9px;
}

/* Popular extensions */
.hb-theme .hb-home-popular-module,
.hb-theme .hb-home-services-module,
.hb-theme .hb-home-updates-module {
  background: var(--hb-paper);
}

.hb-theme .hb-home-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hb-theme .hb-home-product-card {
  overflow: hidden;
  border: 1px solid var(--hb-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(17,24,32,.045);
}

.hb-theme .hb-home-product-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 1.68 / 1;
  border-bottom: 1px solid #efebe3;
  background: #f3f1eb;
}

.hb-theme .hb-home-product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hb-theme .hb-home-product-body {
  padding: 17px;
}

.hb-theme .hb-home-product-body h3 {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
}

.hb-theme .hb-home-product-body h3 a {
  color: var(--hb-ink);
}

.hb-theme .hb-home-product-body > p {
  min-height: 54px;
  margin: 0 0 14px;
  color: var(--hb-muted);
  font-size: 12px;
  line-height: 1.6;
}

.hb-theme .hb-home-product-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 13px;
  border-top: 1px solid #f0ede6;
}

.hb-theme .hb-home-product-price strong,
.hb-theme .hb-home-product-price span {
  display: block;
}

.hb-theme .hb-home-product-price strong {
  color: var(--hb-ink);
  font-size: 15px;
}

.hb-theme .hb-home-product-price span {
  color: #9aa1a7;
  font-size: 12px;
  text-decoration: line-through;
}

/* Browse by need */
.hb-theme .hb-home-needs-module {
  background: #fff;
}

.hb-theme .hb-home-needs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hb-theme .hb-home-need-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: start;
  min-height: 110px;
  padding: 18px;
  border: 1px solid var(--hb-line);
  border-radius: 10px;
  background: #fbfaf6;
}

.hb-theme .hb-home-need-card:hover,
.hb-theme .hb-home-need-card:focus {
  border-color: #d8c895;
  background: #fffaf0;
  color: var(--hb-ink);
}

/* Suites */
.hb-theme .hb-home-suites-module {
  background:
    radial-gradient(circle at 84% 18%, rgba(42,167,184,.14), transparent 30%),
    var(--hb-navy);
  color: #fff;
}

.hb-theme .hb-home-section-heading-light h2 {
  color: #fff;
}

.hb-theme .hb-home-section-heading-light p {
  color: rgba(255,255,255,.66);
}

.hb-theme .hb-home-suites-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hb-theme .hb-home-suite-card {
  display: flex;
  flex-direction: column;
  min-height: 205px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 11px;
  background: rgba(255,255,255,.045);
  color: #fff;
}

.hb-theme .hb-home-suite-card:hover,
.hb-theme .hb-home-suite-card:focus {
  border-color: rgba(246,181,27,.48);
  background: rgba(255,255,255,.075);
  color: #fff;
}

.hb-theme .hb-home-suite-icon {
  margin-bottom: 22px;
  background: rgba(255,255,255,.08);
  color: #73c7d2;
}

.hb-theme .hb-home-suite-card > strong {
  margin-bottom: 7px;
  color: #fff;
  font-size: 14px;
}

.hb-theme .hb-home-suite-card > small {
  flex: 1 1 auto;
  color: rgba(255,255,255,.61);
  font-size: 12px;
  line-height: 1.6;
}

.hb-theme .hb-home-suite-link {
  margin-top: 16px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.hb-theme .hb-home-suites-module .hb-home-section-action .btn-default {
  border-color: rgba(255,255,255,.20) !important;
  background: rgba(255,255,255,.07) !important;
  color: #fff !important;
}

/* Services */
.hb-theme .hb-home-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.hb-theme .hb-home-service-card {
  min-height: 225px;
  padding: 20px;
  border: 1px solid var(--hb-line);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(17,24,32,.04);
}

.hb-theme .hb-home-service-card:hover,
.hb-theme .hb-home-service-card:focus {
  border-color: #d4c89f;
  color: var(--hb-ink);
}

.hb-theme .hb-home-service-icon {
  margin-bottom: 24px;
  background: #f5f2e9;
}

.hb-theme .hb-home-service-card h3 {
  margin: 0 0 8px;
  color: var(--hb-ink);
  font-size: 14px;
  font-weight: 800;
}

.hb-theme .hb-home-service-card p {
  min-height: 72px;
  margin: 0 0 15px;
  color: var(--hb-muted);
  font-size: 12px;
  line-height: 1.65;
}

/* Trust */
.hb-theme .hb-home-trust-module {
  border-top: 1px solid var(--hb-line);
  border-bottom: 1px solid var(--hb-line);
  background: #fff;
}

.hb-theme .hb-home-trust-grid {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
  gap: 54px;
  align-items: center;
}

.hb-theme .hb-home-trust-copy > p {
  margin-bottom: 20px;
}

.hb-theme .hb-home-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hb-theme .hb-home-proof-card {
  min-height: 125px;
  padding: 18px;
  border: 1px solid var(--hb-line);
  border-radius: 10px;
  background: #fbfaf6;
}

.hb-theme .hb-home-proof-card i,
.hb-theme .hb-home-proof-card strong,
.hb-theme .hb-home-proof-card span {
  display: block;
}

.hb-theme .hb-home-proof-card i {
  margin-bottom: 16px;
  color: var(--hb-cyan);
  font-size: 16px;
}

.hb-theme .hb-home-proof-card strong {
  margin-bottom: 5px;
  color: var(--hb-ink);
  font-size: 12px;
}

.hb-theme .hb-home-proof-card span {
  color: var(--hb-muted);
  font-size: 12px;
  line-height: 1.55;
}

/* Testimonials */
.hb-theme .hb-home-testimonials-module {
  background: var(--hb-paper);
}

.hb-theme .hb-home-trustpilot-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: -8px 0 24px;
  color: var(--hb-ink);
  text-decoration: none;
}

.hb-theme .hb-home-trustpilot-badge:hover,
.hb-theme .hb-home-trustpilot-badge:focus {
  color: var(--hb-ink);
  text-decoration: none;
}

.hb-theme .hb-trustpilot-rating {
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
}

.hb-theme .hb-trustpilot-stars {
  display: inline-flex;
  gap: 2px;
}

.hb-theme .hb-trustpilot-stars > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  background: #00b67a;
  color: #fff;
  font-size: 12px;
  line-height: 1;
}

.hb-theme .hb-trustpilot-brand {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
}

.hb-theme .hb-trustpilot-brand-star {
  color: #00b67a;
  font-size: 17px;
}

.hb-theme .hb-home-review-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--hb-ink);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 800;
}

.hb-theme .hb-home-review-link:hover,
.hb-theme .hb-home-review-link:focus {
  color: var(--hb-cyan);
}

.hb-theme .hb-home-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hb-theme .hb-home-testimonial-card {
  position: relative;
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--hb-line);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(17,24,32,.035);
}

.hb-theme .hb-home-testimonial-quote {
  margin-bottom: 16px;
  color: var(--hb-amber-strong);
  font-size: 17px;
}

.hb-theme .hb-home-testimonial-card p {
  margin: 0 0 18px;
  color: var(--hb-ink-soft);
  font-size: 12px;
  line-height: 1.7;
}

.hb-theme .hb-home-testimonial-card strong {
  display: block;
  color: var(--hb-ink);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 800;
}

/* Updates */
.hb-theme .hb-home-update-list {
  overflow: hidden;
  border: 1px solid var(--hb-line);
  border-radius: 11px;
  background: #fff;
}

.hb-theme .hb-home-update-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 15px 17px;
  color: var(--hb-ink);
}

.hb-theme .hb-home-update-row + .hb-home-update-row {
  border-top: 1px solid #efebe3;
}

.hb-theme .hb-home-update-row:hover,
.hb-theme .hb-home-update-row:focus {
  background: #fffaf0;
  color: var(--hb-ink);
}

.hb-theme .hb-home-update-main strong,
.hb-theme .hb-home-update-main small {
  display: block;
}

.hb-theme .hb-home-update-main strong {
  margin-bottom: 3px;
  font-size: 12px;
}

.hb-theme .hb-home-update-main small {
  color: var(--hb-muted);
  font-size: 12px;
  line-height: 1.45;
}

.hb-theme .hb-home-update-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--hb-muted);
  font-size: 12px;
  white-space: nowrap;
}

.hb-theme .hb-home-version {
  padding: 3px 7px;
  border-radius: 999px;
  background: #edf7f8;
  color: #267a87;
  font-weight: 800;
}

.hb-theme .hb-home-update-link {
  color: var(--hb-ink);
  font-weight: 800;
}

.hb-theme .hb-home-empty {
  margin: 0;
  padding: 22px;
  border: 1px solid var(--hb-line);
  border-radius: 10px;
  background: #fff;
  color: var(--hb-muted);
}

/* CTA */
.hb-theme .hb-home-cta-module {
  background: var(--hb-paper);
}

.hb-theme .hb-home-cta-module > .container {
  padding-top: 52px;
  padding-bottom: 52px;
}

.hb-theme .hb-home-cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  padding: 34px 36px;
  border: 1px solid #ded8ca;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(17,24,32,.055);
}

.hb-theme .hb-home-cta-copy h2 {
  font-size: clamp(25px, 2.6vw, 34px);
}

@media (max-width: 991px) {
  .hb-theme .hb-home-module > .container {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .hb-theme .hb-home-hero-grid,
  .hb-theme .hb-home-trust-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hb-theme .hb-home-hero-copy h1 {
    font-size: 44px;
  }

  .hb-theme .hb-home-access-grid,
  .hb-theme .hb-home-needs-grid,
  .hb-theme .hb-home-product-grid,
  .hb-theme .hb-home-testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hb-theme .hb-home-suites-grid,
  .hb-theme .hb-home-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hb-theme .hb-home-cta-card {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 767px) {
  .hb-theme .hb-home-module > .container {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .hb-theme .hb-home-hero-module > .container {
    padding-top: 46px;
    padding-bottom: 44px;
  }

  .hb-theme .hb-home-hero-copy h1 {
    font-size: 34px;
    line-height: 1.06;
  }

  .hb-theme .hb-home-hero-copy > p {
    font-size: 15px;
  }

  .hb-theme .hb-home-section-heading h2,
  .hb-theme .hb-home-trust-copy h2 {
    font-size: 27px;
  }

  .hb-theme .hb-home-credibility-grid,
  .hb-theme .hb-home-access-grid,
  .hb-theme .hb-home-needs-grid,
  .hb-theme .hb-home-product-grid,
  .hb-theme .hb-home-testimonial-grid,
  .hb-theme .hb-home-suites-grid,
  .hb-theme .hb-home-services-grid,
  .hb-theme .hb-home-proof-grid {
    grid-template-columns: 1fr;
  }

  .hb-theme .hb-home-credibility-item {
    padding: 14px 0;
  }

  .hb-theme .hb-home-credibility-item + .hb-home-credibility-item {
    border-left: 0;
    border-top: 1px solid var(--hb-line);
  }

  .hb-theme .hb-home-access-card,
  .hb-theme .hb-home-need-card {
    min-height: 0;
  }

  .hb-theme .hb-home-product-body > p,
  .hb-theme .hb-home-service-card p {
    min-height: 0;
  }

  .hb-theme .hb-home-update-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hb-theme .hb-home-update-meta {
    flex-wrap: wrap;
    white-space: normal;
  }

  .hb-theme .hb-home-trustpilot-badge {
    flex-wrap: wrap;
    gap: 8px;
  }

  .hb-theme .hb-trustpilot-stars > span {
    width: 18px;
    height: 18px;
    font-size: 11px;
  }

  .hb-theme .hb-home-cta-card {
    padding: 26px 22px;
  }

  .hb-theme .hb-home-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hb-theme .hb-home-actions .btn {
    width: 100%;
  }
}
