/* Template additions on top of site.css: theme defaults, photo cards, motion. The real colours and font come from site.yaml (inline <style> in the page). */
:root {
  --brand: #f25a00;
  --brand-2: #ffb000;
  --brand-soft: #ff8a3d;
  --brand-tint: #ffe0c7;
  --font: "Bricolage Grotesque", "Helvetica Neue", Helvetica, Arial;
}

.header_logo {
  max-width: 100px;
}
.footer-head-left_logo-image {
  max-width: 118px;
}
.compare_table-col.top img {
  max-width: 90px;
}
.q-yes-note {
  margin-top: 16px;
}

/* the flock: three duck cards, same rhythm as the services cards */
.flock {
  padding: 0 45px;
}
.flock_list {
  flex-wrap: wrap;
  gap: 15px 16px;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
}
.flock_card {
  background-color: #f6f6f6;
  border-radius: 14px;
  flex-direction: column;
  width: 100%;
  max-width: 349px;
  padding: 12px 12px 24px;
  display: flex;
}
.flock_image img {
  border-radius: 10px;
  width: 100%;
  height: auto;
  display: block;
}
.flock_body {
  padding: 18px 12px 0;
}
.flock_body .gray {
  margin-bottom: 6px;
}
.flock_body .title-h5 {
  margin-bottom: 10px;
}
@media (max-width: 991px) {
  .flock {
    padding-left: 0;
    padding-right: 0;
  }
  .flock_card {
    max-width: 100%;
  }
}

/* ---------- photos ---------- */
.flock_image {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.flock_image img {
  border-radius: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-inner_list-item-lightbox.q-photo {
  cursor: default;
  border-radius: 10px;
  overflow: hidden;
}
.hero-inner_list-item-lightbox.q-photo img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- motion: one slow fade-up per element, compositor-only (opacity + transform) ---------- */
.motion .reveal,
.motion .reveal-intro {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition: opacity 1.3s cubic-bezier(0.16, 1, 0.3, 1), transform 1.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.motion .reveal.in,
.motion .reveal-intro.in {
  opacity: 1;
  transform: none;
}

/* ---------- how it works: hold the panel with CSS sticky on desktop too ----------
   The original pinned it with JS (ScrollTrigger pin), which stutters against trackpad scrolling.
   With sticky, site.js takes its existing sticky branch: steps switch as the page scrolls past them. */
@media (min-width: 992px) and (prefers-reduced-motion: no-preference) {
  .how-it-works_animation {
    height: calc(min(714px, 80vh) + 260vh);
    position: relative;
  }
  .hiw {
    position: sticky;
    top: max(80px, calc(50vh - min(714px, 80vh) / 2));
  }
}

/* story carousel: the thin back cards only show a slice of the poster, so blur it instead of showing cut-off text */
.carousel_card img { transition: filter 0.6s ease; }
.carousel_card.is-far img { filter: blur(8px) saturate(1.1); }

/* reviews: the email that got the reply (optional `sent` in site.yaml) */
.reviews_sent { margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: var(--brand-tint, #f4f4f4); }
.reviews_sent-label { font-size: 13px; line-height: 1.4; color: #6e6470; margin-bottom: 8px; }
.reviews_sent-label span { color: #1a1a1a; font-weight: 600; }
.reviews_sent-body { font-size: 14px; line-height: 1.5; color: #1a1a1a; }
.reviews_sent-why { font-size: 13px; line-height: 1.45; color: var(--brand); margin-top: 10px; font-weight: 600; }
/* apply quiz: booking link after a qualified answer */
.q-book { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- hero proof: one client result, used when a site has no hero.cards ---------- */
.hero-proof {
  display: grid;
  grid-template-columns: 300px 1fr;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 1px 2px rgba(16, 16, 17, 0.04), 0 16px 48px rgba(16, 16, 17, 0.07);
}
.hero-proof_stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 34px 32px;
  background: var(--brand);
  color: #fff;
}
.hero-proof_label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
  opacity: 0.7;
}
.hero-proof_value {
  margin-top: 18px;
  font-size: 76px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero-proof_what {
  margin-top: 8px;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
}
.hero-proof_client {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.45;
  opacity: 0.72;
}
.hero-proof_quote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  padding: 40px 44px;
}
.hero-proof_text {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.42;
}
.hero-proof_who {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-proof_who img {
  flex: none;
  border-radius: 50%;
}
.hero-proof_name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
.hero-proof_role {
  font-size: 14px;
  line-height: 1.3;
  opacity: 0.6;
}
@media (max-width: 767px) {
  .hero-proof {
    grid-template-columns: 1fr;
  }
  .hero-proof_stat {
    padding: 26px 24px 24px;
  }
  .hero-proof_value {
    margin-top: 12px;
    font-size: 58px;
  }
  .hero-proof_quote {
    gap: 20px;
    padding: 26px 24px 28px;
  }
  .hero-proof_text {
    font-size: 18px;
  }
}

/* inline Calendly on the qualified step */
.q-calendly { min-width: 280px; height: 700px; margin: 8px -20px -20px; }
@media (max-width: 767px) { .q-calendly { height: 760px; margin: 8px -12px -12px; } }

/* hero testimonial: one client quote under the hero */
.hero-quote { display: grid; grid-template-columns: 150px 1fr; gap: 44px; align-items: center; max-width: 1040px; margin: 0 auto; padding: 40px 48px; background: #fff; border-radius: 16px; border-left: 4px solid var(--brand); box-shadow: 0 0 0 1px #3333331f, 0 12px 32px #0000000f; text-align: left; }
.hero-quote_avatar { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; }
.hero-quote_text { font-size: 24px; line-height: 1.4; font-weight: 500; color: #101011; margin: 0 0 18px; }
.hero-quote_text em { color: var(--brand); }
.hero-quote_name { font-size: 18px; font-weight: 600; color: #101011; margin: 0 0 4px; }
.hero-quote_role { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; color: #6b6b70; margin: 0; }
.hero-quote_role img { border-radius: 4px; }
.hero-quote_company { font-weight: 600; color: #101011; }
@media (max-width: 767px) {
  .hero-quote { grid-template-columns: 1fr; gap: 20px; padding: 28px 24px; }
  .hero-quote_avatar { width: 96px; height: 96px; }
  .hero-quote_text { font-size: 19px; }
}

/* compact client quote as its own section */
.quote-strip { padding: 24px 0 72px; }
.hero-quote.quote-small { max-width: 760px; grid-template-columns: 72px 1fr; gap: 24px; padding: 24px 28px; align-items: start; }
.quote-small .hero-quote_avatar { width: 72px; height: 72px; }
.quote-small .hero-quote_text { font-size: 17px; line-height: 1.5; margin-bottom: 12px; }
.quote-small .hero-quote_name { font-size: 15px; }
.quote-small .hero-quote_role { font-size: 13px; gap: 6px; }
@media (max-width: 767px) {
  .hero-quote.quote-small { grid-template-columns: 56px 1fr; gap: 16px; padding: 20px; }
  .quote-small .hero-quote_avatar { width: 56px; height: 56px; }
  .quote-small .hero-quote_text { font-size: 16px; }
}

/* compact team section: smaller image, tighter spacing */
.team.is-compact .team_wrapper { padding: 64px 0 24px; }
.team.is-compact .team_image { max-width: 520px; margin-bottom: 24px; }
.team.is-compact .team_text-wrap { margin-bottom: 24px; }
.team.is-compact .team_image-top { max-width: 640px; }
