/* Home page - services section */

body.cozq-v3.page-home .v3-home-services__intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
}

body.cozq-v3.page-home .v3-home-services__intro .v3-display--md {
  max-width: none;
}

body.cozq-v3.page-home .v3-home-services__lede {
  margin-top: 0;
  max-width: 38ch;
}

body.cozq-v3.page-home .v3-home-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  background: var(--v3-line);
  border: 1px solid var(--v3-line);
}

body.cozq-v3.page-home .v3-home-bento__tile {
  grid-column: span 4;
  min-height: 14rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--v3-bg-elevated);
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: background 0.3s var(--v3-ease), transform 0.3s var(--v3-ease);
}

body.cozq-v3.page-home a.v3-home-bento__tile:hover {
  background: #111;
}

body.cozq-v3.page-home .v3-home-bento__tile--flagship {
  grid-column: span 8;
  grid-row: span 2;
  min-height: 22rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(244, 244, 242, 0.14), transparent 48%),
    var(--v3-on-orange-bg);
  color: var(--v3-on-orange-ink);
}

body.cozq-v3.page-home a.v3-home-bento__tile--flagship:hover {
  background:
    radial-gradient(circle at 100% 0%, rgba(244, 244, 242, 0.18), transparent 48%),
    #ff6338;
}

body.cozq-v3.page-home .v3-home-bento__tile--software {
  grid-column: span 4;
  grid-row: span 2;
  min-height: 22rem;
}

body.cozq-v3.page-home .v3-home-bento__tile--mobile {
  grid-column: span 6;
  min-height: 16rem;
}

body.cozq-v3.page-home .v3-home-bento__tile--setup {
  grid-column: span 6;
}

body.cozq-v3.page-home .v3-home-bento__tile--stat {
  grid-column: span 4;
  justify-content: center;
}

body.cozq-v3.page-home .v3-home-bento__tile--action {
  grid-column: span 8;
  background: var(--v3-accent);
  color: #0a0a0a;
}

body.cozq-v3.page-home a.v3-home-bento__tile--action:hover {
  background: #ff6338;
}

body.cozq-v3.page-home .v3-home-bento__index {
  color: var(--v3-accent);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

body.cozq-v3.page-home .v3-home-bento__tile--flagship .v3-home-bento__index {
  color: var(--v3-on-orange-caption);
}

body.cozq-v3.page-home .v3-home-bento__title {
  font-family: var(--v3-font-display);
  font-size: clamp(1.75rem, 2.8vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin: 0 0 1rem;
}

body.cozq-v3.page-home .v3-home-bento__title span {
  font-family: var(--v3-font-accent);
  color: var(--v3-accent);
}

body.cozq-v3.page-home .v3-home-bento__tile--flagship .v3-home-bento__title {
  font-size: clamp(2rem, 3.5vw, 3.75rem);
}

body.cozq-v3.page-home .v3-home-bento__text {
  color: var(--v3-ink-muted);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.55;
  margin: 0 0 auto;
  max-width: 42ch;
}

body.cozq-v3.page-home .v3-home-bento__tile--flagship .v3-home-bento__text {
  color: var(--v3-on-orange-body);
  max-width: 46ch;
}

body.cozq-v3.page-home .v3-home-bento__outcomes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

body.cozq-v3.page-home .v3-home-bento__outcomes li {
  padding: 0.4rem 0.7rem;
  border: 1px solid rgba(8, 8, 8, 0.18);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--v3-on-orange-body);
}

body.cozq-v3.page-home .v3-home-bento__tile--mobile .v3-home-bento__outcomes li {
  border-color: var(--v3-line);
  color: var(--v3-ink-muted);
}

body.cozq-v3.page-home .v3-home-bento__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: fit-content;
  min-height: 3.4rem;
  margin-top: 1.75rem;
  padding: 0.85rem 1.1rem;
  background: var(--v3-accent);
  color: #0a0a0a;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: background 0.25s var(--v3-ease);
}

body.cozq-v3.page-home .v3-home-bento__cta--on-orange {
  background: var(--v3-on-orange-ink);
  color: var(--v3-on-orange-caption);
}

body.cozq-v3.page-home a.v3-home-bento__tile:hover .v3-home-bento__cta {
  background: #ff6338;
}

body.cozq-v3.page-home a.v3-home-bento__tile--flagship:hover .v3-home-bento__cta--on-orange {
  background: #1a1a1a;
}

body.cozq-v3.page-home .v3-home-bento__stat-value {
  font-family: var(--v3-font-display);
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  margin: 0 0 0.75rem;
  color: var(--v3-accent);
}

body.cozq-v3.page-home .v3-home-bento__stat-label {
  color: var(--v3-ink-muted);
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0;
}

body.cozq-v3.page-home .v3-home-bento__tile--action .v3-home-bento__action-title {
  color: #0a0a0a;
  max-width: none;
  margin: 0 0 1rem;
  line-height: 0.88;
}

body.cozq-v3.page-home .v3-home-bento__action-text {
  margin: 0 0 auto;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.5;
  opacity: 0.88;
  max-width: 38ch;
}

body.cozq-v3.page-home .v3-home-bento__action-arrow {
  font-size: 2rem;
  align-self: flex-end;
  line-height: 1;
  transition: transform 0.25s var(--v3-ease);
}

body.cozq-v3.page-home a.v3-home-bento__tile--action:hover .v3-home-bento__action-arrow {
  transform: translateX(0.35rem);
}

/* Also build strip */
body.cozq-v3.page-home .v3-home-specialty {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.5rem);
  background: var(--v3-bg-elevated);
  border: 1px solid var(--v3-line);
  border-left: 3px solid var(--v3-accent);
}

body.cozq-v3.page-home .v3-home-specialty__label {
  margin: 0;
  color: var(--v3-accent);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

body.cozq-v3.page-home .v3-home-specialty__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem clamp(1.5rem, 3vw, 2.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

body.cozq-v3.page-home .v3-home-specialty__list a {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--v3-ease);
}

body.cozq-v3.page-home .v3-home-specialty__list a:hover {
  color: var(--v3-accent);
}

body.cozq-v3.page-home .v3-home-specialty__name {
  font-family: var(--v3-font-display);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

body.cozq-v3.page-home .v3-home-specialty__hint {
  font-size: 0.82rem;
  color: var(--v3-ink-muted);
  line-height: 1.35;
}

body.cozq-v3.page-home .v3-home-specialty__list a:hover .v3-home-specialty__hint {
  color: var(--v3-ink-muted);
}

@media (max-width: 1024px) {
  body.cozq-v3.page-home .v3-home-services__intro-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  body.cozq-v3.page-home .v3-home-services__lede {
    max-width: none;
  }

  body.cozq-v3.page-home .v3-home-bento__tile,
  body.cozq-v3.page-home .v3-home-bento__tile--flagship,
  body.cozq-v3.page-home .v3-home-bento__tile--software,
  body.cozq-v3.page-home .v3-home-bento__tile--mobile,
  body.cozq-v3.page-home .v3-home-bento__tile--setup,
  body.cozq-v3.page-home .v3-home-bento__tile--stat,
  body.cozq-v3.page-home .v3-home-bento__tile--action {
    grid-column: span 12;
    grid-row: auto;
    min-height: auto;
  }

  body.cozq-v3.page-home .v3-home-specialty {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  body.cozq-v3.page-home .v3-home-specialty__list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body.cozq-v3.page-home .v3-home-bento__cta {
    width: 100%;
  }
}

/* Trustpilot reviews - orange editorial */

body.cozq-v3.page-home .v3-trustpilot-section {
  background: var(--v3-on-orange-bg);
  color: var(--v3-on-orange-ink);
  border-top-color: rgba(8, 8, 8, 0.14);
}

body.cozq-v3.page-home .v3-trustpilot-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}

body.cozq-v3.page-home .v3-trustpilot-header__copy {
  flex: 1 1 28rem;
  max-width: 52rem;
}

body.cozq-v3.page-home .v3-trustpilot-header .v3-display {
  color: var(--v3-on-orange-ink);
  margin: 0;
}

body.cozq-v3.page-home .v3-trustpilot-header .v3-display span {
  color: var(--v3-on-orange-caption);
}

body.cozq-v3.page-home .v3-trustpilot-header__lede {
  margin-top: 1.25rem;
  color: var(--v3-on-orange-body);
  max-width: 48ch;
}

body.cozq-v3.page-home .v3-trustpilot-layout {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

body.cozq-v3.page-home .v3-trustpilot-rail {
  position: sticky;
  top: calc(var(--v3-nav-h) + 1.5rem);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  background: rgba(8, 8, 8, 0.92);
  color: var(--v3-on-orange-caption);
}

body.cozq-v3.page-home .v3-trustpilot-rail__score {
  margin: 0;
  font-family: var(--v3-font-display);
  font-size: clamp(3rem, 6vw, 4.75rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 1;
  color: var(--v3-on-orange-caption);
}

body.cozq-v3.page-home .v3-trustpilot-rail__label {
  margin: 1rem 0 0;
  display: grid;
  gap: 0.2rem;
  font-size: 0.9rem;
  color: rgba(244, 244, 242, 0.72);
}

body.cozq-v3.page-home .v3-trustpilot-rail__label strong {
  color: var(--v3-on-orange-caption);
  font-weight: 600;
}

body.cozq-v3.page-home .v3-trustpilot-rail__link {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--v3-accent);
  text-decoration: none;
}

body.cozq-v3.page-home .v3-trustpilot-rail__link:hover {
  text-decoration: underline;
}

body.cozq-v3.page-home .v3-trustpilot-body {
  display: grid;
  gap: 1px;
  min-width: 0;
}

body.cozq-v3.page-home .v3-trustpilot-featured {
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  background: rgba(8, 8, 8, 0.92);
  color: var(--v3-on-orange-caption);
  display: grid;
  gap: 1rem;
}

body.cozq-v3.page-home .v3-trustpilot-featured__title {
  margin: 0;
  font-family: var(--v3-font-display);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--v3-on-orange-caption);
}

body.cozq-v3.page-home .v3-trustpilot-featured__quote {
  margin: 0;
  position: relative;
}

body.cozq-v3.page-home .v3-trustpilot-featured__quote::before {
  content: "\201C";
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--v3-font-accent);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 0.85;
  color: var(--v3-accent);
}

body.cozq-v3.page-home .v3-trustpilot-featured__quote p {
  margin: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.55;
  color: rgba(244, 244, 242, 0.88);
  max-width: 62ch;
}

body.cozq-v3.page-home .v3-trustpilot-featured__footer,
body.cozq-v3.page-home .v3-trustpilot-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

body.cozq-v3.page-home .v3-trustpilot-featured__cite,
body.cozq-v3.page-home .v3-trustpilot-card__cite {
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--v3-on-orange-caption);
}

body.cozq-v3.page-home .v3-trustpilot-featured__date,
body.cozq-v3.page-home .v3-trustpilot-card__date {
  font-size: 0.75rem;
  color: rgba(244, 244, 242, 0.58);
}

body.cozq-v3.page-home .v3-trustpilot-featured__source,
body.cozq-v3.page-home .v3-trustpilot-card__source {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--v3-accent);
  text-decoration: none;
}

body.cozq-v3.page-home .v3-trustpilot-featured__source:hover,
body.cozq-v3.page-home .v3-trustpilot-card__source:hover {
  text-decoration: underline;
}

body.cozq-v3.page-home .v3-trustpilot-strip {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-top: 1px;
}

body.cozq-v3.page-home .v3-trustpilot-strip::-webkit-scrollbar {
  display: none;
}

body.cozq-v3.page-home .v3-trustpilot-strip__track {
  display: flex;
  gap: 1px;
  width: max-content;
  min-height: 100%;
}

body.cozq-v3.page-home .v3-trustpilot-card {
  flex: 0 0 min(78vw, 22rem);
  min-height: 16rem;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  background: rgba(8, 8, 8, 0.88);
  color: var(--v3-on-orange-caption);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  scroll-snap-align: start;
}

body.cozq-v3.page-home .v3-trustpilot-strip {
  scroll-snap-type: x mandatory;
}

body.cozq-v3.page-home .v3-trustpilot-card__title {
  margin: 0;
  font-family: var(--v3-font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--v3-on-orange-caption);
}

body.cozq-v3.page-home .v3-trustpilot-card__quote {
  margin: 0;
}

body.cozq-v3.page-home .v3-trustpilot-card__quote p {
  margin: 0;
  color: rgba(244, 244, 242, 0.78);
  font-size: 0.95rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.cozq-v3.page-home .v3-trustpilot-stars {
  display: flex;
  gap: 0.15rem;
  font-size: 1rem;
  color: rgba(244, 244, 242, 0.22);
}

body.cozq-v3.page-home .v3-trustpilot-stars--rail {
  margin-top: 0.75rem;
}

body.cozq-v3.page-home .v3-trustpilot-star.is-on {
  color: var(--v3-accent);
}

body.cozq-v3.page-home .v3-trustpilot-stars--rail .v3-trustpilot-star.is-on {
  color: var(--v3-on-orange-caption);
}

body.cozq-v3.page-home .v3-trustpilot-star.is-half {
  position: relative;
  color: rgba(244, 244, 242, 0.22);
}

body.cozq-v3.page-home .v3-trustpilot-star.is-half::before {
  content: "★";
  position: absolute;
  inset: 0 auto auto 0;
  width: 50%;
  overflow: hidden;
  color: var(--v3-accent);
}

body.cozq-v3.page-home .v3-trustpilot-stars--rail .v3-trustpilot-star.is-half::before {
  color: var(--v3-on-orange-caption);
}

@media (max-width: 900px) {
  body.cozq-v3.page-home .v3-trustpilot-layout {
    grid-template-columns: 1fr;
  }

  body.cozq-v3.page-home .v3-trustpilot-rail {
    position: static;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
  }

  body.cozq-v3.page-home .v3-trustpilot-rail__score {
    font-size: clamp(2.25rem, 8vw, 3rem);
  }

  body.cozq-v3.page-home .v3-trustpilot-stars--rail {
    margin-top: 0;
  }

  body.cozq-v3.page-home .v3-trustpilot-rail__label {
    margin-top: 0;
    flex: 1 1 12rem;
  }

  body.cozq-v3.page-home .v3-trustpilot-rail__link {
    margin-top: 0;
    width: 100%;
  }
}

@media (max-width: 640px) {
  body.cozq-v3.page-home .v3-trustpilot-header .v3-btn {
    width: 100%;
    justify-content: center;
  }

  body.cozq-v3.page-home .v3-trustpilot-card {
    flex-basis: min(88vw, 20rem);
  }
}

