/* ============================================================
   ORIGO - Web Design service page (page-specific)
   Shared skeleton lives in /services/service-page.css.
   This file: the Signature device-frame hover-scroll, the
   two-quote testimonials, and the What's Next cross-sell.
   Palette + no-gradient rules inherited from the skeleton.
   ============================================================ */

/* --- SIGNATURE: "One site. Every screen." --- */
.bp-row {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 32px;
  margin-top: 56px;
}
.bp-desktop { width: 640px; flex: 0 1 640px; display: flex; flex-direction: column; align-items: center; }
.bp-phone-wrap { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; }

.bp-browser {
  width: 100%;
  background: #fff;
  border: 1px solid #E1E1E1;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(10, 10, 10, 0.14);
}
.bp-browser__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: #F1F1F1;
  border-bottom: 1px solid #E4E4E4;
}
.bp-dot { width: 11px; height: 11px; border-radius: 999px; flex: none; }
.bp-dot--r { background: #E06C60; }
.bp-dot--y { background: #E7B34C; }
.bp-dot--g { background: #5FBF6B; }
.bp-browser__url {
  flex: 1;
  margin-left: 10px;
  background: #fff;
  border: 1px solid #E4E4E4;
  border-radius: 999px;
  padding: 6px 14px;
  font-family: var(--font-body);
  font-size: 12px;
  color: #8A8A8A;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bp-browser__win { aspect-ratio: 16 / 10; background: #EDEFF2; overflow: hidden; }

.bp-phone {
  width: 150px;
  background: #161616;
  border-radius: 28px;
  padding: 9px;
  box-shadow: 0 16px 40px rgba(10, 10, 10, 0.18);
  position: relative;
}
.bp-phone__notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  z-index: 2;
}
.bp-phone__win { border-radius: 20px; overflow: hidden; background: #EDEFF2; aspect-ratio: 9 / 19; }

/* The scrolling screenshot. background-image is set lazily by JS
   (data-bg) when the section nears the viewport. */
.bp-screen {
  width: 100%;
  height: 100%;
  background-size: 100% auto;
  background-position: 0% 0%;
  background-repeat: no-repeat;
  background-color: #EDEFF2;
}
/* Higher specificity + !important: the global theme-transition layer
   (body:not(.preload) *) is !important and only lists color/bg/border/fill,
   which would strip the background-position transition. Restate it. */
.bp-row .bp-screen { transition: background-position 6.5s cubic-bezier(0.22, 0.61, 0.36, 1) !important; }
.bp-row .bp-screen--phone { transition-duration: 9s !important; }
.bp-screen:hover { background-position: 0% 100%; }

.bp-cap { margin-top: 20px; text-align: center; }
.bp-cap__name { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--color-black); }
.bp-cap__px { font-family: var(--font-body); font-size: 13px; color: #8A8A8A; margin-top: 2px; }
.bp-more { margin-top: 48px; }

@media (prefers-reduced-motion: reduce) {
  .bp-row .bp-screen,
  .bp-row .bp-screen--phone { transition: none !important; }
  .bp-screen:hover { background-position: 0% 0%; }
}

/* --- Responsive: 900px (signature row stacks) --- */
@media (max-width: 900px) {
  .bp-row { flex-direction: column; align-items: center; gap: 44px; }
  .bp-desktop { width: 100%; max-width: 560px; }
}
