/* Client work pages (page-work.php). Shares the hero with the legal pages. */
.work-hero-row { display: flex; gap: 24px; align-items: flex-start; }
.work-icon { width: 96px; height: 96px; border-radius: 22px; flex: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .08); }
.work-lead { color: #55585f; font-size: 17px; line-height: 1.9; margin: 0 0 16px; max-width: 640px; }
.work-chips { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.work-chips li { background: rgba(255, 90, 36, .1); color: #c2410c; font-weight: 700; font-size: 13.5px; padding: 7px 14px; border-radius: 999px; }
.work-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.work-block { padding: 64px 0; }
.work-alt { background: var(--light-color, #F8F9FA); }
.work-block .section-title { margin-bottom: 2.5rem; }
/* app screens: one swipeable row */
.work-shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 16px; -webkit-overflow-scrolling: touch; }
.work-shots img { flex: none; width: 240px; height: auto; border-radius: 18px; scroll-snap-align: start; box-shadow: 0 10px 30px rgba(0, 0, 0, .08); }
.work-shots:focus-visible { outline: 3px solid #FF5A24; outline-offset: 4px; }
.work-posts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.work-posts img { width: 100%; height: auto; border-radius: 16px; display: block; }
.work-videos { display: grid; grid-template-columns: repeat(3, minmax(0, 300px)); gap: 20px; justify-content: center; }
.work-videos video { width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 18px; background: #111; display: block; }
.work-cta { padding: 56px 0 72px; text-align: center; }
.work-cta h2 { font-size: clamp(22px, 3vw, 30px); margin: 0 0 20px; color: var(--dark-color, #1a1a1a); }
@media (max-width: 900px) { .work-posts { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
    .work-hero-row { flex-direction: column; gap: 16px; }
    .work-icon { width: 72px; height: 72px; border-radius: 18px; }
    .work-lead { font-size: 16px; }
    .work-block { padding: 44px 0; }
    .work-shots img { width: 200px; }
    .work-posts { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .work-videos { grid-template-columns: minmax(0, 300px); }
}
.work-more { text-align: center; margin: 28px 0 0; }

/* App header in the style of a store listing: icon, name, the two stores */
.work-app { display: flex; align-items: center; gap: 16px; max-width: 760px; margin: 0 auto 22px; padding: 16px; background: #fff; border: 1px solid rgba(0, 0, 0, .07); border-radius: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, .05); }
.work-app img { width: 84px; height: 84px; border-radius: 19px; flex: none; }
.work-app-name { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.work-app-name strong { font-size: 20px; font-weight: 800; color: var(--dark-color, #1a1a1a); line-height: 1.3; }
[dir="rtl"] .work-app-name strong { text-align: right; }
.work-app-name span { font-size: 13.5px; color: #6f757f; }
.work-app-stores { display: flex; gap: 8px; flex: none; }
.work-app-stores .btn { min-height: 44px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 14px; }
/* Swipe hint: phones only, where the screens overflow the row */
.work-swipe { display: none; }
@media (max-width: 640px) {
    .work-app { flex-wrap: wrap; gap: 12px; padding: 14px; }
    .work-app img { width: 68px; height: 68px; border-radius: 16px; }
    .work-app-name strong { font-size: 17px; }
    .work-app-stores { width: 100%; }
    .work-app-stores .btn { flex: 1; justify-content: center; padding: 0 6px; font-size: 13px; white-space: nowrap; }
    .work-swipe { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 12px; font-size: 13.5px; font-weight: 700; color: #FF5A24; }
    .work-swipe::after { content: "←"; font-size: 18px; animation: work-nudge 1.4s ease-in-out infinite; }
    [dir="ltr"] .work-swipe::after { content: "→"; animation-name: work-nudge-ltr; }
    /* the last visible screen is cut on purpose so the row reads as scrollable */
    .work-shots { margin-inline: -24px; padding-inline: 24px; scroll-padding-inline: 24px; }
    .work-shots img { width: 62vw; max-width: 250px; }
}
@keyframes work-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-8px); } }
@keyframes work-nudge-ltr { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px); } }
@media (prefers-reduced-motion: reduce) { .work-swipe::after { animation: none; } }
